[PATCH] Hookize GO_IF_MODE_DEPENDENT_ADDRESS

Richard Guenther richard.guenther@gmail.com
Fri May 14 11:23:00 GMT 2010


On Thu, May 13, 2010 at 6:32 PM, Anatoly Sokolov <aesok@post.ru> wrote:
> Hi.
>
>
>
>>>>
>>>> Anatoly, can you commit the obvious patch:
>>>>
>>>> - GO_IF_MODE_DEPENDENT_ADDRESS (addr, win);
>>>> + GO_IF_MODE_DEPENDENT_ADDRESS ((rtx) addr, win);
>>>>
>
> Committed.

You should use CONST_CAST_RTX (addr).

Richard.

>>>
>>> Isn't this fixed by
>>>
>>> http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00411.html
>>
>> Maybe for PowerPC, but other targets likely have the same problem.
>
> The rx, vax and xtensa targets have this problem.
>
> Anatoly.
>



More information about the Gcc-patches mailing list