gcc/libgfortran/ieee
Francois-Xavier Coudert 492954263e Fortran: Allow IEEE_CLASS to identify signaling NaNs
We use the issignaling macro, present in some libc's (notably glibc),
when it is available. Compile all IEEE-related files in the library
(both C and Fortran sources) with -fsignaling-nans to ensure maximum
compatibility.

libgfortran/ChangeLog:

	PR fortran/82207
	* Makefile.am: Pass -fsignaling-nans for IEEE files.
	* Makefile.in: Regenerate.
	* ieee/ieee_helper.c: Use issignaling macro to recognized
	signaling NaNs.

gcc/testsuite/ChangeLog:

	PR fortran/82207
	* gfortran.dg/ieee/signaling_1.f90: New test.
	* gfortran.dg/ieee/signaling_1_c.c: New file.
2022-01-10 12:28:46 +01:00
..
ieee_arithmetic.F90 Update copyright years. 2022-01-03 10:42:10 +01:00
ieee_exceptions.F90 Update copyright years. 2022-01-03 10:42:10 +01:00
ieee_features.F90 Update copyright years. 2022-01-03 10:42:10 +01:00
ieee_helper.c Fortran: Allow IEEE_CLASS to identify signaling NaNs 2022-01-10 12:28:46 +01:00