This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __attribute__((cleanup(function)) versus try/finally
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 13 May 2003 15:08:18 -0700
- Subject: Re: __attribute__((cleanup(function)) versus try/finally
- References: <10305132138.AA19070@vlsi1.ultra.nyu.edu>
On Tue, May 13, 2003 at 05:38:19PM -0400, Richard Kenner wrote:
> Just FYI, in Ada this is defined and the action depends on how the
> cleanup was invoked.
C++ and Java define this as well (though differently).
There's certainly ample functionality in except.c to
handle this in any way that Ada would like.
Mark's question concerned C.
r~