From: Tomasz KamiƄski Date: Fri, 19 Dec 2025 14:52:00 +0000 (+0100) Subject: libstdc++: Restore test for generate_cannonical with __float128. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e56bd1cc971c5a856c97d1f2eb5f9a1dd682cb6;p=thirdparty%2Fgcc.git libstdc++: Restore test for generate_cannonical with __float128. Accidentally dropped from commit. libstdc++-v3/ChangeLog: * testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon_eng.cc: Test __float128 when available. --- diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon_eng.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon_eng.cc index c8d5b5d263b..662e3568a30 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon_eng.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/gencanon_eng.cc @@ -36,4 +36,9 @@ int main() test_all_engines(); test_all_engines(); test_all_engines(); +#ifndef _GLIBCXX_GENERATE_CANONICAL_STRICT +# ifdef __SIZEOF_FLOAT128__ + test_all_engines<__float128>(); +# endif +#endif }