This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/47426] [4.6 Regression] wrong code with -O2 -fipa-pta
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Jan 2011 13:17:06 +0000
- Subject: [Bug tree-optimization/47426] [4.6 Regression] wrong code with -O2 -fipa-pta
- Auto-submitted: auto-generated
- References: <bug-47426-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47426
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-25 13:16:58 UTC ---
The problem is that i_1(D) has an empty points-to set. It doesn't even
receive constraints which is because the function is static but it
escapes from getfoo which results in us failing to add NONLOCAL
parameter inputs.