From f51a9d10aad369b8a2d5d711f69096c84295c37d Mon Sep 17 00:00:00 2001 From: Oleg Endo Date: Thu, 1 Mar 2012 22:46:33 +0000 Subject: [PATCH] sh-protos.h (tertiary_reload_operand): Remove dead function. * config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function. * config/sh/sh.c (tertiary_reload_operand): Likewise. From-SVN: r184763 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh-protos.h | 1 - gcc/config/sh/sh.c | 7 ------- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1ba0fc8..f3d62e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2012-03-01 Oleg Endo + * config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function. + * config/sh/sh.c (tertiary_reload_operand): Likewise. + +2012-03-01 Oleg Endo + * config/sh/constraints.md: Fix comment typo. 2012-03-01 John David Anglin diff --git a/gcc/config/sh/sh-protos.h b/gcc/config/sh/sh-protos.h index ff94b10..a48e3de 100644 --- a/gcc/config/sh/sh-protos.h +++ b/gcc/config/sh/sh-protos.h @@ -104,7 +104,6 @@ extern int fp_arith_reg_operand (rtx, enum machine_mode); extern int arith_operand (rtx, enum machine_mode); extern int arith_reg_or_0_operand (rtx, enum machine_mode); extern int logical_operand (rtx, enum machine_mode); -extern int tertiary_reload_operand (rtx, enum machine_mode); extern int fpscr_operand (rtx, enum machine_mode); extern int fpul_operand (rtx, enum machine_mode); extern int commutative_float_operator (rtx, enum machine_mode); diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 5eb96c5..1077180 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -9201,13 +9201,6 @@ fldi_ok (void) return 1; } -int -tertiary_reload_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) -{ - enum rtx_code code = GET_CODE (op); - return code == MEM || (TARGET_SH4 && code == CONST_DOUBLE); -} - /* Return the TLS type for TLS symbols, 0 for otherwise. */ enum tls_model tls_symbolic_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) -- 2.7.4