r244476 - in /trunk/gcc: ChangeLog ifcvt.c

segher@gcc.gnu.org segher@gcc.gnu.org
Sun Jan 15 17:03:00 GMT 2017


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



More information about the Gcc-cvs mailing list