https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16989 Bug 16989 depends on bug 56020, which changed state.
Bug 56020 Summary: FE_INVALID flag not set on comparison with NAN (unordered) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56020 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE