re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO)
authorJan Hubicka <jh@suse.cz>
Mon, 10 Jan 2011 23:37:45 +0000 (00:37 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 10 Jan 2011 23:37:45 +0000 (23:37 +0000)
PR lto/45375
* lto-cgraph.c (input_profile_summary): Remove overactive sanity check.

From-SVN: r168644

gcc/ChangeLog
gcc/lto-cgraph.c

index 2c5b123a4bbcdb8288dfd1078dc90bfabdf9153d..e565b2e92e575baccc6c02d95f6bf4f6079e3c76 100644 (file)
@@ -1,3 +1,8 @@
+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
index 6ca7abc052ff711a7a74656481695ec46b11d03c..387e2b03e4762d1664fa581b90f82764ddd59480 100644 (file)
@@ -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);
     }
 
 }