diff options
| author | fdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-25 19:32:48 +0000 |
|---|---|---|
| committer | fdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-25 19:32:48 +0000 |
| commit | 9f1b2bcf66046225ae5e0b15236f8176e8ed2647 (patch) | |
| tree | 68aefb11e267b8b894dec8ab1bc6c6da96a9fae8 /libjava/classpath/lib/java/sql/Array.class | |
| parent | c5faecd5d979741ba6124898ffddc0a41572c6e0 (diff) | |
| download | ppe42-gcc-9f1b2bcf66046225ae5e0b15236f8176e8ed2647.tar.gz ppe42-gcc-9f1b2bcf66046225ae5e0b15236f8176e8ed2647.zip | |
2012-07-25 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/54075
* include/bits/hashtable.h
(_Hashtable<>::_Hashtable(_InputIterator, _InputIterator,
size_type, ...): Remove std::max usage to guarantee that hashtable
state is consistent with hash policy state.
(_Hashtable<>::rehash): Likewise. Set _M_prev_resize to 0 to avoid
the hashtable to be shrinking on next insertion.
* testsuite/23_containers/unordered_set/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_multiset/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_map/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_multimap/modifiers/reserve.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189863 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/java/sql/Array.class')
0 files changed, 0 insertions, 0 deletions

