OSDN Git Service

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