]> git.eshelyaron.com Git - emacs.git/commitdiff
(SETJMP_WILL_NOT_WORK): Add note.
authorDave Love <fx@gnu.org>
Thu, 14 Nov 2002 14:12:12 +0000 (14:12 +0000)
committerDave Love <fx@gnu.org>
Thu, 14 Nov 2002 14:12:12 +0000 (14:12 +0000)
src/alloc.c

index 728c5f9557282152c0e52fbd9c62981270f5e22f..29cb1de5826958b8ecda7b7445a4ed2711a85603 100644 (file)
@@ -3566,6 +3566,10 @@ mark_memory (start, end)
     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 @@ solution for your system.\n\
 \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\
 "