This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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); }
#include <setjmp.h> static jmp_buf buf;
int main (void) {
{
setjmp(buf);
}
longjmp(buf);
}| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |