* targhooks.c (default_mode_dependent_address_p): Cast 'addr' to rtx.

From-SVN: r159369
This commit is contained in:
Anatoly Sokolov 2010-05-13 20:29:00 +04:00 committed by Anatoly Sokolov
parent e4f36d3117
commit 32cbdf00fa
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-05-13 Anatoly Sokolov <aesok@post.ru>
* targhooks.c (default_mode_dependent_address_p): Cast 'addr' to rtx.
2010-05-13 Jeff Law <law@redhat.com>
* ira-conflicts.c (print_allocno_conflicts): New function broken out

View File

@ -965,7 +965,7 @@ default_mode_dependent_address_p (const_rtx addr ATTRIBUTE_UNUSED)
{
#ifdef GO_IF_MODE_DEPENDENT_ADDRESS
GO_IF_MODE_DEPENDENT_ADDRESS (addr, win);
GO_IF_MODE_DEPENDENT_ADDRESS ((rtx) addr, win);
return false;
/* Label `win' might (not) be used via GO_IF_MODE_DEPENDENT_ADDRESS. */
win: ATTRIBUTE_UNUSED_LABEL