[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] test-stdalign.c: comment out long double tests
From: |
Jim Meyering |
Subject: |
[PATCH] test-stdalign.c: comment out long double tests |
Date: |
Thu, 24 Nov 2011 22:06:29 +0100 |
Using the latest gcc from git/svn, I see a new failure in "make check":
test-stdalign.c:74:445: error: '_Alignas' specifiers cannot reduce alignment\
of 'static_longdouble_alignas'
test-stdalign.c:74:496: error: '_Alignas' specifiers cannot reduce alignment\
of 'static_longdouble_Alignas'
CC test-sys_wait.o
make[8]: *** [test-stdalign.o] Error 1
So I can continue to use this version of gcc at least for now,
I've just commented out the offending tests:
>From 811f969f5fc9a0a079f15213a99347156a54ff47 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 24 Nov 2011 22:04:32 +0100
Subject: [PATCH] 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'.
---
ChangeLog | 8 ++++++++
tests/test-stdalign.c | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b9e5d59..fd82024 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-11-24 Jim Meyering <address@hidden>
+
+ 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 <address@hidden>
init.sh: make "compare /dev/null FILE" output more readable
diff --git a/tests/test-stdalign.c b/tests/test-stdalign.c
index 7090a26..1c19aa8 100644
--- a/tests/test-stdalign.c
+++ b/tests/test-stdalign.c
@@ -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);
--
1.7.8.rc3.31.g017d1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] test-stdalign.c: comment out long double tests,
Jim Meyering <=