public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Floating Point Exception Handling
@ 2004-03-26 21:03 John L. Kulp
  2004-03-31  7:27 ` Jim Wilson
  0 siblings, 1 reply; 4+ messages in thread
From: John L. Kulp @ 2004-03-26 21:03 UTC (permalink / raw)
  To: gcc

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++.

In particular, I've seen several implementations of SIGFPE handlers that
throw to try/catch receivers, but they all seem to have problematic
behavior.  In particular, interactions between 387 vs SSE floating
point, libc routines, cpu architecture differences, -ffpmath=sse,387
mode, compiler optimization behavior, etc.  I've experimented (3.3.3)
with some test programs written by others and modified by me that
demonstrate a wide range of incorrect or unexpected behaviors (commonly,
program aborts).  Now some of this may be the need to know some magic
like -fnon-call-exceptions and -fno-omit-frame-pointers, but I'm looking
discuss with people knowledgeable about this topic and who are actively
working in these areas.  By the way, the Intel compiler seems to be more
robust in addressing these issues currently, and I'd like to see g++
(which I use) catch up.  I'd also like to port from x86/SSE to
G5/Alitvec someday with a common code base, which is another reason to
stay in the g++ universe.

Thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-31  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-26 21:03 Floating Point Exception Handling John L. Kulp
2004-03-31  7:27 ` Jim Wilson
2004-03-31  7:43   ` Joe Buck
2004-03-31 12:14   ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).