This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ Issue on GCC 3.0 branch
- To: dave at hiauly1 dot hia dot nrc dot ca
- Subject: Re: C++ Issue on GCC 3.0 branch
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Wed, 25 Apr 2001 10:26:16 -0700
- Cc: law at cygnus dot com, gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <no.id><200104220233.WAA12640@hiauly1.hia.nrc.ca>
2001-04-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
* 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.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com