summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-03 20:25:01 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-03 20:25:01 +0000
commit6737c56a50e69fd8fcee2eb6c4ee60d7254b13cb (patch)
tree040a8f848fda8dc927f4f64de2f73e9604959ef3 /gcc
parent93b6a5b4100f6c9ec4caa193d8d4f391429f2aa2 (diff)
downloadgcc-6737c56a50e69fd8fcee2eb6c4ee60d7254b13cb.tar.gz
PR ipa/65648
* ipa-inline-transform.c (inline_call): Skip sanity check to work around the ICE git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221861 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/ipa-inline-transform.c8
2 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5a52701eebf..03e8e3e3a35 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2015-04-03 Jan Hubicka <hubicka@ucw.cz>
+ PR ipa/65648
+ * ipa-inline-transform.c (inline_call): Skip sanity check to work
+ around the ICE
+
+2015-04-03 Jan Hubicka <hubicka@ucw.cz>
+
PR ipa/65655
* ipa-inline-analysis.c (edge_set_predicate): Do not redirect
speculative indirect edges to avoid ordering issue.
diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c
index 952659c99fd..99ed512ea96 100644
--- a/gcc/ipa-inline-transform.c
+++ b/gcc/ipa-inline-transform.c
@@ -304,7 +304,8 @@ inline_call (struct cgraph_edge *e, bool update_original,
struct cgraph_node *callee = e->callee->ultimate_alias_target ();
bool new_edges_found = false;
-#ifdef ENABLE_CHECKING
+ /* This is used only for assert bellow. */
+#if 0
int estimated_growth = estimate_edge_growth (e);
bool predicated = inline_edge_summary (e)->predicate != NULL;
#endif
@@ -375,7 +376,10 @@ inline_call (struct cgraph_edge *e, bool update_original,
to->calls_comdat_local = false;
}
-#ifdef ENABLE_CHECKING
+ /* FIXME: This assert suffers from roundoff errors, disable it for GCC 5
+ and revisit it after conversion to sreals in GCC 6.
+ See PR 65654. */
+#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 || new_edges_found