(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
pr107699.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O -fdump-tree-forwprop1" } */
       3  
       4  struct { int data[16]; } x;
       5  
       6  int foo (int n)
       7  {
       8    int *p = x.data + n;
       9    /* Should simplify this to n * 4 != 0.  */
      10    if ((void *)&x != (void *)p)
      11      return 1;
      12    return 0;
      13  }
      14  
      15  /* { dg-final { scan-tree-dump " != 0" "forwprop1" } } */