re PR tree-optimization/55104 (ice in inline_call, at ipa-inline-transform.c:269)
authorJan Hubicka <jh@suse.cz>
Thu, 1 Nov 2012 12:44:13 +0000 (13:44 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 1 Nov 2012 12:44:13 +0000 (12:44 +0000)
PR middle-end/55104
* ipa-inline-transform.c (inline_call): Silence an sanity check until
ipa-cp issue if fixed.

From-SVN: r193062

gcc/ChangeLog
gcc/ipa-inline-transform.c

index 64b2cbe36534873486212ffb08f6632d04fc31ff..ed9fbafdfdfb18eb81030094aae57342d32d41a4 100644 (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.
index 7bb291c7d6439a73e781afa13f068d8c3b0029f4..766757ef6e7e3f7cba6aaace83a4fd6625fbe263 100644 (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