Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!MIT.EDU!Raeburn From: Raeburn@MIT.EDU (Ken Raeburn) Newsgroups: gnu.g++.bug Subject: _JBLEN problems again Message-ID: <8910120119.AA20506@PROMETHEUS.MIT.EDU> Date: 12 Oct 89 01:19:17 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 42 Configuration: vax, 4.3BSD Version: 1.36.0- Change log: Wed Oct 11 17:03:47 1989 Ken Raeburn (raeburn at prometheus) * cplus-except.c (_JBLEN): Define this using sizeof(jmp_buf) if it isn't already defined. * Dirk Grunwald's MIPS support: * collect.c: Replaced. * gcc.c: Changes for running COLLECT if needed. * (gcc) tm-mips.h: Definitions needed for COLLECT to build properly for PMAX. * cplus-method.c (build_decl_overload): Check TREE_CHAIN(parms) before using it. (Patch added by Tiemann today and posted; not commented here in distribution.) Wed Oct 11 05:37:12 1989 Michael Tiemann (tiemann at arkesden) This patch needed to be added to get cplus-except.c to compile: *** cplus-except.c~ Mon Oct 2 05:53:52 1989 --- cplus-except.c Wed Oct 11 20:57:59 1989 *************** *** 37,42 **** --- 37,45 ---- /* Can you believe they forgot this? */ #define _JBLEN 11 #endif + #ifndef _JBLEN + #define _JBLEN (sizeof(jmp_buf)/sizeof(int)) + #endif tree exception_label_decl; I haven't examined the code that uses _JBLEN thoroughly; it might be better to subtract one from the value above, but I doubt an extra word will cause problems.