This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32328] [4.2/4.3 Regression] -fstrict-aliasing causes skipped code
- From: "dberlin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2007 20:09:32 -0000
- Subject: [Bug tree-optimization/32328] [4.2/4.3 Regression] -fstrict-aliasing causes skipped code
- References: <bug-32328-14702@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from dberlin at gcc dot gnu dot org 2007-06-20 20:09 -------
(In reply to comment #10)
> trunk has the same problem, but different constraints:
>
> Constraints:
>
> ANYTHING = &ANYTHING
> READONLY = &ANYTHING
> INTEGER = &ANYTHING
> barptr = &bar1
> barptr.0_1 = barptr
>
> Points-to sets
>
> NULL = { }
> ANYTHING = { ANYTHING }
> READONLY = { ANYTHING }
> INTEGER = { ANYTHING }
> barptr = { bar1 }
> bar1 = { }
> barptr.0_1 = same as barptr
>
Same thing, when we see call(&barptr), we should say barptr = ANYTHING.
.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32328