libstdc++: Remove redundant check for zero in std::__popcount
authorJonathan Wakely <jwakely@redhat.com>
Mon, 9 Nov 2020 14:31:13 +0000 (14:31 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 9 Nov 2020 14:54:29 +0000 (14:54 +0000)
commitff4bfb1553cf525d7299bbf7451ac32cfd97ae1b
tree07818d3dc0f190349ee1a4d7a22c41f56594fbc6
parent96f315213f337c2d5a9268f2d3e8337bbdb71bfc
libstdc++: Remove redundant check for zero in std::__popcount

The popcount built-ins work fine for zero, so there's no need to check
for it.

libstdc++-v3/ChangeLog:

* include/std/bit (__popcount): Remove redundant check for zero.
libstdc++-v3/include/std/bit