1 /* { dg-do compile { target vect_int } } */
2 /* { dg-additional-options "-fopt-info-vec-all -O3" } */
4 extern void accumulate (int x
, int *a
);
6 int test_missing_function_defn (int *arr
, int n
) /* { dg-note "5: vectorized 0 loops in function" } */
7 /* { dg-prune-output "note: " } as we're not interested in matching any further
11 for (int i
= 0; i
< n
; ++i
) /* { dg-missed "21: couldn't vectorize loop" } */
12 accumulate (arr
[i
], &sum
); /* { dg-missed "5: statement clobbers memory: accumulate \\(.*\\);" } */