OSDN Git Service

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