New signaling NaN causes 12 testsuite failures

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Jan 25 21:05:03 GMT 2022


On Tue, Jan 25, 2022 at 09:56:05PM +0100, FX wrote:
> > Found it.  https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
> > 
> > Add trailing undersores to __FLOAT_WORD_ORDER and change
> > __BIG_ENDIAN to __ORDER_BIG_ENDIAN__.  Likewise for LITTLE.
> 
> Thanks Steve!
> 
> What I wonder is: if those conditions failed, then the struct they define should have been empty, and therefore the code shouldn’t compile anyway (that was the intent).
> 
> Does the attached patch fix the remaining failures?
> 

Yes!

% gmake check-fortran RUNTESTFLAGS="ieee.exp=signaling_\*"
...
                === gfortran Summary ===

# of expected passes            24
# of unsupported tests          6


-- 
Steve


More information about the Fortran mailing list