2 /* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have args in registers." { "avr-*-*" } { "*" } { "" } } */
3 /* { dg-skip-if "Variadic funcs use Base AAPCS. Normal funcs use VFP variant." { "arm*-*-*" } { "-mfloat-abi=hard" } { "" } } */
6 /* Origin: <pierre.nguyen-tuong@asim.lip6.fr> */
8 /* Verify that __builtin_apply behaves correctly on targets
9 with pre-pushed arguments (e.g. SPARC). */
15 extern void abort(void);
17 void foo(char *name, double d, double e, double f, int g)
23 void bar(char *name, ...)
25 __builtin_apply(foo, __builtin_apply_args(), 64);
30 bar("eeee", 5.444567, 8.90765, 4.567789, INTEGER_ARG);