Fix warnings occured during profiledboostrap on
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 920428-6.c
blobe43af7ed3a76b02167c23e7ee5fc2a95e08df786
1 typedef struct x
3 struct x *type;
4 struct x *chain;
5 struct x *value;
6 } *tree;
8 int
9 func (new, old)
10 register tree new, old;
12 if (old->type == 0 || new->type == 0)
14 register tree t = old->type;
15 if (t == 0)
16 t = new->type;
17 for (; t; t = t->chain )
18 if (t->value)
19 return 1;
21 return 0;