Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ifc-6.c
blobd7c884a735b70062895cad2974702e12b8fafbfe
1 /* { dg-do compile } */
2 /* { dg-options "-c -O2 -ftree-vectorize" { target *-*-* } } */
4 static int x;
5 void
6 foo (int n, int *A)
8 int i;
9 for (i = 0; i < n; i++)
11 if (A[i])
12 x = 2;
13 if (A[i + 1])
14 x = 1;