tree-cfg.c (verify_stmt): Add last_in_block parameter.
authorRichard Henderson <rth@redhat.com>
Tue, 29 Jun 2004 06:59:35 +0000 (23:59 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 29 Jun 2004 06:59:35 +0000 (23:59 -0700)
commit1eaba2f2086b04bb92b153214d970146452b2fb4
tree017eaae88bfa95da2ee42be01673c3b4ea54a1c2
parentafc066ef359fbce1d44025e59c67eeb08aa87a44
tree-cfg.c (verify_stmt): Add last_in_block parameter.

        * tree-cfg.c (verify_stmt): Add last_in_block parameter.  Verify
        that eh stmts can throw.
        (verify_stmts): Update verify_stmt call.
        (tree_purge_dead_eh_edges, tree_purge_all_dead_eh_edges): New.
        * tree-eh.c (remove_stmt_from_eh_region): New.
        (lower_eh_constructs): Fix throw_stmt_table delete routine.
        (tree_could_trap_p): Match may_trap_p.
        (maybe_clean_eh_stmt): New.
        * tree-flow.h: Update decls.
        * tree-ssa-ccp.c (pass_ccp): Add TODO_verify_stmts.
        (substitute_and_fold): Clean eh edges.
        * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Handle
        empty basic blocks.
        * tree-ssa-dom.c (need_eh_cleanup): New.
        (tree_ssa_dominator_optimize): Allocate it.  Cleanup eh edges.
        (optimize_stmt): Cleanup eh stmts; set need_eh_cleanup.

From-SVN: r83843
gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-eh.c
gcc/tree-flow.h
gcc/tree-ssa-ccp.c
gcc/tree-ssa-dce.c
gcc/tree-ssa-dom.c