Possible bug in regrename.c???
Anders Ådland
aaadland@atmel.no
Mon Jul 28 10:31:00 GMT 2003
On Sun, 27 Jul 2003 16:08:39 +1000, Marty Hauff <marty.hauff@rmit.edu.au>
wrote:
> I'm still new to GCC but I stumbled across the following anomoly whilst
> trying to make a new port.
>
> The following RTX:
> (set (mem:HI (reg/v/f:HI 8 r8 [44]) [8 S2 A8])
> (mem:HI (pre_dec:HI (mem:HI (plus:HI (reg/f:HI 28 r28)
> (const_int 3 [0x3])) [17 S2 A8])) [8 S2 A8]))
>
> causes set_value_regno() to segfault.
I'm new to GCC too, but had a similar problem. It looks like a pseudo
register is replaced by a memory reference. Is GO_IF_LEGITIMATE_ADDRESS
defined properly, with one strict and one non-strict variant?
Anders
More information about the Gcc
mailing list