Changeset 1422


Ignore:
Timestamp:
May 2, 2004, 8:00:30 AM (21 years ago)
Author:
bird
Message:

#1040: added cludge to make assemble_name() to reference the identifier DECL_ASSEMBLER_NAME() will return for the name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/gcc/varasm.c

    • Property cvs2svn:cvs-rev changed from 1.1.1.2 to 1.2
    r1421 r1422  
    17801780  id = maybe_get_identifier (real_name);
    17811781  if (id)
    1782     TREE_SYMBOL_REFERENCED (id) = 1;
     1782      TREE_SYMBOL_REFERENCED (id) = 1;
     1783
     1784  /* Some code assume that this is the identifier returned
     1785     by DECL_ASSEMBLER_NAME (). However, for GCC-OS2 it's not
     1786     since the calling conventions _Optlink, __stdcall, and
     1787     _System name encodings are included in the identifier
     1788     returned by DECL_ASSEMBLER_NAME ().
     1789     Therefore we need this extra little cludge here. */
     1790  if (name != real_name)
     1791    {
     1792      id = maybe_get_identifier (name);
     1793      if (id)
     1794          TREE_SYMBOL_REFERENCED (id) = 1;
     1795    }
    17831796
    17841797  if (name[0] == '*')
Note: See TracChangeset for help on using the changeset viewer.