aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2005-05-12 21:45:05 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2005-05-12 21:45:05 +0000
commit02f20dc3fdfe1031a02b856ce6a7cc283ea49cf1 (patch)
tree0de4973d1c391bc685364f47bd9c8d7dc326b3c8 /gcc/config/sh
parented9c043b26ae0e3578a51d1a481fb11219a8dcab (diff)
downloadgcc-02f20dc3fdfe1031a02b856ce6a7cc283ea49cf1.zip
gcc-02f20dc3fdfe1031a02b856ce6a7cc283ea49cf1.tar.gz
gcc-02f20dc3fdfe1031a02b856ce6a7cc283ea49cf1.tar.bz2
sh.c: Declare the prototype of sh_adjust_unroll_max only when...
* config/sh/sh.c: Declare the prototype of sh_adjust_unroll_max only when TARGET_ADJUST_UNROLL_MAX is defined. (general_movsrc_operand): Use the C style comment. (ua_offset): Use prototype. From-SVN: r99631
Diffstat (limited to 'gcc/config/sh')
-rw-r--r--gcc/config/sh/sh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c
index 18798d1..d1fb0e2 100644
--- a/gcc/config/sh/sh.c
+++ b/gcc/config/sh/sh.c
@@ -266,7 +266,9 @@ static bool unspec_caller_rtx_p (rtx);
static bool sh_cannot_copy_insn_p (rtx);
static bool sh_rtx_costs (rtx, int, int, int *);
static int sh_address_cost (rtx);
+#ifdef TARGET_ADJUST_UNROLL_MAX
static int sh_adjust_unroll_max (struct loop *, int, int, int, int);
+#endif
static int shmedia_target_regs_stack_space (HARD_REG_SET *);
static int shmedia_reserve_space_for_target_registers_p (int, HARD_REG_SET *);
static int shmedia_target_regs_stack_adjust (HARD_REG_SET *);
@@ -7554,7 +7556,7 @@ general_movsrc_operand (rtx op, enum machine_mode mode)
if (TARGET_SHMEDIA && 1
&& GET_CODE (op) == SUBREG && GET_MODE (op) == mode
&& SUBREG_REG (op) == const0_rtx && subreg_lowpart_p (op))
- /* FIXME */ abort (); // return 1;
+ /* FIXME */ abort (); /* return 1; */
return general_operand (op, mode);
}
@@ -8766,9 +8768,7 @@ mark_constant_pool_use (rtx x)
}
int
-ua_offset (c, mode)
- rtx c;
- enum machine_mode mode ATTRIBUTE_UNUSED;
+ua_offset (rtx c, enum machine_mode mode ATTRIBUTE_UNUSED)
{
return GET_CODE (c) == CONST_INT && CONST_OK_FOR_I06 (INTVAL (c));
}