OSDN Git Service

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