PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / sse-vect-types.c
blobac4ece400eead2880668632f9bfd4c97dd14e512
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -msse2" } */
4 #include <xmmintrin.h>
6 __m128d foo1(__m128d z, __m128d a, int N) {
7 int i;
8 for (i=0; i<N; i++) {
9 a = _mm_add_ps(z, a); /* { dg-error "incompatible type" } */
11 return a;
13 /* { dg-message "note: expected '.*'.* but argument is of type '.*'" "note: expected" { target *-*-* } 0 } */