summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-09 10:04:34 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-09 10:04:34 +0000
commite4ceed3727dc7825ff5ee8da85042dec1e981ebf (patch)
treedd26d044db9f3f89368e72632b42950589db77d8
parent20cdebf8b6497f3882ea17ec06b5ed9d5c1b3c58 (diff)
downloadppe42-gcc-e4ceed3727dc7825ff5ee8da85042dec1e981ebf.tar.gz
ppe42-gcc-e4ceed3727dc7825ff5ee8da85042dec1e981ebf.zip
* config/sparc/sparc-protos.h (sparc_va_arg): Remove.
* config/sparc/sparc.c (sparc_gimplify_va_arg): Mark static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84356 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/sparc/sparc-protos.h1
-rw-r--r--gcc/config/sparc/sparc.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e21729b8f65..079dc6b9bf4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2004-07-09 Richard Henderson <rth@redhat.com>
+ * config/sparc/sparc-protos.h (sparc_va_arg): Remove.
+ * config/sparc/sparc.c (sparc_gimplify_va_arg): Mark static.
+
* config/sh/sh-protos.h (sh_va_arg): Remove.
* config/sh/sh.c (TARGET_GIMPLIFY_VA_ARG_EXPR): New.
(sh_gimplify_va_arg_expr): Rewrite from sh_va_arg.
diff --git a/gcc/config/sparc/sparc-protos.h b/gcc/config/sparc/sparc-protos.h
index fc3e17fdda2..8a541b3f3af 100644
--- a/gcc/config/sparc/sparc-protos.h
+++ b/gcc/config/sparc/sparc-protos.h
@@ -38,7 +38,6 @@ extern int function_arg_pass_by_reference (const CUMULATIVE_ARGS *,
extern void init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree);
extern void sparc_va_start (tree, rtx);
#endif
-extern struct rtx_def *sparc_va_arg (tree, tree);
extern unsigned long sparc_type_code (tree);
#ifdef ARGS_SIZE_RTX
/* expr.h defines ARGS_SIZE_RTX and `enum direction' */
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index cfaa34aaaae..435c9033537 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -5816,7 +5816,7 @@ sparc_va_start (tree valist, rtx nextarg)
/* Implement `va_arg' for stdarg. */
-tree
+static tree
sparc_gimplify_va_arg (tree valist, tree type, tree *pre_p, tree *post_p)
{
HOST_WIDE_INT size, rsize, align;
OpenPOWER on IntegriCloud