diff options
author | David S. Miller <davem@redhat.com> | 1999-11-29 00:07:23 -0800 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 1999-11-29 00:07:23 -0800 |
commit | 8843045335f19bfbcaaa265ad6afa4a170c173a0 (patch) | |
tree | 647f17f7a9776c9092f457687a8c6b6c023cb025 /gcc | |
parent | 46984a9abc27b0d12b58401c2607917cb4e10692 (diff) | |
download | gcc-8843045335f19bfbcaaa265ad6afa4a170c173a0.zip gcc-8843045335f19bfbcaaa265ad6afa4a170c173a0.tar.gz gcc-8843045335f19bfbcaaa265ad6afa4a170c173a0.tar.bz2 |
sparc.c (init_cumulative_args): Fix type of third arg.
1999-11-29 David S. Miller <davem@redhat.com>
* 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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sparc/sparc-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 06d8d1d..2c12c25 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +1999-11-29 David S. Miller <davem@redhat.com> + + * 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 <robertl@cygnus.com> * 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 7d4fdd4..2e17339 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 4592cec..d536a17 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; |