EH in C (was: Re: (lack of) Thread-safe exceptions on AIX(gcc-2.95.1)

Oleg Krivosheev
Tue Feb 1 07:40:00 GMT 2000

On Tue, 1 Feb 2000, Richard Henderson wrote:

> On Tue, Feb 01, 2000 at 12:31:21AM -0700, 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


More information about the Gcc mailing list