From 30f637f83995baba49750edbeb7e99c72af01290 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 14 Nov 2002 14:12:12 +0000 Subject: [PATCH] (SETJMP_WILL_NOT_WORK): Add note. --- src/alloc.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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) 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 .\n\ " -- 2.39.2