OSDN Git Service

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