This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r120527 - in /trunk/gcc: ChangeLog Makefile.in ...
- From: hubicka at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 06 Jan 2007 17:58:41 -0000
- Subject: r120527 - in /trunk/gcc: ChangeLog Makefile.in ...
Author: hubicka
Date: Sat Jan 6 17:58:40 2007
New Revision: 120527
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120527
Log:
* tree-pass.h (pass_build_cgraph_edges): Declare.
* cgraphunit.c (record_refernece): Move to cgraphbuild.c
(visited_nodes): Remove.
(cgraph_create_edges): Move to cgraphbuild.c; rename to
build_cgrpah_edges; make visited_nodes local.
(cgraph_process_new_functions): DO not call initialize_inline_failed.
(record_references_in_initializer): Move to cgraphbuild.c
(initialize_inline_failed, rebuild_cgraph_edges,
pass_rebuild_cgraph_edges): Move to cgraphbuild.c.
(verify_cgraph_node): Make visited_nodes local.
(cgraph_analyze_function): Do not call cgraph_create_edges and
initialize_inline_failed.
(cgraph_expand_function): Do not call cgraph_lower_function;
assert that function is already lowered.
* Makefile.in (cgraphbuild.o): New.
* passes.c (init_optimization_passes): Add pass_build_cgraph_edges
at the end of lowering passes.
Added:
trunk/gcc/cgraphbuild.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/cgraphunit.c
trunk/gcc/passes.c
trunk/gcc/tree-pass.h