]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* profile.c (compute_branch_probabilities): Do not sanity check run_max.
authorJan Hubicka <jh@suse.cz>
Tue, 19 Nov 2013 00:53:13 +0000 (01:53 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 19 Nov 2013 00:53:13 +0000 (00:53 +0000)
From-SVN: r204992

gcc/ChangeLog
gcc/profile.c

index 9b858ac88512cf4e2c8b042dae2231d6b56600d1..6acc4e8aef01c49cc6de335a45f84df2f8302001 100644 (file)
@@ -1,3 +1,7 @@
+2013-11-18  Jan Hubicka  <jh@suse.cz>
+
+       * profile.c (compute_branch_probabilities): Do not sanity check run_max.
+
 2013-11-18 Kenneth Zadeck <zadeck@naturalbridge.com>
 
        * tree.c (int_fits_type_p): Change GET_MODE_BITSIZE to
index 5f73b2ca462d3a9a578b412fc85b8e6b984db6e2..098a4be25df7e26973e61931502ff5272ec8a8d6 100644 (file)
@@ -528,11 +528,6 @@ compute_branch_probabilities (unsigned cfg_checksum, unsigned lineno_checksum)
   /* Very simple sanity checks so we catch bugs in our profiling code.  */
   if (!profile_info)
     return;
-  if (profile_info->run_max * profile_info->runs < profile_info->sum_max)
-    {
-      error ("corrupted profile info: run_max * runs < sum_max");
-      exec_counts = NULL;
-    }
 
   if (profile_info->sum_all < profile_info->sum_max)
     {