From 345fdcb710114c03a9f9a4413607979b687948fd Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 11 Jan 2011 00:37:45 +0100 Subject: [PATCH] re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO) PR lto/45375 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. From-SVN: r168644 --- gcc/ChangeLog | 5 +++++ gcc/lto-cgraph.c | 3 --- 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,3 +1,8 @@ +2011-01-10 Jan Hubicka + + PR lto/45375 + * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. + 2011-01-10 Jan Hubicka PR lto/45375 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); } }