Legitimize address after reload
David Guillen
david@davidgf.net
Wed Mar 19 22:43:00 GMT 2014
Yep thanks,
As you guys pointed the problem was the improper handling of the
strict_p parameter.
Thanks!
2014-03-18 20:13 GMT+01:00 Richard Sandiford <rdsandiford@googlemail.com>:
> Richard Sandiford <rdsandiford@googlemail.com> writes:
>> What DJ meant below was that you should reject all pseudo registers
>> if strict_p. I.e. REG_P (foo) should be:
>>
>> REG_P (foo) && (!strict_p || REGNO_MODE_OK_FOR_BASE_P (foo, mode))
>
> sorry:
>
> REG_P (foo) && (!strict_p || REGNO_MODE_OK_FOR_BASE_P (REGNO (foo), mode))
>
>> where REGNO_MODE_OK_FOR_BASE_P should only accept hard registers and
>> where "mode" is the mode of the memory being accessed.
>>
>> Thanks,
>> Richard
More information about the Gcc
mailing list