re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ifc-3.c
1 /* PR 20994 */
2 /* { dg-do compile } */
3 int foo(double* p, double* q)
4 {
5 int i=0;
6
7 for (; q!=p; ++q)
8 if (*q)
9 ++i;
10
11 return i;
12 }