https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:e2b97d6883a72b0c51dd0455acea43e21b5537d9 commit r11-10168-ge2b97d6883a72b0c51dd0455acea43e21b5537d9 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. (cherry picked from commit d9ca2ca381e44a332703155d07b50b84aa21f80d)