This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/65654] [5 Regression] 447.dealII in SPEC CPU 2006 failed to build with LTO
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Apr 2015 20:20:09 +0000
- Subject: [Bug ipa/65654] [5 Regression] 447.dealII in SPEC CPU 2006 failed to build with LTO
- Auto-submitted: auto-generated
- References: <bug-65654-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65654
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I am testing the following:
Index: ipa-inline-transform.c
===================================================================
--- ipa-inline-transform.c (revision 221859)
+++ ipa-inline-transform.c (working copy)
@@ -304,7 +304,8 @@ inline_call (struct cgraph_edge *e, bool
struct cgraph_node *callee = e->callee->ultimate_alias_target ();
bool new_edges_found = false;
-#ifdef ENABLE_CHECKING
+ /* This is used only for assert bellow. */
+#if 0
int estimated_growth = estimate_edge_growth (e);
bool predicated = inline_edge_summary (e)->predicate != NULL;
#endif
@@ -375,7 +376,10 @@ inline_call (struct cgraph_edge *e, bool
to->calls_comdat_local = false;
}
-#ifdef ENABLE_CHECKING
+ /* FIXME: This assert suffers from roundoff errors, disable it for GCC 5
+ and revisit it after conversion to sreals in GCC 6.
+ See PR 65654. */
+#if 0
/* Verify that estimated growth match real growth. Allow off-by-one
error due to INLINE_SIZE_SCALE roudoff errors. */
gcc_assert (!update_overall_summary || !overall_size || new_edges_found