BUG: GCC-4.4.x changes the function frame on some functions
Richard Guenther
richard.guenther@gmail.com
Thu Nov 19 15:59:00 GMT 2009
On Thu, Nov 19, 2009 at 4:54 PM, H. Peter Anvin <hpa@zytor.com> wrote:
> On 11/19/2009 07:44 AM, Andrew Haley wrote:
>>
>> We're aligning the stack properly, as per the ABI requirements. Can't
>> you just fix the tracer?
>>
>
> "Per the ABI requirements?" We're talking 32 bits, here.
Hm, even with
void bar (int *);
void foo (void)
{
int x;
bar (&x);
}
gcc -S -O2 -m32 -mincoming-stack-boundary=2 t.c
we re-align the stack. That looks indeed bogus.
HJ, you invented all this code, what's the reason for the above?
Richard.
More information about the Gcc
mailing list