This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sjlj exceptions
- To: mark at codesourcery dot com, gcc at gcc dot gnu dot org, jsturm at one-point dot com, rth at redhat dot com
- Subject: Re: sjlj exceptions
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Thu, 15 Mar 2001 14:09:48 +1300
> >>>>> "Jeff" == Jeff Sturm writes:
>
> Jeff> On Wed, 14 Mar 2001, Mark Mitchell wrote:
> >> My understanding is that enough people use this option to mean
> >> that we should continue to support it. So, I think doing this
> >> is probably a necessary step.
>
> Jeff> The gcj runtime still needs -fsjlj-exceptions on some
> Jeff> platforms.
>
> Why?
>
Because GCJ needs to throw exceptions from signal handlers in order to
implement Java's NullPointerException and ArithmeticException
efficiently. That can't currently be done under the existing table EH
mechanism without hairy platform-dependent code, currently only
written for x86-linux and sparc-solaris.
regards
[ bryce ]