OSDN Git Service

2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2003 00:18:46 +0000 (00:18 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Nov 2003 00:18:46 +0000 (00:18 +0000)
* reload.c (find_reloads): Added missing type casts.

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

gcc/ChangeLog
gcc/reload.c

index bb9298c..de8ad3a 100644 (file)
@@ -1,3 +1,7 @@
+2003-11-19  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * reload.c (find_reloads): Added missing type casts.
+
 2003-11-19  James E Wilson  <wilson@specifixinc.com>
 
        * combine.c (sets_function_arg_p): Delete unused function.
index 13dd25e..33167ea 100644 (file)
@@ -3407,9 +3407,9 @@ find_reloads (rtx insn, int replace, int ind_levels, int live_known,
                 reload here.  */
              if (GET_CODE (operand) == REG
                  && REGNO (operand) < FIRST_PSEUDO_REGISTER
-                 && this_alternative[i] != NO_REGS
+                 && (enum reg_class) this_alternative[i] != NO_REGS
                  && (SECONDARY_MEMORY_NEEDED
-                     (this_alternative[i],
+                     ((enum reg_class) this_alternative[i],
                       REGNO_REG_CLASS (REGNO (operand)),
                       GET_MODE (operand))))
                losers++;