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

Andrew Haley aph@redhat.com
Fri May 9 09:31:00 GMT 2003


Ranjit Mathew writes:
 > > > The __finally block is executed in case of both "normal" C++ exceptions
 > > > as well as "faults" such as accessing a NULL pointer, dividing by zero,
 > > > etc.
 > >
 > >And your point is... ?  Libjava does this for dwarf2 EH on Linux.
 > 
 > Yes, I know (http://gcc.gnu.org/java/port-signals.html).

Oh no, that page is way, way out of date.  I must rewrite it.
There's not even any mention of MD_FALLBACK_FRAME_STATE_FOR, which is
the crucial part of the job.

Andrew.



More information about the Gcc mailing list