1 2005-05-30 Paolo Carlini <pcarlini@suse.de>
3 * include/std/std_complex.h (log(const complex<_Tp>&)): When
4 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
6 2005-05-28 Paolo Carlini <pcarlini@suse.de>
9 2005-05-18 Paolo Carlini <pcarlini@suse.de>
10 Nathan Myers <ncm@cantrip.org>
13 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
14 size_type instead of char and rename to _Raw_alloc.
15 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
17 * src/bitmap_allocator.cc: Add instantiation for size_type.
18 * src/mt_allocator.cc: Likewise.
19 * src/pool_allocator.cc: Likewise.
20 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
21 the existence of an _Array::begin() and size() members.
22 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
23 of size_type, instead of char, thus avoiding problems with
24 rebinds, not treated correctly by array_allocator.
26 2005-05-27 Paolo Carlini <pcarlini@suse.de>
28 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
29 a notice about the configure options.
31 2005-05-27 Mark Mitchell <mark@codesourcery.com>
33 * docs/html/test.html: Mention PCH_CXXFLAGS.
34 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
35 available stcd++.h PCH.
36 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
38 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
40 * src/misc-inst.cc: Remove unnecessary included files.
42 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
45 * include/bits/c++config: Remove extern template use when in debug
46 mode, disable for non-weak systems.
48 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
51 * include/debug/debug.h: Forwarding header, that pulls in details
52 only if in debug mode.
53 * include/debug/macros.h: ...transfer all the internal macros here.
54 * include/debug/functions.h: ...transfer all the functions here.
55 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
56 * include/debug/safe_sequence.h: Same.
57 * include/debug/vector: Tweak.
58 * include/Makefile.am (debug_headers): Add new includes.
59 * include/Makefile.in: Regenerate.
60 * testsuite/17_intro/no_assert_neg.cc: Add.
62 * include/ext/hash_set: Add debug mode include.
63 * include/ext/hash_map: Same.
64 * include/debug/hash_map: Fix included files to match actual files.
65 * include/debug/hash_set: Same.
67 2005-05-26 Paolo Carlini <pcarlini@suse.de>
70 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
71 available when _GLIBCXX_USE_C99 is defined.
72 * testsuite/26_numerics/cstdlib/13943.cc: New.
74 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
75 also strtoll and strtoull for ac_c99_stdlib.
76 * configure: Regenerate.
78 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
80 * config/linker-map.gnu: Add linkage support for no extern templates.
81 (std::ios_base::_M_call_callbacks): Add.
82 (std::ios_base::_M_dispose_callbacks): Add.
83 (std::locale::facet::_S_get_c_name): Add.
84 (std::__copy_streambufs): Add.
85 * configure.ac (libtool_VERSION): To 6:5:0.
86 * configure: Regenerate.
87 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
89 2005-05-25 Paolo Carlini <pcarlini@suse.de>
91 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
92 Use, consistently, traits_type::assign.
94 2005-05-25 Paolo Carlini <pcarlini@suse.de>
96 * config/cpu/alpha/atomicity.h: Use the builtins for
97 atomic memory operations.
98 * config/cpu/powerpc/atomicity.h: Likewise.
99 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
101 2005-05-24 Paolo Carlini <pcarlini@suse.de>
103 * testsuite/25_algorithms/equal.cc: Move to...
104 * testsuite/25_algorithms/equal: ... here.
105 * testsuite/25_algorithms/lower_bound.cc: Move to...
106 * testsuite/25_algorithms/lower_bound: ... here.
108 2005-05-24 Paolo Carlini <pcarlini@suse.de>
110 Port from libstdcxx_so_7-branch:
111 2005-20-05 Chris Jefferson <chris@bubblescope.net>
113 * testsuite/25_algorithms/heap.cc: Move to...
114 * testsuite/25_algorithms/heap/heap.cc: ...here.
115 * testsuite/25_algorithms/partition.cc: Move to...
116 * testsuite/25_algorithms/partition/partition.cc: ...here.
118 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
120 * testsuite/25_algorithms/includes/1.cc: Add tests.
121 * testsuite/25_algorithms/search/1.cc: Likewise.
122 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
123 * testsuite/25_algorithms/swap_ranges/1.cc: New.
124 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
125 * testsuite/25_algorithms/rotate.cc: Move to...
126 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
127 * testsuite/25_algorithms/rotate/1.cc: New.
128 * testsuite/25_algorithms/rotate/check_type.cc: New.
129 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
131 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
133 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
134 Don't assume that __new_value and *__first are convertible to
137 * testsuite/25_algorithms/find/1.cc: New.
138 * testsuite/25_algorithms/find/check_type.cc: New.
139 * testsuite/25_algorithms/find_if/1.cc: New.
140 * testsuite/25_algorithms/find_if/check_type.cc: New.
141 * testsuite/25_algorithms/replace/1.cc: New.
142 * testsuite/25_algorithms/replace/check_type.cc: New.
143 * testsuite/25_algorithms/replace_if/1.cc: New.
144 * testsuite/25_algorithms/replace_if/check_type.cc: New.
145 * testsuite/25_algorithms/replace_copy/1.cc: New.
146 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
147 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
148 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
149 * testsuite/25_algorithms/remove/1.cc: New.
150 * testsuite/25_algorithms/remove/check_type.cc: New.
151 * testsuite/25_algorithms/remove_if/1.cc: New.
152 * testsuite/25_algorithms/remove_if/check_type.cc: New.
153 * testsuite/25_algorithms/count/1.cc: New.
154 * testsuite/25_algorithms/count/check_type.cc: New.
155 * testsuite/25_algorithms/count_if/1.cc: New.
156 * testsuite/25_algorithms/count_if/check_type.cc: New.
158 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
159 Paolo Carlini <pcarlini@suse.de>
161 * testsuite/ext/is_heap/check_type.cc: New.
163 2005-02-27 Paolo Carlini <pcarlini@suse.de>
165 * testsuite/ext/is_heap/1.cc: New.
167 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
169 * testsuite/ext/median.cc: New.
170 * testsuite/25_algorithms/adjacent_find/1.cc: New.
171 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
172 * testsuite/25_algorithms/search/1.cc: New.
173 * testsuite/25_algorithms/search/check_type.cc: New.
174 * testsuite/25_algorithms/unique_copy/1.cc: New.
175 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
176 * testsuite/25_algorithms/partial_sort/1.cc: New.
177 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
178 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
179 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
180 * testsuite/25_algorithms/lower_bound/1.cc: New.
181 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
182 * testsuite/25_algorithms/upper_bound/1.cc: New.
183 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
184 * testsuite/25_algorithms/merge/1.cc: New.
185 * testsuite/25_algorithms/merge/check_type.cc: New.
186 * testsuite/25_algorithms/inplace_merge/1.cc: New.
187 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
188 * testsuite/25_algorithms/stable_sort/1.cc: New.
189 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
190 * testsuite/25_algorithms/nth_element/1.cc: New.
191 * testsuite/25_algorithms/nth_element/check_type.cc: New.
192 * testsuite/25_algorithms/equal_range/1.cc: New.
193 * testsuite/25_algorithms/equal_range/check_type.cc: New.
194 * testsuite/25_algorithms/binary_search/1.cc: New.
195 * testsuite/25_algorithms/binary_search/check_type.cc: New.
196 * testsuite/25_algorithms/includes/1.cc: New.
197 * testsuite/25_algorithms/includes/check_type.cc: New.
198 * testsuite/25_algorithms/set_union/1.cc: New.
199 * testsuite/25_algorithms/set_union/check_type.cc: New.
200 * testsuite/25_algorithms/set_intersection/1.cc: New.
201 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
202 * testsuite/25_algorithms/set_difference/1.cc: New.
203 * testsuite/25_algorithms/set_difference/check_type.cc: New.
204 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
205 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
206 * testsuite/25_algorithms/min_element/1.cc: New.
207 * testsuite/25_algorithms/min_element/check_type.cc: New.
208 * testsuite/25_algorithms/max_element/1.cc: New.
209 * testsuite/25_algorithms/max_element/check_type.cc: New.
210 * testsuite/25_algorithms/prev_permutation/1.cc: New.
211 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
212 * testsuite/25_algorithms/next_permutation/1.cc: New.
213 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
214 * testsuite/25_algorithms/find_first_of/1.cc: New.
215 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
216 * testsuite/25_algorithms/find_end/1.cc: New.
217 * testsuite/25_algorithms/find_end/check_type.cc: New.
218 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
219 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
222 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
224 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
225 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
226 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
227 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
228 * testsuite/25_algorithms/equal/check_type.cc: New.
229 * testsuite/25_algorithms/equal/1.cc: New.
231 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
233 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
234 __glibcxx_base_allocator.
235 * config/allocator/bitmap_allocator_base.h: Same.
236 * config/allocator/malloc_allocator_base.h: Same.
237 * config/allocator/mt_allocator_base.h: Same.
238 * config/allocator/new_allocator_base.h: Same.
239 * config/allocator/pool_allocator_base.h: Same.
241 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
243 * include/debug/string (class basic_string): Add missing
244 default template arguments; provide typedefs for char
246 (operator[]): Allow s[s.size()] in debug mode, but not
249 2005-05-24 Paolo Carlini <pcarlini@suse.de>
251 Port from libstdcxx_so_7-branch:
252 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
254 * include/bits/stl_algo.h (count): Correct concept checks.
255 (search_n) : Likewise.
256 * testsuite/25_algorithms/search_n/check_type.cc: New.
258 * testsuite/testsuite_iterators.h
259 (random_access_iterator_wrapper::operator+): Move out of
260 class to external function, and add symmetric version.
262 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
264 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
267 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
269 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
270 operator--): Fix typo.
271 (OutputContainer::OutputContainer): Correct zeroing array.
272 (WritableObject::operator==): Fix typo.
273 (WritableObject::operator=): make operator= templated
274 to allow differing types to be assigned.
275 (WritableObject::operator++): Fix checking if iterator is
276 written to multiple times.
277 (random_access_iterator_wrapper::operator+): Add const.
278 (random_access_iterator_wrapper::operator-): Likewise.
279 (random_access_iterator_wrapper::operator[]): Add dereference.
281 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
283 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
284 had to be defined for pedantic mode in 3.4 and 4.0.0.
286 2005-05-20 Jan Beulich <jbeulich@novell.com>
288 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
291 2005-05-20 Paolo Carlini <pcarlini@suse.de>
293 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
294 Don't qualify __tmp as const, _ValueType is not necessarily
296 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
297 Likewise, as an harmless extension.
299 2005-05-19 Richard Henderson <rth@redhat.com>
301 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
303 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
305 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
306 debug mode, but not pedantic mode.
308 2005-05-19 Jan Beulich <jbeulich@novell.com>
310 * libsupc++/unwind-cxx.h: Include cstdlib.
311 (gcc_unreachable): #define.
312 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
314 2005-05-18 Paolo Carlini <pcarlini@suse.de>
315 Nathan Myers <ncm@cantrip.org>
318 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
319 size_type instead of char and rename to _Raw_alloc.
320 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
322 * src/bitmap_allocator.cc: Add instantiation for size_type.
323 * src/mt_allocator.cc: Likewise.
324 * src/pool_allocator.cc: Likewise.
325 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
326 the existence of an _Array::begin() and size() members.
327 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
328 of size_type, instead of char, thus avoiding problems with
329 rebinds, not treated correctly by array_allocator.
331 2005-05-18 Paolo Carlini <pcarlini@suse.de>
333 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
334 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
335 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
336 missing dg-require-namedlocale.
337 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
339 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
341 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
344 2005-05-18 Paolo Carlini <pcarlini@suse.de>
346 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
347 * testsuite/testsuite_hooks.h: Remove try_named_locale.
348 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
349 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
351 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
352 dg-require-namedlocale.
353 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
355 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
356 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
357 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
358 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
360 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
362 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
363 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
364 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
365 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
366 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
367 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
368 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
370 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
371 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
372 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
373 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
374 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
375 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
376 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
377 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
378 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
379 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
380 * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
381 * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
382 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
383 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
384 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
385 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
386 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
387 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
389 * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
390 * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
392 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
393 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
394 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
395 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
397 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
399 * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
400 * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
401 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
402 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
403 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
404 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
405 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
406 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
407 * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
408 * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
409 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
410 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
411 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
412 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
413 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
415 * testsuite/22_locale/collate/compare/char/1.cc: Likewise.
416 * testsuite/22_locale/collate/compare/char/2.cc: Likewise.
417 * testsuite/22_locale/collate/compare/char/3.cc: Likewise.
418 * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
419 * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
420 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
421 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
422 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
423 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
424 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
426 * testsuite/22_locale/collate/hash/char/2.cc: Likewise.
427 * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
428 * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
429 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
430 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
431 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
432 * testsuite/22_locale/collate/transform/char/2.cc: Likewise.
433 * testsuite/22_locale/collate/transform/char/3.cc: Likewise.
434 * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
435 * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
437 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
438 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
439 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
441 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
443 * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
444 * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
445 * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
446 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
447 * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
448 * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
449 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
450 * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
451 * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
452 * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
453 * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
454 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
455 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
456 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
457 * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
458 * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
459 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
460 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
461 * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
462 * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
463 * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
464 * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
465 * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
466 * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
467 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
468 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
469 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
470 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
471 * testsuite/22_locale/facet/2.cc: Likewise.
472 * testsuite/22_locale/locale/cons/12352.cc: Likewise.
473 * testsuite/22_locale/locale/cons/12438.cc: Likewise.
474 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
475 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
476 * testsuite/22_locale/locale/cons/2.cc: Likewise.
477 * testsuite/22_locale/locale/cons/4.cc: Likewise.
478 * testsuite/22_locale/locale/cons/5.cc: Likewise.
479 * testsuite/22_locale/locale/cons/7.cc: Likewise.
480 * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
481 * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
482 * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
483 * testsuite/22_locale/messages/members/char/1.cc: Likewise.
484 * testsuite/22_locale/messages/members/char/2.cc: Likewise.
485 * testsuite/22_locale/messages/members/char/3.cc: Likewise.
486 * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
487 * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
488 * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
489 * testsuite/22_locale/money_get/get/char/1.cc: Likewise.
490 * testsuite/22_locale/money_get/get/char/10.cc: Likewise.
491 * testsuite/22_locale/money_get/get/char/11.cc: Likewise.
492 * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
493 * testsuite/22_locale/money_get/get/char/12.cc: Likewise.
494 * testsuite/22_locale/money_get/get/char/13.cc: Likewise.
495 * testsuite/22_locale/money_get/get/char/15.cc: Likewise.
496 * testsuite/22_locale/money_get/get/char/16.cc: Likewise.
497 * testsuite/22_locale/money_get/get/char/17.cc: Likewise.
498 * testsuite/22_locale/money_get/get/char/18.cc: Likewise.
499 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
500 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
501 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
502 * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
503 * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
504 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
505 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
506 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
507 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
508 * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
509 * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
510 * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
511 * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
512 * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
513 * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
514 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
515 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
516 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
517 * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
518 * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
519 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
520 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
521 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
522 * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
523 * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
524 * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
525 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
526 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
527 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
528 * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
529 * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
530 * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
531 * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
532 * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
534 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
535 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
537 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
539 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
540 * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
541 * testsuite/22_locale/num_get/get/char/3.cc: Likewise.
542 * testsuite/22_locale/num_get/get/char/5.cc: Likewise.
543 * testsuite/22_locale/num_get/get/char/6.cc: Likewise.
544 * testsuite/22_locale/num_get/get/char/9.cc: Likewise.
545 * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
546 * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
547 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
548 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
549 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
550 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
551 * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
552 * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
553 * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
554 * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
555 * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
556 * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
557 * testsuite/22_locale/num_put/put/char/3.cc: Likewise.
558 * testsuite/22_locale/num_put/put/char/5.cc: Likewise.
559 * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
560 * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
561 * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
562 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
563 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
564 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
565 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
566 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
567 * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
568 * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
569 * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
570 * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
571 * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
572 * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
573 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
574 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
575 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
577 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
578 * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
579 * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
581 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
583 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
585 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
586 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
587 * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
588 * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
590 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
591 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
592 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
593 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
595 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
597 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
598 * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
600 * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
602 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
603 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
605 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
607 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
608 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
609 * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
610 * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
612 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
613 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
614 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
616 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
618 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
619 * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
621 * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
623 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
624 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
626 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
628 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
629 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
630 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
631 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
632 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
633 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
634 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
635 * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
636 * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
637 * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
638 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
639 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
640 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
641 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
642 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
643 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
644 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
645 * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
646 * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
647 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
648 * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
649 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
650 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
651 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
652 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
653 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
654 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
655 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
656 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
657 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
658 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
659 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
660 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
661 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
662 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
663 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
664 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
665 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
666 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
667 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
668 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
669 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
670 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
671 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
672 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
673 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
674 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
675 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
676 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
677 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
678 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
679 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
680 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
681 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
683 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
685 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
686 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
687 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
688 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
689 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
690 * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
691 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
692 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
693 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
694 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
695 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
696 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
697 * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
698 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
700 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
702 * libsupc++/eh_personality.cc (gcc_unreachable): Define.
704 2005-05-16 Paolo Carlini <pcarlini@suse.de>
706 * docs/html/install.html: Update list of required named
707 locales, add "es_ES".
709 2005-05-13 Magnus Fromreide <magfr@lysator.liu.se>
711 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
712 initialization instead of copying as the string is used only once.
713 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
714 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
715 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
717 2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
719 * scripts/create_testsuite_files: Fix.
721 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
723 * testsuite/18_support/numeric_limits.cc (dg-options): Add
724 -mieee to options on sh*-*-*.
726 2005-05-10 Jonathan Wakely <redi@gcc.gnu.org>
728 * include/debug/debug.h: Fix typo in macro name.
730 2005-05-09 Paolo Carlini <pcarlini@suse.de>
731 Giovanni Bajo <giovannibajo@gcc.gnu.org>
734 * include/bits/deque.tcc: Fully qualify names from namespace std.
735 * include/bits/stl_bvector.h: Likewise.
736 * include/bits/stl_deque.h: Likewise.
737 * include/bits/stl_list.h: Likewise.
738 * include/bits/stl_map.h: Likewise.
739 * include/bits/stl_multimap.h: Likewise.
740 * include/bits/stl_multiset.h: Likewise.
741 * include/bits/stl_set.h: Likewise.
742 * include/bits/stl_vector.h: Likewise.
743 * include/bits/vector.tcc: Likewise.
744 * include/std/std_bitset.h: Likewise.
745 * testsuite/23_containers/bitset/18604.cc: New.
746 * testsuite/23_containers/deque/18604.cc: Likewise.
747 * testsuite/23_containers/list/18604.cc: Likewise.
748 * testsuite/23_containers/map/18604.cc: Likewise.
749 * testsuite/23_containers/set/18604.cc: Likewise.
750 * testsuite/23_containers/vector/18604.cc: Likewise.
752 2005-05-09 Mike Stump <mrs@apple.com>
754 * configure: Regenerate.
756 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
758 DR 434. bitset::to_string() hard to use [Ready]
759 * include/debug/bitset (to_string): Add three overloads, taking
760 fewer template arguments.
762 2005-05-06 Mark Mitchell <mark@codesourcery.com>
764 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
765 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
766 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
767 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
769 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
770 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
771 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
772 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
774 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
776 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
777 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
779 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
780 * testsuite/27_io/objects/char/7.cc: Likewise.
781 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
782 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
783 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
785 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
787 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
788 * testsuite/Makefile.am: Same.
789 * scripts/create_testsuite_files: Same.
790 * Makefile.in: Regenerate.
792 * include/Makefile.in: Same.
793 * libmath/Makefile.in: Same.
794 * libsupc++/Makefile.in: Same.
795 * po/Makefile.in: Same.
796 * src/Makefile.in: Same.
798 2005-05-04 Mark Mitchell <mark@codesourcery.com>
800 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
801 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
802 whether or not thread support is available.
804 * docs/html/test.html: Explain how to run the testsuite on an
807 2005-05-01 Paolo Carlini <pcarlini@suse.de>
809 * config/os/aix/os_defines.h: Remove obsolete __off_t,
810 __off64_t, __ssize_t defines.
811 * config/os/djgpp/os_defines.h: Likewise.
812 * config/os/hpux/os_defines.h: Likewise.
813 * config/os/irix/irix5.2/os_defines.h: Likewise.
814 * config/os/irix/irix6.5/os_defines.h: Likewise.
815 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
816 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
817 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
818 * docs/html/17_intro/porting.html: Don't discuss the defines.
819 * docs/html/17_intro/porting.texi: Likewise.
821 2005-04-29 Paolo Carlini <pcarlini@suse.de>
822 Nathan Myers <ncm@cantrip.org>
825 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
826 Loop on short reads; remove the work-around for
827 libstdc++/20806, not needed anymore.
829 2005-04-29 Paolo Carlini <pcarlini@suse.de>
832 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
833 num_get::_M_extract_int, num_get::do_get(bool&),
834 num_put::_M_insert_int, num_put::_M_insert_float,
835 num_put::do_put(bool), money_get::_M_extract,
836 money_put::_M_insert): Adjust the __cache_type typedef not to
837 forward to a numpunct/moneypunct typedef.
838 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
839 and moneypunct specializations.
840 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
841 and moneypunct<pod_uint>::id.
842 * testsuite/22_locale/num_get/3.cc: New.
843 * testsuite/22_locale/num_put/3.cc: Likewise.
844 * testsuite/22_locale/money_get/3.cc: Likewise.
845 * testsuite/22_locale/money_put/3.cc: Likewise.
847 * include/bits/locale_facets.tcc (money_put::_M_insert,
848 time_get::_M_extract_name): Prefer operator== to operator!=
851 2005-04-29 Paolo Carlini <pcarlini@suse.de>
853 * include/tr1/type_traits (is_convertible): Adjust according
854 to the resolution of TR1 issue 3.20.
855 * testsuite/tr1/4_metaprogramming/relationships_between_types/
856 is_convertible/is_convertible.cc: Add tests.
858 2005-04-28 Paolo Carlini <pcarlini@suse.de>
859 Gabriel Dos Reis <gdr@integrable-solutions.net>
861 PR libstdc++/21244 (cont)
862 * include/bits/cpp_type_traits.h (struct __traitor): Convert
864 * include/bits/stl_algo.h: Convert _S_threshold to int.
865 * include/bits/stl_bvector.h: Revert previous change, convert
867 * include/debug/formatter.h: Convert __max_parameters to
869 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
870 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
872 * include/ext/rope: Likewise for _S_alloc_granularity; convert
873 _S_max_rope_depth to int.
874 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
875 _S_max_rope_depth to int; _S_copy_max to size_t.
877 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
879 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
880 * docs/doxygen/doxygroups.cc: Update namespace comments.
882 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
883 Paolo Carlini <pcarlini@suse.de>
886 * include/bits/stl_bvector.h: Change the anonymous enum
887 at namespace scope to _S_word_bit_enum.
888 * testsuite/23_containers/vector/bool/21244.cc: New.
890 2005-04-27 Paolo Carlini <pcarlini@suse.de>
892 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
893 has_nothrow_copy, has_nothrow_assign): Adjust according to the
894 resolution of TR1 issue 3.21.
895 * testsuite/testsuite_tr1.h (test_copy_property,
896 test_assign_property): Remove.
897 * testsuite/tr1/4_metaprogramming/type_properties/
898 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
899 * testsuite/tr1/4_metaprogramming/type_properties/
900 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
901 * testsuite/tr1/4_metaprogramming/type_properties/
902 has_trivial_assign/has_trivial_assign.cc: Likewise.
903 * testsuite/tr1/4_metaprogramming/type_properties/
904 has_trivial_copy/has_trivial_copy.cc: Likewise.
906 2005-04-26 Jones Desougi <jones@ingate.com>
909 * linkage.m4: Fix comments.
911 2005-04-26 Paolo Carlini <pcarlini@suse.de>
914 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
915 integer overflow, always use a suited unsigned type in the main
917 (struct __to_unsigned_type): New.
918 * testsuite/22_locale/num_get/get/char/16.cc: New.
919 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
921 2005-04-25 Paolo Carlini <pcarlini@suse.de>
924 * include/bits/basic_string.h (compare): Adjust the documentation
925 to match the implementation and the standard.
927 2005-04-24 Paolo Carlini <pcarlini@suse.de>
929 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
931 2005-04-20 Mark Mitchell <mark@codesourcery.com>
933 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
934 explicit instantiations for systems without weak symbols.
935 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
938 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
940 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
942 2005-04-17 Paolo Carlini <pcarlini@suse.de>
945 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
946 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
947 base or sign here, instead...
948 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
949 after adding the grouping. This fixes the bug and also allows to
950 clean-up the code dealing with integer types.
951 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
952 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
953 (__int_to_char(_CharT*, unsigned long, const _CharT*,
954 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
955 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
957 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
958 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
959 Simplify, don't pass the sign.
960 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
961 Deal with a sign at the beginning of __cs; robustify the grouping
963 * testsuite/22_locale/num_put/put/char/20914.cc: New.
964 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
966 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
968 * include/ext/bitmap_allocator.h
969 (__gnu_cxx::free_list::_M_get_mutex): New.
970 (__gnu_cxx::free_list::_M_get_free_list): New.
971 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
972 (__gnu_cxx::free_list::_S_free_list): Remove.
973 * src/bitmap_allocator.cc: Same.
974 * config/linker-map.gnu: Remove free_list and mutex export.
976 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
978 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
979 (character::to): New.
980 (character::from): New.
981 (operator==): Add state parameter.
983 (char_traits::copy): Use std::copy.
984 (char_traits::assign): Use std::fill_n.
985 (char_traits::to_char_type): Use character::from.
986 (char_traits::to_int_type): Use character::to.
987 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
988 (__gnu_test::conversion_state): Remove.
989 (__gnu_test::pod_char): Remove.
990 (pod_char): New typedef.
991 (pod_uchar): New typedef.
992 (pod_ushort): New typedef.
993 * testsuite/testsuite_character.cc: Fixups.
994 * testsuite/21_strings/basic_string/inserters_extractors/pod/
996 * testsuite/21_strings/basic_string/inserters_extractors/pod/
998 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
999 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
1000 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
1001 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
1002 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
1003 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
1004 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
1005 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
1006 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
1007 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
1008 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
1009 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
1010 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
1012 * testsuite/27_io/basic_istream/extractors_character/pod/
1014 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
1015 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
1016 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
1018 2005-04-12 Mike Stump <mrs@apple.com>
1020 * configure: Regenerate.
1022 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
1024 * testsuite/Makefile.am: Remove libv3test.a.
1025 * testsuite/Makefile.in: Regenerate.
1026 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
1028 2005-04-08 Paolo Carlini <pcarlini@suse.de>
1031 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
1032 Don't even try to group numbers like 2e20, i.e., no decimal
1033 point, scientific notation.
1034 * testsuite/22_locale/num_put/put/char/20909.cc: New.
1035 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
1037 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
1039 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
1040 * acconfig.h: Delete file.
1041 * Makefile.in, acinclude.m4, configure: Regenerate.
1043 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
1045 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
1046 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
1047 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
1048 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
1049 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
1050 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
1051 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
1052 * acconfig.h: Delete redundant macros.
1053 * config.h.in, configure: Regenerate.
1055 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
1057 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
1058 a subshell and if test fails, test for same functions with
1060 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
1061 * configure: Regenerate.
1063 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
1064 Paolo Carlini <pcarlini@suse.de>
1067 * config/os/mingw32/os_defines.h: Define
1068 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
1069 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
1070 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
1072 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
1074 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
1076 * acconfig.h: Sort the bottom section.
1077 * config.h.in: Regenerate.
1079 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
1081 * acconfig.h: Remove redundant HAVE_FLOAT_H.
1082 * config.h.in: Regenerate.
1084 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
1086 * configure.ac: Create template for PACKAGE and VERSION.
1087 Update comment on how to regenerate file. Update minimum
1088 automake version to 1.9.3.
1089 * acconfig.h: Remove PACKAGE and VERSION.
1090 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
1091 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
1092 testsuite/Makefile.in, config.h.in: Regenerate.
1094 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
1096 * docs/html/test.html: Update.
1097 * testsuite/printnow.c: Remove.
1098 * scripts/check_survey.in: Remove.
1100 * testsuite/abi_check.cc: To...
1101 * testuite/testsuite_abi_check.cc: ...here.
1102 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
1103 testsuite_abi_check.cc.
1105 * testsuite/testsuite_hooks.h: Move character related bits to...
1106 * testsuite/testsuite_character.h: ...here.
1107 * testsuite/testsuite_character.cc: ... and here.
1108 * testsuite/21_strings/basic_string/inserters_extractors/pod/
1109 10081-in.cc: Use testsuite_character.h.
1110 * testsuite/21_strings/basic_string/inserters_extractors/pod/
1112 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
1113 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
1114 * testsuite/27_io/basic_filebuf/2.cc: Same.
1115 * testsuite/27_io/basic_fstream/2.cc: Same.
1116 * testsuite/27_io/basic_istream/2.cc: Same.
1117 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
1119 * testsuite/27_io/basic_istream/extractors_character/char/
1121 * testsuite/27_io/basic_istream/extractors_character/pod/
1123 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
1124 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
1125 * testsuite/27_io/basic_ostream/2.cc: Same.
1126 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
1127 * testsuite/27_io/basic_streambuf/2.cc: Same.
1128 * testsuite/27_io/basic_stringbuf/2.cc: Same.
1129 * testsuite/27_io/basic_stringbuf/4.cc: Same.
1130 * testsuite/27_io/basic_stringstream/2.cc: Same.
1131 * testsuite/27_io/fpos/1.cc: Same.
1132 * testsuite/ext/mt_allocator/tune-1.cc: Same.
1133 * testsuite/ext/mt_allocator/tune-2.cc: Same.
1134 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
1135 * testsuite/lib/libstdc++.exp (v3-build_support): Add
1136 testsuite_character.cc.
1137 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
1138 testsuite_character.cc.
1139 * testsuite/Makefile.in: Regenerate.
1141 * configure.ac: Remove use of check_survey.
1142 * configure: Regenerate.
1143 * testsuite/Makefile.am: Remove check-script and
1144 check-script-install rules.
1145 * testsuite/Makefile.in: Regenerate.
1147 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
1149 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
1150 clobber to inline assembly statement.
1152 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
1154 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
1155 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
1156 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
1157 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
1158 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
1159 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
1160 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
1161 * acconfig.h: ... to eliminate them from here.
1162 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
1163 * config.h.in, configure: Regenerate.
1165 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
1167 * Makefile.am (ACLOCAL_AMFLAGS): Define.
1168 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
1169 * configure.ac: Use it.
1170 * acinclude.m4: Delete explicit m4_includes and sincludes.
1171 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
1172 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
1173 testsuite/Makefile.in: Regenerate.
1175 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
1177 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
1178 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
1179 to destroy resources by testing for equality, not inequality. Add
1180 empty critical sections to solve memory visibility issues.
1181 * testsuite/tr1/2_general_utilities/memory/
1182 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
1183 explicitly listing line numbers which need to be kept in sync.
1184 * testsuite/tr1/2_general_utilities/memory/
1185 shared_ptr/assign/auto_ptr_neg.cc: Same.
1186 * testsuite/tr1/2_general_utilities/memory/
1187 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
1188 * testsuite/tr1/2_general_utilities/memory/
1189 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
1191 * testsuite/tr1/2_general_utilities/memory/
1192 enable_shared_from_this/not_shared.cc: Add explanatory comments.
1193 * testsuite/tr1/2_general_utilities/memory/
1194 enable_shared_from_this/not_shared2.cc: Same.
1195 * testsuite/tr1/2_general_utilities/memory/
1196 enable_shared_from_this/not_shared3.cc: Same.
1198 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
1200 * acconfig.h: Delete macros already AC_DEFINED.
1201 * config.h.in: Regenerate.
1203 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
1205 * acconfig.h (HAVE_MODF): Remove.
1206 * linkage.m4: Check for modf.
1207 * config.h.in, configure: Regenerate.
1209 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
1211 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
1212 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
1213 * config.h.in: Regenerate.
1215 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
1217 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
1218 to convert to uppercase instead of shelling out to tr.
1219 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
1220 * configure, config.h.in: Regenerate.
1222 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
1224 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
1225 * config.h.in: Regenerate.
1227 2005-04-04 Mark Mitchell <mark@codesourcery.com>
1229 * testsuite/Makefile.am (check-local): Remove.
1230 (curent_symbols.txt): Likewise.
1231 (check-abi): Do not depend on current_symbols.txt.
1232 * testsuite/Makefile.in: Regenerated.
1233 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
1235 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
1237 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
1238 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
1239 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
1241 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
1244 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
1246 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
1247 member pointers in _Mem_fn but let other function objects pass
1249 * include/tr1/functional_iterator (bind): Reduce number of bind()
1250 overloads to two to eliminate ambiguities. Use
1251 _Maybe_wrap_member_pointer to handle member pointers gracefully.
1253 2005-04-01 Mark Mitchell <mark@codesourcery.com>
1255 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
1256 (site.exp): Write out the path to the baseline file.
1257 (check-abi): Use DejaGNU.
1258 (check-abi-verbose): Remove.
1259 * testsuite/Makefile.in: Regenerated.
1260 * testsuite/abi_check.cc (main): Check the return value from
1262 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
1263 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
1264 * testsuite/libstdc++-abi/abi.exp: New file.
1266 2005-03-31 Chris Jefferson <chris@bubblescope.net>
1268 * include/tr1/tuple: Support iteration via tuple_iterate.h.
1269 * include/tr1/tuple_iterate.h: Iteration file for tuple.
1271 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
1273 * include/Makefile.am (tr1_headers): Add bind and mu repetition
1274 headers and reference_wrapper<> forwarding header.
1275 * include/Makefile.in: Regenerate.
1276 * include/tr1/bind_iterate.h: Implementation of function call
1277 operators for the function object returned from tr1::bind().
1278 * include/tr1/bind_repeat.h: Bind-specific repetition header,
1279 akin to include/tr1/repeat.h.
1280 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
1281 template for use with result_of.
1282 (is_bind_expression): New.
1283 (is_placeholder): New.
1284 (_Placeholder): New. Placeholder type for bind.
1285 (_Mu): New. Implementation detail of bind.
1286 (_Bind, _Bind_result): New. Function objects returned by bind.
1287 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
1288 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
1289 New. Implementation of tr1::bind.
1290 * include/tr1/mu_iterate.h (_Mu): result template and operator()
1291 for the _Mu helper to bind.
1292 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
1293 used by tuple header.
1296 * include/tr1/repeat.h: Add bind-specific repetition macros.
1297 * include/tr1/tuple: Use reference_wrapper forwarding header for
1298 initial definitions, then include <tr1/functional> at the end, to
1299 make the circular dependencies work.
1300 (tie): Support zero-argument tie() function.
1301 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
1302 bind() functionality with parameters bound.
1303 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
1304 nested bind() expressions.
1305 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
1306 of bind() placeholders.
1307 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
1308 with arguments bound via reference_wrapper<>.
1309 * scripts/gen_includers.pl: Generate the repetitive part of
1310 include/tr1/repeat.h.
1311 * scripts/gen_bind_includers.pl: Generate the repetitive part of
1312 include/tr1/bind_repeat.h.
1314 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1316 * testsuite/Makefile.am (CXX): Use ${SHELL}.
1317 (GLIBCXX_INCLUDES): Same.
1318 (AM_CXXFLAGS): Same.
1319 * testsuite/Makefile.in: Regenerate.
1321 2005-03-25 Mark Mitchell <mark@codesourcery.com>
1323 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
1324 when testing an installed compiler.
1326 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
1327 compiling support objects.
1329 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
1331 * include/tr1/memory: Forward to...
1332 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
1333 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
1334 * include/Makefile.in: Regenerate.
1335 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
1336 auto_ptr_neg.cc: Adjust line numbers.
1338 2005-03-23 Mark Mitchell <mark@codesourcery.com>
1340 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
1341 * testsuite/Makefile.in: Regenerated.
1343 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
1345 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
1346 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
1347 _GLIBCXX_USE_C99_WCHAR.
1348 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
1349 and GLIBCXX_ENABLE_WCHAR_T.
1350 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
1352 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
1353 GLIBCXX_CHECK_ICONV_SUPPORT.
1354 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
1355 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
1356 * crossconfig.m4: Same.
1357 * acconfig.h: Same, adjust comments.
1358 * config.h.in: Regenerate.
1359 * configure: Regenerate.
1360 * docs/html/configopts.html: Change --enable-c-mbchar to
1363 * config/locale/gnu/c++locale_internal.h: Guard wide functions
1364 with _GLIBCXX_USE_WCHAR_T.
1365 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
1366 * include/c_std/std_cstdio.h: Spacing.
1368 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
1369 * src/debug.cc: Same.
1371 2005-03-23 Mark Mitchell <mark@codesourcery.com>
1373 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
1376 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
1377 (v3-wchar_t): ... this.
1378 (libstdc++_threads): Rename to ...
1379 (v3-threads): ... this.
1380 (libstdc++_test_objs): Rename to ...
1381 (v3-test_objs): ... this.
1382 (libstdc++_build_support): Rename to ...
1383 (v3-build_support): ... this.
1384 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
1386 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
1387 of compilers not in the build directory.
1388 (libstdc++_wchar_t): New variable.
1389 (libstdc++_threads): Likewise.
1390 (libstdc++_test_objs): Likewise.
1391 (v3_target_compile): Use libstdc++_test_objs.
1392 (v3-list-tests): Remove.
1393 (listdc++_build_support): New function.
1394 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
1395 generate list of tests.
1397 2005-03-21 Chris Jefferson <chris@bubblescope.net>
1400 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
1401 to swap when the iterator's reference_type is a reference to its
1403 * testsuite/25_algorithms/iter_swap/20577.cc: New.
1405 2005-03-21 Zack Weinberg <zack@codesourcery.com>
1407 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
1408 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
1409 is expanded by the Makefiles, not by configure.
1410 * fragment.am: Set gcc_version.
1411 * libmath/Makefile.am: Likewise.
1412 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
1413 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
1414 * testsuite/Makefile.in: Regenerate.
1416 2005-03-16 Paolo Carlini <pcarlini@suse.de>
1418 * testsuite/20_util/functional/binders.cc: Remove explicit
1419 instantiations for non-weak systems.
1420 * testsuite/20_util/memory/allocator/1.cc: Likewise.
1421 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
1422 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
1423 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
1424 * testsuite/20_util/utility/rel_ops.cc: Likewise.
1425 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
1426 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1427 * testsuite/23_containers/deque/cons/1.cc: Likewise.
1428 * testsuite/23_containers/deque/cons/2.cc: Likewise.
1429 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
1430 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
1431 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
1432 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
1433 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
1434 * testsuite/23_containers/deque/operators/1.cc: Likewise.
1435 * testsuite/23_containers/list/capacity/1.cc: Likewise.
1436 * testsuite/23_containers/list/cons/1.cc: Likewise.
1437 * testsuite/23_containers/list/cons/2.cc: Likewise.
1438 * testsuite/23_containers/list/cons/3.cc: Likewise.
1439 * testsuite/23_containers/list/cons/4.cc: Likewise.
1440 * testsuite/23_containers/list/cons/5.cc: Likewise.
1441 * testsuite/23_containers/list/cons/6.cc: Likewise.
1442 * testsuite/23_containers/list/cons/7.cc: Likewise.
1443 * testsuite/23_containers/list/cons/8.cc: Likewise.
1444 * testsuite/23_containers/list/cons/9.cc: Likewise.
1445 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
1446 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
1447 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
1448 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
1449 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
1450 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
1451 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
1452 * testsuite/23_containers/list/operators/1.cc: Likewise.
1453 * testsuite/23_containers/list/operators/2.cc: Likewise.
1454 * testsuite/23_containers/list/operators/3.cc: Likewise.
1455 * testsuite/23_containers/list/operators/4.cc: Likewise.
1456 * testsuite/23_containers/map/insert/1.cc: Likewise.
1457 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
1458 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
1459 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
1460 * testsuite/23_containers/map/operators/1.cc: Likewise.
1461 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
1462 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
1463 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
1464 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
1465 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
1466 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
1467 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
1468 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
1469 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
1470 * testsuite/23_containers/queue/members/7157.cc: Likewise.
1471 * testsuite/23_containers/set/insert/1.cc: Likewise.
1472 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
1473 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
1474 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
1475 * testsuite/23_containers/stack/members/7158.cc: Likewise.
1476 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
1477 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
1478 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
1479 * testsuite/23_containers/vector/cons/1.cc: Likewise.
1480 * testsuite/23_containers/vector/cons/2.cc: Likewise.
1481 * testsuite/23_containers/vector/cons/3.cc: Likewise.
1482 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
1483 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
1484 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
1485 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
1486 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
1487 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
1488 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
1489 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
1490 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
1491 * testsuite/23_containers/vector/resize/1.cc: Likewise.
1492 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
1493 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
1494 * testsuite/24_iterators/insert_iterator.cc: Likewise.
1495 * testsuite/24_iterators/iterator.cc: Likewise.
1496 * testsuite/25_algorithms/copy/1.cc: Likewise.
1497 * testsuite/25_algorithms/copy/2.cc: Likewise.
1498 * testsuite/25_algorithms/copy/3.cc: Likewise.
1499 * testsuite/25_algorithms/copy/4.cc: Likewise.
1500 * testsuite/25_algorithms/equal.cc: Likewise.
1501 * testsuite/25_algorithms/fill/1.cc: Likewise.
1502 * testsuite/25_algorithms/fill/2.cc: Likewise.
1503 * testsuite/25_algorithms/min_max.cc: Likewise.
1504 * testsuite/25_algorithms/rotate.cc: Likewise.
1505 * testsuite/25_algorithms/unique/1.cc: Likewise.
1506 * testsuite/25_algorithms/unique/2.cc: Likewise.
1507 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
1508 * testsuite/ext/concept_checks.cc: Likewise.
1509 * testsuite/ext/hash_map/1.cc: Likewise.
1510 * testsuite/ext/hash_set/1.cc: Likewise.
1511 * testsuite/ext/rope/1.cc: Likewise.
1512 * testsuite/ext/rope/2.cc: Likewise.
1513 * testsuite/ext/rope/3.cc: Likewise.
1514 * testsuite/thread/pthread1.cc: Likewise.
1515 * testsuite/thread/pthread4.cc: Likewise.
1516 * testsuite/thread/pthread5.cc: Likewise.
1517 * testsuite/thread/pthread6.cc: Likewise.
1518 * testsuite/thread/pthread7-rope.cc: Likewise.
1520 2005-03-15 Zack Weinberg <zack@codesourcery.com>
1522 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
1523 subdirectory. Generate #define of __GLIBCXX__ from contents of
1525 * include/Makefile.in: Regenerate.
1526 * include/bits/c++config: Do not define __GLIBCXX__.
1528 2005-03-15 Paolo Carlini <pcarlini@suse.de>
1531 * include/std/std_complex.h (pow(const complex<_Tp>&,
1532 const _Tp&)): On non-c99 platforms, don't try to compute
1533 log of complex zero.
1535 2005-03-10 Ben Elliston <bje@au.ibm.com>
1537 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
1540 2005-03-07 Paolo Carlini <pcarlini@suse.de>
1542 * include/tr1/type_traits (is_polymorphic): Don't forget
1543 the virtual destructor, thus avoiding warnings.
1544 * testsuite/testsuite_tr1.h (class AbstractClass,
1545 class PolymorphicClass): Likewise.
1547 2005-03-07 Paolo Carlini <pcarlini@suse.de>
1549 * include/std/std_complex.h (pow(const complex<_Tp>&,
1550 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
1551 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
1552 _GLIBCXX_USE_C99_COMPLEX.
1554 2005-03-07 Paolo Carlini <pcarlini@suse.de>
1556 * include/std/std_fstream.h (basic_fstream<>::open,
1557 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
1558 resolution of DR 409 [Ready], call clear() on success.
1559 * docs/html/ext/howto.html: Add an entry for DR 409.
1560 * docs/html/faq/index.html (4_4): Clarify the new behavior.
1561 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
1562 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
1564 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
1566 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
1567 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
1568 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
1569 testsuite/22_locale/collate/hash/wchar_t/2.cc,
1570 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
1571 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
1572 testsuite/22_locale/collate/transform/wchar_t/2.cc,
1573 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
1574 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1575 XFAIL on *-*-hpux11.23.
1577 2005-03-04 Paolo Carlini <pcarlini@suse.de>
1579 * include/tr1/type_traits: Add is_base_of.
1580 * testsuite/tr1/4_metaprogramming/relationships_between_types/
1581 is_base_of/is_base_of.cc: New.
1582 * testsuite/tr1/4_metaprogramming/relationships_between_types/
1583 is_base_of/typedefs.cc: Likewise.
1585 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
1587 * include/tr1/functional: Convert relative path.
1589 * docs/doxygen/user.cfg.in: Add tr1 includes.
1591 2005-03-03 Paolo Carlini <pcarlini@suse.de>
1593 * include/tr1/type_traits: Implemenet is_polymorphic.
1594 (is_empty): Minor tweaks.
1595 * testsuite/testsuite_tr1.h: Add test types.
1596 * testsuite/tr1/4_metaprogramming/type_properties/
1597 is_polymorphic/is_polymorphic.cc: New.
1598 * testsuite/tr1/4_metaprogramming/type_properties/
1599 is_polymorphic/typedefs.cc: Likewise.
1600 * testsuite/tr1/4_metaprogramming/composite_type_traits/
1601 is_union_or_class/is_union_or_class.cc: Add tests.
1603 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
1605 * include/tr1/functional (_Has_result_type): Cleanup.
1606 (_Result_of_impl): Handle member data pointers correctly.
1607 (reference_wrapper): Support invocation.
1608 Move repetition code into new file include/tr1/repeat.h.
1609 * include/tr1/functional_iterate.h (reference_wrapper): Support
1610 invocation. Cleanup long lines.
1611 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
1612 invocation operators.
1613 * include/tr1/repeat.h: Code repetition header.
1614 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
1615 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
1616 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
1617 New test of reference_wrapper invocation.
1618 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
1619 New test of reference_wrapper typedefs and base classes.
1620 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
1623 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
1625 * include/tr1/function (result_of): New class template.
1626 * include/tr1/functional/iterator.h: Implementation of TR1
1628 * testsuite/tr1/3_function_objects/result_of.cc: New test
1630 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
1632 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
1634 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
1636 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
1637 cons/auto_ptr_neg.cc: Correct line numbers.
1639 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
1641 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
1643 * include/tr1/memory: Replace checked_deleter with (unchecked)
1644 _Sp_deleter as GCC warns about delete on incomplete types anyway.
1646 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
1648 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
1650 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
1653 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
1654 'Q' constraint, not 'm'.
1656 2005-02-26 Earl Chew <earl_chew@agilent.com>
1657 Christopher Jefferson <chris@bubblescope.net>
1659 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
1660 memory if _M_key_compare throws.
1662 2005-02-25 Paolo Carlini <pcarlini@suse.de>
1664 * include/tr1/type_traits: Add the trivial is_union and is_class;
1665 add the __is_union_or_class extension.
1666 (is_enum, is_empty): Use the latter.
1667 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
1668 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
1670 * testsuite/tr1/4_metaprogramming/composite_type_traits/
1671 is_union_or_class/is_union_or_class.cc: New.
1672 * testsuite/tr1/4_metaprogramming/composite_type_traits/
1673 is_union_or_class/typedefs.cc: Likewise.
1675 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
1677 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
1678 wchar_t use with _GLIBCXX_USE_WCHAR_T.
1680 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
1682 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
1683 _GLIBCXX_USE_C99_COMPLEX.
1684 * acinclude.m4: Same.
1686 * configure: Regenerate.
1687 * config.h.in: Same.
1689 2005-02-24 Paolo Carlini <pcarlini@suse.de>
1691 * include/tr1/functional (mem_fn): Avoid _T, badname on
1694 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
1696 * include/tr1/functional (function): New class template.
1697 (mem_fn): New function template.
1698 Implementations of TR1 function and mem_fn facilities.
1699 * include/tr1/functional_iterate.h: Implementations of TR1
1700 function and mem_fn facilities.
1701 * testsuite/tr1/3_function_objects/function/1.cc: New
1702 test of std::tr1::function.
1703 * testsuite/tr1/3_function_objects/function/2.cc: New
1704 test of std::tr1::function.
1705 * testsuite/tr1/3_function_objects/function/3.cc: New
1706 test of std::tr1::function.
1707 * testsuite/tr1/3_function_objects/function/4.cc: New
1708 test of std::tr1::function.
1709 * testsuite/tr1/3_function_objects/function/5.cc: New
1710 test of std::tr1::function.
1711 * testsuite/tr1/3_function_objects/function/6.cc: New
1712 test of std::tr1::function.
1713 * testsuite/tr1/3_function_objects/function/7.cc: New
1714 test of std::tr1::function.
1715 * testsuite/tr1/3_function_objects/function/8.cc: New
1716 test of std::tr1::function.
1717 * testsuite/tr1/3_function_objects/function/9.cc: New
1718 test of std::tr1::function.
1719 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
1722 2005-02-23 Paolo Carlini <pcarlini@suse.de>
1724 * include/tr1/type_traits: Implement is_convertible.
1725 * testsuite/tr1/4_metaprogramming/relationships_between_types/
1726 is_convertible/is_convertible.cc: New.
1727 * testsuite/tr1/4_metaprogramming/relationships_between_types/
1728 is_convertible/typedefs.cc: Likewise.
1729 * testsuite/testsuite_tr1.h: Add class DerivedType.
1731 * include/tr1/type_traits (is_function): Don't mistake references
1732 to function types for function types.
1733 * testsuite/tr1/4_metaprogramming/primary_type_categories/
1734 is_function/is_function.cc: Add testcase.
1736 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
1738 * scripts/check_performance: Tweaks.
1740 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
1741 output file with extension that clean rules can find.
1743 2005-02-22 Richard Henderson <rth@redhat.com>
1746 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
1747 decrement of uncaughtExceptions for rethrow.
1749 2005-02-22 Paolo Carlini <pcarlini@suse.de>
1751 * include/tr1/functional: Fix License to GPL with exception.
1752 * include/tr1/hashtable: Likewise.
1753 * include/tr1/tuple: Likewise.
1754 * include/tr1/type_traits: Likewise.
1755 * include/tr1/type_traits_fwd.h: Likewise.
1756 * include/tr1/unordered_map: Likewise.
1757 * include/tr1/unordered_set: Likewise.
1758 * include/tr1/utility: Likewise.
1760 2005-02-22 Paolo Carlini <pcarlini@suse.de>
1762 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1763 auto_ptr_neg.cc: Add missing dg-do compile directive.
1764 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1765 auto_ptr_rvalue_neg.cc: Likewise.
1766 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1767 shared_ptr_neg.cc: Likewise.
1768 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
1769 auto_ptr_neg.cc: Likewise.
1770 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1771 reset_neg.cc: Likewise.
1772 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1773 swap_neg.cc: Likewise.
1775 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
1777 * include/Makefile.am, include/Makefile.in: Fix accidental extra
1778 change from previous commit.
1780 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
1782 * include/tr1/memory: New file.
1783 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
1784 * testsuite/tr1/2_general_utilities/memory/
1785 enable_shared_from_this/not_shared.cc: New test.
1786 * testsuite/tr1/2_general_utilities/memory/
1787 enable_shared_from_this/not_shared2.cc: New test.
1788 * testsuite/tr1/2_general_utilities/memory/
1789 enable_shared_from_this/not_shared3.cc: New test.
1790 * testsuite/tr1/2_general_utilities/memory/
1791 enable_shared_from_this/shared.cc: New test.
1792 * testsuite/tr1/2_general_utilities/memory/
1793 enable_shared_from_this/still_shared.cc: New test.
1794 * testsuite/tr1/2_general_utilities/memory/
1795 shared_ptr/assign/assign.cc: New test.
1796 * testsuite/tr1/2_general_utilities/memory/
1797 shared_ptr/assign/auto_ptr.cc: New test.
1798 * testsuite/tr1/2_general_utilities/memory/
1799 shared_ptr/assign/auto_ptr_neg.cc: New test.
1800 * testsuite/tr1/2_general_utilities/memory/
1801 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
1802 * testsuite/tr1/2_general_utilities/memory/
1803 shared_ptr/assign/shared_ptr.cc: New test.
1804 * testsuite/tr1/2_general_utilities/memory/
1805 shared_ptr/assign/shared_ptr_neg.cc: New test.
1806 * testsuite/tr1/2_general_utilities/memory/
1807 shared_ptr/comparison/cmp.cc: New test.
1808 * testsuite/tr1/2_general_utilities/memory/
1809 shared_ptr/cons/auto_ptr.cc: New test.
1810 * testsuite/tr1/2_general_utilities/memory/
1811 shared_ptr/cons/auto_ptr_neg.cc: New test.
1812 * testsuite/tr1/2_general_utilities/memory/
1813 shared_ptr/cons/copy.cc: New test.
1814 * testsuite/tr1/2_general_utilities/memory/
1815 shared_ptr/cons/default.cc: New test.
1816 * testsuite/tr1/2_general_utilities/memory/
1817 shared_ptr/cons/pointer.cc: New test.
1818 * testsuite/tr1/2_general_utilities/memory/
1819 shared_ptr/cons/weak_ptr.cc: New test.
1820 * testsuite/tr1/2_general_utilities/memory/
1821 shared_ptr/cons/weak_ptr_expired.cc: New test.
1822 * testsuite/tr1/2_general_utilities/memory/
1823 shared_ptr/dest/dest.cc: New test.
1824 * testsuite/tr1/2_general_utilities/memory/
1825 shared_ptr/misc/io.cc: New test.
1826 * testsuite/tr1/2_general_utilities/memory/
1827 shared_ptr/misc/swap.cc: New test.
1828 * testsuite/tr1/2_general_utilities/memory/
1829 shared_ptr/modifiers/reset.cc: New test.
1830 * testsuite/tr1/2_general_utilities/memory/
1831 shared_ptr/modifiers/reset_neg.cc: New test.
1832 * testsuite/tr1/2_general_utilities/memory/
1833 shared_ptr/modifiers/swap.cc: New test.
1834 * testsuite/tr1/2_general_utilities/memory/
1835 shared_ptr/modifiers/swap_neg.cc: New test.
1836 * testsuite/tr1/2_general_utilities/memory/
1837 shared_ptr/observers/bool_conv.cc: New test.
1838 * testsuite/tr1/2_general_utilities/memory/
1839 shared_ptr/observers/get.cc: New test.
1840 * testsuite/tr1/2_general_utilities/memory/
1841 shared_ptr/observers/unique.cc: New test.
1842 * testsuite/tr1/2_general_utilities/memory/
1843 shared_ptr/observers/use_count.cc: New test.
1845 2005-02-21 Paolo Carlini <pcarlini@suse.de>
1847 * include/tr1/type_traits (is_member_function_pointer):
1848 Remove ugly workaround for c++/19076.
1850 2005-02-21 Paolo Carlini <pcarlini@suse.de>
1852 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
1853 check for this == &_S_empty_rep, it's always false, here.
1855 2005-02-19 Matt Austern <austern@gmail.com>
1857 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
1858 hash<T>::operator() a const member function for T a fundamental type
1859 * include/tr1/hashtable (extract1st::operator()): Declare const.
1860 (hash_code_base): Declare all member functions const
1861 (hashtable::find): fix call to this->bucket_count()
1862 (hashtable::count): Likewise.
1863 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
1864 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
1865 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
1866 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
1867 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
1869 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
1872 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
1873 _GLIBCXX_USE_WCHAR_T.
1875 2005-02-18 Richard Henderson <rth@redhat.com>
1878 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
1879 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
1880 uncaughtExceptions here instead of ...
1881 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
1882 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
1883 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
1884 (__cxa_get_exception_ptr): New.
1885 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
1887 2005-02-18 Matt Austern <austern@apple.com>
1889 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
1890 test case to use assignment instead of ==
1891 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
1892 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
1893 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
1894 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
1896 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
1898 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
1899 on Solaris 2.6 and below.
1900 * testsuite/thread/pthread2.cc: Likewise.
1901 * testsuite/thread/pthread3.cc: Likewise.
1902 * testsuite/thread/pthread4.cc: Likewise.
1903 * testsuite/thread/pthread5.cc: Likewise.
1904 * testsuite/thread/pthread6.cc: Likewise.
1905 * testsuite/thread/pthread7-rope.cc: Likewise.
1907 2005-02-17 Matt Austern <austern@apple.com>
1909 * include/tr1/functional (hash): New function object.
1910 * include/tr1/hashtable: New file.
1911 * include/tr1/unordered_set: New file.
1912 * include/tr1/unordered_map: New file.
1913 * include/Makefile.am: Add three new TR1 headers.
1914 * include/Makefile.in: Likewise.
1915 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
1916 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
1917 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
1918 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
1919 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
1920 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
1921 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
1922 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
1923 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
1924 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
1926 2005-02-16 Paolo Carlini <pcarlini@suse.de>
1928 * testsuite/23_containers/set/modifiers/16728.cc:
1929 Remove redundant include <testsuite_performance.h>.
1931 2005-02-16 Paolo Carlini <pcarlini@suse.de>
1934 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
1935 at line #66 to not access str_lit01 beyond its end.
1936 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
1938 2005-02-15 Paolo Carlini <pcarlini@suse.de>
1939 Jon Grimm <jgrimm2@us.ibm.com>
1942 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
1943 Fix the logic setting _M_narrow_ok: first check whether the
1944 transformation is trivial with a dflt == 0, then deal with the
1945 special case of zero.
1946 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
1948 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
1949 Tweak consistently to use memcmp; minor formatting fixes.
1951 2005-02-15 Jakub Jelinek <jakub@redhat.com>
1954 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
1956 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
1958 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
1959 Paolo Carlini <pcarlini@suse.de>
1962 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
1963 for integer overloads.
1965 * testsuite/26_numerics/cmath/powi.cc: New.
1967 2005-02-11 Janis Johnson <janis187@us.ibm.com>
1969 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
1970 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
1971 * testsuite/26_numerics/complex/pow.cc: Ditto.
1973 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
1974 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
1975 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
1976 * testsuite/26_numerics/complex/pow.cc: Ditto.
1978 2005-02-09 Mike Stump <mrs@apple.com>
1980 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
1982 2005-02-09 Janis Johnson <janis187@us.ibm.com>
1984 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
1986 2005-02-08 Mark Mitchell <mark@codesourcery.com>
1988 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
1990 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
1992 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
1993 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
1996 2005-02-02 Brad Spencer <spencer@infointeractive.com>
1998 * debug.html: Fix broken tags.
1999 * documentation.html: Same.
2001 2005-02-02 Andreas Jaeger <aj@suse.de>
2003 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
2005 * testsuite/Makefile.am: Likewise.
2006 * testsuite/Makefile.in: Likewise.
2008 2005-02-01 Paolo Carlini <pcarlini@suse.de>
2010 * include/bits/cpp_type_traits.h: Rename _M_type fields to
2011 __value, except for __enable_if, _M_type -> __type, consistently
2012 with the other traits.
2013 * include/bits/stl_algobase.h: Tweak consistently.
2014 * include/bits/stl_tree.h: Likewise.
2015 * include/bits/valarray_array.h: Likewise.
2016 * include/c_std/std_cmath.h: Likewise.
2017 * include/debug/safe_iterator.h: Likewise.
2018 * include/std/std_complex.h: Likewise.
2020 2005-01-31 Brad Spencer <spencer@infointeractive.com>
2022 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
2023 * configure: Regenerated.
2025 2005-01-31 Mark Mitchell <mark@codesourcery.com>
2027 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
2029 (numeric_limits<double>::has_denorm): Likewise.
2030 (numeric_limits<long double>::has_denorm): Likewise.
2032 2005-01-31 Paolo Carlini <pcarlini@suse.de>
2033 Gabriel Dos Reis <gdr@integrable-solutions.net>
2035 * include/bits/cpp_type_traits.h: Add types to the structs thus
2036 making type_traits.h redundant; exploit new __truth_type and
2038 * include/bits/type_traits.h: Remove.
2039 * include/Makefile.am: Update.
2040 * include/Makefile.in: Regenerate.
2041 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
2042 * include/bits/basic_string.h (replace(iterator, iterator,
2043 _InputIterator, _InputIterator), _S_construct(_InIterator,
2044 _InIterator, const _Alloc&)): Use __is_integer instead.
2045 * include/bits/stl_bvector.h (vector(_InputIterator,
2046 _InputIterator, const allocator_type&), assign(_InputIterator,
2047 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
2049 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
2050 _ForwardIterator)): Use __is_scalar.
2051 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
2052 const allocator_type&), assign(_InputIterator, _InputIterator),
2053 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
2054 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
2055 insert(iterator, _InputIterator, _InputIterator)): Likewise.
2056 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
2057 _ForwardIterator)): Use __is_scalar.
2058 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
2059 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
2060 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
2061 _Size, const _Tp&)): Likewise.
2062 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
2063 const allocator_type&), assign(_InputIterator, _InputIterator),
2064 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
2065 * include/debug/debug.h (__valid_range(const _InputIterator&,
2066 const _InputIterator&)): Use __is_integer.
2067 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
2068 * include/std/std_string.h: Include cpp_type_traits.h instead.
2070 2005-01-30 Paolo Carlini <pcarlini@suse.de>
2073 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
2074 LC_NUMERIC, and only when actually != "C".
2076 2005-01-28 Paolo Carlini <pcarlini@suse.de>
2078 * include/tr1/type_traits (is_function): Minor consistency tweaks.
2080 2005-01-28 Geoffrey Keating <geoffk@apple.com>
2082 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
2083 for the compiler. Don't set cxxflags.
2084 (v3_target_compile): Search for libv3test.a relative to $objdir.
2085 (lsearch_all_inline): New.
2086 (lsearch_all_inline_not): New.
2087 (v3-list-tests): Rewrite to not need generated files.
2088 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
2089 (IGNORE_THREAD): New.
2090 (TESTS_TO_IGNORE): New.
2091 (site.exp): Set tests_to_ignore, cxxflags.
2092 * aclocal.m4: Regenerate.
2093 * Makefile.in: Regenerate.
2094 * libmath/Makefile.in: Likewise.
2095 * libsupc++/Makefile.in: Likewise.
2096 * po/Makefile.in: Likewise.
2097 * src/Makefile.in: Likewise.
2098 * testsuite/Makefile.in: Likewise.
2100 2005-01-28 Paolo Carlini <pcarlini@suse.de>
2102 * include/tr1/type_traits: Implement is_empty.
2103 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
2105 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
2106 typedefs.cc: Likewise.
2108 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
2110 2005-01-28 Paolo Carlini <pcarlini@suse.de>
2112 * include/tr1/type_traits: Implement is_abstract, by exploiting the
2113 resolution of DR core/337.
2114 * testsuite/testsuite_tr1.h: Add AbstractClass.
2115 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
2116 is_abstract.cc: New.
2117 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
2118 typedefs.cc: Likewise.
2120 * include/tr1/type_traits (is_function): Rewrite, use the conversion
2121 F& -> F* instead, thus avoiding problems with abstract classes.
2122 * testsuite/tr1/4_metaprogramming/primary_type_categories/
2123 is_function/is_function.cc: Add a test for tricky AbstractClass.
2125 2005-01-26 Paolo Carlini <pcarlini@suse.de>
2127 * include/ext/mt_allocator.h
2128 (struct __per_type_pool_policy<,, false>::_S_get_pool,
2129 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
2130 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
2131 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
2132 reduce to 64 the multiplier for _M_max_bytes (safer wrt
2133 _Binmap_type being a short); trivial reformattings.
2134 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
2136 2005-01-26 Paolo Carlini <pcarlini@suse.de>
2138 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
2139 to the final test for enable_c99, thus robustifying it; remove
2140 duplicate final test on ac_99_math.
2141 * configure: Regenerate.
2143 * include/std/std_complex.h: Remove usages of the dead
2144 _GLIBCXX_BUGGY_COMPLEX macro.
2146 * testsuite/26_numerics/cmath/19322.cc: Protect with
2147 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
2148 since only C99 math facilities are involved.
2149 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
2152 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
2154 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
2155 instead of generic. Change autoconf report to "darwin or freebsd".
2156 * configure: Regenerate.
2157 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
2158 (ctype<wchar_t>::do_scan_is): Likewise.
2159 (ctype<wchar_t>::do_scan_not): Likewise.
2161 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
2163 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
2164 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
2165 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
2166 * config.h.in: Regenerate.
2167 * configure: Regenerate.
2168 * include/std/std_complex.h: Protect complex builtins with
2169 _GLIBCXX_USE_C99_COMPLEX_MATH.
2171 2005-01-24 Paolo Carlini <pcarlini@suse.de>
2173 * include/tr1/type_traits: Implement is_signed and is_unsigned.
2174 * testsuite/tr1/4_metaprogramming/type_properties/
2175 is_signed/is_signed.cc: New.
2176 * testsuite/tr1/4_metaprogramming/type_properties/
2177 is_signed/typedefs.cc: Likewise.
2178 * testsuite/tr1/4_metaprogramming/type_properties/
2179 is_unsigned/is_unsigned.cc: Likewise.
2180 * testsuite/tr1/4_metaprogramming/type_properties/
2181 is_unsigned/typedefs.cc: Likewise.
2183 2005-01-23 Paolo Carlini <pcarlini@suse.de>
2185 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
2187 2005-01-23 Paolo Carlini <pcarlini@suse.de>
2189 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
2190 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
2191 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
2192 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
2193 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
2194 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
2195 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
2196 * testsuite/27_io/basic_ostream/flush/wchar_t/
2197 exceptions_badbit_throw.cc: Likewise.
2198 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2199 wchar_t/2.cc: Likewise.
2200 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2201 wchar_t/3.cc: Likewise.
2202 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2203 wchar_t/4.cc: Likewise.
2204 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2205 wchar_t/4402.cc: Likewise.
2206 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2207 wchar_t/5.cc: Likewise.
2208 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2209 wchar_t/6.cc: Likewise.
2210 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2211 wchar_t/9555-oa.cc: Likewise.
2212 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2213 wchar_t/exceptions_badbit_throw.cc: Likewise.
2214 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2215 wchar_t/exceptions_failbit_throw.cc: Likewise.
2216 * testsuite/27_io/basic_ostream/inserters_character/
2217 wchar_t/1.cc: Likewise.
2218 * testsuite/27_io/basic_ostream/inserters_character/
2219 wchar_t/2.cc: Likewise.
2220 * testsuite/27_io/basic_ostream/inserters_character/
2221 wchar_t/3.cc: Likewise.
2222 * testsuite/27_io/basic_ostream/inserters_character/
2223 wchar_t/4.cc: Likewise.
2224 * testsuite/27_io/basic_ostream/inserters_character/
2225 wchar_t/5.cc: Likewise.
2226 * testsuite/27_io/basic_ostream/inserters_character/
2227 wchar_t/6.cc: Likewise.
2228 * testsuite/27_io/basic_ostream/inserters_character/
2229 wchar_t/9555-oc.cc: Likewise.
2230 * testsuite/27_io/basic_ostream/inserters_other/
2231 wchar_t/1.cc: Likewise.
2232 * testsuite/27_io/basic_ostream/inserters_other/
2233 wchar_t/2.cc: Likewise.
2234 * testsuite/27_io/basic_ostream/inserters_other/
2235 wchar_t/3.cc: Likewise.
2236 * testsuite/27_io/basic_ostream/inserters_other/
2237 wchar_t/4.cc: Likewise.
2238 * testsuite/27_io/basic_ostream/inserters_other/
2239 wchar_t/5.cc: Likewise.
2240 * testsuite/27_io/basic_ostream/inserters_other/
2241 wchar_t/9318-out.cc: Likewise.
2242 * testsuite/27_io/basic_ostream/inserters_other/
2243 wchar_t/9424-out.cc: Likewise.
2244 * testsuite/27_io/basic_ostream/inserters_other/
2245 wchar_t/9555-oo.cc: Likewise.
2246 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2247 error_failbit.cc: Likewise.
2248 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2249 exceptions_badbit_throw.cc: Likewise.
2250 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2251 exceptions_failbit_throw.cc: Likewise.
2252 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
2253 exceptions_null.cc: Likewise.
2254 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
2255 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
2256 * testsuite/27_io/basic_ostream/seekp/char/
2257 exceptions_badbit_throw.cc: Likewise.
2258 * testsuite/27_io/basic_ostream/seekp/wchar_t/
2259 2346-fstream.cc: Likewise.
2260 * testsuite/27_io/basic_ostream/seekp/wchar_t/
2261 2346-sstream.cc: Likewise.
2262 * testsuite/27_io/basic_ostream/seekp/wchar_t/
2263 exceptions_badbit_throw.cc: Likewise.
2264 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
2265 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
2266 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
2267 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
2268 * testsuite/27_io/basic_ostream/tellp/wchar_t/
2269 exceptions_badbit_throw.cc: Likewise.
2270 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
2272 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
2273 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
2274 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
2275 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
2276 * testsuite/data/wostream_seeks-1.tst: Likewise.
2278 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
2279 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
2280 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
2281 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
2282 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
2283 * testsuite/27_io/basic_ostream/flush/char/
2284 exceptions_badbit_throw.cc: Likewise.
2285 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2286 char/2.cc: Likewise.
2287 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2288 char/3.cc: Likewise.
2289 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2290 char/4.cc: Likewise.
2291 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2292 char/4402.cc: Likewise.
2293 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2294 char/5.cc: Likewise.
2295 * testsuite/27_io/basic_ostream/inserters_arithmetic/
2296 char/6.cc: Likewise.
2297 * testsuite/27_io/basic_ostream/inserters_character/
2298 char/4.cc: Likewise.
2299 * testsuite/27_io/basic_ostream/inserters_other/char/
2301 * testsuite/27_io/basic_ostream/inserters_other/char/
2303 * testsuite/27_io/basic_ostream/inserters_other/char/
2304 error_failbit.cc: Likewise.
2305 * testsuite/27_io/basic_ostream/inserters_other/char/
2306 exceptions_badbit_throw.cc: Likewise.
2307 * testsuite/27_io/basic_ostream/inserters_other/char/
2308 exceptions_failbit_throw.cc: Likewise.
2309 * testsuite/27_io/basic_ostream/inserters_other/char/
2310 exceptions_null.cc: Likewise.
2311 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
2312 * testsuite/27_io/basic_ostream/seekp/char/
2313 exceptions_badbit_throw.cc: Likewise.
2314 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
2315 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
2317 2005-01-23 Paolo Carlini <pcarlini@suse.de>
2319 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
2322 2005-01-23 Paolo Carlini <pcarlini@suse.de>
2323 Andreas Jaeger <aj@suse.de>
2326 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
2328 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
2330 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
2331 lseek on fifo to succeed. Thus, check for consistent report.
2333 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2336 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
2338 (_List_const_iterator): Likewise.
2339 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
2340 (_Rb_tree_const_iterator): Likewise.
2342 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
2343 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
2345 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
2347 * testsuite/Makefile.am (check-compile): New.
2348 * testsuite/Makefile.in: Regenerate.
2349 * scripts/check_compile_time: New.
2350 * scripts/check_performance: Tweaks.
2352 2005-01-19 Paolo Carlini <pcarlini@suse.de>
2355 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
2356 Fix typo in the return type.
2357 * testsuite/tr1/6_containers/utility/19535.cc: New.
2359 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
2361 * include/ext/array_allocator.h (array_allocator<>::allocate):
2362 Avoid __used. Use __array_used instead.
2363 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
2365 2005-01-18 David Edelsohn <edelsohn@gnu.org>
2367 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
2368 (_XOPEN_SOURCE_EXTENDED): Delete.
2370 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
2372 * testsuite/testsuite_performance.h (time_counter::start):
2374 (clear_counters): Inline.
2375 (start_counters): Inline.
2376 (stop_counters): Inline.
2377 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
2378 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
2380 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
2382 2005-01-17 Paolo Carlini <pcarlini@suse.de>
2385 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
2386 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
2387 Obtain amortized constant complexity if t is inserted right after
2388 p - not before p - as per Table 69.
2389 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
2391 * testsuite/23_containers/multiset/insert/2.cc: New.
2392 * testsuite/23_containers/set/insert/1.cc: Likewise.
2394 * testsuite/performance/23_containers/set_create_from_sorted.cc:
2397 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
2399 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
2401 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
2402 * testsuite/ext/rope/4.cc: Add.
2404 2005-01-16 Lorenz Minder <lminder@gmx.net>
2405 Paolo Carlini <pcarlini@suse.de>
2408 * include/c_std/std_cmath.h: Define the C99 classification facilities
2409 directly inside namespace std:.
2410 * testsuite/26_numerics/cmath/19322.cc: New.
2412 2005-01-15 David Edelsohn <edelsohn@gnu.org>
2414 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
2416 2005-01-14 Paolo Carlini <pcarlini@suse.de>
2419 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
2420 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
2421 respectively) with hint (end()).
2422 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
2424 2005-01-13 Geoffrey Keating <geoffk@apple.com>
2426 * configure.host (darwin): On darwin8 or later, no need to build
2427 libstdc++ with -flat_namespace.
2429 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
2431 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
2433 2005-01-13 Paolo Carlini <pcarlini@suse.de>
2435 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
2436 Re-enable commented-out test for double type.
2438 2005-01-11 Paolo Carlini <pcarlini@suse.de>
2439 Benjamin Kosnik <bkoz@redhat.com>
2441 * src/istream.cc (basic_istream<char>::ignore(streamsize),
2442 basic_istream<char>::ignore(streamsize, int_type),
2443 basic_istream<wchar_t>::ignore(streamsize),
2444 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
2445 more than numeric_limits<streamsize>::max() chars are skipped,
2446 set _M_gcount = max().
2447 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
2448 int_type)): Likewise; keep simple, don't forward.
2450 2005-01-11 Paolo Carlini <pcarlini@suse.de>
2452 * src/istream.cc (basic_istream<char>::ignore(streamsize),
2453 basic_istream<char>::ignore(streamsize, int_type),
2454 basic_istream<wchar_t>::ignore(streamsize),
2455 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
2456 2005-01-05 change: actually, the previous behavior is conforming
2457 and consistent with that of get(char_type*, streamsize, char_type),
2458 albeit slightly different from that of 3.3/3.4 in a corner case
2459 due to the use of snextc.
2460 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
2461 int_type)): Likewise.
2462 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
2463 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
2465 2005-01-11 Paolo Carlini <pcarlini@suse.de>
2467 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
2468 * testsuite/tr1/4_metaprogramming/other_transformations/
2469 aligned_storage/aligned_storage.cc: New.
2470 * testsuite/tr1/4_metaprogramming/other_transformations/
2471 aligned_storage/typedefs.cc: Likewise.
2472 * testsuite/tr1/4_metaprogramming/type_properties/
2473 alignment_of/alignment_of.cc: Likewise.
2474 * testsuite/tr1/4_metaprogramming/type_properties/
2475 alignment_of/typedefs.cc: Likewise.
2477 2005-01-10 Paolo Carlini <pcarlini@suse.de>
2479 * Makefile.in: Regenerate.
2480 * libmath/Makefile.in: Likewise.
2481 * libsupc++/Makefile.in: Likewise.
2482 * po/Makefile.in: Likewise.
2483 * src/Makefile.in: Likewise.
2484 * testsuite/Makefile.in: Likewise.
2486 2005-01-10 Paolo Carlini <pcarlini@suse.de>
2488 * include/bits/stl_algobase.h (lexicographical_compare):
2491 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
2493 * acinclude.m4: Remove CCODECVT_H.
2494 * configure: Regenerate.
2495 * include/Makefile.am (host_headers_extra): Move to...
2496 (ext_headers): ...here.
2497 * include/Makefile.in: Regenerate.
2498 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
2500 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
2501 * include/ext/codecvt_specializations.h: ...here. Remove
2502 _GLIBCXX_USE___ENC_TRAITS.
2503 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
2504 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
2506 * config/locale/generic/codecvt_specializations.h: Remove.
2507 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
2508 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
2510 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
2512 * include/bits/fstream.tcc: Remove unnecessary qualifications for
2513 uglified data members of basic_filebuf, including _M_buf,
2514 _M_buf_size, _M_mode, _M_pback_init.
2515 * include/std/std_fstream.h: Same.
2517 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
2519 * testsuite/testsuite_hooks.h:
2520 (copy_constructor::mark_call): Use __throw_runtime_error.
2521 (assignment_operator::mark_call): Same.
2522 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
2523 (locale_data): Remove, just use runtime_error directly.
2524 (environment_variable): Same.
2526 (run_tests_wrapped_locale): Use __throw_runtime_error.
2527 (run_tests_wrapped_env): Same.
2528 (semaphore::semaphore): Same.
2529 (semaphore::signal): Same.
2530 (semaphore::wait): Same.
2531 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
2532 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
2533 (create_symbols): Use __throw_runtime_error.
2534 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
2536 2005-01-05 Mark Mitchell <mark@codesourcery.com>
2538 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
2541 2005-01-05 Paolo Carlini <pcarlini@suse.de>
2543 * src/istream.cc (basic_istream<char>::ignore(streamsize),
2544 basic_istream<char>::ignore(streamsize, int_type),
2545 basic_istream<wchar_t>::ignore(streamsize),
2546 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
2547 first check _M_gcount vs __n.
2548 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
2549 int_type)): Likewise.
2550 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
2551 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
2553 2005-01-03 Mark Mitchell <mark@codesourcery.com>
2555 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
2556 instead of just throw.
2558 * testsuite/testsuite_hooks.cc: Update coypright and follow style
2560 * testsuite/testsuite_hooks.h: Likewise.
2561 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2562 semaphores, not sleep.
2563 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2564 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2565 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2566 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2568 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2569 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2570 * testsuite/27_io/objects/char/7.cc: Likewise.
2571 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2572 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2573 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2575 * configure.ac: Check for sys/ipc.h and sys/sem.h.
2576 * config.h.in: Regenerated.
2577 * configure: Likewise.
2578 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
2580 (sys/types.h): Include.
2581 (sys/ipc.h): Likewise.
2582 (sys/sem.h): Likewise.
2583 (__gnu_test::semun): New type.
2584 (__gnu_test::semaphore::sempaphore): New function.
2585 (__gnu_test::semaphore::~semaphore): Likewise.
2586 (__gnu_test::semaphore::wait): Likewise.
2587 (__gnu_test::semaphore::signal): Likewise.
2588 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
2589 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2590 semaphores, not sleep.
2591 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2592 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2593 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2594 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2596 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2597 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2598 * testsuite/27_io/objects/char/7.cc: Likewise.
2599 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2600 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2601 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2603 2005-01-03 Paolo Carlini <pcarlini@suse.de>
2605 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
2606 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
2607 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
2608 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
2609 * src/istream.cc (basic_istream<char>::ignore(streamsize),
2610 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
2612 2005-01-02 Paolo Carlini <pcarlini@suse.de>
2614 * src/istream.cc (basic_istream<char>::ignore(streamsize),
2615 basic_istream<char>::ignore(streamsize, int_type),
2616 basic_istream<wchar_t>::ignore(streamsize),
2617 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
2618 _M_gcount overflows.
2619 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
2620 int_type)): Likewise; use snextc in the main loop, consistently
2621 with the specializations above.
2623 2005-01-02 Chris Jefferson <chris@bubblescope.net>
2625 * include/bits/stl_algobase.h (mismatch): Correct concept check.
2627 2005-01-01 Paolo Carlini <pcarlini@suse.de>
2629 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
2630 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
2631 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
2633 2005-01-01 Paolo Carlini <pcarlini@suse.de>
2635 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
2636 null-terminate array1 at the outset.
2637 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: