changeset 16118:adc7476b18ed

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'.
author Jim Meyering <meyering@redhat.com>
date Thu, 24 Nov 2011 22:04:32 +0100
parents 58ec7181ad64
children f15f3510d84c
files ChangeLog tests/test-stdalign.c
diffstat 2 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/tests/test-stdalign.c
+++ b/tests/test-stdalign.c
@@ -71,7 +71,7 @@
 #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 @@
   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);