From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" To: mark@codesourcery.com (Mark Mitchell) Cc: law@cygnus.com, gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: C++ Issue on GCC 3.0 branch Date: Wed, 25 Apr 2001 14:04:00 -0000 Message-id: <200104252104.RAA15761@hiauly1.hia.nrc.ca> References: <20010425102616D.mitchell@codesourcery.com> X-SW-Source: 2001-04/msg01240.html > 2001-04-21 John David Anglin > > * builtins.c (expand_builtin_setjmp): Mark next_lab as used. > > --- builtins.c.orig Wed Feb 7 05:24:22 2001 > +++ builtins.c Sat Apr 21 20:18:59 2001 > @@ -617,6 +617,7 @@ > buf_addr = expand_expr (TREE_VALUE (arglist), NULL_RTX, VOIDmode, 0); > > next_lab = gen_label_rtx (); > + LABEL_PRESERVE_P (next_lab) = 1; > cont_lab = gen_label_rtx (); > > expand_builtin_setjmp_setup (buf_addr, next_lab); > > Even with this workaround patch I still get a crash using a cross > compiler, so I guess I'll have to wait for Jeff's reworking of Bernd's > patch. Strange. I just tried it again with the 3.0 source from a few hours ago with no problems. The above patch was the only source change. I just configured with `--with-gnu-as --target=hppa1.1-hp-hpux10.20' and did a make. CFLAGS were the default `-g -O2'. My build gcc was 3.0 20010421 (prerelease). Dave -- J. David Anglin dave.anglin@nrc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6605)