OSDN Git Service

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