modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/BUG21.c (about)

     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  Nase ()
    11  {
    12  	int i, j;
    13  	FOO *foop;
    14  	BAR *barp;
    15  
    16  	for (i = 0; i < 2; i++) {
    17  		foop = &barp->b1[i];
    18  		for (j = 0; j < foop->f1; j++) {
    19  			/* dummy() */;		/* put it in and it works. */
    20  		}
    21  	}
    22  }