Daily bump.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob34968e3a758c45decb4fafb7646970a81ed14101
1 2011-01-31  Benjamin Kosnik  <bkoz@redhat.com>
3         * include/bits/c++config (_GLIBCXX_DEPRECATED): To
4         _GLIBCXX_USE_DEPRECATED.
5         (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
6         * doc/xml/manual/using.xml: Same.
7         * include/std/memory: Same.
8         * include/std/streambuf: Same.
9         * include/bits/shared_ptr.h: Same.
10         * include/bits/unique_ptr.h: Same.
11         * include/bits/shared_ptr_base.h: Same.
12         * include/bits/stl_function.h: Same.
13         * include/tr1/shared_ptr.h: Same.
14         * include/backward/auto_ptr.h: Same.
15         * include/backward/binders.h: Same.
17 2011-01-30  Benjamin Kosnik  <bkoz@redhat.com>
19         PR libstdc++/36104 part four
20         * include/bits/c++config (_GLIBCXX_STD): Remove.
21         (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
22         (_GLIBCXX_P): Now _GLIBCXX_STD_A.
23         (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
24          _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
25         (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
26          _GLIBCXX_INLINE_PROFILE): Remove.
27         (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
28         (_GLIBCXX_END_NAMESPACE): Remove.
29         (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
30         (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
31         (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
32         (_GLIBCXX_END_NAMESPACE_ALGO): Add.
33         (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
34         (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
35         (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
36         (_GLIBCXX_END_NAMESPACE_VERSION): Add.
37         (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
38         (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
39         (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
40         * include/*: Use new macros for namespace scope.
41         * config/*: Same.
42         * src/*: Same.
44         * src/Makefile.am (sources): Remove debug_list.cc, add
45         compatibility-debug_list-2.cc.
46         (parallel_sources): Remove parallel_list.cc, add
47         compatibility-parallel_list-2.cc.
48         (compatibility-parallel_list-2.[o,lo]): New rule.
49         * src/Makefile.in: Regenerate.
50         * src/debug_list.cc: Remove.
51         * src/parallel_list.cc: Remove.
52         * src/compatibility-list-2.cc: New.
53         * src/compatibility-debug_list-2.cc: New.
54         * src/compatibility-parallel_list-2.cc: New.
56         * doc/doxygen/user.cfg.in: Adjust macros.
58         * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
59         * testsuite/20_util/declval/requirements/1_neg.cc: Same.
60         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
61         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
62         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
63         * testsuite/20_util/forward/c_neg.cc: Same.
64         * testsuite/20_util/forward/f_neg.cc: Same.
65         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
66         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
67         * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
68         * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
69         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
70         * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
71         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
72         * testsuite/23_containers/deque/requirements/dr438/
73         constructor_1_neg.cc: Same.
74         * testsuite/23_containers/deque/requirements/dr438/
75         constructor_2_neg.cc: Same.
76         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
77         * testsuite/23_containers/forward_list/capacity/1.cc: Same.
78         * testsuite/23_containers/forward_list/requirements/dr438/
79         assign_neg.cc: Same.
80         * testsuite/23_containers/forward_list/requirements/dr438/
81         constructor_1_neg.cc: Same.
82         * testsuite/23_containers/forward_list/requirements/dr438/
83         constructor_2_neg.cc: Same.
84         * testsuite/23_containers/forward_list/requirements/dr438/
85         insert_neg.cc: Same.
86         * testsuite/23_containers/list/capacity/29134.cc: Same.
87         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
88         * testsuite/23_containers/list/requirements/dr438/
89         constructor_1_neg.cc: Same.
90         * testsuite/23_containers/list/requirements/dr438/
91         constructor_2_neg.cc: Same.
92         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
93         * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
94         * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
95         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
96         * testsuite/23_containers/vector/requirements/dr438/
97         constructor_1_neg.cc: Same.
98         * testsuite/23_containers/vector/requirements/dr438/
99         constructor_2_neg.cc: Same.
100         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
101         * testsuite/25_algorithms/sort/35588.cc: Same.
102         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
103         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
104         * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
105         * testsuite/ext/profile/profiler_algos.cc: Same.
106         * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
107         * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
108         * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
109         * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
110         * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
112 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
114         * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
115         Improve description of one such reference.
117 2011-01-30  Gerald Pfeifer  <gerald@pfeifer.com>
119         * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
120         Standards Revision Group.
121         * doc/xml/manual/locale.xml: Ditto.
122         * doc/xml/manual/messages.xml: Ditto.
123         * doc/xml/manual/using_exceptions.xml: Ditto.
125 2011-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
127         * include/bits/atomic_base.h: Do not include <stddef.h>.
128         (kill_dependency): Uglify ret.
130 2011-01-26  Johannes Singler  <singler@kit.edu>
132         * include/parallel/numeric (inner_product, partial_sum):
133         Qualify subsequent call with __gnu_parallel instead of
134         _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
135         * include/parallel/algobase.h (equal): Likewise.
136         * include/parallel/algo.h (find_first_of, search_n, merge,
137         nth_element, partial_sort, max_element, min_element): Likewise.
138         * testsuite/25_algorithms/headers/algorithm/
139         parallel_algorithm_mixed1.cc (main): Add respective test cases.
140         * testsuite/25_algorithms/headers/algorithm/
141         parallel_algorithm_mixed2.cc (main): Likewise.
142         * testsuite/26_numerics/headers/numeric/
143         parallel_numeric_mixed1.cc (main): Likewise.
144         * testsuite/26_numerics/headers/numeric/
145         parallel_numeric_mixed2.cc (main): Likewise.
147 2011-01-24  Graham Reed  <greed@pobox.com>
149         PR libstdc++/47387
150         * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
151         provided.
153 2011-01-24  Johannes Singler  <singler@kit.edu>
155         PR libstdc++/47433
156         * include/parallel/losertree.h
157         (_LoserTree<>::__delete_min_insert):
158         Do not qualify swap with std:: for value type,
159         but include a using directive instead.
160         (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
161         * include/parallel/balanced_quicksort.h (__qsb_divide):
162         Use std::iter_swap instead of std::swap.
163         (__qsb_local_sort_with_helping): Likewise.
164         * include/parallel/partition.h (__parallel_partition):
165         Likewise. (__parallel_nth_element): Likewise.
167 2011-01-24  Johannes Singler  <singler@kit.edu>
169         PR libstdc++/47437
170         * include/parallel/multiway_merge.h (_UnguardedIterator):
171         Remove useless "mutable" from reference declaration.
173 2011-01-21  Benjamin Kosnik  <bkoz@redhat.com>
175         * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
176         * include/debug/safe_sequence.h: Same.
177         * include/debug/safe_iterator.h: Same.
178         * include/std/forward_list: Same.
179         * include/std/deque: Same.
180         * include/std/list: Same.
181         * include/std/random: Same.
182         * include/std/streambuf: Same.
183         * include/std/fstream: Same.
184         * include/std/istream: Same.
185         * include/std/string: Same.
186         * include/std/ostream: Same.
187         * include/std/sstream: Same.
188         * include/ext/vstring.h: Same.
189         * include/bits/basic_ios.h: Same.
190         * include/bits/locale_classes.h: Same.
191         * include/bits/locale_facets.h: Same.
192         * include/bits/valarray_array.h: Same.
193         * include/bits/locale_facets_nonio.h: Same.
194         * include/tr1/random: Same.
196 2011-01-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
198         * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
200 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
202         PR libstdc++/36104 part three
203         * src/hashtable_c++0x.cc: Adjust namespace macros.
204         * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
205         * config/abi/pre/gnu-versioned-namespace.ver: Update.
207 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
209         * include/ext/pb_ds/detail/resize_policy/
210         hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
211         * include/ext/pb_ds/detail/pat_trie_/
212         constructors_destructor_fn_imps.hpp: Same.
213         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
214         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
215         * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
217         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
218         iterations downward when testing in debug mode.
219         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
220         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
221         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
222         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
223         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
224         * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
225         reduce in debug mode.
227 2011-01-19  Benjamin Kosnik  <bkoz@redhat.com>
229         PR libstdc++/36104 part two
230         * include/bits/hashtable.h: Revert to non-nested macro usage.
231         * include/bits/hashtable_policy.h: Same.
233 2011-01-19  Graham Reed  <greed@pobox.com>
235         PR libstdc++/47354
236         * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
238 2011-01-18  Benjamin Kosnik  <bkoz@redhat.com>
240         * doc/xml/images/confdeps.png: Regenerate.
242         * include/std/chrono (duration): Mark copy constructor constexpr.
243         * testsuite/20_util/duration/cons/constexpr.cc: Add test.
245 2011-01-18  Paolo Carlini  <paolo.carlini@oracle.com>
247         * include/bits/unique_ptr.h (default_delete<>::default_delete()):
248         Declare defaulted per DR 1517.
249         * testsuite/util/testsuite_common_types.h
250         (constexpr_defaulted_default_constructible): Add.
251         * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
253 2011-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
255         * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
256         Implement DR 1198.
257         * include/bits/stl_stack.h (stack<>::swap): Likewise.
259 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
261         PR libstdc++/47323
262         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
263         Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
265 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
267         PR libstdc++/47320
268         * testsuite/18_support/numeric_limits/lowest.cc:
269         Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
271 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
273         PR libstdc++/47321
274         * testsuite/21_strings/basic_string/requirements/typedefs.cc:
275         Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
277 2011-01-16  François Dumont  <francois.cppdevs@free.fr>
279         * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
280         to this. Use _neg suffix.
281         * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
282         this.
283         * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
284         Same.
285         * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
286         * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
287         Same.
288         * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
289         * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
290         Same.
291         * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
292         * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
293         Same.
294         * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
295         * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
296         Same.
297         * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
298         * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
299         Same.
300         * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
301         * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
302         Same.
303         * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
304         * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
305         Same.
306         * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
307         * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
308         Same.
309         * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
310         * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
311         Same.
312         * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
313         * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
314         Same.
315         * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
316         * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
317         Same.
318         * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
319         * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
320         Same.
321         * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
322         * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
323         Same.
324         * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
325         * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
326         Same.
327         * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
329 2011-01-14  Benjamin Kosnik  <bkoz@redhat.com>
331         PR libstdc++/36104
332         * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
333         * include/Makefile.in: Regenerate.
334         * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
335         (install-stdHEADERS, install-bitsHEADERS): New.
336         * libsupc++/Makefile.in: Regenerate.
338         * include/bits/c++config: Update for inline namespaces.
339         * libsupc++/cxxabi-forced.h: To...
340         * libsupc++/cxxabi_forced.h: ...this.
341         * libsupc++/hash_bytes.h: Separate file.
342         * libsupc++/typeinfo: Use it.
343         * libsupc++/exception: Adjust for bits subdirectory.
344         * libsupc++/eh_aux_runtime.cc: Same.
345         * libsupc++/eh_ptr.cc: Same.
346         * libsupc++/new_op.cc: Same.
347         * libsupc++/exception_defines.h: Same.
348         * libsupc++/nested_exception.h: Same.
349         * libsupc++/eh_terminate.cc: Same.
350         * libsupc++/vec.cc: Same.
351         * libsupc++/vterminate.cc: Same.
352         * libsupc++/exception_ptr.h: Same.
353         * libsupc++/eh_personality.cc: Same.
354         * libsupc++/eh_call.cc: Same.
355         * libsupc++/new_opnt.cc: Same.
356         * libsupc++/hash_bytes.cc: Same.
357         * config/cpu/arm/cxxabi_tweaks.h: Same.
358         * config/cpu/generic/cxxabi_tweaks.h: Same.
359         * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
360         * include/std/bitset: Same.
361         * include/ext/vstring.tcc: Same.
362         * include/bits/hashtable.h: Same.
363         * include/bits/functional_hash.h: Same.
364         * include/bits/hashtable_policy.h: Same.
365         * include/bits/basic_string.h: Same.
366         * include/bits/istream.tcc: Same.
367         * include/bits/ostream.tcc: Same.
368         * include/bits/algorithmfwd.h: Same.
369         * include/bits/basic_string.tcc: Same.
370         * include/bits/ostream_insert.h: Same.
371         * include/bits/fstream.tcc: Same.
372         * include/bits/functexcept.h: Same.
374         * doc/doxygen/user.cfg.in: Adjust names.
376         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
378 2011-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
380         * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
381         tweaks.
382         * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
384 2011-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
386         * testsuite/25_algorithms/is_permutation/check_type.cc: New.
387         * testsuite/25_algorithms/is_permutation/requirements/
388         explicit_instantiation/2.cc: Likewise.
389         * testsuite/25_algorithms/is_permutation/requirements/
390         explicit_instantiation/pod.cc: Likewise.
391         * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
393 2011-01-13  John Lakos  <jlakos@bloomberg.net>
394             Pablo Halpern  <phalpern@halpernwightsoftware.com>
395             Paolo Carlini  <paolo.carlini@oracle.com>
397         * include/bits/stl_algo.h (is_permutation): Add, per N3068.
398         * include/bits/algorithmfwd.h: Add.
400 2011-01-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
402         PR libstdc++/47045
403         * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
405 2011-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
407         * aclocal.m4: Regenerate.
409 2011-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
411         PR libstdc++/47185
412         * src/placeholders.cc: New.
413         * src/Makefile.am: Adjust.
414         * src/Makefile.in: Regenerate.
415         * include/std/functional (placeholders::_1, _2, ..., _29): Declare
416         extern.
417         * config/abi/pre/gnu.ver: Export.
419 2011-01-05  François Dumont  <francois.cppdevs@free.fr>
421         * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
422         * include/src/debug.cc: Use latter
423         * include/debug/forward_list (forward_list<>::_M_swap):  Fix to
424         correctly handle before_begin iterators.
425         * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
426         useless _GLIBCXX_DEBUG checks.
428 2011-01-04  Kai Tietz  <kai.tietz@onevision.com>
430         PR libstdc++/47145
431         * configure.ac (AC_CHECK_FILE): Replaced by test -f.
432         * configure: Regenerated.
434 2011-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
436         PR libstdc++/46922
437         * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
440 Copyright (C) 2011 Free Software Foundation, Inc.
442 Copying and distribution of this file, with or without modification,
443 are permitted in any medium without royalty provided the copyright
444 notice and this notice are preserved.