This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Memory aliasing and stack slots


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]