diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 64b2cbe3653..ed9fbafdfdf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-11-01 Jan Hubicka + + PR middle-end/55104 + * ipa-inline-transform.c (inline_call): Silence an sanity check until + ipa-cp issue if fixed. + 2012-11-01 Sharad Singhai * doc/invoke.texi: Update -fopt-info documentation. diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c index 7bb291c7d64..766757ef6e7 100644 --- a/gcc/ipa-inline-transform.c +++ b/gcc/ipa-inline-transform.c @@ -211,7 +211,8 @@ inline_call (struct cgraph_edge *e, bool update_original, struct cgraph_node *callee = cgraph_function_or_thunk_node (e->callee, NULL); bool new_edges_found = false; -#ifdef ENABLE_CHECKING + /* FIXME: re-enable once ipa-cp problem is fixed. */ +#if 0 int estimated_growth = estimate_edge_growth (e); bool predicated = inline_edge_summary (e)->predicate != NULL; #endif @@ -259,7 +260,8 @@ inline_call (struct cgraph_edge *e, bool update_original, if (update_overall_summary) inline_update_overall_summary (to); new_size = inline_summary (to)->size; -#ifdef ENABLE_CHECKING + /* FIXME: re-enable once ipa-cp problem is fixed. */ +#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