diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-10-21 20:10:40 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-10-21 20:11:23 -0700 |
commit | 0bb27cd32e4a6a7fc4485381efc9ff0026e15689 (patch) | |
tree | 4367708145574829e615f3840bbdad923a2343a0 /lib/stdalign.in.h | |
parent | 2ab48bafa3e8c3c686dcadfb5d2410178e9dd269 (diff) | |
download | emacs-0bb27cd32e4a6a7fc4485381efc9ff0026e15689.tar.gz emacs-0bb27cd32e4a6a7fc4485381efc9ff0026e15689.tar.bz2 emacs-0bb27cd32e4a6a7fc4485381efc9ff0026e15689.zip |
Merge from gnulib
This incorporates:
2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
* doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
Copy from gnulib.
Diffstat (limited to 'lib/stdalign.in.h')
-rw-r--r-- | lib/stdalign.in.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/stdalign.in.h b/lib/stdalign.in.h index c6115b6dbe0..ce1e793e273 100644 --- a/lib/stdalign.in.h +++ b/lib/stdalign.in.h @@ -52,7 +52,10 @@ #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) |