aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-02-09 13:50:15 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-02-09 13:50:15 +0000
commit4a799f3d0d1e0df351710114be061459c76bdc0e (patch)
tree60223083f5b13eacd0935cfd1f883dfa0e12eece
parent7fc564b7d1d0b7650abae9e0609fb659bcbcb2d3 (diff)
downloadgcc-4a799f3d0d1e0df351710114be061459c76bdc0e.zip
gcc-4a799f3d0d1e0df351710114be061459c76bdc0e.tar.gz
gcc-4a799f3d0d1e0df351710114be061459c76bdc0e.tar.bz2
struct-layout-1.h (v16sf): Define to v4sf on uClinux targets.
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
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/g++.dg/compat/struct-layout-1.h5
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-layout-1.h5
3 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 4870ee4..791ecc9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,12 @@
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
procedure.
* gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: XFAIL on
diff --git a/gcc/testsuite/g++.dg/compat/struct-layout-1.h b/gcc/testsuite/g++.dg/compat/struct-layout-1.h
index 328c83b..69c490f 100644
--- a/gcc/testsuite/g++.dg/compat/struct-layout-1.h
+++ b/gcc/testsuite/g++.dg/compat/struct-layout-1.h
@@ -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
diff --git a/gcc/testsuite/gcc.dg/compat/struct-layout-1.h b/gcc/testsuite/gcc.dg/compat/struct-layout-1.h
index 2891efb..decc6769 100644
--- a/gcc/testsuite/gcc.dg/compat/struct-layout-1.h
+++ b/gcc/testsuite/gcc.dg/compat/struct-layout-1.h
@@ -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