This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: handling setjmp/longjmp in new front-end
- To: rth at redhat dot com
- Subject: Re: handling setjmp/longjmp in new front-end
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Fri, 29 Dec 00 06:31:34 EST
- Cc: gcc at gcc dot gnu dot org
Because we don't construct the CFG properly. The non-local
goto handling (around which __builtin_longjmp is built)
assumes that a non-local goto leaves the current function.
OK, that shouldn't be an issue.
What are the odds of getting Ada to use GCC's language
independant exception handling code?
Unknown. The first step is understanding precisely what that code does.
The original design of that code had Ada in mind, but it's unclear how much
of the design document was actually implemented.