OSDN Git Service

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