OSDN Git Service

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