This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10
- From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2010 02:25:22 -0000
- Subject: [Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10
- References: <bug-44146-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from howarth at nitro dot med dot uc dot edu 2010-05-15 02:25 -------
I also noticed that in gcc/config/darwin.c that we have...
/* Do what output_addr_const will do when we actually call it. */
if (SYMBOL_REF_DECL (p->symbol))
mark_decl_referenced (SYMBOL_REF_DECL (p->symbol));
in machopic_validate_stub_or_non_lazy_ptr(). We are no longer synchronized
with output_addr_const() so perhaps this should now be...
/* Do what output_addr_const will do when we actually call it. */
if (SYMBOL_REF_DECL (p->symbol)) {
mark_decl_referenced (SYMBOL_REF_DECL (p->symbol));
assemble_external (SYMBOL_REF_DECL (p->symbol));
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44146