]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/51436 (ICE(segfault) in gimplify_and_update_call_from_tree gimple...
authorRichard Guenther <rguenther@suse.de>
Tue, 6 Dec 2011 12:17:31 +0000 (12:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 6 Dec 2011 12:17:31 +0000 (12:17 +0000)
commit52f26be4091ee44b2f6407d44c05c310917f2465
tree1cf5701c5c16af15a9dc6c9d966f5e04c2748d2e
parentb55eb41058252a2775fad91b3f77beec6fcc1b5b
re PR middle-end/51436 (ICE(segfault) in gimplify_and_update_call_from_tree gimple-fold.c:603)

2011-12-06  Richard Guenther  <rguenther@suse.de>

PR middle-end/51436
* gimple-fold.c (gimplify_and_update_call_from_tree): Guard
vdef check for the fact we do not have virtual operands when
not optimizing.

* g++.dg/torture/pr51436.C: New testcase.

From-SVN: r182045
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr51436.C [new file with mode: 0644]