profile-count.h (profile_count::oeprator>=): Fix typo by inverting return condition when *this is precise zero.
* profile-count.h (profile_count::oeprator>=): Fix typo by inverting return condition when *this is precise zero. From-SVN: r266885
This commit is contained in:
parent
09fb2e2c94
commit
0876cb1c7b
@ -1,3 +1,8 @@
|
||||
2018-12-07 Bin Cheng <bin.cheng@linux.alibaba.com>
|
||||
|
||||
* profile-count.h (profile_count::oeprator>=): Fix typo by inverting
|
||||
return condition when *this is precise zero.
|
||||
|
||||
2018-12-07 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR target/85593
|
||||
|
@ -883,7 +883,7 @@ public:
|
||||
if (other == profile_count::zero ())
|
||||
return true;
|
||||
if (*this == profile_count::zero ())
|
||||
return !(other == profile_count::zero ());
|
||||
return (other == profile_count::zero ());
|
||||
gcc_checking_assert (compatible_p (other));
|
||||
return m_val >= other.m_val;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user