(assemble_name): Set TREE_SYMBOL_REFERENCED on the
authorJason Merrill <merrill@gnu.org>
Thu, 23 Jun 1994 23:19:54 +0000 (23:19 +0000)
committerJason Merrill <merrill@gnu.org>
Thu, 23 Jun 1994 23:19:54 +0000 (23:19 +0000)
        identifier for `name'.

From-SVN: r7550

gcc/varasm.c

index ebf8deda0f3a2acf1372463b04d57a0fbbe61c6a..928a941f48559dc46808558320b2840b1acac8bf 100644 (file)
@@ -1484,6 +1484,9 @@ assemble_name (file, name)
      FILE *file;
      char *name;
 {
+  tree id = get_identifier (name);
+  TREE_SYMBOL_REFERENCED (id) = 1;
+
   if (name[0] == '*')
     {
       if (output_bytecode)