diff options
author | J"orn Rennecke <joern.rennecke@superh.com> | 2002-08-13 16:52:27 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2002-08-13 17:52:27 +0100 |
commit | 8202c8c4e940420fcbed15cf0397323e9131e15a (patch) | |
tree | 9c55a42675a2cf4361aa571c25d55866da0495bf /gcc | |
parent | 22eadedb9d1c48bf20b21d2f71c7e5815317a0cb (diff) | |
download | gcc-8202c8c4e940420fcbed15cf0397323e9131e15a.zip gcc-8202c8c4e940420fcbed15cf0397323e9131e15a.tar.gz gcc-8202c8c4e940420fcbed15cf0397323e9131e15a.tar.bz2 |
sh.c (sh_init_builtins): Add PARAMS to declaration.
* sh.c (sh_init_builtins): Add PARAMS to declaration.
(sh_media_init_builtins, sh_expand_builtin): Likewise.
(sh_expand_unop_v2sf): Use PARAMS for variable declaration.
(sh_expand_binop_v2sf): Likewise.
* sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
(sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
(sh_initialize_trampoline): Likewise.
From-SVN: r56259
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/config/sh/sh-protos.h | 8 | ||||
-rw-r--r-- | gcc/config/sh/sh.c | 10 |
3 files changed, 19 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9791779..cd38b3c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com> + + * sh.c (sh_init_builtins): Add PARAMS to declaration. + (sh_media_init_builtins, sh_expand_builtin): Likewise. + (sh_expand_unop_v2sf): Use PARAMS for variable declaration. + (sh_expand_binop_v2sf): Likewise. + * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration. + (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise. + (sh_initialize_trampoline): Likewise. + 2002-08-13 Ulrich Weigand <uweigand@de.ibm.com> * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare diff --git a/gcc/config/sh/sh-protos.h b/gcc/config/sh/sh-protos.h index a46a327..a2152ef 100644 --- a/gcc/config/sh/sh-protos.h +++ b/gcc/config/sh/sh-protos.h @@ -100,8 +100,8 @@ extern void expand_df_binop PARAMS ((rtx (*)(rtx, rtx, rtx, rtx), rtx *)); extern void expand_fp_branch PARAMS ((rtx (*)(void), rtx (*)(void))); extern int sh_insn_length_adjustment PARAMS ((rtx)); extern int sh_can_redirect_branch PARAMS ((rtx, rtx)); -extern void sh_expand_unop_v2sf (enum rtx_code, rtx, rtx); -extern void sh_expand_binop_v2sf (enum rtx_code, rtx, rtx, rtx); +extern void sh_expand_unop_v2sf PARAMS ((enum rtx_code, rtx, rtx)); +extern void sh_expand_binop_v2sf PARAMS ((enum rtx_code, rtx, rtx, rtx)); #ifdef TREE_CODE extern void sh_va_start PARAMS ((tree, rtx)); extern rtx sh_va_arg PARAMS ((tree, tree)); @@ -124,8 +124,8 @@ extern int initial_elimination_offset PARAMS ((int, int)); extern int fldi_ok PARAMS ((void)); extern int sh_pr_n_sets PARAMS ((void)); extern int sh_hard_regno_rename_ok PARAMS ((unsigned int, unsigned int)); -extern int sh_cfun_interrupt_handler_p (void); -extern void sh_initialize_trampoline (rtx, rtx, rtx); +extern int sh_cfun_interrupt_handler_p PARAMS ((void)); +extern void sh_initialize_trampoline PARAMS ((rtx, rtx, rtx)); #ifdef HARD_CONST extern void fpscr_set_from_mem PARAMS ((int, HARD_REG_SET)); diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index c1a4534..3512b97 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -205,9 +205,9 @@ static bool sh_ms_bitfield_layout_p PARAMS ((tree)); static void sh_encode_section_info PARAMS ((tree, int)); static const char *sh_strip_name_encoding PARAMS ((const char *)); -static void sh_init_builtins (void); -static void sh_media_init_builtins (void); -static rtx sh_expand_builtin (tree, rtx, rtx, enum machine_mode, int); +static void sh_init_builtins PARAMS ((void)); +static void sh_media_init_builtins PARAMS ((void)); +static rtx sh_expand_builtin PARAMS ((tree, rtx, rtx, enum machine_mode, int)); /* Initialize the GCC target structure. */ @@ -7615,7 +7615,7 @@ sh_expand_unop_v2sf (code, op0, op1) { rtx sel0 = const0_rtx; rtx sel1 = const1_rtx; - rtx (*fn) (rtx, rtx, rtx, rtx, rtx) = gen_unary_sf_op; + rtx (*fn) PARAMS ((rtx, rtx, rtx, rtx, rtx)) = gen_unary_sf_op; rtx op = gen_rtx_fmt_e (code, SFmode, op1); emit_insn ((*fn) (op0, op1, op, sel0, sel0)); @@ -7629,7 +7629,7 @@ sh_expand_binop_v2sf (code, op0, op1, op2) { rtx sel0 = const0_rtx; rtx sel1 = const1_rtx; - rtx (*fn) (rtx, rtx, rtx, rtx, rtx, rtx, rtx) = gen_binary_sf_op; + rtx (*fn) PARAMS ((rtx, rtx, rtx, rtx, rtx, rtx, rtx)) = gen_binary_sf_op; rtx op = gen_rtx_fmt_ee (code, SFmode, op1, op2); emit_insn ((*fn) (op0, op1, op2, op, sel0, sel0, sel0)); |