OSDN Git Service

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