This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __builtin_longjmp and rs6000 TOC
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: __builtin_longjmp and rs6000 TOC
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Thu, 29 Jan 1998 21:34:52 -0500
- Cc: Jeffrey Law <law at cygnus dot com>, egcs at cygnus dot com
Thank you very much.
I thought that nonlocal_goto was itself used for
__builtin_longjmp. Also, while I agree that nonlocal_goto is meant for
nested functions, nothing prevents the nesting from crossing module
boundaries which does require setjmp/longjmp saving and restoring. I
thought that was the source of the current problems. While longjmp does
not guarantee the nesting, unless nonlocal_goto is defined only to be
valid for intra-module nested jumps, I do not see how one can avoid the
worst case intermodule case.
David