Debian Codegraph @

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

raw
1 typedef struct {
2 int knock_on_wood; /* leave it out and it works. */
3 int f1;
4 } FOO;
5
6 typedef struct {
7 FOO *b1;
8 } BAR;
9
10 void
11 Nase (void)
12 {
13 int i, j;
14 FOO *foop;
15 BAR *barp;
16
17 for (i = 0; i < 2; i++) {
18 foop = &barp->b1[i];
19 for (j = 0; j < foop->f1; j++) {
20 /* dummy() */; /* put it in and it works. */
21 }
22 }
23 }