2011-10-10 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Oct 2011 15:45:53 +0000 (15:45 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Oct 2011 15:45:53 +0000 (15:45 +0000)
commit03abbc5d244919a7f42f483163a72e3cda99fe74
treef8a62b9ac946da08fd1b85696236a2dda0edcb5c
parentae9fbf3387396df035a0120ef4ea587b7a5b4b88
2011-10-10  Richard Guenther  <rguenther@suse.de>

PR middle-end/50389
* gimple-fold.c (gimplify_and_update_call_from_tree): Do not
mark symbols for renaming.  Append the VUSE to all statements
that possibly can have one.

* gcc.dg/torture/pr50389.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179757 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr50389.c [new file with mode: 0644]