From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John David Anglin" To: dave@hiauly1.hia.nrc.ca (John David Anglin) Cc: mark@codesourcery.com, law@cygnus.com, gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: C++ Issue on GCC 3.0 branch Date: Sat, 21 Apr 2001 19:33:00 -0000 Message-id: <200104220233.WAA12640@hiauly1.hia.nrc.ca> References: X-SW-Source: 2001-04/msg01037.html > 2001-04-21 John David Anglin > > * builtins.c (expand_builtin_setjmp_setup): Set nonlocal flag in label. Close but no cigar. This one actually bootstraps with no regressions under i686 linux. However, I think it only addresses the symptom of the problem. There must be a label uses problem somewhere. In any event, the testcase for duplicate symbols will compile with the patch installed. Dave -- J. David Anglin dave.anglin@nrc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6605) 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);