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: Anthony Green <green at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: 06 May 2003 14:53:28 -0700
- Subject: Re: __attribute__((cleanup(function)) versus try/finally
- References: <Pine.BSF.4.55.0305061457450.57349@acrux.dbai.tuwien.ac.at><1052245742.2583.315.camel@doubledemon.codesourcery.com><wvlissnc2e3.fsf@prospero.boston.redhat.com><1052249890.31850.338.camel@doubledemon.codesourcery.com> <wvl65onbxg6.fsf@prospero.boston.redhat.com>
On Tue, 2003-05-06 at 14:02, Jason Merrill wrote:
> Hmm, I suppose you can assume that $sp is linear.
I know of one proprietary platform where this is not true. On the other
hand, GCC does not currently support this system.
FWIW, I strongly support the try/finally proposal. One advantage that
hasn't been mentioned is that it may help people migrate from
proprietary compilers to GCC. I think that this user-centric argument
is compelling just on it's own.
AG