summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/sse-5.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/sse-5.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/sse-5.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/sse-5.c b/gcc/testsuite/gcc.target/i386/sse-5.c
new file mode 100644
index 00000000000..ced075ae97d
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/sse-5.c
@@ -0,0 +1,10 @@
+/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
+/* { dg-require-effective-target ilp32 } */
+/* { dg-options "-Winline -O2 -march=i386" } */
+
+typedef double v2df __attribute__ ((vector_size (16)));
+v2df p;
+q(v2df t)
+{ /* { dg-warning "SSE" "" } */
+ p=t;
+}