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]
Other format: [Raw text]

Re: [PATCH] Fix PR optimization/7675


On Sun, Dec 08, 2002 at 07:37:12PM +0100, Eric Botcazou wrote:
>   {
>      int z[y+2];
>      int t = x;
> 
>      int bar(a, b) { return z[2] + t; }
> 
> Don't we need to partially expand "foo" in order to calculate the offset of 
> "t" on the stack ?

I wouldn't think so.  Z will actually be a pointer to the stack
space allocated.


r~


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