2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
6 foo (volatile int *p
, int q
)
8 *(volatile int *)p
= 0;
9 *(p
+ (q
- q
) + 1) = 0;
10 *(p
+ (q
- q
) + 2) = 0;
11 *(p
+ (q
- q
) + 3) = 0;
14 /* { dg-final { scan-tree-dump-times " ={v} " 4 "optimized" } } */