2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / intrinsics_6.c
blobe58673980638b2ae90ad891906decee599627944
1 /* Test case to check if intrinsics and function specific target
2 optimizations work together. Check if an error is issued in
3 -O0 mode when foo calls an intrinsic without the right target
4 attribute. */
6 /* { dg-do compile } */
7 /* { dg-options "-O0 -msse -mno-sse4.1 -mno-sse4.2" } */
9 #include <smmintrin.h>
11 __m128i foo(__m128i *V)
13 return _mm_stream_load_si128(V); /* { dg-message "called from here" } */
16 /* { dg-prune-output ".*inlining failed.*" } */