profile-count.h (profile_count::max): Work on profiles of different type.
authorJan Hubicka <hubicka@ucw.cz>
Thu, 28 Nov 2019 16:58:24 +0000 (17:58 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 28 Nov 2019 16:58:24 +0000 (16:58 +0000)
commit97dd1ee8de2ceb45b1572964bc2849d32cb2b322
tree18d1ab815021837250a9450212e597225f7949dd
parent2dfd63ded836e993c3693da957142b0228c61607
profile-count.h (profile_count::max): Work on profiles of different type.

* profile-count.h (profile_count::max): Work on profiles of different
type.
(profile_count::apply_scale): Be sure that ret is not local or global0
type if num is global.

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