http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45354
--- Comment #12 from Andrey Belevantsev <abel at gcc dot gnu.org> 2011-04-07 06:58:31 UTC --- Author: abel Date: Thu Apr 7 06:58:29 2011 New Revision: 172083 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172083 Log: Backport from mainline 2010-12-03 Alexander Monakov <amona...@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. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/tree-prof/pr45354.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/sel-sched-ir.c branches/gcc-4_5-branch/gcc/sel-sched-ir.h branches/gcc-4_5-branch/gcc/testsuite/ChangeLog