This is the mail archive of the gcc-patches@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: new alias sets from the backend


On Tue, Sep 29, 1998 at 09:06:17PM -0600, Jeffrey A Law wrote:
> My only concern is trying to guarantee that if we pass a pointer in a
> va_list...

So the pointer is an unnamed argument?

> ... and we us va_arg to get that pointer out of the stack

In which case the loading of the pointer should not be moved
due to the alias set match.

The only question then is what to do with 

  if ((MEM_IN_STRUCT_P (mem) && varies (mem_addr))
      || (MEM_IN_STRUCT_P (x) && varies (x_addr)))
    return 0;

which still affects va_arg stuff.  Does this stuff buy us
anything anymore?

> Though I would hope basic data dependence would catch it.

I'm positive that it will.


r~


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