OSDN Git Service

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