diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-02-21 02:18:01 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-02-21 02:18:01 +0000 |
commit | 54ad443fe580ece9f8d89e304fc2270419b4451c (patch) | |
tree | c33efa8611a4bf30102a57dbbe33f3407bec8fbc | |
parent | 97a32de0ded2d9cbdce65c5828c14280e73b9bdf (diff) | |
download | gcc-54ad443fe580ece9f8d89e304fc2270419b4451c.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144344 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 70871ff1281..1bcc3b1d3a6 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 772f1fc5652..c25fc29e411 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) |