https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120
--- Comment #4 from dave.anglin at bell dot net --- On 2017-06-19 1:32 PM, joseph at codesourcery dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81120 > > --- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery > dot com> --- > Of course, such a test is fairly meaningless without -fsignaling-nans. The failing glibc tests mentioned in math/21607 do not have -fsignaling-nans but adding it didn't affect the result for basic-test. Need to simplify the test to get an accurate testcase. > > Then, where long double and double have the same format, "Whether C > assignment (6.5.16) (and conversion as if by assignment) to the same > format is an IEC 60559 convertFormat or copy operation is > implementation-defined, even if <fenv.h> defines the macro Is there a gcc option to select between convertFormat and copy? Loads do not quiet signaling NaNs on PA-RISC, so I think a "copy" operation would be preferred. I believe __issignaling() is used for both double and long double in hppa glibc.