OSDN Git Service

* config/rs6000/rs6000-protos.h
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 May 2010 11:39:28 +0000 (11:39 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:07:31 +0000 (14:07 +0900)
(rs6000_mode_dependent_address_ptr): Change argument to const_rtx.
* config/rs6000/rs6000.c (rs6000_mode_dependent_address)
(rs6000_debug_mode_dependent_address)
(rs6000_mode_dependent_address_ptr): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159359 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index d031767..4cc9d9d 100644 (file)
@@ -1,3 +1,11 @@
+2010-05-13  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * config/rs6000/rs6000-protos.h
+       (rs6000_mode_dependent_address_ptr): Change argument to const_rtx.
+       * config/rs6000/rs6000.c (rs6000_mode_dependent_address)
+       (rs6000_debug_mode_dependent_address)
+       (rs6000_mode_dependent_address_ptr): Likewise.
+
 2010-05-13  Jakub Jelinek  <jakub@redhat.com>
 
        PR debug/43983
 2010-05-13  Jakub Jelinek  <jakub@redhat.com>
 
        PR debug/43983
 
 2010-05-11  Christian Borntraeger  <borntraeger@de.ibm.com>
 
 
 2010-05-11  Christian Borntraeger  <borntraeger@de.ibm.com>
 
-        * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Reset
+       * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Reset
        prefetch_before to PREFETCH_ALL if to accesses "meet" beyond
        cache size.
 
 2010-05-11  Christian Borntraeger  <borntraeger@de.ibm.com>
 
        prefetch_before to PREFETCH_ALL if to accesses "meet" beyond
        cache size.
 
 2010-05-11  Christian Borntraeger  <borntraeger@de.ibm.com>
 
-        * tree-ssa-loop-prefetch.c: Add debug for dropped prefetches.
+       * tree-ssa-loop-prefetch.c: Add debug for dropped prefetches.
 
 2010-05-11  Jakub Jelinek  <jakub@redhat.com>
 
 
 2010-05-11  Jakub Jelinek  <jakub@redhat.com>
 
index d1616e5..9479548 100644 (file)
@@ -1118,9 +1118,9 @@ rtx (*rs6000_legitimize_reload_address_ptr) (rtx, enum machine_mode, int, int,
                                             int, int *)
   = rs6000_legitimize_reload_address;
 
                                             int, int *)
   = rs6000_legitimize_reload_address;
 
-static bool rs6000_mode_dependent_address (rtx);
-static bool rs6000_debug_mode_dependent_address (rtx);
-bool (*rs6000_mode_dependent_address_ptr) (rtx)
+static bool rs6000_mode_dependent_address (const_rtx);
+static bool rs6000_debug_mode_dependent_address (const_rtx);
+bool (*rs6000_mode_dependent_address_ptr) (const_rtx)
   = rs6000_mode_dependent_address;
 
 static enum reg_class rs6000_secondary_reload_class (enum reg_class,
   = rs6000_mode_dependent_address;
 
 static enum reg_class rs6000_secondary_reload_class (enum reg_class,
@@ -5896,7 +5896,7 @@ rs6000_debug_legitimate_address_p (enum machine_mode mode, rtx x,
    sub-words of a TFmode operand, which is what we had before.  */
 
 static bool
    sub-words of a TFmode operand, which is what we had before.  */
 
 static bool
-rs6000_mode_dependent_address (rtx addr)
+rs6000_mode_dependent_address (const_rtx addr)
 {
   switch (GET_CODE (addr))
     {
 {
   switch (GET_CODE (addr))
     {
@@ -5936,7 +5936,7 @@ rs6000_mode_dependent_address (rtx addr)
 
 /* Debug version of rs6000_mode_dependent_address.  */
 static bool
 
 /* Debug version of rs6000_mode_dependent_address.  */
 static bool
-rs6000_debug_mode_dependent_address (rtx addr)
+rs6000_debug_mode_dependent_address (const_rtx addr)
 {
   bool ret = rs6000_mode_dependent_address (addr);
 
 {
   bool ret = rs6000_mode_dependent_address (addr);