OSDN Git Service

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