OSDN Git Service

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