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

Anthony Green green@redhat.com
Tue May 6 21:52:00 GMT 2003


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




More information about the Gcc mailing list