Richard Henderson wrote: >> The main challenge is 'calling destructors on unwind >> with no performance cost if no exception is raised'. > > type var __attribute__((cleanup(function))); It looks like this was never applied though: http://gcc.gnu.org/ml/gcc-patches/2003-06/msg00658.html Giovanni Bajo