OSDN Git Service

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