+2008-06-09 Andy Hutchinson <hutchinsonandy@aim.com>
+
+ PR testsuite/36285
+ * gcc.dg/compat/struct-return-10_y.c: Remove test_va.
+ * gcc.dg/compat/vector-defs.h: Add check for availability of 8 byte
+ double.
+ * gcc.dg/compat/struct-layout-1_test.h: Change bitfield to match
+ integer size.
+
2008-06-09 Joseph Myers <joseph@codesourcery.com>
* gcc.dg/pr34856.c: Condition use of -maltivec on
+#if (__SIZEOF_INT__ >= 4)
T(0,enum E2 a:31;,B(0,a,e2_m1,e2_0))
+#else
+T(0,enum E2 a:15;,B(0,a,e2_m1,e2_0))
+#endif
#include "compat-common.h"
-#ifdef SKIP_VA
-const int test_va = 0;
-#else
-const int test_va = 1;
-#endif
#include "fp2-struct-defs.h"
#include "fp2-struct-init.h"
int i; \
TYPE rslt; \
va_list ap; \
- if (test_va) \
+ if (1) \
{ \
va_start (ap, n); \
for (i = 0; i < n; i++) \
typedef int __attribute__((mode(SI))) si;
typedef int __attribute__((mode(DI))) di;
typedef float __attribute__((mode(SF))) sf;
+#if ((__SIZEOF_DOUBLE__ >= 8) || (__SIZEOF_LONG_DOUBLE__ >= 8))
typedef float __attribute__((mode(DF))) df;
+#else
+typedef float __attribute__((mode(SF))) df;
+#endif
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 5)