BOOTSTRAP FAILURE: segementation fault in genattrtab under hpux 10.20
John David Anglin
dave@hiauly1.hia.nrc.ca
Sun Nov 12 11:49:00 GMT 2000
> > As can be seen, the return pointer rp has been used as a scratch register.
> > Its value at the first return is 0.
I added a `(use (reg:SI 2))' to the return insn to work around this problem.
The build now goes a bit further:
echo "int xxy_us_dummy;" >tmp-dum.c
./xgcc -B./ -B/usr/local/hppa1.1-hp-hpux10.20/bin/ -isystem /usr/local/hppa1.1-h
p-hpux10.20/include -S tmp-dum.c
cc1: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
This one is in stor-layout.c (layout_type):
void
layout_type (type)
tree type;
{
if (type == 0)
abort ();
/* Do nothing if type has been laid out before. */
if (TYPE_SIZE (type))
return;
0xb8ab8 <layout_type>: stw rp,-14(sr0,sp)
0xb8abc <layout_type+4>: stw,ma r12,80(sr0,sp)
0xb8ac0 <layout_type+8>: stw r11,-7c(sr0,sp)
0xb8ac4 <layout_type+12>: stw r10,-78(sr0,sp)
0xb8ac8 <layout_type+16>: stw r9,-74(sr0,sp)
0xb8acc <layout_type+20>: stw r8,-70(sr0,sp)
0xb8ad0 <layout_type+24>: stw r7,-6c(sr0,sp)
0xb8ad4 <layout_type+28>: stw r6,-68(sr0,sp)
0xb8ad8 <layout_type+32>: stw r5,-64(sr0,sp)
0xb8adc <layout_type+36>: stw r4,-60(sr0,sp)
0xb8ae0 <layout_type+40>: movb,= r26,r4,0xb9950 <layout_type+3736>
0xb8ae4 <layout_type+44>: stw r3,-5c(sr0,sp)
0xb8ae8 <layout_type+48>: ldw 8(sr0,r4),r22
0xb8aec <layout_type+52>: addil -9000,dp,%r1
0xb8af0 <layout_type+56>: copy r1,r9
0xb8af4 <layout_type+60>: ldi 74,r25
0xb8af8 <layout_type+64>: extrw,u r22,7,8,r3
0xb8afc <layout_type+68>: ldo 4c8(r9),r20
0xb8b00 <layout_type+72>: ldb r20(sr0,r3),rp
0xb8b04 <layout_type+76>: extrw,s rp,31,8,r19
0xb8b08 <layout_type+80>: cmpb,<> r25,r19,0xb9968 <layout_type+3760>
(gdb) stepi
0xb8b00 1235 if (TYPE_SIZE (type))
(gdb) info reg r22 r3 r9 r20
r22 7000000
r3 7b03abb0
r9 400050d8
r20 400055a0
(gdb) stepi
Program received signal SIGSEGV, Segmentation fault.
0xb8b00 in layout_type (type=0x7ae96100) at ../../gcc/stor-layout.c:1235
1235 if (TYPE_SIZE (type))
Another problem with regrename?
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
More information about the Gcc-bugs
mailing list