GCC 2.95.2 __builtin_apply() core.

Mirko Viviani mirko.viviani@rccr.cremona.it
Mon Apr 10 07:27:00 GMT 2000


Ciao!

with __builtin_apply() on FreeBSD-elf 4.0 and gcc 2.95.2

Any hints ? Thanks.


rey:/tmp/tmp> gdb test1
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
(gdb) r
Starting program: /tmp/tmp/test1 

Program received signal SIGSEGV, Segmentation fault.
floatValue () at test1.s:26
26              movl %ecx,(%eax)
Current language:  auto; currently asm
(gdb) where
#0  floatValue () at test1.s:26
#1  0x804848b in main () at test1.s:74
#2  0x804838f in _start ()
(gdb) info r
eax            0x1      1
ecx            0x21040320       553911072
edx            0x8049610        134518288
ebx            0xbfbfef94       -1077940332
esp            0xbfbfef8c       0xbfbfef8c
ebp            0xbfbfef8c       0xbfbfef8c
esi            0x80483f8        134513656
edi            0xbfbff1d5       -1077939755
eip            0x8048428        0x8048428
eflags         0x10296  66198
cs             0x1f     31
ss             0x2f     47
ds             0x2f     47
es             0x2f     47
fs             0x2f     47
gs             0x2f     47
(gdb) 

test1.s
contest_i.c

---
Bye,
Mirko  <mirko.viviani@rccr.cremona.it>   (NeXTmail, MIME)
<mirko@yourbox.net>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: contest_i.c
Type: text/x-c
Size: 673 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000410/0ea114c1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test1.s
Type: text/x-asm
Size: 9376 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000410/0ea114c1/attachment-0001.bin>


More information about the Gcc-bugs mailing list