re PR tree-optimization/47426 (wrong code with -O2 -fipa-pta)
authorRichard Guenther <rguenther@suse.de>
Tue, 25 Jan 2011 16:38:26 +0000 (16:38 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 25 Jan 2011 16:38:26 +0000 (16:38 +0000)
commit194313e274b4054b72ca2b44841033f97160c745
treec5579d7a1f5560c1a63423337a418a4054fce3bd
parent147a0bcfc784a28e4ef09e32b23703e0ecc8bd55
re PR tree-optimization/47426 (wrong code with -O2 -fipa-pta)

2011-01-25  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/47426
* tree-ssa-structalias.c (ipa_pta_execute): Make externally
visible functions results escape.

* gcc.dg/torture/pr47426-1.c: New testcase.
* gcc.dg/torture/pr47426-2.c: Likewise.

From-SVN: r169241
gcc/ChangeLog
gcc/testsuite/gcc.dg/torture/pr47426-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr47426-2.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c