annotate gcc/testsuite/gcc.c-torture/compile/991213-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 typedef long __kernel_time_t;
kono
parents:
diff changeset
2 typedef __kernel_time_t time_t;
kono
parents:
diff changeset
3 time2(
kono
parents:
diff changeset
4 void (* const (funcp)(time_t)),
kono
parents:
diff changeset
5 const long offset, int * const okayp)
kono
parents:
diff changeset
6 {
kono
parents:
diff changeset
7 register int bits;
kono
parents:
diff changeset
8 time_t t;
kono
parents:
diff changeset
9 for (bits = 0, t = 1; t > 0; ++bits, t <<= 1)
kono
parents:
diff changeset
10 ;
kono
parents:
diff changeset
11 t = (t < 0) ? 0 : ((time_t) 1 << bits);
kono
parents:
diff changeset
12 for ( ; ; ) {
kono
parents:
diff changeset
13 (*funcp)((time_t)&t);
kono
parents:
diff changeset
14 }
kono
parents:
diff changeset
15 }