1 /* { dg-require-effective-target indirect_calls } */ 2 3 typedef long __kernel_time_t; 4 typedef __kernel_time_t time_t; time2(void (* const (funcp)(time_t)),const long offset,int * const okayp)5time2( 6 void (* const (funcp)(time_t)), 7 const long offset, int * const okayp) 8 { 9 register int bits; 10 time_t t; 11 for (bits = 0, t = 1; t > 0; ++bits, t <<= 1) 12 ; 13 t = (t < 0) ? 0 : ((time_t) 1 << bits); 14 for ( ; ; ) { 15 (*funcp)((time_t)&t); 16 } 17 } 18