aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-02-21 02:18:01 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2009-02-21 02:18:01 +0000
commitae46a823a786d2489740e628f8067d3f4fd76169 (patch)
treec33efa8611a4bf30102a57dbbe33f3407bec8fbc /gcc
parent5b9daa7e60b0ccfd2bc99748b4362c6773bcc378 (diff)
downloadgcc-ae46a823a786d2489740e628f8067d3f4fd76169.zip
gcc-ae46a823a786d2489740e628f8067d3f4fd76169.tar.gz
gcc-ae46a823a786d2489740e628f8067d3f4fd76169.tar.bz2
arm.c (arm_gimplify_va_arg_expr): Update prototype to take gimple_seq * arguments.
* config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to take gimple_seq * arguments. (arm_mangle_type): Use CONST_CAST_TREE on type argument passed to types_compatible_p langhook. From-SVN: r144344
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/arm/arm.c8
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 70871ff..1bcc3b1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2009-02-21 Joseph Myers <joseph@codesourcery.com>
+
+ * config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to
+ take gimple_seq * arguments.
+ (arm_mangle_type): Use CONST_CAST_TREE on type argument passed to
+ types_compatible_p langhook.
+
2009-02-20 Mark Mitchell <mark@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 772f1fc..c25fc29 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -188,7 +188,7 @@ static bool arm_cxx_use_aeabi_atexit (void);
static void arm_init_libfuncs (void);
static tree arm_build_builtin_va_list (void);
static void arm_expand_builtin_va_start (tree, rtx);
-static tree arm_gimplify_va_arg_expr (tree, tree, tree *, tree *);
+static tree arm_gimplify_va_arg_expr (tree, tree, gimple_seq *, gimple_seq *);
static bool arm_handle_option (size_t, const char *, int);
static void arm_target_help (void);
static unsigned HOST_WIDE_INT arm_shift_truncation_mask (enum machine_mode);
@@ -1004,8 +1004,8 @@ arm_expand_builtin_va_start (tree valist, rtx nextarg)
/* Implement TARGET_GIMPLIFY_VA_ARG_EXPR. */
static tree
-arm_gimplify_va_arg_expr (tree valist, tree type, tree *pre_p,
- tree *post_p)
+arm_gimplify_va_arg_expr (tree valist, tree type, gimple_seq *pre_p,
+ gimple_seq *post_p)
{
valist = arm_extract_valist_ptr (valist);
return std_gimplify_va_arg_expr (valist, type, pre_p, post_p);
@@ -19606,7 +19606,7 @@ arm_mangle_type (const_tree type)
/* The ARM ABI documents (10th October 2008) say that "__va_list"
has to be managled as if it is in the "std" namespace. */
if (TARGET_AAPCS_BASED
- && lang_hooks.types_compatible_p (type, va_list_type))
+ && lang_hooks.types_compatible_p (CONST_CAST_TREE (type), va_list_type))
{
static bool warned;
if (!warned && warn_psabi)