Messages in this thread |  | | | From | (Alan Cox) | | Subject | Re: signal(SIGFPE,SIG_IGN) causes endless loop (fwd) | | Date | Tue, 23 Apr 1996 22:27:33 +0100 (BST) |
| |
> > > It dumps core on Solaris 2.4 with the message: > > > Floating exception (core dumped). > Hmm. It gets a Floating exception on Solaris 2.5 with gcc and cc, if > compiled without optimization, but runs just fine if compiled with -O2 or > -xO2, respectively. (Just in case someone collects these results:
That sounds like a bug as someone has optimised out the expression and thus not taken the expected trap.
Alan
|  |