diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/compat/struct-layout-1.h | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/struct-layout-1.h | 5 |
3 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4870ee4fa51..791ecc9596e 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 328c83b91f3..69c490f7898 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 2891efbff3c..decc6769421 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 |