* gcc.dg/compat/struct-layout-1.h: Do not include <mmintrin.h> and
<xmmintrin.h>, define __m64 and __m128 directly.
From-SVN: r141852
* g++.dg/compat/struct-layout-1_generate.c (dg-options): Add
-fno-common for *-*-darwin* *-*-mingw32* *-*-cygwin* targets.
+ * gcc.dg/compat/struct-layout-1.h: Do not include <mmintrin.h> and
+ <xmmintrin.h>, define __m64 and __m128 directly.
+
2008-11-13 Olivier Hainque <hainque@adacore.com>
* gnat.dg/test_raise_from_pure.adb: Adjust to match revised intent.
#endif
#if (defined __i386__ || defined __x86_64__) && !defined SKIP_ATTRIBUTE
# ifdef __MMX__
-# include <mmintrin.h>
+typedef int __m64 __attribute__ ((__vector_size__ (8)));
# else
typedef int __m64;
# endif
# ifdef __SSE__
-# include <xmmintrin.h>
+typedef float __m128 __attribute__ ((__vector_size__ (16)));
# else
typedef int __m128;
# endif