https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91690
--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Mon, Sep 09, 2019 at 06:25:53PM +0000, wilco at gcc dot gnu.org wrote: > > > > The Fortran standard may require this behavior. 18-007r1 page 435 > > But none of that is needed since a correct implementation of isnan > etc does not affect the floating point state at all (see PR66462). > OK. So you can special case IEEE_IS_NAN(). What about the other IEEE_ARITHMETIC functions? PR66462 has been re-opened. Tamir seemed to have developed 4 different patches, yet no one can agree on "a correct implementation" for all targets.