OSDN Git Service

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