Patch: -fasynchronous-exceptions

Bryce McKinlay bryce@albatross.co.nz
Thu Apr 27 05:05:00 GMT 2000


Tom Tromey wrote:

> Andrew notes that gcc's exception handling in leaf functions is
> currently broken, but that using -fasynchronous-exceptions works
> around it.  So, I'm committing this patch.
>
> 2000-04-26  Tom Tromey  <tromey@cygnus.com>
>
>         * Makefile.in: Rebuilt.
>         * Makefile.am (AM_CXXFLAGS): Added -fasynchronous-exceptions.

I think this flag should be added to the jc1 flags in libgcj.spec, and also
done for .java files in the libgcj build; or alternativly made the automatic
default in jc1 (at least until someone comes up with a better fix). I've tested
this and it fixes PR 184 (at least the parts of that which arn't a duplicate of
PR 2).

regards

  [ bryce ]




More information about the Java-patches mailing list