OSDN Git Service

* targhooks.c (default_mode_dependent_address_p): Cast 'addr' to rtx.
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 May 2010 16:29:00 +0000 (16:29 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:07:56 +0000 (14:07 +0900)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159369 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/targhooks.c

index 3c178f6..9449895 100644 (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
index 5e1831c..5a06351 100644 (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