PR tree-optimization/59386
commit666655e480c5d6a3866d3b5c7d7dd685205aaafc
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Dec 2013 09:18:33 +0000 (11 09:18 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Dec 2013 09:18:33 +0000 (11 09:18 +0000)
tree360af5e11bcd5b815e520289e341d8e82c81385a
parent867203676db19a883345d861853cb870defc0b4d
PR tree-optimization/59386
* tree-inline.c (remap_gimple_stmt): If not id->do_not_unshare,
unshare_expr (id->retval) before passing it to gimple_build_assign.

* gcc.c-torture/compile/pr59386.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205883 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr59386.c [new file with mode: 0644]
gcc/tree-inline.c