Commit 0876cb1c by Bin Cheng Committed by Bin Cheng

profile-count.h (profile_count::oeprator>=): Fix typo by inverting return…

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
parent 09fb2e2c
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> 2018-12-07 Jakub Jelinek <jakub@redhat.com>
PR target/85593 PR target/85593
...@@ -883,7 +883,7 @@ public: ...@@ -883,7 +883,7 @@ public:
if (other == profile_count::zero ()) if (other == profile_count::zero ())
return true; return true;
if (*this == profile_count::zero ()) if (*this == profile_count::zero ())
return !(other == profile_count::zero ()); return (other == profile_count::zero ());
gcc_checking_assert (compatible_p (other)); gcc_checking_assert (compatible_p (other));
return m_val >= other.m_val; return m_val >= other.m_val;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment