2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20030125-1.c
blob656304e2d67b10c0354013dd6de027bf6c6ce850
1 int count;
3 int func(int *valp) {
4 int val, locked = 0;
6 while ((val = *valp) != 0) {
7 if (count) {
8 if (count)
9 locked = 1;
10 else
11 locked = 1;
13 if (!locked)
14 continue;
17 if (!count)
18 count--;
20 break;
23 return val;