[PATCH] Hookize GO_IF_MODE_DEPENDENT_ADDRESS

Andreas Tobler andreast-list@fgznet.ch
Sat May 15 20:14:00 GMT 2010


On 15.05.10 22:04, Uros Bizjak wrote:
> Hello!
>
>>>>>>>> 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).
>>>
>>> With this one I can continue bootstrap on ppc linux 32-bit.
>>
>> Thanks.  Sorry for the wrong advice.
>
> Also fails on alpha.
>
> 2010-05-15  Uros Bizjak<ubizjak@gmail.com>
>
> 	* targhooks.c (GO_IF_MODE_DEPENDENT_ADDRESS): Use CONST_CAST_RTX.
>
> Tested on alphaev68-pc-linux-gnu, committed to mainline as obvious to
> fix the bootstrap.

Thank you!

Andreas



More information about the Gcc-patches mailing list