OSDN Git Service

8d2b9620d5995359eee01bf71fadad5ae0d2dee2
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2012-03-23  David S. Miller  <davem@davemloft.net>
2
3         * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Update.
4
5 2012-03-23  Paolo Carlini  <paolo.carlini@oracle.com>
6
7         * include/bits/forward_list.h: Fix comments.
8
9 2012-03-23  Paweł Sikora  <pawel.sikora@agmk.net>
10
11         PR libstdc++/52540
12         * include/Makefile.am (c++config.h): Fix sed rule to not break
13         the _GLIBCXX_EXTERN_TEMPLATE redefinition.
14         * include/Makefile.in: Regenerate.
15
16 2012-03-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
17
18         PR libstdc++/52433
19         * include/debug/safe_iterator.h (_Safe_iterator): Add move
20         constructor and move assignment operator.
21         * testsuite/23_containers/vector/debug/52433.cc: New.
22
23 2012-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
24
25         * include/std/array (array<>::at(size_type) const): Fix version
26         for undefined __EXCEPTIONS.
27
28 2012-03-22  Release Manager
29
30         * GCC 4.7.0 released.
31
32 2012-03-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
33
34         PR libstdc++/52456
35         * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
36
37 2012-03-09  Andreas Schwab  <schwab@linux-m68k.org>
38
39         * config/locale/gnu/monetary_members.cc
40         (moneypunct<char,true>::_M_initialize_moneypunct): Throw caught
41         exception again.
42         (moneypunct<char,false>::_M_initialize_moneypunct): Likewise.
43         * testsuite/22_locale/locale/cons/12352.cc: Also test en_US
44         locale.
45
46 2012-03-02  Benjamin Kosnik  <bkoz@redhat.com>
47
48         * include/c_global/cstdio: Remove extraneous extern.
49         * include/c_std/cstdio: Same.
50
51 2012-03-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
52
53         * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
54         * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
55         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
56         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
57         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
58
59 2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>
60             Ramana Radhakrishnan <ramana@gcc.gnu.org>
61
62         PR libstdc++/51785
63         * acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): New.
64         * configure.ac: Call it.
65         * configure: Regenerate.
66         * config.h.in: Same.
67         * config/os/gnu-linux/os_defines.h: Conditionally undefine
68         _GLIBCXX_HAVE_GETS.
69         * include/c_global/cstdio: Conditionally declare deprecated gets.
70         * include/c_std/cstdio: Same.
71
72 2012-03-01  Michael Spertus  <mike_spertus@symantec.com>
73
74         * include/tr2/type_traits (typelist): To __reflection_typelist.
75         (first, rest, empty): Remove.
76
77 2012-03-01  Benjamin Kosnik  <bkoz@redhat.com>
78
79         * testsuite/Makefile.am (CLEANFILES): Add *.gdb.
80         * testsuite/Makefile.in: Regenerate.
81
82 2012-02-29  H.J. Lu  <hongjiu.lu@intel.com>
83
84         * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
85
86 2012-02-28  Benjamin Kosnik  <bkoz@redhat.com>
87
88         PR libstdc++/52191
89         * testsuite/util/testsuite_abi.cc (compare_symbols): Check new
90         symbols added into the latest version. Mark tls entities as
91         undesignated.
92
93 2012-02-28  Jakub Jelinek  <jakub@redhat.com>
94
95         PR bootstrap/52414
96         * src/Makefile.am (libstdc++-symbols.ver): Only remove comment lines
97         if they are at the beginning of lines (with optional whitespace before
98         #).
99         * src/Makefile.in: Regenerated.
100
101 2012-02-27  Jakub Jelinek  <jakub@redhat.com>
102
103         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
104         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
105         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
106         Likewise.
107         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
108         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
109         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
110         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
111         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
112         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
113
114 2012-02-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
115
116         PR libstdc++/52188
117         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Remove symvers_renaming.
118         Remove ENABLE_SYMVERS_SOL2.
119         * configure: Regenerate.
120         * src/Makefile.am [ENABLE_SYMVERS] (libstdc++-symbols.ver):
121         Postprocess mapfile.
122         [ENABLE_SYMVERS_GNU]: Remove ENABLE_SYMVERS_SOL2 handling.
123         * src/Makefile.in: Regenerate.
124
125         * config/abi/pre/gnu.ver (GLIBCXX_3.4.5) [!__sun__ && !__svr4__]:
126         Don't export
127         _ZNSt19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEppEv.
128
129 2012-02-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
130
131         PR testsuite/52201
132         * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc:
133         Require atomic builtins.
134         * testsuite/29_atomics/atomic/operators/51811.cc: Likewise.
135
136 2012-02-23  Jason Merrill  <jason@redhat.com>
137
138         * include/bits/locale_facets.h (class num_get): Undo reordering of
139         do_get virtual functions.
140
141 2012-02-14  Edward Smith-Rowland  <3dw4rd@verizon.net>
142
143         * testsuite/26_numerics/random/
144         uniform_real_distribution/requirements/typedefs.cc: Check param_type.
145         * testsuite/26_numerics/random/
146         piecewise_constant_distribution/requirements/typedefs.cc: Ditto.
147         * testsuite/26_numerics/random/
148         chi_squared_distribution/requirements/typedefs.cc: Ditto.
149         * testsuite/26_numerics/random/
150         normal_distribution/requirements/typedefs.cc: Ditto.
151         * testsuite/26_numerics/random/
152         uniform_int_distribution/requirements/typedefs.cc: Ditto.
153         * testsuite/26_numerics/random/
154         poisson_distribution/requirements/typedefs.cc: Ditto.
155         * testsuite/26_numerics/random/
156         bernoulli_distribution/requirements/typedefs.cc: Ditto.
157         * testsuite/26_numerics/random/
158         discrete_distribution/requirements/typedefs.cc: Ditto.
159         * testsuite/26_numerics/random/
160         weibull_distribution/requirements/typedefs.cc: Ditto.
161         * testsuite/26_numerics/random/
162         cauchy_distribution/requirements/typedefs.cc: Ditto.
163         * testsuite/26_numerics/random/
164         negative_binomial_distribution/requirements/typedefs.cc: Ditto.
165         * testsuite/26_numerics/random/
166         gamma_distribution/requirements/typedefs.cc: Ditto.
167         * testsuite/26_numerics/random/
168         fisher_f_distribution/requirements/typedefs.cc: Ditto.
169         * testsuite/26_numerics/random/
170         exponential_distribution/requirements/typedefs.cc: Ditto.
171         * testsuite/26_numerics/random/
172         binomial_distribution/requirements/typedefs.cc: Ditto.
173         * testsuite/26_numerics/random/
174         lognormal_distribution/requirements/typedefs.cc: Ditto.
175         * testsuite/26_numerics/random/
176         extreme_value_distribution/requirements/typedefs.cc: Ditto.
177         * testsuite/26_numerics/random/
178         piecewise_linear_distribution/requirements/typedefs.cc: Ditto.
179         * testsuite/26_numerics/random/
180         student_t_distribution/requirements/typedefs.cc: Ditto.
181         * testsuite/26_numerics/random/
182         geometric_distribution/requirements/typedefs.cc: Ditto.
183
184 2012-02-21  Benjamin Kosnik  <bkoz@redhat.com>
185
186         PR libstdc++/50349
187         * config/abi/pre/gnu.ver: Only one local.
188         * config/abi/pre/gnu-versioned-namespace.ver: Same.
189
190 2012-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
191
192         PR libstdc++/52317 (cont)
193         * include/profile/unordered_map: Ad Library Exception comment.
194         * include/profile/set: Likewise.
195         * include/profile/base.h: Likewise.
196         * include/profile/impl/profiler_list_to_slist.h: Likewise.
197         * include/profile/impl/profiler_container_size.h: Likewise.
198         * include/profile/impl/profiler_vector_size.h: Likewise.
199         * include/profile/impl/profiler_hash_func.h: Likewise.
200         * include/profile/impl/profiler_trace.h: Likewise.
201         * include/profile/impl/profiler_list_to_vector.h: Likewise.
202         * include/profile/impl/profiler_vector_to_list.h: Likewise.
203         * include/profile/impl/profiler.h: Likewise.
204         * include/profile/impl/profiler_state.h: Likewise.
205         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
206         * include/profile/impl/profiler_algos.h: Likewise.
207         * include/profile/impl/profiler_hashtable_size.h: Likewise.
208         * include/profile/impl/profiler_node.h: Likewise.
209         * include/profile/vector: Likewise.
210         * include/profile/unordered_set: Likewise.
211         * include/profile/map.h: Likewise.
212         * include/profile/map: Likewise.
213
214 2012-02-21  Paolo Carlini  <paolo.carlini@oracle.com>
215
216         PR libstdc++/52317
217         * python/Makefile.am: Update boilerplate license text to GPLv3.
218         * include/profile/unordered_map: Likewise.
219         * include/profile/set: Likewise.
220         * include/profile/base.h: Likewise.
221         * include/profile/impl/profiler_list_to_slist.h: Likewise.
222         * include/profile/impl/profiler_container_size.h: Likewise.
223         * include/profile/impl/profiler_vector_size.h: Likewise.
224         * include/profile/impl/profiler_hash_func.h: Likewise.
225         * include/profile/impl/profiler_trace.h: Likewise.
226         * include/profile/impl/profiler_list_to_vector.h: Likewise.
227         * include/profile/impl/profiler_vector_to_list.h: Likewise.
228         * include/profile/impl/profiler.h: Likewise.
229         * include/profile/impl/profiler_state.h: Likewise.
230         * include/profile/impl/profiler_map_to_unordered_map.h: Likewise.
231         * include/profile/impl/profiler_algos.h: Likewise.
232         * include/profile/impl/profiler_hashtable_size.h: Likewise.
233         * include/profile/impl/profiler_node.h: Likewise.
234         * include/profile/vector: Likewise.
235         * include/profile/unordered_set: Likewise.
236         * include/profile/map.h: Likewise.
237         * include/profile/map: Likewise.
238         * testsuite/21_strings/basic_string/numeric_conversions/
239         wchar_t/dr1261.cc: Likewise.
240         * testsuite/21_strings/basic_string/numeric_conversions/
241         char/dr1261.cc: Likewise.
242         * testsuite/20_util/reference_wrapper/invoke-2.cc: Likewise.
243
244 2012-02-20  Paolo Carlini  <paolo.carlini@oracle.com>
245
246         PR libstdc++/52241
247         * src/c++98/tree.cc (local_Rb_tree_increment,
248         local_Rb_tree_decrement): Add.
249         (_Rb_tree_increment(const _Rb_tree_node_base*),
250         _Rb_tree_decrement(const _Rb_tree_node_base*)): Use the latter.
251         (_Rb_tree_increment(_Rb_tree_node_base*),
252         _Rb_tree_decrement(_Rb_tree_node_base*)): New.
253
254 2012-02-20  Paolo Carlini  <paolo.carlini@oracle.com>
255
256         PR libstdc++/52309
257         * include/bits/hashtable_policy.h (_Equality_base<, true,>::
258         _M_equal(const _Hashtable&)): Compare values with operator==.
259         * testsuite/23_containers/unordered_set/operators/52309.cc: New.
260
261 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
262
263         PR libstdc++/51798 continued.
264         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Grep for
265         __atomic_, not __sync.
266         * configure: Regenerated.
267
268 2012-02-17  Benjamin Kosnik  <bkoz@redhat.com>
269
270         PR libstdc++/47058
271         * acinclude.m4 (GLIBCXX_ENABLE_WERROR): New.
272         (GLIBCXX_EXPORT_FLAGS): Add -Wabi to WARN_FLAGS
273         * configure.ac: Use it.
274         * fragment.am: Set WERROR_FLAG conditionally on --disable-werror.
275         * configure: Regenerate.
276         * python/Makefile.in: Same.
277         * Makefile.in: Same.
278         * doc/Makefile.in: Same.
279         * include/Makefile.in: Same.
280         * po/Makefile.in: Same.
281         * python/Makefile.in: Same.
282         * src/Makefile.in: Same.
283         * src/c++11/Makefile.in: Same.
284         * src/c++98/Makefile.in: Same.
285         * testsuite/Makefile.in: Same.
286
287 2012-02-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
288
289         PR libstdc++/52189
290         * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Handle
291         --enable-libstdcxx-threads.
292         Disable on Solaris 8/9 with symbol versioning.
293         * configure.ac (GLIBCXX_CHECK_GTHREADS): Move after
294         GLIBCXX_ENABLE_SYMVERS.
295         * configure: Regenerate.
296         * doc/xml/manual/configure.xml (--enable-libstdcxx-threads): Explain.
297
298 2012-02-15  DJ Delorie  <dj@redhat.com>
299
300         * src/c++98/locale.cc (locale::facet::_S_get_c_locale): Fix typo.
301
302 2012-02-15  Benjamin Kosnik  <bkoz@redhat.com>
303
304         PR libstdc++/51368
305         * acinclude.m4 (GLIBCXX_ENABLE_PYTHON): New.
306         * configure.ac: Use it.
307         * python/Makefile.am: Same.
308         * configure: Regenerate.
309         * python/Makefile.in: Regenerate.
310         * Makefile.in: Same.
311         * doc/Makefile.in: Same.
312         * include/Makefile.in: Same.
313         * po/Makefile.in: Same.
314         * src/Makefile.in: Same.
315         * src/c++11/Makefile.in: Same.
316         * src/c++98/Makefile.in: Same.
317         * testsuite/Makefile.in: Same.
318
319 2012-02-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
320
321         * 30_threads/thread/native_handle/typesizes.cc: Do not run on cygwin.
322
323 2012-02-14  Tom Tromey  <tromey@redhat.com>
324
325         * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add new
326         tests.
327         * python/libstdcxx/v6/printers.py (Tr1HashtableIterator.__init__):
328         Rewrite.
329         (Tr1HashtableIterator.update): Remove.
330         (Tr1HashtableIterator.next): Rewrite.
331
332 2012-02-13  Benjamin Kosnik  <bkoz@redhat.com>
333
334         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
335         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
336
337 2012-02-13  Richard Henderson  <rth@redhat.com>
338
339         PR libstdc++/51798 continued.
340         * include/bits/shared_ptr_base.h
341         (_Sp_counted_base<_S_atomic>::_M_add_ref_lock): Hoist initial load
342         outside compare_exchange loop.
343         * include/tr1/shared_ptr.h: Same.
344         * include/parallel/compatibility.h (__compare_and_swap_32): Use strong
345         version of compare_exchange.
346         (__compare_and_swap_64): Same.
347         * include/profile/impl/profiler_state.h (__gnu_profile::__turn): Same.
348         * libsupc++/guard.cc (__cxa_guard_acquire): Same.
349
350 2012-02-10  Benjamin Kosnik  <bkoz@redhat.com>
351             Jonathan Wakely  <jwakely.gcc@gmail.com>
352
353         PR libstdc++/51798 continued.
354         * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Use __atomic_*
355         builtins instead of __sync_* builtins for atomic functionality.
356         * include/bits/shared_ptr_base.h: Same.
357         * include/parallel/compatibility.h: Same.
358         * include/profile/impl/profiler_state.h: Same.
359         * include/tr1/shared_ptr.h: Same.
360         * libsupc++/eh_ptr.cc: Same.
361         * libsupc++/eh_throw.cc: Same.
362         * libsupc++/eh_tm.cc: Same.
363         * libsupc++/guard.cc: Same.
364         * configure: Regenerated.
365         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
366         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
367
368 2012-02-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
369
370         PR libstdc++/51296
371         * config/os/osf/ctype_base.h,
372         config/os/osf/ctype_configure_char.cc,
373         config/os/osf/ctype_inline.h, config/os/osf/error_constants.h:
374         Copy from config/os/generic.
375         * config/os/osf/os_defines.h: Likewise.
376         (_GTHREAD_USE_MUTEX_INIT_FUNC, _GTHREAD_USE_COND_INIT_FUNC):
377         Define.
378         * configure.host <osf*>: Use os/osf for os_include_dir.
379
380 2012-02-10  Uros Bizjak  <ubizjak@gmail.com>
381
382         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
383
384 2012-02-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
385
386         * doc/xml/manual/documentation_hacking.xml: Fix invalid attribute.
387
388 2012-02-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
389
390         * doc/xml/manual/status_cxx2011.xml: Update C++11 status table.
391
392 2012-02-07  Benjamin Kosnik  <bkoz@redhat.com>
393
394         * doc/doxygen/user.cfg.in: Update to doxygen 1.7.6.1.
395         * doc/xml/manual/documentation_hacking.xml: Update.
396
397 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
398
399         * testsuite/30_threads/call_once/39909.cc: Remove duplicate target
400         selector.
401         * testsuite/30_threads/call_once/49668.cc: Likewise.
402         * testsuite/30_threads/call_once/call_once1.cc: Likewise.
403         * testsuite/30_threads/lock_guard/cons/1.cc: Likewise.
404         * testsuite/30_threads/mutex/cons/1.cc: Likewise.
405         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
406         * testsuite/30_threads/mutex/lock/1.cc: Likewise.
407         * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
408         * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
409         * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
410         * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
411         * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
412         * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
413         * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
414         * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
415         * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
416         * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
417         * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
418         * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
419         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
420         * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
421         * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
422         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
423         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
424
425 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
426
427         PR libstdc++/51296
428         * include/std/mutex (__mutex_base::~__mutex_base): Declare noexcept.
429         * src/c++11/condition_variable.cc (condition_variable): Use macro for
430         initializer function.
431
432         PR libstdc++/51906
433         * config/os/bsd/darwin/os_defines.h: Disable static initializer for
434         recursive mutexes.
435
436 2012-02-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
437
438         PR libstdc++/52128
439         * src/c++11/future.cc: Add explicit instantiation.
440
441 2012-02-06  François Dumont  <fdumont@gcc.gnu.org>
442
443         * include/debug/safe_iterator.h
444         (_Safe_iterator::_M_before_dereferenceable): Avoid the expensive
445         creation of a _Safe_iterator instance to do the check.
446
447 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
448
449         PR libstdc++/52104
450         * include/std/future (__future_base::_Async_state_common): Define
451         destructor inline for targets without TLS.
452         * src/c++11/future.cc (__future_base::_Async_state_common): Only
453         define destructor for TLS targets.
454
455 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
456
457         PR libstdc++/51956
458         * python/libstdcxx/v6/printers.py (StdPointerPrinter): Rename to...
459         (SharedPointerPrinter): This. Also show weak count.
460         * testsuite/libstdc++-prettyprinters/shared_ptr.cc: New.
461
462 2012-02-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
463
464         * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Modify to
465         PASS instead of XFAIL.
466
467 2012-02-05  Jeffrey Yasskin  <jyasskin@gcc.gnu.org>
468             Paolo Carlini  <paolo.carlini@oracle.com>
469
470         PR libstdc++/52119
471         * include/std/limits (__glibcxx_min): Fix to avoid undefined behavior.
472
473 2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>
474
475         PR libstdc++/49445
476         * testsuite/29_atomics/atomic/cons/49445.cc: Add.
477
478 2012-02-03  Benjamin Kosnik  <bkoz@redhat.com>
479
480         PR libstdc++/51811
481         * include/bits/atomic_base.h (atomic<_Tp*>): Fix offsets.
482         * testsuite/29_atomics/atomic/operators/51811.cc: New.
483         * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: New.
484
485 2012-02-03  Jakub Jelinek  <jakub@redhat.com>
486
487         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
488         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
489         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
490         Likewise.
491         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
492         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
493         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
494         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
495         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
496         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
497
498 2012-02-02  Benjamin Kosnik  <bkoz@redhat.com>
499
500         PR libstdc++/52068
501         * src/c++11/Makefile.am (toolexeclib_LTLIBRARIES,
502         libc__11_la_SOURCES): Remove.
503         * src/c++11/Makefile.in: Regenerate.
504         * src/c++98/Makefile.am (toolexeclib_LTLIBRARIES,
505         libc__98_la_SOURCES): Remove.
506         * src/c++98/Makefile.in: Regenerate.
507
508 2012-02-01  Jonathan Wakely  <jwakely.gcc@gmail.com>
509
510         PR libstdc++/49204
511         * include/std/future (__future_base::_State_base::wait()): Use lambda
512         expression for predicate and remove redundant test.
513         (__future_base::_State_base::wait_for()): Return future_status and
514         use lambda expression for predicate.
515         (__future_base::_State_base::wait_until()): Likewise.
516         (__basic_future::wait_for(), __basic_future::wait_until()): Likewise.
517         (__future_base::_Async_state): Replace with _Async_state_common
518         class for non-dependent functionality and _Async_state_impl class
519         template for dependent functionality.
520         (__future_base::_Async_state_common::_M_join): Serialize attempts to
521         join thread.
522         (__future_base::_Async_state_common::_M_run_deferred): Join.
523         (__future_base::_Async_state::_M_do_run): Replace with lambda.
524         * src/c++11/future.cc (__future_base::_Async_state_common): Define
525         destructor, so key function is in the library.
526         * config/abi/pre/gnu.ver: Add exports for ~_Async_state_common.
527         * testsuite/30_threads/packaged_task/members/get_future.cc: Expect
528         future_status return instead of bool.
529         * testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
530         * testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
531         * testsuite/30_threads/future/members/wait_until.cc: Likewise.
532         * testsuite/30_threads/future/members/wait_for.cc: Likewise.
533         * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
534         * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
535         * testsuite/30_threads/promise/members/swap.cc: Likewise.
536
537 2012-01-30  Tom Tromey  <tromey@redhat.com>
538
539         PR libstdc++/51649:
540         * testsuite/libstdc++-prettyprinters/debug.cc: New file.
541         * testsuite/lib/gdb-test.exp (regexp-test): New proc.
542         (note-test): Update.
543         (gdb-test): Handle regexp tests.  Add some logging.
544         * testsuite/libstdc++-prettyprinters/simple.cc: Compile with -O0.
545         (placeholder, use): Remove.
546         (main): Add tests for deque, list, map, and set iterators.  Add
547         tests for slist and slist iterator.
548         * testsuite/libstdc++-prettyprinters/48362.cc (main): Handle __7
549         namespace.
550         * python/libstdcxx/v6/printers.py (StdListPrinter.children): Use
551         the type's _Node typedef.
552         (StdListIteratorPrinter.to_string): Change how node type is
553         computed.
554         (StdSlistPrinter.children): Use the type's _Node typedef.
555         (StdSlistIteratorPrinter.to_string): Likewise.
556         (StdRbtreeIteratorPrinter.to_string): Use the type's _Link_type
557         typedef.
558         (StdMapPrinter.children): Change how the node's type is computed.
559         (StdSetPrinter.children): Likewise.
560         (StdForwardListPrinter.children): Use the type's _Node typedef.
561         (Printer.add_version): New method.
562         (Printer.add_container): New method.
563         (build_libstdcxx_dictionary): Handle __7 and __cxx1998
564         namespaces.
565         (find_type): New function.
566
567 2012-01-27  Paolo Carlini  <paolo.carlini@oracle.com>
568
569         PR libstdc++/51795
570         * include/bits/random.h (linear_congruential_generator): Add
571         static_assert preventing instantiation for values of 'a' and 'm'
572         currently handled incorrectly by _Mod::__calc.
573         * include/bits/random.tcc (seed_seq::generate): Avoid unsafe
574         uses of _Mod::__calc.
575
576 2012-01-27  Jakub Jelinek  <jakub@redhat.com>
577
578         PR libstdc++/51798
579         * config/cpu/generic/atomicity_builtins/atomicity.h
580         (__exchange_and_add, __atomic_add): Use __atomic_fetch_add
581         with __ATOMIC_ACQ_REL semantics instead of __sync_fetch_and_add.
582         * include/ext/atomicity.h (__exchange_and_add, __atomic_add):
583         Likewise.
584
585 2011-01-27  Rafael Avila de Espindola  <rafael.espindola@gmail.com>
586
587         * libsupc++/typeinfo: Correctly match #pragma GCC visibility
588         pop with #pragma GCC visibility push.
589
590 2012-01-27  Benjamin Kosnik  <bkoz@redhat.com>
591             Matthias Klose  <doko@ubuntu.com>
592
593         * configure.ac (GLIBCXX_ENABLE_DEBUG_FLAGS): Use -gdwarf-4 -g3 -O0.
594         * configure.in: Regenerated.
595         * src/Makefile.am (all-once, install-data-once): New rules.
596         (all-local, install-data-local): Use them.
597         (build-debug, install-debug): Tweak.
598         * src/Makefile.in: Regenerate.
599
600 2012-01-27  Richard Henderson  <rth@redhat.com>
601
602         * include/bits/atomic_base.h (__atomic_flag_base): Define _M_i
603         based on the value of __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
604         (ATOMIC_FLAG_INIT): Initialize with 0, not false.
605         (atomic_flag::atomic_flag): Use __GCC_ATOMIC_TEST_AND_SET_TRUEVAL.
606
607 2012-01-26  Jakub Jelinek  <jakub@redhat.com>
608
609         PR bootstrap/51985
610         * src/c++98/Makefile.am (libc__98_la_SOURCES,
611         libc__98convenience_la_SOURCES): Remove $(inst_sources).
612         * src/c++98/Makefile.in: Regenerated.
613
614 2012-01-25  Richard Sandiford  <rdsandiford@googlemail.com>
615
616         * testsuite/20_util/system_clock/1.cc: Add dg-require-time.
617         * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: Likewise.
618         * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: Likewise.
619         * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: Likewise.
620         * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Add
621         dg-require-fileio.
622         * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
623         * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
624         * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
625         * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc:
626         Likewise.
627         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
628
629 2012-01-25  Matthias Klose  <doko@ubuntu.com>
630
631         * testsuite/30_threads/condition_variable_any/requirements: Remove
632         empty directory.
633
634 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
635
636         * src/Makefile.am (libstdc++convenience.la): Correct stamp rule, copy.
637         * src/Makefile.in: Regenerate.
638
639 2012-01-23  Benjamin Kosnik  <bkoz@redhat.com>
640
641         PR libstdc++/49829
642         Add libc++98convenience.la, libc++11convenience.la.
643         * src/c++98: New directory.
644         * src/c++11: New directory.
645         * acinclude.m4: (GLIBCXX_CONFIGURE): Add src-c++98, src-c++11.
646         * configure: Regenerated.
647         * Makefile.am (hosted_source): Add src-c++98, src-c++11 to SUBDIRS.
648         * Makefile.in: Regenerate.
649         * libsupc++/Makefile.am (AM_CXXFLAGS): USe XTEMPLATE_FLAGS for
650         -fno-implicit-templates.
651         * libsupc++/Makefile.in: Regenerate.
652         * src/Makefile.am (inst_sources): Move... C++11 files into
653         separate directory for libstdc++11convenience.la. Files are:
654         fstream-inst.cc, string-inst.cc, wlocale-inst.cc, wstring-inst.cc).
655         (sources): Move C++11 files. Files are: compatibility-c++0x.cc,
656         compatibility-atomic-c++0x.cc, debug.cc, functexcept.cc,
657         functional.cc, hash_c++0x.cc, hashtable_c++0x.cc, limits.cc,
658         system_error.cc, placeholders.cc, regex.cc, shared_ptr.cc,
659         mutex.cc, condition_variable.cc, chrono.cc, thread.cc, future.cc.
660         (libstdc++convenience.la): Add new target.
661         (SUBDIRS): Add c++11, c++98.
662         * src/Makefile.in: Regenerate.
663         * src/c++11/Makefile.am: New.
664         * src/c++11/Makefile.in: Generate.
665         * src/c++98/Makefile.am: New, C++98 files.
666         * src/c++98/Makefile.in: Generate.
667
668 2012-01-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
669
670         libstdc++-v3:
671         * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
672         32-bit Solaris 10/x86.
673         * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
674
675 2012-01-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
676
677         PR libstdc++/50982
678         * testsuite/30_threads/*: Add powerpc-ibm-aix* to target selectors.
679
680 2012-01-19  Jakub Jelinek  <jakub@redhat.com>
681
682         PR libstdc++/51845
683         * include/bits/hashtable.h
684         (_Hashtable<>::erase(const_iterator, const_iterator)): Also update
685         _M_buckets[__n_bkt] if __is_bucket_begin.
686         * testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc:
687         New test.
688
689 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
690
691         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): Fix quoting.
692
693 2012-01-18  Benjamin Kosnik  <bkoz@redhat.com>
694
695         * configure.ac: Move epub checks...
696         * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): ...here, use
697         test -f instead of AC_CHECK_FILES.
698
699 2012-01-18  François Dumont  <fdumont@gcc.gnu.org>
700             Roman Kononov  <roman@binarylife.net>
701
702         PR libstdc++/51866
703         * include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, false_type)):
704         Do not keep a reference to a potentially moved instance.
705         * testsuite/23_containers/unordered_multiset/insert/51866.cc: New.
706         * testsuite/23_containers/unordered_multimap/insert/51866.cc: New.
707
708 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
709
710         * doc/html/*: Regenerate.
711
712 2012-01-17  Benjamin Kosnik  <bkoz@redhat.com>
713
714         * configure.ac (BUILD_EPUB): Adjust for epub3.
715         * configure: Regenerate.
716         * Makefile.in: Same.
717         * doc/Makefile.am (stamp-epub-docbook): Update for epub3.
718         * doc/Makefile.in: Regenerate.
719         * include/Makefile.in: Same.
720         * libsupc++/Makefile.in: Same.
721         * po/Makefile.in: Same.
722         * python/Makefile.in: Same.
723         * src/Makefile.in: Same.
724         * testsuite/Makefile.in: Same.
725
726         * doc/xml/manual/documentation_hacking.xml: Update.
727
728 2012-01-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
729
730         PR target/47852
731         * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS.
732
733 2012-01-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
734
735         * include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.
736
737 2012-01-13  François Dumont  <fdumont@gcc.gnu.org>
738
739         * include/bits/hashtable_policy.h (_Hash_node_base): New, use it as
740         base class of ...
741         (_Hash_node<Value, true>, _Hash_node<Value, false>): ... those.
742         * include/bits/hashtable.h (_Hashtable): Replace _M_begin_bucket_index
743         by _M_before_begin. Review implementation so that we do not need to
744         look for previous non-empty bucket when inserting nodes.
745
746 2012-01-09  Kai Tietz  <ktietz@redhat.com>
747
748         PR libstc++/51673 part 2
749         * config/abi/pre/gnu-versioned-namespace.ver: Adjusted new/delete
750         operators signature for LLP64 size_t, and adjusted signatures for
751         mt-allocator using size_t.
752
753 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
754
755         PR libstc++/51673 part 1
756         * config/abi/pre/gnu-versioned-namespace.ver: Sync cxxabi symbols
757         with gnu.ver.
758
759 2012-01-09  Benjamin Kosnik  <bkoz@redhat.com>
760
761         * fragment.am (WARN_CXXFLAGS): Add -Wabi.
762         * Makefile.in: Regenerate.
763         * doc/Makefile.in: Same.
764         * include/Makefile.in: Same.
765         * libsupc++/Makefile.in: Same.
766         * src/Makefile.in: Same.
767         * testsuite/Makefile.in: Same.
768         * po/Makefile.in: Same.
769         * python/Makefile.in: Same.
770
771 2012-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
772
773         * python/libstdcxx/v6/printers.py (StdForwardListPrinter): Add.
774         * testsuite/libstdc++-prettyprinters/cxx11.cc: New.
775
776 2012-01-06  Jason Merrill  <jason@redhat.com>
777
778         * testsuite/abi/demangle/regression/cw-16.cc (main): Adjust
779         expected demangling.
780
781 2012-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
782
783         PR libstdc++/51504
784         * doc/xml/manual/debug.xml: Suggest using symbol interposition
785         to override symbols using annotation macros.
786
787 2012-01-05  François Dumont  <fdumont@gcc.gnu.org>
788
789         * include/bits/hashtable_policy.h (_Hashtable_base<>::_M_eq()):
790         protected rather than private, use it...
791         * include/bits/hashtable.h (_Hashtable<>::key_eq()): ... here.
792         * testsuite/23_containers/unordered_set/observers.cc: New.
793         * testsuite/23_containers/unordered_multiset/observers.cc: New.
794         * testsuite/23_containers/unordered_map/observers.cc: New.
795         * testsuite/23_containers/unordered_multimap/observers.cc: New.
796
797 2012-01-03  François Dumont  <fdumont@gcc.gnu.org>
798
799         * include/bits/hashtable_policy.h (_Ebo_helper<>): Rename to the more
800         specific _Hashtable_ebo_helper. Hide this implementation detail thanks
801         to private inheritance.
802
803 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
804
805         PR c++/51738
806         * testsuite/23_containers/map/element_access/39901.cc: New.