------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-01
19:38 -------
This is the patch which I am testing to fix this (it fixes the problem which I
describes):
Index: tree-ssa.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/tree-ssa.c,v
retrieving revision 2.73
diff -u -p -r2.73 tree-ssa.c
--- tree-ssa.c 24 Jan 2005 20:47:43 -0000 2.73
+++ tree-ssa.c 1 Feb 2005 19:36:55 -0000
@@ -1108,6 +1108,8 @@ replace_immediate_uses (tree var, tree r
if (tmp != stmt)
{
block_stmt_iterator si = bsi_for_stmt (stmt);
+ mark_new_vars_to_rename (tmp, vars_to_rename);
+ redirect_immediate_uses (stmt, tmp);
bsi_replace (&si, tmp, true);
stmt = bsi_stmt (si);
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dnovillo at gcc dot gnu dot
| |org
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19736