aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-11-01 13:44:13 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2012-11-01 12:44:13 +0000
commit621cf8af1d1f118d2e2bffb9b753d28ab9777479 (patch)
treebc7f67f4162e4dcaeaea1285f65180b7b3e1fba9
parent2b4e6bf1d556f89711726eaa02b125ed6f39a82f (diff)
downloadgcc-621cf8af1d1f118d2e2bffb9b753d28ab9777479.zip
gcc-621cf8af1d1f118d2e2bffb9b753d28ab9777479.tar.gz
gcc-621cf8af1d1f118d2e2bffb9b753d28ab9777479.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/ipa-inline-transform.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 64b2cbe36..ed9fbaf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c
index 7bb291c..766757e 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