1. Andrew Wiley
  2. gdc

Commits

Iain Buclaw  committed 2a96095

Revert f03006f6747e, seems no longer needed after making other changes.

  • Participants
  • Parent commits c34a070
  • Branches default

Comments (0)

Files changed (1)

File d/d-objfile.cc

View file
                 || DECL_INITIAL(decl_tree) == error_mark_node)
             DECL_COMMON(decl_tree) = 1;
     }
-    DECL_COMDAT(decl_tree) = 1;
 }
 
 void
     if (s->prettyIdent)
         DECL_NAME(t) = get_identifier(s->prettyIdent);
 
-    mark_decl_referenced(t);
-
     d_add_global_declaration(t);
 
     // %% Hack
     if (s->prettyIdent)
         DECL_NAME(t) = get_identifier(s->prettyIdent);
 
-    mark_decl_referenced(t);
-
     d_add_global_declaration(t);
 
     if (!targetm.have_ctors_dtors)