OSDN Git Service

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