__builtin_longjmp and rs6000 TOC

David Edelsohn dje@watson.ibm.com
Thu Jan 29 18:34:00 GMT 1998


	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



More information about the Gcc mailing list