re PR c++/31863 (g++-4.1: out of memory with -O1/-O2)
commit3fe2f42a2ca104d568298fa5141f86bee2f8163a
authorRichard Guenther <rguenther@suse.de>
Tue, 8 Jan 2008 21:35:25 +0000 (8 21:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 8 Jan 2008 21:35:25 +0000 (8 21:35 +0000)
treeb045b940e8c675ad52a8a9376cfb9fe0fcc7abc0
parent416a8af4dae6f8d204e168fd3137cc74238860a0
re PR c++/31863 (g++-4.1: out of memory with -O1/-O2)

2008-01-08  Richard Guenther  <rguenther@suse.de>

PR middle-end/31863
* tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail
out early if the result will be unused.

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

From-SVN: r131405
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr31863.C [new file with mode: 0644]
gcc/tree-ssa-structalias.c