This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fobey-inline (was Re: gcc and inlining)
- From: Dale Johannesen <dalej at apple dot com>
- To: dewar at gnat dot com (Robert Dewar)
- Cc: Dale Johannesen <dalej at apple dot com>, echristo at redhat dot com, Richard dot Earnshaw at arm dot com, aph at redhat dot com, gcc at gcc dot gnu dot org
- Date: Thu, 13 Mar 2003 18:56:52 -0800
- Subject: Re: -fobey-inline (was Re: gcc and inlining)
Those of you who think inlining is guaranteed to be semantically neutral
might consider this....
#include <setjmp.h>
static jmp_buf buf;
inline void x() { setjmp(buf); }
main() { x(); longjmp(buf); }