1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_simd_clones } */
4 int __attribute__ ((__simd__
, const)) fn (int);
6 void test (int * __restrict__ a
, int * __restrict__ b
, int n
)
8 for (int i
= 0; i
< n
; ++i
)
19 /* { dg-final { scan-tree-dump-not {loop contains function calls or data references} "vect" } } */
21 /* The LTO test produces two dump files and we scan the wrong one. */
22 /* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */