OSDN Git Service

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