]> gcc.gnu.org Git - gcc.git/commit - gcc/tree-cfg.c
tree-cfg.c (bsi_insert_before, [...]): Call modify_stmt after linking stmt into the...
authorAndrew MacLeod <amacleod@redhat.com>
Tue, 10 Aug 2004 18:31:26 +0000 (18:31 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Tue, 10 Aug 2004 18:31:26 +0000 (18:31 +0000)
commit68b9f53b865b6b0afdafa8f24ca83ec9c94bb780
tree94a21421b527ae4b4227ebca0308a5feadea6008
parent6c9c452695f66cfb588e4001e3a2b774a8a52015
tree-cfg.c (bsi_insert_before, [...]): Call modify_stmt after linking stmt into the program.

2004-08-10  Andrew MacLeod  <amacleod@redhat.com>

* tree-cfg.c (bsi_insert_before, bsi_insert_after): Call modify_stmt
after linking stmt into the program.
(bsi_remove): Don't call modify_stmt.
* tree-complex.c (update_complex_assignment,
expand_complex_comparison): Call modify_stmt after changing the stmt.
* tree-outof-ssa.c (rewrite_trees): Call modify_stmt only if not
removing the stmt.
* tree-ssa-ccp.c (substitute_and_fold): Call modify_stmt after changing
the stmt, and only if needed.
* tree-ssa-dom.c (thread_across_edge): Pass no annotation for a dummy
expression.
(simplify_rhs_and_lookup_avail_expr): Don't take an annotation param.
(simplify_cond_and_lookup_avail_expr): Use modify_stmt.
(simplify_switch_and_lookup_avail_expr): Don't take an annotation param.
(eliminate_redundant_computations): Don't pass an annotation. Call
modify_stmt rather than setting the annotation directly.
(record_equivalences_from_stmt): Remove unused local 'j'.
(cprop_operand): Take a stmt rather than an annotation as a parameter.
Call modify_stmt.
(cprop_into_stmt): Pass stmt rather than annotation.
(update_rhs_and_lookup_avail_expr): Call modify_stmt.
* tree-ssa-loop-im.c (schedule_sm): Call get_stmt_ann rather than
modify_stmt.
* tree-ssa.c (propagate_into_addr): Dont call modify_stmt.

From-SVN: r85765
gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-complex.c
gcc/tree-outof-ssa.c
gcc/tree-ssa-ccp.c
gcc/tree-ssa-dom.c
gcc/tree-ssa-loop-im.c
gcc/tree-ssa.c
This page took 0.060911 seconds and 5 git commands to generate.