2006-09-22 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Sep 2006 17:51:01 +0000 (17:51 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Sep 2006 17:51:01 +0000 (17:51 +0000)
commit8cba3b277932bfec781ab89b8d16b05272ad226f
treec7db9dca7c102d02d449f68128c233d7da326385
parent6023f93da324008257426fd87610669ad541760b
2006-09-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/29134 (vector<bool> bits)
* include/bits/stl_bvector.h (vector<bool>::max_size):
Use allocator' max_size.
* testsuite/23_containers/vector/bool/capacity/29134.cc: New.

* testsuite/23_containers/deque/capacity/29134-2.cc: Minor tweak.
* testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117148 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_bvector.h
libstdc++-v3/testsuite/23_containers/deque/capacity/29134-2.cc
libstdc++-v3/testsuite/23_containers/vector/bool/capacity/29134.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/capacity/29134-2.cc