Re: signal(SIGFPE,SIG_IGN) causes endless loop (fwd)

Swen Thuemmler (swen@uni-paderborn.de)
Tue, 23 Apr 1996 19:56:56 +0200 (MET DST)


On Tue, 23 Apr 1996, Jim Nance wrote:

> > 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:

uname -a:
SunOS machnix 5.5 Generic sun4u

gcc --version:
2.7.2

cc -V:
cc: SC3.0.1 24 Jan 1995

Greetings, Swen