OSDN Git Service

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