[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
Wed Sep 1 19:46:00 GMT 2010



------- Comment #3 from jakub at gcc dot gnu dot org  2010-09-01 19:46 -------
Subject: Bug 45458

Author: jakub
Date: Wed Sep  1 19:46:21 2010
New Revision: 163743

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163743
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:
    trunk/gcc/testsuite/g++.dg/tree-prof/partition2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/bb-reorder.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list