LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / nodump-vect-opt-info-1.c
blob0b14b8eac13608e56fc2757a598a0c37e673cb4a
1 /* { dg-do compile { target vect_int } } */
2 /* { dg-additional-options "-std=c99 -fopt-info -O3" } */
4 void
5 vadd (int *dst, int *op1, int *op2, int count)
7 /* { dg-message "loop vectorized" "" { target *-*-* } .+2 } */
8 /* { dg-message "loop versioned for vectorization because of possible aliasing" "" { target *-*-* } .+1 } */
9 for (int i = 0; i < count; ++i)
10 dst[i] = op1[i] + op2[i];