Fortran: xfail signaling NaN testcases on x87
authorFrancois-Xavier Coudert <fxcoudert@gmail.com>
Sun, 16 Jan 2022 23:00:18 +0000 (00:00 +0100)
committerFrancois-Xavier Coudert <fxcoudert@gmail.com>
Sun, 16 Jan 2022 23:02:51 +0000 (00:02 +0100)
commit86e3b476d5defaa79c94d40b76cbeec21cd02e5f
tree182f91488ff1799b6332777964ac3958dc194ffa
parent90045c5df5b3c8853e7740fb72a11aead1c489bb
Fortran: xfail signaling NaN testcases on x87

The ABI for x87 and x86-32 is not suitable for passing around
signaling NaNs in the way IEEE expects. See for example discussion
in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57484

gcc/testsuite/ChangeLog:

* gfortran.dg/ieee/signaling_1.f90: xfail on x87.
* gfortran.dg/ieee/signaling_2.f90: xfail on x87.
gcc/testsuite/gfortran.dg/ieee/signaling_1.f90
gcc/testsuite/gfortran.dg/ieee/signaling_2.f90
gcc/testsuite/gfortran.dg/ieee/signaling_3.f90 [new file with mode: 0644]
libgfortran/ieee/issignaling_fallback.h [new file with mode: 0644]