OSDN Git Service

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