diff options
Diffstat (limited to 'gcc/config/sh/sh.c')
-rw-r--r-- | gcc/config/sh/sh.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 8fe71140bee..5687c0a8c52 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -5260,8 +5260,7 @@ sh_build_va_list () /* Implement `va_start' for varargs and stdarg. */ void -sh_va_start (stdarg_p, valist, nextarg) - int stdarg_p ATTRIBUTE_UNUSED; +sh_va_start (valist, nextarg) tree valist; rtx nextarg; { @@ -5273,13 +5272,13 @@ sh_va_start (stdarg_p, valist, nextarg) if (TARGET_SH5) { expand_builtin_saveregs (); - std_expand_builtin_va_start (1, valist, nextarg); + std_expand_builtin_va_start (valist, nextarg); return; } if ((! TARGET_SH3E && ! TARGET_SH4) || TARGET_HITACHI) { - std_expand_builtin_va_start (1, valist, nextarg); + std_expand_builtin_va_start (valist, nextarg); return; } |