libstdc++: Remove redundant branches in countl_one and countr_one [PR 98226]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 10 Dec 2020 21:57:42 +0000 (21:57 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 10 Dec 2020 21:57:42 +0000 (21:57 +0000)
commit2ea62857a3fbdf091ba38cbb62e98dc76b198e2e
tree13d2a963cd3623264921902b964466d5a0a13f28
parent7f359556a772e26eabf8d31e53aae1de6f2f200d
libstdc++: Remove redundant branches in countl_one and countr_one [PR 98226]

There's no need to explicitly check for the maximum value, because the
function we call handles it correctly anyway.

libstdc++-v3/ChangeLog:

PR libstdc++/98226
* include/std/bit (__countl_one, __countr_one): Remove redundant
branches.
libstdc++-v3/include/std/bit