2011-12-19 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Dec 2011 14:33:18 +0000 (14:33 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Dec 2011 14:33:18 +0000 (14:33 +0000)
commit78aa9eb3b402b3199945d3ab09f54895dc753498
tree47ffc6ec55f4c5ac4dcae8db94b431f1f911d21b
parente0d98d5f5334b0652b8bb90bacd37449460e5639
2011-12-19  Martin Jambor  <mjambor@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182483 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr51583.c [new file with mode: 0644]
gcc/tree-sra.c