diff options
| author | Paul Eggert | 2016-02-14 11:19:39 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-02-14 11:23:52 -0800 |
| commit | 1834ac7d24c60ecabb4fc2469d350a03db1798ab (patch) | |
| tree | bfe7bf56db81bc827a48ebc860c49bcb4f179087 /src | |
| parent | 84829495b5746417f5eaf9be693fb35f0509697a (diff) | |
| download | emacs-1834ac7d24c60ecabb4fc2469d350a03db1798ab.tar.gz emacs-1834ac7d24c60ecabb4fc2469d350a03db1798ab.zip | |
Port to x86 GCC 4.3.1 and earlier
This tries to port to x86 FreeBSD 9, where Emacs dumps core (Bug#22065).
* src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false
for GCC 4.3.1 and earlier.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index af73c4b15ce..8eb18e11870 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -4522,6 +4522,11 @@ 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__ \ | ||
| 4526 | && !(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 | # define USE_STACK_LISP_OBJECTS false | ||
| 4529 | #endif | ||
| 4525 | #ifndef USE_STACK_LISP_OBJECTS | 4530 | #ifndef USE_STACK_LISP_OBJECTS |
| 4526 | # define USE_STACK_LISP_OBJECTS true | 4531 | # define USE_STACK_LISP_OBJECTS true |
| 4527 | #endif | 4532 | #endif |