rt_gccstream/gcc/testsuite/gcc.c-torture/compile/991213-2.c

16 lines
324 B
C

typedef long __kernel_time_t;
typedef __kernel_time_t time_t;
time2(
void (* const (funcp)(time_t)),
const long offset, int * const okayp)
{
register int bits;
time_t t;
for (bits = 0, t = 1; t > 0; ++bits, t <<= 1)
;
t = (t < 0) ? 0 : ((time_t) 1 << bits);
for ( ; ; ) {
(*funcp)((time_t)&t);
}
}