http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56745
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-03 06:29:48 UTC --- Author: jakub Date: Tue Apr 2 18:29:18 2013 New Revision: 197371 URL: http://gcc.gnu.org/viewcvs?rev=197371&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: trunk/gcc/testsuite/gcc.c-torture/compile/pr56745.c Modified: trunk/gcc/ChangeLog trunk/gcc/ifcvt.c trunk/gcc/testsuite/ChangeLog