Fix profile_quality sanity check.
commita84529ad481415fdf25cd34913bd2f7f22f5d2cc
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jan 2018 12:24:55 +0000 (23 12:24 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jan 2018 12:24:55 +0000 (23 12:24 +0000)
tree912046844c2e3140f6472ef118a01bc31e65bdb7
parentca488d04769b3563eb3c473c69ac9510dedb380d
Fix profile_quality sanity check.

2018-01-22  Martin Liska  <mliska@suse.cz>

* profile-count.h (enum profile_quality): Add
profile_uninitialized as the first value. Do not number values
as they are zero based.
(profile_count::verify): Update sanity check.
(profile_probability::verify): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256982 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/profile-count.h