sh-protos.h (tertiary_reload_operand): Remove dead function.
authorOleg Endo <olegendo@gcc.gnu.org>
Thu, 1 Mar 2012 22:46:33 +0000 (22:46 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Thu, 1 Mar 2012 22:46:33 +0000 (22:46 +0000)
* config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function.
* config/sh/sh.c (tertiary_reload_operand): Likewise.

From-SVN: r184763

gcc/ChangeLog
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.c

index 1ba0fc81f689c082ad5741f5a93ab68bfac5a1cc..f3d62e91d096408ccabeada8ed3e5c9a8e6b5db8 100644 (file)
@@ -1,3 +1,8 @@
+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.
index ff94b1072f5de1d46d2727c70870cc5720e8d08a..a48e3deee846d415527fcd93b21b982f5dd00872 100644 (file)
@@ -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);
index 5eb96c55e77fd2a4fe49e8c4df15dc32213e66d4..107718069c62aff9f5d800d69e59d4252775aad7 100644 (file)
@@ -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)