OSDN Git Service

2049b68cec0ccdc82d6ed8757ac187c4246b618a
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2013-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
2
3         PR libstdc++/58302
4         * include/bits/random.tcc (negative_binomial_distribution<>::
5         operator()(_UniformRandomNumberGenerator&, const param_type&):
6         Fix typo in template argument.
7         * testsuite/26_numerics/random/negative_binomial_distribution/
8         operators/58302.cc: New.
9
10 2013-08-17  Uros Bizjak  <ubizjak@gmail.com>
11
12         * src/c++98/compatibility.cc (_ZTIe): Use
13         reinterpret_cast<const cast *> to avoid -Wcast-qual warnings.
14         (_ZTIPe): Ditto.
15         (ZTIPKe): Ditto.
16
17 2013-05-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
18
19         * include/bits/basic_string.h (getline): Fix doxygen comments.
20
21 2013-05-14  Evgeniy Stepanov  <eugenis@google.com>
22
23         * src/c++11/system_error.cc (generic_category_instance): Add
24         initializer.
25         (system_category_instance): Likewise.
26         * src/c++11/future.cc (__fec): Likewise.
27
28 2013-04-15  Jack Howarth  <howarth@bromo.med.uc.edu>
29
30         Backport from mainline
31
32         2012-10-10  Jack Howarth  <howarth@bromo.med.uc.edu>
33                     Jonathan Wakely  <jwakely.gcc@gmail.com>
34
35         PR libstdc++/54847
36         * config/os/bsd/darwin/os_defines.h: Define _GLIBCXX_USE_NANOSLEEP
37         and _GLIBCXX_USE_SCHED_YIELD.
38         * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add comment.
39
40 2013-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
41
42         * testsuite/30_threads/condition_variable/members/53841.cc: Add
43         -std=gnu++0x -pthread on alpha*-*-osf*, mips-sgi-irix6*.
44
45 2013-04-11  Release Manager
46
47         * GCC 4.7.3 released.
48
49 2013-03-30  Gerald Pfeifer  <gerald@pfeifer.com>
50
51         * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.q
52
53         * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
54         Coding Standards.
55
56         * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
57
58         * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
59
60         * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
61
62         * doc/xml/manual/messages.xml: Adjust link to Java API specs.
63
64         * doc/xml/manual/policy_data_structures: Remove direct link to
65         IBM Haifa Research Labs.
66
67         * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
68         for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
69
70         * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
71         papers.
72
73         * doc/xml/manual/shared_ptr.xml: Use canonical address for
74         www.boost.org.
75
76 2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
77
78         PR libstdc++/56468
79         * libsupc++/exception_ptr.h (type_info): Declare.
80
81 2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
82
83         PR libstdc++/56002
84         * include/std/mutex (lock_guard, unique_lock, lock): Define without
85         depending on _GLIBCXX_HAS_GTHREADS.
86         * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
87
88 2013-03-09  François Dumont  <fdumont@gcc.gnu.org>
89
90         * include/bits/vector.tcc (vector<>operator=(const vector<>&):
91         Reset pointers after deallocation when memory can be reused.
92         * testsuite/23_containers/vector/allocator/minimal.cc: Insert
93         elements to really challenge C++11 allocator integration.
94         * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
95         * testsuite/23_containers/vector/allocator/copy_assign.cc:
96         Likewise.
97         * testsuite/23_containers/vector/allocator/move_assign.cc:
98         Likewise.
99         * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
100         swap vector back before checks on memory/personality mapping are
101         performed.
102
103 2013-02-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
104
105         PR libstdc++/56012
106         * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
107         * testsuite/29_atomics/atomic/operators/56012.cc: New.
108
109         PR libstdc++/56011
110         * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
111         missing overload.
112         * testsuite/29_atomics/atomic/operators/56011.cc: New.
113
114 2013-02-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
115
116         * include/std/streambuf (basic_streambuf): Fix unclosed Doxygen group.
117
118 2013-02-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
119
120         PR libstdc++/55043
121         * include/bits/alloc_traits.h (allocator_traits::construct): Disable
122         unless construction would be well-formed.
123         (__allow_copy_cons, __check_copy_constructible): Define.
124         * include/bits/unordered_map.h (__check_copy_constructible): Use as
125         base class so copy constructor will be deleted if appropriate.
126         * include/bits/unordered_set.h: Likewise.
127         * include/std/unordered_set: Include alloc_traits.h.
128         * include/std/unordered_set: Likewise.
129         * include/debug/unordered_map.h: Default copy and move constructors.
130         * include/debug/unordered_set.h: Likewise.
131         * testsuite/23_containers/unordered_map/55043.cc: Fix test.
132         * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
133         * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
134         * testsuite/23_containers/unordered_set/55043.cc: Likewise.
135         * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
136         cannot support incomplete types.
137         * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
138         Likewise.
139         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
140         dg-error line number.
141
142 2013-02-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
143
144         * include/std/functional (mem_fn): Qualify to prevent ADL.
145         * testsuite/20_util/function_objects/mem_fn/adl.cc: New.
146
147 2013-02-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
148
149         * include/bits/hashtable.h: Improve comments.
150         * include/bits/hashtable_policy.h: Likewise.
151
152 2013-01-24  Paolo Carlini  <paolo.carlini@oracle.com>
153
154         PR libstdc++/56085
155         * include/std/complex (pow(const complex<>&, int)): Avoid __n
156         signed overflow.
157
158 2013-01-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
159
160         PR libstdc++/52887
161         * src/c++11/regex.cc: Add instantiations for AIX.
162
163 2013-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
164
165         * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
166
167 2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
168
169         * doc/xml/manual/abi.xml: Update library and symbol versions.
170
171 2012-12-18  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
172
173         Backport from mainline
174         2012-10-15  Matthias Klose  <doko@ubuntu.com>
175
176         * configure.host: Match arm*-*-linux-* for ARM Linux/GNU.
177         * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
178         * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.
179
180 2012-12-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
181
182         * doc/xml/manual/abi.xml: Update URLs for C++ ABI.
183         * doc/xml/manual/policy_data_structures_biblio.xml: Add xmlns
184         * doc/xml/manual/policy_data_structures.xml: Set filename for chunk.
185         * doc/xml/manual/spine.xml: Update copyright years.
186         * doc/html/*: Regenerate.
187
188 2012-12-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
189
190         * src/c++11/thread.cc: Update copyright years.
191
192 2012-12-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
193
194         * src/c++11/thread.cc (execute_native_thread_routine): Do not swallow
195         __forced_unwind exceptions.
196         * testsuite/30_threads/thread/native_handle/cancel.cc: New.
197
198 2012-12-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
199
200         PR libstdc++/55631
201         * include/ext/alloc_traits.h: Include missing header.
202         * include/ext/pointer.h: Likewise.
203         * include/ext/string_conversions.h: Require C++11.
204         * libsupc++/initializer_list: Reindent.
205
206 2012-12-12  Benjamin Kosnik  <bkoz@redhat.com>
207
208         * doc/xml/manual/documentation_hacking.xml: Fix validation issue.
209
210 2012-12-10  Benjamin Kosnik  <bkoz@redhat.com>
211
212         * doc/Makefile.am (xml_sources_manual): Add
213         policy_data_structures_biblio.xml.
214         (${docbook_outdir}/latex): Add.
215         (doc-xml-validate-docbook): Split into..
216         (doc-xml-validate-dtd-db):... this for DTD.
217         (doc-xml-validate-rng-db):... this for Relax NG.
218         (doc-pdf-docbook-dirs): Add.
219         (doc-pdf-docbook-pre): Add.
220         * doc/xml/manual/build_hacking.xml: Add literal markup.
221         * doc/xml/manual/documentation_hacking.xml: Clean whitespace in
222         <filename> markup. Add notes about debugging the generation process.
223         * doc/xml/manual/policy_data_structures.xml: Split biblio into...
224         * doc/xml/manual/policy_data_structures_biblio.xml: ... this. New.
225         * doc/xml/manual/test_policy_data_structures.xml: Fixup <filename>
226         markup.
227
228 2012-12-10  Matthias Klose  <doko@ubuntu.com>
229
230         * src/Makefile.am (libstdc++-symbols.ver): Use CONFIG_HEADER.
231         * src/Makefile.in: Regenerate.
232
233 2012-12-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
234
235         PR libstdc++/55503
236         * testsuite/30_threads/condition_variable/members/53841.cc: Add
237         hppa*-hp-hpux11* to -pthread dg-options.
238
239 2012-11-20  Paolo Carlini  <paolo.carlini@oracle.com>
240
241         PR libstdc++/55413
242         * include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Initialize
243         __bbegin_bkt and __prev_bkt to avoid uninitialized warnings.
244         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
245         dg-error line number.
246
247 2012-11-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
248
249         PR libstdc++/53841
250         * include/std/condition_variable (condition_variable::wait_until):
251         Handle clocks with higher resolution than __clock_t.
252         * testsuite/30_threads/condition_variable/members/53841.cc: New.
253
254 2012-11-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
255
256         PR libstdc++/55320
257         * include/std/functional (function::function(F)): Set _M_manager after
258         operations that could throw.
259         (_Function_base::_Ref_manager::_M_init_functor): Use addressof.
260         * include/tr1/functional
261         (_Function_base::_Ref_manager::_M_init_functor): Use addressof.
262         (_Function_base::_Base_manager::_M_get_pointer): Likewise.
263         * testsuite/20_util/function/cons/55320.cc: New.
264         * testsuite/20_util/function/cons/addressof.cc: New.
265         * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
266         * testsuite/tr1/3_function_objects/function/10.cc: New.
267
268 2012-11-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
269
270         * include/std/future (atomic_future): Remove declaration of
271         non-standard name.
272
273 2012-11-08  François Dumont  <fdumont@gcc.gnu.org>
274
275         PR libstdc++/54075
276         * include/bits/hashtable.h (_Hashtable<>::rehash): Reset hash
277         policy state if no rehash.
278         * testsuite/23_containers/unordered_set/modifiers/reserve.cc
279         (test02): New.
280
281 2012-11-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
282
283         * include/profile/iterator_tracker.h (operator++): Fix returning
284         dangling reference.
285         (operator--): Likewise.
286
287 2012-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
288
289         * testsuite/20_util/shared_ptr/cons/55123.cc: Remove duplicate
290         include.
291
292 2012-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
293
294         * testsuite/*: Fix copying permission statements.
295
296 2012-11-05  Benjamin Kosnik  <bkoz@redhat.com>
297
298         PR libstdc++/28811
299         PR libstdc++/54482
300         * configure.ac (glibcxx_lt_pic_flag,
301           glibcxx_compiler_pic_flag,
302           glibcxx_compiler_shared_flag): New. Use them.
303         (lt_prog_compiler_pic_CXX): Set via glibcxx_*_flag(s) above.
304         (pic_mode): Set to default.
305         (PIC_CXXFLAGS): Remove.
306         * Makefile.am (PICFLAG, PICFLAG_FOR_TARGET): Remove. Comment.
307         * libsupc++/Makefile.am: Use glibcxx_ld_pic_flag and
308           glibcxx_compiler_shared_flag. Comment.
309         * src/c++11/Makefile.am: Same.
310         * src/c++98/Makefile.am: Same.
311         * src/Makefile.am: Use glibcxx_compiler_pic_flag.
312
313         * Makefile.in: Regenerated.
314         * aclocal.m4: Same.
315         * configure: Same.
316         * doc/Makefile.in: Same.
317         * include/Makefile.in: Same.
318         * libsupc++/Makefile.in: Same.
319         * po/Makefile.in: Same.
320         * python/Makefile.in: Same.
321         * src/Makefile.in: Same.
322         * src/c++11/Makefile.in: Same.
323         * src/c++98/Makefile.in: Same.
324         * testsuite/Makefile.in: Same.
325
326         * src/c++11/compatibility-atomic-c++0x.cc: Use
327           _GLIBCXX_SHARED instead of PIC to designate shared-only
328           code blocks.
329         * src/c++11/compatibility-c++0x.cc: Same.
330         * src/c++11/compatibility-thread-c++0x.cc: Same.
331         * src/c++98/compatibility-list-2.cc: Same.
332         * src/c++98/compatibility.cc: : Same.
333
334         * testsuite/17_intro/shared_with_static_deps.cc: New.
335
336         * doc/xml/manual/build_hacking.xml: Separate configure from
337         make/build issues, add build details.
338
339 2012-11-05  Benjamin Kosnik  <bkoz@redhat.com>
340             Oleg Smolsky  <oleg@smolsky.net>
341
342         PR libstdc++/55028
343         *  config/abi/pre/gnu-versioned-namespace.ver: Add symbols.
344         * testsuite/23_containers/unordered_multimap/insert/55028-debug.cc: New.
345
346 2012-11-05  Paolo Carlini  <paolo.carlini@oracle.com>
347
348         PR libstdc++/55215
349         * include/bits/random.tcc (mersenne_twister_engine<>::seed(_Sseq&)):
350         Assign state_size to _M_p.
351         * testsuite/26_numerics/random/mersenne_twister_engine/cons/55215.cc:
352         New.
353         * testsuite/26_numerics/random/independent_bits_engine/cons/55215.cc:
354         Likewise.
355         * testsuite/26_numerics/random/shuffle_order_engine/cons/55215.cc:
356         Likewise.
357         * testsuite/26_numerics/random/subtract_with_carry_engine/cons/
358         55215.cc: Likewise.
359         * testsuite/26_numerics/random/discard_block_engine/cons/55215.cc:
360         Likewise.
361         * testsuite/26_numerics/random/linear_congruential_engine/cons/
362         55215.cc: Likewise.
363
364 2012-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
365
366         PR libstdc++/55169
367         * include/bits/random.h: Remove all uses of param().
368
369 2012-11-01   Haakan Younes  <hyounes@google.com>
370              Paolo Carlini  <paolo.carlini@oracle.com>
371
372         PR libstdc++/55047
373         * include/bits/random.h (exponential_distribution<>::operator):
374         Fix formula to std::log(result_type(1) - __aurng()).
375         * include/bits/random.tcc: Likewise, everywhere.
376
377 2012-10-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
378
379         PR libstdc++/55123
380         * include/bits/shared_ptr_base.h (__shared_count::_S_create_from_up):
381         Do not instantiate allocator with element_type.
382         * testsuite/20_util/shared_ptr/cons/55123.cc: New.
383
384 2012-10-10  Andrew MacLeod  <amacleod@redhat.com>
385
386         PR libstdc++/54861
387         * include/bits/atomic_base.h (atomic_signal_fence): Call
388         __atomic_signal_fence instead of __atomic_thread_fence.
389
390 2012-09-20  Benjamin Kosnik  <bkoz@redhat.com>
391
392         PR libstdc++/54102, part 2
393         * doc/Makefile.am (XSL_HTML_STYLE): use xhtml, not html.
394         * doc/Makefile.in: Regenerate.
395         * doc/html/*: Same.
396
397 2012-09-20  Benjamin Kosnik  <bkoz@redhat.com>
398
399         * doc/html/*: Regenerate.
400
401 2012-09-20  Benjamin Kosnik  <bkoz@redhat.com>
402
403         PR libstdc++/54102
404         * doc/xsl/customization.xsl.in: New.
405         * configure.ac: Output local copy of customization xsl.
406         * doc/Makefile.am (stamp-html-single-docbook): Use XSL_LOCAL_STYLE.
407         (stamp-html-docbook): Set stringparam to UTF-8.
408         * Makefile.in: Regenerated.
409         * configure: Same.
410         * doc/Makefile.in: Same.
411
412 2012-09-20  Release Manager
413
414         * GCC 4.7.2 released.
415
416 2012-09-11  Jakub Jelinek  <jakub@redhat.com>
417
418         PR libstdc++/54172
419         * libsupc++/guard.cc (__cxa_guard_acquire): Fix up the last
420         argument of the first __atomic_compare_exchange_n.
421
422 2012-09-09  Thiago Macieira  <thiago.macieira@intel.com>
423
424         PR libstdc++/54172
425         * libsupc++/guard.cc (__cxa_guard_acquire): Exit the loop earlier if
426         we detect that another thread has had success. Don't compare_exchange
427         from a finished state back to a waiting state. Comment.
428
429 2012-09-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
430
431         PR libstdc++/54388
432         * include/std/array (array::at() const): Ensure lvalue result.
433         * testsuite/23_containers/array/element_access/54388.cc: New.
434
435 2012-09-06  Marc Glisse  <marc.glisse@inria.fr>
436             Paolo Carlini  <paolo.carlini@oracle.com>
437
438         PR libstdc++/54376
439         * include/bits/random.h (lognormal_distribution<>::operator==,
440         gamma_distribution<>::operator==,
441         chi_squared_distribution<>::operator==,
442         fisher_f_distribution<>::operator==,
443         student_t_distribution<>::operator==,
444         binomial_distribution<>::operator==,
445         negative_binomial_distribution<>::operator==,
446         poisson_distribution<>::operator==): Change inline friend definition
447         to non-template.
448         * testsuite/26_numerics/random/binomial_distribution/requirements/
449         explicit_instantiation/1.cc: New.
450         * testsuite/26_numerics/random/cauchy_distribution/requirements/
451         explicit_instantiation/1.cc: Likewise.
452         * testsuite/26_numerics/random/chi_squared_distribution/
453         requirements/explicit_instantiation/1.cc: Likewise.
454         * testsuite/26_numerics/random/discrete_distribution/requirements/
455         explicit_instantiation/1.cc: Likewise.
456         * testsuite/26_numerics/random/exponential_distribution/
457         requirements/explicit_instantiation/1.cc: Likewise.
458         * testsuite/26_numerics/random/extreme_value_distribution/
459         requirements/explicit_instantiation/1.cc: Likewise.
460         * testsuite/26_numerics/random/fisher_f_distribution/requirements/
461         explicit_instantiation/1.cc: Likewise.
462         * testsuite/26_numerics/random/gamma_distribution/requirements/
463         explicit_instantiation/1.cc: Likewise.
464         * testsuite/26_numerics/random/geometric_distribution/requirements/
465         explicit_instantiation/1.cc: Likewise.
466         * testsuite/26_numerics/random/lognormal_distribution/requirements/
467         explicit_instantiation/1.cc: Likewise.
468         * testsuite/26_numerics/random/negative_binomial_distribution/
469         requirements/explicit_instantiation/1.cc: Likewise.
470         * testsuite/26_numerics/random/normal_distribution/requirements/
471         explicit_instantiation/1.cc: Likewise.
472         * testsuite/26_numerics/random/piecewise_constant_distribution/
473         requirements/explicit_instantiation/1.cc: Likewise.
474         * testsuite/26_numerics/random/piecewise_linear_distribution/
475         requirements/explicit_instantiation/1.cc: Likewise.
476         * testsuite/26_numerics/random/poisson_distribution/requirements/
477         explicit_instantiation/1.cc: Likewise.
478         * testsuite/26_numerics/random/student_t_distribution/requirements/
479         explicit_instantiation/1.cc: Likewise.
480         * testsuite/26_numerics/random/uniform_int_distribution/
481         requirements/explicit_instantiation/1.cc: Likewise.
482         * testsuite/26_numerics/random/uniform_real_distribution/
483         requirements/explicit_instantiation/1.cc: Likewise.
484         * testsuite/26_numerics/random/weibull_distribution/requirements/
485         explicit_instantiation/1.cc: Likewise.
486
487 2012-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
488
489         * testsuite/30_threads/async/54297.cc: Add dg-require-nanosleep.
490
491 2012-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
492
493         PR libstdc++/54297
494         * src/c++11/future.cc (~_Async_state_common): Move to...
495         * src/c++11/compatibility-thread-c++0x.cc (~_Async_state_common):
496         Here.
497         (_GLIBCXX_ABI_COMPAT_ASYNC): Rename to _GLIBCXX_ASYNC_ABI_COMPAT.
498         * include/std/future (_GLIBCXX_ABI_COMPAT_ASYNC): Likewise.
499
500 2012-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
501             Geoff Romer  <gromer@google.com>
502
503         PR libstdc++/54351
504         * include/bits/unique_ptr.h (unique_ptr<T>::~unique_ptr): Do not use
505         reset().
506         (unique_ptr<T[]>::~unique_ptr()): Likewise.
507         * testsuite/20_util/unique_ptr/54351.cc: New.
508         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust dg-error
509         line numbers.
510
511 2012-08-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
512
513         PR libstdc++/54297
514         * include/std/future (~_Async_state_impl): Join thread before
515         derived class members are destroyed.
516         (~_Async_state_common): Only define non-trivial destructor when
517         included from future.cc for ABI compatibility reasons.
518         * src/c++11/future.cc (_GLIBCXX_ABI_COMPAT_ASYNC): Define.
519         * testsuite/30_threads/async/54297.cc: New.
520
521 2012-08-13  David Adler  <d.adler.s@gmail.com>
522
523         PR libstdc++/54185
524         * src/c++11/condition_variable.cc (condition_variable): Always
525         destroy native type in destructor.
526         * testsuite/30_threads/condition_variable/54185.cc: New.
527
528 2012-08-06  Peter Bergner  <bergner@vnet.ibm.com>
529
530         PR libstdc++/54036
531         * include/decimal/decimal.h (_DEFINE_DECIMAL_UNARY_OP): Use _Op as
532         a unary operator.
533         * testsuite/decimal/pr54036-1.cc: New test.
534         * testsuite/decimal/pr54036-2.cc: Likewise.
535         * testsuite/decimal/pr54036-3.cc: Likewise.
536
537 2012-08-02  Michael Hope  <michael.hope@linaro.org>
538
539         Backport from mainline r186389:
540         2012-04-12  Andreas Schwab  <schwab@linux-m68k.org>
541
542         * testsuite/Makefile.am (check_DEJAGNUnormal0): Run
543         prettyprinters.exp.
544         * testsuite/Makefile.in: Regenerated.
545
546 2012-07-29  François Dumont  <fdumont@gcc.gnu.org>
547
548         PR libstdc++/54075
549         * include/bits/hashtable_policy.h
550         (_Prime_rehash_policy::_M_next_bkt): Add a growth factor set to 2
551         to boost growth in the number of buckets.
552         * testsuite/performance/23_containers/insert/unordered_set.cc: New.
553
554 2012-07-26  François Dumont  <fdumont@gcc.gnu.org>
555
556         PR libstdc++/54075
557         * include/bits/hashtable.h
558         (_Hashtable<>::_Hashtable(_InputIterator, _InputIterator,
559         size_type, ...): Remove std::max usage to guarantee that hashtable
560         state is consistent with hash policy state.
561         (_Hashtable<>::rehash): Likewise. Set _M_prev_resize to 0 to avoid
562         the hashtable shrinking on next insertion.
563         * testsuite/23_containers/unordered_set/modifiers/reserve.cc: New.
564         * testsuite/23_containers/unordered_multiset/modifiers/reserve.cc: New.
565         * testsuite/23_containers/unordered_map/modifiers/reserve.cc: New.
566         * testsuite/23_containers/unordered_multimap/modifiers/reserve.cc: New.
567
568 2012-07-20  Paolo Carlini  <paolo.carlini@oracle.com>
569
570         * testsuite/30_threads/thread/adl.cc: Add missing dg-requires.
571
572 2012-07-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
573
574         PR libstdc++/53270
575         * include/ext/concurrence.h: Use NSDMI for gthreads types.
576         * include/ext/rope: Likewise. Destroy mutexes in destructors. Add
577         system_header pragma.
578
579         Revert:
580         2012-06-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
581
582         PR libstdc++/53270
583         * config/os/gnu-linux/os_defines.h: Disable static initializer macros
584         for gthreads types in C++11 mode.
585
586 2012-07-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
587
588         PR libstdc++/53978
589         * include/bits/alloc_traits.h (allocator_traits): Define static
590         constants.
591         * include/bits/ptr_traits.h (pointer_traits): Likewise.
592         * include/ext/alloc_traits.h (__allocator_always_compares_equal):
593         Likewise.
594
595 2012-07-13  Paolo Carlini  <paolo.carlini@oracle.com>
596
597         PR libstdc++/53657
598         * include/bits/stl_pair.h (pair<>::pair(pair&&)): Declare defaulted,
599         per C++11.
600         * include/bits/stl_map.h (map<>::insert(_Pair&&), map<>::insert
601         (const_iterator, _Pair&&)): Constrain with std::is_constructible,
602         per LWG2005.
603         * include/bits/stl_multimap.h (multimap<>::insert(_Pair&&),
604         multimap<>::insert(const_iterator, _Pair&&)): Likewise.
605         * include/bits/hashtable_policy.h (_Insert<>::insert(_Pair&&),
606         _Insert<>::insert(const_iterator, _Pair&&)): Likewise.
607         * include/debug/unordered_map: Adjust.
608         * include/debug/map.h: Likewise.
609         * include/debug/multimap.h: Likewise.
610         * include/profile/unordered_map: Likewise.
611         * include/profile/map.h: Likewise.
612         * include/profile/multimap.h: Likewise.
613
614 2012-07-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
615
616         PR libstdc++/53578
617         * include/ext/concurrence.h (__recursive_mutex::_S_destroy): Fix
618         narrowing conversion.
619         * include/std/mutex (__recursive_mutex_base::_S_destroy): Likewise.
620
621 2012-07-06  Paolo Carlini  <paolo.carlini@oracle.com>
622
623         PR libstdc++/53872
624         * include/std/thread (thread::_M_make_routine): Qualify make_shared
625         to prevent ADL.
626         * testsuite/30_threads/thread/adl.cc: New.
627
628 2012-07-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
629
630         * include/std/condition_variable: Update copyright years.
631
632 2012-07-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
633
634         PR libstdc++/53830
635         * include/std/condition_variable (condition_variable_any::wait):
636         Move _Unlock type to class scope.
637         (condition_variable_any::wait_until): Reuse it.
638         * testsuite/30_threads/condition_variable_any/53830.cc: New.
639
640 2012-07-02  Paolo Carlini  <paolo.carlini@oracle.com>
641
642         Revert:
643         2011-10-04  Paolo Carlini  <paolo.carlini@oracle.com>
644
645         PR libstdc++/49561
646         * include/bits/stl_list.h (_List_base<>::_List_impl::_M_size):
647         Add in C++0x mode.
648         (_List_base<>::_List_impl, _List_base<>::_M_get_node,
649         _List_base<>::_M_put_node, _List_base<>::_List_base(_List_base&&),
650         list<>::size, list<>::swap, list<>::splice): Use it.
651         (operator==(const list<>&, const list<>&)): Rewrite in C++0x mode.
652         * include/bits/list.tcc (list<>::erase): Likewise.
653         (list<>::merge): Adjust in C++0x mode.
654         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
655         Adjust dg-error line number.
656         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
657         Likewise.
658         * testsuite/23_containers/list/requirements/dr438/
659         constructor_1_neg.cc: Likewise.
660         * testsuite/23_containers/list/requirements/dr438/
661         constructor_2_neg.cc: Likewise.
662
663 2012-06-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
664
665         PR libstdc++/53270
666         * config/os/gnu-linux/os_defines.h: Disable static initializer macros
667         for gthreads types in C++11 mode.
668
669 2012-06-19  Jörg Sonnenberger <joerg@britannica.bec.de>
670             Jonathan Wakely  <jwakely.gcc@gmail.com>
671
672         PR libstdc++/53678
673         * config/os/bsd/netbsd/ctype_base.h: Check for _CTYPE_U.
674         * testsuite/22_locale/ctype_base/53678.cc: New.
675
676 2012-06-14  Release Manager
677
678         * GCC 4.7.1 released.
679
680 2012-05-28  Paolo Carlini  <paolo.carlini@oracle.com>
681
682         PR c++/53503
683         * testsuite/26_numerics/headers/cmath/53503.cc: New.
684
685 2012-05-10  DJ Delorie  <dj@redhat.com>
686
687         * include/bits/random.tcc (seed_seq::generate): Cast max()
688         operands to size_t to ensure a template match.
689         * include/std/bitset (_M_copy_from_ptr): Cast min() operands to
690         size_t to ensure a template match.
691
692 2012-05-02  Paolo Carlini  <paolo.carlini@oracle.com>
693
694         PR libstdc++/53193
695         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
696         dg-error line number.
697
698 2012-05-01  François Dumont  <fdumont@gcc.gnu.org>
699
700         PR libstdc++/53115
701         * include/bits/hashtable.h
702         (_Hashtable<>::_M_rehash_aux(size_type, false_type)): Fix buckets
703         after insertion of several equivalent elements.
704         * testsuite/23_containers/unordered_multiset/insert/53115.cc: New.
705         * testsuite/23_containers/unordered_multimap/insert/53115.cc: New.
706
707 2012-04-30  Andreas Tobler  <andreast@fgznet.ch>
708
709         Backport from mainline
710         2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
711
712         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
713         Skip this test on powerpc64-*-freebsd*.
714
715 2012-04-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
716
717         * include/std/scoped_allocator (scoped_allocator::__outermost): Do
718         not pass non-POD to varargs function.
719         * testsuite/20_util/scoped_allocator/1.cc: Fix test.
720
721 2012-04-23  Chris Jefferson  <chris@bubblescope.net>
722
723         PR testsuite/53046
724         * testsuite/25_algorithms/stable_partition/mem_check.cc: Fix size
725         of array A.
726         * testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise.
727
728 2012-04-22  Paolo Carlini  <paolo.carlini@oracle.com>
729
730         PR libstdc++/53067
731         * include/bits/hashtable_policy.h: Change inheritances to public.
732         * testsuite/23_containers/unordered_map/requirements/53067.cc: New.
733         * testsuite/23_containers/unordered_set/requirements/53067.cc: Likewise.
734
735 2012-04-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
736
737         PR libstdc++/53027
738         * include/bits/ptr_traits.h (pointer_traits::rebind): Make public.
739         * testsuite/20_util/pointer_traits/requirements/typedefs.cc: Check
740         rebind works.
741
742 2012-04-21  Alan Modra  <amodra@gmail.com>
743
744         PR libstdc++/52839
745         * acinclude.m4 (_GLIBCXX_ATOMIC_BUILTINS): Do not depend on
746         glibcxx_cv_atomic_long_long.
747         * configure: Regenerate.
748
749 2012-04-16  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
750
751         PR bootstrap/52840
752         * src/Makefile.am (build-debug): Do not adjust vpath dir, remove
753         Makefile.tmp
754         * src/Makefile.in: Adjust as per above.
755
756 2012-04-16  Benjamin Kosnik  <bkoz@redhat.com>
757
758         PR libstdc++/52689
759         * libsupc++/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
760         * libsupc++/Makefile.in: Regenerated.
761         * src/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
762         (libstdc___la_SOURCES): Add in compatiblity files, with content
763         that varies with -DPIC.
764         * src/Makefile.in: Regenerated.
765         * src/c++11/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
766         * src/c++11/Makefile.in: Regenerated.
767         * src/c++11/compatibility-atomic-c++0x.cc: Guard with PIC.
768         * src/c++11/compatibility-c++0x.cc: Same.
769         * src/c++11/future.cc: Consolidate compatibility bits into..
770         * src/c++11/mutex.cc: Consolidate compatibility bits into..
771         * src/c++11/compatibility-thread-cxx0x.cc: ...here. New.
772         * src/c++98/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak.
773         * src/c++98/Makefile.in: Regenerated.
774         * src/c++98/compatibility-list-2.cc: Guard with PIC.
775         * src/c++98/compatibility.cc: Tweak comments.
776
777 2012-04-16  Benjamin Kosnik  <bkoz@redhat.com>
778
779             * include/ext/pb_ds/detail/pat_trie_/
780             constructors_destructor_fn_imps.hpp: Increment after recursion.
781             * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Convert
782             node_type markup from brief.
783
784 2012-04-14  Paolo Carlini  <paolo.carlini@oracle.com>
785
786         PR libstdc++/52699
787         * include/bits/random.tcc (independent_bits_engine<>::operator()())
788         Avoid various overflows; use common_type on result_type and
789         _RandomNumberEngine::result_type; avoid floating point computations;
790         other smaller tweaks.
791
792         * include/bits/random.tcc (uniform_int_distribution<>::operator())
793         Use common_type; assume _UniformRandomNumberGenerator::result_type
794         unsigned; tidy.
795
796         * include/bits/stl_algobase.h (__lg(unsigned), __lg(unsigned long),
797         __lg(unsigned long long)): Add.
798
799 2012-04-13  Paolo Carlini  <paolo.carlini@oracle.com>
800
801         * include/debug/safe_iterator.h (_BeforeBeginHelper<>::
802         _S_Is_Beginnest): Add.
803         * include/debug/forward_list (_BeforeBeginHelper<>::
804         _S_Is_Beginnest): Likewise.
805         (_Safe_iterator<>::_M_is_beginnest): Add.
806         * include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range):
807         Use the latter.
808         * testsuite/23_containers/forward_list/debug/splice_after.cc:
809         Add test.
810
811 2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>
812
813         * include/bits/forward_list.h (splice_after(const_iterator,
814         forward_list&), splice_after(const_iterator, forward_list&,
815         consst_iterator), splice_after(const_iterator, forward_list&,
816         const_iterator, const_iterator), merge(forward_list&),
817         merge(forward_list&, _Comp)): Add per C++11 as published (and
818         LWG 1310).
819         * include/debug/forward_list: Adjust.
820
821         * include/bits/forward_list.h (splice_after(const_iterator,
822         forward_list&&, const_iterator)): Only declare.
823         (_M_transfer_after): Remove.
824         (_M_splice_after(const_iterator, forward_list&&)): Change signature.
825         (splice_after(const_iterator, forward_list&&, const_iterator,
826         const_iterator)): Use the latter.
827         * include/bits/forward_list.tcc (splice_after(const_iterator,
828         forward_list&&, const_iterator)): Define here.
829         (_M_splice_after): Define, use throughout.
830
831         * include/bits/forward_list.h (insert_after(const_iterator,
832         std::initializer_list<_Tp>)): Forward to insert_after(const_iterator,
833         _InputIterator, _InputIterator).
834         * include/bits/forward_list.tcc: Remove definition.
835
836         * testsuite/23_containers/forward_list/modifiers/6.cc: New.
837         * testsuite/23_containers/forward_list/operations/1.cc: Adjust.
838
839         * testsuite/23_containers/forward_list/requirements/dr438/
840         assign_neg.cc: Adjust dg-error line number.
841         * testsuite/23_containers/forward_list/requirements/dr438/
842         insert_neg.cc: Likewise.
843         * testsuite/23_containers/forward_list/requirements/dr438/
844         constructor_1_neg.cc: Likewise.
845         * testsuite/23_containers/forward_list/requirements/dr438/
846         constructor_2_neg.cc: Likewise.
847
848 2012-04-12   Jeffrey Yasskin  <jyasskin@google.com>
849
850         PR libstdc++/52822
851         * include/bits/stl_algo.h (__find_if_not): Expose in C++98 mode.
852         (__find_if_not_n): Like __find_if_not, but works on and updates a
853         counted range instead of a bounded range.
854         (stable_partition): Guarantee !__pred(*__first) in call to
855         __stable_partition_adaptive() or __inplace_stable_partition().
856         (__stable_partition_adaptive): Use new precondition to avoid
857         moving/copying objects onto themselves.  Guarantee new
858         precondition to recursive calls.
859         (__inplace_stable_partition): Use new precondition to simplify
860         base case, remove __last parameter.  Guarantee new precondition to
861         recursive calls.
862         * testsuite/25_algorithms/stable_partition/moveable.cc (test02):
863         Test a sequence that starts with a value matching the predicate.
864         * testsuite/25_algorithms/stable_partition/pr52822.cc: Test
865         vectors, which have a destructive self-move-assignment.
866
867 2012-04-12  Paolo Carlini  <paolo.carlini@oracle.com>
868
869         PR libstdc++/52942
870         * include/bits/stl_function.h (_Identity, _Select1st, _Select2nd):
871         In C++11 mode do not derive from std::unary_function.
872         * include/ext/functional (identity, select1st, select2nd): Adjust.
873         * testsuite/23_containers/unordered_map/requirements/52942.cc: New.
874         * testsuite/23_containers/unordered_set/requirements/52942.cc: Likewise.
875
876 2012-04-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
877
878         PR libstdc++/52924
879         * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Add
880         user-defined destructor.
881         (_Sp_counted_inplace): Likewise.
882         * testsuite/20_util/shared_ptr/cons/52924.cc: New.
883         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
884         line numbers.
885
886 2012-04-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
887
888         * testsuite/performance/30_threads/future/polling.cc: Adjust.
889
890 2012-04-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
891
892         PR libstdc++/52591
893         * include/bits/stl_vector.h (vector::operator=(vector&&)): Dispatch
894         to _M_move_assign depending on whether allocator is moved.
895         (vector::_M_move_assign): Add overloaded functions.
896         * testsuite/23_containers/vector/52591.cc: New.
897         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
898         Adjust dg-error line number.
899         * testsuite/23_containers/vector/requirements/dr438/
900         constructor_1_neg.cc:
901         Likewise.
902         * testsuite/23_containers/vector/requirements/dr438/
903         constructor_2_neg.cc:
904         Likewise.
905         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
906         Likewise.
907
908 2012-04-09  François Dumont  <fdumont@gcc.gnu.org>
909
910         PR libstdc++/52476
911         * include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Add.
912         (_Hashtable<>::_M_rehash): Use the latter.
913         * testsuite/23_containers/unordered_multimap/insert/52476.cc: New.
914         * testsuite/23_containers/unordered_multiset/insert/52476.cc: New.
915
916 2012-04-09  Terry Guo  <terry.guo@arm.com>
917
918         Backport from mainline
919         2012-03-28  Terry Guo  <terry.guo@arm.com>
920
921         * testsuite/Makefile.am (TEST_GCC_EXEC_PREFIX): New.
922         * testsuite/Makefile.in: Regenerated.
923
924 2012-03-30  Jeffrey Yasskin  <jyasskin@gcc.gnu.org>
925             Paolo Carlini  <paolo.carlini@oracle.com>
926
927         PR libstdc++/52799
928         * include/bits/deque.tcc (emplace): Fix thinko, replace push_front
929         -> emplace_front, and likewise for *_back.
930         * testsuite/23_containers/deque/modifiers/emplace/52799.cc: New.
931         * testsuite/23_containers/list/modifiers/emplace/52799.cc: Likewise.
932         * testsuite/23_containers/vector/modifiers/emplace/52799.cc: Likewise.
933
934 2012-03-23  David S. Miller  <davem@davemloft.net>
935
936         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Update.
937
938 2012-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
939
940         * include/bits/forward_list.h: Fix comments.
941
942 2012-03-23  Paweł Sikora  <pawel.sikora@agmk.net>
943
944         PR libstdc++/52540
945         * include/Makefile.am (c++config.h): Fix sed rule to not break
946         the _GLIBCXX_EXTERN_TEMPLATE redefinition.
947         * include/Makefile.in: Regenerate.
948
949 2012-03-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
950
951         PR libstdc++/52433
952         * include/debug/safe_iterator.h (_Safe_iterator): Add move
953         constructor and move assignment operator.
954         * testsuite/23_containers/vector/debug/52433.cc: New.
955
956 2012-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
957
958         * include/std/array (array<>::at(size_type) const): Fix version
959         for undefined __EXCEPTIONS.
960
961 2012-03-22  Release Manager
962
963         * GCC 4.7.0 released.
964
965 2012-03-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
966
967         PR libstdc++/52456
968         * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
969
970 2012-03-09  Andreas Schwab  <schwab@linux-m68k.org>
971
972         * config/locale/gnu/monetary_members.cc
973         (moneypunct<char,true>::_M_initialize_moneypunct): Throw caught
974         exception again.
975         (moneypunct<char,false>::_M_initialize_moneypunct): Likewise.
976         * testsuite/22_locale/locale/cons/12352.cc: Also test en_US
977         locale.
978
979 2012-03-02  Benjamin Kosnik  <bkoz@redhat.com>
980
981         * include/c_global/cstdio: Remove extraneous extern.
982         * include/c_std/cstdio: Same.
983
984 2012-03-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
985
986         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
987         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
988         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
989         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
990         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
991
992 2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>
993             Ramana Radhakrishnan <ramana@gcc.gnu.org>
994
995         PR libstdc++/51785
996         * acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): New.
997         * configure.ac: Call it.
998         * configure: Regenerate.
999         * config.h.in: Same.
1000         * config/os/gnu-linux/os_defines.h: Conditionally undefine
1001         _GLIBCXX_HAVE_GETS.
1002         * include/c_global/cstdio: Conditionally declare deprecated gets.
1003         * include/c_std/cstdio: Same.
1004
1005 2012-03-01  Michael Spertus  <mike_spertus@symantec.com>
1006
1007         * include/tr2/type_traits (typelist): To __reflection_typelist.
1008         (first, rest, empty): Remove.
1009
1010 2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>
1011
1012         * testsuite/Makefile.am (CLEANFILES): Add *.gdb.
1013         * testsuite/Makefile.in: Regenerate.
1014
1015 2012-02-29  H.J. Lu  <hongjiu.lu@intel.com>
1016
1017         * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
1018
1019 2012-02-28  Benjamin Kosnik  <bkoz@redhat.com>
1020
1021         PR libstdc++/52191
1022         * testsuite/util/testsuite_abi.cc (compare_symbols): Check new
1023         symbols added into the latest version. Mark tls entities as
1024         undesignated.
1025
1026 2012-02-28  Jakub Jelinek  <jakub@redhat.com>
1027
1028         PR bootstrap/52414
1029         * src/Makefile.am (libstdc++-symbols.ver): Only remove comment lines
1030         if they are at the beginning of lines (with optional whitespace before
1031         #).
1032         * src/Makefile.in: Regenerated.
1033
1034 2012-02-27  Jakub Jelinek  <jakub@redhat.com>
1035
1036         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1037         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1038         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1039         Likewise.
1040         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1041         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1042         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1043         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1044         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1045         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1046
1047 2012-02-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1048
1049         PR libstdc++/52188
1050         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Remove symvers_renaming.
1051         Remove ENABLE_SYMVERS_SOL2.
1052         * configure: Regenerate.
1053         * src/Makefile.am [ENABLE_SYMVERS] (libstdc++-symbols.ver):
1054         Postprocess mapfile.
1055         [ENABLE_SYMVERS_GNU]: Remove ENABLE_SYMVERS_SOL2 handling.
1056         * src/Makefile.in: Regenerate.
1057
1058         * config/abi/pre/gnu.ver (GLIBCXX_3.4.5) [!__sun__ && !__svr4__]:
1059         Don't export
1060         _ZNSt19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEppEv.
1061
1062 2012-02-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1063
1064         PR testsuite/52201
1065         * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc:
1066         Require atomic builtins.
1067         * testsuite/29_atomics/atomic/operators/51811.cc: Likewise.
1068
1069 2012-02-23  Jason Merrill  <jason@redhat.com>
1070
1071         * include/bits/locale_facets.h (class num_get): Undo reordering of
1072         do_get virtual functions.
1073
1074 2012-02-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
1075
1076         * testsuite/26_numerics/random/
1077         uniform_real_distribution/requirements/typedefs.cc: Check param_type.
1078         * testsuite/26_numerics/random/
1079         piecewise_constant_distribution/requirements/typedefs.cc: Ditto.
1080         * testsuite/26_numerics/random/
1081         chi_squared_distribution/requirements/typedefs.cc: Ditto.
1082         * testsuite/26_numerics/random/
1083         normal_distribution/requirements/typedefs.cc: Ditto.
1084         * testsuite/26_numerics/random/
1085         uniform_int_distribution/requirements/typedefs.cc: Ditto.
1086         * testsuite/26_numerics/random/
1087         poisson_distribution/requirements/typedefs.cc: Ditto.
1088         * testsuite/26_numerics/random/
1089         bernoulli_distribution/requirements/typedefs.cc: Ditto.
1090         * testsuite/26_numerics/random/
1091         discrete_distribution/requirements/typedefs.cc: Ditto.
1092         * testsuite/26_numerics/random/
1093         weibull_distribution/requirements/typedefs.cc: Ditto.
1094         * testsuite/26_numerics/random/
1095         cauchy_distribution/requirements/typedefs.cc: Ditto.
1096         * testsuite/26_numerics/random/
1097         negative_binomial_distribution/requirements/typedefs.cc: Ditto.
1098         * testsuite/26_numerics/random/
1099         gamma_distribution/requirements/typedefs.cc: Ditto.
1100         * testsuite/26_numerics/random/
1101         fisher_f_distribution/requirements/typedefs.cc: Ditto.
1102         * testsuite/26_numerics/random/
1103         exponential_distribution/requirements/typedefs.cc: Ditto.
1104         * testsuite/26_numerics/random/
1105         binomial_distribution/requirements/typedefs.cc: Ditto.
1106         * testsuite/26_numerics/random/
1107         lognormal_distribution/requirements/typedefs.cc: Ditto.
1108         * testsuite/26_numerics/random/
1109         extreme_value_distribution/requirements/typedefs.cc: Ditto.
1110         * testsuite/26_numerics/random/
1111         piecewise_linear_distribution/requirements/typedefs.cc: Ditto.
1112         * testsuite/26_numerics/random/
1113         student_t_distribution/requirements/typedefs.cc: Ditto.
1114         * testsuite/26_numerics/random/
1115         geometric_distribution/requirements/typedefs.cc: Ditto.
1116
1117 2012-02-21  Benjamin Kosnik  <bkoz@redhat.com>
1118
1119         PR libstdc++/50349
1120         * config/abi/pre/gnu.ver: Only one local.
1121         * config/abi/pre/gnu-versioned-namespace.ver: Same.
1122
1123 2012-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
1124
1125         PR libstdc++/52317 (cont)
1126         * include/profile/unordered_map: Ad Library Exception comment.
1127         * include/profile/set: Likewise.
1128         * include/profile/base.h: Likewise.
1129         * include/profile/impl/profiler_list_to_slist.h: Likewise.
1130         * include/profile/impl/profiler_container_size.h: Likewise.
1131         * include/profile/impl/profiler_vector_size.h: Likewise.
1132         * include/profile/impl/profiler_hash_func.h: Likewise.
1133         * include/profile/impl/profiler_trace.h: Likewise.
1134         * include/profile/impl/profiler_list_to_vector.h: Likewise.
1135         * include/profile/impl/profiler_vector_to_list.h: Likewise.
1136         * include/profile/impl/profiler.h: Likewise.
1137         * include/profile/impl/profiler_state.h: Likewise.
1138         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
1139         * include/profile/impl/profiler_algos.h: Likewise.
1140         * include/profile/impl/profiler_hashtable_size.h: Likewise.
1141         * include/profile/impl/profiler_node.h: Likewise.
1142         * include/profile/vector: Likewise.
1143         * include/profile/unordered_set: Likewise.
1144         * include/profile/map.h: Likewise.
1145         * include/profile/map: Likewise.
1146
1147 2012-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
1148
1149         PR libstdc++/52317
1150         * python/Makefile.am: Update boilerplate license text to GPLv3.
1151         * include/profile/unordered_map: Likewise.
1152         * include/profile/set: Likewise.
1153         * include/profile/base.h: Likewise.
1154         * include/profile/impl/profiler_list_to_slist.h: Likewise.
1155         * include/profile/impl/profiler_container_size.h: Likewise.
1156         * include/profile/impl/profiler_vector_size.h: Likewise.
1157         * include/profile/impl/profiler_hash_func.h: Likewise.
1158         * include/profile/impl/profiler_trace.h: Likewise.
1159         * include/profile/impl/profiler_list_to_vector.h: Likewise.
1160         * include/profile/impl/profiler_vector_to_list.h: Likewise.
1161         * include/profile/impl/profiler.h: Likewise.
1162         * include/profile/impl/profiler_state.h: Likewise.
1163         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
1164         * include/profile/impl/profiler_algos.h: Likewise.
1165         * include/profile/impl/profiler_hashtable_size.h: Likewise.
1166         * include/profile/impl/profiler_node.h: Likewise.
1167         * include/profile/vector: Likewise.
1168         * include/profile/unordered_set: Likewise.
1169         * include/profile/map.h: Likewise.
1170         * include/profile/map: Likewise.
1171         * testsuite/21_strings/basic_string/numeric_conversions/
1172         wchar_t/dr1261.cc: Likewise.
1173         * testsuite/21_strings/basic_string/numeric_conversions/
1174         char/dr1261.cc: Likewise.
1175         * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
1176
1177 2012-02-20  Paolo Carlini  <paolo.carlini@oracle.com>
1178
1179         PR libstdc++/52241
1180         * src/c++98/tree.cc (local_Rb_tree_increment,
1181         local_Rb_tree_decrement): Add.
1182         (_Rb_tree_increment(const _Rb_tree_node_base*),
1183         _Rb_tree_decrement(const _Rb_tree_node_base*)): Use the latter.
1184         (_Rb_tree_increment(_Rb_tree_node_base*),
1185         _Rb_tree_decrement(_Rb_tree_node_base*)): New.
1186
1187 2012-02-20  Paolo Carlini  <paolo.carlini@oracle.com>
1188
1189         PR libstdc++/52309
1190         * include/bits/hashtable_policy.h (_Equality_base<, true,>::
1191         _M_equal(const _Hashtable&)): Compare values with operator==.
1192         * testsuite/23_containers/unordered_set/operators/52309.cc: New.
1193
1194 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
1195
1196         PR libstdc++/51798 continued.
1197         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Grep for
1198         __atomic_, not __sync.
1199         * configure: Regenerated.
1200
1201 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
1202
1203         PR libstdc++/47058
1204         * acinclude.m4 (GLIBCXX_ENABLE_WERROR): New.
1205         (GLIBCXX_EXPORT_FLAGS): Add -Wabi to WARN_FLAGS
1206         * configure.ac: Use it.
1207         * fragment.am: Set WERROR_FLAG conditionally on --disable-werror.
1208         * configure: Regenerate.
1209         * python/Makefile.in: Same.
1210         * Makefile.in: Same.
1211         * doc/Makefile.in: Same.
1212         * include/Makefile.in: Same.
1213         * po/Makefile.in: Same.
1214         * python/Makefile.in: Same.
1215         * src/Makefile.in: Same.
1216         * src/c++11/Makefile.in: Same.
1217         * src/c++98/Makefile.in: Same.
1218         * testsuite/Makefile.in: Same.
1219
1220 2012-02-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1221
1222         PR libstdc++/52189
1223         * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Handle
1224         --enable-libstdcxx-threads.
1225         Disable on Solaris 8/9 with symbol versioning.
1226         * configure.ac (GLIBCXX_CHECK_GTHREADS): Move after
1227         GLIBCXX_ENABLE_SYMVERS.
1228         * configure: Regenerate.
1229         * doc/xml/manual/configure.xml (--enable-libstdcxx-threads): Explain.
1230
1231 2012-02-15  DJ Delorie  <dj@redhat.com>
1232
1233         * src/c++98/locale.cc (locale::facet::_S_get_c_locale): Fix typo.
1234
1235 2012-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1236
1237         PR libstdc++/51368
1238         * acinclude.m4 (GLIBCXX_ENABLE_PYTHON): New.
1239         * configure.ac: Use it.
1240         * python/Makefile.am: Same.
1241         * configure: Regenerate.
1242         * python/Makefile.in: Regenerate.
1243         * Makefile.in: Same.
1244         * doc/Makefile.in: Same.
1245         * include/Makefile.in: Same.
1246         * po/Makefile.in: Same.
1247         * src/Makefile.in: Same.
1248         * src/c++11/Makefile.in: Same.
1249         * src/c++98/Makefile.in: Same.
1250         * testsuite/Makefile.in: Same.
1251
1252 2012-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
1253
1254         * 30_threads/thread/native_handle/typesizes.cc: Do not run on cygwin.
1255
1256 2012-02-14  Tom Tromey  <tromey@redhat.com>
1257
1258         * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add new
1259         tests.
1260         * python/libstdcxx/v6/printers.py (Tr1HashtableIterator.__init__):
1261         Rewrite.
1262         (Tr1HashtableIterator.update): Remove.
1263         (Tr1HashtableIterator.next): Rewrite.
1264
1265 2012-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1266
1267         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
1268         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1269
1270 2012-02-13  Richard Henderson  <rth@redhat.com>
1271
1272         PR libstdc++/51798 continued.
1273         * include/bits/shared_ptr_base.h
1274         (_Sp_counted_base<_S_atomic>::_M_add_ref_lock): Hoist initial load
1275         outside compare_exchange loop.
1276         * include/tr1/shared_ptr.h: Same.
1277         * include/parallel/compatibility.h (__compare_and_swap_32): Use strong
1278         version of compare_exchange.
1279         (__compare_and_swap_64): Same.
1280         * include/profile/impl/profiler_state.h (__gnu_profile::__turn): Same.
1281         * libsupc++/guard.cc (__cxa_guard_acquire): Same.
1282
1283 2012-02-10  Benjamin Kosnik  <bkoz@redhat.com>
1284             Jonathan Wakely  <jwakely.gcc@gmail.com>
1285
1286         PR libstdc++/51798 continued.
1287         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Use __atomic_*
1288         builtins instead of __sync_* builtins for atomic functionality.
1289         * include/bits/shared_ptr_base.h: Same.
1290         * include/parallel/compatibility.h: Same.
1291         * include/profile/impl/profiler_state.h: Same.
1292         * include/tr1/shared_ptr.h: Same.
1293         * libsupc++/eh_ptr.cc: Same.
1294         * libsupc++/eh_throw.cc: Same.
1295         * libsupc++/eh_tm.cc: Same.
1296         * libsupc++/guard.cc: Same.
1297         * configure: Regenerated.
1298         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
1299         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1300
1301 2012-02-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1302
1303         PR libstdc++/51296
1304         * config/os/osf/ctype_base.h,
1305         config/os/osf/ctype_configure_char.cc,
1306         config/os/osf/ctype_inline.h, config/os/osf/error_constants.h:
1307         Copy from config/os/generic.
1308         * config/os/osf/os_defines.h: Likewise.
1309         (_GTHREAD_USE_MUTEX_INIT_FUNC, _GTHREAD_USE_COND_INIT_FUNC):
1310         Define.
1311         * configure.host <osf*>: Use os/osf for os_include_dir.
1312
1313 2012-02-10  Uros Bizjak  <ubizjak@gmail.com>
1314
1315         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
1316
1317 2012-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
1318
1319         * doc/xml/manual/documentation_hacking.xml: Fix invalid attribute.
1320
1321 2012-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1322
1323         * doc/xml/manual/status_cxx2011.xml: Update C++11 status table.
1324
1325 2012-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1326
1327         * doc/doxygen/user.cfg.in: Update to doxygen 1.7.6.1.
1328         * doc/xml/manual/documentation_hacking.xml: Update.
1329
1330 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1331
1332         * testsuite/30_threads/call_once/39909.cc: Remove duplicate target
1333         selector.
1334         * testsuite/30_threads/call_once/49668.cc: Likewise.
1335         * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1336         * testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
1337         * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1338         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1339         * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1340         * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1341         * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
1342         * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1343         * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1344         * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1345         * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1346         * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1347         * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1348         * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1349         * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1350         * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1351         * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1352         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1353         * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1354         * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1355         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1356         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1357
1358 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1359
1360         PR libstdc++/51296
1361         * include/std/mutex (__mutex_base::~__mutex_base): Declare noexcept.
1362         * src/c++11/condition_variable.cc (condition_variable): Use macro for
1363         initializer function.
1364
1365         PR libstdc++/51906
1366         * config/os/bsd/darwin/os_defines.h: Disable static initializer for
1367         recursive mutexes.
1368
1369 2012-02-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1370
1371         PR libstdc++/52128
1372         * src/c++11/future.cc: Add explicit instantiation.
1373
1374 2012-02-06  François Dumont  <fdumont@gcc.gnu.org>
1375
1376         * include/debug/safe_iterator.h
1377         (_Safe_iterator::_M_before_dereferenceable): Avoid the expensive
1378         creation of a _Safe_iterator instance to do the check.
1379
1380 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1381
1382         PR libstdc++/52104
1383         * include/std/future (__future_base::_Async_state_common): Define
1384         destructor inline for targets without TLS.
1385         * src/c++11/future.cc (__future_base::_Async_state_common): Only
1386         define destructor for TLS targets.
1387
1388 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1389
1390         PR libstdc++/51956
1391         * python/libstdcxx/v6/printers.py (StdPointerPrinter): Rename to...
1392         (SharedPointerPrinter): This. Also show weak count.
1393         * testsuite/libstdc++-prettyprinters/shared_ptr.cc: New.
1394
1395 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1396
1397         * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Modify to
1398         PASS instead of XFAIL.
1399
1400 2012-02-05  Jeffrey Yasskin  <jyasskin@gcc.gnu.org>
1401             Paolo Carlini  <paolo.carlini@oracle.com>
1402
1403         PR libstdc++/52119
1404         * include/std/limits (__glibcxx_min): Fix to avoid undefined behavior.
1405
1406 2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>
1407
1408         PR libstdc++/49445
1409         * testsuite/29_atomics/atomic/cons/49445.cc: Add.
1410
1411 2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>
1412
1413         PR libstdc++/51811
1414         * include/bits/atomic_base.h (atomic<_Tp*>): Fix offsets.
1415         * testsuite/29_atomics/atomic/operators/51811.cc: New.
1416         * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: New.
1417
1418 2012-02-03  Jakub Jelinek  <jakub@redhat.com>
1419
1420         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1421         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1422         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1423         Likewise.
1424         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1425         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1426         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1427         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1428         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1429         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1430
1431 2012-02-02  Benjamin Kosnik  <bkoz@redhat.com>
1432
1433         PR libstdc++/52068
1434         * src/c++11/Makefile.am (toolexeclib_LTLIBRARIES,
1435         libc__11_la_SOURCES): Remove.
1436         * src/c++11/Makefile.in: Regenerate.
1437         * src/c++98/Makefile.am (toolexeclib_LTLIBRARIES,
1438         libc__98_la_SOURCES): Remove.
1439         * src/c++98/Makefile.in: Regenerate.
1440
1441 2012-02-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
1442
1443         PR libstdc++/49204
1444         * include/std/future (__future_base::_State_base::wait()): Use lambda
1445         expression for predicate and remove redundant test.
1446         (__future_base::_State_base::wait_for()): Return future_status and
1447         use lambda expression for predicate.
1448         (__future_base::_State_base::wait_until()): Likewise.
1449         (__basic_future::wait_for(), __basic_future::wait_until()): Likewise.
1450         (__future_base::_Async_state): Replace with _Async_state_common
1451         class for non-dependent functionality and _Async_state_impl class
1452         template for dependent functionality.
1453         (__future_base::_Async_state_common::_M_join): Serialize attempts to
1454         join thread.
1455         (__future_base::_Async_state_common::_M_run_deferred): Join.
1456         (__future_base::_Async_state::_M_do_run): Replace with lambda.
1457         * src/c++11/future.cc (__future_base::_Async_state_common): Define
1458         destructor, so key function is in the library.
1459         * config/abi/pre/gnu.ver: Add exports for ~_Async_state_common.
1460         * testsuite/30_threads/packaged_task/members/get_future.cc: Expect
1461         future_status return instead of bool.
1462         * testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
1463         * testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
1464         * testsuite/30_threads/future/members/wait_until.cc: Likewise.
1465         * testsuite/30_threads/future/members/wait_for.cc: Likewise.
1466         * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
1467         * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
1468         * testsuite/30_threads/promise/members/swap.cc: Likewise.
1469
1470 2012-01-30  Tom Tromey  <tromey@redhat.com>
1471
1472         PR libstdc++/51649:
1473         * testsuite/libstdc++-prettyprinters/debug.cc: New file.
1474         * testsuite/lib/gdb-test.exp (regexp-test): New proc.
1475         (note-test): Update.
1476         (gdb-test): Handle regexp tests.  Add some logging.
1477         * testsuite/libstdc++-prettyprinters/simple.cc: Compile with -O0.
1478         (placeholder, use): Remove.
1479         (main): Add tests for deque, list, map, and set iterators.  Add
1480         tests for slist and slist iterator.
1481         * testsuite/libstdc++-prettyprinters/48362.cc (main): Handle __7
1482         namespace.
1483         * python/libstdcxx/v6/printers.py (StdListPrinter.children): Use
1484         the type's _Node typedef.
1485         (StdListIteratorPrinter.to_string): Change how node type is
1486         computed.
1487         (StdSlistPrinter.children): Use the type's _Node typedef.
1488         (StdSlistIteratorPrinter.to_string): Likewise.
1489         (StdRbtreeIteratorPrinter.to_string): Use the type's _Link_type
1490         typedef.
1491         (StdMapPrinter.children): Change how the node's type is computed.
1492         (StdSetPrinter.children): Likewise.
1493         (StdForwardListPrinter.children): Use the type's _Node typedef.
1494         (Printer.add_version): New method.
1495         (Printer.add_container): New method.
1496         (build_libstdcxx_dictionary): Handle __7 and __cxx1998
1497         namespaces.
1498         (find_type): New function.
1499
1500 2012-01-27  Paolo Carlini  <paolo.carlini@oracle.com>
1501
1502         PR libstdc++/51795
1503         * include/bits/random.h (linear_congruential_generator): Add
1504         static_assert preventing instantiation for values of 'a' and 'm'
1505         currently handled incorrectly by _Mod::__calc.
1506         * include/bits/random.tcc (seed_seq::generate): Avoid unsafe
1507         uses of _Mod::__calc.
1508
1509 2012-01-27  Jakub Jelinek  <jakub@redhat.com>
1510
1511         PR libstdc++/51798
1512         * config/cpu/generic/atomicity_builtins/atomicity.h
1513         (__exchange_and_add, __atomic_add): Use __atomic_fetch_add
1514         with __ATOMIC_ACQ_REL semantics instead of __sync_fetch_and_add.
1515         * include/ext/atomicity.h (__exchange_and_add, __atomic_add):
1516         Likewise.
1517
1518 2011-01-27  Rafael Avila de Espindola  <rafael.espindola@gmail.com>
1519
1520         * libsupc++/typeinfo: Correctly match #pragma GCC visibility
1521         pop with #pragma GCC visibility push.
1522
1523 2012-01-27  Benjamin Kosnik  <bkoz@redhat.com>
1524             Matthias Klose  <doko@ubuntu.com>
1525
1526         * configure.ac (GLIBCXX_ENABLE_DEBUG_FLAGS): Use -gdwarf-4 -g3 -O0.
1527         * configure.in: Regenerated.
1528         * src/Makefile.am (all-once, install-data-once): New rules.
1529         (all-local, install-data-local): Use them.
1530         (build-debug, install-debug): Tweak.
1531         * src/Makefile.in: Regenerate.
1532
1533 2012-01-27  Richard Henderson  <rth@redhat.com>
1534
1535         * include/bits/atomic_base.h (__atomic_flag_base): Define _M_i
1536         based on the value of __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
1537         (ATOMIC_FLAG_INIT): Initialize with 0, not false.
1538         (atomic_flag::atomic_flag): Use __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
1539
1540 2012-01-26  Jakub Jelinek  <jakub@redhat.com>
1541
1542         PR bootstrap/51985
1543         * src/c++98/Makefile.am (libc__98_la_SOURCES,
1544         libc__98convenience_la_SOURCES): Remove $(inst_sources).
1545         * src/c++98/Makefile.in: Regenerated.
1546
1547 2012-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
1548
1549         * testsuite/20_util/system_clock/1.cc: Add dg-require-time.
1550         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
1551         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
1552         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
1553         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Add
1554         dg-require-fileio.
1555         * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
1556         * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
1557         * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
1558         * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc:
1559         Likewise.
1560         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
1561
1562 2012-01-25  Matthias Klose  <doko@ubuntu.com>
1563
1564         * testsuite/30_threads/condition_variable_any/requirements: Remove
1565         empty directory.
1566
1567 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1568
1569         * src/Makefile.am (libstdc++convenience.la): Correct stamp rule, copy.
1570         * src/Makefile.in: Regenerate.
1571
1572 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1573
1574         PR libstdc++/49829
1575         Add libc++98convenience.la, libc++11convenience.la.
1576         * src/c++98: New directory.
1577         * src/c++11: New directory.
1578         * acinclude.m4: (GLIBCXX_CONFIGURE): Add src-c++98, src-c++11.
1579         * configure: Regenerated.
1580         * Makefile.am (hosted_source): Add src-c++98, src-c++11 to SUBDIRS.
1581         * Makefile.in: Regenerate.
1582         * libsupc++/Makefile.am (AM_CXXFLAGS): USe XTEMPLATE_FLAGS for
1583         -fno-implicit-templates.
1584         * libsupc++/Makefile.in: Regenerate.
1585         * src/Makefile.am (inst_sources): Move... C++11 files into
1586         separate directory for libstdc++11convenience.la. Files are:
1587         fstream-inst.cc, string-inst.cc, wlocale-inst.cc, wstring-inst.cc).
1588         (sources): Move C++11 files. Files are: compatibility-c++0x.cc,
1589         compatibility-atomic-c++0x.cc, debug.cc, functexcept.cc,
1590         functional.cc, hash_c++0x.cc, hashtable_c++0x.cc, limits.cc,
1591         system_error.cc, placeholders.cc, regex.cc, shared_ptr.cc,
1592         mutex.cc, condition_variable.cc, chrono.cc, thread.cc, future.cc.
1593         (libstdc++convenience.la): Add new target.
1594         (SUBDIRS): Add c++11, c++98.
1595         * src/Makefile.in: Regenerate.
1596         * src/c++11/Makefile.am: New.
1597         * src/c++11/Makefile.in: Generate.
1598         * src/c++98/Makefile.am: New, C++98 files.
1599         * src/c++98/Makefile.in: Generate.
1600
1601 2012-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1602
1603         libstdc++-v3:
1604         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
1605         32-bit Solaris 10/x86.
1606         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
1607
1608 2012-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
1609
1610         PR libstdc++/50982
1611         * testsuite/30_threads/*: Add powerpc-ibm-aix* to target selectors.
1612
1613 2012-01-19  Jakub Jelinek  <jakub@redhat.com>
1614
1615         PR libstdc++/51845
1616         * include/bits/hashtable.h
1617         (_Hashtable<>::erase(const_iterator, const_iterator)): Also update
1618         _M_buckets[__n_bkt] if __is_bucket_begin.
1619         * testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc:
1620         New test.
1621
1622 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
1623
1624         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): Fix quoting.
1625
1626 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
1627
1628         * configure.ac: Move epub checks...
1629         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): ...here, use
1630         test -f instead of AC_CHECK_FILES.
1631
1632 2012-01-18  François Dumont  <fdumont@gcc.gnu.org>
1633             Roman Kononov  <roman@binarylife.net>
1634
1635         PR libstdc++/51866
1636         * include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, false_type)):
1637         Do not keep a reference to a potentially moved instance.
1638         * testsuite/23_containers/unordered_multiset/insert/51866.cc: New.
1639         * testsuite/23_containers/unordered_multimap/insert/51866.cc: New.
1640
1641 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
1642
1643         * doc/html/*: Regenerate.
1644
1645 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
1646
1647         * configure.ac (BUILD_EPUB): Adjust for epub3.
1648         * configure: Regenerate.
1649         * Makefile.in: Same.
1650         * doc/Makefile.am (stamp-epub-docbook): Update for epub3.
1651         * doc/Makefile.in: Regenerate.
1652         * include/Makefile.in: Same.
1653         * libsupc++/Makefile.in: Same.
1654         * po/Makefile.in: Same.
1655         * python/Makefile.in: Same.
1656         * src/Makefile.in: Same.
1657         * testsuite/Makefile.in: Same.
1658
1659         * doc/xml/manual/documentation_hacking.xml: Update.
1660
1661 2012-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1662
1663         PR target/47852
1664         * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS.
1665
1666 2012-01-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
1667
1668         * include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.
1669
1670 2012-01-13  François Dumont  <fdumont@gcc.gnu.org>
1671
1672         * include/bits/hashtable_policy.h (_Hash_node_base): New, use it as
1673         base class of ...
1674         (_Hash_node<Value, true>, _Hash_node<Value, false>): ... those.
1675         * include/bits/hashtable.h (_Hashtable): Replace _M_begin_bucket_index
1676         by _M_before_begin. Review implementation so that we do not need to
1677         look for previous non-empty bucket when inserting nodes.
1678
1679 2012-01-09  Kai Tietz  <ktietz@redhat.com>
1680
1681         PR libstc++/51673 part 2
1682         * config/abi/pre/gnu-versioned-namespace.ver: Adjusted new/delete
1683         operators signature for LLP64 size_t, and adjusted signatures for
1684         mt-allocator using size_t.
1685
1686 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1687
1688         PR libstc++/51673 part 1
1689         * config/abi/pre/gnu-versioned-namespace.ver: Sync cxxabi symbols
1690         with gnu.ver.
1691
1692 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1693
1694         * fragment.am (WARN_CXXFLAGS): Add -Wabi.
1695         * Makefile.in: Regenerate.
1696         * doc/Makefile.in: Same.
1697         * include/Makefile.in: Same.
1698         * libsupc++/Makefile.in: Same.
1699         * src/Makefile.in: Same.
1700         * testsuite/Makefile.in: Same.
1701         * po/Makefile.in: Same.
1702         * python/Makefile.in: Same.
1703
1704 2012-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1705
1706         * python/libstdcxx/v6/printers.py (StdForwardListPrinter): Add.
1707         * testsuite/libstdc++-prettyprinters/cxx11.cc: New.
1708
1709 2012-01-06  Jason Merrill  <jason@redhat.com>
1710
1711         * testsuite/abi/demangle/regression/cw-16.cc (main): Adjust
1712         expected demangling.
1713
1714 2012-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
1715
1716         PR libstdc++/51504
1717         * doc/xml/manual/debug.xml: Suggest using symbol interposition
1718         to override symbols using annotation macros.
1719
1720 2012-01-05  François Dumont  <fdumont@gcc.gnu.org>
1721
1722         * include/bits/hashtable_policy.h (_Hashtable_base<>::_M_eq()):
1723         protected rather than private, use it...
1724         * include/bits/hashtable.h (_Hashtable<>::key_eq()): ... here.
1725         * testsuite/23_containers/unordered_set/observers.cc: New.
1726         * testsuite/23_containers/unordered_multiset/observers.cc: New.
1727         * testsuite/23_containers/unordered_map/observers.cc: New.
1728         * testsuite/23_containers/unordered_multimap/observers.cc: New.
1729
1730 2012-01-03  François Dumont  <fdumont@gcc.gnu.org>
1731
1732         * include/bits/hashtable_policy.h (_Ebo_helper<>): Rename to the more
1733         specific _Hashtable_ebo_helper. Hide this implementation detail thanks
1734         to private inheritance.
1735
1736 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
1737
1738         PR c++/51738
1739         * testsuite/23_containers/map/element_access/39901.cc: New.