------- Comment #6 from jamborm at gcc dot gnu dot org 2009-10-29 12:41 ------- Subject: Bug 41775
Author: jamborm Date: Thu Oct 29 12:40:48 2009 New Revision: 153699 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153699 Log: 2009-10-29 Martin Jambor <mjam...@suse.cz> PR tree-optimization/41775 * tree-sra.c (build_ref_for_offset): Unshare *expr if not NULL. (generate_subtree_copies): Do not unshare agg. (load_assign_lhs_subreplacements): Do not unshare rhs. (sra_modify_assign): Do not unshare exprs. (propagate_subacesses_accross_link): Renamed to propagate_subaccesses_across_link. * testsuite/g++.dg/torture/pr41775.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/torture/pr41775.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-sra.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41775