]> git.ipfire.org Git - thirdparty/gcc.git/commit
2012-11-27 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Nov 2012 09:20:02 +0000 (09:20 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Nov 2012 09:20:02 +0000 (09:20 +0000)
commitce9bb3b321a58ba27323257828565718b36c83b5
tree7c54d8d587d7a70769a6edb63a1745ef0bfdf60c
parent25ca991d0a59c9998976f68b18caafb434f12602
2012-11-27  Richard Biener  <rguenther@suse.de>

PR middle-end/55331
* gimple-fold.c (gimplify_and_update_call_from_tree): Replace
stmt with a NOP instead of removing it.

* g++.dg/opt/pr55331.C: New testcase.

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