This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r172084 - in /branches/gcc-4_5-branch/gcc: Chan...
- From: abel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 07 Apr 2011 06:59:19 -0000
- Subject: r172084 - in /branches/gcc-4_5-branch/gcc: Chan...
Author: abel
Date: Thu Apr 7 06:59:19 2011
New Revision: 172084
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172084
Log:
Backport from mainline
2010-12-07 Andrey Belevantsev <abel@ispras.ru>
PR target/43603
* haifa-sched.c (sched_create_recovery_edges): Update
dominator info.
* sel-sched-ir.c (maybe_tidy_empty_bb): Update dominator info
after deleting an empty block.
(tidy_control_flow): Also verify dominators.
(sel_remove_bb): Update dominator info after removing a block.
(sel_redirect_edge_and_branch_force): Assert that no unreachable
blocks will be created. Update dominator info.
(sel_redirect_edge_and_branch): Update dominator info when
basic blocks do not become unreachable.
(sel_remove_loop_preheader): Update dominator info.
2010-10-14 Andrey Belevantsev <abel@ispras.ru>
* sel-sched-ir.c (maybe_tidy_empty_bb): Simplify comment.
(tidy_control_flow): Tidy vertical space.
(sel_remove_bb): New variable idx. Use it to remember the basic
block index before deleting the block.
(sel_remove_empty_bb): Remove dead code, simplify and insert to ...
(sel_merge_blocks): ... here.
* sel-sched-ir.h (sel_remove_empty_bb): Remove prototype.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/opt/pr46640.C
branches/gcc-4_5-branch/gcc/testsuite/gcc.target/ia64/pr43603.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/haifa-sched.c
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