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 Fri, Nov 08, 2002 at 04:07:09AM -0200, Alexandre Oliva wrote:
> I fail to see how longjmp_unwind could possibly be implemented without
> EH frame information for all frames, C ones included.

The idea I has was that it unwound frames until (1) we arrive at
the destination frame or (2) we don't find any more EH information,
at which point it falls back to just longjmp.

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.


r~


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