]> Savannah Git Hosting - gnulib.git/commitdiff
tests: Use C99 initializer syntax for memory_long_double.
authorBruno Haible <bruno@clisp.org>
Fri, 27 Oct 2023 18:02:27 +0000 (20:02 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 27 Oct 2023 18:05:05 +0000 (20:05 +0200)
* tests/test-isfinite.c (test_isfinitel): Use '.word = ...' syntax when
initializing memory_long_double variables.
* tests/test-isinf.c (test_isinfl): Likewise.
* tests/test-isnan.c (test_long_double): Likewise.
* tests/test-snprintf-posix.h (test_function): Likewise.
* tests/test-sprintf-posix.h (test_function): Likewise.
* tests/test-vasnprintf-posix.c (test_function): Likewise.
* tests/test-vasnwprintf-posix.c (test_function): Likewise.
* tests/test-vasprintf-posix.c (test_function): Likewise.
* modules/isfinite-tests (Depends-on): Add c99.
* modules/isinf-tests (Depends-on): Likewise.
* modules/isnan-tests (Depends-on): Likewise.
* modules/isnanl-nolibm-tests (Depends-on): Likewise.
* modules/isnanl-tests (Depends-on): Likewise.
* modules/pipe-filter-gi-tests (Depends-on): Likewise.
* modules/pipe-filter-ii-tests (Depends-on): Likewise.
* modules/snprintf-posix-tests (Depends-on): Likewise.
* modules/sprintf-posix-tests (Depends-on): Likewise.
* modules/vasnprintf-posix-tests (Depends-on): Likewise.
* modules/vasnwprintf-posix-tests (Depends-on): Likewise.
* modules/vasprintf-posix-tests (Depends-on): Likewise.
* modules/vsnprintf-posix-tests (Depends-on): Likewise.
* modules/vsprintf-posix-tests (Depends-on): Likewise.

23 files changed:
ChangeLog
modules/isfinite-tests
modules/isinf-tests
modules/isnan-tests
modules/isnanl-nolibm-tests
modules/isnanl-tests
modules/pipe-filter-gi-tests
modules/pipe-filter-ii-tests
modules/snprintf-posix-tests
modules/sprintf-posix-tests
modules/vasnprintf-posix-tests
modules/vasnwprintf-posix-tests
modules/vasprintf-posix-tests
modules/vsnprintf-posix-tests
modules/vsprintf-posix-tests
tests/test-isfinite.c
tests/test-isinf.c
tests/test-isnan.c
tests/test-snprintf-posix.h
tests/test-sprintf-posix.h
tests/test-vasnprintf-posix.c
tests/test-vasnwprintf-posix.c
tests/test-vasprintf-posix.c

index c9f4186f82998689193481026849ab61f2b5f95f..1b0201ce6ca1e198f5be1693b3ef39f6e9243bc0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,30 @@
+2023-10-27  Bruno Haible  <bruno@clisp.org>
+
+       tests: Use C99 initializer syntax for memory_long_double.
+       * tests/test-isfinite.c (test_isfinitel): Use '.word = ...' syntax when
+       initializing memory_long_double variables.
+       * tests/test-isinf.c (test_isinfl): Likewise.
+       * tests/test-isnan.c (test_long_double): Likewise.
+       * tests/test-snprintf-posix.h (test_function): Likewise.
+       * tests/test-sprintf-posix.h (test_function): Likewise.
+       * tests/test-vasnprintf-posix.c (test_function): Likewise.
+       * tests/test-vasnwprintf-posix.c (test_function): Likewise.
+       * tests/test-vasprintf-posix.c (test_function): Likewise.
+       * modules/isfinite-tests (Depends-on): Add c99.
+       * modules/isinf-tests (Depends-on): Likewise.
+       * modules/isnan-tests (Depends-on): Likewise.
+       * modules/isnanl-nolibm-tests (Depends-on): Likewise.
+       * modules/isnanl-tests (Depends-on): Likewise.
+       * modules/pipe-filter-gi-tests (Depends-on): Likewise.
+       * modules/pipe-filter-ii-tests (Depends-on): Likewise.
+       * modules/snprintf-posix-tests (Depends-on): Likewise.
+       * modules/sprintf-posix-tests (Depends-on): Likewise.
+       * modules/vasnprintf-posix-tests (Depends-on): Likewise.
+       * modules/vasnwprintf-posix-tests (Depends-on): Likewise.
+       * modules/vasprintf-posix-tests (Depends-on): Likewise.
+       * modules/vsnprintf-posix-tests (Depends-on): Likewise.
+       * modules/vsprintf-posix-tests (Depends-on): Likewise.
+
 2023-10-26  Pádraig Brady  <P@draigBrady.com>
 
        base32, base64: disallow non-canonical encodings
index 5b316dd2eeafd7afbc8257171fff3e8551fdabc4..24e16f73853230178ef1c9ce6c19aac464b87c40 100644 (file)
@@ -4,6 +4,7 @@ tests/infinity.h
 tests/macros.h
 
 Depends-on:
+c99
 float
 nan
 snan
index 0cae337cb24a26e643e65b67f0d3b6dccaebcbff..4b6f07d3ef02afa54523ac39316d7fc293d31c9d 100644 (file)
@@ -4,6 +4,7 @@ tests/infinity.h
 tests/macros.h
 
 Depends-on:
+c99
 float
 nan
 snan
index f0d5280cf31d0d3a26fcceefff7f40c9da8740a7..aa3ff5ca0fb2fad81df61d2f2502f5a1522ffe58 100644 (file)
@@ -5,6 +5,7 @@ tests/infinity.h
 tests/macros.h
 
 Depends-on:
+c99
 float
 nan
 snan
index c35806d6a67df4099e2e958707ee61c38d04494b..0351562ab4560c8c0b7ce6d5c8e319aa5a66bff8 100644 (file)
@@ -6,6 +6,7 @@ tests/infinity.h
 tests/macros.h
 
 Depends-on:
+c99
 float
 nan
 snan
index 22068081609c56b164ac2e6cbf747ee8fba1cc4d..2d32536cf441b3ee624b02923061fdd1b36c7210 100644 (file)
@@ -6,6 +6,7 @@ tests/infinity.h
 tests/macros.h
 
 Depends-on:
+c99
 float
 nan
 snan
index fdbdfc8c5f6a94fcf342cc4053ac47a5676dda6a..44f225bd819940ce3e40f168cddaa35174469314 100644 (file)
@@ -8,6 +8,7 @@ tests/test-pipe-filter-gi2-child.c
 tests/macros.h
 
 Depends-on:
+c99
 binary-io
 c-ctype
 snan
index ebdfe8c29f0c5d9ae9d83877a70f1e72cfd9d1d6..f77ff44890a29aadd0391149ecaf5d6b4e78acca 100644 (file)
@@ -8,6 +8,7 @@ tests/test-pipe-filter-ii2-child.c
 tests/macros.h
 
 Depends-on:
+c99
 binary-io
 c-ctype
 snan
index 54c83ec31ba78b85280a00b5ba8e615db65a9440..c67d638c5f24aa5dea2eabcd0761f185b40bd210 100644 (file)
@@ -8,6 +8,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+c99
 stdint
 float
 nan
index c8723c5c41b0b12cb08d046d4786aaca52c59ec4..7bc451f38bcf413bfcd9ebc2a5b00b580f32ae3a 100644 (file)
@@ -7,6 +7,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+c99
 stdint
 float
 nan
index da38834d5440688cbae95654c0945a0cc6fa85f8..f443cd4937ee6b70427290e6370854bfc6f65e50 100644 (file)
@@ -10,6 +10,7 @@ m4/locale-fr.m4
 m4/codeset.m4
 
 Depends-on:
+c99
 stdint
 float
 nan
index 47acf8d427ffb85d55b6360bd2fa5db072dea8b6..b9c27b288b93639cd6665a040d4af1b884b8cbb0 100644 (file)
@@ -11,6 +11,7 @@ m4/locale-fr.m4
 m4/codeset.m4
 
 Depends-on:
+c99
 stdint
 float
 nan
index 1353d5ca28dcef75c3febe38c0062e72c87555fe..7b0c3b151de60b8f9f4836844d961865ec702cd4 100644 (file)
@@ -5,6 +5,7 @@ tests/infinity.h
 tests/macros.h
 
 Depends-on:
+c99
 stdint
 float
 nan
index 336ccab0377218efed35c81ec3b258b9573bf794..ec12fce4a62686a7db8c87ef4df66ec0ac1f2911 100644 (file)
@@ -8,6 +8,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+c99
 stdint
 float
 nan
index 4c79b2aef10241e74ad5429475797106a747c498..840930814e7cc8ea0c76ae4b0a6d19a07d9f64a7 100644 (file)
@@ -7,6 +7,7 @@ tests/signature.h
 tests/macros.h
 
 Depends-on:
+c99
 stdint
 float
 nan
index 3c6da8d1283cf0aa12e21b0708468e5036f17f0d..4e23b3a2af165fb032d332be77b579c8b1644f23 100644 (file)
@@ -133,39 +133,39 @@ test_isfinitel ()
 # endif
   { /* Quiet NaN.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     ASSERT (!isfinite (x.value));
   }
   {
     /* Signalling NaN.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     ASSERT (!isfinite (x.value));
   }
   /* isfinite should return something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     ASSERT (isfinite (x.value) || !isfinite (x.value));
   }
   { /* Pseudo-Infinity.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     ASSERT (isfinite (x.value) || !isfinite (x.value));
   }
   { /* Pseudo-Zero.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     ASSERT (isfinite (x.value) || !isfinite (x.value));
   }
   { /* Unnormalized number.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     ASSERT (isfinite (x.value) || !isfinite (x.value));
   }
   { /* Pseudo-Denormal.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     ASSERT (isfinite (x.value) || !isfinite (x.value));
   }
   #undef NWORDS
index d3e435b3b24635040241c1f3e73848d551ec2e0b..abbad28982bb5956419e90a9e1093cfe324fb358 100644 (file)
@@ -139,39 +139,39 @@ test_isinfl ()
 # endif
   { /* Quiet NaN.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     ASSERT (!isinf (x.value));
   }
   {
     /* Signalling NaN.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     ASSERT (!isinf (x.value));
   }
   /* isinf should return something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     ASSERT (isinf (x.value) || !isinf (x.value));
   }
   { /* Pseudo-Infinity.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     ASSERT (isinf (x.value) || !isinf (x.value));
   }
   { /* Pseudo-Zero.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     ASSERT (isinf (x.value) || !isinf (x.value));
   }
   { /* Unnormalized number.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     ASSERT (isinf (x.value) || !isinf (x.value));
   }
   { /* Pseudo-Denormal.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     ASSERT (isinf (x.value) || !isinf (x.value));
   }
   #undef NWORDS
index 2d744596f5da080aa7df5a04428aecab810a194c..4b2f85e7761976b519a0282896d6c4dbce6103a0 100644 (file)
@@ -122,39 +122,39 @@ test_long_double (void)
 # endif
   { /* Quiet NaN.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     ASSERT (isnan (x.value));
   }
   {
     /* Signalling NaN.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     ASSERT (isnan (x.value));
   }
   /* isnan should return something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     ASSERT (isnan (x.value) || !isnan (x.value));
   }
   { /* Pseudo-Infinity.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     ASSERT (isnan (x.value) || !isnan (x.value));
   }
   { /* Pseudo-Zero.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     ASSERT (isnan (x.value) || !isnan (x.value));
   }
   { /* Unnormalized number.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     ASSERT (isnan (x.value) || !isnan (x.value));
   }
   { /* Pseudo-Denormal.  */
     static memory_long_double x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     ASSERT (isnan (x.value) || !isnan (x.value));
   }
   #undef NWORDS
index a71b73f05046baa88cfd03116e072c2e2cfadc14..748b2775a6fb8a3d2710964f6d141e096c6f2e9e 100644 (file)
@@ -480,7 +480,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -491,7 +491,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -502,7 +502,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   /* snprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -510,7 +510,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -518,7 +518,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -526,7 +526,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -534,7 +534,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -1167,7 +1167,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -1178,7 +1178,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -1189,7 +1189,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   /* snprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -1197,7 +1197,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -1205,7 +1205,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -1213,7 +1213,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -1221,7 +1221,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2015,7 +2015,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -2026,7 +2026,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -2037,7 +2037,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   /* snprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2045,7 +2045,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2053,7 +2053,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2061,7 +2061,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2069,7 +2069,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2650,7 +2650,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -2661,7 +2661,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -2672,7 +2672,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   /* snprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2680,7 +2680,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2688,7 +2688,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2696,7 +2696,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2704,7 +2704,7 @@ test_function (int (*my_snprintf) (char *, size_t, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     int retval =
       my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
index 15404d9fae71336b48d6a881e331d20b97f06f7f..aabd182a8be6589188231e0ecc96912cf6322d8c 100644 (file)
@@ -466,7 +466,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%La %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -477,7 +477,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%La %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -488,7 +488,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   /* sprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     int retval =
       my_sprintf (result, "%La %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -496,7 +496,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     int retval =
       my_sprintf (result, "%La %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -504,7 +504,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     int retval =
       my_sprintf (result, "%La %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -512,7 +512,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%La %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -520,7 +520,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%La %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -1153,7 +1153,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -1164,7 +1164,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -1175,7 +1175,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   /* sprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -1183,7 +1183,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -1191,7 +1191,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -1199,7 +1199,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -1207,7 +1207,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2001,7 +2001,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -2012,7 +2012,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -2023,7 +2023,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   /* sprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     int retval =
       my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2031,7 +2031,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     int retval =
       my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2039,7 +2039,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     int retval =
       my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2047,7 +2047,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2055,7 +2055,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2636,7 +2636,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%La %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -2647,7 +2647,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%La %d", x.value, 33, 44, 55);
     ASSERT (strlen (result) >= 3 + 3
@@ -2658,7 +2658,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   /* sprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lg %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2666,7 +2666,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lg %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2674,7 +2674,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lg %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2682,7 +2682,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lg %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
@@ -2690,7 +2690,7 @@ test_function (int (*my_sprintf) (char *, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     int retval =
       my_sprintf (result, "%Lg %d", x.value, 33, 44, 55);
     ASSERT (retval == strlen (result));
index 6848eb9aed87353d7d58cb442d5a85844d90985a..92b61b1329d58ecac187f39cef4c607517e35fec 100644 (file)
@@ -620,7 +620,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
@@ -634,7 +634,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
@@ -648,7 +648,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   /* asnprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
@@ -659,7 +659,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
@@ -670,7 +670,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
@@ -681,7 +681,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
@@ -692,7 +692,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
@@ -1490,7 +1490,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
@@ -1504,7 +1504,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
@@ -1518,7 +1518,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   /* asnprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
@@ -1529,7 +1529,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
@@ -1540,7 +1540,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
@@ -1551,7 +1551,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
@@ -1562,7 +1562,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
@@ -2590,7 +2590,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
@@ -2602,7 +2602,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
@@ -2614,7 +2614,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   /* asnprintf should print something even for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
@@ -2625,7 +2625,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
@@ -2636,7 +2636,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
@@ -2647,7 +2647,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
@@ -2658,7 +2658,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
@@ -3392,7 +3392,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
@@ -3406,7 +3406,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
@@ -3420,7 +3420,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   /* asnprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
@@ -3431,7 +3431,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
@@ -3442,7 +3442,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
@@ -3453,7 +3453,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
@@ -3464,7 +3464,7 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     size_t length;
     char *result =
       my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
index 428b6055772450bfe96ea06ce4b27f8fab1490e9..2ea76c92bc7feb16ad3b48bb47c59ac54c5e5a1d 100644 (file)
@@ -620,7 +620,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
@@ -634,7 +634,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
@@ -648,7 +648,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   /* asnwprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
@@ -659,7 +659,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
@@ -670,7 +670,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
@@ -681,7 +681,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
@@ -692,7 +692,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
@@ -1490,7 +1490,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
@@ -1504,7 +1504,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
@@ -1518,7 +1518,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   /* asnwprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
@@ -1529,7 +1529,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
@@ -1540,7 +1540,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
@@ -1551,7 +1551,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
@@ -1562,7 +1562,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
@@ -2590,7 +2590,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
@@ -2602,7 +2602,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
@@ -2614,7 +2614,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   /* asnwprintf should print something even for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
@@ -2625,7 +2625,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
@@ -2636,7 +2636,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
@@ -2647,7 +2647,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
@@ -2658,7 +2658,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
@@ -3392,7 +3392,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
@@ -3406,7 +3406,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
@@ -3420,7 +3420,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   /* asnwprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
@@ -3431,7 +3431,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
@@ -3442,7 +3442,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
@@ -3453,7 +3453,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
@@ -3464,7 +3464,7 @@ test_function (wchar_t * (*my_asnwprintf) (wchar_t *, size_t *, const wchar_t *,
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     size_t length;
     wchar_t *result =
       my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
index 92fe5d5558b27baad16b788b99d7234088e50220..3499451745c08e5d7550f5a51f46a469daa40941 100644 (file)
@@ -601,7 +601,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
@@ -615,7 +615,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
@@ -629,7 +629,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   /* asprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
@@ -640,7 +640,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
@@ -651,7 +651,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
@@ -662,7 +662,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
@@ -673,7 +673,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
@@ -1471,7 +1471,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
@@ -1485,7 +1485,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
@@ -1499,7 +1499,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   /* asprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
@@ -1510,7 +1510,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
@@ -1521,7 +1521,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
@@ -1532,7 +1532,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
@@ -1543,7 +1543,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
@@ -2571,7 +2571,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
@@ -2585,7 +2585,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
@@ -2599,7 +2599,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   /* asprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
@@ -2610,7 +2610,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
@@ -2621,7 +2621,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
@@ -2632,7 +2632,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
@@ -2643,7 +2643,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
@@ -3377,7 +3377,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
 #if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
   { /* Quiet NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
@@ -3391,7 +3391,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   {
     /* Signalling NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
@@ -3405,7 +3405,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   /* asprintf should print something for noncanonical values.  */
   { /* Pseudo-NaN.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
@@ -3416,7 +3416,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Infinity.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
@@ -3427,7 +3427,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Zero.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
@@ -3438,7 +3438,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Unnormalized number.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
@@ -3449,7 +3449,7 @@ test_function (int (*my_asprintf) (char **, const char *, ...))
   }
   { /* Pseudo-Denormal.  */
     static union { unsigned int word[4]; long double value; } x =
-      { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+      { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
     char *result;
     int retval =
       my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);