OSDN Git Service

2012-05-02 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2012-05-02  Paolo Carlini  <paolo.carlini@oracle.com>
2
3         PR libstdc++/53193
4         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
5         dg-error line number.
6
7 2012-05-01  François Dumont  <fdumont@gcc.gnu.org>
8
9         PR libstdc++/53115
10         * include/bits/hashtable.h
11         (_Hashtable<>::_M_rehash_aux(size_type, false_type)): Fix buckets
12         after insertion of several equivalent elements.
13         * testsuite/23_containers/unordered_multiset/insert/53115.cc: New.
14         * testsuite/23_containers/unordered_multimap/insert/53115.cc: New.
15
16 2012-04-30  Andreas Tobler  <andreast@fgznet.ch>
17
18         Backport from mainline
19         2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
20
21         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
22         Skip this test on powerpc64-*-freebsd*.
23
24 2012-04-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
25
26         * include/std/scoped_allocator (scoped_allocator::__outermost): Do
27         not pass non-POD to varargs function.
28         * testsuite/20_util/scoped_allocator/1.cc: Fix test.
29
30 2012-04-23  Chris Jefferson  <chris@bubblescope.net>
31
32         PR testsuite/53046
33         * testsuite/25_algorithms/stable_partition/mem_check.cc: Fix size
34         of array A.
35         * testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise.
36
37 2012-04-22  Paolo Carlini  <paolo.carlini@oracle.com>
38
39         PR libstdc++/53067
40         * include/bits/hashtable_policy.h: Change inheritances to public.
41         * testsuite/23_containers/unordered_map/requirements/53067.cc: New.
42         * testsuite/23_containers/unordered_set/requirements/53067.cc: Likewise.
43
44 2012-04-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
45
46         PR libstdc++/53027
47         * include/bits/ptr_traits.h (pointer_traits::rebind): Make public.
48         * testsuite/20_util/pointer_traits/requirements/typedefs.cc: Check
49         rebind works.
50
51 2012-04-21  Alan Modra  <amodra@gmail.com>
52
53         PR libstdc++/52839
54         * acinclude.m4 (_GLIBCXX_ATOMIC_BUILTINS): Do not depend on
55         glibcxx_cv_atomic_long_long.
56         * configure: Regenerate.
57
58 2012-04-16  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
59
60         PR bootstrap/52840
61         * src/Makefile.am (build-debug): Do not adjust vpath dir, remove
62         Makefile.tmp
63         * src/Makefile.in: Adjust as per above.
64
65 2012-04-16  Benjamin Kosnik  <bkoz@redhat.com>
66
67         PR libstdc++/52689
68         * libsupc++/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
69         * libsupc++/Makefile.in: Regenerated.
70         * src/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
71         (libstdc___la_SOURCES): Add in compatiblity files, with content
72         that varies with -DPIC.
73         * src/Makefile.in: Regenerated.
74         * src/c++11/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
75         * src/c++11/Makefile.in: Regenerated.
76         * src/c++11/compatibility-atomic-c++0x.cc: Guard with PIC.
77         * src/c++11/compatibility-c++0x.cc: Same.
78         * src/c++11/future.cc: Consolidate compatibility bits into..
79         * src/c++11/mutex.cc: Consolidate compatibility bits into..
80         * src/c++11/compatibility-thread-cxx0x.cc: ...here. New.
81         * src/c++98/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
82         * src/c++98/Makefile.in: Regenerated.
83         * src/c++98/compatibility-list-2.cc: Guard with PIC.
84         * src/c++98/compatibility.cc: Tweak comments.
85
86 2012-04-16  Benjamin Kosnik  <bkoz@redhat.com>
87
88             * include/ext/pb_ds/detail/pat_trie_/
89             constructors_destructor_fn_imps.hpp: Increment after recursion.
90             * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Convert
91             node_type markup from brief.
92
93 2012-04-14  Paolo Carlini  <paolo.carlini@oracle.com>
94
95         PR libstdc++/52699
96         * include/bits/random.tcc (independent_bits_engine<>::operator()())
97         Avoid various overflows; use common_type on result_type and
98         _RandomNumberEngine::result_type; avoid floating point computations;
99         other smaller tweaks.
100
101         * include/bits/random.tcc (uniform_int_distribution<>::operator())
102         Use common_type; assume _UniformRandomNumberGenerator::result_type
103         unsigned; tidy.
104
105         * include/bits/stl_algobase.h (__lg(unsigned), __lg(unsigned long),
106         __lg(unsigned long long)): Add.
107
108 2012-04-13  Paolo Carlini  <paolo.carlini@oracle.com>
109
110         * include/debug/safe_iterator.h (_BeforeBeginHelper<>::
111         _S_Is_Beginnest): Add.
112         * include/debug/forward_list (_BeforeBeginHelper<>::
113         _S_Is_Beginnest): Likewise.
114         (_Safe_iterator<>::_M_is_beginnest): Add.
115         * include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range):
116         Use the latter.
117         * testsuite/23_containers/forward_list/debug/splice_after.cc:
118         Add test.
119
120 2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>
121
122         * include/bits/forward_list.h (splice_after(const_iterator,
123         forward_list&), splice_after(const_iterator, forward_list&,
124         consst_iterator), splice_after(const_iterator, forward_list&,
125         const_iterator, const_iterator), merge(forward_list&),
126         merge(forward_list&, _Comp)): Add per C++11 as published (and
127         LWG 1310).
128         * include/debug/forward_list: Adjust.
129
130         * include/bits/forward_list.h (splice_after(const_iterator,
131         forward_list&&, const_iterator)): Only declare.
132         (_M_transfer_after): Remove.
133         (_M_splice_after(const_iterator, forward_list&&)): Change signature.
134         (splice_after(const_iterator, forward_list&&, const_iterator,
135         const_iterator)): Use the latter.
136         * include/bits/forward_list.tcc (splice_after(const_iterator,
137         forward_list&&, const_iterator)): Define here.
138         (_M_splice_after): Define, use throughout.
139
140         * include/bits/forward_list.h (insert_after(const_iterator,
141         std::initializer_list<_Tp>)): Forward to insert_after(const_iterator,
142         _InputIterator, _InputIterator).
143         * include/bits/forward_list.tcc: Remove definition.
144
145         * testsuite/23_containers/forward_list/modifiers/6.cc: New.
146         * testsuite/23_containers/forward_list/operations/1.cc: Adjust.
147
148         * testsuite/23_containers/forward_list/requirements/dr438/
149         assign_neg.cc: Adjust dg-error line number.
150         * testsuite/23_containers/forward_list/requirements/dr438/
151         insert_neg.cc: Likewise.
152         * testsuite/23_containers/forward_list/requirements/dr438/
153         constructor_1_neg.cc: Likewise.
154         * testsuite/23_containers/forward_list/requirements/dr438/
155         constructor_2_neg.cc: Likewise.
156
157 2012-04-12   Jeffrey Yasskin  <jyasskin@google.com>
158
159         PR libstdc++/52822
160         * include/bits/stl_algo.h (__find_if_not): Expose in C++98 mode.
161         (__find_if_not_n): Like __find_if_not, but works on and updates a
162         counted range instead of a bounded range.
163         (stable_partition): Guarantee !__pred(*__first) in call to
164         __stable_partition_adaptive() or __inplace_stable_partition().
165         (__stable_partition_adaptive): Use new precondition to avoid
166         moving/copying objects onto themselves.  Guarantee new
167         precondition to recursive calls.
168         (__inplace_stable_partition): Use new precondition to simplify
169         base case, remove __last parameter.  Guarantee new precondition to
170         recursive calls.
171         * testsuite/25_algorithms/stable_partition/moveable.cc (test02):
172         Test a sequence that starts with a value matching the predicate.
173         * testsuite/25_algorithms/stable_partition/pr52822.cc: Test
174         vectors, which have a destructive self-move-assignment.
175
176 2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>
177
178         PR libstdc++/52942
179         * include/bits/stl_function.h (_Identity, _Select1st, _Select2nd):
180         In C++11 mode do not derive from std::unary_function.
181         * include/ext/functional (identity, select1st, select2nd): Adjust.
182         * testsuite/23_containers/unordered_map/requirements/52942.cc: New.
183         * testsuite/23_containers/unordered_set/requirements/52942.cc: Likewise.
184
185 2012-04-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
186
187         PR libstdc++/52924
188         * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Add
189         user-defined destructor.
190         (_Sp_counted_inplace): Likewise.
191         * testsuite/20_util/shared_ptr/cons/52924.cc: New.
192         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
193         line numbers.
194
195 2012-04-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
196
197         * testsuite/performance/30_threads/future/polling.cc: Adjust.
198
199 2012-04-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
200
201         PR libstdc++/52591
202         * include/bits/stl_vector.h (vector::operator=(vector&&)): Dispatch
203         to _M_move_assign depending on whether allocator is moved.
204         (vector::_M_move_assign): Add overloaded functions.
205         * testsuite/23_containers/vector/52591.cc: New.
206         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
207         Adjust dg-error line number.
208         * testsuite/23_containers/vector/requirements/dr438/
209         constructor_1_neg.cc:
210         Likewise.
211         * testsuite/23_containers/vector/requirements/dr438/
212         constructor_2_neg.cc:
213         Likewise.
214         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
215         Likewise.
216
217 2012-04-09  François Dumont  <fdumont@gcc.gnu.org>
218
219         PR libstdc++/52476
220         * include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Add.
221         (_Hashtable<>::_M_rehash): Use the latter.
222         * testsuite/23_containers/unordered_multimap/insert/52476.cc: New.
223         * testsuite/23_containers/unordered_multiset/insert/52476.cc: New.
224
225 2012-04-09  Terry Guo  <terry.guo@arm.com>
226
227         Backport from mainline
228         2012-03-28  Terry Guo  <terry.guo@arm.com>
229
230         * testsuite/Makefile.am (TEST_GCC_EXEC_PREFIX): New.
231         * testsuite/Makefile.in: Regenerated.
232
233 2012-03-30  Jeffrey Yasskin  <jyasskin@gcc.gnu.org>
234             Paolo Carlini  <paolo.carlini@oracle.com>
235
236         PR libstdc++/52799
237         * include/bits/deque.tcc (emplace): Fix thinko, replace push_front
238         -> emplace_front, and likewise for *_back.
239         * testsuite/23_containers/deque/modifiers/emplace/52799.cc: New.
240         * testsuite/23_containers/list/modifiers/emplace/52799.cc: Likewise.
241         * testsuite/23_containers/vector/modifiers/emplace/52799.cc: Likewise.
242
243 2012-03-23  David S. Miller  <davem@davemloft.net>
244
245         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Update.
246
247 2012-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
248
249         * include/bits/forward_list.h: Fix comments.
250
251 2012-03-23  Paweł Sikora  <pawel.sikora@agmk.net>
252
253         PR libstdc++/52540
254         * include/Makefile.am (c++config.h): Fix sed rule to not break
255         the _GLIBCXX_EXTERN_TEMPLATE redefinition.
256         * include/Makefile.in: Regenerate.
257
258 2012-03-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
259
260         PR libstdc++/52433
261         * include/debug/safe_iterator.h (_Safe_iterator): Add move
262         constructor and move assignment operator.
263         * testsuite/23_containers/vector/debug/52433.cc: New.
264
265 2012-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
266
267         * include/std/array (array<>::at(size_type) const): Fix version
268         for undefined __EXCEPTIONS.
269
270 2012-03-22  Release Manager
271
272         * GCC 4.7.0 released.
273
274 2012-03-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
275
276         PR libstdc++/52456
277         * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
278
279 2012-03-09  Andreas Schwab  <schwab@linux-m68k.org>
280
281         * config/locale/gnu/monetary_members.cc
282         (moneypunct<char,true>::_M_initialize_moneypunct): Throw caught
283         exception again.
284         (moneypunct<char,false>::_M_initialize_moneypunct): Likewise.
285         * testsuite/22_locale/locale/cons/12352.cc: Also test en_US
286         locale.
287
288 2012-03-02  Benjamin Kosnik  <bkoz@redhat.com>
289
290         * include/c_global/cstdio: Remove extraneous extern.
291         * include/c_std/cstdio: Same.
292
293 2012-03-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
294
295         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
296         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
297         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
298         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
299         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
300
301 2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>
302             Ramana Radhakrishnan <ramana@gcc.gnu.org>
303
304         PR libstdc++/51785
305         * acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): New.
306         * configure.ac: Call it.
307         * configure: Regenerate.
308         * config.h.in: Same.
309         * config/os/gnu-linux/os_defines.h: Conditionally undefine
310         _GLIBCXX_HAVE_GETS.
311         * include/c_global/cstdio: Conditionally declare deprecated gets.
312         * include/c_std/cstdio: Same.
313
314 2012-03-01  Michael Spertus  <mike_spertus@symantec.com>
315
316         * include/tr2/type_traits (typelist): To __reflection_typelist.
317         (first, rest, empty): Remove.
318
319 2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>
320
321         * testsuite/Makefile.am (CLEANFILES): Add *.gdb.
322         * testsuite/Makefile.in: Regenerate.
323
324 2012-02-29  H.J. Lu  <hongjiu.lu@intel.com>
325
326         * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
327
328 2012-02-28  Benjamin Kosnik  <bkoz@redhat.com>
329
330         PR libstdc++/52191
331         * testsuite/util/testsuite_abi.cc (compare_symbols): Check new
332         symbols added into the latest version. Mark tls entities as
333         undesignated.
334
335 2012-02-28  Jakub Jelinek  <jakub@redhat.com>
336
337         PR bootstrap/52414
338         * src/Makefile.am (libstdc++-symbols.ver): Only remove comment lines
339         if they are at the beginning of lines (with optional whitespace before
340         #).
341         * src/Makefile.in: Regenerated.
342
343 2012-02-27  Jakub Jelinek  <jakub@redhat.com>
344
345         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
346         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
347         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
348         Likewise.
349         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
350         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
351         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
352         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
353         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
354         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
355
356 2012-02-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
357
358         PR libstdc++/52188
359         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Remove symvers_renaming.
360         Remove ENABLE_SYMVERS_SOL2.
361         * configure: Regenerate.
362         * src/Makefile.am [ENABLE_SYMVERS] (libstdc++-symbols.ver):
363         Postprocess mapfile.
364         [ENABLE_SYMVERS_GNU]: Remove ENABLE_SYMVERS_SOL2 handling.
365         * src/Makefile.in: Regenerate.
366
367         * config/abi/pre/gnu.ver (GLIBCXX_3.4.5) [!__sun__ && !__svr4__]:
368         Don't export
369         _ZNSt19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEppEv.
370
371 2012-02-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
372
373         PR testsuite/52201
374         * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc:
375         Require atomic builtins.
376         * testsuite/29_atomics/atomic/operators/51811.cc: Likewise.
377
378 2012-02-23  Jason Merrill  <jason@redhat.com>
379
380         * include/bits/locale_facets.h (class num_get): Undo reordering of
381         do_get virtual functions.
382
383 2012-02-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
384
385         * testsuite/26_numerics/random/
386         uniform_real_distribution/requirements/typedefs.cc: Check param_type.
387         * testsuite/26_numerics/random/
388         piecewise_constant_distribution/requirements/typedefs.cc: Ditto.
389         * testsuite/26_numerics/random/
390         chi_squared_distribution/requirements/typedefs.cc: Ditto.
391         * testsuite/26_numerics/random/
392         normal_distribution/requirements/typedefs.cc: Ditto.
393         * testsuite/26_numerics/random/
394         uniform_int_distribution/requirements/typedefs.cc: Ditto.
395         * testsuite/26_numerics/random/
396         poisson_distribution/requirements/typedefs.cc: Ditto.
397         * testsuite/26_numerics/random/
398         bernoulli_distribution/requirements/typedefs.cc: Ditto.
399         * testsuite/26_numerics/random/
400         discrete_distribution/requirements/typedefs.cc: Ditto.
401         * testsuite/26_numerics/random/
402         weibull_distribution/requirements/typedefs.cc: Ditto.
403         * testsuite/26_numerics/random/
404         cauchy_distribution/requirements/typedefs.cc: Ditto.
405         * testsuite/26_numerics/random/
406         negative_binomial_distribution/requirements/typedefs.cc: Ditto.
407         * testsuite/26_numerics/random/
408         gamma_distribution/requirements/typedefs.cc: Ditto.
409         * testsuite/26_numerics/random/
410         fisher_f_distribution/requirements/typedefs.cc: Ditto.
411         * testsuite/26_numerics/random/
412         exponential_distribution/requirements/typedefs.cc: Ditto.
413         * testsuite/26_numerics/random/
414         binomial_distribution/requirements/typedefs.cc: Ditto.
415         * testsuite/26_numerics/random/
416         lognormal_distribution/requirements/typedefs.cc: Ditto.
417         * testsuite/26_numerics/random/
418         extreme_value_distribution/requirements/typedefs.cc: Ditto.
419         * testsuite/26_numerics/random/
420         piecewise_linear_distribution/requirements/typedefs.cc: Ditto.
421         * testsuite/26_numerics/random/
422         student_t_distribution/requirements/typedefs.cc: Ditto.
423         * testsuite/26_numerics/random/
424         geometric_distribution/requirements/typedefs.cc: Ditto.
425
426 2012-02-21  Benjamin Kosnik  <bkoz@redhat.com>
427
428         PR libstdc++/50349
429         * config/abi/pre/gnu.ver: Only one local.
430         * config/abi/pre/gnu-versioned-namespace.ver: Same.
431
432 2012-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
433
434         PR libstdc++/52317 (cont)
435         * include/profile/unordered_map: Ad Library Exception comment.
436         * include/profile/set: Likewise.
437         * include/profile/base.h: Likewise.
438         * include/profile/impl/profiler_list_to_slist.h: Likewise.
439         * include/profile/impl/profiler_container_size.h: Likewise.
440         * include/profile/impl/profiler_vector_size.h: Likewise.
441         * include/profile/impl/profiler_hash_func.h: Likewise.
442         * include/profile/impl/profiler_trace.h: Likewise.
443         * include/profile/impl/profiler_list_to_vector.h: Likewise.
444         * include/profile/impl/profiler_vector_to_list.h: Likewise.
445         * include/profile/impl/profiler.h: Likewise.
446         * include/profile/impl/profiler_state.h: Likewise.
447         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
448         * include/profile/impl/profiler_algos.h: Likewise.
449         * include/profile/impl/profiler_hashtable_size.h: Likewise.
450         * include/profile/impl/profiler_node.h: Likewise.
451         * include/profile/vector: Likewise.
452         * include/profile/unordered_set: Likewise.
453         * include/profile/map.h: Likewise.
454         * include/profile/map: Likewise.
455
456 2012-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
457
458         PR libstdc++/52317
459         * python/Makefile.am: Update boilerplate license text to GPLv3.
460         * include/profile/unordered_map: Likewise.
461         * include/profile/set: Likewise.
462         * include/profile/base.h: Likewise.
463         * include/profile/impl/profiler_list_to_slist.h: Likewise.
464         * include/profile/impl/profiler_container_size.h: Likewise.
465         * include/profile/impl/profiler_vector_size.h: Likewise.
466         * include/profile/impl/profiler_hash_func.h: Likewise.
467         * include/profile/impl/profiler_trace.h: Likewise.
468         * include/profile/impl/profiler_list_to_vector.h: Likewise.
469         * include/profile/impl/profiler_vector_to_list.h: Likewise.
470         * include/profile/impl/profiler.h: Likewise.
471         * include/profile/impl/profiler_state.h: Likewise.
472         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
473         * include/profile/impl/profiler_algos.h: Likewise.
474         * include/profile/impl/profiler_hashtable_size.h: Likewise.
475         * include/profile/impl/profiler_node.h: Likewise.
476         * include/profile/vector: Likewise.
477         * include/profile/unordered_set: Likewise.
478         * include/profile/map.h: Likewise.
479         * include/profile/map: Likewise.
480         * testsuite/21_strings/basic_string/numeric_conversions/
481         wchar_t/dr1261.cc: Likewise.
482         * testsuite/21_strings/basic_string/numeric_conversions/
483         char/dr1261.cc: Likewise.
484         * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
485
486 2012-02-20  Paolo Carlini  <paolo.carlini@oracle.com>
487
488         PR libstdc++/52241
489         * src/c++98/tree.cc (local_Rb_tree_increment,
490         local_Rb_tree_decrement): Add.
491         (_Rb_tree_increment(const _Rb_tree_node_base*),
492         _Rb_tree_decrement(const _Rb_tree_node_base*)): Use the latter.
493         (_Rb_tree_increment(_Rb_tree_node_base*),
494         _Rb_tree_decrement(_Rb_tree_node_base*)): New.
495
496 2012-02-20  Paolo Carlini  <paolo.carlini@oracle.com>
497
498         PR libstdc++/52309
499         * include/bits/hashtable_policy.h (_Equality_base<, true,>::
500         _M_equal(const _Hashtable&)): Compare values with operator==.
501         * testsuite/23_containers/unordered_set/operators/52309.cc: New.
502
503 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
504
505         PR libstdc++/51798 continued.
506         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Grep for
507         __atomic_, not __sync.
508         * configure: Regenerated.
509
510 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
511
512         PR libstdc++/47058
513         * acinclude.m4 (GLIBCXX_ENABLE_WERROR): New.
514         (GLIBCXX_EXPORT_FLAGS): Add -Wabi to WARN_FLAGS
515         * configure.ac: Use it.
516         * fragment.am: Set WERROR_FLAG conditionally on --disable-werror.
517         * configure: Regenerate.
518         * python/Makefile.in: Same.
519         * Makefile.in: Same.
520         * doc/Makefile.in: Same.
521         * include/Makefile.in: Same.
522         * po/Makefile.in: Same.
523         * python/Makefile.in: Same.
524         * src/Makefile.in: Same.
525         * src/c++11/Makefile.in: Same.
526         * src/c++98/Makefile.in: Same.
527         * testsuite/Makefile.in: Same.
528
529 2012-02-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
530
531         PR libstdc++/52189
532         * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Handle
533         --enable-libstdcxx-threads.
534         Disable on Solaris 8/9 with symbol versioning.
535         * configure.ac (GLIBCXX_CHECK_GTHREADS): Move after
536         GLIBCXX_ENABLE_SYMVERS.
537         * configure: Regenerate.
538         * doc/xml/manual/configure.xml (--enable-libstdcxx-threads): Explain.
539
540 2012-02-15  DJ Delorie  <dj@redhat.com>
541
542         * src/c++98/locale.cc (locale::facet::_S_get_c_locale): Fix typo.
543
544 2012-02-15  Benjamin Kosnik  <bkoz@redhat.com>
545
546         PR libstdc++/51368
547         * acinclude.m4 (GLIBCXX_ENABLE_PYTHON): New.
548         * configure.ac: Use it.
549         * python/Makefile.am: Same.
550         * configure: Regenerate.
551         * python/Makefile.in: Regenerate.
552         * Makefile.in: Same.
553         * doc/Makefile.in: Same.
554         * include/Makefile.in: Same.
555         * po/Makefile.in: Same.
556         * src/Makefile.in: Same.
557         * src/c++11/Makefile.in: Same.
558         * src/c++98/Makefile.in: Same.
559         * testsuite/Makefile.in: Same.
560
561 2012-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
562
563         * 30_threads/thread/native_handle/typesizes.cc: Do not run on cygwin.
564
565 2012-02-14  Tom Tromey  <tromey@redhat.com>
566
567         * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add new
568         tests.
569         * python/libstdcxx/v6/printers.py (Tr1HashtableIterator.__init__):
570         Rewrite.
571         (Tr1HashtableIterator.update): Remove.
572         (Tr1HashtableIterator.next): Rewrite.
573
574 2012-02-13  Benjamin Kosnik  <bkoz@redhat.com>
575
576         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
577         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
578
579 2012-02-13  Richard Henderson  <rth@redhat.com>
580
581         PR libstdc++/51798 continued.
582         * include/bits/shared_ptr_base.h
583         (_Sp_counted_base<_S_atomic>::_M_add_ref_lock): Hoist initial load
584         outside compare_exchange loop.
585         * include/tr1/shared_ptr.h: Same.
586         * include/parallel/compatibility.h (__compare_and_swap_32): Use strong
587         version of compare_exchange.
588         (__compare_and_swap_64): Same.
589         * include/profile/impl/profiler_state.h (__gnu_profile::__turn): Same.
590         * libsupc++/guard.cc (__cxa_guard_acquire): Same.
591
592 2012-02-10  Benjamin Kosnik  <bkoz@redhat.com>
593             Jonathan Wakely  <jwakely.gcc@gmail.com>
594
595         PR libstdc++/51798 continued.
596         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Use __atomic_*
597         builtins instead of __sync_* builtins for atomic functionality.
598         * include/bits/shared_ptr_base.h: Same.
599         * include/parallel/compatibility.h: Same.
600         * include/profile/impl/profiler_state.h: Same.
601         * include/tr1/shared_ptr.h: Same.
602         * libsupc++/eh_ptr.cc: Same.
603         * libsupc++/eh_throw.cc: Same.
604         * libsupc++/eh_tm.cc: Same.
605         * libsupc++/guard.cc: Same.
606         * configure: Regenerated.
607         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
608         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
609
610 2012-02-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
611
612         PR libstdc++/51296
613         * config/os/osf/ctype_base.h,
614         config/os/osf/ctype_configure_char.cc,
615         config/os/osf/ctype_inline.h, config/os/osf/error_constants.h:
616         Copy from config/os/generic.
617         * config/os/osf/os_defines.h: Likewise.
618         (_GTHREAD_USE_MUTEX_INIT_FUNC, _GTHREAD_USE_COND_INIT_FUNC):
619         Define.
620         * configure.host <osf*>: Use os/osf for os_include_dir.
621
622 2012-02-10  Uros Bizjak  <ubizjak@gmail.com>
623
624         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
625
626 2012-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
627
628         * doc/xml/manual/documentation_hacking.xml: Fix invalid attribute.
629
630 2012-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
631
632         * doc/xml/manual/status_cxx2011.xml: Update C++11 status table.
633
634 2012-02-07  Benjamin Kosnik  <bkoz@redhat.com>
635
636         * doc/doxygen/user.cfg.in: Update to doxygen 1.7.6.1.
637         * doc/xml/manual/documentation_hacking.xml: Update.
638
639 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
640
641         * testsuite/30_threads/call_once/39909.cc: Remove duplicate target
642         selector.
643         * testsuite/30_threads/call_once/49668.cc: Likewise.
644         * testsuite/30_threads/call_once/call_once1.cc: Likewise.
645         * testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
646         * testsuite/30_threads/mutex/cons/1.cc: Likewise.
647         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
648         * testsuite/30_threads/mutex/lock/1.cc: Likewise.
649         * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
650         * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
651         * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
652         * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
653         * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
654         * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
655         * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
656         * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
657         * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
658         * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
659         * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
660         * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
661         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
662         * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
663         * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
664         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
665         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
666
667 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
668
669         PR libstdc++/51296
670         * include/std/mutex (__mutex_base::~__mutex_base): Declare noexcept.
671         * src/c++11/condition_variable.cc (condition_variable): Use macro for
672         initializer function.
673
674         PR libstdc++/51906
675         * config/os/bsd/darwin/os_defines.h: Disable static initializer for
676         recursive mutexes.
677
678 2012-02-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
679
680         PR libstdc++/52128
681         * src/c++11/future.cc: Add explicit instantiation.
682
683 2012-02-06  François Dumont  <fdumont@gcc.gnu.org>
684
685         * include/debug/safe_iterator.h
686         (_Safe_iterator::_M_before_dereferenceable): Avoid the expensive
687         creation of a _Safe_iterator instance to do the check.
688
689 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
690
691         PR libstdc++/52104
692         * include/std/future (__future_base::_Async_state_common): Define
693         destructor inline for targets without TLS.
694         * src/c++11/future.cc (__future_base::_Async_state_common): Only
695         define destructor for TLS targets.
696
697 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
698
699         PR libstdc++/51956
700         * python/libstdcxx/v6/printers.py (StdPointerPrinter): Rename to...
701         (SharedPointerPrinter): This. Also show weak count.
702         * testsuite/libstdc++-prettyprinters/shared_ptr.cc: New.
703
704 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
705
706         * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Modify to
707         PASS instead of XFAIL.
708
709 2012-02-05  Jeffrey Yasskin  <jyasskin@gcc.gnu.org>
710             Paolo Carlini  <paolo.carlini@oracle.com>
711
712         PR libstdc++/52119
713         * include/std/limits (__glibcxx_min): Fix to avoid undefined behavior.
714
715 2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>
716
717         PR libstdc++/49445
718         * testsuite/29_atomics/atomic/cons/49445.cc: Add.
719
720 2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>
721
722         PR libstdc++/51811
723         * include/bits/atomic_base.h (atomic<_Tp*>): Fix offsets.
724         * testsuite/29_atomics/atomic/operators/51811.cc: New.
725         * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: New.
726
727 2012-02-03  Jakub Jelinek  <jakub@redhat.com>
728
729         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
730         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
731         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
732         Likewise.
733         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
734         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
735         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
736         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
737         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
738         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
739
740 2012-02-02  Benjamin Kosnik  <bkoz@redhat.com>
741
742         PR libstdc++/52068
743         * src/c++11/Makefile.am (toolexeclib_LTLIBRARIES,
744         libc__11_la_SOURCES): Remove.
745         * src/c++11/Makefile.in: Regenerate.
746         * src/c++98/Makefile.am (toolexeclib_LTLIBRARIES,
747         libc__98_la_SOURCES): Remove.
748         * src/c++98/Makefile.in: Regenerate.
749
750 2012-02-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
751
752         PR libstdc++/49204
753         * include/std/future (__future_base::_State_base::wait()): Use lambda
754         expression for predicate and remove redundant test.
755         (__future_base::_State_base::wait_for()): Return future_status and
756         use lambda expression for predicate.
757         (__future_base::_State_base::wait_until()): Likewise.
758         (__basic_future::wait_for(), __basic_future::wait_until()): Likewise.
759         (__future_base::_Async_state): Replace with _Async_state_common
760         class for non-dependent functionality and _Async_state_impl class
761         template for dependent functionality.
762         (__future_base::_Async_state_common::_M_join): Serialize attempts to
763         join thread.
764         (__future_base::_Async_state_common::_M_run_deferred): Join.
765         (__future_base::_Async_state::_M_do_run): Replace with lambda.
766         * src/c++11/future.cc (__future_base::_Async_state_common): Define
767         destructor, so key function is in the library.
768         * config/abi/pre/gnu.ver: Add exports for ~_Async_state_common.
769         * testsuite/30_threads/packaged_task/members/get_future.cc: Expect
770         future_status return instead of bool.
771         * testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
772         * testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
773         * testsuite/30_threads/future/members/wait_until.cc: Likewise.
774         * testsuite/30_threads/future/members/wait_for.cc: Likewise.
775         * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
776         * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
777         * testsuite/30_threads/promise/members/swap.cc: Likewise.
778
779 2012-01-30  Tom Tromey  <tromey@redhat.com>
780
781         PR libstdc++/51649:
782         * testsuite/libstdc++-prettyprinters/debug.cc: New file.
783         * testsuite/lib/gdb-test.exp (regexp-test): New proc.
784         (note-test): Update.
785         (gdb-test): Handle regexp tests.  Add some logging.
786         * testsuite/libstdc++-prettyprinters/simple.cc: Compile with -O0.
787         (placeholder, use): Remove.
788         (main): Add tests for deque, list, map, and set iterators.  Add
789         tests for slist and slist iterator.
790         * testsuite/libstdc++-prettyprinters/48362.cc (main): Handle __7
791         namespace.
792         * python/libstdcxx/v6/printers.py (StdListPrinter.children): Use
793         the type's _Node typedef.
794         (StdListIteratorPrinter.to_string): Change how node type is
795         computed.
796         (StdSlistPrinter.children): Use the type's _Node typedef.
797         (StdSlistIteratorPrinter.to_string): Likewise.
798         (StdRbtreeIteratorPrinter.to_string): Use the type's _Link_type
799         typedef.
800         (StdMapPrinter.children): Change how the node's type is computed.
801         (StdSetPrinter.children): Likewise.
802         (StdForwardListPrinter.children): Use the type's _Node typedef.
803         (Printer.add_version): New method.
804         (Printer.add_container): New method.
805         (build_libstdcxx_dictionary): Handle __7 and __cxx1998
806         namespaces.
807         (find_type): New function.
808
809 2012-01-27  Paolo Carlini  <paolo.carlini@oracle.com>
810
811         PR libstdc++/51795
812         * include/bits/random.h (linear_congruential_generator): Add
813         static_assert preventing instantiation for values of 'a' and 'm'
814         currently handled incorrectly by _Mod::__calc.
815         * include/bits/random.tcc (seed_seq::generate): Avoid unsafe
816         uses of _Mod::__calc.
817
818 2012-01-27  Jakub Jelinek  <jakub@redhat.com>
819
820         PR libstdc++/51798
821         * config/cpu/generic/atomicity_builtins/atomicity.h
822         (__exchange_and_add, __atomic_add): Use __atomic_fetch_add
823         with __ATOMIC_ACQ_REL semantics instead of __sync_fetch_and_add.
824         * include/ext/atomicity.h (__exchange_and_add, __atomic_add):
825         Likewise.
826
827 2011-01-27  Rafael Avila de Espindola  <rafael.espindola@gmail.com>
828
829         * libsupc++/typeinfo: Correctly match #pragma GCC visibility
830         pop with #pragma GCC visibility push.
831
832 2012-01-27  Benjamin Kosnik  <bkoz@redhat.com>
833             Matthias Klose  <doko@ubuntu.com>
834
835         * configure.ac (GLIBCXX_ENABLE_DEBUG_FLAGS): Use -gdwarf-4 -g3 -O0.
836         * configure.in: Regenerated.
837         * src/Makefile.am (all-once, install-data-once): New rules.
838         (all-local, install-data-local): Use them.
839         (build-debug, install-debug): Tweak.
840         * src/Makefile.in: Regenerate.
841
842 2012-01-27  Richard Henderson  <rth@redhat.com>
843
844         * include/bits/atomic_base.h (__atomic_flag_base): Define _M_i
845         based on the value of __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
846         (ATOMIC_FLAG_INIT): Initialize with 0, not false.
847         (atomic_flag::atomic_flag): Use __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
848
849 2012-01-26  Jakub Jelinek  <jakub@redhat.com>
850
851         PR bootstrap/51985
852         * src/c++98/Makefile.am (libc__98_la_SOURCES,
853         libc__98convenience_la_SOURCES): Remove $(inst_sources).
854         * src/c++98/Makefile.in: Regenerated.
855
856 2012-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
857
858         * testsuite/20_util/system_clock/1.cc: Add dg-require-time.
859         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
860         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
861         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
862         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Add
863         dg-require-fileio.
864         * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
865         * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
866         * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
867         * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc:
868         Likewise.
869         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
870
871 2012-01-25  Matthias Klose  <doko@ubuntu.com>
872
873         * testsuite/30_threads/condition_variable_any/requirements: Remove
874         empty directory.
875
876 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
877
878         * src/Makefile.am (libstdc++convenience.la): Correct stamp rule, copy.
879         * src/Makefile.in: Regenerate.
880
881 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
882
883         PR libstdc++/49829
884         Add libc++98convenience.la, libc++11convenience.la.
885         * src/c++98: New directory.
886         * src/c++11: New directory.
887         * acinclude.m4: (GLIBCXX_CONFIGURE): Add src-c++98, src-c++11.
888         * configure: Regenerated.
889         * Makefile.am (hosted_source): Add src-c++98, src-c++11 to SUBDIRS.
890         * Makefile.in: Regenerate.
891         * libsupc++/Makefile.am (AM_CXXFLAGS): USe XTEMPLATE_FLAGS for
892         -fno-implicit-templates.
893         * libsupc++/Makefile.in: Regenerate.
894         * src/Makefile.am (inst_sources): Move... C++11 files into
895         separate directory for libstdc++11convenience.la. Files are:
896         fstream-inst.cc, string-inst.cc, wlocale-inst.cc, wstring-inst.cc).
897         (sources): Move C++11 files. Files are: compatibility-c++0x.cc,
898         compatibility-atomic-c++0x.cc, debug.cc, functexcept.cc,
899         functional.cc, hash_c++0x.cc, hashtable_c++0x.cc, limits.cc,
900         system_error.cc, placeholders.cc, regex.cc, shared_ptr.cc,
901         mutex.cc, condition_variable.cc, chrono.cc, thread.cc, future.cc.
902         (libstdc++convenience.la): Add new target.
903         (SUBDIRS): Add c++11, c++98.
904         * src/Makefile.in: Regenerate.
905         * src/c++11/Makefile.am: New.
906         * src/c++11/Makefile.in: Generate.
907         * src/c++98/Makefile.am: New, C++98 files.
908         * src/c++98/Makefile.in: Generate.
909
910 2012-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
911
912         libstdc++-v3:
913         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
914         32-bit Solaris 10/x86.
915         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
916
917 2012-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
918
919         PR libstdc++/50982
920         * testsuite/30_threads/*: Add powerpc-ibm-aix* to target selectors.
921
922 2012-01-19  Jakub Jelinek  <jakub@redhat.com>
923
924         PR libstdc++/51845
925         * include/bits/hashtable.h
926         (_Hashtable<>::erase(const_iterator, const_iterator)): Also update
927         _M_buckets[__n_bkt] if __is_bucket_begin.
928         * testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc:
929         New test.
930
931 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
932
933         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): Fix quoting.
934
935 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
936
937         * configure.ac: Move epub checks...
938         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): ...here, use
939         test -f instead of AC_CHECK_FILES.
940
941 2012-01-18  François Dumont  <fdumont@gcc.gnu.org>
942             Roman Kononov  <roman@binarylife.net>
943
944         PR libstdc++/51866
945         * include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, false_type)):
946         Do not keep a reference to a potentially moved instance.
947         * testsuite/23_containers/unordered_multiset/insert/51866.cc: New.
948         * testsuite/23_containers/unordered_multimap/insert/51866.cc: New.
949
950 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
951
952         * doc/html/*: Regenerate.
953
954 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
955
956         * configure.ac (BUILD_EPUB): Adjust for epub3.
957         * configure: Regenerate.
958         * Makefile.in: Same.
959         * doc/Makefile.am (stamp-epub-docbook): Update for epub3.
960         * doc/Makefile.in: Regenerate.
961         * include/Makefile.in: Same.
962         * libsupc++/Makefile.in: Same.
963         * po/Makefile.in: Same.
964         * python/Makefile.in: Same.
965         * src/Makefile.in: Same.
966         * testsuite/Makefile.in: Same.
967
968         * doc/xml/manual/documentation_hacking.xml: Update.
969
970 2012-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
971
972         PR target/47852
973         * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS.
974
975 2012-01-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
976
977         * include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.
978
979 2012-01-13  François Dumont  <fdumont@gcc.gnu.org>
980
981         * include/bits/hashtable_policy.h (_Hash_node_base): New, use it as
982         base class of ...
983         (_Hash_node<Value, true>, _Hash_node<Value, false>): ... those.
984         * include/bits/hashtable.h (_Hashtable): Replace _M_begin_bucket_index
985         by _M_before_begin. Review implementation so that we do not need to
986         look for previous non-empty bucket when inserting nodes.
987
988 2012-01-09  Kai Tietz  <ktietz@redhat.com>
989
990         PR libstc++/51673 part 2
991         * config/abi/pre/gnu-versioned-namespace.ver: Adjusted new/delete
992         operators signature for LLP64 size_t, and adjusted signatures for
993         mt-allocator using size_t.
994
995 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
996
997         PR libstc++/51673 part 1
998         * config/abi/pre/gnu-versioned-namespace.ver: Sync cxxabi symbols
999         with gnu.ver.
1000
1001 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1002
1003         * fragment.am (WARN_CXXFLAGS): Add -Wabi.
1004         * Makefile.in: Regenerate.
1005         * doc/Makefile.in: Same.
1006         * include/Makefile.in: Same.
1007         * libsupc++/Makefile.in: Same.
1008         * src/Makefile.in: Same.
1009         * testsuite/Makefile.in: Same.
1010         * po/Makefile.in: Same.
1011         * python/Makefile.in: Same.
1012
1013 2012-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1014
1015         * python/libstdcxx/v6/printers.py (StdForwardListPrinter): Add.
1016         * testsuite/libstdc++-prettyprinters/cxx11.cc: New.
1017
1018 2012-01-06  Jason Merrill  <jason@redhat.com>
1019
1020         * testsuite/abi/demangle/regression/cw-16.cc (main): Adjust
1021         expected demangling.
1022
1023 2012-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1024
1025         PR libstdc++/51504
1026         * doc/xml/manual/debug.xml: Suggest using symbol interposition
1027         to override symbols using annotation macros.
1028
1029 2012-01-05  François Dumont  <fdumont@gcc.gnu.org>
1030
1031         * include/bits/hashtable_policy.h (_Hashtable_base<>::_M_eq()):
1032         protected rather than private, use it...
1033         * include/bits/hashtable.h (_Hashtable<>::key_eq()): ... here.
1034         * testsuite/23_containers/unordered_set/observers.cc: New.
1035         * testsuite/23_containers/unordered_multiset/observers.cc: New.
1036         * testsuite/23_containers/unordered_map/observers.cc: New.
1037         * testsuite/23_containers/unordered_multimap/observers.cc: New.
1038
1039 2012-01-03  François Dumont  <fdumont@gcc.gnu.org>
1040
1041         * include/bits/hashtable_policy.h (_Ebo_helper<>): Rename to the more
1042         specific _Hashtable_ebo_helper. Hide this implementation detail thanks
1043         to private inheritance.
1044
1045 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
1046
1047         PR c++/51738
1048         * testsuite/23_containers/map/element_access/39901.cc: New.