diff options
Diffstat (limited to 'gcc/config/spu/spu.c')
-rw-r--r-- | gcc/config/spu/spu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 9a600ebed47..689b50048ff 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -4076,7 +4076,7 @@ spu_build_builtin_va_list (void) TREE_CHAIN (record) = type_decl; TYPE_NAME (record) = type_decl; TYPE_FIELDS (record) = f_args; - TREE_CHAIN (f_args) = f_skip; + DECL_CHAIN (f_args) = f_skip; /* We know this is being padded and we want it too. It is an internal type so hide the warnings from the user. */ @@ -4111,7 +4111,7 @@ spu_va_start (tree valist, rtx nextarg) tree args, skip, t; f_args = TYPE_FIELDS (TREE_TYPE (va_list_type_node)); - f_skip = TREE_CHAIN (f_args); + f_skip = DECL_CHAIN (f_args); valist = build_va_arg_indirect_ref (valist); args = @@ -4166,7 +4166,7 @@ spu_gimplify_va_arg_expr (tree valist, tree type, gimple_seq * pre_p, bool pass_by_reference_p; f_args = TYPE_FIELDS (TREE_TYPE (va_list_type_node)); - f_skip = TREE_CHAIN (f_args); + f_skip = DECL_CHAIN (f_args); valist = build_simple_mem_ref (valist); args = |