This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [basic-improvements] try/finally support for c/c++ - more tests


On Friday, November 8, 2002, at 04:26 AM, Richard Henderson wrote:
This does require that all EH-bearing frames appear at the bottom
of the call chain, but I think it does handle the common case of
an all-C++ or all-C pthreads application.

It's only people who mix C and C++ that have to be more careful
about using -fexceptions with their C code.
I think this case can be handled by checking out the frame address, if any, and use the one that is closest. In __builtin_setjmp, grabbing this value is easy enough. With dwarf, its a bit harder. This would also enable one to intermix sjlj EH and dwarf EH seemlessly.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]