[Bug target/95169] [10/11 Regression] i386 comparison between nan and 0.0 triggers Invalid operation exception

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 21 17:37:21 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95169

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Uros Bizjak <uros@gcc.gnu.org>:

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

commit r10-8167-gddfb80adbd91a0e45cc6e04a8b0dbe3ca15ba45f
Author: Uros Bizjak <ubizjak@gmail.com>
Date:   Thu May 21 19:36:32 2020 +0200

    i386: Avoid reversing a non-trapping comparison to a trapping one [PR95169]

    2020-05-21  Uroš Bizjak  <ubizjak@gmail.com>

    gcc/ChangeLog:
            PR target/95169
            * config/i386/i386-expand.c (ix86_expand_int_movcc):
             Avoid reversing a non-trapping comparison to a trapping one.

    gcc/testsuite/ChangeLog:
            PR target/95169
            * gcc.target/i386/pr95169.c: New test.


More information about the Gcc-bugs mailing list