This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262947 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: redi at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 24 Jul 2018 13:51:51 -0000
- Subject: r262947 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: redi
Date: Tue Jul 24 13:51:50 2018
New Revision: 262947
URL: https://gcc.gnu.org/viewcvs?rev=262947&root=gcc&view=rev
Log:
Minor refactoring in <bit> header
* include/std/bit (__countl_zero, __countr_zero, __popcount): Use
local variables for number of digits instead of type aliases.
(__log2p1): Remove redundant branch also checked in __countl_zero.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/bit