(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr102892-1.c
       1  /* { dg-do link } */
       2  /* { dg-options "-O3" } */
       3  /* { dg-additional-options "-fno-PIC" { target ia32 } } */
       4  /* { dg-additional-sources "pr102892-2.c" } */
       5  
       6  static long b[2][1] = {0};
       7  
       8  extern void bar(void);
       9  extern void foo(void);
      10  
      11  int
      12  main ()
      13  {
      14    long c = 0;
      15    for (long a = 0; a < 1; ++a)
      16      for (; c <= 1; c++) {
      17        bar();
      18        if (1 == b[c][0])
      19  	foo();
      20      }
      21    return 0;
      22  }