blob: 908299d98e89d33a55e76d91f376114e0b7c5bb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
/* { dg-options "-O2 -fdump-tree-ivopts-details" } */
void test (int *b, int *e, int stride)
{
for (int *p = b; p != e; p += stride)
*p = 1;
}
/* { dg-final { scan-tree-dump-times "PHI <p" 1 "ivopts"} } */
/* { dg-final { cleanup-tree-dump "ivopts" } } */
|