This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: serious inline math pb i386
- To: "H.J. Lu" <hjl at lucon dot org>
- Subject: Re: serious inline math pb i386
- From: nbecker at fred dot net
- Date: 08 Jul 1998 08:25:45 -0400
- Cc: egcs-bugs at cygnus dot com
- References: <35A2F5C3.C228006F@lucon.org>
I tried gdb 4.17.0.4. I don't know anything about Intel architecture,
but maybe you can tell something from this?
(gdb) run
Starting program: /home/nbecker/CDMA/out28
Program received signal SIGSEGV, Segmentation fault.
0x8048c9f in main () at /usr/include/__math.h:297
297 long long int __p = (long long int) __y;
(gdb) info all-reg
eax: 0x0 0
ecx: 0xbfffcd00 -1073754880
edx: 0xfffffffc -4
ebx: 0xffffffff -1
esp: 0xbfdc968c -1076062580
ebp: 0xbffffcc8 -1073742648
esi: 0x0 0
edi: 0xbfdc97d4 -1076062252
eip: 0x8048c9f 134515871
eflags: 0x10296 IOPL: 0; flags: PF AF SF IF RF
orig_eax: 0xffffffff -1
cs: 0x23 35
ss: 0x2b 43
ds: 0x2b 43
es: 0x2b 43
fs: 0x2b 43
gs: 0x2b 43
st0: 0xbffdfe6afcce1c582800 Valid Normal -0.4969100000000000183498
st1: 0xbffdfe6afcce1c582800 Valid Normal -0.4969100000000000183498
st2: 0x00000000000000000000 Valid Zero 0
st3: 0x00000000000000000000 Valid Zero 0
st4: 0x00000000000000000000 Valid Zero 0
st5: 0x4025e875b7175a000000 Valid Normal 499203673005
st6: 0x00000000000000000000 Valid Zero 0
---Type <return> to continue, or q <return> to quit---
st7: 0xc000c000000000000000 Valid Normal -3
fctrl: 0x037f 64 bit; NEAR; mask INVAL DENOR DIVZ OVERF UNDER LOS;
fstat: 0x3020 flags 0000; top 6; excep LOS
ftag: 0x0fff
fip: 0x08048c9d
fcs: 0x01c00023
fopoff: 0x00000000
fopsel: 0x002b
(gdb)