This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: EH in egcs
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: EH in egcs
- From: Jason Merrill <jason at cygnus dot com>
- Date: 26 Oct 1997 12:38:45 -0800
- Cc: law at cygnus dot com, egcs at cygnus dot com
- References: <m0xPZNc-0004edC@ocean.lucon.org>
>>>>> H J Lu <hjl@lucon.org> writes:
> That is nested throw/catch doesn't work. That is because
> __eh_value/__eh_type are used throughout EH and the new ones will
> override the old ones. I was wondering if we could do this in the catch
> region:
> Treat the caught exception as a local variable.
That's not enough. You can have multiple uncaught exceptions active at
once. We need to build a stack of exceptions.
Jason