(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
compile/
20000629-1.c
       1  struct a
       2  {
       3    struct a * x;
       4  };
       5  
       6  void
       7  foo (struct a * b)
       8  {
       9    int i;
      10  
      11    for (i = 0; i < 1000; i++)
      12      {
      13        b->x = b;
      14        b++;
      15      }
      16  }
      17  
      18  void
      19  bar (struct a * b)
      20  {
      21    int i;
      22  
      23    for (i = 0; i < 1000; i++)
      24      {
      25        b->x = b;
      26        b--;
      27      }
      28  }