BOOTSTRAP FAILURE: segementation fault in genattrtab under hpux 10.20
John David Anglin
dave@hiauly1.hia.nrc.ca
Wed Nov 15 14:10:00 GMT 2000
> 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
The problem is the base and index registers in the ldb instruction
have been interchanged by rename registers. These are not interchangeable
on the pa because the space register for the instruction is loaded from
the base register. Richard and Jeff, any thoughts on how to fix this
one?
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