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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jun 26 11:54:29 2018
New Revision: 262144

URL: https://gcc.gnu.org/viewcvs?rev=262144&root=gcc&view=rev
Log:
        PR target/86314
        * config/i386/i386.md (setcc + movzbl to xor + setcc peephole2s):
        Check reg_overlap_mentioned_p in addition to reg_set_p with the same
        operands.

        * gcc.dg/pr86314.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr86314.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/i386/i386.md
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to