Fix profile_quality sanity check.
authorMartin Liska <mliska@suse.cz>
Tue, 23 Jan 2018 12:24:55 +0000 (13:24 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 23 Jan 2018 12:24:55 +0000 (12:24 +0000)
commit175946876361bd3ac360361e67d12761974a479e
tree912046844c2e3140f6472ef118a01bc31e65bdb7
parentd55d1e4fa9fbab3e47b91391c6a3986ca9f6f1ff
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.

From-SVN: r256982
gcc/ChangeLog
gcc/profile-count.h