mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
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.
This commit is contained in:
parent
1834ac7d24
commit
f3aaca3552
@ -4522,7 +4522,8 @@ extern void *record_xmalloc (size_t) ATTRIBUTE_ALLOC_SIZE ((1));
|
||||
This feature is experimental and requires careful debugging.
|
||||
Build with CPPFLAGS='-DUSE_STACK_LISP_OBJECTS=0' to disable it. */
|
||||
|
||||
#if (!defined USE_STACK_LISP_OBJECTS && defined __GNUC__ \
|
||||
#if (!defined USE_STACK_LISP_OBJECTS \
|
||||
&& defined __GNUC__ && !defined __clang__ \
|
||||
&& !(4 < __GNUC__ + (3 < __GNUC_MINOR__ + (2 <= __GNUC_PATCHLEVEL__))))
|
||||
/* Work around GCC bugs 36584 and 35271, which were fixed in GCC 4.3.2. */
|
||||
# define USE_STACK_LISP_OBJECTS false
|
||||
|
Loading…
Reference in New Issue
Block a user