2008-01-08 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jan 2008 21:35:25 +0000 (21:35 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jan 2008 21:35:25 +0000 (21:35 +0000)
commit454a13077a315a3e394ae4b56875f47ef8b7a305
treeb045b940e8c675ad52a8a9376cfb9fe0fcc7abc0
parent0b1c894b43a94f1796bedb679d91fa44a2245294
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131405 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr31863.C [new file with mode: 0644]
gcc/tree-ssa-structalias.c