diff options
| author | Paul Eggert | 2015-10-21 20:10:40 -0700 |
|---|---|---|
| committer | Paul Eggert | 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.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 @@ | |||
| 52 | #undef _Alignas | 52 | #undef _Alignas |
| 53 | #undef _Alignof | 53 | #undef _Alignof |
| 54 | 54 | ||
| 55 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 | 55 | /* GCC releases before GCC 4.9 had a bug in _Alignof. See GCC bug 52023 |
| 56 | <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023>. */ | ||
| 57 | #if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \ | ||
| 58 | || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9))) | ||
| 56 | # ifdef __cplusplus | 59 | # ifdef __cplusplus |
| 57 | # if 201103 <= __cplusplus | 60 | # if 201103 <= __cplusplus |
| 58 | # define _Alignof(type) alignof (type) | 61 | # define _Alignof(type) alignof (type) |