[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / ivopts-2.C
blob438db88204385ba3ca19a3c8d3213b7a0a88f8cd
1 /* { dg-do compile { target { i?86-*-* x86_64-*-*  } } } */
2 /* { dg-options "-O2 -fdump-tree-ivopts-details" } */
4 void test (int *b, int *e, int stride)
5   {
6     for (int *p = b; p != e; p += stride)
7       *p = 1;
8   }
10 /* { dg-final { scan-tree-dump-times "PHI <\[pb\]" 1 "ivopts"} } */