summaryrefslogtreecommitdiff
path: root/gcc/config/iq2000
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2009-06-13 13:51:53 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2009-06-13 13:51:53 +0000
commit4c4bde292d83d0aeaf77084968fb3de21647db89 (patch)
tree1d9c760421c4071f9621eb04888999e9d7ce7923 /gcc/config/iq2000
parent81beb0316c9ec1b53f038de4721929d444f5e406 (diff)
downloadgcc-4c4bde292d83d0aeaf77084968fb3de21647db89.tar.gz
alpha.c (alpha_build_builtin_va_list): Pass location to build_decl.
* config/alpha/alpha.c (alpha_build_builtin_va_list): Pass location to build_decl. * config/s390/s390.c (s390_build_builtin_va_list): Same. (s390_gimplify_va_arg): Pass location to create_artificial_label. * config/spu/spu-protos.h: Add location to spu_resolve_overloaded_builtin. * config/spu/spu.c (spu_build_builtin_va_list): Pass location to spu_build_builtin_va_list. * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Add location argument. Pass location to build_function_call_vec. * config/sh/sh.c (sh_build_builtin_va_list): Pass location to build_decl. (emit_fpu_switch): Same. (sh_gimplify_va_arg_expr): Pass location to create_artificial_label. * config/xtensa/xtensa.c (xtensa_build_builtin_va_list): Pass location to build_decl and create_artificial_label. (xtensa_gimplify_va_arg_expr): Same. * config/stormy16/stormy16.c (xstormy16_build_builtin_va_list): Same. (xstormy16_gimplify_va_arg_expr): Same. * config/iq2000/iq2000.c (iq2000_expand_prologue): Same. * config/arm/arm.c (arm_build_builtin_va_list): Same. * config/mips/mips.c (mips_build_builtin_va_list): Same. (mips16_build_function_stub): Same. (mips16_build_call_stub): Same. From-SVN: r148453
Diffstat (limited to 'gcc/config/iq2000')
-rw-r--r--gcc/config/iq2000/iq2000.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/iq2000/iq2000.c b/gcc/config/iq2000/iq2000.c
index 5ba18886778..b99043efa99 100644
--- a/gcc/config/iq2000/iq2000.c
+++ b/gcc/config/iq2000/iq2000.c
@@ -1860,7 +1860,8 @@ iq2000_expand_prologue (void)
&& targetm.calls.struct_value_rtx (TREE_TYPE (fndecl), 1) == 0)
{
tree type = build_pointer_type (fntype);
- tree function_result_decl = build_decl (PARM_DECL, NULL_TREE, type);
+ tree function_result_decl = build_decl (BUILTINS_LOCATION,
+ PARM_DECL, NULL_TREE, type);
DECL_ARG_TYPE (function_result_decl) = type;
TREE_CHAIN (function_result_decl) = fnargs;