(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tree-ssa/
ifc-6.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-c -O2 -ftree-vectorize" { target *-*-* } } */
       3  
       4  static int x;
       5  void
       6  foo (int n, int *A)
       7  {
       8    int i;
       9    for (i = 0; i < n; i++)
      10      {
      11        if (A[i])
      12  	x = 2;
      13        if (A[i + 1])
      14  	x = 1;
      15      }
      16  }