1 /* x2 and x3 will be strength-reduced based on the same statement
2 but with different variables as the stride. Note that they will
3 be strength-reduced by introducing an initializer 4*s which is
4 cheaper than 5*s; similar for 4*c and 5*c. */
6 /* { dg-do compile } */
7 /* { dg-options "-O3 -fdump-tree-optimized" } */
12 int a2
, a3
, x1
, x2
, x3
, x
;
23 /* { dg-final { scan-tree-dump-times " \\* 4" 2 "optimized" } } */
24 /* { dg-final { scan-tree-dump-times " \\* 5" 0 "optimized" } } */
25 /* { dg-final { cleanup-tree-dump "optimized" } } */