__attribute__((cleanup(function)) versus try/finally

Richard Henderson rth@redhat.com
Tue May 13 22:11:00 GMT 2003


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~



More information about the Gcc mailing list