This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: BOOTSTRAP FAILURE: segementation fault in genattrtab under hpux 10.20
- To: dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Subject: Re: BOOTSTRAP FAILURE: segementation fault in genattrtab under hpux 10.20
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Wed, 15 Nov 2000 17:10:28 -0500 (EST)
- Cc: gcc-bugs at gcc dot gnu dot org
> 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)