This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/13689] GGC PCH breaks aliasing
- From: "dje at watson dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2004 18:40:43 -0000
- Subject: [Bug pch/13689] GGC PCH breaks aliasing
- References: <20040114231753.13689.dje@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dje at watson dot ibm dot com 2004-01-15 18:40 -------
Subject: Re: GGC PCH breaks aliasing
The example in the original report ICEs (with Honza's patch) on
AIX due to an internal varray consistency check. With the splay tree
implementation, we presumably gets zeroes for the data that was not stored
in PCH.
If the zeroes represent to alias sets that alias with everything,
then the code will be correct but potentially missing optimizations. If
we re-use those alias sets numbers, then we may perform incorrect
optimizations assuming that types or expressions do not alias.
David
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13689