This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] h8300.c: Remove an unused function.


Hi,

Attached is a patch to remove an unused function in h8300.c.
Committed as obvious.

Kazu Hirata

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.

Index: h8300-protos.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300-protos.h,v
retrieving revision 1.13
diff -u -r1.13 h8300-protos.h
--- h8300-protos.h	2001/09/07 17:55:47	1.13
+++ h8300-protos.h	2002/01/14 23:52:04
@@ -54,7 +54,6 @@
 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));
 
Index: h8300.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.c,v
retrieving revision 1.92
diff -u -r1.92 h8300.c
--- h8300.c	2002/01/08 23:11:52	1.92
+++ h8300.c	2002/01/14 23:52:05
@@ -769,16 +769,6 @@
 	  && 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.
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]