This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sjlj-exceptions ICE. simplified test case
- To: "Richard Henderson" <rth at cygnus dot com>
- Subject: Re: sjlj-exceptions ICE. simplified test case
- From: "Geert Bosch" <bosch at gnat dot com>
- Date: Wed, 26 Apr 2000 14:55:44 -0400
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>,"gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>,"Robert Lipe" <robertl at sco dot com>
- Reply-To: "Geert Bosch" <bosch at gnat dot com>
On Wed, 26 Apr 2000 10:53:51 -0700, Richard Henderson wrote:
Have you looked at the code generated by the sjlj exceptions recently?
It's huge. I think it'd be a stretch to claim sjlj is smaller.
What case are you talking about? AFAIK, it is the case with sjlj that
for functions that do not handle exceptions the cost is zero, both space
and time. I definately agree with you that for any kind of exception-heavy
code, using unwind tables usually is the best approach.
I am mostly worried about the case where 99% of the code is just plain C/Ada/Whatever
without handlers. It is exactly this case that needs to be addressed for
embedded systems.
Regards,
Geert