diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-07-16 20:59:08 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-07-16 20:59:08 +0000 |
commit | e5faf155c998506b01863c13fb6daa6d4f589f8f (patch) | |
tree | ad7a87ca28497abbdce1dc6a218254c494c5ab47 /gcc/config/mn10300 | |
parent | dbf65c2f4ebc87d8cad5a805c9b56e0240390dd6 (diff) | |
download | gcc-e5faf155c998506b01863c13fb6daa6d4f589f8f.zip gcc-e5faf155c998506b01863c13fb6daa6d4f589f8f.tar.gz gcc-e5faf155c998506b01863c13fb6daa6d4f589f8f.tar.bz2 |
builtins.c (std_expand_builtin_va_start): Remove unused first argument.
* builtins.c (std_expand_builtin_va_start): Remove unused
first argument.
(expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
std_expand_builtin_va_start with just two arguments.
* expr.h: Update prototypes.
* alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first
argument from all implementations of EXPAND_BUILTIN_VA_START
and all uses of std_expand_builtin_va_start.
From-SVN: r55495
Diffstat (limited to 'gcc/config/mn10300')
-rw-r--r-- | gcc/config/mn10300/mn10300-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.c | 5 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.h | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/gcc/config/mn10300/mn10300-protos.h b/gcc/config/mn10300/mn10300-protos.h index abd17ed..d5a1c44 100644 --- a/gcc/config/mn10300/mn10300-protos.h +++ b/gcc/config/mn10300/mn10300-protos.h @@ -22,7 +22,7 @@ Boston, MA 02111-1307, USA. */ #ifdef RTX_CODE #ifdef TREE_CODE -extern void mn10300_va_start PARAMS ((int, tree, rtx)); +extern void mn10300_va_start PARAMS ((tree, rtx)); #endif /* TREE_CODE */ extern struct rtx_def *legitimize_address PARAMS ((rtx, rtx, enum machine_mode)); diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index e47c8c1f..52284c0 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -874,13 +874,12 @@ mn10300_builtin_saveregs () } void -mn10300_va_start (stdarg_p, valist, nextarg) - int stdarg_p ATTRIBUTE_UNUSED; +mn10300_va_start (valist, nextarg) tree valist; rtx nextarg; { nextarg = expand_builtin_saveregs (); - std_expand_builtin_va_start (stdarg_p, valist, nextarg); + std_expand_builtin_va_start (valist, nextarg); } rtx diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h index ddebedd..b8b9f4d 100644 --- a/gcc/config/mn10300/mn10300.h +++ b/gcc/config/mn10300/mn10300.h @@ -648,8 +648,8 @@ struct cum_arg {int nbytes; }; #define EXPAND_BUILTIN_SAVEREGS() mn10300_builtin_saveregs () /* Implement `va_start' for varargs and stdarg. */ -#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \ - mn10300_va_start (stdarg, valist, nextarg) +#define EXPAND_BUILTIN_VA_START(valist, nextarg) \ + mn10300_va_start (valist, nextarg) /* Implement `va_arg'. */ #define EXPAND_BUILTIN_VA_ARG(valist, type) \ |