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
This commit is contained in:
parent
dbf65c2f4e
commit
e5faf155c9
@ -1,3 +1,23 @@
|
||||
2002-07-16 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* 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.
|
||||
|
||||
Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
* regrename.c (copy_value): Don't record high part copies.
|
||||
@ -17,7 +37,7 @@ Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
* config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
|
||||
"earlyclobber" constraint modifier for some alternative.
|
||||
|
||||
|
||||
* config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
|
||||
(*ble, *blt): Flag to indicate bCOND and sCOND should check for
|
||||
unordered.
|
||||
@ -59,7 +79,7 @@ Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
2002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
|
||||
Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
|
||||
* arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
|
||||
CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic.
|
||||
|
||||
2002-07-16 Richard Earnshaw <rearnsha@arm.com>
|
||||
@ -73,7 +93,7 @@ Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
* ra-rewrite.c: #include reload.h, insn-config.h
|
||||
* ra-build.c: #include reload.h
|
||||
* Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
|
||||
depend on reload.h, insn-config.h.
|
||||
depend on reload.h, insn-config.h.
|
||||
|
||||
Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||
|
||||
|
@ -2989,8 +2989,7 @@ stabilize_va_list (valist, needs_lvalue)
|
||||
the variable. */
|
||||
|
||||
void
|
||||
std_expand_builtin_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
std_expand_builtin_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg;
|
||||
{
|
||||
@ -3021,9 +3020,9 @@ expand_builtin_va_start (arglist)
|
||||
valist = stabilize_va_list (TREE_VALUE (arglist), 1);
|
||||
|
||||
#ifdef EXPAND_BUILTIN_VA_START
|
||||
EXPAND_BUILTIN_VA_START (1, valist, nextarg);
|
||||
EXPAND_BUILTIN_VA_START (valist, nextarg);
|
||||
#else
|
||||
std_expand_builtin_va_start (1, valist, nextarg);
|
||||
std_expand_builtin_va_start (valist, nextarg);
|
||||
#endif
|
||||
|
||||
return const0_rtx;
|
||||
|
@ -135,7 +135,7 @@ extern void alpha_initialize_trampoline PARAMS ((rtx, rtx, rtx, int, int, int));
|
||||
extern void alpha_reorg PARAMS ((rtx));
|
||||
|
||||
extern tree alpha_build_va_list PARAMS ((void));
|
||||
extern void alpha_va_start PARAMS ((int, tree, rtx));
|
||||
extern void alpha_va_start PARAMS ((tree, rtx));
|
||||
extern rtx alpha_va_arg PARAMS ((tree, tree));
|
||||
extern rtx function_arg PARAMS ((CUMULATIVE_ARGS, enum machine_mode,
|
||||
tree, int));
|
||||
|
@ -6162,8 +6162,7 @@ alpha_build_va_list ()
|
||||
}
|
||||
|
||||
void
|
||||
alpha_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
alpha_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg ATTRIBUTE_UNUSED;
|
||||
{
|
||||
@ -6174,7 +6173,7 @@ alpha_va_start (stdarg_p, valist, nextarg)
|
||||
return;
|
||||
|
||||
if (TARGET_ABI_UNICOSMK)
|
||||
std_expand_builtin_va_start (1, valist, nextarg);
|
||||
std_expand_builtin_va_start (valist, nextarg);
|
||||
|
||||
/* For Unix, SETUP_INCOMING_VARARGS moves the starting address base
|
||||
up by 48, storing fp arg registers in the first 48 bytes, and the
|
||||
|
@ -1984,8 +1984,8 @@ do { \
|
||||
(VALIST) = alpha_build_va_list ()
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
alpha_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
alpha_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
|
||||
|
@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifdef RTX_CODE
|
||||
#ifdef TREE_CODE
|
||||
extern void arc_va_start PARAMS ((int, tree, rtx));
|
||||
extern void arc_va_start PARAMS ((tree, rtx));
|
||||
extern rtx arc_va_arg PARAMS ((tree, tree));
|
||||
#endif /* TREE_CODE */
|
||||
|
||||
|
@ -2261,8 +2261,7 @@ arc_ccfsm_record_branch_deleted ()
|
||||
}
|
||||
|
||||
void
|
||||
arc_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
arc_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg;
|
||||
{
|
||||
@ -2271,7 +2270,7 @@ arc_va_start (stdarg_p, valist, nextarg)
|
||||
&& (current_function_args_info & 1))
|
||||
nextarg = plus_constant (nextarg, UNITS_PER_WORD);
|
||||
|
||||
std_expand_builtin_va_start (1, valist, nextarg);
|
||||
std_expand_builtin_va_start (valist, nextarg);
|
||||
}
|
||||
|
||||
rtx
|
||||
|
@ -1410,8 +1410,8 @@ enum arc_function_type {
|
||||
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
arc_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
arc_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
|
||||
|
@ -105,7 +105,7 @@ extern void d30v_setup_incoming_varargs PARAMS ((CUMULATIVE_ARGS *,
|
||||
tree, int *, int));
|
||||
extern tree d30v_build_va_list PARAMS ((void));
|
||||
#ifdef RTX_CODE
|
||||
extern void d30v_expand_builtin_va_start PARAMS ((int, tree, rtx));
|
||||
extern void d30v_expand_builtin_va_start PARAMS ((tree, rtx));
|
||||
extern rtx d30v_expand_builtin_va_arg PARAMS ((tree, tree));
|
||||
#endif /* RTX_CODE */
|
||||
#endif /* TREE_CODE */
|
||||
|
@ -2225,8 +2225,7 @@ d30v_build_va_list ()
|
||||
/* Expand __builtin_va_start to do the va_start macro. */
|
||||
|
||||
void
|
||||
d30v_expand_builtin_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
d30v_expand_builtin_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg ATTRIBUTE_UNUSED;
|
||||
{
|
||||
|
@ -2013,8 +2013,8 @@ typedef struct machine_function GTY(())
|
||||
'next' argument after the variable arguments. If not defined, a standard
|
||||
implementation will be defined that works for arguments passed on the stack. */
|
||||
|
||||
#define EXPAND_BUILTIN_VA_START(STDARG_P, VALIST, NEXTARG) \
|
||||
(d30v_expand_builtin_va_start(STDARG_P, VALIST, NEXTARG))
|
||||
#define EXPAND_BUILTIN_VA_START(VALIST, NEXTARG) \
|
||||
d30v_expand_builtin_va_start(VALIST, NEXTARG)
|
||||
|
||||
/* Implement the stdarg/varargs va_arg macro. VALIST is the variable of type
|
||||
va_list as a tree, TYPE is the type passed to va_arg. */
|
||||
|
@ -153,7 +153,7 @@ extern bool ix86_function_value_regno_p PARAMS ((int));
|
||||
extern bool ix86_function_arg_regno_p PARAMS ((int));
|
||||
extern int ix86_function_arg_boundary PARAMS ((enum machine_mode, tree));
|
||||
extern int ix86_return_in_memory PARAMS ((tree));
|
||||
extern void ix86_va_start PARAMS ((int, tree, rtx));
|
||||
extern void ix86_va_start PARAMS ((tree, rtx));
|
||||
extern rtx ix86_va_arg PARAMS ((tree, tree));
|
||||
extern void ix86_setup_incoming_varargs PARAMS ((CUMULATIVE_ARGS *,
|
||||
enum machine_mode,
|
||||
|
@ -2446,8 +2446,7 @@ ix86_setup_incoming_varargs (cum, mode, type, pretend_size, no_rtl)
|
||||
/* Implement va_start. */
|
||||
|
||||
void
|
||||
ix86_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
ix86_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg;
|
||||
{
|
||||
@ -2458,7 +2457,7 @@ ix86_va_start (stdarg_p, valist, nextarg)
|
||||
/* Only 64bit target needs something special. */
|
||||
if (!TARGET_64BIT)
|
||||
{
|
||||
std_expand_builtin_va_start (1, valist, nextarg);
|
||||
std_expand_builtin_va_start (valist, nextarg);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1695,8 +1695,8 @@ typedef struct ix86_args {
|
||||
((VALIST) = ix86_build_va_list ())
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
#define EXPAND_BUILTIN_VA_START(STDARG, VALIST, NEXTARG) \
|
||||
ix86_va_start ((STDARG), (VALIST), (NEXTARG))
|
||||
#define EXPAND_BUILTIN_VA_START(VALIST, NEXTARG) \
|
||||
ix86_va_start (VALIST, NEXTARG)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
#define EXPAND_BUILTIN_VA_ARG(VALIST, TYPE) \
|
||||
|
@ -73,7 +73,7 @@ extern struct rtx_def *i960_function_arg PARAMS ((CUMULATIVE_ARGS *,
|
||||
enum machine_mode,
|
||||
tree, int));
|
||||
extern rtx i960_va_arg PARAMS ((tree, tree));
|
||||
extern void i960_va_start PARAMS ((int, tree, rtx));
|
||||
extern void i960_va_start PARAMS ((tree, rtx));
|
||||
#endif /* TREE_CODE */
|
||||
extern enum reg_class secondary_reload_class PARAMS ((enum reg_class, enum machine_mode, rtx));
|
||||
#endif /* RTX_CODE */
|
||||
|
@ -2554,8 +2554,7 @@ i960_build_va_list ()
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
|
||||
void
|
||||
i960_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
i960_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg ATTRIBUTE_UNUSED;
|
||||
{
|
||||
|
@ -872,8 +872,8 @@ enum reg_class { NO_REGS, GLOBAL_REGS, LOCAL_REGS, LOCAL_OR_GLOBAL_REGS,
|
||||
(VALIST) = i960_build_va_list ()
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
i960_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
i960_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
|
||||
|
@ -67,7 +67,7 @@ extern int equality_op PARAMS ((rtx, enum machine_mode));
|
||||
extern int pc_or_label_ref PARAMS ((rtx, enum machine_mode));
|
||||
extern int symbolic_operand PARAMS ((rtx, enum machine_mode));
|
||||
#ifdef TREE_CODE
|
||||
extern void m88k_va_start PARAMS ((int, tree, rtx));
|
||||
extern void m88k_va_start PARAMS ((tree, rtx));
|
||||
#endif /* TREE_CODE */
|
||||
#endif /* RTX_CODE */
|
||||
|
||||
|
@ -2618,8 +2618,7 @@ m88k_build_va_list ()
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
|
||||
void
|
||||
m88k_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
m88k_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg ATTRIBUTE_UNUSED;
|
||||
{
|
||||
|
@ -1025,8 +1025,8 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS,
|
||||
(VALIST) = m88k_build_va_list ()
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
m88k_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
m88k_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
|
||||
|
@ -78,7 +78,7 @@ extern int mips16_constant_after_function_p PARAMS ((tree));
|
||||
extern int mips_output_external PARAMS ((FILE *, tree,
|
||||
const char *));
|
||||
extern tree mips_build_va_list PARAMS ((void));
|
||||
extern void mips_va_start PARAMS ((int, tree, rtx));
|
||||
extern void mips_va_start PARAMS ((tree, rtx));
|
||||
extern struct rtx_def *mips_va_arg PARAMS ((tree, tree));
|
||||
|
||||
extern void expand_block_move PARAMS ((rtx *));
|
||||
|
@ -4609,8 +4609,7 @@ mips_build_va_list ()
|
||||
/* Implement va_start. stdarg_p is always 1. */
|
||||
|
||||
void
|
||||
mips_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
mips_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg;
|
||||
{
|
||||
@ -4689,11 +4688,11 @@ mips_va_start (stdarg_p, valist, nextarg)
|
||||
/* Everything is in the GPR save area, or in the overflow
|
||||
area which is contiguous with it. */
|
||||
nextarg = plus_constant (nextarg, -gpr_save_area_size);
|
||||
std_expand_builtin_va_start (1, valist, nextarg);
|
||||
std_expand_builtin_va_start (valist, nextarg);
|
||||
}
|
||||
}
|
||||
else
|
||||
std_expand_builtin_va_start (1, valist, nextarg);
|
||||
std_expand_builtin_va_start (valist, nextarg);
|
||||
}
|
||||
|
||||
/* Implement va_arg. */
|
||||
|
@ -2745,8 +2745,8 @@ typedef struct mips_args {
|
||||
(VALIST) = mips_build_va_list ()
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
mips_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
mips_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
|
||||
|
@ -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));
|
||||
|
@ -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
|
||||
|
@ -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) \
|
||||
|
@ -31,7 +31,7 @@ extern int function_label_operand PARAMS ((rtx, enum machine_mode));
|
||||
extern int lhs_lshift_cint_operand PARAMS ((rtx, enum machine_mode));
|
||||
|
||||
#ifdef TREE_CODE
|
||||
extern void hppa_va_start PARAMS ((int, tree, rtx));
|
||||
extern void hppa_va_start PARAMS ((tree, rtx));
|
||||
extern rtx hppa_va_arg PARAMS ((tree, tree));
|
||||
#endif /* TREE_CODE */
|
||||
extern rtx hppa_legitimize_address PARAMS ((rtx, rtx, enum machine_mode));
|
||||
|
@ -5182,13 +5182,12 @@ hppa_builtin_saveregs ()
|
||||
}
|
||||
|
||||
void
|
||||
hppa_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
hppa_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg;
|
||||
{
|
||||
nextarg = expand_builtin_saveregs ();
|
||||
std_expand_builtin_va_start (1, valist, nextarg);
|
||||
std_expand_builtin_va_start (valist, nextarg);
|
||||
}
|
||||
|
||||
rtx
|
||||
|
@ -1039,8 +1039,8 @@ extern int may_call_alloca;
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
hppa_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
hppa_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
|
||||
|
@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifdef TREE_CODE
|
||||
extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, rtx, int));
|
||||
extern void rs6000_va_start PARAMS ((int, tree, rtx));
|
||||
extern void rs6000_va_start PARAMS ((tree, rtx));
|
||||
#endif /* TREE_CODE */
|
||||
|
||||
extern struct rtx_def *rs6000_got_register PARAMS ((rtx));
|
||||
|
@ -3098,8 +3098,7 @@ rs6000_build_va_list ()
|
||||
/* Implement va_start. */
|
||||
|
||||
void
|
||||
rs6000_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
rs6000_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg;
|
||||
{
|
||||
@ -3110,7 +3109,7 @@ rs6000_va_start (stdarg_p, valist, nextarg)
|
||||
/* Only SVR4 needs something special. */
|
||||
if (DEFAULT_ABI != ABI_V4)
|
||||
{
|
||||
std_expand_builtin_va_start (1, valist, nextarg);
|
||||
std_expand_builtin_va_start (valist, nextarg);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1682,8 +1682,8 @@ typedef struct rs6000_args
|
||||
(VALIST) = rs6000_build_va_list ()
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
rs6000_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
rs6000_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
|
||||
|
@ -78,7 +78,7 @@ extern void s390_function_arg_advance PARAMS ((CUMULATIVE_ARGS *, enum machine_m
|
||||
extern tree s390_build_va_list PARAMS ((void));
|
||||
#ifdef RTX_CODE
|
||||
extern rtx s390_function_arg PARAMS ((CUMULATIVE_ARGS *, enum machine_mode, tree, int));
|
||||
extern void s390_va_start PARAMS ((int, tree, rtx));
|
||||
extern void s390_va_start PARAMS ((tree, rtx));
|
||||
extern rtx s390_va_arg PARAMS ((tree, tree));
|
||||
#endif /* RTX_CODE */
|
||||
#endif /* TREE_CODE */
|
||||
|
@ -3962,8 +3962,7 @@ s390_build_va_list ()
|
||||
(relative to the virtual arg pointer). */
|
||||
|
||||
void
|
||||
s390_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
s390_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg ATTRIBUTE_UNUSED;
|
||||
{
|
||||
|
@ -748,8 +748,8 @@ CUMULATIVE_ARGS;
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
s390_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
s390_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
|
||||
|
@ -102,7 +102,7 @@ extern void expand_fp_branch PARAMS ((rtx (*)(void), rtx (*)(void)));
|
||||
extern int sh_insn_length_adjustment PARAMS ((rtx));
|
||||
extern int sh_can_redirect_branch PARAMS ((rtx, rtx));
|
||||
#ifdef TREE_CODE
|
||||
extern void sh_va_start PARAMS ((int, tree, rtx));
|
||||
extern void sh_va_start PARAMS ((tree, rtx));
|
||||
extern rtx sh_va_arg PARAMS ((tree, tree));
|
||||
#endif /* TREE_CODE */
|
||||
#endif /* RTX_CODE */
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -2018,8 +2018,8 @@ while (0)
|
||||
(VALIST) = sh_build_va_list ()
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
sh_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
sh_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
|
||||
|
@ -42,7 +42,7 @@ extern int function_arg_pass_by_reference PARAMS ((const CUMULATIVE_ARGS *,
|
||||
extern struct rtx_def *sparc_builtin_saveregs PARAMS ((void));
|
||||
#ifdef RTX_CODE
|
||||
extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, rtx, int));
|
||||
extern void sparc_va_start PARAMS ((int, tree, rtx));
|
||||
extern void sparc_va_start PARAMS ((tree, rtx));
|
||||
#endif
|
||||
extern struct rtx_def *sparc_va_arg PARAMS ((tree, tree));
|
||||
extern unsigned long sparc_type_code PARAMS ((tree));
|
||||
|
@ -5244,13 +5244,12 @@ sparc_builtin_saveregs ()
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
|
||||
void
|
||||
sparc_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
sparc_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg;
|
||||
{
|
||||
nextarg = expand_builtin_saveregs ();
|
||||
std_expand_builtin_va_start (1, valist, nextarg);
|
||||
std_expand_builtin_va_start (valist, nextarg);
|
||||
}
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
|
@ -1912,8 +1912,8 @@ do { \
|
||||
#define EXPAND_BUILTIN_SAVEREGS() sparc_builtin_saveregs ()
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
sparc_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
sparc_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
|
||||
|
@ -41,7 +41,7 @@ extern tree xstormy16_build_va_list PARAMS ((void));
|
||||
#endif
|
||||
|
||||
#if defined (TREE_CODE) && defined (RTX_CODE)
|
||||
extern void xstormy16_expand_builtin_va_start PARAMS ((int, tree, rtx));
|
||||
extern void xstormy16_expand_builtin_va_start PARAMS ((tree, rtx));
|
||||
extern rtx xstormy16_expand_builtin_va_arg PARAMS ((tree, tree));
|
||||
extern void xstormy16_initialize_trampoline PARAMS ((rtx, rtx, rtx));
|
||||
extern rtx xstormy16_function_value PARAMS ((tree, tree));
|
||||
|
@ -1175,8 +1175,7 @@ xstormy16_build_va_list ()
|
||||
variable to initialize. NEXTARG is the machine independent notion of the
|
||||
'next' argument after the variable arguments. */
|
||||
void
|
||||
xstormy16_expand_builtin_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
xstormy16_expand_builtin_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg ATTRIBUTE_UNUSED;
|
||||
{
|
||||
|
@ -1729,8 +1729,8 @@ enum reg_class
|
||||
variable to initialize. NEXTARG is the machine independent notion of the
|
||||
'next' argument after the variable arguments. If not defined, a standard
|
||||
implementation will be defined that works for arguments passed on the stack. */
|
||||
#define EXPAND_BUILTIN_VA_START(STDARG_P, VALIST, NEXTARG) \
|
||||
xstormy16_expand_builtin_va_start (STDARG_P, VALIST, NEXTARG)
|
||||
#define EXPAND_BUILTIN_VA_START(VALIST, NEXTARG) \
|
||||
xstormy16_expand_builtin_va_start (VALIST, NEXTARG)
|
||||
|
||||
/* Implement the stdarg/varargs va_arg macro. VALIST is the variable of type
|
||||
va_list as a tree, TYPE is the type passed to va_arg. */
|
||||
|
@ -77,7 +77,7 @@ extern char * xtensa_emit_call PARAMS ((int, rtx *));
|
||||
|
||||
#ifdef TREE_CODE
|
||||
extern void init_cumulative_args PARAMS ((CUMULATIVE_ARGS *, tree, rtx));
|
||||
extern void xtensa_va_start PARAMS ((int, tree, rtx));
|
||||
extern void xtensa_va_start PARAMS ((tree, rtx));
|
||||
extern rtx xtensa_va_arg PARAMS ((tree, tree));
|
||||
#endif /* TREE_CODE */
|
||||
|
||||
|
@ -2393,8 +2393,7 @@ xtensa_builtin_saveregs ()
|
||||
current function to fill in an initial va_list. */
|
||||
|
||||
void
|
||||
xtensa_va_start (stdarg_p, valist, nextarg)
|
||||
int stdarg_p ATTRIBUTE_UNUSED;
|
||||
xtensa_va_start (valist, nextarg)
|
||||
tree valist;
|
||||
rtx nextarg ATTRIBUTE_UNUSED;
|
||||
{
|
||||
|
@ -1035,8 +1035,8 @@ typedef struct xtensa_args {
|
||||
xtensa_builtin_saveregs
|
||||
|
||||
/* Implement `va_start' for varargs and stdarg. */
|
||||
#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
|
||||
xtensa_va_start (stdarg, valist, nextarg)
|
||||
#define EXPAND_BUILTIN_VA_START(valist, nextarg) \
|
||||
xtensa_va_start (valist, nextarg)
|
||||
|
||||
/* Implement `va_arg'. */
|
||||
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
|
||||
|
@ -341,7 +341,7 @@ extern rtx gen_cond_trap PARAMS ((enum rtx_code, rtx, rtx, rtx));
|
||||
|
||||
/* Functions from builtins.c: */
|
||||
extern rtx expand_builtin PARAMS ((tree, rtx, rtx, enum machine_mode, int));
|
||||
extern void std_expand_builtin_va_start PARAMS ((int, tree, rtx));
|
||||
extern void std_expand_builtin_va_start PARAMS ((tree, rtx));
|
||||
extern rtx std_expand_builtin_va_arg PARAMS ((tree, tree));
|
||||
extern rtx expand_builtin_va_arg PARAMS ((tree, tree));
|
||||
extern void default_init_builtins PARAMS ((void));
|
||||
|
Loading…
x
Reference in New Issue
Block a user