+2004-04-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gcc.dg/compat/struct-by-value-5a_main.c,
+ gcc.dg/compat/struct-by-value-5b_main.c: New files.
+ * gcc.dg/compat/struct-by-value-5_main.c: Delete.
+ * gcc.dg/compat/struct-by-value-5a_x.c,
+ gcc.dg/compat/struct-by-value-5b_x.c: New, split out from
+ gcc.dg/compat/struct-by-value-5_x.c.
+ * gcc.dg/compat/struct-by-value-5a_y.c,
+ gcc.dg/compat/struct-by-value-5b_y.c: New, split out from
+ gcc.dg/compat/struct-by-value-5_y.c.
+
+ * gcc.dg/compat/struct-by-value-6a_main.c,
+ gcc.dg/compat/struct-by-value-6b_main.c: New files.
+ * gcc.dg/compat/struct-by-value-6_main.c: Delete.
+ * gcc.dg/compat/struct-by-value-6a_x.c,
+ gcc.dg/compat/struct-by-value-6b_x.c: New, split out from
+ gcc.dg/compat/struct-by-value-6_x.c.
+ * gcc.dg/compat/struct-by-value-6a_y.c,
+ gcc.dg/compat/struct-by-value-6b_y.c: New, split out from
+ gcc.dg/compat/struct-by-value-6_y.c.
+
+ * gcc.dg/compat/struct-by-value-7a_main.c,
+ gcc.dg/compat/struct-by-value-7b_main.c: New files.
+ * gcc.dg/compat/struct-by-value-7_main.c: Delete.
+ * gcc.dg/compat/struct-by-value-7a_x.c,
+ gcc.dg/compat/struct-by-value-7b_x.c: New, split out from
+ gcc.dg/compat/struct-by-value-7_x.c.
+ * gcc.dg/compat/struct-by-value-7a_y.c,
+ gcc.dg/compat/struct-by-value-7b_y.c: New, split out from
+ gcc.dg/compat/struct-by-value-7_y.c.
+
2004-04-06 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/i386-sse-8.c: Don't use -march=pentium3 on x86_64.
+++ /dev/null
-/* Test structures passed by value, including to a function with a
- variable-length argument lists. All struct members are float
- scalars. */
-
-extern void struct_by_value_5_x (void);
-extern void exit (int);
-int fails;
-
-int
-main ()
-{
- struct_by_value_5_x ();
- exit (0);
-}
+++ /dev/null
-#include "compat-common.h"
-
-#include "fp-struct-defs.h"
-#include "fp-struct-check.h"
-#include "fp-struct-test-by-value-x.h"
-
-DEFS(f, float)
-CHECKS(f, float)
-
-TEST(Sf1, float)
-TEST(Sf2, float)
-TEST(Sf3, float)
-TEST(Sf4, float)
-TEST(Sf5, float)
-TEST(Sf6, float)
-TEST(Sf7, float)
-TEST(Sf8, float)
-TEST(Sf9, float)
-TEST(Sf10, float)
-TEST(Sf11, float)
-TEST(Sf12, float)
-TEST(Sf13, float)
-TEST(Sf14, float)
-TEST(Sf15, float)
-TEST(Sf16, float)
-
-#undef T
-
-void
-struct_by_value_5_x ()
-{
-DEBUG_INIT
-
-#define T(TYPE, MTYPE) testit##TYPE ();
-
-T(Sf1, float)
-T(Sf2, float)
-T(Sf3, float)
-T(Sf4, float)
-T(Sf5, float)
-T(Sf6, float)
-T(Sf7, float)
-T(Sf8, float)
-T(Sf9, float)
-T(Sf10, float)
-T(Sf11, float)
-T(Sf12, float)
-T(Sf13, float)
-T(Sf14, float)
-T(Sf15, float)
-T(Sf16, float)
-
-DEBUG_FINI
-
-if (fails != 0)
- abort ();
-
-#undef T
-}
+++ /dev/null
-#include <stdarg.h>
-
-#include "compat-common.h"
-
-#ifdef SKIP_VA
-const int test_va = 0;
-#else
-const int test_va = 1;
-#endif
-
-#include "fp-struct-defs.h"
-#include "fp-struct-init.h"
-#include "fp-struct-test-by-value-y.h"
-
-DEFS(f,float)
-INITS(f, float)
-
-TEST(Sf1, float)
-TEST(Sf2, float)
-TEST(Sf3, float)
-TEST(Sf4, float)
-TEST(Sf5, float)
-TEST(Sf6, float)
-TEST(Sf7, float)
-TEST(Sf8, float)
-TEST(Sf9, float)
-TEST(Sf10, float)
-TEST(Sf11, float)
-TEST(Sf12, float)
-TEST(Sf13, float)
-TEST(Sf14, float)
-TEST(Sf15, float)
-TEST(Sf16, float)
--- /dev/null
+/* Test structures passed by value, including to a function with a
+ variable-length argument lists. All struct members are float
+ scalars. */
+
+extern void struct_by_value_5a_x (void);
+extern void exit (int);
+int fails;
+
+int
+main ()
+{
+ struct_by_value_5a_x ();
+ exit (0);
+}
--- /dev/null
+#include "compat-common.h"
+
+#include "fp-struct-defs.h"
+#include "fp-struct-check.h"
+#include "fp-struct-test-by-value-x.h"
+
+DEFS(f, float)
+CHECKS(f, float)
+
+TEST(Sf1, float)
+TEST(Sf2, float)
+TEST(Sf3, float)
+TEST(Sf4, float)
+TEST(Sf5, float)
+TEST(Sf6, float)
+TEST(Sf7, float)
+TEST(Sf8, float)
+
+#undef T
+
+void
+struct_by_value_5a_x ()
+{
+DEBUG_INIT
+
+#define T(TYPE, MTYPE) testit##TYPE ();
+
+T(Sf1, float)
+T(Sf2, float)
+T(Sf3, float)
+T(Sf4, float)
+T(Sf5, float)
+T(Sf6, float)
+T(Sf7, float)
+T(Sf8, float)
+
+DEBUG_FINI
+
+if (fails != 0)
+ abort ();
+
+#undef T
+}
--- /dev/null
+#include <stdarg.h>
+
+#include "compat-common.h"
+
+#ifdef SKIP_VA
+const int test_va = 0;
+#else
+const int test_va = 1;
+#endif
+
+#include "fp-struct-defs.h"
+#include "fp-struct-init.h"
+#include "fp-struct-test-by-value-y.h"
+
+DEFS(f,float)
+INITS(f, float)
+
+TEST(Sf1, float)
+TEST(Sf2, float)
+TEST(Sf3, float)
+TEST(Sf4, float)
+TEST(Sf5, float)
+TEST(Sf6, float)
+TEST(Sf7, float)
+TEST(Sf8, float)
--- /dev/null
+/* Test structures passed by value, including to a function with a
+ variable-length argument lists. All struct members are float
+ scalars. */
+
+extern void struct_by_value_5b_x (void);
+extern void exit (int);
+int fails;
+
+int
+main ()
+{
+ struct_by_value_5b_x ();
+ exit (0);
+}
--- /dev/null
+#include "compat-common.h"
+
+#include "fp-struct-defs.h"
+#include "fp-struct-check.h"
+#include "fp-struct-test-by-value-x.h"
+
+DEFS(f, float)
+CHECKS(f, float)
+
+TEST(Sf9, float)
+TEST(Sf10, float)
+TEST(Sf11, float)
+TEST(Sf12, float)
+TEST(Sf13, float)
+TEST(Sf14, float)
+TEST(Sf15, float)
+TEST(Sf16, float)
+
+#undef T
+
+void
+struct_by_value_5b_x ()
+{
+DEBUG_INIT
+
+#define T(TYPE, MTYPE) testit##TYPE ();
+
+T(Sf9, float)
+T(Sf10, float)
+T(Sf11, float)
+T(Sf12, float)
+T(Sf13, float)
+T(Sf14, float)
+T(Sf15, float)
+T(Sf16, float)
+
+DEBUG_FINI
+
+if (fails != 0)
+ abort ();
+
+#undef T
+}
--- /dev/null
+#include <stdarg.h>
+
+#include "compat-common.h"
+
+#ifdef SKIP_VA
+const int test_va = 0;
+#else
+const int test_va = 1;
+#endif
+
+#include "fp-struct-defs.h"
+#include "fp-struct-init.h"
+#include "fp-struct-test-by-value-y.h"
+
+DEFS(f,float)
+INITS(f, float)
+
+TEST(Sf9, float)
+TEST(Sf10, float)
+TEST(Sf11, float)
+TEST(Sf12, float)
+TEST(Sf13, float)
+TEST(Sf14, float)
+TEST(Sf15, float)
+TEST(Sf16, float)
+++ /dev/null
-/* Test structures passed by value, including to a function with a
- variable-length argument lists. All struct members are double
- scalars. */
-
-extern void struct_by_value_6_x (void);
-extern void exit (int);
-int fails;
-
-int
-main ()
-{
- struct_by_value_6_x ();
- exit (0);
-}
+++ /dev/null
-#include "compat-common.h"
-
-#include "fp-struct-defs.h"
-#include "fp-struct-check.h"
-#include "fp-struct-test-by-value-x.h"
-
-DEFS(d, double)
-CHECKS(d, double)
-
-TEST(Sd1, double)
-TEST(Sd2, double)
-TEST(Sd3, double)
-TEST(Sd4, double)
-TEST(Sd5, double)
-TEST(Sd6, double)
-TEST(Sd7, double)
-TEST(Sd8, double)
-TEST(Sd9, double)
-TEST(Sd10, double)
-TEST(Sd11, double)
-TEST(Sd12, double)
-TEST(Sd13, double)
-TEST(Sd14, double)
-TEST(Sd15, double)
-TEST(Sd16, double)
-
-#undef T
-
-void
-struct_by_value_6_x ()
-{
-DEBUG_INIT
-
-#define T(TYPE, MTYPE) testit##TYPE ();
-
-T(Sd1, double)
-T(Sd2, double)
-T(Sd3, double)
-T(Sd4, double)
-T(Sd5, double)
-T(Sd6, double)
-T(Sd7, double)
-T(Sd8, double)
-T(Sd9, double)
-T(Sd10, double)
-T(Sd11, double)
-T(Sd12, double)
-T(Sd13, double)
-T(Sd14, double)
-T(Sd15, double)
-T(Sd16, double)
-
-DEBUG_FINI
-
-if (fails != 0)
- abort ();
-
-#undef T
-}
+++ /dev/null
-#include <stdarg.h>
-
-#include "compat-common.h"
-
-#ifdef SKIP_VA
-const int test_va = 0;
-#else
-const int test_va = 1;
-#endif
-
-#include "fp-struct-defs.h"
-#include "fp-struct-init.h"
-#include "fp-struct-test-by-value-y.h"
-
-DEFS(d, double)
-INITS(d, double)
-
-TEST(Sd1, double)
-TEST(Sd2, double)
-TEST(Sd3, double)
-TEST(Sd4, double)
-TEST(Sd5, double)
-TEST(Sd6, double)
-TEST(Sd7, double)
-TEST(Sd8, double)
-TEST(Sd9, double)
-TEST(Sd10, double)
-TEST(Sd11, double)
-TEST(Sd12, double)
-TEST(Sd13, double)
-TEST(Sd14, double)
-TEST(Sd15, double)
-TEST(Sd16, double)
--- /dev/null
+/* Test structures passed by value, including to a function with a
+ variable-length argument lists. All struct members are double
+ scalars. */
+
+extern void struct_by_value_6a_x (void);
+extern void exit (int);
+int fails;
+
+int
+main ()
+{
+ struct_by_value_6a_x ();
+ exit (0);
+}
--- /dev/null
+#include "compat-common.h"
+
+#include "fp-struct-defs.h"
+#include "fp-struct-check.h"
+#include "fp-struct-test-by-value-x.h"
+
+DEFS(d, double)
+CHECKS(d, double)
+
+TEST(Sd1, double)
+TEST(Sd2, double)
+TEST(Sd3, double)
+TEST(Sd4, double)
+TEST(Sd5, double)
+TEST(Sd6, double)
+TEST(Sd7, double)
+TEST(Sd8, double)
+
+#undef T
+
+void
+struct_by_value_6a_x ()
+{
+DEBUG_INIT
+
+#define T(TYPE, MTYPE) testit##TYPE ();
+
+T(Sd1, double)
+T(Sd2, double)
+T(Sd3, double)
+T(Sd4, double)
+T(Sd5, double)
+T(Sd6, double)
+T(Sd7, double)
+T(Sd8, double)
+
+DEBUG_FINI
+
+if (fails != 0)
+ abort ();
+
+#undef T
+}
--- /dev/null
+#include <stdarg.h>
+
+#include "compat-common.h"
+
+#ifdef SKIP_VA
+const int test_va = 0;
+#else
+const int test_va = 1;
+#endif
+
+#include "fp-struct-defs.h"
+#include "fp-struct-init.h"
+#include "fp-struct-test-by-value-y.h"
+
+DEFS(d, double)
+INITS(d, double)
+
+TEST(Sd1, double)
+TEST(Sd2, double)
+TEST(Sd3, double)
+TEST(Sd4, double)
+TEST(Sd5, double)
+TEST(Sd6, double)
+TEST(Sd7, double)
+TEST(Sd8, double)
--- /dev/null
+/* Test structures passed by value, including to a function with a
+ variable-length argument lists. All struct members are double
+ scalars. */
+
+extern void struct_by_value_6b_x (void);
+extern void exit (int);
+int fails;
+
+int
+main ()
+{
+ struct_by_value_6b_x ();
+ exit (0);
+}
--- /dev/null
+#include "compat-common.h"
+
+#include "fp-struct-defs.h"
+#include "fp-struct-check.h"
+#include "fp-struct-test-by-value-x.h"
+
+DEFS(d, double)
+CHECKS(d, double)
+
+TEST(Sd9, double)
+TEST(Sd10, double)
+TEST(Sd11, double)
+TEST(Sd12, double)
+TEST(Sd13, double)
+TEST(Sd14, double)
+TEST(Sd15, double)
+TEST(Sd16, double)
+
+#undef T
+
+void
+struct_by_value_6b_x ()
+{
+DEBUG_INIT
+
+#define T(TYPE, MTYPE) testit##TYPE ();
+
+T(Sd9, double)
+T(Sd10, double)
+T(Sd11, double)
+T(Sd12, double)
+T(Sd13, double)
+T(Sd14, double)
+T(Sd15, double)
+T(Sd16, double)
+
+DEBUG_FINI
+
+if (fails != 0)
+ abort ();
+
+#undef T
+}
--- /dev/null
+#include <stdarg.h>
+
+#include "compat-common.h"
+
+#ifdef SKIP_VA
+const int test_va = 0;
+#else
+const int test_va = 1;
+#endif
+
+#include "fp-struct-defs.h"
+#include "fp-struct-init.h"
+#include "fp-struct-test-by-value-y.h"
+
+DEFS(d, double)
+INITS(d, double)
+
+TEST(Sd9, double)
+TEST(Sd10, double)
+TEST(Sd11, double)
+TEST(Sd12, double)
+TEST(Sd13, double)
+TEST(Sd14, double)
+TEST(Sd15, double)
+TEST(Sd16, double)
+++ /dev/null
-/* Test structures passed by value, including to a function with a
- variable-length argument lists. All struct members are long double
- scalars. */
-
-extern void struct_by_value_7_x (void);
-extern void exit (int);
-int fails;
-
-int
-main ()
-{
- struct_by_value_7_x ();
- exit (0);
-}
+++ /dev/null
-#include "compat-common.h"
-
-#include "fp-struct-defs.h"
-#include "fp-struct-check.h"
-#include "fp-struct-test-by-value-x.h"
-
-DEFS(ld, long double)
-CHECKS(ld, long double)
-
-TEST(Sld1, long double)
-TEST(Sld2, long double)
-TEST(Sld3, long double)
-TEST(Sld4, long double)
-TEST(Sld5, long double)
-TEST(Sld6, long double)
-TEST(Sld7, long double)
-TEST(Sld8, long double)
-TEST(Sld9, long double)
-TEST(Sld10, long double)
-TEST(Sld11, long double)
-TEST(Sld12, long double)
-TEST(Sld13, long double)
-TEST(Sld14, long double)
-TEST(Sld15, long double)
-TEST(Sld16, long double)
-
-#undef T
-
-void
-struct_by_value_7_x ()
-{
-DEBUG_INIT
-
-#define T(TYPE, MTYPE) testit##TYPE ();
-
-T(Sld1, long double)
-T(Sld2, long double)
-T(Sld3, long double)
-T(Sld4, long double)
-T(Sld5, long double)
-T(Sld6, long double)
-T(Sld7, long double)
-T(Sld8, long double)
-T(Sld9, long double)
-T(Sld10, long double)
-T(Sld11, long double)
-T(Sld12, long double)
-T(Sld13, long double)
-T(Sld14, long double)
-T(Sld15, long double)
-T(Sld16, long double)
-
-DEBUG_FINI
-
-if (fails != 0)
- abort ();
-
-#undef T
-}
+++ /dev/null
-#include <stdarg.h>
-
-#include "compat-common.h"
-
-#ifdef SKIP_VA
-const int test_va = 0;
-#else
-const int test_va = 1;
-#endif
-
-#include "fp-struct-defs.h"
-#include "fp-struct-init.h"
-#include "fp-struct-test-by-value-y.h"
-
-DEFS(ld, long double)
-INITS(ld, long double)
-
-TEST(Sld1, long double)
-TEST(Sld2, long double)
-TEST(Sld3, long double)
-TEST(Sld4, long double)
-TEST(Sld5, long double)
-TEST(Sld6, long double)
-TEST(Sld7, long double)
-TEST(Sld8, long double)
-TEST(Sld9, long double)
-TEST(Sld10, long double)
-TEST(Sld11, long double)
-TEST(Sld12, long double)
-TEST(Sld13, long double)
-TEST(Sld14, long double)
-TEST(Sld15, long double)
-TEST(Sld16, long double)
--- /dev/null
+/* Test structures passed by value, including to a function with a
+ variable-length argument lists. All struct members are long double
+ scalars. */
+
+extern void struct_by_value_7a_x (void);
+extern void exit (int);
+int fails;
+
+int
+main ()
+{
+ struct_by_value_7a_x ();
+ exit (0);
+}
--- /dev/null
+#include "compat-common.h"
+
+#include "fp-struct-defs.h"
+#include "fp-struct-check.h"
+#include "fp-struct-test-by-value-x.h"
+
+DEFS(ld, long double)
+CHECKS(ld, long double)
+
+TEST(Sld1, long double)
+TEST(Sld2, long double)
+TEST(Sld3, long double)
+TEST(Sld4, long double)
+TEST(Sld5, long double)
+TEST(Sld6, long double)
+TEST(Sld7, long double)
+TEST(Sld8, long double)
+
+#undef T
+
+void
+struct_by_value_7a_x ()
+{
+DEBUG_INIT
+
+#define T(TYPE, MTYPE) testit##TYPE ();
+
+T(Sld1, long double)
+T(Sld2, long double)
+T(Sld3, long double)
+T(Sld4, long double)
+T(Sld5, long double)
+T(Sld6, long double)
+T(Sld7, long double)
+T(Sld8, long double)
+
+DEBUG_FINI
+
+if (fails != 0)
+ abort ();
+
+#undef T
+}
--- /dev/null
+#include <stdarg.h>
+
+#include "compat-common.h"
+
+#ifdef SKIP_VA
+const int test_va = 0;
+#else
+const int test_va = 1;
+#endif
+
+#include "fp-struct-defs.h"
+#include "fp-struct-init.h"
+#include "fp-struct-test-by-value-y.h"
+
+DEFS(ld, long double)
+INITS(ld, long double)
+
+TEST(Sld1, long double)
+TEST(Sld2, long double)
+TEST(Sld3, long double)
+TEST(Sld4, long double)
+TEST(Sld5, long double)
+TEST(Sld6, long double)
+TEST(Sld7, long double)
+TEST(Sld8, long double)
--- /dev/null
+/* Test structures passed by value, including to a function with a
+ variable-length argument lists. All struct members are long double
+ scalars. */
+
+extern void struct_by_value_7b_x (void);
+extern void exit (int);
+int fails;
+
+int
+main ()
+{
+ struct_by_value_7b_x ();
+ exit (0);
+}
--- /dev/null
+#include "compat-common.h"
+
+#include "fp-struct-defs.h"
+#include "fp-struct-check.h"
+#include "fp-struct-test-by-value-x.h"
+
+DEFS(ld, long double)
+CHECKS(ld, long double)
+
+TEST(Sld9, long double)
+TEST(Sld10, long double)
+TEST(Sld11, long double)
+TEST(Sld12, long double)
+TEST(Sld13, long double)
+TEST(Sld14, long double)
+TEST(Sld15, long double)
+TEST(Sld16, long double)
+
+#undef T
+
+void
+struct_by_value_7b_x ()
+{
+DEBUG_INIT
+
+#define T(TYPE, MTYPE) testit##TYPE ();
+
+T(Sld9, long double)
+T(Sld10, long double)
+T(Sld11, long double)
+T(Sld12, long double)
+T(Sld13, long double)
+T(Sld14, long double)
+T(Sld15, long double)
+T(Sld16, long double)
+
+DEBUG_FINI
+
+if (fails != 0)
+ abort ();
+
+#undef T
+}
--- /dev/null
+#include <stdarg.h>
+
+#include "compat-common.h"
+
+#ifdef SKIP_VA
+const int test_va = 0;
+#else
+const int test_va = 1;
+#endif
+
+#include "fp-struct-defs.h"
+#include "fp-struct-init.h"
+#include "fp-struct-test-by-value-y.h"
+
+DEFS(ld, long double)
+INITS(ld, long double)
+
+TEST(Sld9, long double)
+TEST(Sld10, long double)
+TEST(Sld11, long double)
+TEST(Sld12, long double)
+TEST(Sld13, long double)
+TEST(Sld14, long double)
+TEST(Sld15, long double)
+TEST(Sld16, long double)