aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2011-01-11 00:37:45 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2011-01-10 23:37:45 +0000
commit345fdcb710114c03a9f9a4413607979b687948fd (patch)
tree5b4cafeadd8bdf821a6522fa32154a7242825994 /gcc
parentc459c97b48db9873096c6efed9180316e593dfe1 (diff)
downloadgcc-345fdcb710114c03a9f9a4413607979b687948fd.zip
gcc-345fdcb710114c03a9f9a4413607979b687948fd.tar.gz
gcc-345fdcb710114c03a9f9a4413607979b687948fd.tar.bz2
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
Diffstat (limited to 'gcc')
-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 2c5b123..e565b2e 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 6ca7abc..387e2b0 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);
}
}