This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc conformance to HP-PA ABI
- To: boylan at sw dot stratus dot com
- Subject: Re: gcc conformance to HP-PA ABI
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sat, 8 Jul 00 08:11:57 EDT
- Cc: gcc at gcc dot gnu dot org, hainque at act-europe dot fr
I should think that the overhead of the HP unwind library would be
higher than the overhead of setjmp/longjmp.
Do you mean overhead when an exception *occurs* or in going into a region
with an exception handler?
setjmp/longjmp is very efficient for handling the exception, but
extremely inefficient in programs where the exceptio doesn't occur
(the main cost is that the location of the setjmp buffer is
thread-specific data).