On Mon, Apr 16, 2007 at 12:40:17PM +0100, Paulo J. Matos wrote: > Hello all, > > Is that any reference (paper, guide, whatever,) on how gcc is handling > exceptions in intermediate code? Is it based on a known (published) > method? Is it intuitive and explained somewhere?
See http://www.codesourcery.com/cxx-abi/abi-eh.html Despite the fact that this document is called "Itanium C++ ABI", g++ uses this approach on most platforms, including x86 (there is another implementation supported by GCC, "SJLJ exception handling", based on setjmp/longjmp.