[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sat May 15 02:25:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list