OSDN Git Service

2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2011-01-28  Paolo Carlini  <paolo.carlini@oracle.com>
2
3         * include/bits/atomic_base.h: Do not include <stddef.h>.
4         (kill_dependency): Uglify ret.
5
6 2011-01-26  Johannes Singler  <singler@kit.edu>
7
8         * include/parallel/numeric (inner_product, partial_sum):
9         Qualify subsequent call with __gnu_parallel instead of
10         _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
11         * include/parallel/algobase.h (equal): Likewise.
12         * include/parallel/algo.h (find_first_of, search_n, merge,
13         nth_element, partial_sort, max_element, min_element): Likewise.
14         * testsuite/25_algorithms/headers/algorithm/
15         parallel_algorithm_mixed1.cc (main): Add respective test cases.
16         * testsuite/25_algorithms/headers/algorithm/
17         parallel_algorithm_mixed2.cc (main): Likewise.
18         * testsuite/26_numerics/headers/numeric/
19         parallel_numeric_mixed1.cc (main): Likewise.
20         * testsuite/26_numerics/headers/numeric/
21         parallel_numeric_mixed2.cc (main): Likewise.
22
23 2011-01-24  Graham Reed  <greed@pobox.com>
24
25         PR libstdc++/47387
26         * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
27         provided.
28
29 2011-01-24  Johannes Singler  <singler@kit.edu>
30
31         PR libstdc++/47433
32         * include/parallel/losertree.h
33         (_LoserTree<>::__delete_min_insert):
34         Do not qualify swap with std:: for value type,
35         but include a using directive instead.
36         (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
37         * include/parallel/balanced_quicksort.h (__qsb_divide):
38         Use std::iter_swap instead of std::swap.
39         (__qsb_local_sort_with_helping): Likewise.
40         * include/parallel/partition.h (__parallel_partition):
41         Likewise. (__parallel_nth_element): Likewise.
42
43 2011-01-24  Johannes Singler  <singler@kit.edu>
44
45         PR libstdc++/47437
46         * include/parallel/multiway_merge.h (_UnguardedIterator):
47         Remove useless "mutable" from reference declaration.
48
49 2011-01-21  Benjamin Kosnik  <bkoz@redhat.com>
50
51         * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
52         * include/debug/safe_sequence.h: Same.
53         * include/debug/safe_iterator.h: Same.
54         * include/std/forward_list: Same.
55         * include/std/deque: Same.
56         * include/std/list: Same.
57         * include/std/random: Same.
58         * include/std/streambuf: Same.
59         * include/std/fstream: Same.
60         * include/std/istream: Same.
61         * include/std/string: Same.
62         * include/std/ostream: Same.
63         * include/std/sstream: Same.
64         * include/ext/vstring.h: Same.
65         * include/bits/basic_ios.h: Same.
66         * include/bits/locale_classes.h: Same.
67         * include/bits/locale_facets.h: Same.
68         * include/bits/valarray_array.h: Same.
69         * include/bits/locale_facets_nonio.h: Same.
70         * include/tr1/random: Same.
71
72 2011-01-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
73
74         * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
75
76 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
77
78         PR libstdc++/36104 part three
79         * src/hashtable_c++0x.cc: Adjust namespace macros.
80         * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
81         * config/abi/pre/gnu-versioned-namespace.ver: Update.
82
83 2011-01-20  Benjamin Kosnik  <bkoz@redhat.com>
84
85         * include/ext/pb_ds/detail/resize_policy/
86         hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
87         * include/ext/pb_ds/detail/pat_trie_/
88         constructors_destructor_fn_imps.hpp: Same.
89         * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
90         * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
91         * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
92
93         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
94         iterations downward when testing in debug mode.
95         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
96         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
97         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
98         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
99         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
100         * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
101         reduce in debug mode.
102
103 2011-01-19  Benjamin Kosnik  <bkoz@redhat.com>
104
105         PR libstdc++/36104 part two
106         * include/bits/hashtable.h: Revert to non-nested macro usage.
107         * include/bits/hashtable_policy.h: Same.
108
109 2011-01-19  Graham Reed  <greed@pobox.com>
110
111         PR libstdc++/47354
112         * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
113
114 2011-01-18  Benjamin Kosnik  <bkoz@redhat.com>
115
116         * doc/xml/images/confdeps.png: Regenerate.
117
118         * include/std/chrono (duration): Mark copy constructor constexpr.
119         * testsuite/20_util/duration/cons/constexpr.cc: Add test.
120
121 2011-01-18  Paolo Carlini  <paolo.carlini@oracle.com>
122
123         * include/bits/unique_ptr.h (default_delete<>::default_delete()):
124         Declare defaulted per DR 1517.
125         * testsuite/util/testsuite_common_types.h
126         (constexpr_defaulted_default_constructible): Add.
127         * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
128
129 2011-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
130
131         * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
132         Implement DR 1198.
133         * include/bits/stl_stack.h (stack<>::swap): Likewise.
134
135 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
136
137         PR libstdc++/47323
138         * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
139         Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
140
141 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
142
143         PR libstdc++/47320
144         * testsuite/18_support/numeric_limits/lowest.cc:
145         Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
146
147 2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
148
149         PR libstdc++/47321
150         * testsuite/21_strings/basic_string/requirements/typedefs.cc:
151         Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
152
153 2011-01-16  François Dumont  <francois.cppdevs@free.fr>
154
155         * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
156         to this. Use _neg suffix.
157         * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
158         this.
159         * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
160         Same.
161         * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
162         * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
163         Same.
164         * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
165         * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
166         Same.
167         * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
168         * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
169         Same.
170         * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
171         * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
172         Same.
173         * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
174         * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
175         Same.
176         * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
177         * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
178         Same.
179         * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
180         * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
181         Same.
182         * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
183         * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
184         Same.
185         * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
186         * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
187         Same.
188         * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
189         * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
190         Same.
191         * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
192         * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
193         Same.
194         * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
195         * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
196         Same.
197         * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
198         * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
199         Same.
200         * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
201         * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
202         Same.
203         * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
204
205 2011-01-14  Benjamin Kosnik  <bkoz@redhat.com>
206
207         PR libstdc++/36104
208         * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
209         * include/Makefile.in: Regenerate.
210         * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
211         (install-stdHEADERS, install-bitsHEADERS): New.
212         * libsupc++/Makefile.in: Regenerate.
213
214         * include/bits/c++config: Update for inline namespaces.
215         * libsupc++/cxxabi-forced.h: To...
216         * libsupc++/cxxabi_forced.h: ...this.
217         * libsupc++/hash_bytes.h: Separate file.
218         * libsupc++/typeinfo: Use it.
219         * libsupc++/exception: Adjust for bits subdirectory.
220         * libsupc++/eh_aux_runtime.cc: Same.
221         * libsupc++/eh_ptr.cc: Same.
222         * libsupc++/new_op.cc: Same.
223         * libsupc++/exception_defines.h: Same.
224         * libsupc++/nested_exception.h: Same.
225         * libsupc++/eh_terminate.cc: Same.
226         * libsupc++/vec.cc: Same.
227         * libsupc++/vterminate.cc: Same.
228         * libsupc++/exception_ptr.h: Same.
229         * libsupc++/eh_personality.cc: Same.
230         * libsupc++/eh_call.cc: Same.
231         * libsupc++/new_opnt.cc: Same.
232         * libsupc++/hash_bytes.cc: Same.
233         * config/cpu/arm/cxxabi_tweaks.h: Same.
234         * config/cpu/generic/cxxabi_tweaks.h: Same.
235         * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
236         * include/std/bitset: Same.
237         * include/ext/vstring.tcc: Same.
238         * include/bits/hashtable.h: Same.
239         * include/bits/functional_hash.h: Same.
240         * include/bits/hashtable_policy.h: Same.
241         * include/bits/basic_string.h: Same.
242         * include/bits/istream.tcc: Same.
243         * include/bits/ostream.tcc: Same.
244         * include/bits/algorithmfwd.h: Same.
245         * include/bits/basic_string.tcc: Same.
246         * include/bits/ostream_insert.h: Same.
247         * include/bits/fstream.tcc: Same.
248         * include/bits/functexcept.h: Same.
249
250         * doc/doxygen/user.cfg.in: Adjust names.
251
252         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
253
254 2011-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
255
256         * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
257         tweaks.
258         * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
259
260 2011-01-13  Paolo Carlini  <paolo.carlini@oracle.com>
261
262         * testsuite/25_algorithms/is_permutation/check_type.cc: New.
263         * testsuite/25_algorithms/is_permutation/requirements/
264         explicit_instantiation/2.cc: Likewise.
265         * testsuite/25_algorithms/is_permutation/requirements/
266         explicit_instantiation/pod.cc: Likewise.
267         * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
268
269 2011-01-13  John Lakos  <jlakos@bloomberg.net>
270             Pablo Halpern  <phalpern@halpernwightsoftware.com>
271             Paolo Carlini  <paolo.carlini@oracle.com>
272
273         * include/bits/stl_algo.h (is_permutation): Add, per N3068.
274         * include/bits/algorithmfwd.h: Add.
275
276 2011-01-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
277
278         PR libstdc++/47045
279         * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
280
281 2011-01-11  Paolo Carlini  <paolo.carlini@oracle.com>
282
283         * aclocal.m4: Regenerate.
284
285 2011-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
286
287         PR libstdc++/47185
288         * src/placeholders.cc: New.
289         * src/Makefile.am: Adjust.
290         * src/Makefile.in: Regenerate.
291         * include/std/functional (placeholders::_1, _2, ..., _29): Declare
292         extern.
293         * config/abi/pre/gnu.ver: Export.
294
295 2011-01-05  François Dumont  <francois.cppdevs@free.fr>
296
297         * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
298         * include/src/debug.cc: Use latter
299         * include/debug/forward_list (forward_list<>::_M_swap):  Fix to
300         correctly handle before_begin iterators.
301         * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
302         useless _GLIBCXX_DEBUG checks.
303
304 2011-01-04  Kai Tietz  <kai.tietz@onevision.com>
305
306         PR libstdc++/47145
307         * configure.ac (AC_CHECK_FILE): Replaced by test -f.
308         * configure: Regenerated.
309
310 2011-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
311
312         PR libstdc++/46922
313         * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
314
315 \f
316 Copyright (C) 2011 Free Software Foundation, Inc.
317
318 Copying and distribution of this file, with or without modification,
319 are permitted in any medium without royalty provided the copyright
320 notice and this notice are preserved.