tree-sra.c (sra_build_assignment): Don't use into_ssa mode, mark new temporaries for renaming

* tree-sra.c (sra_build_assignment): Don't use into_ssa mode,
mark new temporaries for renaming

From-SVN: r146807
This commit is contained in:
Michael Matz 2009-04-26 17:11:22 +00:00 committed by Michael Matz
parent e11187cc94
commit 10555d08b4
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-04-26 Michael Matz <matz@suse.de>
* tree-sra.c (sra_build_assignment): Don't use into_ssa mode,
mark new temporaries for renaming.
2009-04-26 Joseph Myers <joseph@codesourcery.com>
PR c/39581

View File

@ -2206,14 +2206,16 @@ sra_build_assignment (tree dst, tree src)
var = fold_build1 (VIEW_CONVERT_EXPR, TREE_TYPE (dst), var);
push_gimplify_context (&gctx);
gctx.into_ssa = true;
gctx.allow_rhs_cond_expr = true;
gimplify_assign (dst, var, &seq);
if (gimple_referenced_vars (cfun))
for (var = gctx.temps; var; var = TREE_CHAIN (var))
add_referenced_var (var);
{
add_referenced_var (var);
mark_sym_for_renaming (var);
}
pop_gimplify_context (NULL);
return seq;