summaryrefslogtreecommitdiff
path: root/gcc/ipa-inline-transform.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-01 12:44:13 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-01 12:44:13 +0000
commitc304cac0e9f493f0ad2650949040930a566f858a (patch)
treebc7f67f4162e4dcaeaea1285f65180b7b3e1fba9 /gcc/ipa-inline-transform.c
parentc78757312e5dfd44ed98f349711940e09d0bc84d (diff)
downloadgcc-c304cac0e9f493f0ad2650949040930a566f858a.tar.gz
PR middle-end/55104
* ipa-inline-transform.c (inline_call): Silence an sanity check until ipa-cp issue if fixed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193062 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline-transform.c')
-rw-r--r--gcc/ipa-inline-transform.c6
1 files changed, 4 insertions, 2 deletions
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