http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49016
Summary: always_inline causes references below the current stack pointer Product: gcc Version: 4.3.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: merrill_70...@yahoo.com Created attachment 24256 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24256 A script to run to compile t.c When "inline __attribute__((always_inline))" is used, as is set up in some Linux 2.6 kernel builds in gcc-compiler.h / compiler.h etc., then references to memory below the current stack pointer can be made, when optimization is turned off. In fact, such references can also occur with -O2, but that is not such a simple test program to generate. Here is a test program which generates the problem with no optimization turned on. To compile, run the "rc" script.