This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53321] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jul 2012 15:57:34 +0000
- Subject: [Bug bootstrap/53321] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled
- Auto-submitted: auto-generated
- References: <bug-53321-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53321
--- Comment #16 from Uros Bizjak <ubizjak at gmail dot com> 2012-07-03 15:57:34 UTC ---
Following patch fixes testcase failure for me, and also enables lto-bootstrap:
--cut here--
Index: ipa.c
===================================================================
--- ipa.c (revision 189217)
+++ ipa.c (working copy)
@@ -449,11 +449,6 @@ symtab_remove_unreachable_nodes (bool before_inlin
verify_symtab ();
#endif
- /* If we removed something, perhaps profile could be improved. */
- if (changed && optimize && inline_edge_summary_vec)
- FOR_EACH_DEFINED_FUNCTION (node)
- cgraph_propagate_frequency (node);
-
return changed;
}
--cut here--