* profile.c (compute_branch_probabilities): Do not sanity check run_max.
From-SVN: r204992
This commit is contained in:
parent
1d0b33343a
commit
6fec8b036d
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user