This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Floating Point Exception Handling
Jim Wilson writes:
> John L. Kulp wrote:
> > I'd like to get connected with whomever is working on topics like the
> > interaction between SIGFPE handlers and try/catch stack unwinding in
> > C++.
I suppose the person with the most experience with unwinding and
signal handlers would be me.
> There are few people expert in this area, and they are all very busy
> people. There may not be anyone who has time to help you.
>
> Unwinding from signal handlers should work fine for any IA-64 target.
> For other targets, it is probably iffy. Our EH support was designed for
> C++ which does not need this. It has been expanded to support Java
> which does need this, but this requires special options
> (-fnon-call-exceptions), and probably still needs more work to handle
> all cases.
I'm not aware of any current problems with unwinding from SIGFPE
handlers. However, we don't actually do this on many gcj targets
because we haven't made it a big priority.
Andrew.