[Bug libstdc++/78179] FAIL: 26_numerics/headers/cmath/hypot.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78179 Jonathan Wakely changed: What|Removed |Added Target Milestone|9.0 |8.4
[Bug libstdc++/78179] FAIL: 26_numerics/headers/cmath/hypot.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78179 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Fri Aug 30 14:17:41 2019 New Revision: 275183 URL: https://gcc.gnu.org/viewcvs?rev=275183=gcc=rev Log: PR libstdc++/78179 fix std::hypot failures due to excessive tolerance Backport from mainline 2018-09-21 Jonathan Wakely PR libstdc++/78179 * testsuite/26_numerics/headers/cmath/hypot.cc: Use lower tolerance when sizeof(long double) == sizeof(double). Modified: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/testsuite/26_numerics/headers/cmath/hypot.cc
[Bug libstdc++/78179] FAIL: 26_numerics/headers/cmath/hypot.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78179 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #5 from Jonathan Wakely --- This should be fixed at r264063, please reopen if not (or if you want it backported).
[Bug libstdc++/78179] FAIL: 26_numerics/headers/cmath/hypot.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78179 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Mon Sep 3 14:54:28 2018 New Revision: 264063 URL: https://gcc.gnu.org/viewcvs?rev=264063=gcc=rev Log: PR libstdc++/78179 run long double tests separately Split the long double testing into a separate file, so that we can XFAIL targets where the long double precision doesn't meet the expected tolerances. The float and double tests are still expefted to PASS for all targets. PR libstdc++/78179 * testsuite/26_numerics/headers/cmath/hypot-long-double.cc: New test that runs the long double part of hypot.cc. * testsuite/26_numerics/headers/cmath/hypot.cc: Disable long double tests unless TEST_HYPOT_LONG_DOUBLE is defined. Added: trunk/libstdc++-v3/testsuite/26_numerics/headers/cmath/hypot-long-double.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/26_numerics/headers/cmath/hypot.cc
[Bug libstdc++/78179] FAIL: 26_numerics/headers/cmath/hypot.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78179 --- Comment #3 from dave.anglin at bell dot net --- On 2018-08-31 7:55 AM, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78179 > > --- Comment #2 from Jonathan Wakely --- > We already disable it rather liberally on AIX: > > // { dg-xfail-run-if "AIX long double" { powerpc-ibm-aix* } } > > Maybe we should split the long double parts into a separate file and just > xfail > that on affected targets, so the rest of the file runs everywhere. I have this patch in my linux build tree: -// { dg-xfail-run-if "AIX long double" { powerpc-ibm-aix* } } +// { dg-xfail-run-if "AIX long double, or long double is double" { hppa*-*-linux* powerpc-ibm-aix* } }
[Bug libstdc++/78179] FAIL: 26_numerics/headers/cmath/hypot.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78179 --- Comment #2 from Jonathan Wakely --- We already disable it rather liberally on AIX: // { dg-xfail-run-if "AIX long double" { powerpc-ibm-aix* } } Maybe we should split the long double parts into a separate file and just xfail that on affected targets, so the rest of the file runs everywhere.
[Bug libstdc++/78179] FAIL: 26_numerics/headers/cmath/hypot.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78179 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2018-08-31 Ever confirmed|0 |1
[Bug libstdc++/78179] FAIL: 26_numerics/headers/cmath/hypot.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78179 sandra at gcc dot gnu.org changed: What|Removed |Added CC||sandra at gcc dot gnu.org --- Comment #1 from sandra at gcc dot gnu.org --- This test also fails on nios2 (both nios2-elf and nios2-linux-gnu).