diff options
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/function.c b/gcc/function.c index a540d05..5a4dc10 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4293,11 +4293,7 @@ allocate_struct_function (tree fndecl, bool abstract_p) cfun->returns_struct = 1; } - cfun->stdarg - = (fntype - && TYPE_ARG_TYPES (fntype) != 0 - && (TREE_VALUE (tree_last (TYPE_ARG_TYPES (fntype))) - != void_type_node)); + cfun->stdarg = stdarg_p (fntype); /* Assume all registers in stdarg functions need to be saved. */ cfun->va_list_gpr_size = VA_LIST_MAX_GPR_SIZE; |