]> gcc.gnu.org Git - gcc.git/commitdiff
reload.c (find_reloads): Added missing type casts.
authorAndreas Krebbel <krebbel1@de.ibm.com>
Thu, 20 Nov 2003 00:18:46 +0000 (00:18 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Thu, 20 Nov 2003 00:18:46 +0000 (00:18 +0000)
2003-11-19  Andreas Krebbel  <krebbel1@de.ibm.com>

* reload.c (find_reloads): Added missing type casts.

From-SVN: r73748

gcc/ChangeLog
gcc/reload.c

index bb9298c3e7b412f81be2b3a0232469578cf4bdb7..de8ad3ae18fa8ce8d2834ae520889008d935b4a4 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 13dd25ed06120b7ed2cf16d197380ca7b9df0039..33167eaed2f7e4adb86b600e6e9e1ee58ce363eb 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++;
This page took 0.199518 seconds and 5 git commands to generate.