summaryrefslogtreecommitdiff
path: root/gcc/reload.c
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-20 00:18:46 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-20 00:18:46 +0000
commit7d6492e34b834d1e5425e4b67d667366daf6059b (patch)
tree211b14406b151fc04d8da7c7571db7d941807b19 /gcc/reload.c
parent5aae31f13d57ca88a23cd9256b3e99a7e1f5e32f (diff)
downloadgcc-7d6492e34b834d1e5425e4b67d667366daf6059b.tar.gz
2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
* 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
Diffstat (limited to 'gcc/reload.c')
-rw-r--r--gcc/reload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reload.c b/gcc/reload.c
index 13dd25ed061..33167eaed2f 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++;