* lib/stdalign.in.h (_Alignof): Work around bug in pre-4.9 GCC on
x86, when -std=gnu11 is used. Problem reported by Jim Meyering in:
http://lists.gnu.org/archive/html/bug-gnulib/2015-10/msg00038.html
+2015-10-18 Paul Eggert <eggert@cs.ucla.edu>
+
+ stdalign: work around pre-4.9 GCC x86 bug
+ * lib/stdalign.in.h (_Alignof): Work around bug in pre-4.9 GCC on
+ x86, when -std=gnu11 is used. Problem reported by Jim Meyering in:
+ http://lists.gnu.org/archive/html/bug-gnulib/2015-10/msg00038.html
+
2015-10-18 Pádraig Brady <P@draigBrady.com>
maint.mk: sc_tight_scope: remove extraneous expressions
#undef _Alignas
#undef _Alignof
-#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112
+/* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023
+ <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>. */
+#if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \
+ || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9)))
# ifdef __cplusplus
# if 201103 <= __cplusplus
# define _Alignof(type) alignof (type)