This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r159280 - in /trunk/gcc: ChangeLog lto-cgraph.c...
- From: hubicka at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 11 May 2010 15:52:37 -0000
- Subject: r159280 - in /trunk/gcc: ChangeLog lto-cgraph.c...
Author: hubicka
Date: Tue May 11 15:52:36 2010
New Revision: 159280
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159280
Log:
* lto-symtab.c (lto_symtab_free): New function.
* lto-streamer.h (lto_symtab_free): Declare.
* lto-cgraph.c (reachable_from_other_partition_p): Export; do not assume
that if function is needed it is reachable.
(lto_output_node): See if it the function is reachable or referenced.
(output_cgraph): Update call of lto_output_node.
* lto-streamer.h (reachable_from_other_partition_p): Declare.
* lto.c (lto_fixup_decls): Free no longer needed lto_global_var_decls
vector.
* lto.c (lto_1_to_1_map): Remove some no longer needed checks.
(lto_promote_cross_file_statics): Never promote DECL_EXTERNAL;
use reachable_from_other_partition_p and
referenced_from_other_partition_p test.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-cgraph.c
trunk/gcc/lto-streamer.h
trunk/gcc/lto-symtab.c
trunk/gcc/lto/ChangeLog
trunk/gcc/lto/lto.c