------- Additional Comments From falk at debian dot org  2004-11-01 13:06 -------
(In reply to comment #0)
> It appears that the memory for local
> variables is not accounted for entirely correctly.  There are 1024+ bytes of
> local variables, but the stack pointer (%rsp) is only adjusted by 912 bytes. 
> And it appears local variable "count" is referenced before the stack pointer
> (-120(%rsp)).

This is OK, since the AMD64 ABI specifies a 128 byte "red zone" below the stack
pointer that the kernel must not touch on an interrupt. If it does, it's
a kernel bug. You can try -fno-red-zone to see whether this is actually the
problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18260

Reply via email to