[Bug rtl-optimization/78751] [7 Regression] ICE in extract_insn, at recog.c:2311 (error: unrecognizable insn) w/ -Os -misel
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 15 17:04:00 GMT 2017
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
More information about the Gcc-bugs
mailing list