[Bug rtl-optimization/56745] [4.8/4.9 Regression] ICE in merge_if_block

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 3 06:29:00 GMT 2013


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



More information about the Gcc-bugs mailing list