1 /* { dg-require-effective-target vect_float_strict } */
9 __attribute__ ((noinline
))
13 float b
[N
] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
14 float c
[N
] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
18 for (i
= 0; i
< N
; i
++) {
19 diff
+= (b
[i
] - c
[i
]);
36 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
37 /* { dg-final { scan-tree-dump-times {using an in-order \(fold-left\) reduction} 1 "vect" } } */