OSDN Git Service

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