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 <rdsandif...@googlemail.com>:
> Richard Sandiford <rdsandif...@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

Reply via email to