OSDN Git Service

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