diff options
| author | Paul Eggert | 2020-08-11 10:58:35 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-08-11 11:07:28 -0700 |
| commit | 124a7951f495b916cf38f0e1e1fe85e22bc08aba (patch) | |
| tree | 7da6fb7a3ae571652acb36418706654fd54d7dc0 /lib/stdlib.in.h | |
| parent | 669aeafbd14b0ebb824bacba0a6b3daad30847a9 (diff) | |
| download | emacs-124a7951f495b916cf38f0e1e1fe85e22bc08aba.tar.gz emacs-124a7951f495b916cf38f0e1e1fe85e22bc08aba.zip | |
Update from Gnulib
This incorporates:
2020-08-11 Use expression statements also on clang
2020-08-10 Use many __attribute__s with clang
2020-08-09 Use attribute __aligned__ with clang
2020-08-09 Use __alignof__ with clang
2020-08-09 ignore-value: Simplify on clang
2020-08-09 Use __typeof__ with clang
2020-08-09 intprops: Fix typo in comment
2020-08-09 Silence warnings from clang 10 with -Wimplicit-fallthrough
2020-08-09 count-one-bits: Use __builtin_popcount{,l,ll} on clang
2020-08-09 string: Fix build error in C++ mode with clang
2020-08-09 Add ability to emit user-defined diagnostics with clang
2020-08-07 alloca: No need to compile alloca.c with clang
2020-08-06 Use __builtin_assume with clang
* lib/alloca.in.h, lib/arg-nonnull.h, lib/c++defs.h, lib/cdefs.h:
* lib/count-one-bits.h, lib/dirent.in.h, lib/ignore-value.h:
* lib/intprops.h, lib/malloca.h, lib/regex_internal.h:
* lib/stdalign.in.h, lib/stddef.in.h, lib/stdio.in.h:
* lib/stdlib.in.h, lib/string.in.h, lib/verify.h, lib/warn-on-use.h:
* m4/gnulib-common.m4, m4/stddef_h.m4, m4/stdint.m4:
Copy from Gnulib.
Diffstat (limited to 'lib/stdlib.in.h')
| -rw-r--r-- | lib/stdlib.in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 59f9e6c71d1..5c598a275d1 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -102,7 +102,7 @@ struct random_data | |||
| 102 | /* The __attribute__ feature is available in gcc versions 2.5 and later. | 102 | /* The __attribute__ feature is available in gcc versions 2.5 and later. |
| 103 | The attribute __pure__ was added in gcc 2.96. */ | 103 | The attribute __pure__ was added in gcc 2.96. */ |
| 104 | #ifndef _GL_ATTRIBUTE_PURE | 104 | #ifndef _GL_ATTRIBUTE_PURE |
| 105 | # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) | 105 | # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) || defined __clang__ |
| 106 | # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) | 106 | # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) |
| 107 | # else | 107 | # else |
| 108 | # define _GL_ATTRIBUTE_PURE /* empty */ | 108 | # define _GL_ATTRIBUTE_PURE /* empty */ |