------- Comment #3 from jakub at gcc dot gnu dot org  2008-09-01 13:50 -------
The problem is that cgraph_node_for_asm assumes that once it has been called
once, no new cgraph nodes will be created.  But that's not true, at least C++
lang_hooks.callgraph.emit_associated_thunks (decl) adds new cgraph nodes (for
the thunks).  So, either cgraph_create_node should keep populating
assembler_name_hash once that hash table is created, or there should be a
cgraph function which can be called for the late cgraph nodes to get registered
into
the assembler_name_hash.


-- 


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

Reply via email to