This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] PR 23486
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dnovillo at redhat dot com
- Date: Mon, 22 Aug 2005 21:57:52 +0200
- Subject: [patch] PR 23486
Hello,
when Diego modified replace_uses_by to allow the virtual operands
to be changed, he forgot to update the second place where this
function is used -- final value replacement. This patch adds the
necessary ssa form update.
Bootstrapped & regtested on i686.
Zdenek
* tree-ssa-loop.c (pass_scev_cprop): Add TODO_update_ssa_only_virtuals.
Index: tree-ssa-loop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-loop.c,v
retrieving revision 2.34
diff -c -3 -p -r2.34 tree-ssa-loop.c
*** tree-ssa-loop.c 18 Aug 2005 16:07:05 -0000 2.34
--- tree-ssa-loop.c 20 Aug 2005 19:53:26 -0000
*************** struct tree_opt_pass pass_scev_cprop =
*** 307,313 ****
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
! TODO_dump_func, /* todo_flags_finish */
0 /* letter */
};
--- 307,314 ----
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
! TODO_dump_func | TODO_update_ssa_only_virtuals,
! /* todo_flags_finish */
0 /* letter */
};