1 /* PR middle-end/38338 */ 2 /* { dg-options "-O0" } */ 3 /* { dg-options "-O0 -fPIC" { target fpic } } */ 4 5 typedef void (*fnp) (void); 6 7 static char foo(char x)8foo (char x) 9 { 10 return x; 11 } 12 13 static void * bar(char x)14bar (char x) 15 { 16 void *args = __builtin_apply_args (); 17 return __builtin_apply ((fnp) foo, args, sizeof (void *)); 18 } 19