]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/55331 (ICE: SIGSEGV in substitute_and_fold with -O2 -fno-tree-fre)
authorRichard Biener <rguenther@suse.de>
Tue, 27 Nov 2012 09:20:02 +0000 (09:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 27 Nov 2012 09:20:02 +0000 (09:20 +0000)
commit77d19c725f827218975859ab7d3a680904075216
tree7c54d8d587d7a70769a6edb63a1745ef0bfdf60c
parent3711757e197be740e22e46059b23533ac89cff48
re PR middle-end/55331 (ICE: SIGSEGV in substitute_and_fold with -O2 -fno-tree-fre)

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.

From-SVN: r193839
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr55331.C [new file with mode: 0644]