Closed Bug 151711 Opened 22 years ago Closed 19 years ago

The dtoa test compiled with gcc core dumps.

Categories

(NSPR :: NSPR, defect)

DEC
OSF/1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: wtc, Assigned: wtc)

Details

OS version: Tru64 UNIX V5.0A
gcc version: 3.0.4

When running the dtoa.c test compiled with gcc, I
get a core dump:
dec1:/u/wtc/nspr-merge/tip/osf1.dbg/pr/tests 192% ./dtoa
Floating exception (core dumped)

gdb says:
Program received signal SIGFPE, Arithmetic exception.
0x1200019e4 in main (argc=1, argv=0x11fffc018)
    at ../../../mozilla/nsprpub/pr/tests/dtoa.c:139
139         num = 1.0 / zero;
(gdb) print num
$1 = -1.8670000000000001e-73
(gdb) print zero
$2 = 0

I suspect that we need to use the -mieee compiler flag,
which we are using on Linux/Alpha.
Please confirm if the bug is still there or if we can close this, thanks.
It's unlikely that anyone will ever work
on this.  Marked the bug WONTFIX.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Target Milestone: --- → 4.6
You need to log in before you can comment on or make changes to this bug.