blob: 438db88204385ba3ca19a3c8d3213b7a0a88f8cd [file] [log] [blame]
/* { 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 <\[pb\]" 1 "ivopts"} } */