As promised, I tried to look into the problem little futher. The following
patch fixes all crashes for me and I was unable to reproduce the bug anymore. I
would really like to hear if it works for you too. I am especially interested
to know if it works on Alpha, because I cannot test it myself.

PS. The code in question is in mashine independent, so I have reason to believe
that this patch may fix the problem for other platforms too...


Index: contrib/gcc/except.c
===================================================================
RCS file: /home/ncvs/src/contrib/gcc/except.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 except.c
--- contrib/gcc/except.c        1999/10/16 06:03:55     1.1.1.2
+++ contrib/gcc/except.c        2000/01/15 04:06:03
@@ -724,9 +724,11 @@
      rtx handler_label;
 {
   emit_label (handler_label);
-  
+
 #ifdef HAVE_exception_receiver
+#ifdef DONT_USE_BUILTIN_SETJMP
   if (! exceptions_via_longjmp)
+#endif
     if (HAVE_exception_receiver)
       emit_insn (gen_exception_receiver ());
 #endif



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to