test-stdalign.c: comment out long double tests
authorJim Meyering <meyering@redhat.com>
Thu, 24 Nov 2011 21:04:32 +0000 (22:04 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 24 Nov 2011 21:04:32 +0000 (22:04 +0100)
* tests/test-stdalign.c: Don't try to reduce alignment of long double
variables.  That provokes errors like this from gcc-4.7.0 20111124:
error: '_Alignas' specifiers cannot reduce alignment of \
'static_longdouble_alignas'.

ChangeLog
tests/test-stdalign.c

index b9e5d59..fd82024 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-11-24  Jim Meyering  <meyering@redhat.com>
+
+       test-stdalign.c: comment out long double tests
+       * tests/test-stdalign.c: Don't try to reduce alignment of long double
+       variables.  That provokes errors like this from gcc-4.7.0 20111124:
+       error: '_Alignas' specifiers cannot reduce alignment of \
+       'static_longdouble_alignas'.
+
 2011-11-22  Jim Meyering  <meyering@redhat.com>
 
        init.sh: make "compare /dev/null FILE" output more readable
index 7090a26..1c19aa8 100644 (file)
@@ -71,7 +71,7 @@ CHECK_STATIC (int64_t);
 #endif
 CHECK_STATIC (float);
 CHECK_STATIC (double);
-CHECK_STATIC (longdouble);
+/* CHECK_STATIC (longdouble); */
 CHECK_STATIC (struct1);
 CHECK_STATIC (struct2);
 CHECK_STATIC (struct3);
@@ -101,8 +101,8 @@ main ()
   CHECK_ALIGNED (static_float_Alignas);
   CHECK_ALIGNED (static_double_alignas);
   CHECK_ALIGNED (static_double_Alignas);
-  CHECK_ALIGNED (static_longdouble_alignas);
-  CHECK_ALIGNED (static_longdouble_Alignas);
+  /* CHECK_ALIGNED (static_longdouble_alignas); */
+  /* CHECK_ALIGNED (static_longdouble_Alignas); */
   CHECK_ALIGNED (static_struct1_alignas);
   CHECK_ALIGNED (static_struct1_Alignas);
   CHECK_ALIGNED (static_struct2_alignas);