1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
3 /* { dg-additional-options "-std=c++11 -O3 -fopt-info-vec-optimized -fdump-tree-original -fdump-tree-gimple" } */
6 /* Testing whether #pragma ivdep is working. */
10 template<class T
, class T2
>
11 void Loop(T
*b
, T2 c
) {
18 void foo(std::vector
<int> *ar
, int *b
) {
19 Loop
<std::vector
<int>, int*>(ar
, b
);
22 /* { dg-message "loop vectorized" "" { target *-*-* } 0 } */
23 /* FIXME: dg-bogus " version\[^\n\r]* alias" "" { target *-*-* } 0 */
24 /* { dg-final { cleanup-tree-dump "vect" } } */
26 /* { dg-final { scan-tree-dump-times "ANNOTATE_EXPR " 1 "original" } } */
27 /* { dg-final { cleanup-tree-dump "original" } } */
28 /* { dg-final { scan-tree-dump-times "ANNOTATE " 1 "gimple" } } */
29 /* { dg-final { cleanup-tree-dump "gimple" } } */