1 2005-05-09 Paolo Carlini <pcarlini@suse.de>
2 Giovanni Bajo <giovannibajo@gcc.gnu.org>
5 * include/bits/deque.tcc: Fully qualify names from namespace std.
6 * include/bits/stl_bvector.h: Likewise.
7 * include/bits/stl_deque.h: Likewise.
8 * include/bits/stl_list.h: Likewise.
9 * include/bits/stl_map.h: Likewise.
10 * include/bits/stl_multimap.h: Likewise.
11 * include/bits/stl_multiset.h: Likewise.
12 * include/bits/stl_set.h: Likewise.
13 * include/bits/stl_vector.h: Likewise.
14 * include/bits/vector.tcc: Likewise.
15 * include/std/std_bitset.h: Likewise.
16 * testsuite/23_containers/bitset/18604.cc: New.
17 * testsuite/23_containers/deque/18604.cc: Likewise.
18 * testsuite/23_containers/list/18604.cc: Likewise.
19 * testsuite/23_containers/map/18604.cc: Likewise.
20 * testsuite/23_containers/set/18604.cc: Likewise.
21 * testsuite/23_containers/vector/18604.cc: Likewise.
23 2005-05-09 Mike Stump <mrs@apple.com>
25 * configure: Regenerate.
27 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
29 DR 434. bitset::to_string() hard to use [Ready]
30 * include/debug/bitset (to_string): Add three overloads, taking
31 fewer template arguments.
33 2005-05-06 Mark Mitchell <mark@codesourcery.com>
35 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
36 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
37 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
38 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
40 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
41 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
42 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
43 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
45 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
47 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
48 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
50 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
51 * testsuite/27_io/objects/char/7.cc: Likewise.
52 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
53 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
54 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
56 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
58 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
59 * testsuite/Makefile.am: Same.
60 * scripts/create_testsuite_files: Same.
61 * Makefile.in: Regenerate.
63 * include/Makefile.in: Same.
64 * libmath/Makefile.in: Same.
65 * libsupc++/Makefile.in: Same.
66 * po/Makefile.in: Same.
67 * src/Makefile.in: Same.
69 2005-05-04 Mark Mitchell <mark@codesourcery.com>
71 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
72 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
73 whether or not thread support is available.
75 * docs/html/test.html: Explain how to run the testsuite on an
78 2005-05-01 Paolo Carlini <pcarlini@suse.de>
80 * config/os/aix/os_defines.h: Remove obsolete __off_t,
81 __off64_t, __ssize_t defines.
82 * config/os/djgpp/os_defines.h: Likewise.
83 * config/os/hpux/os_defines.h: Likewise.
84 * config/os/irix/irix5.2/os_defines.h: Likewise.
85 * config/os/irix/irix6.5/os_defines.h: Likewise.
86 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
87 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
88 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
89 * docs/html/17_intro/porting.html: Don't discuss the defines.
90 * docs/html/17_intro/porting.texi: Likewise.
92 2005-04-29 Paolo Carlini <pcarlini@suse.de>
93 Nathan Myers <ncm@cantrip.org>
96 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
97 Loop on short reads; remove the work-around for
98 libstdc++/20806, not needed anymore.
100 2005-04-29 Paolo Carlini <pcarlini@suse.de>
103 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
104 num_get::_M_extract_int, num_get::do_get(bool&),
105 num_put::_M_insert_int, num_put::_M_insert_float,
106 num_put::do_put(bool), money_get::_M_extract,
107 money_put::_M_insert): Adjust the __cache_type typedef not to
108 forward to a numpunct/moneypunct typedef.
109 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
110 and moneypunct specializations.
111 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
112 and moneypunct<pod_uint>::id.
113 * testsuite/22_locale/num_get/3.cc: New.
114 * testsuite/22_locale/num_put/3.cc: Likewise.
115 * testsuite/22_locale/money_get/3.cc: Likewise.
116 * testsuite/22_locale/money_put/3.cc: Likewise.
118 * include/bits/locale_facets.tcc (money_put::_M_insert,
119 time_get::_M_extract_name): Prefer operator== to operator!=
122 2005-04-29 Paolo Carlini <pcarlini@suse.de>
124 * include/tr1/type_traits (is_convertible): Adjust according
125 to the resolution of TR1 issue 3.20.
126 * testsuite/tr1/4_metaprogramming/relationships_between_types/
127 is_convertible/is_convertible.cc: Add tests.
129 2005-04-28 Paolo Carlini <pcarlini@suse.de>
130 Gabriel Dos Reis <gdr@integrable-solutions.net>
132 PR libstdc++/21244 (cont)
133 * include/bits/cpp_type_traits.h (struct __traitor): Convert
135 * include/bits/stl_algo.h: Convert _S_threshold to int.
136 * include/bits/stl_bvector.h: Revert previous change, convert
138 * include/debug/formatter.h: Convert __max_parameters to
140 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
141 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
143 * include/ext/rope: Likewise for _S_alloc_granularity; convert
144 _S_max_rope_depth to int.
145 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
146 _S_max_rope_depth to int; _S_copy_max to size_t.
148 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
150 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
151 * docs/doxygen/doxygroups.cc: Update namespace comments.
153 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
154 Paolo Carlini <pcarlini@suse.de>
157 * include/bits/stl_bvector.h: Change the anonymous enum
158 at namespace scope to _S_word_bit_enum.
159 * testsuite/23_containers/vector/bool/21244.cc: New.
161 2005-04-27 Paolo Carlini <pcarlini@suse.de>
163 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
164 has_nothrow_copy, has_nothrow_assign): Adjust according to the
165 resolution of TR1 issue 3.21.
166 * testsuite/testsuite_tr1.h (test_copy_property,
167 test_assign_property): Remove.
168 * testsuite/tr1/4_metaprogramming/type_properties/
169 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
170 * testsuite/tr1/4_metaprogramming/type_properties/
171 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
172 * testsuite/tr1/4_metaprogramming/type_properties/
173 has_trivial_assign/has_trivial_assign.cc: Likewise.
174 * testsuite/tr1/4_metaprogramming/type_properties/
175 has_trivial_copy/has_trivial_copy.cc: Likewise.
177 2005-04-26 Jones Desougi <jones@ingate.com>
180 * linkage.m4: Fix comments.
182 2005-04-26 Paolo Carlini <pcarlini@suse.de>
185 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
186 integer overflow, always use a suited unsigned type in the main
188 (struct __to_unsigned_type): New.
189 * testsuite/22_locale/num_get/get/char/16.cc: New.
190 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
192 2005-04-25 Paolo Carlini <pcarlini@suse.de>
195 * include/bits/basic_string.h (compare): Adjust the documentation
196 to match the implementation and the standard.
198 2005-04-24 Paolo Carlini <pcarlini@suse.de>
200 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
202 2005-04-20 Mark Mitchell <mark@codesourcery.com>
204 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
205 explicit instantiations for systems without weak symbols.
206 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
209 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
211 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
213 2005-04-17 Paolo Carlini <pcarlini@suse.de>
216 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
217 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
218 base or sign here, instead...
219 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
220 after adding the grouping. This fixes the bug and also allows to
221 clean-up the code dealing with integer types.
222 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
223 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
224 (__int_to_char(_CharT*, unsigned long, const _CharT*,
225 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
226 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
228 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
229 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
230 Simplify, don't pass the sign.
231 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
232 Deal with a sign at the beginning of __cs; robustify the grouping
234 * testsuite/22_locale/num_put/put/char/20914.cc: New.
235 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
237 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
239 * include/ext/bitmap_allocator.h
240 (__gnu_cxx::free_list::_M_get_mutex): New.
241 (__gnu_cxx::free_list::_M_get_free_list): New.
242 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
243 (__gnu_cxx::free_list::_S_free_list): Remove.
244 * src/bitmap_allocator.cc: Same.
245 * config/linker-map.gnu: Remove free_list and mutex export.
247 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
249 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
250 (character::to): New.
251 (character::from): New.
252 (operator==): Add state parameter.
254 (char_traits::copy): Use std::copy.
255 (char_traits::assign): Use std::fill_n.
256 (char_traits::to_char_type): Use character::from.
257 (char_traits::to_int_type): Use character::to.
258 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
259 (__gnu_test::conversion_state): Remove.
260 (__gnu_test::pod_char): Remove.
261 (pod_char): New typedef.
262 (pod_uchar): New typedef.
263 (pod_ushort): New typedef.
264 * testsuite/testsuite_character.cc: Fixups.
265 * testsuite/21_strings/basic_string/inserters_extractors/pod/
267 * testsuite/21_strings/basic_string/inserters_extractors/pod/
269 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
270 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
271 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
272 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
273 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
274 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
275 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
276 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
277 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
278 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
279 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
280 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
281 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
283 * testsuite/27_io/basic_istream/extractors_character/pod/
285 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
286 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
287 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
289 2005-04-12 Mike Stump <mrs@apple.com>
291 * configure: Regenerate.
293 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
295 * testsuite/Makefile.am: Remove libv3test.a.
296 * testsuite/Makefile.in: Regenerate.
297 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
299 2005-04-08 Paolo Carlini <pcarlini@suse.de>
302 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
303 Don't even try to group numbers like 2e20, i.e., no decimal
304 point, scientific notation.
305 * testsuite/22_locale/num_put/put/char/20909.cc: New.
306 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
308 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
310 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
311 * acconfig.h: Delete file.
312 * Makefile.in, acinclude.m4, configure: Regenerate.
314 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
316 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
317 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
318 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
319 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
320 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
321 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
322 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
323 * acconfig.h: Delete redundant macros.
324 * config.h.in, configure: Regenerate.
326 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
328 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
329 a subshell and if test fails, test for same functions with
331 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
332 * configure: Regenerate.
334 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
335 Paolo Carlini <pcarlini@suse.de>
338 * config/os/mingw32/os_defines.h: Define
339 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
340 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
341 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
343 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
345 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
347 * acconfig.h: Sort the bottom section.
348 * config.h.in: Regenerate.
350 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
352 * acconfig.h: Remove redundant HAVE_FLOAT_H.
353 * config.h.in: Regenerate.
355 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
357 * configure.ac: Create template for PACKAGE and VERSION.
358 Update comment on how to regenerate file. Update minimum
359 automake version to 1.9.3.
360 * acconfig.h: Remove PACKAGE and VERSION.
361 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
362 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
363 testsuite/Makefile.in, config.h.in: Regenerate.
365 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
367 * docs/html/test.html: Update.
368 * testsuite/printnow.c: Remove.
369 * scripts/check_survey.in: Remove.
371 * testsuite/abi_check.cc: To...
372 * testuite/testsuite_abi_check.cc: ...here.
373 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
374 testsuite_abi_check.cc.
376 * testsuite/testsuite_hooks.h: Move character related bits to...
377 * testsuite/testsuite_character.h: ...here.
378 * testsuite/testsuite_character.cc: ... and here.
379 * testsuite/21_strings/basic_string/inserters_extractors/pod/
380 10081-in.cc: Use testsuite_character.h.
381 * testsuite/21_strings/basic_string/inserters_extractors/pod/
383 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
384 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
385 * testsuite/27_io/basic_filebuf/2.cc: Same.
386 * testsuite/27_io/basic_fstream/2.cc: Same.
387 * testsuite/27_io/basic_istream/2.cc: Same.
388 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
390 * testsuite/27_io/basic_istream/extractors_character/char/
392 * testsuite/27_io/basic_istream/extractors_character/pod/
394 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
395 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
396 * testsuite/27_io/basic_ostream/2.cc: Same.
397 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
398 * testsuite/27_io/basic_streambuf/2.cc: Same.
399 * testsuite/27_io/basic_stringbuf/2.cc: Same.
400 * testsuite/27_io/basic_stringbuf/4.cc: Same.
401 * testsuite/27_io/basic_stringstream/2.cc: Same.
402 * testsuite/27_io/fpos/1.cc: Same.
403 * testsuite/ext/mt_allocator/tune-1.cc: Same.
404 * testsuite/ext/mt_allocator/tune-2.cc: Same.
405 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
406 * testsuite/lib/libstdc++.exp (v3-build_support): Add
407 testsuite_character.cc.
408 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
409 testsuite_character.cc.
410 * testsuite/Makefile.in: Regenerate.
412 * configure.ac: Remove use of check_survey.
413 * configure: Regenerate.
414 * testsuite/Makefile.am: Remove check-script and
415 check-script-install rules.
416 * testsuite/Makefile.in: Regenerate.
418 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
420 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
421 clobber to inline assembly statement.
423 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
425 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
426 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
427 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
428 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
429 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
430 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
431 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
432 * acconfig.h: ... to eliminate them from here.
433 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
434 * config.h.in, configure: Regenerate.
436 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
438 * Makefile.am (ACLOCAL_AMFLAGS): Define.
439 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
440 * configure.ac: Use it.
441 * acinclude.m4: Delete explicit m4_includes and sincludes.
442 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
443 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
444 testsuite/Makefile.in: Regenerate.
446 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
448 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
449 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
450 to destroy resources by testing for equality, not inequality. Add
451 empty critical sections to solve memory visibility issues.
452 * testsuite/tr1/2_general_utilities/memory/
453 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
454 explicitly listing line numbers which need to be kept in sync.
455 * testsuite/tr1/2_general_utilities/memory/
456 shared_ptr/assign/auto_ptr_neg.cc: Same.
457 * testsuite/tr1/2_general_utilities/memory/
458 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
459 * testsuite/tr1/2_general_utilities/memory/
460 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
462 * testsuite/tr1/2_general_utilities/memory/
463 enable_shared_from_this/not_shared.cc: Add explanatory comments.
464 * testsuite/tr1/2_general_utilities/memory/
465 enable_shared_from_this/not_shared2.cc: Same.
466 * testsuite/tr1/2_general_utilities/memory/
467 enable_shared_from_this/not_shared3.cc: Same.
469 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
471 * acconfig.h: Delete macros already AC_DEFINED.
472 * config.h.in: Regenerate.
474 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
476 * acconfig.h (HAVE_MODF): Remove.
477 * linkage.m4: Check for modf.
478 * config.h.in, configure: Regenerate.
480 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
482 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
483 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
484 * config.h.in: Regenerate.
486 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
488 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
489 to convert to uppercase instead of shelling out to tr.
490 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
491 * configure, config.h.in: Regenerate.
493 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
495 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
496 * config.h.in: Regenerate.
498 2005-04-04 Mark Mitchell <mark@codesourcery.com>
500 * testsuite/Makefile.am (check-local): Remove.
501 (curent_symbols.txt): Likewise.
502 (check-abi): Do not depend on current_symbols.txt.
503 * testsuite/Makefile.in: Regenerated.
504 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
506 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
508 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
509 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
510 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
512 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
515 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
517 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
518 member pointers in _Mem_fn but let other function objects pass
520 * include/tr1/functional_iterator (bind): Reduce number of bind()
521 overloads to two to eliminate ambiguities. Use
522 _Maybe_wrap_member_pointer to handle member pointers gracefully.
524 2005-04-01 Mark Mitchell <mark@codesourcery.com>
526 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
527 (site.exp): Write out the path to the baseline file.
528 (check-abi): Use DejaGNU.
529 (check-abi-verbose): Remove.
530 * testsuite/Makefile.in: Regenerated.
531 * testsuite/abi_check.cc (main): Check the return value from
533 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
534 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
535 * testsuite/libstdc++-abi/abi.exp: New file.
537 2005-03-31 Chris Jefferson <chris@bubblescope.net>
539 * include/tr1/tuple: Support iteration via tuple_iterate.h.
540 * include/tr1/tuple_iterate.h: Iteration file for tuple.
542 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
544 * include/Makefile.am (tr1_headers): Add bind and mu repetition
545 headers and reference_wrapper<> forwarding header.
546 * include/Makefile.in: Regenerate.
547 * include/tr1/bind_iterate.h: Implementation of function call
548 operators for the function object returned from tr1::bind().
549 * include/tr1/bind_repeat.h: Bind-specific repetition header,
550 akin to include/tr1/repeat.h.
551 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
552 template for use with result_of.
553 (is_bind_expression): New.
554 (is_placeholder): New.
555 (_Placeholder): New. Placeholder type for bind.
556 (_Mu): New. Implementation detail of bind.
557 (_Bind, _Bind_result): New. Function objects returned by bind.
558 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
559 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
560 New. Implementation of tr1::bind.
561 * include/tr1/mu_iterate.h (_Mu): result template and operator()
562 for the _Mu helper to bind.
563 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
564 used by tuple header.
567 * include/tr1/repeat.h: Add bind-specific repetition macros.
568 * include/tr1/tuple: Use reference_wrapper forwarding header for
569 initial definitions, then include <tr1/functional> at the end, to
570 make the circular dependencies work.
571 (tie): Support zero-argument tie() function.
572 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
573 bind() functionality with parameters bound.
574 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
575 nested bind() expressions.
576 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
577 of bind() placeholders.
578 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
579 with arguments bound via reference_wrapper<>.
580 * scripts/gen_includers.pl: Generate the repetitive part of
581 include/tr1/repeat.h.
582 * scripts/gen_bind_includers.pl: Generate the repetitive part of
583 include/tr1/bind_repeat.h.
585 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
587 * testsuite/Makefile.am (CXX): Use ${SHELL}.
588 (GLIBCXX_INCLUDES): Same.
590 * testsuite/Makefile.in: Regenerate.
592 2005-03-25 Mark Mitchell <mark@codesourcery.com>
594 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
595 when testing an installed compiler.
597 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
598 compiling support objects.
600 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
602 * include/tr1/memory: Forward to...
603 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
604 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
605 * include/Makefile.in: Regenerate.
606 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
607 auto_ptr_neg.cc: Adjust line numbers.
609 2005-03-23 Mark Mitchell <mark@codesourcery.com>
611 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
612 * testsuite/Makefile.in: Regenerated.
614 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
616 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
617 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
618 _GLIBCXX_USE_C99_WCHAR.
619 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
620 and GLIBCXX_ENABLE_WCHAR_T.
621 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
623 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
624 GLIBCXX_CHECK_ICONV_SUPPORT.
625 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
626 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
627 * crossconfig.m4: Same.
628 * acconfig.h: Same, adjust comments.
629 * config.h.in: Regenerate.
630 * configure: Regenerate.
631 * docs/html/configopts.html: Change --enable-c-mbchar to
634 * config/locale/gnu/c++locale_internal.h: Guard wide functions
635 with _GLIBCXX_USE_WCHAR_T.
636 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
637 * include/c_std/std_cstdio.h: Spacing.
639 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
640 * src/debug.cc: Same.
642 2005-03-23 Mark Mitchell <mark@codesourcery.com>
644 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
647 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
648 (v3-wchar_t): ... this.
649 (libstdc++_threads): Rename to ...
650 (v3-threads): ... this.
651 (libstdc++_test_objs): Rename to ...
652 (v3-test_objs): ... this.
653 (libstdc++_build_support): Rename to ...
654 (v3-build_support): ... this.
655 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
657 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
658 of compilers not in the build directory.
659 (libstdc++_wchar_t): New variable.
660 (libstdc++_threads): Likewise.
661 (libstdc++_test_objs): Likewise.
662 (v3_target_compile): Use libstdc++_test_objs.
663 (v3-list-tests): Remove.
664 (listdc++_build_support): New function.
665 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
666 generate list of tests.
668 2005-03-21 Chris Jefferson <chris@bubblescope.net>
671 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
672 to swap when the iterator's reference_type is a reference to its
674 * testsuite/25_algorithms/iter_swap/20577.cc: New.
676 2005-03-21 Zack Weinberg <zack@codesourcery.com>
678 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
679 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
680 is expanded by the Makefiles, not by configure.
681 * fragment.am: Set gcc_version.
682 * libmath/Makefile.am: Likewise.
683 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
684 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
685 * testsuite/Makefile.in: Regenerate.
687 2005-03-16 Paolo Carlini <pcarlini@suse.de>
689 * testsuite/20_util/functional/binders.cc: Remove explicit
690 instantiations for non-weak systems.
691 * testsuite/20_util/memory/allocator/1.cc: Likewise.
692 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
693 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
694 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
695 * testsuite/20_util/utility/rel_ops.cc: Likewise.
696 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
697 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
698 * testsuite/23_containers/deque/cons/1.cc: Likewise.
699 * testsuite/23_containers/deque/cons/2.cc: Likewise.
700 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
701 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
702 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
703 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
704 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
705 * testsuite/23_containers/deque/operators/1.cc: Likewise.
706 * testsuite/23_containers/list/capacity/1.cc: Likewise.
707 * testsuite/23_containers/list/cons/1.cc: Likewise.
708 * testsuite/23_containers/list/cons/2.cc: Likewise.
709 * testsuite/23_containers/list/cons/3.cc: Likewise.
710 * testsuite/23_containers/list/cons/4.cc: Likewise.
711 * testsuite/23_containers/list/cons/5.cc: Likewise.
712 * testsuite/23_containers/list/cons/6.cc: Likewise.
713 * testsuite/23_containers/list/cons/7.cc: Likewise.
714 * testsuite/23_containers/list/cons/8.cc: Likewise.
715 * testsuite/23_containers/list/cons/9.cc: Likewise.
716 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
717 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
718 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
719 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
720 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
721 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
722 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
723 * testsuite/23_containers/list/operators/1.cc: Likewise.
724 * testsuite/23_containers/list/operators/2.cc: Likewise.
725 * testsuite/23_containers/list/operators/3.cc: Likewise.
726 * testsuite/23_containers/list/operators/4.cc: Likewise.
727 * testsuite/23_containers/map/insert/1.cc: Likewise.
728 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
729 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
730 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
731 * testsuite/23_containers/map/operators/1.cc: Likewise.
732 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
733 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
734 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
735 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
736 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
737 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
738 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
739 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
740 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
741 * testsuite/23_containers/queue/members/7157.cc: Likewise.
742 * testsuite/23_containers/set/insert/1.cc: Likewise.
743 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
744 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
745 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
746 * testsuite/23_containers/stack/members/7158.cc: Likewise.
747 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
748 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
749 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
750 * testsuite/23_containers/vector/cons/1.cc: Likewise.
751 * testsuite/23_containers/vector/cons/2.cc: Likewise.
752 * testsuite/23_containers/vector/cons/3.cc: Likewise.
753 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
754 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
755 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
756 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
757 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
758 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
759 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
760 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
761 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
762 * testsuite/23_containers/vector/resize/1.cc: Likewise.
763 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
764 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
765 * testsuite/24_iterators/insert_iterator.cc: Likewise.
766 * testsuite/24_iterators/iterator.cc: Likewise.
767 * testsuite/25_algorithms/copy/1.cc: Likewise.
768 * testsuite/25_algorithms/copy/2.cc: Likewise.
769 * testsuite/25_algorithms/copy/3.cc: Likewise.
770 * testsuite/25_algorithms/copy/4.cc: Likewise.
771 * testsuite/25_algorithms/equal.cc: Likewise.
772 * testsuite/25_algorithms/fill/1.cc: Likewise.
773 * testsuite/25_algorithms/fill/2.cc: Likewise.
774 * testsuite/25_algorithms/min_max.cc: Likewise.
775 * testsuite/25_algorithms/rotate.cc: Likewise.
776 * testsuite/25_algorithms/unique/1.cc: Likewise.
777 * testsuite/25_algorithms/unique/2.cc: Likewise.
778 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
779 * testsuite/ext/concept_checks.cc: Likewise.
780 * testsuite/ext/hash_map/1.cc: Likewise.
781 * testsuite/ext/hash_set/1.cc: Likewise.
782 * testsuite/ext/rope/1.cc: Likewise.
783 * testsuite/ext/rope/2.cc: Likewise.
784 * testsuite/ext/rope/3.cc: Likewise.
785 * testsuite/thread/pthread1.cc: Likewise.
786 * testsuite/thread/pthread4.cc: Likewise.
787 * testsuite/thread/pthread5.cc: Likewise.
788 * testsuite/thread/pthread6.cc: Likewise.
789 * testsuite/thread/pthread7-rope.cc: Likewise.
791 2005-03-15 Zack Weinberg <zack@codesourcery.com>
793 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
794 subdirectory. Generate #define of __GLIBCXX__ from contents of
796 * include/Makefile.in: Regenerate.
797 * include/bits/c++config: Do not define __GLIBCXX__.
799 2005-03-15 Paolo Carlini <pcarlini@suse.de>
802 * include/std/std_complex.h (pow(const complex<_Tp>&,
803 const _Tp&)): On non-c99 platforms, don't try to compute
806 2005-03-10 Ben Elliston <bje@au.ibm.com>
808 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
811 2005-03-07 Paolo Carlini <pcarlini@suse.de>
813 * include/tr1/type_traits (is_polymorphic): Don't forget
814 the virtual destructor, thus avoiding warnings.
815 * testsuite/testsuite_tr1.h (class AbstractClass,
816 class PolymorphicClass): Likewise.
818 2005-03-07 Paolo Carlini <pcarlini@suse.de>
820 * include/std/std_complex.h (pow(const complex<_Tp>&,
821 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
822 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
823 _GLIBCXX_USE_C99_COMPLEX.
825 2005-03-07 Paolo Carlini <pcarlini@suse.de>
827 * include/std/std_fstream.h (basic_fstream<>::open,
828 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
829 resolution of DR 409 [Ready], call clear() on success.
830 * docs/html/ext/howto.html: Add an entry for DR 409.
831 * docs/html/faq/index.html (4_4): Clarify the new behavior.
832 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
833 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
835 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
837 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
838 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
839 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
840 testsuite/22_locale/collate/hash/wchar_t/2.cc,
841 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
842 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
843 testsuite/22_locale/collate/transform/wchar_t/2.cc,
844 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
845 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
846 XFAIL on *-*-hpux11.23.
848 2005-03-04 Paolo Carlini <pcarlini@suse.de>
850 * include/tr1/type_traits: Add is_base_of.
851 * testsuite/tr1/4_metaprogramming/relationships_between_types/
852 is_base_of/is_base_of.cc: New.
853 * testsuite/tr1/4_metaprogramming/relationships_between_types/
854 is_base_of/typedefs.cc: Likewise.
856 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
858 * include/tr1/functional: Convert relative path.
860 * docs/doxygen/user.cfg.in: Add tr1 includes.
862 2005-03-03 Paolo Carlini <pcarlini@suse.de>
864 * include/tr1/type_traits: Implemenet is_polymorphic.
865 (is_empty): Minor tweaks.
866 * testsuite/testsuite_tr1.h: Add test types.
867 * testsuite/tr1/4_metaprogramming/type_properties/
868 is_polymorphic/is_polymorphic.cc: New.
869 * testsuite/tr1/4_metaprogramming/type_properties/
870 is_polymorphic/typedefs.cc: Likewise.
871 * testsuite/tr1/4_metaprogramming/composite_type_traits/
872 is_union_or_class/is_union_or_class.cc: Add tests.
874 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
876 * include/tr1/functional (_Has_result_type): Cleanup.
877 (_Result_of_impl): Handle member data pointers correctly.
878 (reference_wrapper): Support invocation.
879 Move repetition code into new file include/tr1/repeat.h.
880 * include/tr1/functional_iterate.h (reference_wrapper): Support
881 invocation. Cleanup long lines.
882 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
883 invocation operators.
884 * include/tr1/repeat.h: Code repetition header.
885 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
886 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
887 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
888 New test of reference_wrapper invocation.
889 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
890 New test of reference_wrapper typedefs and base classes.
891 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
894 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
896 * include/tr1/function (result_of): New class template.
897 * include/tr1/functional/iterator.h: Implementation of TR1
899 * testsuite/tr1/3_function_objects/result_of.cc: New test
901 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
903 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
905 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
907 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
908 cons/auto_ptr_neg.cc: Correct line numbers.
910 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
912 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
914 * include/tr1/memory: Replace checked_deleter with (unchecked)
915 _Sp_deleter as GCC warns about delete on incomplete types anyway.
917 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
919 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
921 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
924 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
925 'Q' constraint, not 'm'.
927 2005-02-26 Earl Chew <earl_chew@agilent.com>
928 Christopher Jefferson <chris@bubblescope.net>
930 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
931 memory if _M_key_compare throws.
933 2005-02-25 Paolo Carlini <pcarlini@suse.de>
935 * include/tr1/type_traits: Add the trivial is_union and is_class;
936 add the __is_union_or_class extension.
937 (is_enum, is_empty): Use the latter.
938 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
939 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
941 * testsuite/tr1/4_metaprogramming/composite_type_traits/
942 is_union_or_class/is_union_or_class.cc: New.
943 * testsuite/tr1/4_metaprogramming/composite_type_traits/
944 is_union_or_class/typedefs.cc: Likewise.
946 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
948 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
949 wchar_t use with _GLIBCXX_USE_WCHAR_T.
951 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
953 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
954 _GLIBCXX_USE_C99_COMPLEX.
955 * acinclude.m4: Same.
957 * configure: Regenerate.
960 2005-02-24 Paolo Carlini <pcarlini@suse.de>
962 * include/tr1/functional (mem_fn): Avoid _T, badname on
965 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
967 * include/tr1/functional (function): New class template.
968 (mem_fn): New function template.
969 Implementations of TR1 function and mem_fn facilities.
970 * include/tr1/functional_iterate.h: Implementations of TR1
971 function and mem_fn facilities.
972 * testsuite/tr1/3_function_objects/function/1.cc: New
973 test of std::tr1::function.
974 * testsuite/tr1/3_function_objects/function/2.cc: New
975 test of std::tr1::function.
976 * testsuite/tr1/3_function_objects/function/3.cc: New
977 test of std::tr1::function.
978 * testsuite/tr1/3_function_objects/function/4.cc: New
979 test of std::tr1::function.
980 * testsuite/tr1/3_function_objects/function/5.cc: New
981 test of std::tr1::function.
982 * testsuite/tr1/3_function_objects/function/6.cc: New
983 test of std::tr1::function.
984 * testsuite/tr1/3_function_objects/function/7.cc: New
985 test of std::tr1::function.
986 * testsuite/tr1/3_function_objects/function/8.cc: New
987 test of std::tr1::function.
988 * testsuite/tr1/3_function_objects/function/9.cc: New
989 test of std::tr1::function.
990 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
993 2005-02-23 Paolo Carlini <pcarlini@suse.de>
995 * include/tr1/type_traits: Implement is_convertible.
996 * testsuite/tr1/4_metaprogramming/relationships_between_types/
997 is_convertible/is_convertible.cc: New.
998 * testsuite/tr1/4_metaprogramming/relationships_between_types/
999 is_convertible/typedefs.cc: Likewise.
1000 * testsuite/testsuite_tr1.h: Add class DerivedType.
1002 * include/tr1/type_traits (is_function): Don't mistake references
1003 to function types for function types.
1004 * testsuite/tr1/4_metaprogramming/primary_type_categories/
1005 is_function/is_function.cc: Add testcase.
1007 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
1009 * scripts/check_performance: Tweaks.
1011 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
1012 output file with extension that clean rules can find.
1014 2005-02-22 Richard Henderson <rth@redhat.com>
1017 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
1018 decrement of uncaughtExceptions for rethrow.
1020 2005-02-22 Paolo Carlini <pcarlini@suse.de>
1022 * include/tr1/functional: Fix License to GPL with exception.
1023 * include/tr1/hashtable: Likewise.
1024 * include/tr1/tuple: Likewise.
1025 * include/tr1/type_traits: Likewise.
1026 * include/tr1/type_traits_fwd.h: Likewise.
1027 * include/tr1/unordered_map: Likewise.
1028 * include/tr1/unordered_set: Likewise.
1029 * include/tr1/utility: Likewise.
1031 2005-02-22 Paolo Carlini <pcarlini@suse.de>
1033 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1034 auto_ptr_neg.cc: Add missing dg-do compile directive.
1035 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1036 auto_ptr_rvalue_neg.cc: Likewise.
1037 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
1038 shared_ptr_neg.cc: Likewise.
1039 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
1040 auto_ptr_neg.cc: Likewise.
1041 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1042 reset_neg.cc: Likewise.
1043 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1044 swap_neg.cc: Likewise.
1046 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
1048 * include/Makefile.am, include/Makefile.in: Fix accidental extra
1049 change from previous commit.
1051 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
1053 * include/tr1/memory: New file.
1054 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
1055 * testsuite/tr1/2_general_utilities/memory/
1056 enable_shared_from_this/not_shared.cc: New test.
1057 * testsuite/tr1/2_general_utilities/memory/
1058 enable_shared_from_this/not_shared2.cc: New test.
1059 * testsuite/tr1/2_general_utilities/memory/
1060 enable_shared_from_this/not_shared3.cc: New test.
1061 * testsuite/tr1/2_general_utilities/memory/
1062 enable_shared_from_this/shared.cc: New test.
1063 * testsuite/tr1/2_general_utilities/memory/
1064 enable_shared_from_this/still_shared.cc: New test.
1065 * testsuite/tr1/2_general_utilities/memory/
1066 shared_ptr/assign/assign.cc: New test.
1067 * testsuite/tr1/2_general_utilities/memory/
1068 shared_ptr/assign/auto_ptr.cc: New test.
1069 * testsuite/tr1/2_general_utilities/memory/
1070 shared_ptr/assign/auto_ptr_neg.cc: New test.
1071 * testsuite/tr1/2_general_utilities/memory/
1072 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
1073 * testsuite/tr1/2_general_utilities/memory/
1074 shared_ptr/assign/shared_ptr.cc: New test.
1075 * testsuite/tr1/2_general_utilities/memory/
1076 shared_ptr/assign/shared_ptr_neg.cc: New test.
1077 * testsuite/tr1/2_general_utilities/memory/
1078 shared_ptr/comparison/cmp.cc: New test.
1079 * testsuite/tr1/2_general_utilities/memory/
1080 shared_ptr/cons/auto_ptr.cc: New test.
1081 * testsuite/tr1/2_general_utilities/memory/
1082 shared_ptr/cons/auto_ptr_neg.cc: New test.
1083 * testsuite/tr1/2_general_utilities/memory/
1084 shared_ptr/cons/copy.cc: New test.
1085 * testsuite/tr1/2_general_utilities/memory/
1086 shared_ptr/cons/default.cc: New test.
1087 * testsuite/tr1/2_general_utilities/memory/
1088 shared_ptr/cons/pointer.cc: New test.
1089 * testsuite/tr1/2_general_utilities/memory/
1090 shared_ptr/cons/weak_ptr.cc: New test.
1091 * testsuite/tr1/2_general_utilities/memory/
1092 shared_ptr/cons/weak_ptr_expired.cc: New test.
1093 * testsuite/tr1/2_general_utilities/memory/
1094 shared_ptr/dest/dest.cc: New test.
1095 * testsuite/tr1/2_general_utilities/memory/
1096 shared_ptr/misc/io.cc: New test.
1097 * testsuite/tr1/2_general_utilities/memory/
1098 shared_ptr/misc/swap.cc: New test.
1099 * testsuite/tr1/2_general_utilities/memory/
1100 shared_ptr/modifiers/reset.cc: New test.
1101 * testsuite/tr1/2_general_utilities/memory/
1102 shared_ptr/modifiers/reset_neg.cc: New test.
1103 * testsuite/tr1/2_general_utilities/memory/
1104 shared_ptr/modifiers/swap.cc: New test.
1105 * testsuite/tr1/2_general_utilities/memory/
1106 shared_ptr/modifiers/swap_neg.cc: New test.
1107 * testsuite/tr1/2_general_utilities/memory/
1108 shared_ptr/observers/bool_conv.cc: New test.
1109 * testsuite/tr1/2_general_utilities/memory/
1110 shared_ptr/observers/get.cc: New test.
1111 * testsuite/tr1/2_general_utilities/memory/
1112 shared_ptr/observers/unique.cc: New test.
1113 * testsuite/tr1/2_general_utilities/memory/
1114 shared_ptr/observers/use_count.cc: New test.
1116 2005-02-21 Paolo Carlini <pcarlini@suse.de>
1118 * include/tr1/type_traits (is_member_function_pointer):
1119 Remove ugly workaround for c++/19076.
1121 2005-02-21 Paolo Carlini <pcarlini@suse.de>
1123 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
1124 check for this == &_S_empty_rep, it's always false, here.
1126 2005-02-19 Matt Austern <austern@gmail.com>
1128 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
1129 hash<T>::operator() a const member function for T a fundamental type
1130 * include/tr1/hashtable (extract1st::operator()): Declare const.
1131 (hash_code_base): Declare all member functions const
1132 (hashtable::find): fix call to this->bucket_count()
1133 (hashtable::count): Likewise.
1134 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
1135 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
1136 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
1137 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
1138 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
1140 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
1143 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
1144 _GLIBCXX_USE_WCHAR_T.
1146 2005-02-18 Richard Henderson <rth@redhat.com>
1149 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
1150 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
1151 uncaughtExceptions here instead of ...
1152 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
1153 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
1154 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
1155 (__cxa_get_exception_ptr): New.
1156 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
1158 2005-02-18 Matt Austern <austern@apple.com>
1160 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
1161 test case to use assignment instead of ==
1162 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
1163 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
1164 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
1165 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
1167 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
1169 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
1170 on Solaris 2.6 and below.
1171 * testsuite/thread/pthread2.cc: Likewise.
1172 * testsuite/thread/pthread3.cc: Likewise.
1173 * testsuite/thread/pthread4.cc: Likewise.
1174 * testsuite/thread/pthread5.cc: Likewise.
1175 * testsuite/thread/pthread6.cc: Likewise.
1176 * testsuite/thread/pthread7-rope.cc: Likewise.
1178 2005-02-17 Matt Austern <austern@apple.com>
1180 * include/tr1/functional (hash): New function object.
1181 * include/tr1/hashtable: New file.
1182 * include/tr1/unordered_set: New file.
1183 * include/tr1/unordered_map: New file.
1184 * include/Makefile.am: Add three new TR1 headers.
1185 * include/Makefile.in: Likewise.
1186 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
1187 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
1188 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
1189 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
1190 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
1191 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
1192 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
1193 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
1194 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
1195 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
1197 2005-02-16 Paolo Carlini <pcarlini@suse.de>
1199 * testsuite/23_containers/set/modifiers/16728.cc:
1200 Remove redundant include <testsuite_performance.h>.
1202 2005-02-16 Paolo Carlini <pcarlini@suse.de>
1205 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
1206 at line #66 to not access str_lit01 beyond its end.
1207 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
1209 2005-02-15 Paolo Carlini <pcarlini@suse.de>
1210 Jon Grimm <jgrimm2@us.ibm.com>
1213 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
1214 Fix the logic setting _M_narrow_ok: first check whether the
1215 transformation is trivial with a dflt == 0, then deal with the
1216 special case of zero.
1217 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
1219 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
1220 Tweak consistently to use memcmp; minor formatting fixes.
1222 2005-02-15 Jakub Jelinek <jakub@redhat.com>
1225 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
1227 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
1229 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
1230 Paolo Carlini <pcarlini@suse.de>
1233 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
1234 for integer overloads.
1236 * testsuite/26_numerics/cmath/powi.cc: New.
1238 2005-02-11 Janis Johnson <janis187@us.ibm.com>
1240 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
1241 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
1242 * testsuite/26_numerics/complex/pow.cc: Ditto.
1244 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
1245 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
1246 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
1247 * testsuite/26_numerics/complex/pow.cc: Ditto.
1249 2005-02-09 Mike Stump <mrs@apple.com>
1251 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
1253 2005-02-09 Janis Johnson <janis187@us.ibm.com>
1255 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
1257 2005-02-08 Mark Mitchell <mark@codesourcery.com>
1259 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
1261 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
1263 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
1264 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
1267 2005-02-02 Brad Spencer <spencer@infointeractive.com>
1269 * debug.html: Fix broken tags.
1270 * documentation.html: Same.
1272 2005-02-02 Andreas Jaeger <aj@suse.de>
1274 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
1276 * testsuite/Makefile.am: Likewise.
1277 * testsuite/Makefile.in: Likewise.
1279 2005-02-01 Paolo Carlini <pcarlini@suse.de>
1281 * include/bits/cpp_type_traits.h: Rename _M_type fields to
1282 __value, except for __enable_if, _M_type -> __type, consistently
1283 with the other traits.
1284 * include/bits/stl_algobase.h: Tweak consistently.
1285 * include/bits/stl_tree.h: Likewise.
1286 * include/bits/valarray_array.h: Likewise.
1287 * include/c_std/std_cmath.h: Likewise.
1288 * include/debug/safe_iterator.h: Likewise.
1289 * include/std/std_complex.h: Likewise.
1291 2005-01-31 Brad Spencer <spencer@infointeractive.com>
1293 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
1294 * configure: Regenerated.
1296 2005-01-31 Mark Mitchell <mark@codesourcery.com>
1298 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
1300 (numeric_limits<double>::has_denorm): Likewise.
1301 (numeric_limits<long double>::has_denorm): Likewise.
1303 2005-01-31 Paolo Carlini <pcarlini@suse.de>
1304 Gabriel Dos Reis <gdr@integrable-solutions.net>
1306 * include/bits/cpp_type_traits.h: Add types to the structs thus
1307 making type_traits.h redundant; exploit new __truth_type and
1309 * include/bits/type_traits.h: Remove.
1310 * include/Makefile.am: Update.
1311 * include/Makefile.in: Regenerate.
1312 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
1313 * include/bits/basic_string.h (replace(iterator, iterator,
1314 _InputIterator, _InputIterator), _S_construct(_InIterator,
1315 _InIterator, const _Alloc&)): Use __is_integer instead.
1316 * include/bits/stl_bvector.h (vector(_InputIterator,
1317 _InputIterator, const allocator_type&), assign(_InputIterator,
1318 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
1320 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1321 _ForwardIterator)): Use __is_scalar.
1322 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
1323 const allocator_type&), assign(_InputIterator, _InputIterator),
1324 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
1325 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
1326 insert(iterator, _InputIterator, _InputIterator)): Likewise.
1327 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
1328 _ForwardIterator)): Use __is_scalar.
1329 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
1330 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
1331 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
1332 _Size, const _Tp&)): Likewise.
1333 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
1334 const allocator_type&), assign(_InputIterator, _InputIterator),
1335 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
1336 * include/debug/debug.h (__valid_range(const _InputIterator&,
1337 const _InputIterator&)): Use __is_integer.
1338 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
1339 * include/std/std_string.h: Include cpp_type_traits.h instead.
1341 2005-01-30 Paolo Carlini <pcarlini@suse.de>
1344 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
1345 LC_NUMERIC, and only when actually != "C".
1347 2005-01-28 Paolo Carlini <pcarlini@suse.de>
1349 * include/tr1/type_traits (is_function): Minor consistency tweaks.
1351 2005-01-28 Geoffrey Keating <geoffk@apple.com>
1353 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
1354 for the compiler. Don't set cxxflags.
1355 (v3_target_compile): Search for libv3test.a relative to $objdir.
1356 (lsearch_all_inline): New.
1357 (lsearch_all_inline_not): New.
1358 (v3-list-tests): Rewrite to not need generated files.
1359 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
1360 (IGNORE_THREAD): New.
1361 (TESTS_TO_IGNORE): New.
1362 (site.exp): Set tests_to_ignore, cxxflags.
1363 * aclocal.m4: Regenerate.
1364 * Makefile.in: Regenerate.
1365 * libmath/Makefile.in: Likewise.
1366 * libsupc++/Makefile.in: Likewise.
1367 * po/Makefile.in: Likewise.
1368 * src/Makefile.in: Likewise.
1369 * testsuite/Makefile.in: Likewise.
1371 2005-01-28 Paolo Carlini <pcarlini@suse.de>
1373 * include/tr1/type_traits: Implement is_empty.
1374 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
1376 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
1377 typedefs.cc: Likewise.
1379 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
1381 2005-01-28 Paolo Carlini <pcarlini@suse.de>
1383 * include/tr1/type_traits: Implement is_abstract, by exploiting the
1384 resolution of DR core/337.
1385 * testsuite/testsuite_tr1.h: Add AbstractClass.
1386 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
1387 is_abstract.cc: New.
1388 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
1389 typedefs.cc: Likewise.
1391 * include/tr1/type_traits (is_function): Rewrite, use the conversion
1392 F& -> F* instead, thus avoiding problems with abstract classes.
1393 * testsuite/tr1/4_metaprogramming/primary_type_categories/
1394 is_function/is_function.cc: Add a test for tricky AbstractClass.
1396 2005-01-26 Paolo Carlini <pcarlini@suse.de>
1398 * include/ext/mt_allocator.h
1399 (struct __per_type_pool_policy<,, false>::_S_get_pool,
1400 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
1401 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
1402 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
1403 reduce to 64 the multiplier for _M_max_bytes (safer wrt
1404 _Binmap_type being a short); trivial reformattings.
1405 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
1407 2005-01-26 Paolo Carlini <pcarlini@suse.de>
1409 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
1410 to the final test for enable_c99, thus robustifying it; remove
1411 duplicate final test on ac_99_math.
1412 * configure: Regenerate.
1414 * include/std/std_complex.h: Remove usages of the dead
1415 _GLIBCXX_BUGGY_COMPLEX macro.
1417 * testsuite/26_numerics/cmath/19322.cc: Protect with
1418 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
1419 since only C99 math facilities are involved.
1420 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
1423 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
1425 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
1426 instead of generic. Change autoconf report to "darwin or freebsd".
1427 * configure: Regenerate.
1428 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
1429 (ctype<wchar_t>::do_scan_is): Likewise.
1430 (ctype<wchar_t>::do_scan_not): Likewise.
1432 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
1434 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
1435 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
1436 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
1437 * config.h.in: Regenerate.
1438 * configure: Regenerate.
1439 * include/std/std_complex.h: Protect complex builtins with
1440 _GLIBCXX_USE_C99_COMPLEX_MATH.
1442 2005-01-24 Paolo Carlini <pcarlini@suse.de>
1444 * include/tr1/type_traits: Implement is_signed and is_unsigned.
1445 * testsuite/tr1/4_metaprogramming/type_properties/
1446 is_signed/is_signed.cc: New.
1447 * testsuite/tr1/4_metaprogramming/type_properties/
1448 is_signed/typedefs.cc: Likewise.
1449 * testsuite/tr1/4_metaprogramming/type_properties/
1450 is_unsigned/is_unsigned.cc: Likewise.
1451 * testsuite/tr1/4_metaprogramming/type_properties/
1452 is_unsigned/typedefs.cc: Likewise.
1454 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1456 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
1458 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1460 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
1461 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
1462 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
1463 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
1464 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
1465 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
1466 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
1467 * testsuite/27_io/basic_ostream/flush/wchar_t/
1468 exceptions_badbit_throw.cc: Likewise.
1469 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1470 wchar_t/2.cc: Likewise.
1471 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1472 wchar_t/3.cc: Likewise.
1473 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1474 wchar_t/4.cc: Likewise.
1475 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1476 wchar_t/4402.cc: Likewise.
1477 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1478 wchar_t/5.cc: Likewise.
1479 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1480 wchar_t/6.cc: Likewise.
1481 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1482 wchar_t/9555-oa.cc: Likewise.
1483 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1484 wchar_t/exceptions_badbit_throw.cc: Likewise.
1485 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1486 wchar_t/exceptions_failbit_throw.cc: Likewise.
1487 * testsuite/27_io/basic_ostream/inserters_character/
1488 wchar_t/1.cc: Likewise.
1489 * testsuite/27_io/basic_ostream/inserters_character/
1490 wchar_t/2.cc: Likewise.
1491 * testsuite/27_io/basic_ostream/inserters_character/
1492 wchar_t/3.cc: Likewise.
1493 * testsuite/27_io/basic_ostream/inserters_character/
1494 wchar_t/4.cc: Likewise.
1495 * testsuite/27_io/basic_ostream/inserters_character/
1496 wchar_t/5.cc: Likewise.
1497 * testsuite/27_io/basic_ostream/inserters_character/
1498 wchar_t/6.cc: Likewise.
1499 * testsuite/27_io/basic_ostream/inserters_character/
1500 wchar_t/9555-oc.cc: Likewise.
1501 * testsuite/27_io/basic_ostream/inserters_other/
1502 wchar_t/1.cc: Likewise.
1503 * testsuite/27_io/basic_ostream/inserters_other/
1504 wchar_t/2.cc: Likewise.
1505 * testsuite/27_io/basic_ostream/inserters_other/
1506 wchar_t/3.cc: Likewise.
1507 * testsuite/27_io/basic_ostream/inserters_other/
1508 wchar_t/4.cc: Likewise.
1509 * testsuite/27_io/basic_ostream/inserters_other/
1510 wchar_t/5.cc: Likewise.
1511 * testsuite/27_io/basic_ostream/inserters_other/
1512 wchar_t/9318-out.cc: Likewise.
1513 * testsuite/27_io/basic_ostream/inserters_other/
1514 wchar_t/9424-out.cc: Likewise.
1515 * testsuite/27_io/basic_ostream/inserters_other/
1516 wchar_t/9555-oo.cc: Likewise.
1517 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1518 error_failbit.cc: Likewise.
1519 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1520 exceptions_badbit_throw.cc: Likewise.
1521 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1522 exceptions_failbit_throw.cc: Likewise.
1523 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1524 exceptions_null.cc: Likewise.
1525 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
1526 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
1527 * testsuite/27_io/basic_ostream/seekp/char/
1528 exceptions_badbit_throw.cc: Likewise.
1529 * testsuite/27_io/basic_ostream/seekp/wchar_t/
1530 2346-fstream.cc: Likewise.
1531 * testsuite/27_io/basic_ostream/seekp/wchar_t/
1532 2346-sstream.cc: Likewise.
1533 * testsuite/27_io/basic_ostream/seekp/wchar_t/
1534 exceptions_badbit_throw.cc: Likewise.
1535 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
1536 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
1537 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
1538 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
1539 * testsuite/27_io/basic_ostream/tellp/wchar_t/
1540 exceptions_badbit_throw.cc: Likewise.
1541 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
1543 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
1544 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
1545 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
1546 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
1547 * testsuite/data/wostream_seeks-1.tst: Likewise.
1549 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
1550 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
1551 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
1552 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
1553 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
1554 * testsuite/27_io/basic_ostream/flush/char/
1555 exceptions_badbit_throw.cc: Likewise.
1556 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1557 char/2.cc: Likewise.
1558 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1559 char/3.cc: Likewise.
1560 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1561 char/4.cc: Likewise.
1562 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1563 char/4402.cc: Likewise.
1564 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1565 char/5.cc: Likewise.
1566 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1567 char/6.cc: Likewise.
1568 * testsuite/27_io/basic_ostream/inserters_character/
1569 char/4.cc: Likewise.
1570 * testsuite/27_io/basic_ostream/inserters_other/char/
1572 * testsuite/27_io/basic_ostream/inserters_other/char/
1574 * testsuite/27_io/basic_ostream/inserters_other/char/
1575 error_failbit.cc: Likewise.
1576 * testsuite/27_io/basic_ostream/inserters_other/char/
1577 exceptions_badbit_throw.cc: Likewise.
1578 * testsuite/27_io/basic_ostream/inserters_other/char/
1579 exceptions_failbit_throw.cc: Likewise.
1580 * testsuite/27_io/basic_ostream/inserters_other/char/
1581 exceptions_null.cc: Likewise.
1582 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
1583 * testsuite/27_io/basic_ostream/seekp/char/
1584 exceptions_badbit_throw.cc: Likewise.
1585 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
1586 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
1588 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1590 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
1593 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1594 Andreas Jaeger <aj@suse.de>
1597 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
1599 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
1601 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
1602 lseek on fifo to succeed. Thus, check for consistent report.
1604 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1607 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
1609 (_List_const_iterator): Likewise.
1610 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
1611 (_Rb_tree_const_iterator): Likewise.
1613 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
1614 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
1616 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
1618 * testsuite/Makefile.am (check-compile): New.
1619 * testsuite/Makefile.in: Regenerate.
1620 * scripts/check_compile_time: New.
1621 * scripts/check_performance: Tweaks.
1623 2005-01-19 Paolo Carlini <pcarlini@suse.de>
1626 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
1627 Fix typo in the return type.
1628 * testsuite/tr1/6_containers/utility/19535.cc: New.
1630 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
1632 * include/ext/array_allocator.h (array_allocator<>::allocate):
1633 Avoid __used. Use __array_used instead.
1634 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
1636 2005-01-18 David Edelsohn <edelsohn@gnu.org>
1638 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
1639 (_XOPEN_SOURCE_EXTENDED): Delete.
1641 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
1643 * testsuite/testsuite_performance.h (time_counter::start):
1645 (clear_counters): Inline.
1646 (start_counters): Inline.
1647 (stop_counters): Inline.
1648 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
1649 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
1651 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
1653 2005-01-17 Paolo Carlini <pcarlini@suse.de>
1656 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
1657 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
1658 Obtain amortized constant complexity if t is inserted right after
1659 p - not before p - as per Table 69.
1660 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
1662 * testsuite/23_containers/multiset/insert/2.cc: New.
1663 * testsuite/23_containers/set/insert/1.cc: Likewise.
1665 * testsuite/performance/23_containers/set_create_from_sorted.cc:
1668 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
1670 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
1672 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
1673 * testsuite/ext/rope/4.cc: Add.
1675 2005-01-16 Lorenz Minder <lminder@gmx.net>
1676 Paolo Carlini <pcarlini@suse.de>
1679 * include/c_std/std_cmath.h: Define the C99 classification facilities
1680 directly inside namespace std:.
1681 * testsuite/26_numerics/cmath/19322.cc: New.
1683 2005-01-15 David Edelsohn <edelsohn@gnu.org>
1685 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
1687 2005-01-14 Paolo Carlini <pcarlini@suse.de>
1690 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
1691 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
1692 respectively) with hint (end()).
1693 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
1695 2005-01-13 Geoffrey Keating <geoffk@apple.com>
1697 * configure.host (darwin): On darwin8 or later, no need to build
1698 libstdc++ with -flat_namespace.
1700 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
1702 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
1704 2005-01-13 Paolo Carlini <pcarlini@suse.de>
1706 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
1707 Re-enable commented-out test for double type.
1709 2005-01-11 Paolo Carlini <pcarlini@suse.de>
1710 Benjamin Kosnik <bkoz@redhat.com>
1712 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1713 basic_istream<char>::ignore(streamsize, int_type),
1714 basic_istream<wchar_t>::ignore(streamsize),
1715 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
1716 more than numeric_limits<streamsize>::max() chars are skipped,
1717 set _M_gcount = max().
1718 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1719 int_type)): Likewise; keep simple, don't forward.
1721 2005-01-11 Paolo Carlini <pcarlini@suse.de>
1723 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1724 basic_istream<char>::ignore(streamsize, int_type),
1725 basic_istream<wchar_t>::ignore(streamsize),
1726 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
1727 2005-01-05 change: actually, the previous behavior is conforming
1728 and consistent with that of get(char_type*, streamsize, char_type),
1729 albeit slightly different from that of 3.3/3.4 in a corner case
1730 due to the use of snextc.
1731 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1732 int_type)): Likewise.
1733 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
1734 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
1736 2005-01-11 Paolo Carlini <pcarlini@suse.de>
1738 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
1739 * testsuite/tr1/4_metaprogramming/other_transformations/
1740 aligned_storage/aligned_storage.cc: New.
1741 * testsuite/tr1/4_metaprogramming/other_transformations/
1742 aligned_storage/typedefs.cc: Likewise.
1743 * testsuite/tr1/4_metaprogramming/type_properties/
1744 alignment_of/alignment_of.cc: Likewise.
1745 * testsuite/tr1/4_metaprogramming/type_properties/
1746 alignment_of/typedefs.cc: Likewise.
1748 2005-01-10 Paolo Carlini <pcarlini@suse.de>
1750 * Makefile.in: Regenerate.
1751 * libmath/Makefile.in: Likewise.
1752 * libsupc++/Makefile.in: Likewise.
1753 * po/Makefile.in: Likewise.
1754 * src/Makefile.in: Likewise.
1755 * testsuite/Makefile.in: Likewise.
1757 2005-01-10 Paolo Carlini <pcarlini@suse.de>
1759 * include/bits/stl_algobase.h (lexicographical_compare):
1762 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
1764 * acinclude.m4: Remove CCODECVT_H.
1765 * configure: Regenerate.
1766 * include/Makefile.am (host_headers_extra): Move to...
1767 (ext_headers): ...here.
1768 * include/Makefile.in: Regenerate.
1769 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
1771 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
1772 * include/ext/codecvt_specializations.h: ...here. Remove
1773 _GLIBCXX_USE___ENC_TRAITS.
1774 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
1775 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
1777 * config/locale/generic/codecvt_specializations.h: Remove.
1778 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
1779 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
1781 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
1783 * include/bits/fstream.tcc: Remove unnecessary qualifications for
1784 uglified data members of basic_filebuf, including _M_buf,
1785 _M_buf_size, _M_mode, _M_pback_init.
1786 * include/std/std_fstream.h: Same.
1788 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
1790 * testsuite/testsuite_hooks.h:
1791 (copy_constructor::mark_call): Use __throw_runtime_error.
1792 (assignment_operator::mark_call): Same.
1793 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
1794 (locale_data): Remove, just use runtime_error directly.
1795 (environment_variable): Same.
1797 (run_tests_wrapped_locale): Use __throw_runtime_error.
1798 (run_tests_wrapped_env): Same.
1799 (semaphore::semaphore): Same.
1800 (semaphore::signal): Same.
1801 (semaphore::wait): Same.
1802 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
1803 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
1804 (create_symbols): Use __throw_runtime_error.
1805 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
1807 2005-01-05 Mark Mitchell <mark@codesourcery.com>
1809 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
1812 2005-01-05 Paolo Carlini <pcarlini@suse.de>
1814 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1815 basic_istream<char>::ignore(streamsize, int_type),
1816 basic_istream<wchar_t>::ignore(streamsize),
1817 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
1818 first check _M_gcount vs __n.
1819 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1820 int_type)): Likewise.
1821 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
1822 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
1824 2005-01-03 Mark Mitchell <mark@codesourcery.com>
1826 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
1827 instead of just throw.
1829 * testsuite/testsuite_hooks.cc: Update coypright and follow style
1831 * testsuite/testsuite_hooks.h: Likewise.
1832 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
1833 semaphores, not sleep.
1834 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
1835 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1836 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1837 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
1839 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
1840 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1841 * testsuite/27_io/objects/char/7.cc: Likewise.
1842 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1843 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
1844 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1846 * configure.ac: Check for sys/ipc.h and sys/sem.h.
1847 * config.h.in: Regenerated.
1848 * configure: Likewise.
1849 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
1851 (sys/types.h): Include.
1852 (sys/ipc.h): Likewise.
1853 (sys/sem.h): Likewise.
1854 (__gnu_test::semun): New type.
1855 (__gnu_test::semaphore::sempaphore): New function.
1856 (__gnu_test::semaphore::~semaphore): Likewise.
1857 (__gnu_test::semaphore::wait): Likewise.
1858 (__gnu_test::semaphore::signal): Likewise.
1859 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
1860 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
1861 semaphores, not sleep.
1862 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
1863 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1864 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1865 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
1867 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
1868 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1869 * testsuite/27_io/objects/char/7.cc: Likewise.
1870 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1871 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
1872 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1874 2005-01-03 Paolo Carlini <pcarlini@suse.de>
1876 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1877 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
1878 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
1879 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
1880 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1881 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
1883 2005-01-02 Paolo Carlini <pcarlini@suse.de>
1885 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1886 basic_istream<char>::ignore(streamsize, int_type),
1887 basic_istream<wchar_t>::ignore(streamsize),
1888 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
1889 _M_gcount overflows.
1890 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1891 int_type)): Likewise; use snextc in the main loop, consistently
1892 with the specializations above.
1894 2005-01-02 Chris Jefferson <chris@bubblescope.net>
1896 * include/bits/stl_algobase.h (mismatch): Correct concept check.
1898 2005-01-01 Paolo Carlini <pcarlini@suse.de>
1900 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
1901 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
1902 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
1904 2005-01-01 Paolo Carlini <pcarlini@suse.de>
1906 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
1907 null-terminate array1 at the outset.
1908 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: