summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-01-14 23:55:52 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-01-14 23:55:52 +0000
commite7afe229578ce66db3edf26702e2cadd3c481993 (patch)
tree12775bffa5eff457e9a7f6e46b61784a04e3ec63
parent7d378549a5a00e7054e374fcf82b8cdd8acc5394 (diff)
downloadgcc-e7afe229578ce66db3edf26702e2cadd3c481993.tar.gz
h8300-protos.h: Remove the prototype for eq_operator.
* config/h8300/h8300-protos.h: Remove the prototype for eq_operator. * config/h8300/h8300.c (eq_operator): Remove. From-SVN: r48857
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/h8300/h8300-protos.h1
-rw-r--r--gcc/config/h8300/h8300.c10
3 files changed, 6 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2a3fd19aa72..488986844d4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-14 Kazu Hirata <kazu@hxi.com>
+
+ * config/h8300/h8300-protos.h: Remove the prototype for
+ eq_operator.
+ * config/h8300/h8300.c (eq_operator): Remove.
+
2002-01-14 Richard Henderson <rth@redhat.com>
* config/i386/i386.md (prefetch): Tidy.
diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h
index f4efd7d6568..57e5bd4ea8c 100644
--- a/gcc/config/h8300/h8300-protos.h
+++ b/gcc/config/h8300/h8300-protos.h
@@ -54,7 +54,6 @@ extern int small_call_insn_operand PARAMS ((rtx, enum machine_mode));
extern int jump_address_operand PARAMS ((rtx, enum machine_mode));
extern int bit_operand PARAMS ((rtx, enum machine_mode));
extern int bit_memory_operand PARAMS ((rtx, enum machine_mode));
-extern int eq_operator PARAMS ((rtx, enum machine_mode));
extern int bit_operator PARAMS ((rtx, enum machine_mode));
extern int nshift_operator PARAMS ((rtx, enum machine_mode));
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index e7808111c10..ef6c7fe0d7c 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -769,16 +769,6 @@ bit_memory_operand (op, mode)
&& EXTRA_CONSTRAINT (op, 'U'));
}
-/* Recognize valid operators for bit test. */
-
-int
-eq_operator (x, mode)
- rtx x;
- enum machine_mode mode ATTRIBUTE_UNUSED;
-{
- return (GET_CODE (x) == EQ || GET_CODE (x) == NE);
-}
-
/* Handle machine specific pragmas for compatibility with existing
compilers for the H8/300.