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

--- Comment #12 from Andrey Belevantsev <abel at gcc dot gnu.org> 2011-04-07 
06:59:21 UTC ---
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  <a...@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  <a...@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

Reply via email to