http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51583
--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> 2011-12-19 14:33:21 UTC --- Author: jamborm Date: Mon Dec 19 14:33:18 2011 New Revision: 182483 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182483 Log: 2011-12-19 Martin Jambor <mjam...@suse.cz> PR tree-optimization/51583 * tree-sra.c (load_assign_lhs_subreplacements): Call force_gimple_operand_gsi when necessary also in case of no corresponding replacement on the RHS. * testsuite/gcc.dg/tree-ssa/pr51583.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr51583.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-sra.c