1 /* { dg-add-options vect_early_break } */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target vect_early_break } */
4 /* { dg-require-effective-target vect_int } */
6 /* { dg-additional-options "-Ofast" } */
8 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target { ! "arm*-*-*" } } } } */
13 complex double vect_a
[N
];
14 complex double vect_b
[N
];
16 complex double test4(complex double x
)
18 complex double ret
= 0;
19 for (int i
= 0; i
< N
; i
++)
24 vect_a
[i
] += x
* vect_b
[i
];