2013-02-28 Martin Jambor <mjambor@suse.cz>
* tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements
with no initialization to the RHS of debug statements.
From-SVN: r196341
2013-02-28 Martin Jambor <mjambor@suse.cz>
+ * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements
+ with no initialization to the RHS of debug statements.
+
+2013-02-28 Martin Jambor <mjambor@suse.cz>
+
PR tree-optimization/56294
* tree-sra.c (analyze_access_subtree): Create replacement declarations.
Adjust dumping.
lacc->size);
if (racc && racc->grp_to_be_replaced)
- drhs = get_access_replacement (racc);
+ {
+ if (racc->grp_write)
+ drhs = get_access_replacement (racc);
+ else
+ drhs = NULL;
+ }
else if (*refreshed == SRA_UDH_LEFT)
drhs = build_debug_ref_for_model (loc, lacc->base, lacc->offset,
lacc);