comparison src/alloc.c @ 48316:043dddbc037a

(SETJMP_WILL_NOT_WORK): Add note.
author Dave Love <fx@gnu.org>
date Thu, 14 Nov 2002 14:12:12 +0000
parents 1afd007f814f
children 3bf6323fe318
comparison
equal deleted inserted replaced
48315:7b17eff6f508 48316:043dddbc037a
3564 3564
3565 for (pp = (void **) start; (void *) pp < end; ++pp) 3565 for (pp = (void **) start; (void *) pp < end; ++pp)
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
3572 static int setjmp_tested_p, longjmps_done; 3576 static int setjmp_tested_p, longjmps_done;
3573 3577
3591 marking will not work on your system. We will need a system-dependent\n\ 3595 marking will not work on your system. We will need a system-dependent\n\
3592 solution for your system.\n\ 3596 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
3599 3607
3600 /* Perform a quick check if it looks like setjmp saves registers in a 3608 /* Perform a quick check if it looks like setjmp saves registers in a