1 /* { dg-do compile } */
2 /* { dg-options "-ftree-loop-distribute-patterns" } */
3 
foo(volatile int * p,int n)4 void foo (volatile int *p, int n)
5 {
6   int i;
7   for (i = 0; i < n; ++i)
8     p[i] = 0;
9 }
10 
11 /* { dg-final { scan-assembler-not "memset" } } */
12