This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/53321] [4.8 Regression] LTO bootstrap failed with bootstrap-profiled


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--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]