]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
fnptr-by-value-1_x.c, [...]: Guard non-C99 tests with SKIP_COMPLEX_INT, SKIP_ATTRIBUT...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 19 Jan 2004 19:17:50 +0000 (20:17 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 19 Jan 2004 19:17:50 +0000 (19:17 +0000)
* gcc.dg/compat/fnptr-by-value-1_x.c, scalar-by-value-1_y.c
scalar-by-value-3_x.c, scalar-by-value-3_y.c,
scalar-by-value-4_x.c, scalar-by-value-4_y.c,
scalar-return-1_x.c, scalar-return-2_y.c,
scalar-return-3_x.c, scalar-return-3_y.c,
scalar-return-4_x.c, scalar-return-4_y.c,
struct-align-1.h, struct-align-1_x.c,
struct-align-1_y.c, struct-align-2.h,
struct-align-2_x.c, struct-align-2_y.c,
struct-by-value-10_y.c, struct-by-value-11_x.c,
struct-by-value-11_y.c, struct-by-value-12_x.c,
struct-by-value-12_y.c, struct-by-value-13_x.c,
struct-by-value-13_y.c, struct-by-value-14_x.c,
struct-by-value-14_y.c, struct-by-value-15_x.c,
struct-by-value-15_y.c, struct-by-value-16_y.c,
struct-by-value-17_y.c, struct-by-value-18_y.c,
struct-by-value-19_y.c, struct-by-value-1_x.c,
struct-by-value-1_y.c, struct-by-value-20_y.c,
struct-by-value-2_x.c, struct-by-value-2_y.c,
struct-by-value-3_y.c, struct-by-value-4_x.c,
struct-by-value-4_y.c, struct-by-value-5_y.c,
struct-by-value-6_y.c, struct-by-value-7_y.c
struct-by-value-8_x.c, struct-by-value-8_y.c
struct-by-value-9_x.c, struct-by-value-9_y.c
struct-return-10_x.c, struct-return-10_y.c,
struct-return-19_x.c, struct-return-20_x.c
struct-return-2_x.c, struct-return-2_y.c
struct-return-3_x.c: Guard non-C99 tests with SKIP_COMPLEX_INT,
SKIP_ATTRIBUTE and SKIP_ZERO_ARRAY.  Turns SKIPVA into SKIP_VA.

From-SVN: r76170

56 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/compat/fnptr-by-value-1_x.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-1_y.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-3_x.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-3_y.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-4_x.c
gcc/testsuite/gcc.dg/compat/scalar-by-value-4_y.c
gcc/testsuite/gcc.dg/compat/scalar-return-1_x.c
gcc/testsuite/gcc.dg/compat/scalar-return-2_y.c
gcc/testsuite/gcc.dg/compat/scalar-return-3_x.c
gcc/testsuite/gcc.dg/compat/scalar-return-3_y.c
gcc/testsuite/gcc.dg/compat/scalar-return-4_x.c
gcc/testsuite/gcc.dg/compat/scalar-return-4_y.c
gcc/testsuite/gcc.dg/compat/struct-align-1.h
gcc/testsuite/gcc.dg/compat/struct-align-1_x.c
gcc/testsuite/gcc.dg/compat/struct-align-1_y.c
gcc/testsuite/gcc.dg/compat/struct-align-2.h
gcc/testsuite/gcc.dg/compat/struct-align-2_x.c
gcc/testsuite/gcc.dg/compat/struct-align-2_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-10_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-11_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-12_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-12_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-13_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-13_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-14_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-14_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-15_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-15_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-16_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-17_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-18_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-19_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-1_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-1_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-20_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-2_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-2_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-3_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-4_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-4_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-5_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-6_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-7_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-8_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-8_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-9_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-9_y.c
gcc/testsuite/gcc.dg/compat/struct-return-10_x.c
gcc/testsuite/gcc.dg/compat/struct-return-10_y.c
gcc/testsuite/gcc.dg/compat/struct-return-19_x.c
gcc/testsuite/gcc.dg/compat/struct-return-20_x.c
gcc/testsuite/gcc.dg/compat/struct-return-2_x.c
gcc/testsuite/gcc.dg/compat/struct-return-2_y.c
gcc/testsuite/gcc.dg/compat/struct-return-3_x.c

index 4c90e153139194780224a34bd829e9de02aefa49..9bd505d2c67f4620c139f19d4df6d7d4ff3cd283 100644 (file)
@@ -1,3 +1,35 @@
+2004-01-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * gcc.dg/compat/fnptr-by-value-1_x.c, scalar-by-value-1_y.c
+       scalar-by-value-3_x.c, scalar-by-value-3_y.c,
+       scalar-by-value-4_x.c, scalar-by-value-4_y.c,
+       scalar-return-1_x.c, scalar-return-2_y.c,
+       scalar-return-3_x.c, scalar-return-3_y.c,
+       scalar-return-4_x.c, scalar-return-4_y.c,
+       struct-align-1.h, struct-align-1_x.c,
+       struct-align-1_y.c, struct-align-2.h,
+       struct-align-2_x.c, struct-align-2_y.c,
+       struct-by-value-10_y.c, struct-by-value-11_x.c,
+       struct-by-value-11_y.c, struct-by-value-12_x.c,
+       struct-by-value-12_y.c, struct-by-value-13_x.c,
+       struct-by-value-13_y.c, struct-by-value-14_x.c,
+       struct-by-value-14_y.c, struct-by-value-15_x.c,
+       struct-by-value-15_y.c, struct-by-value-16_y.c,
+       struct-by-value-17_y.c, struct-by-value-18_y.c,
+       struct-by-value-19_y.c, struct-by-value-1_x.c,
+       struct-by-value-1_y.c, struct-by-value-20_y.c,
+       struct-by-value-2_x.c, struct-by-value-2_y.c,
+       struct-by-value-3_y.c, struct-by-value-4_x.c,
+       struct-by-value-4_y.c, struct-by-value-5_y.c,
+       struct-by-value-6_y.c, struct-by-value-7_y.c
+       struct-by-value-8_x.c, struct-by-value-8_y.c
+       struct-by-value-9_x.c, struct-by-value-9_y.c
+       struct-return-10_x.c, struct-return-10_y.c,
+       struct-return-19_x.c, struct-return-20_x.c
+       struct-return-2_x.c, struct-return-2_y.c
+       struct-return-3_x.c: Guard non-C99 tests with SKIP_COMPLEX_INT,
+       SKIP_ATTRIBUTE and SKIP_ZERO_ARRAY.  Turns SKIPVA into SKIP_VA.
+
 2004-01-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * gcc.dg/tls/alias-1.c: Add dg-warning for unsupported visibility
index 80f4fbcce1e09c2327d59a1b75ee3a08203ae046..156a417a48bfc01a618c0dc2df1980c0d8c49274 100644 (file)
@@ -1,7 +1,6 @@
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 7b4b60ea77f25eb552aa42953a1e459a53d8691d..73f3de0e2e7f1911d200992ac63e621a41e0a81e 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 25bb389d0c1e056d6de663b169e45bd952d4acc5..6d20fef1d326734df426831f333ca30afb863ed7 100644 (file)
@@ -144,9 +144,11 @@ testit##NAME (void)                                                \
   DEBUG_NL;                                                    \
 }
 
+#ifndef SKIP_COMPLEX_INT
 T(ci, _Complex int, (2,3))
 T(cl, _Complex long, (3,4))
 T(cll, _Complex long long, (5,6))
+#endif
 T(cd, _Complex double, (7.0,8.0))
 T(cld, _Complex long double, (8.0,9.0))
 
@@ -159,9 +161,11 @@ DEBUG_INIT
 
 #define T(NAME) testit##NAME ();
 
+#ifndef SKIP_COMPLEX_INT
 T(ci)
 T(cl)
 T(cll)
+#endif
 T(cd)
 T(cld)
 
index 35354c0f7b5a437947656b0f9aa606236ee0fc21..7c6822af993e9ce187636bc174951b9d1af9ae5e 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -85,8 +84,10 @@ testva##NAME (int n, ...)                                    \
     }                                                          \
 }
 
+#ifndef SKIP_COMPLEX_INT
 T(ci, _Complex int, (2,3))
 T(cl, _Complex long, (3,4))
 T(cll, _Complex long long, (5,6))
+#endif
 T(cd, _Complex double, (7.0,8.0))
 T(cld, _Complex long double, (8.0,9.0))
index 8231950c6ef56404d3e21297681a2fa669c82d6e..20f58d20ea7474a3ac3efcc912a78ac1b1721f69 100644 (file)
@@ -68,8 +68,10 @@ testit##NAME (void)                                          \
   DEBUG_NL;                                                    \
 }
 
+#ifndef SKIP_COMPLEX_INT
 T(cc, _Complex char, (0,1))
 T(cs, _Complex short, (1,2))
+#endif
 T(cf, _Complex float, (6.0,7.0))
 
 #undef T
@@ -81,8 +83,10 @@ DEBUG_INIT
 
 #define T(NAME) testit##NAME ();
 
+#ifndef SKIP_COMPLEX_INT
 T(cc)
 T(cs)
+#endif
 T(cf)
 
 DEBUG_FINI
index fdf5b24e5ba6f0928e3a4ed3922777ce00414862..8205b8259891fa3e0bf1f58b3c1270a6d1c5882d 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -68,6 +67,8 @@ test##NAME (TYPE x01, TYPE x02, TYPE x03, TYPE x04,           \
   check##NAME (x16, 16);                                       \
 }
 
+#ifndef SKIP_COMPLEX_INT
 T(cc, _Complex char, (0,1))
 T(cs, _Complex short, (1,2))
+#endif
 T(cf, _Complex float, (6.0,7.0))
index 6525e5e5666571d8c3b1af99a10129e4eeadf619..5556f9510a3efe9b6eeb908ec6ad3c085a9d13cd 100644 (file)
@@ -1,7 +1,6 @@
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 1f7d5493836cf0db708d9f303232ba57ddb8b4bf..485165c716bb547221c6933b105b4e2b4523460a 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 9dceccdd8902c17b7ee4b7036eea08deff1dcb0a..34ced255180fb871c8d4c1099956929cadc63049 100644 (file)
@@ -1,7 +1,6 @@
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -84,9 +83,11 @@ testit##NAME (void)                                          \
   DEBUG_NL;                                                    \
 }
 
+#ifndef SKIP_COMPLEX_INT
 T(ci, _Complex int, (2,3))
 T(cl, _Complex long, (3,4))
 T(cll, _Complex long long, (4,5))
+#endif
 T(cd, _Complex double, (2.0,3.0))
 T(cld, _Complex long double, (3.0,4.0))
 
@@ -99,9 +100,11 @@ DEBUG_INIT
 
 #define T(NAME) testit##NAME ();
 
+#ifndef SKIP_COMPLEX_INT
 T(ci)
 T(cl)
 T(cll)
+#endif
 T(cd)
 T(cld)
 
index 564866dd2236dc3cd7508d786f601db7329f9709..5894fd397066d823393e2a7629c0322db439b04b 100644 (file)
@@ -62,8 +62,10 @@ testva##NAME (int n, ...)                                    \
   return rslt;                                                 \
 }
 
+#ifndef SKIP_COMPLEX_INT
 T(ci, _Complex int, (2,3))
 T(cl, _Complex long, (3,4))
 T(cll, _Complex long long, (4,5))
+#endif
 T(cd, _Complex double, (2.0,3.0))
 T(cld, _Complex long double, (3.0,4.0))
index c3b31f8c9bfd82c4bbda00a233ba1b76d01db252..232b0a700adbaa4fb7ac3085a6d5ca44e41de1f7 100644 (file)
@@ -36,8 +36,10 @@ testit##NAME (void)                                          \
   DEBUG_NL;                                                    \
 }
 
+#ifndef SKIP_COMPLEX_INT
 T(cc, _Complex char, (0,1))
 T(cs, _Complex short, (1,2))
+#endif
 T(cf, _Complex float, (1.0,2.0))
 
 #undef T
@@ -49,8 +51,10 @@ DEBUG_INIT
 
 #define T(NAME) testit##NAME ();
 
+#ifndef SKIP_COMPLEX_INT
 T(cc)
 T(cs)
+#endif
 T(cf)
 
 DEBUG_FINI
index 5ac68b5cc0fdb0189744bbef1b99d104217f0b07..caaa031b3b535bd7d4e4334f47605e2a6c6f9ca8 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -38,6 +37,8 @@ test1##NAME (TYPE x01)                                                \
   return x01;                                                  \
 }
 
+#ifndef SKIP_COMPLEX_INT
 T(cc, _Complex char, (0,1))
 T(cs, _Complex short, (1,2))
+#endif
 T(cf, _Complex float, (1.0,2.0))
index 5283e786f5b9224c908216e49d312521c6cb9cc2..d9006c74159ec87f9d55220a258de2666050a4c7 100644 (file)
@@ -27,6 +27,7 @@ struct B3_orig {
   struct A3_orig a3;
 };
 
+#ifndef SKIP_ATTRIBUTE
 #define DESC_p_all "packed attribute for all"
 struct B1_p_all {
   char c;
@@ -176,3 +177,4 @@ struct B3_m_inner_p_outer {
   char c;
   struct A3_m_inner_p_outer a3;
 } __attribute__ ((packed));
+#endif
index 1500fa757058db316c26099be8ec5ff6a6f62a03..6b99ceb002f747e29c57141bd24dcd30ef25a699 100644 (file)
@@ -64,12 +64,14 @@ return3_##NAME (void)                                       \
 #define CHECK(NAME) test_##NAME()
 
 SETUP (orig, 49, 1.0, 111111)
+#ifndef SKIP_ATTRIBUTE
 SETUP (p_all, 50, 2.0, 222222)
 SETUP (p_inner, 51, 3.0, 333333)
 SETUP (p_outer, 52, 4.0, 444444)
 SETUP (a_max, 53, 5.0, 555555)
 SETUP (m_outer_p_inner, 54, 6.0, 666666)
 SETUP (m_inner_p_outer, 55, 7.0, 777777) 
+#endif
 
 void
 struct_align_1_x (void)
@@ -77,12 +79,14 @@ struct_align_1_x (void)
   DEBUG_INIT
 
   CHECK (orig);
+#ifndef SKIP_ATTRIBUTE
   CHECK (p_all);
   CHECK (p_inner);
   CHECK (p_outer);
   CHECK (a_max);
   CHECK (m_outer_p_inner);
   CHECK (m_inner_p_outer);
+#endif
 
   DEBUG_FINI
 
index 744f4de6f2840438448ed137e541ef168807da4e..c858e10d763f43acde84a672664d541eab461a7c 100644 (file)
@@ -80,9 +80,11 @@ test_##NAME (void)                                           \
 }
 
 TEST (orig)
+#ifndef SKIP_ATTRIBUTE
 TEST (p_all)
 TEST (p_inner)
 TEST (p_outer)
 TEST (a_max)
 TEST (m_outer_p_inner)
 TEST (m_inner_p_outer)
+#endif
index c97a476c3c43bca3c0990109e7bdac6dc53815d5..f94fe57e1343be966b18671e4b170942b3823a0b 100644 (file)
@@ -11,6 +11,7 @@ struct epoll_event_orig {
   unsigned long long data;
 };
 
+#ifndef SKIP_ATTRIBUTE
 #define DESC_structmax "maximum useful struct alignment"
 struct epoll_event_structmax {
   unsigned int events;
@@ -71,3 +72,4 @@ struct epoll_event_pdata8 {
   unsigned int events;
   unsigned long long data __attribute__ ((aligned(8)));
 } __attribute__ ((packed));
+#endif
index e59cec3f1eba7e0927c6373cbb959a4a90fdf99c..47f32d443ec6b52fa0e82e42e735ae48971ac94a 100644 (file)
@@ -1,6 +1,6 @@
 /* Disable this test for 16-bit targets.  */
 
-#if __INT_MAX__ > 32767
+#if !(defined __GNUC__) || (__INT_MAX__ > 32767)
 
 #include "compat-common.h"
 #include "struct-align-2.h"
@@ -38,6 +38,7 @@ return_##NAME (void)                                          \
   test_##NAME()
 
 SETUP (orig,101, 102, 0x0101010101010101ULL)
+#ifndef SKIP_ATTRIBUTE
 SETUP (structmax, 103, 104, 0x1212121212121212ULL)
 SETUP (struct4, 105, 106, 0x2323232323232323ULL)
 SETUP (struct8, 107, 108, 0x3434343434343434ULL)
@@ -48,6 +49,7 @@ SETUP (pstruct4, 115, 116, 0x7878787878787878ULL)
 SETUP (pstruct8, 117, 118, 0x8989898989898989ULL)
 SETUP (pdata4, 119, 120, 0x9A9A9A9A9A9A9A9AULL)
 SETUP (pdata8, 121, 122, 0xABABABABABABABABULL)
+#endif
 
 void
 struct_align_2_x (void)
@@ -55,6 +57,7 @@ struct_align_2_x (void)
   DEBUG_INIT
 
   CHECK (orig);
+#ifndef SKIP_ATTRIBUTE
   CHECK (structmax);
   CHECK (struct4);
   CHECK (struct8);
@@ -65,6 +68,7 @@ struct_align_2_x (void)
   CHECK (pstruct8);
   CHECK (pdata4);
   CHECK (pdata8);
+#endif
 
   DEBUG_FINI
 
index 0a5ec6ef31d11d021f21725aae7425c49e6b995e..15b684f453cc4711cb4700a2d2c5357840068634 100644 (file)
@@ -1,6 +1,6 @@
 /* Disable this test for 16-bit targets.  */
 
-#if __INT_MAX__ > 32767
+#if !(defined __GNUC__) || (__INT_MAX__ > 32767)
 
 #include "compat-common.h"
 #include "struct-align-2.h"
@@ -51,6 +51,7 @@ test_##NAME (void)                                            \
 }
 
 TEST (orig)
+#ifndef SKIP_ATTRIBUTE
 TEST (structmax)
 TEST (struct4)
 TEST (struct8)
@@ -61,6 +62,7 @@ TEST (pstruct4)
 TEST (pstruct8)
 TEST (pdata4)
 TEST (pdata8)
+#endif
 
 #else
 
index 30ad45fe7b6308bc1cfbf81893e3adc48be21108..6c9589d029d471da70115700a2469ebe455d4791 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index b9be4f3b968f73797b5807a04ad1dbe22b1b825d..cea1ac09688787542024e3f16f7869d6c4e8ad6b 100644 (file)
@@ -4,6 +4,7 @@
 #include "fp-struct-check.h"
 #include "fp-struct-test-by-value-x.h"
 
+#ifndef SKIP_COMPLEX_INT
 DEFS(cc, _Complex char)
 CHECKS(cc, _Complex char)
 
@@ -23,12 +24,14 @@ TEST(Scc13, _Complex char)
 TEST(Scc14, _Complex char)
 TEST(Scc15, _Complex char)
 TEST(Scc16, _Complex char)
+#endif
 
 #undef T
 
 void
 struct_by_value_11_x ()
 {
+#ifndef SKIP_COMPLEX_INT
 DEBUG_INIT
 
 #define T(TYPE, MTYPE) testit##TYPE ();
@@ -56,4 +59,5 @@ if (fails != 0)
   abort ();
 
 #undef T
+#endif
 }
index c0f0ad528af8c6ecb2248feb046ad5917f42bfd2..c4e47fc35494812ba662b6cfea9e69cb73e79ec7 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -13,6 +12,7 @@ const int test_va = 1;
 #include "fp-struct-init.h"
 #include "fp-struct-test-by-value-y.h"
 
+#ifndef SKIP_COMPLEX_INT
 DEFS(cc,_Complex char)
 INITS(cc, _Complex char)
 
@@ -32,3 +32,4 @@ TEST(Scc13, _Complex char)
 TEST(Scc14, _Complex char)
 TEST(Scc15, _Complex char)
 TEST(Scc16, _Complex char)
+#endif
index 6f943b75fe08faded6bfe1c460b69282867b0bf4..925ce9270b9ebfa17c7fc9db89eabfb9995dad13 100644 (file)
@@ -4,6 +4,7 @@
 #include "fp-struct-check.h"
 #include "fp-struct-test-by-value-x.h"
 
+#ifndef SKIP_COMPLEX_INT
 DEFS(cs, _Complex short)
 CHECKS(cs, _Complex short)
 
@@ -23,12 +24,14 @@ TEST(Scs13, _Complex short)
 TEST(Scs14, _Complex short)
 TEST(Scs15, _Complex short)
 TEST(Scs16, _Complex short)
+#endif
 
 #undef T
 
 void
 struct_by_value_12_x ()
 {
+#ifndef SKIP_COMPLEX_INT
 DEBUG_INIT
 
 #define T(TYPE, MTYPE) testit##TYPE ();
@@ -56,4 +59,5 @@ if (fails != 0)
   abort ();
 
 #undef T
+#endif
 }
index 50a08b467af09ea5fd1bf4591fe0be999686e203..2e8e393eeee58b0db7898a8b6ad58ace352c10ff 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -13,6 +12,7 @@ const int test_va = 1;
 #include "fp-struct-init.h"
 #include "fp-struct-test-by-value-y.h"
 
+#ifndef SKIP_COMPLEX_INT
 DEFS(cs,_Complex short)
 INITS(cs, _Complex short)
 
@@ -32,3 +32,4 @@ TEST(Scs13, _Complex short)
 TEST(Scs14, _Complex short)
 TEST(Scs15, _Complex short)
 TEST(Scs16, _Complex short)
+#endif
index 4418522d3425aeeaee83a8729697f07681302a8c..f27222f2df602ca8ae7a22b87720403ff405781e 100644 (file)
@@ -4,6 +4,7 @@
 #include "fp-struct-check.h"
 #include "fp-struct-test-by-value-x.h"
 
+#ifndef SKIP_COMPLEX_INT
 DEFS(ci, _Complex int)
 CHECKS(ci, _Complex int)
 
@@ -23,12 +24,14 @@ TEST(Sci13, _Complex int)
 TEST(Sci14, _Complex int)
 TEST(Sci15, _Complex int)
 TEST(Sci16, _Complex int)
+#endif
 
 #undef T
 
 void
 struct_by_value_13_x ()
 {
+#ifndef SKIP_COMPLEX_INT
 DEBUG_INIT
 
 #define T(TYPE, MTYPE) testit##TYPE ();
@@ -56,4 +59,5 @@ if (fails != 0)
   abort ();
 
 #undef T
+#endif
 }
index e53ee59fc4309b555cfffadb1d4c42729d447300..7a3657e0f01e0f1a152a4c9594cc23ae9c269793 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -13,6 +12,7 @@ const int test_va = 1;
 #include "fp-struct-init.h"
 #include "fp-struct-test-by-value-y.h"
 
+#ifndef SKIP_COMPLEX_INT
 DEFS(ci,_Complex int)
 INITS(ci, _Complex int)
 
@@ -32,3 +32,4 @@ TEST(Sci13, _Complex int)
 TEST(Sci14, _Complex int)
 TEST(Sci15, _Complex int)
 TEST(Sci16, _Complex int)
+#endif
index e5dbe736a12cabb73e8e5b4b92953fa785961a76..bb8db70721ebac6846d9f0c17ef2ef58321593cd 100644 (file)
@@ -4,6 +4,7 @@
 #include "fp-struct-check.h"
 #include "fp-struct-test-by-value-x.h"
 
+#ifndef SKIP_COMPLEX_INT
 DEFS(cl, _Complex long)
 CHECKS(cl, _Complex long)
 
@@ -23,12 +24,14 @@ TEST(Scl13, _Complex long)
 TEST(Scl14, _Complex long)
 TEST(Scl15, _Complex long)
 TEST(Scl16, _Complex long)
+#endif
 
 #undef T
 
 void
 struct_by_value_14_x ()
 {
+#ifndef SKIP_COMPLEX_INT
 DEBUG_INIT
 
 #define T(TYPE, MTYPE) testit##TYPE ();
@@ -56,4 +59,5 @@ if (fails != 0)
   abort ();
 
 #undef T
+#endif
 }
index 640b11bb06d607b8f9257d6e7051f16a8c8d94f7..5abd063ef214de2a960f708efb4f6699e69a4cbf 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -13,6 +12,7 @@ const int test_va = 1;
 #include "fp-struct-init.h"
 #include "fp-struct-test-by-value-y.h"
 
+#ifndef SKIP_COMPLEX_INT
 DEFS(cl,_Complex long)
 INITS(cl, _Complex long)
 
@@ -32,3 +32,4 @@ TEST(Scl13, _Complex long)
 TEST(Scl14, _Complex long)
 TEST(Scl15, _Complex long)
 TEST(Scl16, _Complex long)
+#endif
index 213568ab40a1e5ccbc395280a4675cb941b662d0..4409c9668dc11285c89cc31c021ab088ddee55be 100644 (file)
@@ -4,6 +4,7 @@
 #include "fp-struct-check.h"
 #include "fp-struct-test-by-value-x.h"
 
+#ifndef SKIP_COMPLEX_INT
 DEFS(cll, _Complex long long)
 CHECKS(cll, _Complex long long)
 
@@ -23,12 +24,14 @@ TEST(Scll13, _Complex long long)
 TEST(Scll14, _Complex long long)
 TEST(Scll15, _Complex long long)
 TEST(Scll16, _Complex long long)
+#endif
 
 #undef T
 
 void
 struct_by_value_15_x ()
 {
+#ifndef SKIP_COMPLEX_INT
 DEBUG_INIT
 
 #define T(TYPE, MTYPE) testit##TYPE ();
@@ -56,4 +59,5 @@ if (fails != 0)
   abort ();
 
 #undef T
+#endif
 }
index e7cf60a2d455a4cda0c0ba487d8c8d831925af26..a5fec4fdb6efd2c4e4e6b5cb48001420f61280b0 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -13,6 +12,7 @@ const int test_va = 1;
 #include "fp-struct-init.h"
 #include "fp-struct-test-by-value-y.h"
 
+#ifndef SKIP_COMPLEX_INT
 DEFS(cll,_Complex long long)
 INITS(cll, _Complex long long)
 
@@ -32,3 +32,4 @@ TEST(Scll13, _Complex long long)
 TEST(Scll14, _Complex long long)
 TEST(Scll15, _Complex long long)
 TEST(Scll16, _Complex long long)
+#endif
index 9aa8c3f33a08e1bcaf821940883aa7d70aa6c13c..273d7cc4f3e7c340b7c7962c5241c6951c88f21e 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index f8e1a6aca064876338c84dc136b0e3564b885b47..a0342a37c0c81bf392e11e2d6cb251ec557e1a47 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 662419326b91fe8b0a2c448c092c7e90c7e24041..b69425a5f4e5dd19e9a3389ca81a63e6b990e9a8 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 8b0f1e8f70f93150a5656f36c8279152953a66a8..036c6b618d77b9c41dfd59cbebb47d32a81aedf3 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 692af0d2b45348e58468a924f95ec1a3478cf5d8..67ac16d1d1575332113167e7c16c297e535cd17f 100644 (file)
@@ -34,7 +34,10 @@ testit##N (void)                                             \
 
 extern void abort (void);
 
-T(0) T(1) T(2) T(3) T(4) T(5) T(6) T(7)
+#ifndef SKIP_ZERO_ARRAY
+T(0)
+#endif
+T(1) T(2) T(3) T(4) T(5) T(6) T(7)
 T(8) T(9) T(10) T(11) T(12) T(13) T(14) T(15)
 T(16) T(17) T(18) T(19) T(20) T(21) T(22) T(23)
 T(24) T(25) T(26) T(27) T(28) T(29) T(30) T(31)
@@ -50,7 +53,10 @@ struct_by_value_1_x ()
 {
 #define T(N) testit##N ();
 
-T(0) T(1) T(2) T(3) T(4) T(5) T(6) T(7)
+#ifndef SKIP_ZERO_ARRAY
+T(0)
+#endif
+T(1) T(2) T(3) T(4) T(5) T(6) T(7)
 T(8) T(9) T(10) T(11) T(12) T(13) T(14) T(15)
 T(16) T(17) T(18) T(19) T(20) T(21) T(22) T(23)
 T(24) T(25) T(26) T(27) T(28) T(29) T(30) T(31)
index 72eb05a647f31fc1ab556a802858e34968eec4c1..8370dbac34220216b617669b49a263ddf40c2f7c 100644 (file)
@@ -30,7 +30,10 @@ test##N (struct S##N s1, struct S##N s2,                     \
   check##N (s3, 192);                                          \
 }
 
-T(0) T(1) T(2) T(3) T(4) T(5) T(6) T(7)
+#ifndef SKIP_ZERO_ARRAY
+T(0)
+#endif
+T(1) T(2) T(3) T(4) T(5) T(6) T(7)
 T(8) T(9) T(10) T(11) T(12) T(13) T(14) T(15)
 T(16) T(17) T(18) T(19) T(20) T(21) T(22) T(23)
 T(24) T(25) T(26) T(27) T(28) T(29) T(30) T(31)
index 6e02e7d0a009e38f28f85ecb63a8dfee73dda327..1a4a6775def5963aa72ae27d76588be5a4d19397 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 48bb0b70675738d9ceb0343b75819766f480712e..57c6da0c0bb08d188f547d1bbe1ef9f31ddb7c19 100644 (file)
@@ -105,7 +105,9 @@ testit##NAME##N (void)                                              \
   DEBUG_NL;                                                    \
 }
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, uc, unsigned char)
+#endif
 T(1, uc, unsigned char)
 T(2, uc, unsigned char)
 T(3, uc, unsigned char)
@@ -121,7 +123,9 @@ T(12, uc, unsigned char)
 T(13, uc, unsigned char)
 T(14, uc, unsigned char)
 T(15, uc, unsigned char)
+#ifndef SKIP_ZERO_ARRAY
 T(0, us, unsigned short)
+#endif
 T(1, us, unsigned short)
 T(2, us, unsigned short)
 T(3, us, unsigned short)
@@ -137,7 +141,9 @@ T(12, us, unsigned short)
 T(13, us, unsigned short)
 T(14, us, unsigned short)
 T(15, us, unsigned short)
+#ifndef SKIP_ZERO_ARRAY
 T(0, ui, unsigned int)
+#endif
 T(1, ui, unsigned int)
 T(2, ui, unsigned int)
 T(3, ui, unsigned int)
@@ -163,7 +169,9 @@ DEBUG_INIT
 
 #define T(N, NAME, TYPE) testit##NAME##N ();
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, uc, unsigned char)
+#endif
 T(1, uc, unsigned char)
 T(2, uc, unsigned char)
 T(3, uc, unsigned char)
@@ -179,7 +187,9 @@ T(12, uc, unsigned char)
 T(13, uc, unsigned char)
 T(14, uc, unsigned char)
 T(15, uc, unsigned char)
+#ifndef SKIP_ZERO_ARRAY
 T(0, us, unsigned short)
+#endif
 T(1, us, unsigned short)
 T(2, us, unsigned short)
 T(3, us, unsigned short)
@@ -195,7 +205,9 @@ T(12, us, unsigned short)
 T(13, us, unsigned short)
 T(14, us, unsigned short)
 T(15, us, unsigned short)
+#ifndef SKIP_ZERO_ARRAY
 T(0, ui, unsigned int)
+#endif
 T(1, ui, unsigned int)
 T(2, ui, unsigned int)
 T(3, ui, unsigned int)
index f5b3c713f1783dd3e669d22ea6db2f9f7f2bb6cc..3b203fab2010d36126644d0637a065000667f38a 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -102,7 +101,9 @@ testva##NAME##N (int n, ...)                                        \
     }                                                          \
 }
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, uc, unsigned char)
+#endif
 T(1, uc, unsigned char)
 T(2, uc, unsigned char)
 T(3, uc, unsigned char)
@@ -118,7 +119,9 @@ T(12, uc, unsigned char)
 T(13, uc, unsigned char)
 T(14, uc, unsigned char)
 T(15, uc, unsigned char)
+#ifndef SKIP_ZERO_ARRAY
 T(0, us, unsigned short)
+#endif
 T(1, us, unsigned short)
 T(2, us, unsigned short)
 T(3, us, unsigned short)
@@ -134,7 +137,9 @@ T(12, us, unsigned short)
 T(13, us, unsigned short)
 T(14, us, unsigned short)
 T(15, us, unsigned short)
+#ifndef SKIP_ZERO_ARRAY
 T(0, ui, unsigned int)
+#endif
 T(1, ui, unsigned int)
 T(2, ui, unsigned int)
 T(3, ui, unsigned int)
index 571bea8d414163ee7d177f450a30c5775111423b..d5a31c9d5a491ec1a7c79a38bd32515bec23dc1a 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index e90b710b9fc1037fb7a90de3fb91c40b771b3c44..def20ce8b0315d99f632793a58d22d38b3c79149 100644 (file)
@@ -129,7 +129,9 @@ void checkScsi (Scsi x, int i)
 void checkScis (Scis x, int i)
 { if (x.c != i/16 || x.i != i+1 || x.s != i+2) DEBUG_CHECK }
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, Sc)
+#endif
 T(1, Sc)
 T(2, Sc)
 T(3, Sc)
@@ -145,7 +147,9 @@ T(12, Sc)
 T(13, Sc)
 T(14, Sc)
 T(15, Sc)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Ss)
+#endif
 T(1, Ss)
 T(2, Ss)
 T(3, Ss)
@@ -161,7 +165,9 @@ T(12, Ss)
 T(13, Ss)
 T(14, Ss)
 T(15, Ss)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Si)
+#endif
 T(1, Si)
 T(2, Si)
 T(3, Si)
@@ -187,7 +193,9 @@ DEBUG_INIT
 
 #define T(N, TYPE) testit##TYPE##N ();
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, Sc)
+#endif
 T(1, Sc)
 T(2, Sc)
 T(3, Sc)
@@ -203,7 +211,9 @@ T(12, Sc)
 T(13, Sc)
 T(14, Sc)
 T(15, Sc)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Ss)
+#endif
 T(1, Ss)
 T(2, Ss)
 T(3, Ss)
@@ -219,7 +229,9 @@ T(12, Ss)
 T(13, Ss)
 T(14, Ss)
 T(15, Ss)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Si)
+#endif
 T(1, Si)
 T(2, Si)
 T(3, Si)
index 2541dd06d52e36c4d1a3063c31ec0fb63ed83d54..fe1b09577dd6dbf9a6d322514905e3091719074f 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -107,7 +106,9 @@ testva##TYPE##N (int n, ...)                                        \
     }                                                          \
 }
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, Sc)
+#endif
 T(1, Sc)
 T(2, Sc)
 T(3, Sc)
@@ -123,7 +124,9 @@ T(12, Sc)
 T(13, Sc)
 T(14, Sc)
 T(15, Sc)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Ss)
+#endif
 T(1, Ss)
 T(2, Ss)
 T(3, Ss)
@@ -139,7 +142,9 @@ T(12, Ss)
 T(13, Ss)
 T(14, Ss)
 T(15, Ss)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Si)
+#endif
 T(1, Si)
 T(2, Si)
 T(3, Si)
index 9290b8fa92e1c76fe850a6e07792bd597a008161..224d8409e28987cacaad6adc7d89a4e84150df99 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index b5bc10025a0b8dc27b9bfbb869fbdb1a19412aad..4a27b67cc02c9c63aa19bc703f3bd9dd33aa06d8 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index ca52a9b10f7132de224a7503fcbf3530e71a6868..39e46ba8481a589ebb33bcfa687a0fffd27b08c7 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 6fe9ce75ae024458055d19c99c0ee7d24ad6134b..5a376fd38cfcba58cd53b168d5cf85922bdaecdf 100644 (file)
@@ -129,7 +129,9 @@ void checkScsi (Scsi x, int i)
 void checkScis (Scis x, int i)
 { if (x.c != i/16 || x.i != i+1 || x.s != i+2) DEBUG_CHECK }
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, Ssc)
+#endif
 T(1, Ssc)
 T(2, Ssc)
 T(3, Ssc)
@@ -145,7 +147,9 @@ T(12, Ssc)
 T(13, Ssc)
 T(14, Ssc)
 T(15, Ssc)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Sis)
+#endif
 T(1, Sis)
 T(2, Sis)
 T(3, Sis)
@@ -171,7 +175,9 @@ DEBUG_INIT
 
 #define T(N, TYPE) testit##TYPE##N ();
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, Ssc)
+#endif
 T(1, Ssc)
 T(2, Ssc)
 T(3, Ssc)
@@ -187,7 +193,9 @@ T(12, Ssc)
 T(13, Ssc)
 T(14, Ssc)
 T(15, Ssc)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Sis)
+#endif
 T(1, Sis)
 T(2, Sis)
 T(3, Sis)
index 9dadfb03c1fbe3099e7d8345561643d6c43a7f61..b246fd44893b14e57777946175242f2a6894e058 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -107,7 +106,9 @@ testva##TYPE##N (int n, ...)                                        \
     }                                                          \
 }
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, Ssc)
+#endif
 T(1, Ssc)
 T(2, Ssc)
 T(3, Ssc)
@@ -123,7 +124,9 @@ T(12, Ssc)
 T(13, Ssc)
 T(14, Ssc)
 T(15, Ssc)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Sis)
+#endif
 T(1, Sis)
 T(2, Sis)
 T(3, Sis)
index d6e43e75b0b08e70cc31941427588deda8d4f116..5bbef770aca6789c629cf6bb992fe8bea198a534 100644 (file)
@@ -132,7 +132,9 @@ void checkScsi (Scsi x, int i)
 void checkScis (Scis x, int i)
 { if (x.c != i/16 || x.i != i+1 || x.s != i+2) DEBUG_CHECK }
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, Scsi)
+#endif
 T(1, Scsi)
 T(2, Scsi)
 T(3, Scsi)
@@ -148,7 +150,9 @@ T(12, Scsi)
 T(13, Scsi)
 T(14, Scsi)
 T(15, Scsi)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Scis)
+#endif
 T(1, Scis)
 T(2, Scis)
 T(3, Scis)
@@ -174,7 +178,9 @@ DEBUG_INIT
 
 #define T(N, TYPE) testit##TYPE##N ();
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, Scsi)
+#endif
 T(1, Scsi)
 T(2, Scsi)
 T(3, Scsi)
@@ -190,7 +196,9 @@ T(12, Scsi)
 T(13, Scsi)
 T(14, Scsi)
 T(15, Scsi)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Scis)
+#endif
 T(1, Scis)
 T(2, Scis)
 T(3, Scis)
index 5d034048c1a9a955cdeeaef9cc70e949a546174c..0f6521800851a33593b1214a461795b07e0411ac 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -107,7 +106,9 @@ testva##TYPE##N (int n, ...)                                        \
     }                                                          \
 }
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, Scsi)
+#endif
 T(1, Scsi)
 T(2, Scsi)
 T(3, Scsi)
@@ -123,7 +124,9 @@ T(12, Scsi)
 T(13, Scsi)
 T(14, Scsi)
 T(15, Scsi)
+#ifndef SKIP_ZERO_ARRAY
 T(0, Scis)
+#endif
 T(1, Scis)
 T(2, Scis)
 T(3, Scis)
index bb417d76146c5f671d4ace5e3f64fdcd370f544f..d1531b179bd0cf9c6857038ecb06cf7873dd08ca 100644 (file)
@@ -75,18 +75,18 @@ testit##TYPE (void)                                         \
 #include "fp2-struct-defs.h"
 #include "fp2-struct-check.h"
 
-T(Sfd);
-T(Sfl);
-T(Sdf);
-T(Sdl);
-T(Slf);
-T(Sld);
-T(Sfdl);
-T(Sfld);
-T(Sdfl);
-T(Sdlf);
-T(Slfd);
-T(Sldf);
+T(Sfd)
+T(Sfl)
+T(Sdf)
+T(Sdl)
+T(Slf)
+T(Sld)
+T(Sfdl)
+T(Sfld)
+T(Sdfl)
+T(Sdlf)
+T(Slfd)
+T(Sldf)
 
 #undef T
 
index 2cd9c604c06b7bc6a4961b3db33ef52ac4208931..7af4068d5d0bee310c705100ce8364fd18e5ec42 100644 (file)
@@ -2,8 +2,7 @@
 
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index cb3e8a905c43272c25b3929b20b8010440d3adcf..0085a9f6883b79c8a2e7cae3d28e4135dfaffdcf 100644 (file)
@@ -1,7 +1,6 @@
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 685ef6f8b0332d8390796d821ce02fc00fedd4b2..be7139f7d546481f7a7c42f265d82c8ecb770e8b 100644 (file)
@@ -1,7 +1,6 @@
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
index 4463dc4cbcd4eaae6aaf1f9e3b5e46af94b8a4c3..590c30aa937879679c6d39379b486ce51d2c6a37 100644 (file)
@@ -1,7 +1,6 @@
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;
@@ -102,7 +101,9 @@ testit##NAME##N (void)                                              \
   DEBUG_NL;                                                    \
 }
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, uc, unsigned char)
+#endif
 T(1, uc, unsigned char)
 T(2, uc, unsigned char)
 T(3, uc, unsigned char)
@@ -118,7 +119,9 @@ T(12, uc, unsigned char)
 T(13, uc, unsigned char)
 T(14, uc, unsigned char)
 T(15, uc, unsigned char)
+#ifndef SKIP_ZERO_ARRAY
 T(0, us, unsigned short)
+#endif
 T(1, us, unsigned short)
 T(2, us, unsigned short)
 T(3, us, unsigned short)
@@ -134,7 +137,9 @@ T(12, us, unsigned short)
 T(13, us, unsigned short)
 T(14, us, unsigned short)
 T(15, us, unsigned short)
+#ifndef SKIP_ZERO_ARRAY
 T(0, ui, unsigned int)
+#endif
 T(1, ui, unsigned int)
 T(2, ui, unsigned int)
 T(3, ui, unsigned int)
@@ -160,7 +165,9 @@ DEBUG_INIT
 
 #define T(N, NAME, TYPE) testit##NAME##N ();
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, uc, unsigned char)
+#endif
 T(1, uc, unsigned char)
 T(2, uc, unsigned char)
 T(3, uc, unsigned char)
@@ -176,7 +183,9 @@ T(12, uc, unsigned char)
 T(13, uc, unsigned char)
 T(14, uc, unsigned char)
 T(15, uc, unsigned char)
+#ifndef SKIP_ZERO_ARRAY
 T(0, us, unsigned short)
+#endif
 T(1, us, unsigned short)
 T(2, us, unsigned short)
 T(3, us, unsigned short)
@@ -192,7 +201,9 @@ T(12, us, unsigned short)
 T(13, us, unsigned short)
 T(14, us, unsigned short)
 T(15, us, unsigned short)
+#ifndef SKIP_ZERO_ARRAY
 T(0, ui, unsigned int)
+#endif
 T(1, ui, unsigned int)
 T(2, ui, unsigned int)
 T(3, ui, unsigned int)
index d8bdcc240de63d8a7acdc4d2c80b20503672016a..7d7df8ef6cdb3f6e50095486d65bacc79b6b2cf1 100644 (file)
@@ -70,7 +70,9 @@ testva##NAME##N (int n, ...)                                  \
   return rslt;                                                 \
 }
 
+#ifndef SKIP_ZERO_ARRAY
 T(0, uc, unsigned char)
+#endif
 T(1, uc, unsigned char)
 T(2, uc, unsigned char)
 T(3, uc, unsigned char)
@@ -86,7 +88,9 @@ T(12, uc, unsigned char)
 T(13, uc, unsigned char)
 T(14, uc, unsigned char)
 T(15, uc, unsigned char)
+#ifndef SKIP_ZERO_ARRAY
 T(0, us, unsigned short)
+#endif
 T(1, us, unsigned short)
 T(2, us, unsigned short)
 T(3, us, unsigned short)
@@ -102,7 +106,9 @@ T(12, us, unsigned short)
 T(13, us, unsigned short)
 T(14, us, unsigned short)
 T(15, us, unsigned short)
+#ifndef SKIP_ZERO_ARRAY
 T(0, ui, unsigned int)
+#endif
 T(1, ui, unsigned int)
 T(2, ui, unsigned int)
 T(3, ui, unsigned int)
index e8b18850b1f37136e21335e818c03158131d98b8..e985f91e444045061212643c9c53371659ca87e0 100644 (file)
@@ -1,7 +1,6 @@
 #include "compat-common.h"
 
-/* Turn off checking for variable arguments with -DSKIPVA.  */
-#ifdef SKIPVA
+#ifdef SKIP_VA
 const int test_va = 0;
 #else
 const int test_va = 1;