re PR tree-optimization/55104 (ice in inline_call, at ipa-inline-transform.c:269)

PR middle-end/55104
	* ipa-inline-transform.c (inline_call): Silence an sanity check until
	ipa-cp issue if fixed.

From-SVN: r193062
This commit is contained in:
Jan Hubicka 2012-11-01 13:44:13 +01:00 committed by Jan Hubicka
parent 2b4e6bf1d5
commit 621cf8af1d
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2012-11-01 Jan Hubicka <jh@suse.cz>
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 <singhai@google.com>
* doc/invoke.texi: Update -fopt-info documentation.

View File

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