OSDN Git Service

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