summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/lto-cgraph.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2c5b123a4bb..e565b2e92e5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,11 @@
2011-01-10 Jan Hubicka <jh@suse.cz>
PR lto/45375
+ * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
+
+2011-01-10 Jan Hubicka <jh@suse.cz>
+
+ PR lto/45375
* profile.c (read_profile_edge_counts): Ignore profile inconistency
when correcting profile.
diff --git a/gcc/lto-cgraph.c b/gcc/lto-cgraph.c
index 6ca7abc052f..387e2b03e47 100644
--- a/gcc/lto-cgraph.c
+++ b/gcc/lto-cgraph.c
@@ -1435,9 +1435,6 @@ input_profile_summary (struct lto_input_block *ib,
{
file_data->profile_info.runs = runs;
file_data->profile_info.sum_max = lto_input_uleb128 (ib);
- if (runs > file_data->profile_info.sum_max)
- fatal_error ("Corrupted profile info in %s: sum_max is smaller than runs",
- file_data->file_name);
}
}
OpenPOWER on IntegriCloud