From 8843045335f19bfbcaaa265ad6afa4a170c173a0 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Mon, 29 Nov 1999 00:07:23 -0800 Subject: [PATCH] sparc.c (init_cumulative_args): Fix type of third arg. 1999-11-29 David S. Miller * config/sparc/sparc.c (init_cumulative_args): Fix type of third arg. * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE. From-SVN: r30695 --- gcc/ChangeLog | 6 ++++++ gcc/config/sparc/sparc-protos.h | 2 +- gcc/config/sparc/sparc.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 06d8d1d216d..2c12c25d401 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +1999-11-29 David S. Miller + + * config/sparc/sparc.c (init_cumulative_args): Fix type of third + arg. + * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE. + 1999-11-28 Robert Lipe * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn diff --git a/gcc/config/sparc/sparc-protos.h b/gcc/config/sparc/sparc-protos.h index 7d4fdd43749..2e173393e9d 100644 --- a/gcc/config/sparc/sparc-protos.h +++ b/gcc/config/sparc/sparc-protos.h @@ -26,7 +26,6 @@ Boston, MA 02111-1307, USA. */ #ifdef TREE_CODE extern struct rtx_def *function_value PARAMS ((tree, enum machine_mode, int)); -extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, tree, int)); extern void function_arg_advance PARAMS ((CUMULATIVE_ARGS *, enum machine_mode, tree, int)); extern struct rtx_def *function_arg PARAMS ((const CUMULATIVE_ARGS *, @@ -40,6 +39,7 @@ extern int function_arg_pass_by_reference PARAMS ((const CUMULATIVE_ARGS *, tree, int)); extern struct rtx_def *sparc_builtin_saveregs PARAMS ((void)); #ifdef RTX_CODE +extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, rtx, int)); extern void sparc_va_start PARAMS ((int, tree, rtx)); #endif extern struct rtx_def *sparc_va_arg PARAMS ((tree, tree)); diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 4592ceceddb..d536a17e732 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -3453,7 +3453,7 @@ void init_cumulative_args (cum, fntype, libname, indirect) CUMULATIVE_ARGS *cum; tree fntype; - tree libname ATTRIBUTE_UNUSED; + rtx libname ATTRIBUTE_UNUSED; int indirect ATTRIBUTE_UNUSED; { cum->words = 0; -- 2.30.2