1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-tree-optimized" } */
10 foo (*(p
+ 32 + n
++ * 4));
11 foo (*(p
+ 16 + n
* 4));
14 /* { dg-final { scan-tree-dump-times "\\+ 144|\\, 144>" 1 "optimized" { target { int32 } } } } */
15 /* { dg-final { scan-tree-dump-times "\\+ 72|\\, 72>" 1 "optimized" { target { int16 } } } } */
16 /* { dg-final { scan-tree-dump-times "\\+ 96|\\, 96>" 1 "optimized" { target { int32 } } } } */
17 /* { dg-final { scan-tree-dump-times "\\+ 48|\\, 48>" 1 "optimized" { target { int16 } } } } */