This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0 Open Issues List feedback
- To: dewar at gnat dot com
- Subject: Re: GCC 3.0 Open Issues List feedback
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 07 Apr 2001 20:23:16 -0700
- CC: gcc at gcc dot gnu dot org
- References: <20010407150845.AFE29F2B78@nile.gnat.com>
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>