PR rtl-optimization/45354
authoramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Dec 2010 12:04:16 +0000 (12:04 +0000)
committeramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Dec 2010 12:04:16 +0000 (12:04 +0000)
commit49087fba7a61d9ee3b23fc24f61fed83939500c7
treecbeca1405d7a3570fae0ced7fb41f8b4796fdb7d
parent39bf903347a51afa6ae87cf62b474cf5975c065a
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.

testsuite:
* gcc.dg/tree-prof/pr45354.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167415 138bc75d-0d04-0410-961f-82ee72b054a4
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]