[Bug middle-end/45458] [4.5/4.6 Regression] ICE: in add_labels_and_missing_jumps, at bb-reorder.c:1306 with-fnon-call-exceptions -freorder-blocks-and-partition -fprofile-use

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 2 07:57:00 GMT 2010



------- Comment #4 from jakub at gcc dot gnu dot org  2010-09-02 07:57 -------
Subject: Bug 45458

Author: jakub
Date: Thu Sep  2 07:56:48 2010
New Revision: 163761

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163761
Log:
        PR middle-end/45458
        * bb-reorder.c (add_labels_and_missing_jumps): Treat
        bbs ending with throwing insns like blocks ending with a call.
        (fix_up_fall_thru_edges): Likewise.

        * g++.dg/tree-prof/partition2.C: New test.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/tree-prof/partition2.C
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/bb-reorder.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45458



More information about the Gcc-bugs mailing list