diff options
| author | Paul Eggert | 2016-07-20 10:31:33 +0200 |
|---|---|---|
| committer | Paul Eggert | 2016-07-20 10:32:24 +0200 |
| commit | 3e71e4379ce7b53afe51ead4c94e6bb016bc6e7a (patch) | |
| tree | f1a28805fc683c4b9cf712c73283ec4115fcdd75 /src/bytecode.c | |
| parent | 63750fd4ed4ff8bb9b3ff8868d4e36e3422adb21 (diff) | |
| download | emacs-3e71e4379ce7b53afe51ead4c94e6bb016bc6e7a.tar.gz emacs-3e71e4379ce7b53afe51ead4c94e6bb016bc6e7a.zip | |
Work around GCC bug 54561 in a better way
The new approach is less selective, but also less intrusive on C code.
* src/bytecode.c, src/image.c, src/keyboard.c: Ignore -Wclobbered.
* src/conf_post.h (NONVOLATILE): Remove. All uses removed.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index bb7922d54a4..1b02c60c618 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -32,6 +32,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 32 | #include "xterm.h" | 32 | #include "xterm.h" |
| 33 | #endif | 33 | #endif |
| 34 | 34 | ||
| 35 | /* Work around GCC bug 54561. */ | ||
| 36 | #if GNUC_PREREQ (4, 3, 0) | ||
| 37 | # pragma GCC diagnostic ignored "-Wclobbered" | ||
| 38 | #endif | ||
| 39 | |||
| 35 | /* | 40 | /* |
| 36 | * define BYTE_CODE_SAFE to enable some minor sanity checking (useful for | 41 | * define BYTE_CODE_SAFE to enable some minor sanity checking (useful for |
| 37 | * debugging the byte compiler...) | 42 | * debugging the byte compiler...) |