OSDN Git Service

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