Debian Codegraph @

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

raw
1 typedef struct
2 {
3 int baddr;
4 } mstruct_t;
5
6 static struct
7 {
8 unsigned int mapnum;
9 mstruct_t unused;
10 } mtab;
11
12 static mstruct_t *mactab = &mtab.unused;
13
14 int
15 main(void)
16 {
17 int i;
18 int addr;
19
20 for (i=1; i <= mtab.mapnum; i++)
21 if (addr < mactab[i].baddr)
22 break;
23 return 0;
24 }
25