summaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/reload.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bb9298c3e7b..de8ad3ae18f 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 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++;