(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr25481.c
       1  /* { dg-do compile } */
       2  
       3  struct s {
       4    int *blah;
       5  };
       6  
       7  static struct s array[] = {
       8    { 0 }
       9  };
      10  
      11  void
      12  foo (struct s *p)
      13  {
      14    unsigned int n = 1;
      15    struct s *q = &array[n];
      16    while (p < q)
      17      p++;
      18  }