[Bug libstdc++/112593] FAIL: 26_numerics/headers/cmath/equivalent_functions.cc on Solaris
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 23 14:44:40 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112593
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-11-23
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(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.
More information about the Gcc-bugs
mailing list