OSDN Git Service

PR lto/45375
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jan 2011 23:37:45 +0000 (23:37 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Jan 2011 23:37:45 +0000 (23:37 +0000)
* 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

gcc/ChangeLog
gcc/lto-cgraph.c

index 2c5b123..e565b2e 100644 (file)
@@ -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.
 
index 6ca7abc..387e2b0 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);
     }
 
 }