https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sat Apr 29 16:18:11 2017 New Revision: 247410 URL: https://gcc.gnu.org/viewcvs?rev=247410&root=gcc&view=rev Log: PR rtl-optimization/80491 * ifcvt.c (noce_process_if_block): When looking for x setter with missing else_bb, don't check only the insn right before cond_earliest, but look for the last insn that x is modified in within the same bb. Modified: trunk/gcc/ChangeLog trunk/gcc/ifcvt.c