This is the mail archive of the gcc@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]

Re: GCC 3.0 Open Issues List feedback


dewar@gnat.com writes:

> On the Open Issues list you have:
> o Should we eliminate setjmp/longjmp exception-handling?
> 
> One thing to note is that on many architectures setjmp/longjmp may have
> preferable characteristics in that it has bounded performance time for
> a throw, which is valuable in real time programming. Certainly in Ada
> we will maintain the possibility (-gnatL) of setjmp/longjmp exception
> handling even after getting zero cost handling working on all targets.

'bounded performance' in this context implies that no destructors need
to be called, which is vanishingly rare in C++ code; I don't know about
Ada.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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