OSDN Git Service

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