[Bug bootstrap/15545] [3.5 Regression] stage1/xgcc fails to build cgraph.c

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu May 20 23:44:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-19 23:47 -------
Known bug, it was caused by Zack's patch:
2004-05-18  Zack Weinberg  <zack@codesourcery.com>

        * cgraph.c (hash_node, eq_node, cgraph_node, cgraph_remove_node)
        (cgraph_varpool_hash_node, eq_cgraph_varpool_node)
        (cgraph_varpool_node):
        Use DECL_UID for the key, not DECL_ASSEMBLER_NAME.
        (cgraph_function_possibly_inlined_p): Use the decl itself for
        the key, not DECL_ASSEMBLER_NAME.
        (change_decl_assembler_name): No need to muck with the hash tables.
        (cgraph_node_for_identifier, cgraph_varpool_node_for_identifier):
        Delete.
        * cgraphunit.c (cgraph_mark_inline_edge): Use the decl itself
        for the key, not DECL_ASSEMBLER_NAME.
        * cgraph.h: Remove prototypes of deleted functions.
        * varasm.c (mark_referenced): Just set TREE_SYMBOL_REFERENCED.
        (mark_decl_referenced): New function.
        * tree.h: Prototype mark_decl_referenced.
        * final.c (output_addr_const) <case SYMBOL_REF>: Call
        mark_decl_referenced before assemble_name.
        * c-decl.c (finish_decl): Use mark_decl_referenced.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zack at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-19 23:47:18
               date|                            |
            Summary|stage1/xgcc fails to build  |[3.5 Regression] stage1/xgcc
                   |cgraph.c                    |fails to build cgraph.c
   Target Milestone|---                         |3.5.0


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



More information about the Gcc-bugs mailing list