aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2013-01-09 21:22:26 +0000
committerJan Hubicka <jh@suse.cz>2013-01-09 21:22:26 +0000
commit36d0496194e41bca390d2b5624066b2764bda5ab (patch)
tree164357dbec9ec89be57c88630427a8194090c08c /gcc/lto
parent6e7c09c4e3b3ef47a9782945acc8e36ff1a074cf (diff)
PR lto/45375
* ipa-inline.c (ipa_inline): Remove extern inlines and virtual functions. * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. * lto.c (do_whole_program_analysis): Remove unreachable nodes after IPA. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195066 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog5
-rw-r--r--gcc/lto/lto.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 061408fc0b8..503ff80460b 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-09 Jan Hubicka <jh@suse.cz>
+
+ PR lto/45375
+ * lto.c (do_whole_program_analysis): Remove unreachable nodes after IPA.
+
2012-12-10 H.J. Lu <hongjiu.lu@intel.com>
PR lto/55466
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index 915303e7e09..3bd890a65e4 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -3215,6 +3215,7 @@ do_whole_program_analysis (void)
cgraph_state = CGRAPH_STATE_IPA_SSA;
execute_ipa_pass_list (all_regular_ipa_passes);
+ symtab_remove_unreachable_nodes (false, dump_file);
if (cgraph_dump_file)
{