cgraph.c (cgraph_nodes_queue): Declare.
authorJan Hubicka <jh@suse.cz>
Mon, 23 Jun 2003 21:11:44 +0000 (23:11 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 23 Jun 2003 21:11:44 +0000 (21:11 +0000)
commit1668aabc227d71870526e434415a6800cdeeba2f
treea308ac6242dd91f73480ea940c0237afcc47f134
parent89ce1c8f763e1c3485d97d3c8c74f75f94bf0e09
cgraph.c (cgraph_nodes_queue): Declare.

* cgraph.c (cgraph_nodes_queue): Declare.
(eq_node): Take identifier as p2.
(cgraph_node): Update htab_find_slot_with_hash call.
(cgraph_node_for_identifier): New.
(cgraph_mark_needed_node): Move here from cgraphunit.c.
* cgraph.h (cgraph_nodes_queue): Declare.
(cgraph_node_for_identifier): Declare.
* cgraphunit.c (cgraph_finalize_function): Collect entry points here
instead of in cgraph_finalize_compilation_unit; constructors and
destructors are entry points.
(cgraph_finalize_compilation_unit): Reorganize debug outout;
examine nested functions after lowerng; call collect_functions hook.
(cgraph_mark_local_functions): DECL_COMDAT functions are not local.
(cgraph_finalize_compilation_unit): Do not collect entry points.
* varasm.c: Include cgraph.h
(assemble_name): Mark referenced identifier as needed.

* cgraphunit.c (record_call_1): Use get_callee_fndecl.

From-SVN: r68390
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/cgraphunit.c
gcc/varasm.c