OSDN Git Service

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