This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Memory aliasing and stack slots
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>,"Richard Kenner" <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: Memory aliasing and stack slots
- From: "Geert Bosch" <bosch at gnat dot com>
- Date: Sun, 28 May 2000 08:27:03 -0400
- Reply-To: "Geert Bosch" <bosch at gnat dot com>
On Sun, 28 May 00 08:19:18 EDT, Richard Kenner wrote:
Presumably, at least in some languages, X and Y will have different alias
sets, so they won't conflict. But that means that we might move load of X
until after a store of Y, which is wrong.
If X and Y share the same stack slot, it seems to me that they should be
in the same alias set. Do you know if it is possible to determine
that X and Y share the same stack slot?
-Geert