[Bug c/49016] always_inline causes references below the current stack pointer

merrill_707_1 at yahoo dot com gcc-bugzilla@gcc.gnu.org
Tue May 17 15:21:00 GMT 2011


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

--- Comment #9 from Lee Merrill <merrill_707_1 at yahoo dot com> 2011-05-17 14:47:34 UTC ---
(In reply to comment #8)
> ... the ABI says that 128 bytes below the %rsp are
> reserved, so the interrupt code first needs to subtract 128 from %rsp before
> calling any functions and must not modify that area.

Thanks for your reply, yet the interrupt itself will modify the next 24 bytes
below %rsp, in storing flags / cs / rip. So then this area would be corrupted,
which indeed I am seeing.



More information about the Gcc-bugs mailing list