diff options
| author | Dave Love | 2002-11-14 14:12:12 +0000 |
|---|---|---|
| committer | Dave Love | 2002-11-14 14:12:12 +0000 |
| commit | 30f637f83995baba49750edbeb7e99c72af01290 (patch) | |
| tree | 7a9336a44527be8f7598bbeb21dd046fa34cae8a /src/alloc.c | |
| parent | ea73d1295819dc751b2d3817653c03817b661727 (diff) | |
| download | emacs-30f637f83995baba49750edbeb7e99c72af01290.tar.gz emacs-30f637f83995baba49750edbeb7e99c72af01290.zip | |
(SETJMP_WILL_NOT_WORK): Add note.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index 728c5f95572..29cb1de5826 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -3566,6 +3566,10 @@ mark_memory (start, end) | |||
| 3566 | mark_maybe_pointer (*pp); | 3566 | mark_maybe_pointer (*pp); |
| 3567 | } | 3567 | } |
| 3568 | 3568 | ||
| 3569 | /* setjmp will work with GCC unless NON_SAVING_SETJMP is defined in | ||
| 3570 | the GCC system configuration. In gcc 3.2, the only systems for | ||
| 3571 | which this is so are i386-sco5 non-ELF, i386-sysv3 (maybe included | ||
| 3572 | by others?) and ns32k-pc532-min. */ | ||
| 3569 | 3573 | ||
| 3570 | #if !defined GC_SAVE_REGISTERS_ON_STACK && !defined GC_SETJMP_WORKS | 3574 | #if !defined GC_SAVE_REGISTERS_ON_STACK && !defined GC_SETJMP_WORKS |
| 3571 | 3575 | ||
| @@ -3593,6 +3597,10 @@ solution for your system.\n\ | |||
| 3593 | \n\ | 3597 | \n\ |
| 3594 | Please take a look at the function mark_stack in alloc.c, and\n\ | 3598 | Please take a look at the function mark_stack in alloc.c, and\n\ |
| 3595 | try to find a way to make it work on your system.\n\ | 3599 | try to find a way to make it work on your system.\n\ |
| 3600 | \n\ | ||
| 3601 | Note that you may get false negatives, depending on the compiler.\n\ | ||
| 3602 | In particular, you need to use -O with GCC for this test.\n\ | ||
| 3603 | \n\ | ||
| 3596 | Please mail the result to <emacs-devel@gnu.org>.\n\ | 3604 | Please mail the result to <emacs-devel@gnu.org>.\n\ |
| 3597 | " | 3605 | " |
| 3598 | 3606 | ||