OSDN Git Service

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