Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr26213.c

raw
1 /* { dg-additional-options "-fpermissive" } */
2
3 void
4 xnanosleep (_Bool overflow)
5 {
6 struct { int tv_nsec; } ts_sleep;
7 if (0 <= ts_sleep.tv_nsec)
8 overflow |= 1;
9
10 for (;;)
11 {
12 if (overflow)
13 ts_sleep.tv_nsec = 0;
14 if (foo (ts_sleep))
15 break;
16 }
17 }