This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Dec 2007 18:58:07 -0000
- Subject: [Bug bootstrap/34003] [4.2/4.3 Regression] gcc 4.3.0 unable to bootstrap itself; Unsatisfied symbols: ggc_free
- References: <bug-34003-11564@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #30 from jakub at gcc dot gnu dot org 2007-12-13 18:58 -------
If PA wants to keep the guards (!TREE_ASM_WRITTEN && SYMBOL_REF_REFERENCED_P
()),
it can, but that surely can be done in ASM_OUTPUT_EXTERNAL too, doesn't need
any deferral. In that case this will be broken again. From what I see this is
caused by
http://gcc.gnu.org/ml/gcc-patches/2005-06/msg02029.html
which removed copying of DECL_RTL from olddecl to newdecl (but kept the
DECL_RTL_SET_P hunk at the end, which now never triggers). Because of that
change DECL_RTL after duplicate_decls is now created from scratch and so the
PA specific bit whether it was referenced or not is not set.
I guess we should fix merge_decls no matter what PA chooses.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34003