summaryrefslogtreecommitdiff
path: root/gcc/lto-cgraph.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-04-30 20:44:41 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-04-30 18:44:41 +0000
commitace72c88c59513b361ce1cfffed07e14990b6bba (patch)
treecb91ee477b569e52145f60b6fcf1d8acc58becd3 /gcc/lto-cgraph.c
parentbf65e4b1840a177da33775556f9b7f7eecf66fc4 (diff)
downloadgcc-ace72c88c59513b361ce1cfffed07e14990b6bba.tar.gz
lto.c (get_filename_for_set): Look for cgraph node and if none found, use default name.
* lto.c (get_filename_for_set): Look for cgraph node and if none found, use default name. (lto_wpa_write_files): Write any non-empty partition. * cgraph.h (cgraph_node_set_nonempty_p, varpool_node_set_nonempty_p): New. * lto-cgraph.c (input_cgraph): Remove call to lto_mark_file_for_ltrans. * lto-streamer.h (lto_file_decl_data): Remove needs_ltrans_p. (lto_file_needs_ltrans_p, lto_mark_file_for_ltrans, cgraph_node_set_needs_ltrans_p): Remove. From-SVN: r158943
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r--gcc/lto-cgraph.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index 8a8855a70c1..3f7a22b7367 100644
--- a/gcc/lto-cgraph.c
+++ b/gcc/lto-cgraph.c
@@ -962,10 +962,6 @@ input_cgraph (void)
input_varpool_1 (file_data, ib);
lto_destroy_simple_input_block (file_data, LTO_section_varpool,
ib, data, len);
-
- /* Assume that every file read needs to be processed by LTRANS. */
- if (flag_wpa)
- lto_mark_file_for_ltrans (file_data);
}
/* Clear out the aux field that was used to store enough state to