[Bug middle-end/103193] gcc for x86_64: wrong code generation: ucomiss instead of comiss

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 24 10:02:30 GMT 2021


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 <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:d9ca2ca381e44a332703155d07b50b84aa21f80d

commit r12-5495-gd9ca2ca381e44a332703155d07b50b84aa21f80d
Author: Richard Biener <rguenther@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  <rguenther@suse.de>

            PR middle-end/103193
            * match.pd: Avoid canonicalizing (le/ge @0 @0) to (eq @0 @0)
            with NaNs and -ftrapping-math.


More information about the Gcc-bugs mailing list