2 /* { dg-options "-O" } */
4 /* Verify that the 6th complex floating-point argument is
5 correctly passed as unnamed argument on SPARC64. */
7 extern void abort(void);
9 void foo(long arg1, long arg2, long arg3, long arg4, long arg5, ...)
14 __builtin_va_start(ap, arg5);
15 cf = __builtin_va_arg(ap, _Complex float);
18 if (__imag__ cf != 2.0f)
22 int bar(long arg1, long arg2, long arg3, long arg4, long arg5, _Complex float arg6)
24 foo(arg1, arg2, arg3, arg4, arg5, arg6);
30 return bar(0, 0, 0, 0, 0, 2.0fi);