OSDN Git Service

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