OSDN Git Service

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