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

Reply via email to