From: Kazu Hirata Date: Mon, 14 Jan 2002 23:55:52 +0000 (+0000) Subject: h8300-protos.h: Remove the prototype for eq_operator. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7afe229578ce66db3edf26702e2cadd3c481993;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a3fd19..4889868 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-01-14 Kazu Hirata + + * config/h8300/h8300-protos.h: Remove the prototype for + eq_operator. + * config/h8300/h8300.c (eq_operator): Remove. + 2002-01-14 Richard Henderson * config/i386/i386.md (prefetch): Tidy. diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h index f4efd7d..57e5bd4 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 e780811..ef6c7fe 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.