http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56745
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-03 06:30:06 UTC --- Author: jakub Date: Tue Apr 2 18:31:37 2013 New Revision: 197372 URL: http://gcc.gnu.org/viewcvs?rev=197372&root=gcc&view=rev Log: PR rtl-optimization/56745 * ifcvt.c (cond_exec_find_if_block): Don't try to optimize if then_bb has no successors and else_bb is EXIT_BLOCK_PTR. * gcc.c-torture/compile/pr56745.c: New test. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/compile/pr56745.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/ifcvt.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog