]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR rtl-optimization/45354 (ICE with -fselective-scheduling and -freorder...
authorAndrey Belevantsev <abel@ispras.ru>
Thu, 7 Apr 2011 06:58:29 +0000 (10:58 +0400)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Thu, 7 Apr 2011 06:58:29 +0000 (10:58 +0400)
commit40bc65e4acccfef326731b92e8a85225ce70e9d5
tree497bc0d333e0466e2685662790242e26a7d251cc
parent9e4196365375eb323243bc1c7feb204bfad1199b
backport: re PR rtl-optimization/45354 (ICE with -fselective-scheduling and -freorder-blocks-and-partition)

        Backport from mainline
        2010-12-03  Alexander Monakov  <amonakov@ispras.ru>

        PR rtl-optimization/45354
        * sel-sched-ir.c (jump_leads_only_to_bb_p): Rename to ...
        (bb_has_removable_jump_to_p): This.  Update all callers. Make static.
        Allow BBs ending with a conditional jump.  Forbid EDGE_CROSSING jumps.
        * sel-sched-ir.h (jump_leads_only_to_bb_p): Delete prototype.

From-SVN: r172083
gcc/ChangeLog
gcc/sel-sched-ir.c
gcc/sel-sched-ir.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/pr45354.c [new file with mode: 0644]