aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b660bfb..397d5db 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
+ * config/h8300/h8300.c (fix_bit_operand): Change the name of
+ the last argument to "code" from "type".
+
+2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
+
* config/h8300/h8300.c: Remove an extern declaration of
rtx_equal_function_value_matters.
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 60cd068..33dc46e 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -4070,7 +4070,7 @@ compute_a_rotate_length (rtx *operands)
operating insn. */
int
-fix_bit_operand (rtx *operands, int what, enum rtx_code type)
+fix_bit_operand (rtx *operands, int what, enum rtx_code code)
{
/* The bit_operand predicate accepts any memory during RTL generation, but
only 'U' memory afterwards, so if this is a MEM operand, we must force
@@ -4107,7 +4107,7 @@ fix_bit_operand (rtx *operands, int what, enum rtx_code type)
operands[1] = force_reg (QImode, operands[1]);
{
rtx res = gen_reg_rtx (QImode);
- switch (type)
+ switch (code)
{
case AND:
emit_insn (gen_andqi3_1 (res, operands[1], operands[2]));