1 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
3 * include/ext/bitmap_allocator.h
4 (__gnu_cxx::free_list::_M_get_mutex): New.
5 (__gnu_cxx::free_list::_M_get_free_list): New.
6 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
7 (__gnu_cxx::free_list::_S_free_list): Remove.
8 * src/bitmap_allocator.cc: Same.
9 * config/linker-map.gnu: Remove free_list and mutex export.
11 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
13 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
15 (character::from): New.
16 (operator==): Add state parameter.
18 (char_traits::copy): Use std::copy.
19 (char_traits::assign): Use std::fill_n.
20 (char_traits::to_char_type): Use character::from.
21 (char_traits::to_int_type): Use character::to.
22 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
23 (__gnu_test::conversion_state): Remove.
24 (__gnu_test::pod_char): Remove.
25 (pod_char): New typedef.
26 (pod_uchar): New typedef.
27 (pod_ushort): New typedef.
28 * testsuite/testsuite_character.cc: Fixups.
29 * testsuite/21_strings/basic_string/inserters_extractors/pod/
31 * testsuite/21_strings/basic_string/inserters_extractors/pod/
33 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
34 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
35 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
36 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
37 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
38 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
39 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
40 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
41 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
42 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
43 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
44 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
45 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
47 * testsuite/27_io/basic_istream/extractors_character/pod/
49 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
50 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
51 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
53 2005-04-12 Mike Stump <mrs@apple.com>
55 * configure: Regenerate.
57 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
59 * testsuite/Makefile.am: Remove libv3test.a.
60 * testsuite/Makefile.in: Regenerate.
61 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
63 2005-04-08 Paolo Carlini <pcarlini@suse.de>
66 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
67 Don't even try to group numbers like 2e20, i.e., no decimal
68 point, scientific notation.
69 * testsuite/22_locale/num_put/put/char/20909.cc: New.
70 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
72 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
74 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
75 * acconfig.h: Delete file.
76 * Makefile.in, acinclude.m4, configure: Regenerate.
78 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
80 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
81 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
82 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
83 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
84 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
85 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
86 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
87 * acconfig.h: Delete redundant macros.
88 * config.h.in, configure: Regenerate.
90 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
92 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
93 a subshell and if test fails, test for same functions with
95 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
96 * configure: Regenerate.
98 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
99 Paolo Carlini <pcarlini@suse.de>
102 * config/os/mingw32/os_defines.h: Define
103 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
104 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
105 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
107 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
109 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
111 * acconfig.h: Sort the bottom section.
112 * config.h.in: Regenerate.
114 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
116 * acconfig.h: Remove redundant HAVE_FLOAT_H.
117 * config.h.in: Regenerate.
119 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
121 * configure.ac: Create template for PACKAGE and VERSION.
122 Update comment on how to regenerate file. Update minimum
123 automake version to 1.9.3.
124 * acconfig.h: Remove PACKAGE and VERSION.
125 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
126 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
127 testsuite/Makefile.in, config.h.in: Regenerate.
129 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
131 * docs/html/test.html: Update.
132 * testsuite/printnow.c: Remove.
133 * scripts/check_survey.in: Remove.
135 * testsuite/abi_check.cc: To...
136 * testuite/testsuite_abi_check.cc: ...here.
137 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
138 testsuite_abi_check.cc.
140 * testsuite/testsuite_hooks.h: Move character related bits to...
141 * testsuite/testsuite_character.h: ...here.
142 * testsuite/testsuite_character.cc: ... and here.
143 * testsuite/21_strings/basic_string/inserters_extractors/pod/
144 10081-in.cc: Use testsuite_character.h.
145 * testsuite/21_strings/basic_string/inserters_extractors/pod/
147 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
148 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
149 * testsuite/27_io/basic_filebuf/2.cc: Same.
150 * testsuite/27_io/basic_fstream/2.cc: Same.
151 * testsuite/27_io/basic_istream/2.cc: Same.
152 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
154 * testsuite/27_io/basic_istream/extractors_character/char/
156 * testsuite/27_io/basic_istream/extractors_character/pod/
158 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
159 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
160 * testsuite/27_io/basic_ostream/2.cc: Same.
161 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
162 * testsuite/27_io/basic_streambuf/2.cc: Same.
163 * testsuite/27_io/basic_stringbuf/2.cc: Same.
164 * testsuite/27_io/basic_stringbuf/4.cc: Same.
165 * testsuite/27_io/basic_stringstream/2.cc: Same.
166 * testsuite/27_io/fpos/1.cc: Same.
167 * testsuite/ext/mt_allocator/tune-1.cc: Same.
168 * testsuite/ext/mt_allocator/tune-2.cc: Same.
169 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
170 * testsuite/lib/libstdc++.exp (v3-build_support): Add
171 testsuite_character.cc.
172 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
173 testsuite_character.cc.
174 * testsuite/Makefile.in: Regenerate.
176 * configure.ac: Remove use of check_survey.
177 * configure: Regenerate.
178 * testsuite/Makefile.am: Remove check-script and
179 check-script-install rules.
180 * testsuite/Makefile.in: Regenerate.
182 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
184 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
185 clobber to inline assembly statement.
187 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
189 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
190 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
191 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
192 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
193 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
194 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
195 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
196 * acconfig.h: ... to eliminate them from here.
197 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
198 * config.h.in, configure: Regenerate.
200 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
202 * Makefile.am (ACLOCAL_AMFLAGS): Define.
203 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
204 * configure.ac: Use it.
205 * acinclude.m4: Delete explicit m4_includes and sincludes.
206 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
207 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
208 testsuite/Makefile.in: Regenerate.
210 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
212 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
213 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
214 to destroy resources by testing for equality, not inequality. Add
215 empty critical sections to solve memory visibility issues.
216 * testsuite/tr1/2_general_utilities/memory/
217 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
218 explicitly listing line numbers which need to be kept in sync.
219 * testsuite/tr1/2_general_utilities/memory/
220 shared_ptr/assign/auto_ptr_neg.cc: Same.
221 * testsuite/tr1/2_general_utilities/memory/
222 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
223 * testsuite/tr1/2_general_utilities/memory/
224 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
226 * testsuite/tr1/2_general_utilities/memory/
227 enable_shared_from_this/not_shared.cc: Add explanatory comments.
228 * testsuite/tr1/2_general_utilities/memory/
229 enable_shared_from_this/not_shared2.cc: Same.
230 * testsuite/tr1/2_general_utilities/memory/
231 enable_shared_from_this/not_shared3.cc: Same.
233 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
235 * acconfig.h: Delete macros already AC_DEFINED.
236 * config.h.in: Regenerate.
238 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
240 * acconfig.h (HAVE_MODF): Remove.
241 * linkage.m4: Check for modf.
242 * config.h.in, configure: Regenerate.
244 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
246 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
247 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
248 * config.h.in: Regenerate.
250 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
252 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
253 to convert to uppercase instead of shelling out to tr.
254 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
255 * configure, config.h.in: Regenerate.
257 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
259 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
260 * config.h.in: Regenerate.
262 2005-04-04 Mark Mitchell <mark@codesourcery.com>
264 * testsuite/Makefile.am (check-local): Remove.
265 (curent_symbols.txt): Likewise.
266 (check-abi): Do not depend on current_symbols.txt.
267 * testsuite/Makefile.in: Regenerated.
268 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
270 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
272 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
273 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
274 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
276 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
279 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
281 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
282 member pointers in _Mem_fn but let other function objects pass
284 * include/tr1/functional_iterator (bind): Reduce number of bind()
285 overloads to two to eliminate ambiguities. Use
286 _Maybe_wrap_member_pointer to handle member pointers gracefully.
288 2005-04-01 Mark Mitchell <mark@codesourcery.com>
290 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
291 (site.exp): Write out the path to the baseline file.
292 (check-abi): Use DejaGNU.
293 (check-abi-verbose): Remove.
294 * testsuite/Makefile.in: Regenerated.
295 * testsuite/abi_check.cc (main): Check the return value from
297 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
298 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
299 * testsuite/libstdc++-abi/abi.exp: New file.
301 2005-03-31 Chris Jefferson <chris@bubblescope.net>
303 * include/tr1/tuple: Support iteration via tuple_iterate.h.
304 * include/tr1/tuple_iterate.h: Iteration file for tuple.
306 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
308 * include/Makefile.am (tr1_headers): Add bind and mu repetition
309 headers and reference_wrapper<> forwarding header.
310 * include/Makefile.in: Regenerate.
311 * include/tr1/bind_iterate.h: Implementation of function call
312 operators for the function object returned from tr1::bind().
313 * include/tr1/bind_repeat.h: Bind-specific repetition header,
314 akin to include/tr1/repeat.h.
315 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
316 template for use with result_of.
317 (is_bind_expression): New.
318 (is_placeholder): New.
319 (_Placeholder): New. Placeholder type for bind.
320 (_Mu): New. Implementation detail of bind.
321 (_Bind, _Bind_result): New. Function objects returned by bind.
322 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
323 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
324 New. Implementation of tr1::bind.
325 * include/tr1/mu_iterate.h (_Mu): result template and operator()
326 for the _Mu helper to bind.
327 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
328 used by tuple header.
331 * include/tr1/repeat.h: Add bind-specific repetition macros.
332 * include/tr1/tuple: Use reference_wrapper forwarding header for
333 initial definitions, then include <tr1/functional> at the end, to
334 make the circular dependencies work.
335 (tie): Support zero-argument tie() function.
336 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
337 bind() functionality with parameters bound.
338 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
339 nested bind() expressions.
340 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
341 of bind() placeholders.
342 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
343 with arguments bound via reference_wrapper<>.
344 * scripts/gen_includers.pl: Generate the repetitive part of
345 include/tr1/repeat.h.
346 * scripts/gen_bind_includers.pl: Generate the repetitive part of
347 include/tr1/bind_repeat.h.
349 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
351 * testsuite/Makefile.am (CXX): Use ${SHELL}.
352 (GLIBCXX_INCLUDES): Same.
354 * testsuite/Makefile.in: Regenerate.
356 2005-03-25 Mark Mitchell <mark@codesourcery.com>
358 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
359 when testing an installed compiler.
361 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
362 compiling support objects.
364 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
366 * include/tr1/memory: Forward to...
367 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
368 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
369 * include/Makefile.in: Regenerate.
370 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
371 auto_ptr_neg.cc: Adjust line numbers.
373 2005-03-23 Mark Mitchell <mark@codesourcery.com>
375 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
376 * testsuite/Makefile.in: Regenerated.
378 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
380 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
381 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
382 _GLIBCXX_USE_C99_WCHAR.
383 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
384 and GLIBCXX_ENABLE_WCHAR_T.
385 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
387 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
388 GLIBCXX_CHECK_ICONV_SUPPORT.
389 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
390 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
391 * crossconfig.m4: Same.
392 * acconfig.h: Same, adjust comments.
393 * config.h.in: Regenerate.
394 * configure: Regenerate.
395 * docs/html/configopts.html: Change --enable-c-mbchar to
398 * config/locale/gnu/c++locale_internal.h: Guard wide functions
399 with _GLIBCXX_USE_WCHAR_T.
400 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
401 * include/c_std/std_cstdio.h: Spacing.
403 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
404 * src/debug.cc: Same.
406 2005-03-23 Mark Mitchell <mark@codesourcery.com>
408 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
411 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
412 (v3-wchar_t): ... this.
413 (libstdc++_threads): Rename to ...
414 (v3-threads): ... this.
415 (libstdc++_test_objs): Rename to ...
416 (v3-test_objs): ... this.
417 (libstdc++_build_support): Rename to ...
418 (v3-build_support): ... this.
419 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
421 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
422 of compilers not in the build directory.
423 (libstdc++_wchar_t): New variable.
424 (libstdc++_threads): Likewise.
425 (libstdc++_test_objs): Likewise.
426 (v3_target_compile): Use libstdc++_test_objs.
427 (v3-list-tests): Remove.
428 (listdc++_build_support): New function.
429 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
430 generate list of tests.
432 2005-03-21 Chris Jefferson <chris@bubblescope.net>
435 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
436 to swap when the iterator's reference_type is a reference to its
438 * testsuite/25_algorithms/iter_swap/20577.cc: New.
440 2005-03-21 Zack Weinberg <zack@codesourcery.com>
442 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
443 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
444 is expanded by the Makefiles, not by configure.
445 * fragment.am: Set gcc_version.
446 * libmath/Makefile.am: Likewise.
447 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
448 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
449 * testsuite/Makefile.in: Regenerate.
451 2005-03-16 Paolo Carlini <pcarlini@suse.de>
453 * testsuite/20_util/functional/binders.cc: Remove explicit
454 instantiations for non-weak systems.
455 * testsuite/20_util/memory/allocator/1.cc: Likewise.
456 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
457 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
458 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
459 * testsuite/20_util/utility/rel_ops.cc: Likewise.
460 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
461 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
462 * testsuite/23_containers/deque/cons/1.cc: Likewise.
463 * testsuite/23_containers/deque/cons/2.cc: Likewise.
464 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
465 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
466 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
467 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
468 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
469 * testsuite/23_containers/deque/operators/1.cc: Likewise.
470 * testsuite/23_containers/list/capacity/1.cc: Likewise.
471 * testsuite/23_containers/list/cons/1.cc: Likewise.
472 * testsuite/23_containers/list/cons/2.cc: Likewise.
473 * testsuite/23_containers/list/cons/3.cc: Likewise.
474 * testsuite/23_containers/list/cons/4.cc: Likewise.
475 * testsuite/23_containers/list/cons/5.cc: Likewise.
476 * testsuite/23_containers/list/cons/6.cc: Likewise.
477 * testsuite/23_containers/list/cons/7.cc: Likewise.
478 * testsuite/23_containers/list/cons/8.cc: Likewise.
479 * testsuite/23_containers/list/cons/9.cc: Likewise.
480 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
481 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
482 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
483 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
484 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
485 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
486 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
487 * testsuite/23_containers/list/operators/1.cc: Likewise.
488 * testsuite/23_containers/list/operators/2.cc: Likewise.
489 * testsuite/23_containers/list/operators/3.cc: Likewise.
490 * testsuite/23_containers/list/operators/4.cc: Likewise.
491 * testsuite/23_containers/map/insert/1.cc: Likewise.
492 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
493 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
494 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
495 * testsuite/23_containers/map/operators/1.cc: Likewise.
496 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
497 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
498 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
499 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
500 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
501 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
502 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
503 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
504 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
505 * testsuite/23_containers/queue/members/7157.cc: Likewise.
506 * testsuite/23_containers/set/insert/1.cc: Likewise.
507 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
508 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
509 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
510 * testsuite/23_containers/stack/members/7158.cc: Likewise.
511 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
512 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
513 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
514 * testsuite/23_containers/vector/cons/1.cc: Likewise.
515 * testsuite/23_containers/vector/cons/2.cc: Likewise.
516 * testsuite/23_containers/vector/cons/3.cc: Likewise.
517 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
518 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
519 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
520 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
521 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
522 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
523 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
524 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
525 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
526 * testsuite/23_containers/vector/resize/1.cc: Likewise.
527 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
528 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
529 * testsuite/24_iterators/insert_iterator.cc: Likewise.
530 * testsuite/24_iterators/iterator.cc: Likewise.
531 * testsuite/25_algorithms/copy/1.cc: Likewise.
532 * testsuite/25_algorithms/copy/2.cc: Likewise.
533 * testsuite/25_algorithms/copy/3.cc: Likewise.
534 * testsuite/25_algorithms/copy/4.cc: Likewise.
535 * testsuite/25_algorithms/equal.cc: Likewise.
536 * testsuite/25_algorithms/fill/1.cc: Likewise.
537 * testsuite/25_algorithms/fill/2.cc: Likewise.
538 * testsuite/25_algorithms/min_max.cc: Likewise.
539 * testsuite/25_algorithms/rotate.cc: Likewise.
540 * testsuite/25_algorithms/unique/1.cc: Likewise.
541 * testsuite/25_algorithms/unique/2.cc: Likewise.
542 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
543 * testsuite/ext/concept_checks.cc: Likewise.
544 * testsuite/ext/hash_map/1.cc: Likewise.
545 * testsuite/ext/hash_set/1.cc: Likewise.
546 * testsuite/ext/rope/1.cc: Likewise.
547 * testsuite/ext/rope/2.cc: Likewise.
548 * testsuite/ext/rope/3.cc: Likewise.
549 * testsuite/thread/pthread1.cc: Likewise.
550 * testsuite/thread/pthread4.cc: Likewise.
551 * testsuite/thread/pthread5.cc: Likewise.
552 * testsuite/thread/pthread6.cc: Likewise.
553 * testsuite/thread/pthread7-rope.cc: Likewise.
555 2005-03-15 Zack Weinberg <zack@codesourcery.com>
557 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
558 subdirectory. Generate #define of __GLIBCXX__ from contents of
560 * include/Makefile.in: Regenerate.
561 * include/bits/c++config: Do not define __GLIBCXX__.
563 2005-03-15 Paolo Carlini <pcarlini@suse.de>
566 * include/std/std_complex.h (pow(const complex<_Tp>&,
567 const _Tp&)): On non-c99 platforms, don't try to compute
570 2005-03-10 Ben Elliston <bje@au.ibm.com>
572 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
575 2005-03-07 Paolo Carlini <pcarlini@suse.de>
577 * include/tr1/type_traits (is_polymorphic): Don't forget
578 the virtual destructor, thus avoiding warnings.
579 * testsuite/testsuite_tr1.h (class AbstractClass,
580 class PolymorphicClass): Likewise.
582 2005-03-07 Paolo Carlini <pcarlini@suse.de>
584 * include/std/std_complex.h (pow(const complex<_Tp>&,
585 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
586 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
587 _GLIBCXX_USE_C99_COMPLEX.
589 2005-03-07 Paolo Carlini <pcarlini@suse.de>
591 * include/std/std_fstream.h (basic_fstream<>::open,
592 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
593 resolution of DR 409 [Ready], call clear() on success.
594 * docs/html/ext/howto.html: Add an entry for DR 409.
595 * docs/html/faq/index.html (4_4): Clarify the new behavior.
596 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
597 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
599 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
601 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
602 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
603 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
604 testsuite/22_locale/collate/hash/wchar_t/2.cc,
605 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
606 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
607 testsuite/22_locale/collate/transform/wchar_t/2.cc,
608 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
609 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
610 XFAIL on *-*-hpux11.23.
612 2005-03-04 Paolo Carlini <pcarlini@suse.de>
614 * include/tr1/type_traits: Add is_base_of.
615 * testsuite/tr1/4_metaprogramming/relationships_between_types/
616 is_base_of/is_base_of.cc: New.
617 * testsuite/tr1/4_metaprogramming/relationships_between_types/
618 is_base_of/typedefs.cc: Likewise.
620 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
622 * include/tr1/functional: Convert relative path.
624 * docs/doxygen/user.cfg.in: Add tr1 includes.
626 2005-03-03 Paolo Carlini <pcarlini@suse.de>
628 * include/tr1/type_traits: Implemenet is_polymorphic.
629 (is_empty): Minor tweaks.
630 * testsuite/testsuite_tr1.h: Add test types.
631 * testsuite/tr1/4_metaprogramming/type_properties/
632 is_polymorphic/is_polymorphic.cc: New.
633 * testsuite/tr1/4_metaprogramming/type_properties/
634 is_polymorphic/typedefs.cc: Likewise.
635 * testsuite/tr1/4_metaprogramming/composite_type_traits/
636 is_union_or_class/is_union_or_class.cc: Add tests.
638 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
640 * include/tr1/functional (_Has_result_type): Cleanup.
641 (_Result_of_impl): Handle member data pointers correctly.
642 (reference_wrapper): Support invocation.
643 Move repetition code into new file include/tr1/repeat.h.
644 * include/tr1/functional_iterate.h (reference_wrapper): Support
645 invocation. Cleanup long lines.
646 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
647 invocation operators.
648 * include/tr1/repeat.h: Code repetition header.
649 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
650 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
651 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
652 New test of reference_wrapper invocation.
653 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
654 New test of reference_wrapper typedefs and base classes.
655 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
658 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
660 * include/tr1/function (result_of): New class template.
661 * include/tr1/functional/iterator.h: Implementation of TR1
663 * testsuite/tr1/3_function_objects/result_of.cc: New test
665 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
667 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
669 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
671 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
672 cons/auto_ptr_neg.cc: Correct line numbers.
674 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
676 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
678 * include/tr1/memory: Replace checked_deleter with (unchecked)
679 _Sp_deleter as GCC warns about delete on incomplete types anyway.
681 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
683 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
685 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
688 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
689 'Q' constraint, not 'm'.
691 2005-02-26 Earl Chew <earl_chew@agilent.com>
692 Christopher Jefferson <chris@bubblescope.net>
694 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
695 memory if _M_key_compare throws.
697 2005-02-25 Paolo Carlini <pcarlini@suse.de>
699 * include/tr1/type_traits: Add the trivial is_union and is_class;
700 add the __is_union_or_class extension.
701 (is_enum, is_empty): Use the latter.
702 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
703 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
705 * testsuite/tr1/4_metaprogramming/composite_type_traits/
706 is_union_or_class/is_union_or_class.cc: New.
707 * testsuite/tr1/4_metaprogramming/composite_type_traits/
708 is_union_or_class/typedefs.cc: Likewise.
710 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
712 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
713 wchar_t use with _GLIBCXX_USE_WCHAR_T.
715 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
717 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
718 _GLIBCXX_USE_C99_COMPLEX.
719 * acinclude.m4: Same.
721 * configure: Regenerate.
724 2005-02-24 Paolo Carlini <pcarlini@suse.de>
726 * include/tr1/functional (mem_fn): Avoid _T, badname on
729 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
731 * include/tr1/functional (function): New class template.
732 (mem_fn): New function template.
733 Implementations of TR1 function and mem_fn facilities.
734 * include/tr1/functional_iterate.h: Implementations of TR1
735 function and mem_fn facilities.
736 * testsuite/tr1/3_function_objects/function/1.cc: New
737 test of std::tr1::function.
738 * testsuite/tr1/3_function_objects/function/2.cc: New
739 test of std::tr1::function.
740 * testsuite/tr1/3_function_objects/function/3.cc: New
741 test of std::tr1::function.
742 * testsuite/tr1/3_function_objects/function/4.cc: New
743 test of std::tr1::function.
744 * testsuite/tr1/3_function_objects/function/5.cc: New
745 test of std::tr1::function.
746 * testsuite/tr1/3_function_objects/function/6.cc: New
747 test of std::tr1::function.
748 * testsuite/tr1/3_function_objects/function/7.cc: New
749 test of std::tr1::function.
750 * testsuite/tr1/3_function_objects/function/8.cc: New
751 test of std::tr1::function.
752 * testsuite/tr1/3_function_objects/function/9.cc: New
753 test of std::tr1::function.
754 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
757 2005-02-23 Paolo Carlini <pcarlini@suse.de>
759 * include/tr1/type_traits: Implement is_convertible.
760 * testsuite/tr1/4_metaprogramming/relationships_between_types/
761 is_convertible/is_convertible.cc: New.
762 * testsuite/tr1/4_metaprogramming/relationships_between_types/
763 is_convertible/typedefs.cc: Likewise.
764 * testsuite/testsuite_tr1.h: Add class DerivedType.
766 * include/tr1/type_traits (is_function): Don't mistake references
767 to function types for function types.
768 * testsuite/tr1/4_metaprogramming/primary_type_categories/
769 is_function/is_function.cc: Add testcase.
771 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
773 * scripts/check_performance: Tweaks.
775 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
776 output file with extension that clean rules can find.
778 2005-02-22 Richard Henderson <rth@redhat.com>
781 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
782 decrement of uncaughtExceptions for rethrow.
784 2005-02-22 Paolo Carlini <pcarlini@suse.de>
786 * include/tr1/functional: Fix License to GPL with exception.
787 * include/tr1/hashtable: Likewise.
788 * include/tr1/tuple: Likewise.
789 * include/tr1/type_traits: Likewise.
790 * include/tr1/type_traits_fwd.h: Likewise.
791 * include/tr1/unordered_map: Likewise.
792 * include/tr1/unordered_set: Likewise.
793 * include/tr1/utility: Likewise.
795 2005-02-22 Paolo Carlini <pcarlini@suse.de>
797 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
798 auto_ptr_neg.cc: Add missing dg-do compile directive.
799 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
800 auto_ptr_rvalue_neg.cc: Likewise.
801 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
802 shared_ptr_neg.cc: Likewise.
803 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
804 auto_ptr_neg.cc: Likewise.
805 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
806 reset_neg.cc: Likewise.
807 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
808 swap_neg.cc: Likewise.
810 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
812 * include/Makefile.am, include/Makefile.in: Fix accidental extra
813 change from previous commit.
815 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
817 * include/tr1/memory: New file.
818 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
819 * testsuite/tr1/2_general_utilities/memory/
820 enable_shared_from_this/not_shared.cc: New test.
821 * testsuite/tr1/2_general_utilities/memory/
822 enable_shared_from_this/not_shared2.cc: New test.
823 * testsuite/tr1/2_general_utilities/memory/
824 enable_shared_from_this/not_shared3.cc: New test.
825 * testsuite/tr1/2_general_utilities/memory/
826 enable_shared_from_this/shared.cc: New test.
827 * testsuite/tr1/2_general_utilities/memory/
828 enable_shared_from_this/still_shared.cc: New test.
829 * testsuite/tr1/2_general_utilities/memory/
830 shared_ptr/assign/assign.cc: New test.
831 * testsuite/tr1/2_general_utilities/memory/
832 shared_ptr/assign/auto_ptr.cc: New test.
833 * testsuite/tr1/2_general_utilities/memory/
834 shared_ptr/assign/auto_ptr_neg.cc: New test.
835 * testsuite/tr1/2_general_utilities/memory/
836 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
837 * testsuite/tr1/2_general_utilities/memory/
838 shared_ptr/assign/shared_ptr.cc: New test.
839 * testsuite/tr1/2_general_utilities/memory/
840 shared_ptr/assign/shared_ptr_neg.cc: New test.
841 * testsuite/tr1/2_general_utilities/memory/
842 shared_ptr/comparison/cmp.cc: New test.
843 * testsuite/tr1/2_general_utilities/memory/
844 shared_ptr/cons/auto_ptr.cc: New test.
845 * testsuite/tr1/2_general_utilities/memory/
846 shared_ptr/cons/auto_ptr_neg.cc: New test.
847 * testsuite/tr1/2_general_utilities/memory/
848 shared_ptr/cons/copy.cc: New test.
849 * testsuite/tr1/2_general_utilities/memory/
850 shared_ptr/cons/default.cc: New test.
851 * testsuite/tr1/2_general_utilities/memory/
852 shared_ptr/cons/pointer.cc: New test.
853 * testsuite/tr1/2_general_utilities/memory/
854 shared_ptr/cons/weak_ptr.cc: New test.
855 * testsuite/tr1/2_general_utilities/memory/
856 shared_ptr/cons/weak_ptr_expired.cc: New test.
857 * testsuite/tr1/2_general_utilities/memory/
858 shared_ptr/dest/dest.cc: New test.
859 * testsuite/tr1/2_general_utilities/memory/
860 shared_ptr/misc/io.cc: New test.
861 * testsuite/tr1/2_general_utilities/memory/
862 shared_ptr/misc/swap.cc: New test.
863 * testsuite/tr1/2_general_utilities/memory/
864 shared_ptr/modifiers/reset.cc: New test.
865 * testsuite/tr1/2_general_utilities/memory/
866 shared_ptr/modifiers/reset_neg.cc: New test.
867 * testsuite/tr1/2_general_utilities/memory/
868 shared_ptr/modifiers/swap.cc: New test.
869 * testsuite/tr1/2_general_utilities/memory/
870 shared_ptr/modifiers/swap_neg.cc: New test.
871 * testsuite/tr1/2_general_utilities/memory/
872 shared_ptr/observers/bool_conv.cc: New test.
873 * testsuite/tr1/2_general_utilities/memory/
874 shared_ptr/observers/get.cc: New test.
875 * testsuite/tr1/2_general_utilities/memory/
876 shared_ptr/observers/unique.cc: New test.
877 * testsuite/tr1/2_general_utilities/memory/
878 shared_ptr/observers/use_count.cc: New test.
880 2005-02-21 Paolo Carlini <pcarlini@suse.de>
882 * include/tr1/type_traits (is_member_function_pointer):
883 Remove ugly workaround for c++/19076.
885 2005-02-21 Paolo Carlini <pcarlini@suse.de>
887 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
888 check for this == &_S_empty_rep, it's always false, here.
890 2005-02-19 Matt Austern <austern@gmail.com>
892 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
893 hash<T>::operator() a const member function for T a fundamental type
894 * include/tr1/hashtable (extract1st::operator()): Declare const.
895 (hash_code_base): Declare all member functions const
896 (hashtable::find): fix call to this->bucket_count()
897 (hashtable::count): Likewise.
898 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
899 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
900 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
901 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
902 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
904 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
907 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
908 _GLIBCXX_USE_WCHAR_T.
910 2005-02-18 Richard Henderson <rth@redhat.com>
913 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
914 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
915 uncaughtExceptions here instead of ...
916 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
917 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
918 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
919 (__cxa_get_exception_ptr): New.
920 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
922 2005-02-18 Matt Austern <austern@apple.com>
924 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
925 test case to use assignment instead of ==
926 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
927 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
928 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
929 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
931 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
933 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
934 on Solaris 2.6 and below.
935 * testsuite/thread/pthread2.cc: Likewise.
936 * testsuite/thread/pthread3.cc: Likewise.
937 * testsuite/thread/pthread4.cc: Likewise.
938 * testsuite/thread/pthread5.cc: Likewise.
939 * testsuite/thread/pthread6.cc: Likewise.
940 * testsuite/thread/pthread7-rope.cc: Likewise.
942 2005-02-17 Matt Austern <austern@apple.com>
944 * include/tr1/functional (hash): New function object.
945 * include/tr1/hashtable: New file.
946 * include/tr1/unordered_set: New file.
947 * include/tr1/unordered_map: New file.
948 * include/Makefile.am: Add three new TR1 headers.
949 * include/Makefile.in: Likewise.
950 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
951 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
952 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
953 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
954 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
955 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
956 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
957 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
958 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
959 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
961 2005-02-16 Paolo Carlini <pcarlini@suse.de>
963 * testsuite/23_containers/set/modifiers/16728.cc:
964 Remove redundant include <testsuite_performance.h>.
966 2005-02-16 Paolo Carlini <pcarlini@suse.de>
969 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
970 at line #66 to not access str_lit01 beyond its end.
971 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
973 2005-02-15 Paolo Carlini <pcarlini@suse.de>
974 Jon Grimm <jgrimm2@us.ibm.com>
977 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
978 Fix the logic setting _M_narrow_ok: first check whether the
979 transformation is trivial with a dflt == 0, then deal with the
980 special case of zero.
981 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
983 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
984 Tweak consistently to use memcmp; minor formatting fixes.
986 2005-02-15 Jakub Jelinek <jakub@redhat.com>
989 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
991 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
993 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
994 Paolo Carlini <pcarlini@suse.de>
997 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
998 for integer overloads.
1000 * testsuite/26_numerics/cmath/powi.cc: New.
1002 2005-02-11 Janis Johnson <janis187@us.ibm.com>
1004 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
1005 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
1006 * testsuite/26_numerics/complex/pow.cc: Ditto.
1008 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
1009 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
1010 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
1011 * testsuite/26_numerics/complex/pow.cc: Ditto.
1013 2005-02-09 Mike Stump <mrs@apple.com>
1015 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
1017 2005-02-09 Janis Johnson <janis187@us.ibm.com>
1019 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
1021 2005-02-08 Mark Mitchell <mark@codesourcery.com>
1023 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
1025 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
1027 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
1028 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
1031 2005-02-02 Brad Spencer <spencer@infointeractive.com>
1033 * debug.html: Fix broken tags.
1034 * documentation.html: Same.
1036 2005-02-02 Andreas Jaeger <aj@suse.de>
1038 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
1040 * testsuite/Makefile.am: Likewise.
1041 * testsuite/Makefile.in: Likewise.
1043 2005-02-01 Paolo Carlini <pcarlini@suse.de>
1045 * include/bits/cpp_type_traits.h: Rename _M_type fields to
1046 __value, except for __enable_if, _M_type -> __type, consistently
1047 with the other traits.
1048 * include/bits/stl_algobase.h: Tweak consistently.
1049 * include/bits/stl_tree.h: Likewise.
1050 * include/bits/valarray_array.h: Likewise.
1051 * include/c_std/std_cmath.h: Likewise.
1052 * include/debug/safe_iterator.h: Likewise.
1053 * include/std/std_complex.h: Likewise.
1055 2005-01-31 Brad Spencer <spencer@infointeractive.com>
1057 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
1058 * configure: Regenerated.
1060 2005-01-31 Mark Mitchell <mark@codesourcery.com>
1062 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
1064 (numeric_limits<double>::has_denorm): Likewise.
1065 (numeric_limits<long double>::has_denorm): Likewise.
1067 2005-01-31 Paolo Carlini <pcarlini@suse.de>
1068 Gabriel Dos Reis <gdr@integrable-solutions.net>
1070 * include/bits/cpp_type_traits.h: Add types to the structs thus
1071 making type_traits.h redundant; exploit new __truth_type and
1073 * include/bits/type_traits.h: Remove.
1074 * include/Makefile.am: Update.
1075 * include/Makefile.in: Regenerate.
1076 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
1077 * include/bits/basic_string.h (replace(iterator, iterator,
1078 _InputIterator, _InputIterator), _S_construct(_InIterator,
1079 _InIterator, const _Alloc&)): Use __is_integer instead.
1080 * include/bits/stl_bvector.h (vector(_InputIterator,
1081 _InputIterator, const allocator_type&), assign(_InputIterator,
1082 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
1084 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1085 _ForwardIterator)): Use __is_scalar.
1086 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
1087 const allocator_type&), assign(_InputIterator, _InputIterator),
1088 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
1089 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
1090 insert(iterator, _InputIterator, _InputIterator)): Likewise.
1091 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
1092 _ForwardIterator)): Use __is_scalar.
1093 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
1094 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
1095 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
1096 _Size, const _Tp&)): Likewise.
1097 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
1098 const allocator_type&), assign(_InputIterator, _InputIterator),
1099 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
1100 * include/debug/debug.h (__valid_range(const _InputIterator&,
1101 const _InputIterator&)): Use __is_integer.
1102 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
1103 * include/std/std_string.h: Include cpp_type_traits.h instead.
1105 2005-01-30 Paolo Carlini <pcarlini@suse.de>
1108 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
1109 LC_NUMERIC, and only when actually != "C".
1111 2005-01-28 Paolo Carlini <pcarlini@suse.de>
1113 * include/tr1/type_traits (is_function): Minor consistency tweaks.
1115 2005-01-28 Geoffrey Keating <geoffk@apple.com>
1117 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
1118 for the compiler. Don't set cxxflags.
1119 (v3_target_compile): Search for libv3test.a relative to $objdir.
1120 (lsearch_all_inline): New.
1121 (lsearch_all_inline_not): New.
1122 (v3-list-tests): Rewrite to not need generated files.
1123 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
1124 (IGNORE_THREAD): New.
1125 (TESTS_TO_IGNORE): New.
1126 (site.exp): Set tests_to_ignore, cxxflags.
1127 * aclocal.m4: Regenerate.
1128 * Makefile.in: Regenerate.
1129 * libmath/Makefile.in: Likewise.
1130 * libsupc++/Makefile.in: Likewise.
1131 * po/Makefile.in: Likewise.
1132 * src/Makefile.in: Likewise.
1133 * testsuite/Makefile.in: Likewise.
1135 2005-01-28 Paolo Carlini <pcarlini@suse.de>
1137 * include/tr1/type_traits: Implement is_empty.
1138 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
1140 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
1141 typedefs.cc: Likewise.
1143 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
1145 2005-01-28 Paolo Carlini <pcarlini@suse.de>
1147 * include/tr1/type_traits: Implement is_abstract, by exploiting the
1148 resolution of DR core/337.
1149 * testsuite/testsuite_tr1.h: Add AbstractClass.
1150 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
1151 is_abstract.cc: New.
1152 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
1153 typedefs.cc: Likewise.
1155 * include/tr1/type_traits (is_function): Rewrite, use the conversion
1156 F& -> F* instead, thus avoiding problems with abstract classes.
1157 * testsuite/tr1/4_metaprogramming/primary_type_categories/
1158 is_function/is_function.cc: Add a test for tricky AbstractClass.
1160 2005-01-26 Paolo Carlini <pcarlini@suse.de>
1162 * include/ext/mt_allocator.h
1163 (struct __per_type_pool_policy<,, false>::_S_get_pool,
1164 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
1165 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
1166 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
1167 reduce to 64 the multiplier for _M_max_bytes (safer wrt
1168 _Binmap_type being a short); trivial reformattings.
1169 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
1171 2005-01-26 Paolo Carlini <pcarlini@suse.de>
1173 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
1174 to the final test for enable_c99, thus robustifying it; remove
1175 duplicate final test on ac_99_math.
1176 * configure: Regenerate.
1178 * include/std/std_complex.h: Remove usages of the dead
1179 _GLIBCXX_BUGGY_COMPLEX macro.
1181 * testsuite/26_numerics/cmath/19322.cc: Protect with
1182 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
1183 since only C99 math facilities are involved.
1184 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
1187 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
1189 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
1190 instead of generic. Change autoconf report to "darwin or freebsd".
1191 * configure: Regenerate.
1192 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
1193 (ctype<wchar_t>::do_scan_is): Likewise.
1194 (ctype<wchar_t>::do_scan_not): Likewise.
1196 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
1198 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
1199 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
1200 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
1201 * config.h.in: Regenerate.
1202 * configure: Regenerate.
1203 * include/std/std_complex.h: Protect complex builtins with
1204 _GLIBCXX_USE_C99_COMPLEX_MATH.
1206 2005-01-24 Paolo Carlini <pcarlini@suse.de>
1208 * include/tr1/type_traits: Implement is_signed and is_unsigned.
1209 * testsuite/tr1/4_metaprogramming/type_properties/
1210 is_signed/is_signed.cc: New.
1211 * testsuite/tr1/4_metaprogramming/type_properties/
1212 is_signed/typedefs.cc: Likewise.
1213 * testsuite/tr1/4_metaprogramming/type_properties/
1214 is_unsigned/is_unsigned.cc: Likewise.
1215 * testsuite/tr1/4_metaprogramming/type_properties/
1216 is_unsigned/typedefs.cc: Likewise.
1218 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1220 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
1222 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1224 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
1225 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
1226 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
1227 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
1228 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
1229 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
1230 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
1231 * testsuite/27_io/basic_ostream/flush/wchar_t/
1232 exceptions_badbit_throw.cc: Likewise.
1233 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1234 wchar_t/2.cc: Likewise.
1235 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1236 wchar_t/3.cc: Likewise.
1237 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1238 wchar_t/4.cc: Likewise.
1239 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1240 wchar_t/4402.cc: Likewise.
1241 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1242 wchar_t/5.cc: Likewise.
1243 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1244 wchar_t/6.cc: Likewise.
1245 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1246 wchar_t/9555-oa.cc: Likewise.
1247 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1248 wchar_t/exceptions_badbit_throw.cc: Likewise.
1249 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1250 wchar_t/exceptions_failbit_throw.cc: Likewise.
1251 * testsuite/27_io/basic_ostream/inserters_character/
1252 wchar_t/1.cc: Likewise.
1253 * testsuite/27_io/basic_ostream/inserters_character/
1254 wchar_t/2.cc: Likewise.
1255 * testsuite/27_io/basic_ostream/inserters_character/
1256 wchar_t/3.cc: Likewise.
1257 * testsuite/27_io/basic_ostream/inserters_character/
1258 wchar_t/4.cc: Likewise.
1259 * testsuite/27_io/basic_ostream/inserters_character/
1260 wchar_t/5.cc: Likewise.
1261 * testsuite/27_io/basic_ostream/inserters_character/
1262 wchar_t/6.cc: Likewise.
1263 * testsuite/27_io/basic_ostream/inserters_character/
1264 wchar_t/9555-oc.cc: Likewise.
1265 * testsuite/27_io/basic_ostream/inserters_other/
1266 wchar_t/1.cc: Likewise.
1267 * testsuite/27_io/basic_ostream/inserters_other/
1268 wchar_t/2.cc: Likewise.
1269 * testsuite/27_io/basic_ostream/inserters_other/
1270 wchar_t/3.cc: Likewise.
1271 * testsuite/27_io/basic_ostream/inserters_other/
1272 wchar_t/4.cc: Likewise.
1273 * testsuite/27_io/basic_ostream/inserters_other/
1274 wchar_t/5.cc: Likewise.
1275 * testsuite/27_io/basic_ostream/inserters_other/
1276 wchar_t/9318-out.cc: Likewise.
1277 * testsuite/27_io/basic_ostream/inserters_other/
1278 wchar_t/9424-out.cc: Likewise.
1279 * testsuite/27_io/basic_ostream/inserters_other/
1280 wchar_t/9555-oo.cc: Likewise.
1281 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1282 error_failbit.cc: Likewise.
1283 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1284 exceptions_badbit_throw.cc: Likewise.
1285 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1286 exceptions_failbit_throw.cc: Likewise.
1287 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1288 exceptions_null.cc: Likewise.
1289 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
1290 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
1291 * testsuite/27_io/basic_ostream/seekp/char/
1292 exceptions_badbit_throw.cc: Likewise.
1293 * testsuite/27_io/basic_ostream/seekp/wchar_t/
1294 2346-fstream.cc: Likewise.
1295 * testsuite/27_io/basic_ostream/seekp/wchar_t/
1296 2346-sstream.cc: Likewise.
1297 * testsuite/27_io/basic_ostream/seekp/wchar_t/
1298 exceptions_badbit_throw.cc: Likewise.
1299 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
1300 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
1301 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
1302 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
1303 * testsuite/27_io/basic_ostream/tellp/wchar_t/
1304 exceptions_badbit_throw.cc: Likewise.
1305 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
1307 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
1308 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
1309 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
1310 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
1311 * testsuite/data/wostream_seeks-1.tst: Likewise.
1313 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
1314 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
1315 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
1316 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
1317 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
1318 * testsuite/27_io/basic_ostream/flush/char/
1319 exceptions_badbit_throw.cc: Likewise.
1320 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1321 char/2.cc: Likewise.
1322 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1323 char/3.cc: Likewise.
1324 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1325 char/4.cc: Likewise.
1326 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1327 char/4402.cc: Likewise.
1328 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1329 char/5.cc: Likewise.
1330 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1331 char/6.cc: Likewise.
1332 * testsuite/27_io/basic_ostream/inserters_character/
1333 char/4.cc: Likewise.
1334 * testsuite/27_io/basic_ostream/inserters_other/char/
1336 * testsuite/27_io/basic_ostream/inserters_other/char/
1338 * testsuite/27_io/basic_ostream/inserters_other/char/
1339 error_failbit.cc: Likewise.
1340 * testsuite/27_io/basic_ostream/inserters_other/char/
1341 exceptions_badbit_throw.cc: Likewise.
1342 * testsuite/27_io/basic_ostream/inserters_other/char/
1343 exceptions_failbit_throw.cc: Likewise.
1344 * testsuite/27_io/basic_ostream/inserters_other/char/
1345 exceptions_null.cc: Likewise.
1346 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
1347 * testsuite/27_io/basic_ostream/seekp/char/
1348 exceptions_badbit_throw.cc: Likewise.
1349 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
1350 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
1352 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1354 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
1357 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1358 Andreas Jaeger <aj@suse.de>
1361 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
1363 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
1365 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
1366 lseek on fifo to succeed. Thus, check for consistent report.
1368 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1371 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
1373 (_List_const_iterator): Likewise.
1374 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
1375 (_Rb_tree_const_iterator): Likewise.
1377 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
1378 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
1380 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
1382 * testsuite/Makefile.am (check-compile): New.
1383 * testsuite/Makefile.in: Regenerate.
1384 * scripts/check_compile_time: New.
1385 * scripts/check_performance: Tweaks.
1387 2005-01-19 Paolo Carlini <pcarlini@suse.de>
1390 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
1391 Fix typo in the return type.
1392 * testsuite/tr1/6_containers/utility/19535.cc: New.
1394 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
1396 * include/ext/array_allocator.h (array_allocator<>::allocate):
1397 Avoid __used. Use __array_used instead.
1398 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
1400 2005-01-18 David Edelsohn <edelsohn@gnu.org>
1402 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
1403 (_XOPEN_SOURCE_EXTENDED): Delete.
1405 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
1407 * testsuite/testsuite_performance.h (time_counter::start):
1409 (clear_counters): Inline.
1410 (start_counters): Inline.
1411 (stop_counters): Inline.
1412 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
1413 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
1415 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
1417 2005-01-17 Paolo Carlini <pcarlini@suse.de>
1420 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
1421 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
1422 Obtain amortized constant complexity if t is inserted right after
1423 p - not before p - as per Table 69.
1424 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
1426 * testsuite/23_containers/multiset/insert/2.cc: New.
1427 * testsuite/23_containers/set/insert/1.cc: Likewise.
1429 * testsuite/performance/23_containers/set_create_from_sorted.cc:
1432 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
1434 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
1436 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
1437 * testsuite/ext/rope/4.cc: Add.
1439 2005-01-16 Lorenz Minder <lminder@gmx.net>
1440 Paolo Carlini <pcarlini@suse.de>
1443 * include/c_std/std_cmath.h: Define the C99 classification facilities
1444 directly inside namespace std:.
1445 * testsuite/26_numerics/cmath/19322.cc: New.
1447 2005-01-15 David Edelsohn <edelsohn@gnu.org>
1449 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
1451 2005-01-14 Paolo Carlini <pcarlini@suse.de>
1454 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
1455 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
1456 respectively) with hint (end()).
1457 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
1459 2005-01-13 Geoffrey Keating <geoffk@apple.com>
1461 * configure.host (darwin): On darwin8 or later, no need to build
1462 libstdc++ with -flat_namespace.
1464 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
1466 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
1468 2005-01-13 Paolo Carlini <pcarlini@suse.de>
1470 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
1471 Re-enable commented-out test for double type.
1473 2005-01-11 Paolo Carlini <pcarlini@suse.de>
1474 Benjamin Kosnik <bkoz@redhat.com>
1476 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1477 basic_istream<char>::ignore(streamsize, int_type),
1478 basic_istream<wchar_t>::ignore(streamsize),
1479 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
1480 more than numeric_limits<streamsize>::max() chars are skipped,
1481 set _M_gcount = max().
1482 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1483 int_type)): Likewise; keep simple, don't forward.
1485 2005-01-11 Paolo Carlini <pcarlini@suse.de>
1487 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1488 basic_istream<char>::ignore(streamsize, int_type),
1489 basic_istream<wchar_t>::ignore(streamsize),
1490 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
1491 2005-01-05 change: actually, the previous behavior is conforming
1492 and consistent with that of get(char_type*, streamsize, char_type),
1493 albeit slightly different from that of 3.3/3.4 in a corner case
1494 due to the use of snextc.
1495 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1496 int_type)): Likewise.
1497 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
1498 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
1500 2005-01-11 Paolo Carlini <pcarlini@suse.de>
1502 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
1503 * testsuite/tr1/4_metaprogramming/other_transformations/
1504 aligned_storage/aligned_storage.cc: New.
1505 * testsuite/tr1/4_metaprogramming/other_transformations/
1506 aligned_storage/typedefs.cc: Likewise.
1507 * testsuite/tr1/4_metaprogramming/type_properties/
1508 alignment_of/alignment_of.cc: Likewise.
1509 * testsuite/tr1/4_metaprogramming/type_properties/
1510 alignment_of/typedefs.cc: Likewise.
1512 2005-01-10 Paolo Carlini <pcarlini@suse.de>
1514 * Makefile.in: Regenerate.
1515 * libmath/Makefile.in: Likewise.
1516 * libsupc++/Makefile.in: Likewise.
1517 * po/Makefile.in: Likewise.
1518 * src/Makefile.in: Likewise.
1519 * testsuite/Makefile.in: Likewise.
1521 2005-01-10 Paolo Carlini <pcarlini@suse.de>
1523 * include/bits/stl_algobase.h (lexicographical_compare):
1526 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
1528 * acinclude.m4: Remove CCODECVT_H.
1529 * configure: Regenerate.
1530 * include/Makefile.am (host_headers_extra): Move to...
1531 (ext_headers): ...here.
1532 * include/Makefile.in: Regenerate.
1533 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
1535 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
1536 * include/ext/codecvt_specializations.h: ...here. Remove
1537 _GLIBCXX_USE___ENC_TRAITS.
1538 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
1539 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
1541 * config/locale/generic/codecvt_specializations.h: Remove.
1542 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
1543 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
1545 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
1547 * include/bits/fstream.tcc: Remove unnecessary qualifications for
1548 uglified data members of basic_filebuf, including _M_buf,
1549 _M_buf_size, _M_mode, _M_pback_init.
1550 * include/std/std_fstream.h: Same.
1552 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
1554 * testsuite/testsuite_hooks.h:
1555 (copy_constructor::mark_call): Use __throw_runtime_error.
1556 (assignment_operator::mark_call): Same.
1557 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
1558 (locale_data): Remove, just use runtime_error directly.
1559 (environment_variable): Same.
1561 (run_tests_wrapped_locale): Use __throw_runtime_error.
1562 (run_tests_wrapped_env): Same.
1563 (semaphore::semaphore): Same.
1564 (semaphore::signal): Same.
1565 (semaphore::wait): Same.
1566 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
1567 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
1568 (create_symbols): Use __throw_runtime_error.
1569 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
1571 2005-01-05 Mark Mitchell <mark@codesourcery.com>
1573 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
1576 2005-01-05 Paolo Carlini <pcarlini@suse.de>
1578 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1579 basic_istream<char>::ignore(streamsize, int_type),
1580 basic_istream<wchar_t>::ignore(streamsize),
1581 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
1582 first check _M_gcount vs __n.
1583 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1584 int_type)): Likewise.
1585 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
1586 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
1588 2005-01-03 Mark Mitchell <mark@codesourcery.com>
1590 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
1591 instead of just throw.
1593 * testsuite/testsuite_hooks.cc: Update coypright and follow style
1595 * testsuite/testsuite_hooks.h: Likewise.
1596 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
1597 semaphores, not sleep.
1598 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
1599 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1600 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1601 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
1603 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
1604 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1605 * testsuite/27_io/objects/char/7.cc: Likewise.
1606 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1607 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
1608 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1610 * configure.ac: Check for sys/ipc.h and sys/sem.h.
1611 * config.h.in: Regenerated.
1612 * configure: Likewise.
1613 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
1615 (sys/types.h): Include.
1616 (sys/ipc.h): Likewise.
1617 (sys/sem.h): Likewise.
1618 (__gnu_test::semun): New type.
1619 (__gnu_test::semaphore::sempaphore): New function.
1620 (__gnu_test::semaphore::~semaphore): Likewise.
1621 (__gnu_test::semaphore::wait): Likewise.
1622 (__gnu_test::semaphore::signal): Likewise.
1623 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
1624 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
1625 semaphores, not sleep.
1626 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
1627 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1628 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1629 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
1631 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
1632 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1633 * testsuite/27_io/objects/char/7.cc: Likewise.
1634 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1635 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
1636 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1638 2005-01-03 Paolo Carlini <pcarlini@suse.de>
1640 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1641 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
1642 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
1643 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
1644 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1645 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
1647 2005-01-02 Paolo Carlini <pcarlini@suse.de>
1649 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1650 basic_istream<char>::ignore(streamsize, int_type),
1651 basic_istream<wchar_t>::ignore(streamsize),
1652 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
1653 _M_gcount overflows.
1654 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1655 int_type)): Likewise; use snextc in the main loop, consistently
1656 with the specializations above.
1658 2005-01-02 Chris Jefferson <chris@bubblescope.net>
1660 * include/bits/stl_algobase.h (mismatch): Correct concept check.
1662 2005-01-01 Paolo Carlini <pcarlini@suse.de>
1664 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
1665 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
1666 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
1668 2005-01-01 Paolo Carlini <pcarlini@suse.de>
1670 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
1671 null-terminate array1 at the outset.
1672 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: