1 /* { dg-xfail-if "can cause stack underflow" { nios2-*-* } } */ 2 /* { dg-require-effective-target untyped_assembly } */ 3 #define INTEGER_ARG 5 4 5 extern void abort(void); 6 foo(int arg)7static void foo(int arg) 8 { 9 if (arg != INTEGER_ARG) 10 abort(); 11 } 12 bar(int arg)13static void bar(int arg) 14 { 15 foo(arg); 16 __builtin_apply(foo, __builtin_apply_args(), 16); 17 } 18 main(void)19int main(void) 20 { 21 bar(INTEGER_ARG); 22 23 return 0; 24 } 25