diff options
author | Andreas Krebbel <krebbel1@de.ibm.com> | 2003-11-20 00:18:46 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2003-11-20 00:18:46 +0000 |
commit | b04a1b3b0cb41e75eac9a1ea44b8bfea1d4798dc (patch) | |
tree | 211b14406b151fc04d8da7c7571db7d941807b19 /gcc | |
parent | fd21a1eb289770b0fb36b38b044da94e9233759d (diff) | |
download | gcc-b04a1b3b0cb41e75eac9a1ea44b8bfea1d4798dc.zip gcc-b04a1b3b0cb41e75eac9a1ea44b8bfea1d4798dc.tar.gz gcc-b04a1b3b0cb41e75eac9a1ea44b8bfea1d4798dc.tar.bz2 |
reload.c (find_reloads): Added missing type casts.
2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
* reload.c (find_reloads): Added missing type casts.
From-SVN: r73748
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/reload.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bb9298c..de8ad3a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/reload.c b/gcc/reload.c index 13dd25e..33167ea 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -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++; |