OSDN Git Service

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