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

     1  extern char buf1[10];
     2  extern char buf2[10];
     3  extern void b(int i, int j, int w);
     4  
     5  void a() {
     6      int i,j;
     7      char *p;
     8      int w;
     9  
    10      p = buf1;
    11      for(j = 0;j < 10; j++) {
    12          for(i = 0;i < 10; i++) {
    13              w = *p;
    14              if(w != 1) {
    15                  w = buf2[p - buf1];
    16                  b(i*2+1, j, w);
    17              }
    18              p++;
    19          }
    20      }
    21  }