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: sjlj exceptions


> >>>>> "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 ]



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