struct-layout-1.h (v16sf): Define to v4sf on uClinux targets.
authorRichard Sandiford <richard@codesourcery.com>
Fri, 9 Feb 2007 13:50:15 +0000 (13:50 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 9 Feb 2007 13:50:15 +0000 (13:50 +0000)
gcc/testsuite/
* gcc.dg/compat/struct-layout-1.h (v16sf): Define to v4sf on
uClinux targets.
(u16sf): Likewise u4sf.
* g++.dg/compat/struct-layout-1.h: Likewise.

From-SVN: r121745

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/compat/struct-layout-1.h
gcc/testsuite/gcc.dg/compat/struct-layout-1.h

index 4870ee4fa516710edf3d44b45d7d11779a747181..791ecc9596e01f861d23789c6d713a89d0ad7f41 100644 (file)
@@ -1,3 +1,10 @@
+2007-02-09  Richard Sandiford  <richard@codesourcery.com>
+
+       * gcc.dg/compat/struct-layout-1.h (v16sf): Define to v4sf on
+       uClinux targets.
+       (u16sf): Likewise u4sf.
+       * g++.dg/compat/struct-layout-1.h: Likewise.
+
 2007-02-09  Richard Sandiford  <richard@codesourcery.com>
 
        * lib/target-supports.exp (check_effective_target_coldfire_fpu): New
index 328c83b91f332757b50927d70ad6278da1704564..69c490f78987a35bd574f53ecfaa3d7fb4ba94da 100644 (file)
@@ -57,6 +57,11 @@ typedef int __m128;
 typedef int __m64;
 typedef int __m128;
 #endif
+#if defined (__uClinux__)
+/* The maximum achievable alignment on uClinux is usually 16 bytes.  */
+#define v16sf v4sf
+#define u16sf u4sf
+#endif
 
 #define FLDS_MAX       32
 extern struct Info
index 2891efbff3c9cc63cd5b5e048e7b05eb2fd833ad..decc67694212c46ce5bd6a0cf7e325ea1d6767b7 100644 (file)
@@ -57,6 +57,11 @@ typedef int __m128;
 typedef int __m64;
 typedef int __m128;
 #endif
+#if defined (__uClinux__)
+/* The maximum achievable alignment on uClinux is usually 16 bytes.  */
+#define v16sf v4sf
+#define u16sf u4sf
+#endif
 
 #define FLDS_MAX       32
 extern struct Info