diff options
| author | Paul Eggert | 2016-02-14 11:42:36 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-02-14 11:43:04 -0800 |
| commit | f3aaca3552ba961d13cd1ee935c1c6b075f2398a (patch) | |
| tree | b077b7801e4b46b827fbeab69207b7a8ef1fbcfa /src | |
| parent | 1834ac7d24c60ecabb4fc2469d350a03db1798ab (diff) | |
| download | emacs-f3aaca3552ba961d13cd1ee935c1c6b075f2398a.tar.gz emacs-f3aaca3552ba961d13cd1ee935c1c6b075f2398a.zip | |
Port USE_STACK_LISP_OBJECTS fix to Clang
* src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false for Clang.
Recent versions of Clang claim to be GCC 4.2.1 but do not have
the GCC bug.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 8eb18e11870..8eab38bc6f9 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -4522,7 +4522,8 @@ extern void *record_xmalloc (size_t) ATTRIBUTE_ALLOC_SIZE ((1)); | |||
| 4522 | This feature is experimental and requires careful debugging. | 4522 | This feature is experimental and requires careful debugging. |
| 4523 | Build with CPPFLAGS='-DUSE_STACK_LISP_OBJECTS=0' to disable it. */ | 4523 | Build with CPPFLAGS='-DUSE_STACK_LISP_OBJECTS=0' to disable it. */ |
| 4524 | 4524 | ||
| 4525 | #if (!defined USE_STACK_LISP_OBJECTS && defined __GNUC__ \ | 4525 | #if (!defined USE_STACK_LISP_OBJECTS \ |
| 4526 | && defined __GNUC__ && !defined __clang__ \ | ||
| 4526 | && !(4 < __GNUC__ + (3 < __GNUC_MINOR__ + (2 <= __GNUC_PATCHLEVEL__)))) | 4527 | && !(4 < __GNUC__ + (3 < __GNUC_MINOR__ + (2 <= __GNUC_PATCHLEVEL__)))) |
| 4527 | /* Work around GCC bugs 36584 and 35271, which were fixed in GCC 4.3.2. */ | 4528 | /* Work around GCC bugs 36584 and 35271, which were fixed in GCC 4.3.2. */ |
| 4528 | # define USE_STACK_LISP_OBJECTS false | 4529 | # define USE_STACK_LISP_OBJECTS false |