[Bug libstdc++/112593] FAIL: 26_numerics/headers/cmath/equivalent_functions.cc on Solaris
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112593 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from Jonathan Wakely --- > (In reply to Rainer Orth from comment #1) >> The test also FAILs on Solaris 11.4, both sparc and x86, 32 and 64-bit. >> However, >> the failure mode is different: >> >> /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/26_numerics/headers/ >> cmath/equivalent_functions.cc:120: void test_float_overload(): Assertion >> 'std::asin(x) == std::asinf(x)' failed. > > That looks like a similar problem though. std::asin(float) probably calls > std::__asinf, which apparently gives a different result to ::asinf. the strange thing is: running $ dis -F _Z19test_float_overloadv equivalent_functions.exe I find only a call to __asinf, nothing else. > If you comment out the call to test_float_overload() in main, it might fail at > the same place in test_long_double_overload (or maybe somewhere else!) Right, it's the same /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/26_numerics/headers/cmath/equivalent_functions.cc:199: void test_long_double_overload(): Assertion 'std::cosh(x) == std::coshl(x)' failed. that you saw on S11.3. Again, only __coshl called in there.
[Bug libstdc++/112593] FAIL: 26_numerics/headers/cmath/equivalent_functions.cc on Solaris
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112593 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-11-23 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #2 from Jonathan Wakely --- (In reply to Rainer Orth from comment #1) > The test also FAILs on Solaris 11.4, both sparc and x86, 32 and 64-bit. > However, > the failure mode is different: > > /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/26_numerics/headers/ > cmath/equivalent_functions.cc:120: void test_float_overload(): Assertion > 'std::asin(x) == std::asinf(x)' failed. That looks like a similar problem though. std::asin(float) probably calls std::__asinf, which apparently gives a different result to ::asinf. If you comment out the call to test_float_overload() in main, it might fail at the same place in test_long_double_overload (or maybe somewhere else!) > I wouldn't worry too much about the 11.3 failure (if it's 11.3-only): 11.3 > support is deprecated and was supported to be removed from trunk before the > GCC 14 release. However, I've held off from the actual removal until new > sparc and x86 Solaris 11.4 cfarm systems are in place. Yeah, the cfarm is the only way I can test on Solaris, so that's why I use 11.3 with -enable-obsolete.
[Bug libstdc++/112593] FAIL: 26_numerics/headers/cmath/equivalent_functions.cc on Solaris
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112593 Rainer Orth changed: What|Removed |Added Summary|FAIL: |FAIL: |26_numerics/headers/cmath/e |26_numerics/headers/cmath/e |quivalent_functions.cc on |quivalent_functions.cc on |Solaris 11.3|Solaris Target|sparc-sun-solaris2.11 |sparc-sun-solaris2.11, ||i386-pc-solaris2.11 CC||ro at gcc dot gnu.org --- Comment #1 from Rainer Orth --- The test also FAILs on Solaris 11.4, both sparc and x86, 32 and 64-bit. However, the failure mode is different: /vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/26_numerics/headers/cmath/equivalent_functions.cc:120: void test_float_overload(): Assertion 'std::asin(x) == std::asinf(x)' failed. I wouldn't worry too much about the 11.3 failure (if it's 11.3-only): 11.3 support is deprecated and was supported to be removed from trunk before the GCC 14 release. However, I've held off from the actual removal until new sparc and x86 Solaris 11.4 cfarm systems are in place.