OSDN Git Service

2012-02-21 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2012-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
2
3         PR libstdc++/52317
4         * python/Makefile.am: Update boilerplate license text to GPLv3.
5         * include/profile/unordered_map: Likewise.
6         * include/profile/set: Likewise.
7         * include/profile/base.h: Likewise.
8         * include/profile/impl/profiler_list_to_slist.h: Likewise.
9         * include/profile/impl/profiler_container_size.h: Likewise.
10         * include/profile/impl/profiler_vector_size.h: Likewise.
11         * include/profile/impl/profiler_hash_func.h: Likewise.
12         * include/profile/impl/profiler_trace.h: Likewise.
13         * include/profile/impl/profiler_list_to_vector.h: Likewise.
14         * include/profile/impl/profiler_vector_to_list.h: Likewise.
15         * include/profile/impl/profiler.h: Likewise.
16         * include/profile/impl/profiler_state.h: Likewise.
17         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
18         * include/profile/impl/profiler_algos.h: Likewise.
19         * include/profile/impl/profiler_hashtable_size.h: Likewise.
20         * include/profile/impl/profiler_node.h: Likewise.
21         * include/profile/vector: Likewise.
22         * include/profile/unordered_set: Likewise.
23         * include/profile/map.h: Likewise.
24         * include/profile/map: Likewise.
25         * testsuite/21_strings/basic_string/numeric_conversions/
26         wchar_t/dr1261.cc: Likewise.
27         * testsuite/21_strings/basic_string/numeric_conversions/
28         char/dr1261.cc: Likewise.
29         * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
30
31 2012-02-20  Paolo Carlini  <paolo.carlini@oracle.com>
32
33         PR libstdc++/52241
34         * src/c++98/tree.cc (local_Rb_tree_increment,
35         local_Rb_tree_decrement): Add.
36         (_Rb_tree_increment(const _Rb_tree_node_base*),
37         _Rb_tree_decrement(const _Rb_tree_node_base*)): Use the latter.
38         (_Rb_tree_increment(_Rb_tree_node_base*),
39         _Rb_tree_decrement(_Rb_tree_node_base*)): New.
40
41 2012-02-20  Paolo Carlini  <paolo.carlini@oracle.com>
42
43         PR libstdc++/52309
44         * include/bits/hashtable_policy.h (_Equality_base<, true,>::
45         _M_equal(const _Hashtable&)): Compare values with operator==.
46         * testsuite/23_containers/unordered_set/operators/52309.cc: New.
47
48 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
49
50         PR libstdc++/51798 continued.
51         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Grep for
52         __atomic_, not __sync.
53         * configure: Regenerated.
54
55 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
56
57         PR libstdc++/47058
58         * acinclude.m4 (GLIBCXX_ENABLE_WERROR): New.
59         (GLIBCXX_EXPORT_FLAGS): Add -Wabi to WARN_FLAGS
60         * configure.ac: Use it.
61         * fragment.am: Set WERROR_FLAG conditionally on --disable-werror.
62         * configure: Regenerate.
63         * python/Makefile.in: Same.
64         * Makefile.in: Same.
65         * doc/Makefile.in: Same.
66         * include/Makefile.in: Same.
67         * po/Makefile.in: Same.
68         * python/Makefile.in: Same.
69         * src/Makefile.in: Same.
70         * src/c++11/Makefile.in: Same.
71         * src/c++98/Makefile.in: Same.
72         * testsuite/Makefile.in: Same.
73
74 2012-02-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
75
76         PR libstdc++/52189
77         * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Handle
78         --enable-libstdcxx-threads.
79         Disable on Solaris 8/9 with symbol versioning.
80         * configure.ac (GLIBCXX_CHECK_GTHREADS): Move after
81         GLIBCXX_ENABLE_SYMVERS.
82         * configure: Regenerate.
83         * doc/xml/manual/configure.xml (--enable-libstdcxx-threads): Explain.
84
85 2012-02-15  DJ Delorie  <dj@redhat.com>
86
87         * src/c++98/locale.cc (locale::facet::_S_get_c_locale): Fix typo.
88
89 2012-02-15  Benjamin Kosnik  <bkoz@redhat.com>
90
91         PR libstdc++/51368
92         * acinclude.m4 (GLIBCXX_ENABLE_PYTHON): New.
93         * configure.ac: Use it.
94         * python/Makefile.am: Same.
95         * configure: Regenerate.
96         * python/Makefile.in: Regenerate.
97         * Makefile.in: Same.
98         * doc/Makefile.in: Same.
99         * include/Makefile.in: Same.
100         * po/Makefile.in: Same.
101         * src/Makefile.in: Same.
102         * src/c++11/Makefile.in: Same.
103         * src/c++98/Makefile.in: Same.
104         * testsuite/Makefile.in: Same.
105
106 2012-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
107
108         * 30_threads/thread/native_handle/typesizes.cc: Do not run on cygwin.
109
110 2012-02-14  Tom Tromey  <tromey@redhat.com>
111
112         * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add new
113         tests.
114         * python/libstdcxx/v6/printers.py (Tr1HashtableIterator.__init__):
115         Rewrite.
116         (Tr1HashtableIterator.update): Remove.
117         (Tr1HashtableIterator.next): Rewrite.
118
119 2012-02-13  Benjamin Kosnik  <bkoz@redhat.com>
120
121         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
122         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
123
124 2012-02-13  Richard Henderson  <rth@redhat.com>
125
126         PR libstdc++/51798 continued.
127         * include/bits/shared_ptr_base.h
128         (_Sp_counted_base<_S_atomic>::_M_add_ref_lock): Hoist initial load
129         outside compare_exchange loop.
130         * include/tr1/shared_ptr.h: Same.
131         * include/parallel/compatibility.h (__compare_and_swap_32): Use strong
132         version of compare_exchange.
133         (__compare_and_swap_64): Same.
134         * include/profile/impl/profiler_state.h (__gnu_profile::__turn): Same.
135         * libsupc++/guard.cc (__cxa_guard_acquire): Same.
136
137 2012-02-10  Benjamin Kosnik  <bkoz@redhat.com>
138             Jonathan Wakely  <jwakely.gcc@gmail.com>
139
140         PR libstdc++/51798 continued.
141         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Use __atomic_*
142         builtins instead of __sync_* builtins for atomic functionality.
143         * include/bits/shared_ptr_base.h: Same.
144         * include/parallel/compatibility.h: Same.
145         * include/profile/impl/profiler_state.h: Same.
146         * include/tr1/shared_ptr.h: Same.
147         * libsupc++/eh_ptr.cc: Same.
148         * libsupc++/eh_throw.cc: Same.
149         * libsupc++/eh_tm.cc: Same.
150         * libsupc++/guard.cc: Same.
151         * configure: Regenerated.
152         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
153         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
154
155 2012-02-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
156
157         PR libstdc++/51296
158         * config/os/osf/ctype_base.h,
159         config/os/osf/ctype_configure_char.cc,
160         config/os/osf/ctype_inline.h, config/os/osf/error_constants.h:
161         Copy from config/os/generic.
162         * config/os/osf/os_defines.h: Likewise.
163         (_GTHREAD_USE_MUTEX_INIT_FUNC, _GTHREAD_USE_COND_INIT_FUNC):
164         Define.
165         * configure.host <osf*>: Use os/osf for os_include_dir.
166
167 2012-02-10  Uros Bizjak  <ubizjak@gmail.com>
168
169         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
170
171 2012-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
172
173         * doc/xml/manual/documentation_hacking.xml: Fix invalid attribute.
174
175 2012-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
176
177         * doc/xml/manual/status_cxx2011.xml: Update C++11 status table.
178
179 2012-02-07  Benjamin Kosnik  <bkoz@redhat.com>
180
181         * doc/doxygen/user.cfg.in: Update to doxygen 1.7.6.1.
182         * doc/xml/manual/documentation_hacking.xml: Update.
183
184 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
185
186         * testsuite/30_threads/call_once/39909.cc: Remove duplicate target
187         selector.
188         * testsuite/30_threads/call_once/49668.cc: Likewise.
189         * testsuite/30_threads/call_once/call_once1.cc: Likewise.
190         * testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
191         * testsuite/30_threads/mutex/cons/1.cc: Likewise.
192         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
193         * testsuite/30_threads/mutex/lock/1.cc: Likewise.
194         * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
195         * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
196         * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
197         * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
198         * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
199         * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
200         * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
201         * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
202         * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
203         * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
204         * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
205         * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
206         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
207         * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
208         * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
209         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
210         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
211
212 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
213
214         PR libstdc++/51296
215         * include/std/mutex (__mutex_base::~__mutex_base): Declare noexcept.
216         * src/c++11/condition_variable.cc (condition_variable): Use macro for
217         initializer function.
218
219         PR libstdc++/51906
220         * config/os/bsd/darwin/os_defines.h: Disable static initializer for
221         recursive mutexes.
222
223 2012-02-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
224
225         PR libstdc++/52128
226         * src/c++11/future.cc: Add explicit instantiation.
227
228 2012-02-06  François Dumont  <fdumont@gcc.gnu.org>
229
230         * include/debug/safe_iterator.h
231         (_Safe_iterator::_M_before_dereferenceable): Avoid the expensive
232         creation of a _Safe_iterator instance to do the check.
233
234 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
235
236         PR libstdc++/52104
237         * include/std/future (__future_base::_Async_state_common): Define
238         destructor inline for targets without TLS.
239         * src/c++11/future.cc (__future_base::_Async_state_common): Only
240         define destructor for TLS targets.
241
242 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
243
244         PR libstdc++/51956
245         * python/libstdcxx/v6/printers.py (StdPointerPrinter): Rename to...
246         (SharedPointerPrinter): This. Also show weak count.
247         * testsuite/libstdc++-prettyprinters/shared_ptr.cc: New.
248
249 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
250
251         * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Modify to
252         PASS instead of XFAIL.
253
254 2012-02-05  Jeffrey Yasskin  <jyasskin@gcc.gnu.org>
255             Paolo Carlini  <paolo.carlini@oracle.com>
256
257         PR libstdc++/52119
258         * include/std/limits (__glibcxx_min): Fix to avoid undefined behavior.
259
260 2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>
261
262         PR libstdc++/49445
263         * testsuite/29_atomics/atomic/cons/49445.cc: Add.
264
265 2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>
266
267         PR libstdc++/51811
268         * include/bits/atomic_base.h (atomic<_Tp*>): Fix offsets.
269         * testsuite/29_atomics/atomic/operators/51811.cc: New.
270         * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: New.
271
272 2012-02-03  Jakub Jelinek  <jakub@redhat.com>
273
274         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
275         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
276         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
277         Likewise.
278         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
279         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
280         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
281         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
282         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
283         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
284
285 2012-02-02  Benjamin Kosnik  <bkoz@redhat.com>
286
287         PR libstdc++/52068
288         * src/c++11/Makefile.am (toolexeclib_LTLIBRARIES,
289         libc__11_la_SOURCES): Remove.
290         * src/c++11/Makefile.in: Regenerate.
291         * src/c++98/Makefile.am (toolexeclib_LTLIBRARIES,
292         libc__98_la_SOURCES): Remove.
293         * src/c++98/Makefile.in: Regenerate.
294
295 2012-02-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
296
297         PR libstdc++/49204
298         * include/std/future (__future_base::_State_base::wait()): Use lambda
299         expression for predicate and remove redundant test.
300         (__future_base::_State_base::wait_for()): Return future_status and
301         use lambda expression for predicate.
302         (__future_base::_State_base::wait_until()): Likewise.
303         (__basic_future::wait_for(), __basic_future::wait_until()): Likewise.
304         (__future_base::_Async_state): Replace with _Async_state_common
305         class for non-dependent functionality and _Async_state_impl class
306         template for dependent functionality.
307         (__future_base::_Async_state_common::_M_join): Serialize attempts to
308         join thread.
309         (__future_base::_Async_state_common::_M_run_deferred): Join.
310         (__future_base::_Async_state::_M_do_run): Replace with lambda.
311         * src/c++11/future.cc (__future_base::_Async_state_common): Define
312         destructor, so key function is in the library.
313         * config/abi/pre/gnu.ver: Add exports for ~_Async_state_common.
314         * testsuite/30_threads/packaged_task/members/get_future.cc: Expect
315         future_status return instead of bool.
316         * testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
317         * testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
318         * testsuite/30_threads/future/members/wait_until.cc: Likewise.
319         * testsuite/30_threads/future/members/wait_for.cc: Likewise.
320         * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
321         * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
322         * testsuite/30_threads/promise/members/swap.cc: Likewise.
323
324 2012-01-30  Tom Tromey  <tromey@redhat.com>
325
326         PR libstdc++/51649:
327         * testsuite/libstdc++-prettyprinters/debug.cc: New file.
328         * testsuite/lib/gdb-test.exp (regexp-test): New proc.
329         (note-test): Update.
330         (gdb-test): Handle regexp tests.  Add some logging.
331         * testsuite/libstdc++-prettyprinters/simple.cc: Compile with -O0.
332         (placeholder, use): Remove.
333         (main): Add tests for deque, list, map, and set iterators.  Add
334         tests for slist and slist iterator.
335         * testsuite/libstdc++-prettyprinters/48362.cc (main): Handle __7
336         namespace.
337         * python/libstdcxx/v6/printers.py (StdListPrinter.children): Use
338         the type's _Node typedef.
339         (StdListIteratorPrinter.to_string): Change how node type is
340         computed.
341         (StdSlistPrinter.children): Use the type's _Node typedef.
342         (StdSlistIteratorPrinter.to_string): Likewise.
343         (StdRbtreeIteratorPrinter.to_string): Use the type's _Link_type
344         typedef.
345         (StdMapPrinter.children): Change how the node's type is computed.
346         (StdSetPrinter.children): Likewise.
347         (StdForwardListPrinter.children): Use the type's _Node typedef.
348         (Printer.add_version): New method.
349         (Printer.add_container): New method.
350         (build_libstdcxx_dictionary): Handle __7 and __cxx1998
351         namespaces.
352         (find_type): New function.
353
354 2012-01-27  Paolo Carlini  <paolo.carlini@oracle.com>
355
356         PR libstdc++/51795
357         * include/bits/random.h (linear_congruential_generator): Add
358         static_assert preventing instantiation for values of 'a' and 'm'
359         currently handled incorrectly by _Mod::__calc.
360         * include/bits/random.tcc (seed_seq::generate): Avoid unsafe
361         uses of _Mod::__calc.
362
363 2012-01-27  Jakub Jelinek  <jakub@redhat.com>
364
365         PR libstdc++/51798
366         * config/cpu/generic/atomicity_builtins/atomicity.h
367         (__exchange_and_add, __atomic_add): Use __atomic_fetch_add
368         with __ATOMIC_ACQ_REL semantics instead of __sync_fetch_and_add.
369         * include/ext/atomicity.h (__exchange_and_add, __atomic_add):
370         Likewise.
371
372 2011-01-27  Rafael Avila de Espindola  <rafael.espindola@gmail.com>
373
374         * libsupc++/typeinfo: Correctly match #pragma GCC visibility
375         pop with #pragma GCC visibility push.
376
377 2012-01-27  Benjamin Kosnik  <bkoz@redhat.com>
378             Matthias Klose  <doko@ubuntu.com>
379
380         * configure.ac (GLIBCXX_ENABLE_DEBUG_FLAGS): Use -gdwarf-4 -g3 -O0.
381         * configure.in: Regenerated.
382         * src/Makefile.am (all-once, install-data-once): New rules.
383         (all-local, install-data-local): Use them.
384         (build-debug, install-debug): Tweak.
385         * src/Makefile.in: Regenerate.
386
387 2012-01-27  Richard Henderson  <rth@redhat.com>
388
389         * include/bits/atomic_base.h (__atomic_flag_base): Define _M_i
390         based on the value of __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
391         (ATOMIC_FLAG_INIT): Initialize with 0, not false.
392         (atomic_flag::atomic_flag): Use __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
393
394 2012-01-26  Jakub Jelinek  <jakub@redhat.com>
395
396         PR bootstrap/51985
397         * src/c++98/Makefile.am (libc__98_la_SOURCES,
398         libc__98convenience_la_SOURCES): Remove $(inst_sources).
399         * src/c++98/Makefile.in: Regenerated.
400
401 2012-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
402
403         * testsuite/20_util/system_clock/1.cc: Add dg-require-time.
404         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
405         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
406         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
407         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Add
408         dg-require-fileio.
409         * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
410         * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
411         * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
412         * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc:
413         Likewise.
414         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
415
416 2012-01-25  Matthias Klose  <doko@ubuntu.com>
417
418         * testsuite/30_threads/condition_variable_any/requirements: Remove
419         empty directory.
420
421 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
422
423         * src/Makefile.am (libstdc++convenience.la): Correct stamp rule, copy.
424         * src/Makefile.in: Regenerate.
425
426 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
427
428         PR libstdc++/49829
429         Add libc++98convenience.la, libc++11convenience.la.
430         * src/c++98: New directory.
431         * src/c++11: New directory.
432         * acinclude.m4: (GLIBCXX_CONFIGURE): Add src-c++98, src-c++11.
433         * configure: Regenerated.
434         * Makefile.am (hosted_source): Add src-c++98, src-c++11 to SUBDIRS.
435         * Makefile.in: Regenerate.
436         * libsupc++/Makefile.am (AM_CXXFLAGS): USe XTEMPLATE_FLAGS for
437         -fno-implicit-templates.
438         * libsupc++/Makefile.in: Regenerate.
439         * src/Makefile.am (inst_sources): Move... C++11 files into
440         separate directory for libstdc++11convenience.la. Files are:
441         fstream-inst.cc, string-inst.cc, wlocale-inst.cc, wstring-inst.cc).
442         (sources): Move C++11 files. Files are: compatibility-c++0x.cc,
443         compatibility-atomic-c++0x.cc, debug.cc, functexcept.cc,
444         functional.cc, hash_c++0x.cc, hashtable_c++0x.cc, limits.cc,
445         system_error.cc, placeholders.cc, regex.cc, shared_ptr.cc,
446         mutex.cc, condition_variable.cc, chrono.cc, thread.cc, future.cc.
447         (libstdc++convenience.la): Add new target.
448         (SUBDIRS): Add c++11, c++98.
449         * src/Makefile.in: Regenerate.
450         * src/c++11/Makefile.am: New.
451         * src/c++11/Makefile.in: Generate.
452         * src/c++98/Makefile.am: New, C++98 files.
453         * src/c++98/Makefile.in: Generate.
454
455 2012-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
456
457         libstdc++-v3:
458         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
459         32-bit Solaris 10/x86.
460         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
461
462 2012-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
463
464         PR libstdc++/50982
465         * testsuite/30_threads/*: Add powerpc-ibm-aix* to target selectors.
466
467 2012-01-19  Jakub Jelinek  <jakub@redhat.com>
468
469         PR libstdc++/51845
470         * include/bits/hashtable.h
471         (_Hashtable<>::erase(const_iterator, const_iterator)): Also update
472         _M_buckets[__n_bkt] if __is_bucket_begin.
473         * testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc:
474         New test.
475
476 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
477
478         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): Fix quoting.
479
480 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
481
482         * configure.ac: Move epub checks...
483         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): ...here, use
484         test -f instead of AC_CHECK_FILES.
485
486 2012-01-18  François Dumont  <fdumont@gcc.gnu.org>
487             Roman Kononov  <roman@binarylife.net>
488
489         PR libstdc++/51866
490         * include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, false_type)):
491         Do not keep a reference to a potentially moved instance.
492         * testsuite/23_containers/unordered_multiset/insert/51866.cc: New.
493         * testsuite/23_containers/unordered_multimap/insert/51866.cc: New.
494
495 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
496
497         * doc/html/*: Regenerate.
498
499 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
500
501         * configure.ac (BUILD_EPUB): Adjust for epub3.
502         * configure: Regenerate.
503         * Makefile.in: Same.
504         * doc/Makefile.am (stamp-epub-docbook): Update for epub3.
505         * doc/Makefile.in: Regenerate.
506         * include/Makefile.in: Same.
507         * libsupc++/Makefile.in: Same.
508         * po/Makefile.in: Same.
509         * python/Makefile.in: Same.
510         * src/Makefile.in: Same.
511         * testsuite/Makefile.in: Same.
512
513         * doc/xml/manual/documentation_hacking.xml: Update.
514
515 2012-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
516
517         PR target/47852
518         * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS.
519
520 2012-01-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
521
522         * include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.
523
524 2012-01-13  François Dumont  <fdumont@gcc.gnu.org>
525
526         * include/bits/hashtable_policy.h (_Hash_node_base): New, use it as
527         base class of ...
528         (_Hash_node<Value, true>, _Hash_node<Value, false>): ... those.
529         * include/bits/hashtable.h (_Hashtable): Replace _M_begin_bucket_index
530         by _M_before_begin. Review implementation so that we do not need to
531         look for previous non-empty bucket when inserting nodes.
532
533 2012-01-09  Kai Tietz  <ktietz@redhat.com>
534
535         PR libstc++/51673 part 2
536         * config/abi/pre/gnu-versioned-namespace.ver: Adjusted new/delete
537         operators signature for LLP64 size_t, and adjusted signatures for
538         mt-allocator using size_t.
539
540 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
541
542         PR libstc++/51673 part 1
543         * config/abi/pre/gnu-versioned-namespace.ver: Sync cxxabi symbols
544         with gnu.ver.
545
546 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
547
548         * fragment.am (WARN_CXXFLAGS): Add -Wabi.
549         * Makefile.in: Regenerate.
550         * doc/Makefile.in: Same.
551         * include/Makefile.in: Same.
552         * libsupc++/Makefile.in: Same.
553         * src/Makefile.in: Same.
554         * testsuite/Makefile.in: Same.
555         * po/Makefile.in: Same.
556         * python/Makefile.in: Same.
557
558 2012-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
559
560         * python/libstdcxx/v6/printers.py (StdForwardListPrinter): Add.
561         * testsuite/libstdc++-prettyprinters/cxx11.cc: New.
562
563 2012-01-06  Jason Merrill  <jason@redhat.com>
564
565         * testsuite/abi/demangle/regression/cw-16.cc (main): Adjust
566         expected demangling.
567
568 2012-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
569
570         PR libstdc++/51504
571         * doc/xml/manual/debug.xml: Suggest using symbol interposition
572         to override symbols using annotation macros.
573
574 2012-01-05  François Dumont  <fdumont@gcc.gnu.org>
575
576         * include/bits/hashtable_policy.h (_Hashtable_base<>::_M_eq()):
577         protected rather than private, use it...
578         * include/bits/hashtable.h (_Hashtable<>::key_eq()): ... here.
579         * testsuite/23_containers/unordered_set/observers.cc: New.
580         * testsuite/23_containers/unordered_multiset/observers.cc: New.
581         * testsuite/23_containers/unordered_map/observers.cc: New.
582         * testsuite/23_containers/unordered_multimap/observers.cc: New.
583
584 2012-01-03  François Dumont  <fdumont@gcc.gnu.org>
585
586         * include/bits/hashtable_policy.h (_Ebo_helper<>): Rename to the more
587         specific _Hashtable_ebo_helper. Hide this implementation detail thanks
588         to private inheritance.
589
590 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
591
592         PR c++/51738
593         * testsuite/23_containers/map/element_access/39901.cc: New.