diff options
| author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-19 00:53:13 +0000 |
|---|---|---|
| committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-19 00:53:13 +0000 |
| commit | 810e0e82dc08e1da7c3aef31b937bac1808d7620 (patch) | |
| tree | 05f28464dcf5ec55f036c1685edfb7b671c29037 | |
| parent | 7a45fd9bc7f1545b8e6cc07bb7ed28be844e99a4 (diff) | |
| download | ppe42-gcc-810e0e82dc08e1da7c3aef31b937bac1808d7620.tar.gz ppe42-gcc-810e0e82dc08e1da7c3aef31b937bac1808d7620.zip | |
* profile.c (compute_branch_probabilities): Do not sanity check run_max.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204992 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/profile.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9b858ac8851..6acc4e8aef0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/profile.c b/gcc/profile.c index 5f73b2ca462..098a4be25df 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -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) { |

