This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: EH in C (was: Re: (lack of) Thread-safe exceptions on AIX(gcc-2.95.1)
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: EH in C (was: Re: (lack of) Thread-safe exceptions on AIX(gcc-2.95.1)
- From: Oleg Krivosheev <kriol at fnal dot gov>
- Date: Tue, 1 Feb 2000 09:40:34 -0600 (CST)
- cc: llewelly at 198 dot dsl dot xmission dot com, Bill Tutt <rassilon at list dot org>, gcc at gcc dot gnu dot org
On Tue, 1 Feb 2000, Richard Henderson wrote:
>
> On Tue, Feb 01, 2000 at 12:31:21AM -0700, llewelly@198.dsl.xmission.com wrote:
> > This is what catch(...) { throw;} is for. It works just like finally.
>
> No it doesn't -- __finally *always* runs, whether an
> exception is thrown or not.
>
well, i believe you could rethrow the exception and get the
catch(...) block always run. Just add throw; in appropriate place
OK