From fd57a6e43f102b36f71ccd1bbf654859cc3e7bad Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu@cs.umass.edu>
Date: Wed, 18 Feb 2004 00:11:25 +0000
Subject: [PATCH] h8300.c (fix_bit_operand): Change the name of the last
 argument to "code" from "type".

	* config/h8300/h8300.c (fix_bit_operand): Change the name of
	the last argument to "code" from "type".

From-SVN: r78000
---
 gcc/ChangeLog            | 5 +++++
 gcc/config/h8300/h8300.c | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b660bfb053c1..397d5dbfad1a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 60cd068e06f5..33dc46ee4c25 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]));
-- 
GitLab