This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PING: PATCH [mainline] use of save_world/rest_world calls in apple-ppc-darwin prologue/epilogue
On Aug 5, 2004, at 5:01 PM, Geoffrey Keating wrote:
On 05/08/2004, at 4:51 PM, Dale Johannesen wrote:
On Aug 5, 2004, at 4:44 PM, Geoffrey Keating wrote:
I believe it's invoked for functions that call setjmp. 70K seems
high for that though.
There used to be a bug that caused it to be invoked for functions that
called setjmp, but the bug was fixed.
It is invoked for this test case:
void foo (void *) __attribute__ ((noreturn));
void
bar (void *x)
{
if (__builtin_setjmp (x))
return;
foo (x);
}
- fariborz