This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tuples] fix bootstrap on sparc-solaris.
- From: Andreas Tobler <andreast-list at fgznet dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Diego Novillo <dnovillo at google dot com>
- Date: Fri, 16 May 2008 17:06:23 +0200
- Subject: [tuples] fix bootstrap on sparc-solaris.
Hi,
this little patch helps bootstrapping.
I'll commit to tuples once I completed bootstrap & testing.
Thanks,
Andreas
2008-05-16 Andreas Tobler <a.tobler@schweiz.org>
* config/sparc/sparc.c (sparc_gimplify_va_arg): Adjust arguments.
Index: sparc.c
===================================================================
--- sparc.c (revision 135423)
+++ sparc.c (working copy)
@@ -410,7 +410,7 @@
static bool sparc_return_in_memory (const_tree, const_tree);
static bool sparc_strict_argument_naming (CUMULATIVE_ARGS *);
static void sparc_va_start (tree, rtx);
-static tree sparc_gimplify_va_arg (tree, tree, tree *, tree *);
+static tree sparc_gimplify_va_arg (tree, tree, gimple_seq *, gimple_seq *);
static bool sparc_vector_mode_supported_p (enum machine_mode);
static bool sparc_pass_by_reference (CUMULATIVE_ARGS *,
enum machine_mode, const_tree, bool);
@@ -5709,7 +5709,8 @@
/* Implement `va_arg' for stdarg. */
static tree
-sparc_gimplify_va_arg (tree valist, tree type, tree *pre_p, tree *post_p)
+sparc_gimplify_va_arg (tree valist, tree type, gimple_seq *pre_p,
+ gimple_seq *post_p)
{
HOST_WIDE_INT size, rsize, align;
tree addr, incr;