http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48109

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.03.14 10:29:40
     Ever Confirmed|0                           |1

--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-14 10:29:40 
UTC ---
(In reply to comment #1)
> Not sure it matters, but, marking them as used should be enough...  Note, 
> there
> are a couple of ways to mark things.  TREE_USED and the lto incantation.

they never exist to be marked:


handle_next_class_ref (tree chain)
{
  const char *name = IDENTIFIER_POINTER (TREE_VALUE (chain));
  char *string = (char *) alloca (strlen (name) + 30);

  sprintf (string, ".objc_class_name_%s", name);

#ifdef ASM_DECLARE_UNRESOLVED_REFERENCE
  ASM_DECLARE_UNRESOLVED_REFERENCE (asm_out_file, string);

>>>>  this just emits .lazy_reference .objc_class_name_xxxxx

#else
  return ; /* NULL build for targets other than Darwin.  */
#endif
}

Reply via email to