summaryrefslogtreecommitdiff
path: root/gcc/lto-cgraph.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-10 23:37:45 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-10 23:37:45 +0000
commita3efa2418e1238c1b4b94cbb0c7ab2a74c864878 (patch)
tree5b4cafeadd8bdf821a6522fa32154a7242825994 /gcc/lto-cgraph.c
parent566d3fc7b35c1b8e379e8fa52fba5a109689aa06 (diff)
downloadgcc-a3efa2418e1238c1b4b94cbb0c7ab2a74c864878.tar.gz
PR lto/45375
* lto-cgraph.c (input_profile_summary): Remove overactive sanity check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168644 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-cgraph.c')
-rw-r--r--gcc/lto-cgraph.c3
1 files changed, 0 insertions, 3 deletions
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);
}
}