OSDN Git Service

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