summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-14 09:47:23 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-14 09:47:23 +0000
commitaf4067fcb4c370dfab9fca5aef88ece681be2651 (patch)
tree5770609ae6244c79a16d64832b55c25dc35bc8a4 /gcc/testsuite/gcc.dg/compat
parent75bfea25594a1afcd79d191d4ba3a4508552520d (diff)
downloadgcc-af4067fcb4c370dfab9fca5aef88ece681be2651.tar.gz
Add missing commit part:
* gcc.dg/compat/struct-layout-1.h: Do not include <mmintrin.h> and <xmmintrin.h>, define __m64 and __m128 directly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141852 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat')
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-layout-1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/struct-layout-1.h b/gcc/testsuite/gcc.dg/compat/struct-layout-1.h
index 8426787b68f..82ac9f82cc2 100644
--- a/gcc/testsuite/gcc.dg/compat/struct-layout-1.h
+++ b/gcc/testsuite/gcc.dg/compat/struct-layout-1.h
@@ -44,12 +44,12 @@ typedef int u2df;
#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