diff options
author | Oleg Endo <olegendo@gcc.gnu.org> | 2012-03-01 22:46:33 +0000 |
---|---|---|
committer | Oleg Endo <olegendo@gcc.gnu.org> | 2012-03-01 22:46:33 +0000 |
commit | f51a9d10aad369b8a2d5d711f69096c84295c37d (patch) | |
tree | 731fd97105a0b1aba55c2fd6e29799fc727674a5 /gcc | |
parent | d4217ae104168fc8e08f3a7a3fa34d9a38d21f18 (diff) | |
download | gcc-f51a9d10aad369b8a2d5d711f69096c84295c37d.zip gcc-f51a9d10aad369b8a2d5d711f69096c84295c37d.tar.gz gcc-f51a9d10aad369b8a2d5d711f69096c84295c37d.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sh/sh-protos.h | 1 | ||||
-rw-r--r-- | 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 <olegendo@gcc.gnu.org> + * config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function. + * config/sh/sh.c (tertiary_reload_operand): Likewise. + +2012-03-01 Oleg Endo <olegendo@gcc.gnu.org> + * config/sh/constraints.md: Fix comment typo. 2012-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 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) |