PR target/18582
* testsuite/gcc.dg/torture/pr18582-1.c: New test.
From-SVN: r102690
+2005-08-03 Richard Sandiford <richard@codesourcery.com>
+
+ PR target/18582
+ * testsuite/gcc.dg/torture/pr18582-1.c: New test.
+
2005-08-03 Jan Hubicka <jh@suse.cz>
* update-conroll.c: New testcase.
--- /dev/null
+/* { dg-do compile { target i?86-*-* } } */
+/* { dg-options "-msse3" } */
+typedef char v16qi __attribute__((vector_size (16)));
+typedef float v4sf __attribute__((vector_size (16)));
+typedef double v2df __attribute__((vector_size (16)));
+
+extern char ca[];
+extern float fa[];
+extern double da[];
+
+extern v16qi cva[];
+extern v4sf fva[];
+extern v2df dva[];
+
+void
+foo (void)
+{
+ cva[0] = __builtin_ia32_loaddqu (ca);
+ cva[0] = __builtin_ia32_lddqu (ca);
+
+ fva[0] = __builtin_ia32_loadups (fa);
+
+ dva[0] = __builtin_ia32_loadupd (da);
+}