OSDN Git Service

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