This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Hookize GO_IF_MODE_DEPENDENT_ADDRESS


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.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]