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_float } */
9 complex double vect_a
[N
];
10 complex double vect_b
[N
];
12 complex double test4(complex double x
)
14 complex double ret
= 0;
15 for (int i
= 0; i
< N
; i
++)
20 vect_a
[i
] += x
* vect_b
[i
];
26 /* At -O2 we can't currently vectorize this because of the libcalls not being
28 /* { dg-final { scan-tree-dump "vectorized 1 loops in function" "vect" { xfail *-*-* } } } */