OSDN Git Service

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