1 /* PR optimization/8334 */
2 /* Verify that GCC produces valid operands
3 after simplifying an addition. */
5 void foo(int m
, int n
, double *f
)
9 for (j
= 0; j
< n
; j
++) {
10 for (i
= k
; i
< m
; i
++) {
11 f
[i
] = (double) (i
* j
);
12 f
[i
+ j
] = (double) ((i
+ 1) * j
);