2004-11-22 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/18572
* tree-sra.c (scalarize_init): Unshare the rhs before gimplifying
it.
From-SVN: r91024
+2004-11-22 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR tree-opt/18572
+ * tree-sra.c (scalarize_init): Unshare the rhs before gimplifying
+ it.
+
2004-11-22 Richard Henderson <rth@redhat.com>
* function.c (assign_parm_setup_block): Revert 11-13 change to
/* Generate initialization statements for all members extant in the RHS. */
if (rhs)
{
+ /* Unshare the expression just in case this is from a decl's initial. */
+ rhs = unshare_expr (rhs);
push_gimplify_context ();
result = generate_element_init (lhs_elt, rhs, &list);
pop_gimplify_context (NULL);