r266090 - in /trunk/libstdc++-v3: ChangeLog src...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Nov 13 22:58:00 GMT 2018


Author: redi
Date: Tue Nov 13 22:58:00 2018
New Revision: 266090

URL: https://gcc.gnu.org/viewcvs?rev=266090&root=gcc&view=rev
Log:
Remove redundant loop in unsynchronized_pool_resource code

	* src/c++17/memory_resource.cc (bitset::find_first_unset()): Remove
	unused function.
	(bitset::get_first_unset()): Remove loop, if there's are unset bits
	then _M_next_word refers to the first one and there's no need to loop.
	(_Pool::_Pool(size_t, size_t), _Pool::block_size()): Remove dead code.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/src/c++17/memory_resource.cc



More information about the Libstdc++-cvs mailing list