r166812 - in /trunk/gcc: ChangeLog cgraph.h cgr...
hubicka@gcc.gnu.org
hubicka@gcc.gnu.org
Tue Nov 16 18:15:00 GMT 2010
Author: hubicka
Date: Tue Nov 16 18:15:17 2010
New Revision: 166812
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166812
Log:
* cgraph.h (+varpool_can_remove_if_no_refs): Move here from ...;
when !flag_toplevel_reorder do not remove unless variable is
COMDAT or ARTIFICIAL.
* ipa.c (varpool_can_remove_if_no_refs): ... here.
(cgraph_remove_unreachable_nodes): Only analyzed nodes needs to stay.
* cgraphunit.c (cgraph_analyze_functions): Dump varpool, too.
* varpool.c (decide_is_variable_needed): Do not handle visibility issues.
(varpool_finalize_decl): Likewise.
(varpool_remove_unreferenced_decls): Use varpool_mark_needed_node; update
outdated comment on DECL_RTL_SET_P check.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.h
trunk/gcc/cgraphunit.c
trunk/gcc/ipa.c
trunk/gcc/varpool.c
More information about the Gcc-cvs
mailing list