This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using EH from C
- From: Stelios Xanthakis <sxanth at ceid dot upatras dot gr>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 30 Apr 2004 13:47:37 +0300 (EET DST)
- Subject: Re: Using EH from C
On Thu, 29 Apr 2004, Richard Henderson wrote:
> On Thu, Apr 29, 2004 at 02:07:18PM +0300, Stelios Xanthakis wrote:
> > The main challenge is 'calling destructors on unwind
> > with no performance cost if no exception is raised'.
>
> type var __attribute__((cleanup(function)));
That's just great.
Thanks.
Stelios