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

--- Comment #6 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Sun Jan 15 17:03:55 2017
New Revision: 244476

URL: https://gcc.gnu.org/viewcvs?rev=244476&root=gcc&view=rev
Log:
ifcvt: Don't make invalid insns for a cond trap (PR78751)

As shown in the PR, ifcvt will happily make invalid insns when given the
chance.  This patch teaches it some manners.


        PR rtl-optimization/78751
        * ifcvt.c (find_cond_trap): If we generated a non-existing insn,
        give up.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ifcvt.c

Reply via email to