# HG changeset patch # User Jim Meyering # Date 1322168672 -3600 # Node ID adc7476b18ed1be88b324fb48abb6fdd9ef45ad2 # Parent 58ec7181ad64979deb0a4d8915492ed1610ae159 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'. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-11-24 Jim Meyering + + 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 init.sh: make "compare /dev/null FILE" output more readable diff --git a/tests/test-stdalign.c b/tests/test-stdalign.c --- 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);