https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:d9ca2ca381e44a332703155d07b50b84aa21f80d commit r12-5495-gd9ca2ca381e44a332703155d07b50b84aa21f80d Author: Richard Biener <rguent...@suse.de> Date: Mon Nov 15 12:13:40 2021 +0100 middle-end/103193 - avoid canonicalizing <= and >= to == for floats This avoids doing aforementioned canoncalization when -ftrapping-math is in effect and we honor NaNs. 2021-11-15 Richard Biener <rguent...@suse.de> PR middle-end/103193 * match.pd: Avoid canonicalizing (le/ge @0 @0) to (eq @0 @0) with NaNs and -ftrapping-math.