This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Re: Patch: -fasynchronous-exceptions
- To: tromey at cygnus dot com, java-patches at sourceware dot cygnus dot com, aph at pasanda dot cygnus dot co dot uk
- Subject: Re: Patch: -fasynchronous-exceptions
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Fri, 28 Apr 2000 00:07:14 +1200
- References: <877ldkvkch.fsf@cygnus.com>
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 ]