From 9716731864e7401b8a263fd2ce1c87cbe90c6a94 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 3 Dec 2022 15:37:22 +0200 Subject: [PATCH] Disable benchmark/uint64.cpp under libstdc++ 32 bit --- benchmark/uint64.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/benchmark/uint64.cpp b/benchmark/uint64.cpp index 44ef9fd4..94be050a 100644 --- a/benchmark/uint64.cpp +++ b/benchmark/uint64.cpp @@ -313,7 +313,17 @@ int main() { init_indices(); +#if defined(BOOST_LIBSTDCXX_VERSION) && __SIZE_WIDTH__ == 32 + + // Pathological behavior: + // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104945 + +#else + test( "std::unordered_map" ); + +#endif + test( "boost::unordered_map" ); test( "boost::unordered_flat_map" );