]> gcc.gnu.org Git - gcc.git/commitdiff
sh.c (sh_init_builtins): Add PARAMS to declaration.
authorJ"orn Rennecke <joern.rennecke@superh.com>
Tue, 13 Aug 2002 16:52:27 +0000 (16:52 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 13 Aug 2002 16:52:27 +0000 (17:52 +0100)
* 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

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

index 97917790b130a2fc4d08a81b3eea1f154faf1e41..cd38b3c950408ca5eb66af45d928f9e836309ff6 100644 (file)
@@ -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
index a46a3270c452ca362f3f98c34824265d0e7b8672..a2152efa2f41c8f4c39284eb0c912a8c1109fab5 100644 (file)
@@ -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));
index c1a4534b577cac5b4421004c91ba43954430e962..3512b970d4d535c0a31631d7094140eb0fb78e2a 100644 (file)
@@ -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));
 
 \f
 /* 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));
This page took 0.110664 seconds and 5 git commands to generate.