changeset 48316:043dddbc037a

(SETJMP_WILL_NOT_WORK): Add note.
author Dave Love <fx@gnu.org>
date Thu, 14 Nov 2002 14:12:12 +0000
parents 7b17eff6f508
children 8ce6ddfd61d0
files src/alloc.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Thu Nov 14 14:12:03 2002 +0000
+++ b/src/alloc.c	Thu Nov 14 14:12:12 2002 +0000
@@ -3566,6 +3566,10 @@
     mark_maybe_pointer (*pp);
 }
 
+/* setjmp will work with GCC unless NON_SAVING_SETJMP is defined in
+   the GCC system configuration.  In gcc 3.2, the only systems for
+   which this is so are i386-sco5 non-ELF, i386-sysv3 (maybe included
+   by others?) and ns32k-pc532-min.  */
 
 #if !defined GC_SAVE_REGISTERS_ON_STACK && !defined GC_SETJMP_WORKS
 
@@ -3593,6 +3597,10 @@
 \n\
 Please take a look at the function mark_stack in alloc.c, and\n\
 try to find a way to make it work on your system.\n\
+\n\
+Note that you may get false negatives, depending on the compiler.\n\
+In particular, you need to use -O with GCC for this test.\n\
+\n\
 Please mail the result to <emacs-devel@gnu.org>.\n\
 "