[Bug c++/95351] Comparison with NAN optimizes incorrectly with -ffast-math disabled

2020-05-26 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95351 --- Comment #2 from Marc Glisse --- It might not be the issue, but merge_truthop_with_opposite_arm has a suspicious HONOR_NANS (type) where type is bool: the result of the comparison instead of one of the arguments.

[Bug c++/95351] Comparison with NAN optimizes incorrectly with -ffast-math disabled

2020-05-26 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95351 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2020-05-26