diff options
Diffstat (limited to 'gcc/profile-count.c')
-rw-r--r-- | gcc/profile-count.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/profile-count.c b/gcc/profile-count.c index 6198675..6f6c0a9 100644 --- a/gcc/profile-count.c +++ b/gcc/profile-count.c @@ -312,6 +312,8 @@ profile_count::to_sreal_scale (profile_count in, bool *known) const *known = true; if (*this == zero ()) return 0; + if (m_val == in.m_val) + return 1; if (!in.m_val) { |