1 2004-11-23 Chris Jefferson <chris@bubblescope.net>
3 * testsuite/testsuite_iterators.h: New.
4 * testsuite/25_algorithms/search_n/iterator.cc: New.
5 * testsuite/performance/25_algorithms/search_n.cc: New.
7 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9 * testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp.
11 2004-11-23 Benjamin Kosnik <bkoz@redhat.com>
13 * docs/doxygen/doxygroups.cc: Add std::tr1 namespace.
14 * docs/doxygen/run_doxygen: Renames for std::tr1.
15 * docs/doxygen/user.cfg.in: Add cxxabi.h.
16 * include/bits/*.tcc: Add file markup.
17 * include/bits/allocator.h: Add link to allocator.html.
18 * include/bits/atomicity.h: Add file markup.
19 * include/bits/concurrence.h: Same.
20 * include/bits/functexcept.h: Same.
21 * include/ext*: Adjust file markup, remove GCC3 bits.
22 * include/std/*: Adjust file markup, remove bits about renamed files.
23 * libsupc++/cxxabi.h: Add file markup.
24 * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers.
26 2004-11-22 Benjamin Kosnik <bkoz@redhat.com>
28 * include/bits/locale_facets.h (isspace, isprint, isupper,
29 islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph,
30 toupper, tolower): Add doxygen markup.
31 (codecvt_byname, ctype_byname, numpunct_byname, collate_byname,
32 time_get_byname, time_put_byname, moneypunct_byname,
33 messages_byname): Same.
34 * include/std/std_fstream.h: Remove superfluous markup.
35 * include/std/std_sstream.h: Same.
36 * include/std/std_streambuf.h: Same.
37 * include/ext/enc_filebuf.h: Adjust markup.
38 * include/ext/stdio_filebuf.h: Same.
39 * include/ext/stdio_sync_filebuf.h: Same.
40 * include/bits/codecvt.h: Same.
41 * config/os/gnu-linux/ctype_base.h: Same.
42 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
43 * include/tr1/array: Add markup.
44 * include/tr1/tuple: Same.
46 * docs/doxygen/run_doxygen: Print arguments.
48 * docs/doxygen/user.cfg.in: Tweaks.
50 2004-11-19 Jonathan Wakely <redi@gcc.gnu.org>
52 * include/bits/basic_string.h, include/bits/locale_classes.h,
53 include/bits/valarray_after.h, include/bits/valarray_before.h,
54 include/ext/stdio_sync_filebuf.h, include/std/std_algorithm.h,
55 include/std/std_functional.h, include/std/std_memory.h,
56 include/std/std_numeric.h: Doxygen fixes.
58 2004-11-19 Paolo Carlini <pcarlini@suse.de>
60 * testsuite/22_locale/time_get/get_date/char/1.cc: In the checks
61 use, more correctly (and consistently with other testcases) the
62 return value of the facet (the iterator arguments are by value).
63 * testsuite/22_locale/time_get/get_date/char/12791.cc: Likewise.
64 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
65 * testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: Likewise.
66 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
67 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
68 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
69 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
70 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
71 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
72 * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
73 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
75 2004-11-19 Jonathan Wakely <redi@gcc.gnu.org>
77 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Remove extra '$'
78 from host_alias variable.
79 * Makefile.in: Regenerate.
81 2004-11-19 Chris Jefferson <chris@bubblescope.net>
83 * include/bits/stl_list.h (list::back, list::back const):
84 Don't decrement temporary.
86 2004-11-19 Paolo Carlini <pcarlini@suse.de>
88 * include/bits/stl_deque.h (deque::front, deque::front const,
89 deque::back, deque::back const): Slightly tweak for stylistic
92 2004-11-18 Paolo Carlini <pcarlini@suse.de>
94 * testsuite/26_numerics/numeric/sum_diff.cc: Use VERIFY.
95 * testsuite/ext/array_allocator/1.cc: Likewise.
96 * testsuite/ext/array_allocator/2.cc: Likewise.
97 * testsuite/ext/array_allocator/3.cc: Likewise.
98 * testsuite/ext/enc_filebuf/char/13598.cc: Likewise.
100 2004-11-18 Paolo Carlini <pcarlini@suse.de>
102 * include/bits/locale_facets.tcc (num_get<>::do_get(void*&)):
103 If the failbit is set, don't set it again.
104 (money_get<>::_M_extract): Minor stylistic tweak: consistently
105 with the other functions, take care of eofbit at the end.
107 2004-11-18 Paolo Carlini <pcarlini@suse.de>
109 DR 434. bitset::to_string() hard to use [Ready]
110 2004-11-23 Benjamin Kosnik <bkoz@redhat.com>
112 * docs/doxygen/doxygroups.cc: Add std::tr1 namespace.
113 * docs/doxygen/run_doxygen: Renames for std::tr1.
114 * docs/doxygen/user.cfg.in: Add cxxabi.h.
115 * include/bits/*.tcc: Add file markup.
116 * include/bits/allocator.h: Add link to allocator.html.
117 * include/bits/atomicity.h: Add file markup.
118 * include/bits/concurrence.h: Same.
119 * include/bits/functexcept.h: Same.
120 * include/ext*: Adjust file markup, remove GCC3 bits.
121 * include/std/*: Adjust file markup, remove bits about renamed files.
122 * libsupc++/cxxabi.h: Add file markup.
123 * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers.
125 2004-11-22 Benjamin Kosnik <bkoz@redhat.com>
127 * include/bits/locale_facets.h (isspace, isprint, isupper,
128 islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph,
129 toupper, tolower): Add doxygen markup.
130 (codecvt_byname, ctype_byname, numpunct_byname, collate_byname,
131 time_get_byname, time_put_byname, moneypunct_byname,
132 messages_byname): Same.
133 * include/std/std_fstream.h: Remove superfluous markup.
134 * include/std/std_sstream.h: Same.
135 * include/std/std_streambuf.h: Same.
136 * include/ext/enc_filebuf.h: Adjust markup.
137 * include/ext/stdio_filebuf.h: Same.
138 * include/ext/stdio_sync_filebuf.h: Same.
139 * include/bits/codecvt.h: Same.
140 * config/os/gnu-linux/ctype_base.h: Same.
141 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
142 * include/tr1/array: Add markup.
143 * include/tr1/tuple: Same.
145 * docs/doxygen/run_doxygen: Print arguments.
147 * docs/doxygen/user.cfg.in: Tweaks.
149 2004-11-19 Jonathan Wakely <redi@gcc.gnu.org>
151 * include/bits/basic_string.h, include/bits/locale_classes.h,
152 include/bits/valarray_after.h, include/bits/valarray_before.h,
153 include/ext/stdio_sync_filebuf.h, include/std/std_algorithm.h,
154 include/std/std_functional.h, include/std/std_memory.h,
155 include/std/std_numeric.h: Doxygen fixes.
157 2004-11-19 Paolo Carlini <pcarlini@suse.de>
159 * testsuite/22_locale/time_get/get_date/char/1.cc: In the checks
160 use, more correctly (and consistently with other testcases) the
161 return value of the facet (the iterator arguments are by value).
162 * testsuite/22_locale/time_get/get_date/char/12791.cc: Likewise.
163 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
164 * testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: Likewise.
165 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
166 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
167 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
168 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
169 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
170 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
171 * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
172 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
174 2004-11-19 Jonathan Wakely <redi@gcc.gnu.org>
176 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Remove extra '$'
177 from host_alias variable.
178 * Makefile.in: Regenerate.
180 2004-11-19 Chris Jefferson <chris@bubblescope.net>
182 * include/bits/stl_list.h (list::back, list::back const):
183 Don't decrement temporary.
185 2004-11-19 Paolo Carlini <pcarlini@suse.de>
187 * include/bits/stl_deque.h (deque::front, deque::front const,
188 deque::back, deque::back const): Slightly tweak for stylistic
191 2004-11-18 Paolo Carlini <pcarlini@suse.de>
193 * testsuite/26_numerics/numeric/sum_diff.cc: Use VERIFY.
194 * testsuite/ext/array_allocator/1.cc: Likewise.
195 * testsuite/ext/array_allocator/2.cc: Likewise.
196 * testsuite/ext/array_allocator/3.cc: Likewise.
197 * testsuite/ext/enc_filebuf/char/13598.cc: Likewise.
199 2004-11-18 Paolo Carlini <pcarlini@suse.de>
201 * include/bits/locale_facets.tcc (num_get<>::do_get(void*&)):
202 If the failbit is set, don't set it again.
203 (money_get<>::_M_extract): Minor stylistic tweak: consistently
204 with the other functions, take care of eofbit at the end.
206 2004-11-18 Paolo Carlini <pcarlini@suse.de>
208 DR 434. bitset::to_string() hard to use [Ready]
209 * include/std/std_bitset.h (to_string): Add three overloads, taking
210 fewer template arguments.
211 * docs/html/ext/howto.html: Add an entry for DR 434.
212 * testsuite/23_containers/bitset/to_string/1.cc: New.
214 2004-11-17 Paolo Carlini <pcarlini@suse.de>
216 * include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&,
217 _CharT)): Remove temporary kludge for libstdc++/15002.
218 * include/std/std_streambuf.h (class basic_streambuf): Declare
219 getline(basic_istream<>&, basic_string<>&, _CharT) as friend.
220 * include/bits/basic_string.h (getline(basic_istream<>&,
221 basic_string<>&, _CharT)): Declare optimized specializations for
222 char and wchar_t, using protected members of basic_streambuf.
223 * src/istream.cc: Define the latter.
225 2004-11-16 Jonathan Wakely <redi@gcc.gnu.org>
227 * docs/html/19_diagnostics/howto.html: Document change from
228 _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4.
230 2004-11-16 Matthias Klose <doko@debian.org>
232 * docs/doxygen/user.cfg.in: Set HAVE_DOT to NO.
234 2004-11-16 Matthias Klose <doko@debian.org>
236 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Use host_alias
237 instead of build_alias.
238 * docs/doxygen/run_doxygen: Likewise.
239 * docs/doxygen/user.cfg.in: Likewise.
240 * Makefile.in: Regenerate.
242 2004-11-15 Paolo Carlini <pcarlini@suse.de>
244 * include/bits/streambuf.tcc (__copy_streambufs): Provide
245 a generic version of the function, not using the protected
246 members of basic_streambuf.
247 * include/std/std_streambuf.h (__copy_streambufs): Declare
248 optimized specializations for char and wchar_t.
249 * src/streambuf.cc: New file, define the latter.
250 * src/Makefile.am: Add.
251 * src/Makefile.in: Regenerate.
253 2004-11-15 Matthias Klose <doko@debian.org>
255 * docs/doxygen/run_doxygen: Add --build_alias option,
256 substitute it in docs/doxygen/user.cfg.in.
257 * docs/doxygen/user.cfg.in: Use build_alias.
258 * Makefile.am: Pass --build_alias to run_doxygen
259 * Makefile.in: Regenerate.
261 2004-11-15 Benjamin Kosnik <bkoz@redhat.com>
263 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.4.
265 2004-11-15 Paolo Carlini <pcarlini@suse.de>
267 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 33.
269 2004-11-14 Paolo Carlini <pcarlini@suse.de>
271 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get):
272 Slightly tweak for clarity (also leads to measurably better code).
274 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
277 * testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C.
279 2004-11-09 Paolo Carlini <pcarlini@suse.de>
281 * include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
282 time_get<>::do_get_monthname): Absolutely avoid dereferencing
285 * include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
288 2004-11-08 Benjamin Kosnik <bkoz@redhat.com>
289 Doug Gregor <dgregor@cs.indiana.edu>
292 * src/debug.cc : Just use one mutex.
294 2004-11-08 Benjamin Kosnik <bkoz@redhat.com>
296 * configure.ac (libtool_VERSION): To 6:4:0.
297 * configure: Regenerate.
299 * config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4.
301 * docs/doxygen/user.cfg.in: Add more extension files.
303 2004-11-08 Paolo Carlini <pcarlini@suse.de>
305 * include/bits/streambuf_iterator.h (class istreambuf_iterator):
306 Consistently use _M_c to cache the current char, i.e., not only
307 when operator++(int) is involved; change _M_c to mutable.
308 (_M_get()): Always save the return value of _M_sbuf->sgetc() into
310 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix
311 (long standing) typo.
312 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
313 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
314 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
316 2004-11-08 Paolo Carlini <pcarlini@suse.de>
318 * include/bits/istream.tcc (getline(char_type*, streamsize,
319 char_type), ignore(streamsize), ignore(streamsize, int_type)):
320 Restore a generic version of the functions, not using the
321 protected members of basic_streambuf.
322 * include/std/std_istream.h (getline(char_type*, streamsize,
323 char_type), ignore(streamsize), ignore(streamsize, int_type)):
324 Declare optimized specializations for char and wchar_t.
325 * src/istream.cc: New file, define the latter.
326 * src/Makefile.am: Add.
327 * src/Makefile.in: Regenerate.
329 2004-11-07 Paolo Carlini <pcarlini@suse.de>
331 * testsuite/performance/27_io/ifstream_getline-2.cc: New.
333 2004-11-05 Benjamin Kosnik <bkoz@redhat.com>
337 * docs/doxygen/filter: Remove.
338 * docs/doxygen/filter.sed: Remove.
339 * docs/doxygen/mainpage.html: Add link to functions.
340 * docs/doxygen/run_doxygen: Changes due to new source filtering.
341 * docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak.
342 * include/bits/allocator.h: Tweaks for doxygen.
343 * include/bits/char_traits.h: Same.
344 * include/bits/codecvt.h: Same.
345 * include/bits/concurrence.h: Same.
346 * include/bits/locale_facets.h: Same.
347 * include/ext/array_allocator.h: Same.
348 * include/ext/debug_allocator.h: Same.
349 * include/ext/malloc_allocator.h: Same.
350 * include/ext/mt_allocator.h: Same.
351 * include/ext/new_allocator.h: Same.
352 * include/ext/pool_allocator.h: Same.
353 * include/ext/stdio_sync_filebuf.h: Same.
354 * include/std/std_memory.h: Same.
355 * include/tr1/array: Same.
356 * include/tr1/tuple: Same.
357 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
358 * config/os/gnu-linux/ctype_base.h: Same.
360 2004-11-04 Paolo Carlini <pcarlini@suse.de>
362 * include/bits/locale_facets.tcc (num_get<>::do_get(bool&)):
363 Evaluate __beg == __end the exact strict minimum number of times.
365 2004-11-03 Jonathan Wakely <redi@gcc.gnu.org>
367 * include/bits/stl_numeric.h (partial_sum, adjacent_difference):
368 Avoid dereferencing two times __first in the prologue.
370 2004-11-03 Paolo Carlini <pcarlini@suse.de>
372 * include/bits/stl_numeric.h: Trivial formatting fixes.
374 2004-11-03 Benjamin Kosnik <bkoz@redhat.com>
376 * include/bits/c++config: Spacing.
377 * libsupc++/del_op.cc: Include c++config.h.
378 * libsupc++/del_opnt.cc: Same.
379 * libsupc++/del_opv.cc: Same.
380 * libsupc++/del_opvnt.cc: Same.
381 * libsupc++/new_op.cc: Same.
382 * libsupc++/new_opnt.cc: Same.
383 * libsupc++/new_opv.cc: Same.
384 * libsupc++/new_opvnt.cc: Same.
386 2004-11-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
388 * config/os/bsd/darwin/os_defines.h
389 (_GLIBCXX_WEAK_DEFINITION): Define.
390 * include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define.
391 * libsupc++/del_op.cc (operator delete(void *)): Use
392 _GLIBCXX_WEAK_DEFINITION.
393 * libsupc++/del_opnt.cc
394 (operator delete(void *, const std::nothrow_t&)): Same.
395 * libsupc++/del_opv.cc (operator delete[](void *)): Same.
396 * libsupc++/del_opvnt.cc
397 (operator delete[](void *, const std::nothrow_t&)): Same.
398 * libsupc++/new_op.cc (operator new(std::size_t)): Same.
399 * libsupc++/new_opnt.cc
400 (operator new(std::size_t, const std::nothrow_t&)): Same
401 * libsupc++/new_opv.cc (operator new[](std::size_t)): Same.
402 * libsupc++/new_opvnt.cc
403 (operator new[](std::size_t, const std::nothrow_t&)): Same.
405 2004-11-02 Paolo Carlini <pcarlini@suse.de>
407 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int):
408 Evaluate *__beg the exact strict minimum number of times; likewise
409 for __beg != __end; slightly simplify main parsing loop.
411 2004-11-02 Benjamin Kosnik <bkoz@redhat.com>
412 Lothar Werzinger <lothar@xcerla.com>
415 * src/debug.cc: Include concurrence, use mutexes.
416 (_Safe_iterator_base::_M_attach): Here.
417 (_Safe_iterator_base::_M_detach): Here.
419 2004-11-02 Benjamin Kosnik <bkoz@redhat.com>
422 * include/bits/ios_base.h : Add enum values.
423 * testsuite/testsuite_hooks.h (bitmask_operators): Add function.
424 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New.
425 * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New.
426 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New.
427 * testsuite/27_io/ios_base/types/iostate/case_label.cc: New.
428 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New.
429 * testsuite/27_io/ios_base/types/openmode/case_label.cc: New.
430 * testsuite/27_io/ios_base/types/seekdir/case_label.cc: New.
432 * config/io/c_io_stdio.h (__ios_flags): Mark deprecated.
435 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
436 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
438 2004-11-01 Momchil Velikov <velco@fadata.bg>
441 * libsupc++/eh_globals.cc (get_globals_dtor): Delete unhandled
443 * testsuite/thread/18185.cc: New.
445 2004-11-01 Chris Jefferson <chris@bubblescope.net>
448 * include/tr1/tuple (get(pair)): Change occurrences of _I to _Int.
449 (get(const pair)): Likewise.
451 2004-11-01 Paolo Carlini <pcarlini@suse.de>
453 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
454 Evaluate *__beg the exact strict minimum number of times; likewise
455 for __beg != __end; in the main parsing loop, call ++__beg in two
456 places only. The former is also a correctness issue, because,
457 according to the standard (22.2.2.1.2, Stage 2), 'in' shall be
458 dereferenced only one time for each increment.
460 2004-10-31 Benjamin Kosnik <bkoz@redhat.com>
463 * testsuite/23_containers/set/modifiers/16728.cc: New.
465 2004-10-30 Paolo Carlini <pcarlini@suse.de>
467 * include/ext/bitmap_allocator.h (allocate(size_type)): Minor tweak.
469 * testsuite/ext/bitmap_allocator/check_delete.cc: New.
470 * testsuite/ext/bitmap_allocator/check_new.cc: Likewise.
472 2004-10-29 Geoffrey Keating <geoffk@apple.com>
474 * configure.host (darwin*): Set os_include_dir to a separate directory
476 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale kind,
478 * config/locale/darwin/ctype_members.cc: New.
479 * config/os/bsd/darwin/ctype_base.h: New.
480 * config/os/bsd/darwin/ctype_inline.h: New.
481 * config/os/bsd/darwin/ctype_noninline.h: New.
482 * config/os/bsd/darwin/os_defines.h: New.
484 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Only xfail
487 2004-10-29 Chris Jefferson <chris@bubblescope.net>
489 * include/bit/stl_algo.h (find_first_of(,,,,pred)):
490 Remove invalid EqualOpConcept.
491 * testsuite/25_algorithms/find_first_of/concept_check_1.cc: New.
493 2004-10-29 Benjamin Kosnik <bkoz@redhat.com>
495 * testsuite/testsuite_allocator.h (check_delete): New.
496 (check_new): Simplify.
497 * testsuite/ext/array_allocator/check_delete.cc: New.
498 * testsuite/ext/array_allocator/check_new.cc: Simplify.
499 * testsuite/ext/debug_allocator/check_delete.cc: New.
500 * testsuite/ext/debug_allocator/check_new.cc: Simplify.
501 * testsuite/ext/malloc_allocator/check_delete.cc: New.
502 * testsuite/ext/malloc_allocator/check_new.cc: Simplify.
503 * testsuite/ext/mt_allocator/check_delete.cc: New.
504 * testsuite/ext/mt_allocator/check_new.cc: Simplify.
505 * testsuite/ext/new_allocator/check_delete.cc: New.
506 * testsuite/ext/new_allocator/check_new.cc: Simplify.
507 * testsuite/ext/pool_allocator/check_delete.cc: New.
508 * testsuite/ext/pool_allocator/check_new.cc: Simplify.
510 2004-10-28 Chris Jefferson <chris@bubblescope.net>
513 * include/tr1/tuple: Fix, change formatting.
515 2004-10-28 Benjamin Kosnik <bkoz@redhat.com>
517 * include/ext/mt_allocator.h (__common_pool_policy): Add template
518 template parameter for pool class type.
519 (__per_type_pool_policy): Same.
520 (__mt_allocator): Don't inherit policy. Qualify policy_type calls.
521 * testsuite/ext/mt_allocator/check_deallocate_null.cc: Fix.
522 * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: Same.
523 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
524 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
525 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
526 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
527 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
528 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
529 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
530 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
531 * testsuite/ext/mt_allocator/instantiate.cc: Same.
532 * testsuite/ext/mt_allocator/tune-1.cc: Same.
533 * testsuite/ext/mt_allocator/tune-2.cc: Same.
534 * testsuite/ext/mt_allocator/tune-3.cc: Same.
535 * testsuite/ext/mt_allocator/tune-4.cc: Same.
537 2004-10-28 Paolo Carlini <pcarlini@suse.de>
539 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
540 Cache *__beg in __c when parsing exponent sign too.
541 (num_get<>::do_get(..., bool&)): Cache *__beg.
542 (money_get<>::_M_extract)): Likewise, in money_base::value.
544 2004-10-27 Paolo Carlini <pcarlini@suse.de>
546 * include/bits/basic_string.h (assign(const basic_string&)):
548 * include/bits/basic_string.tcc: ... here.
550 2004-10-27 Paolo Carlini <pcarlini@suse.de>
552 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
554 * include/bits/basic_string.tcc: ... here.
556 2004-10-26 Paolo Carlini <pcarlini@suse.de>
558 * include/bits/basic_string.h (append(const basic_string&),
559 append(size_type, _CharT)): Move out of line...
560 * include/bits/basic_string.tcc: ... here.
562 2004-10-26 Paolo Carlini <pcarlini@suse.de>
564 * include/bits/basic_string.h (erase(size_type, size_type),
565 erase(iterator), erase(iterator, iterator)): Call _M_mutate
566 instead of _M_replace_safe, equivalent when the fourth argument
569 2004-10-26 Benjamin Kosnik <bkoz@redhat.com>
571 * include/ext/array_allocator.h (array::allocate): Check for valid
572 array object, use its size member function directly.
573 * testsuite/ext/array_allocator/3.cc: New.
574 * docs/html/20_util/allocator.html: Add docs.
576 2004-10-25 Geoffrey Keating <geoffk@apple.com>
578 * configure.host (darwin*): Build libstdc++ single module
580 * libsupc++/new_op.cc (new): Make weak.
581 * libsupc++/new_opnt.cc (new): Make weak.
582 * libsupc++/new_opv.cc (new): Make weak.
583 * libsupc++/new_opvnt.cc (new): Make weak.
584 * libsupc++/delete_op.cc (delete): Make weak.
585 * libsupc++/delete_opnt.cc (delete): Make weak.
586 * libsupc++/delete_opv.cc (delete): Make weak.
587 * libsupc++/delete_opvnt.cc (delete): Make weak.
589 2004-10-25 Benjamin Kosnik <bkoz@redhat.com>
591 * testsuite/Makefile.am (GLIBCXX_INCLUDES): Add.
592 (AUTOMAKE_OPTIONS): Add nostdinc.
593 * testsuite/Makefile.in: Regenerate.
594 * scripts/testsuite_flags.in (build-includes): Remove redundant
595 search for libsupc++.
596 * fragment.am: Clean.
598 2004-10-25 Benjamin Kosnik <bkoz@redhat.com>
600 * include/Makefile.am (tr1_headers): Add tuple.
601 * include/Makefile.in: Regenerate.
603 2004-10-25 Chris Jefferson <chris@bubblescope.net>
605 * include/tr1/tuple: Implementation of tuple from library TR.
606 * testsuite/tr1/6_containers/tuple/tuple_element.cc: New.
607 * testsuite/tr1/6_containers/tuple/tuple_size.cc: New.
608 * testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc:
610 * testsuite/tr1/6_containers/tuple/cons/assignment.cc: New.
611 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: New.
612 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: New.
613 * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
615 * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: New.
616 * testsuite/tr1/6_containers/tuple/element_access/get.cc: New.
618 2004-10-25 Paolo Carlini <pcarlini@suse.de>
620 * include/bits/basic_string.h (_Rep::_M_is_safe): Move to
621 basic_string as _M_disjunct, adjust to take only __s.
622 * include/bits/basic_string.tcc: Adjust consistently callers.
624 2004-10-25 Paolo Carlini <pcarlini@suse.de>
626 * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
627 Adjust bit missing from the previous commit.
629 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
632 * testsuite/lib/libstdc++.exp: Accept more than one multilib libgcc.
634 2004-10-25 Paolo Carlini <pcarlini@suse.de>
636 * include/bits/basic_string.h (_Rep::_M_is_safe, _M_check_length,
637 _M_move, _M_copy, _M_assign): New, use througout.
638 (operator+=(_CharT)): Define in terms of push_back.
639 (append(const basic_string&)): Define here, inline, and simplify,
640 don't use the full _M_replace_safe.
641 (append(size_type, _CharT)): Likewise, don't use _M_replace_aux.
642 (push_back): Likewise.
643 (assign(const basic_string&)): Define here, inline.
644 * include/bits/basic_string.tcc (append(const _CharT* s, size_type):
645 Fix: when s points inside the _Rep, upon reallocation (reserve) we
646 were copying from deallocated memory.
647 (append(const basic_string&, size_type, size_type)): Simplify,
648 don't use _M_replace_safe.
649 (replace(size_type, size_type, const _CharT*, size_type)): Slightly
652 * testsuite/21_strings/basic_string/append/char/2.cc: New.
653 * testsuite/21_strings/basic_string/append/char/3.cc: Likewise.
654 * testsuite/21_strings/basic_string/append/wchar_t/2.cc: Likewise.
655 * testsuite/21_strings/basic_string/append/wchar_t/3.cc: Likewise.
657 * testsuite/21_strings/basic_string/assign/char/3.cc: Remove junk.
658 * testsuite/21_strings/basic_string/assign/wchar_t/3.cc: Likewise.
660 2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
662 * testsuite/ext/mt_allocator/deallocate_global-2.c:
663 s/value_t/value_type/. s/traits_t/traits_type/.
664 s/policy_t/policy_type/. s/allocator_t/allocator_type/.
665 s/string_t/string_type/. s/list_t/list_type/.
666 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
667 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
668 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
669 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
670 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
671 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
672 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
674 2004-10-21 Benjamin Kosnik <bkoz@redhat.com>
676 * include/tr1/array (array): Make safe for zero-sized arrays.
677 (array::end): Return one past the end.
678 (array::at): Use __throw_out_of_range, include functexcept.h.
679 (operator==): Implement.
685 * testsuite/tr1/6_containers/array/capacity/(empty.cc,
686 max_size.cc, size.cc): New.
687 * testsuite/tr1/6_containers/array/comparison_operators/(equal.cc,
688 greater.cc, greater_or_equal.cc, less.cc, less_or_equal.cc,
690 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
692 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
694 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc: New.
695 * testsuite/tr1/6_containers/array/requirements/(contiguous.cc,
696 instantiate, typedefs, zero_size_arrays): New.
698 2004-10-21 Paolo Carlini <pcarlini@suse.de>
699 Benjamin Kosnik <bkoz@redhat.com>
701 * include/bits/basic_string.h (_M_set_length_and_sharable): New.
702 * include/bits/basic_string.tcc (_S_construct, assign(const _CharT*,
703 size_type), _M_mutate, _M_clone): Use it.
704 (_Rep::_S_create): Don't set/call _M_length/_M_set_sharable here.
706 2004-10-21 Paolo Carlini <pcarlini@suse.de>
707 Dhruv Matani <dhruvbird@gmx.net>
708 Nathan Myers <ncm@cantrip.org>
710 * include/bits/vector.tcc (_M_insert_aux, _M_fill_insert,
711 _M_range_insert): Check at the outset that we are not trying
712 to exceed max_size, then deal properly with __len overflows.
713 * testsuite/23_containers/vector/modifiers/insert/1.cc: New.
715 * testsuite/testsuite_allocator.h: Remove redundant include.
717 2004-10-20 Paolo Carlini <pcarlini@suse.de>
719 * include/ext/bitmap_allocator.h (allocate): Throw std::bad_alloc
721 * include/ext/malloc_allocator.h (allocate): Likewise.
722 * include/ext/mt_allocator.h (allocate): Likewise.
723 * include/ext/new_allocator.h (allocate): Likewise.
724 * include/ext/array_allocator.h: Use __throw_bad_alloc().
725 * include/ext/pool_allocator.h: Use __builtin_expect.
726 * testsuite/ext/array_allocator/check_allocate_max_size.cc: New.
727 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: Likewise.
728 * testsuite/ext/malloc_allocator/check_allocate_max_size.cc: Likewise.
729 * testsuite/ext/mt_allocator/check_allocate_max_size.cc: Likewise.
730 * testsuite/ext/new_allocator/check_allocate_max_size.cc: Likewise.
731 * testsuite/ext/pool_allocator/check_allocate_max_size.cc: Likewise.
732 * testsuite/testsuite_allocator.h (check_allocate_max_size): New test.
734 2004-10-19 Paolo Carlini <pcarlini@suse.de>
736 * testsuite/performance/20_util/allocator/list_sort_search.cc:
737 Include <ext/new_allocator.h>.
738 * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
740 2004-10-18 Paolo Carlini <pcarlini@suse.de>
742 * include/bits/basic_string.tcc (_M_mutate): Do not reallocate
743 unnecessarily when _M_rep() == &_S_empty_rep() and __new_size
744 == capacity() (== 0): is ok to just leave everything unchanged.
746 * include/bits/basic_string.h: Minor formatting fixes.
747 * include/bits/basic_string.tcc: Likewise.
749 2004-10-17 Benjamin Kosnik <bkoz@redhat.com>
751 * include/ext/mt_allocator.h (__pool::_M_get_align): New.
752 (__mt_alloc::allocate): Use it.
753 * src/mt_allocator.cc (__pool::_M_reclaim_block): Use it.
754 (__pool::_M_reserve_block): Simplify block allocation.
756 2004-10-17 Dhruv Matani <dhruvbird@gmx.net>
757 Paolo Carlini <pcarlini@suse.de>
759 * include/ext/bitmap_allocator.h: Change unsigned int -> size_t: this
760 makes the code 64-bit correct and also fixes (together with using at
761 the beginning a bitmap 2 * size_t bytes wide) alignment issues: now
762 8 is guaranteed, easily tunable to 16 via _BALLOC_ALIGN_BYTES.
763 Fix pthread-rope7.cc fail by nulling out __mini_vector<> destructor.
764 * src/bitmap_allocator.cc: Change to size_t.
765 * config/linker-map.gnu: Adjust.
767 2004-10-16 Benjamin Kosnik <bkoz@redhat.com>
769 * include/tr1/array: Don't use layout_type.
771 2004-10-16 Sashan Govender <sashang@gmail.com>
773 * include/tr1/array (array::end const): Fix casting from iterator
776 2004-10-15 Paolo Carlini <pcarlini@suse.de>
778 * include/ext/bitmap_allocator.h: Qualify ::operator delete.
779 * src/bitmap_allocator.cc: Likewise.
780 * src/mt_allocator.cc: Use ::operator delete, not delete,
781 consistently with ::operator new.
783 * include/ext/bitmap_allocator.h (deallocate): Check for null
785 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
786 * testsuite/testsuite_allocator.h (check_deallocate_null): Add test.
788 2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
790 * include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for
792 * include/ext/pool_allocator.h (debug_allocator::deallocate):
794 * include/ext/debug_allocator.h (debug_allocator::deallocate):
795 Throw exceptions, don't abort.
796 * include/ext/array_allocator.h
797 (array_allocator_base::deallocate): Remove unused parameters.
798 * testsuite/testsuite_allocator.h (check_deallocate_null): New.
799 * testsuite/ext/mt_allocator/check_deallocate_null.cc: New.
800 * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New.
801 * testsuite/ext/array_allocator/check_deallocate_null.cc: New.
802 * testsuite/ext/debug_allocator/check_deallocate_null.cc: New.
803 * testsuite/ext/malloc_allocator/check_deallocate_null.cc: New.
804 * testsuite/ext/new_allocator/check_deallocate_null.cc: New.
805 * testsuite/ext/pool_allocator/check_deallocate_null.cc: New.
807 * testsuite/testsuite_allocator.h (check_new): Add instance argument.
808 * testsuite/ext/array_allocator/check_new.cc: New.
810 2004-10-14 Paolo Carlini <pcarlini@suse.de>
812 * include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block):
813 Rename __unused to __M_unused.
815 2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
817 * testsuite/ext/headers.cc: Add includes, compile only.
818 * testsuite/ext/hash_map.cc: Move to...
819 * testsuite/ext/hash_map/1.cc: ...here.
820 * testsuite/ext/14648.cc: Move to...
821 * testsuite/ext/hash_map/14648.cc: ...here.
822 * testsuite/ext/hash_map/instantiate.cc: Add.
823 * testsuite/ext/hash_set.cc: Move to...
824 * testsuite/ext/hash_set/1.cc: ...here.
825 * testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
826 * testsuite/ext/hash_set/instantiate.cc: ...here.
827 * testsuite/ext/hash_check_construct_destroy.cc: Move to...
828 * testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
829 * testsuite/ext/slist_check_construct_destroy.cc: Move to...
830 * testsuite/ext/slist/check_construct_destroy.cc: ...here.
831 * testsuite/ext/slist_explicit_instantiation.cc: Move to...
832 * testsuite/ext/slist/instantiate.cc: ...here.
834 2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
836 * include/ext/mt_allocator.h: Tweaks.
837 * src/mt_allocator.cc: Same.
839 2004-10-14 Dhruv Matani <dhruvbird@gmx.net>
841 * ext/bitmap_allocator.h: Clean-up add/remove functions.
842 * src/bitmap_allocator.cc: New file. Contains the out-of-line
843 function definitions, static initialization of variables, and
844 explicit instantiations needed for the allocator.
845 * src/Makefile.am: Add.
846 * src/Makefile.in: Regenerate.
847 * config/linker.map.gnu: Add the necessary symbols.
849 2004-10-13 Paolo Carlini <pcarlini@suse.de>
851 * include/bits/basic_string.tcc (_S_create): Use consistently
852 the exponential policy, simplify.
853 * testsuite/performance/21_strings/string_append_2.cc: New.
855 * include/ext/array_allocator.h (allocate): Fix bad_alloc check.
856 * testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in
857 that case sizeof(_Rep) == 24).
859 2004-10-12 Paolo Carlini <pcarlini@suse.de>
862 * include/bits/stl_tree.h (erase(iterator, iterator)): Revert
863 wrong commit of 2004-10-07.
865 2004-10-12 Scott Snyder <snyder@fnal.gov>
868 * testsuite/23_containers/set/modifiers/17948.cc: New.
870 2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
872 * include/bits/stl_deque.h: Correct for over-long lines.
874 2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
877 * include/ext/mt_allocator.h (__pool::_M_destroy): New.
878 * src/mt_allocator.cc (__pool::~__pool): Change definitions to
880 * acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT.
881 * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove.
882 * configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT.
883 * configure: Regenerate.
884 * config/linker-map.gnu: Tweak exports.
885 * docs/html/ext/mt_allocator.html: Update docs.
886 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix.
887 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix.
888 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix.
889 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix.
890 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix.
891 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix.
892 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix.
893 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix.
895 2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
897 PR libstdc++/16614 continued.
898 * include/ext/mt_allocator.h
899 (__per_type_pool_policy::_S_get_pool): Use saner defaults based on
900 specific type characteristics.
901 (__pool_base): Add constructor that takes a _Tune argument.
903 * testsuite/ext/mt_allocator/tune-2.cc: Adjust default.
904 * testsuite/ext/mt_allocator/tune-4.cc: Same.
905 * testsuite/ext/mt_allocator/tune-3.cc: Same.
907 2004-10-11 Joachim Kuebart <kuebart@mathematik.uni-ulm.de>
908 Paolo Carlini <pcarlini@suse.de>
910 * src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk):
911 Deal properly with exceptions thrown by ::operator new(size_t).
912 * testsuite/ext/pool_allocator/allocate_chunk.cc: New.
914 * include/ext/pool_allocator.h: Include <cstdlib>.
916 2004-10-10 Benjamin Kosnik <bkoz@redhat.com>
918 * include/bits/functexcept.h: Add guards.
920 * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test.
921 * configure: Regenerate.
923 2004-10-10 Paolo Carlini <pcarlini@suse.de>
925 * config/locale/gnu/monetary_members.cc (_S_construct_pattern):
926 Give __ret a default value, thus avoiding spurious warnings.
928 * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either
929 words or linux.words, otherwise exit.
930 * testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak.
932 2004-10-09 Paolo Carlini <pcarlini@suse.de>
934 * include/std/std_memory.h (__get_temporary_buffer): Don't use
935 INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit
937 * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error
940 2004-10-08 Benjamin Kosnik <bkoz@redhat.com>
942 * acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.
943 * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New.
944 * configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT.
945 * configure: Regenerate.
946 * src/mt_allocator.cc (__pool::~__pool): Make conditional on
947 _GLIBCXX_USE___CXA_ATEXIT macro.
948 * docs/html/ext/mt_allocator.html: Add note about deallocation.
949 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks
950 with _GLIBCXX_USE___CXA_ATEXIT.
951 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
952 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
953 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
954 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
955 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
956 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
957 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
959 2004-10-07 Phil Edwards <phil@codesourcery.com>
961 * testsuite/lib/libstdc++.exp: Update list of undefined functions.
963 2004-10-07 Paolo Carlini <pcarlini@suse.de>
965 * include/bits/list.tcc (operator=): Avoid iterator postincrement.
966 * include/bits/stl_tree.h (erase(iterator, iterator)): Likewise.
968 2004-10-07 Benjamin Kosnik <bkoz@redhat.com>
971 * include/tr1/array: New.
972 * include/Makefile.am (tr1_headers): New.
974 (install-headers): New.
975 (allstamped): Add stamp-tr1.
977 * include/ext/array_allocator.h: New.
978 * include/Makefile.am: Add.
979 * include/Makefile.in: Regenerate.
980 * testsuite/ext/array_allocator/1.cc: New.
981 * testsuite/ext/array_allocator/2.cc: New.
983 2004-10-07 Richard Earnshaw <rearnsha@arm.com>
985 * testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
987 2004-10-07 Roger Sayle <roger@eyesopen.com>
990 * configure.ac: Newlib does not provide strtold.
991 * configure: Regenerate.
993 2004-10-06 Benjamin Kosnik <bkoz@redhat.com>
995 * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
996 (GLIBCXX_CONFIGURE_TESTSUITE): Use it.
997 * configure: Regenerated.
998 * testsuite/Makefile.am (CLEANFILES): Add TEST for
999 check-performance executables.
1000 (stamp_thread): New.
1001 (all-local): Use it.
1002 * testsuite/Makefile.in: Regenerate.
1003 * scripts/create_testsuite_files: Filter thread tests.
1005 * testsuite/thread/pthread1.cc: Remove macro conditionals: this
1006 file will only be run by thread enabled configurations.
1007 * testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef.
1008 * testsuite/thread/pthread6.cc: Same.
1009 * testsuite/thread/pthread5.cc: Same.
1010 * testsuite/thread/pthread4.cc: Same.
1011 * testsuite/thread/pthread3.cc: Same.
1012 * testsuite/thread/pthread2.cc: Same.
1014 * testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard.
1015 * testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to...
1016 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here.
1017 * testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to...
1018 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here.
1019 * testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to...
1020 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here.
1021 * testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to...
1022 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here.
1024 2004-10-06 Benjamin Kosnik <bkoz@redhat.com>
1025 Paolo Carlini <pcarlini@suse.de>
1028 * src/mt_allocator.cc (__pool<true>::_M_reserve_block): Revert
1029 to old locking order.
1031 2004-10-06 Paolo Carlini <pcarlini@suse.de>
1033 * include/std/std_sstream.h (_M_sync): When the caller is
1034 setbuf, don't trust _M_string.capacity() to be the size of
1035 the buffer area, use _M_string.size() in this case.
1036 * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New.
1037 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise.
1039 * include/bits/sstream.tcc (overflow): Avoid calling string::assign
1040 unnecessarily when the current _M_string is empty.
1042 2004-10-06 Paolo Carlini <pcarlini@suse.de>
1044 * include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)):
1045 Avoid iterator postincrement.
1046 (__rotate): Likewise.
1048 * include/bits/stl_algo.h: Minor formatting tweaks.
1050 2004-10-06 Christopher Jefferson <caj@cs.york.ac.uk>
1052 * include/bits/stl_algo.h (__reverse(random_access_iterator_tag)):
1053 Avoid iterator postincrement; fix swapping middle element with
1054 itself on odd-length inputs.
1056 2004-10-05 Benjamin Kosnik <bkoz@redhat.com>
1059 * include/ext/mt_allocator.h (__pool_base::_Tune): Add default
1060 options as compile-time constant enums.
1061 (__pool_base::_Tune::is_default): New.
1062 (__pool_base::_Block_address): New.
1063 (__pool_base): Rearrange data members.
1064 (__pool::_M_reserve_memory): To _M_reserve_block.
1065 (__pool::_M_reclaim_memory): To _M_reclaim_block.
1066 (__pool::_Bin_record): Add _Block_address data member.
1067 (__pool<false>): Add _M_thread_freelist_initial.
1068 (__pool::~__pool): Declare.
1069 (__common_pool_policy): Move static data member to...
1070 (__common_pool_policy::_S_get_pool): ...here, make static local.
1071 (__per_type_pool_policy): Move static data member to...
1072 (__per_type_pool_policy::_S_get_pool): ...here, make static local.
1073 (__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool.
1074 Remove static member definitions. Use define for __default_policy.
1075 * src/mt_allocator.cc: Same.
1076 * config/linker-map.gnu: Don't export _S_get_pool. Renames.
1077 * testsuite/ext/new_allocator: New.
1078 * testsuite/ext/new_allocator/instantiate.cc: New.
1079 * testsuite/ext/new_allocator/check_new.cc: New.
1080 * testsuite/ext/new_allocator/deallocate_global.cc: New.
1081 * testsuite/ext/new_allocator/deallocate_local.cc: New.
1082 * testsuite/ext/mt_allocator/instantiate.cc: Instantiate all
1084 * testsuite/ext/mt_allocator/deallocate_global-1.cc: New.
1085 * testsuite/ext/mt_allocator/deallocate_global-2.cc: New.
1086 * testsuite/ext/mt_allocator/deallocate_global-3.cc: New.
1087 * testsuite/ext/mt_allocator/deallocate_global-4.cc: New.
1088 * testsuite/ext/mt_allocator/deallocate_local-1.cc: New.
1089 * testsuite/ext/mt_allocator/deallocate_local-2.cc: New.
1090 * testsuite/ext/mt_allocator/deallocate_local-3.cc: New.
1091 * testsuite/ext/mt_allocator/deallocate_local-4.cc: New.
1092 * testsuite/ext/mt_allocator/deallocate.cc: New.
1093 * testsuite/ext/malloc_allocator/deallocate.cc: New.
1094 * testsuite/ext/malloc_allocator/deallocate_global.cc: New.
1095 * testsuite/ext/malloc_allocator/deallocate_local.cc: New.
1097 2004-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1099 * configure.host (abi_baseline_pair): Define for s390-*-linux* and
1101 * config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols.
1102 * config/abi/s390x-linux-gnu/baseline_symbols.txt: New file.
1104 2004-10-05 Christopher Jefferson <caj@cs.york.ac.uk>
1106 * include/bits/stl_algobase.h (iter_swap): delegate to swap via
1107 __iter_swap when iterator's value_types are equal.
1108 (struct __iter_swap): New.
1110 2004-10-04 Benjamin Kosnik <bkoz@redhat.com>
1112 * configure.ac (libtool_VERSION): To 6:3:0.
1113 * configure: Regnerate.
1114 * testsuite/testsuite_abi.cc (check_version): Add 3.4.3.
1116 2004-10-04 Roger Sayle <roger@eyesopen.com>
1117 Eric Botcazou <ebotcazou@libertysurf.fr>
1120 * config/linker-map.gnu: Synchronize the current list of stub
1121 functions from libmath.
1123 2004-10-03 Roger Sayle <roger@eyesopen.com>
1125 * config/locale/generic/c_locale.cc (__convert_to_v): Use
1126 _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof.
1127 Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99
1128 to check for presence of strtold.
1130 2004-10-03 Paolo Carlini <pcarlini@suse.de>
1132 * include/bits/stl_list.h: Trivial formatting fixes.
1133 * include/bits/stl_tree.h: Likewise.
1135 2004-10-03 Paolo Carlini <pcarlini@suse.de>
1137 * include/bits/sstream.tcc (seekpos): In case of success, just
1140 2004-10-01 Paolo Carlini <pcarlini@suse.de>
1142 * include/bits/sstream.tcc (pbackfail): Implement correctly
1143 27.7.1.3/2, bullet 2: if mode & ios_base::out is false do not
1144 write in the buffer.
1145 * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: New.
1146 * testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise.
1147 * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise.
1148 * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise.
1149 * testsuite/27_io/basic_istream/putback/char/1.cc: Tweak consistently.
1151 2004-10-01 Paolo Carlini <pcarlini@suse.de>
1153 * include/bits/sstream.tcc (seekpos): Minor rearrangement of two
1154 conditionals consistently with seekoff.
1155 * include/std/std_sstream.h (setbuf): Avoid a string temporary.
1156 (_M_sync): Simplify a bit, clean-up comment.
1158 2004-09-30 Paolo Carlini <pcarlini@suse.de>
1160 PR libstdc++/10975 (DR 453)
1161 * include/bits/sstream.tcc (seekoff): Don't fail if __beg == 0
1163 * docs/html/ext/howto.html: Add an entry for DR 453.
1164 * testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: New.
1165 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise.
1166 * testsuite/27_io/basic_istream/tellg/char/1.cc: Tweak consistently.
1167 * testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise.
1168 * testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise.
1169 * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: Fix and
1171 * testsuite/27_io/basic_istream/seekp/char/2346-fstream.cc: ... here.
1172 * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: Fix and
1174 * testsuite/27_io/basic_istream/seekp/char/2346-sstream.cc: ... here.
1176 2004-09-29 Paolo Carlini <pcarlini@suse.de>
1178 * include/std/std_sstream.h (basic_stringbuf(ios_base::openmode)):
1179 Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1.
1180 (str()): Slightly tweak, protect from pptr() == 0.
1181 (_M_update_egptr()): Likewise.
1182 * include/bits/sstream.tcc (ssekoff, seekpos): In order to check
1183 for an empty buffer use __beg instead of _M_string.capacity().
1184 * testsuite/27_io/basic_stringbuf/cons/char/1.cc: New.
1185 * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise.
1187 * testsuite/27_io/basic_filebuf/cons/char/1.cc: New.
1188 * testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise.
1189 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Update.
1190 * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise.
1192 2004-09-29 Paolo Carlini <pcarlini@suse.de>
1193 Benjamin Kosnik <bkoz@redhat.com>
1195 * testsuite/testsuite_io.h (class constraint_buf): New, extended
1196 and templatized version of constraint_filebuf; add typedefs for
1197 streambuf/stringbuf/filebuf and wchar_t counterparts.
1199 2004-09-28 Paolo Carlini <pcarlini@suse.de>
1202 * include/bits/basic_string.h (_M_dispose, _M_refcopy,
1203 basic_string()): When _GLIBCXX_FULLY_DYNAMIC_STRING is defined,
1204 don't deal with _S_empty_rep.
1205 * include/bits/basic_string.tcc (_S_construct, _M_destroy,
1206 _M_leak_hard, _M_mutate): Likewise.
1207 * acinclude.m4 (GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING): New.
1208 * acconfig.h: Add corresponding undef.
1209 * configure.ac: Use GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING.
1210 * docs/html/configopts.html: Document --enable-fully-dynamic-string.
1211 * configure: Regenerate.
1212 * config.h.in: Likewise.
1214 2004-09-28 Benjamin Kosnik <bkoz@redhat.com>
1215 Paolo Carlini <pcarlini@suse.de>
1217 * testsuite/21_strings/basic_string/operations/char/1.cc: New.
1218 * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: New.
1219 * testsuite/21_strings/basic_string/element_access/char/empty.cc: New.
1220 * testsuite/21_strings/basic_string/element_access/wchar_t/empty.cc:
1223 2004-09-28 Paolo Carlini <pcarlini@suse.de>
1225 * README: Remove obsolete entry about include/c_shadow.
1227 2004-09-24 H.J. Lu <hongjiu.lu@intel.com>
1230 * testsuite/lib/libstdc++.exp: Don't use global ld_library_path.
1232 2004-09-24 Paolo Carlini <pcarlini@suse.de>
1234 * src/localename.cc (locale::locale(const char*)): Minor tweaks:
1235 rename a variable, move an assignment.
1236 (locale::_Impl::_Impl(const char*, size_t)): Likewise, minor tweak.
1238 2004-09-24 Paul Brook <paul@codesourcery.com>
1240 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL more arm
1242 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1243 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Ditto.
1244 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Ditto.
1245 * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Ditto.
1246 * testsuite/ext/stdio_filebuf/char/10063-2.cc: Ditto.
1247 * testsuite/ext/stdio_filebuf/char/10063-3.cc: Ditto.
1249 2004-09-23 Zack Weinberg <zack@codesourcery.com>
1251 * testsuite/20_util/memory/auto_ptr/assign_neg.cc
1252 * testsuite/23_containers/map/operators/1_neg.cc
1253 * testsuite/23_containers/set/operators/1_neg.cc:
1254 Update locations and/or regexps of dg-error markers.
1256 2004-09-23 P.J. Darcy <darcypj@us.ibm.com>
1258 * include/Makefile.am (thread_host_headers): Add gthr-tpf.h.
1259 Add rule to build ${host_builddir}/gthr-tpf.h.
1260 * include/Makefile.in: Regenerate.
1262 2004-09-23 Paolo Carlini <pcarlini@suse.de>
1263 Magnus Fromreide <magfr@lysator.liu.se>
1265 * include/bits/boost_concept_check.h (struct _SequenceConcept):
1266 Remove wrong requirement, i.e., not present in Table 67.
1268 2004-09-21 Paolo Carlini <pcarlini@suse.de>
1270 PR libstdc++/12882 (cont)
1271 * acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fstat64 too.
1272 * configure: Regenerate.
1273 * config/io/basic_file_stdio.cc (__basic_file<>::showmanyc): When
1274 _GLIBCXX_USE_LFS use fstat64 and lseek64, thus providing a non
1275 trivial showmanyc for large files too.
1277 2004-09-17 Jonathan Wakely <redi@gcc.gnu.org>
1279 * include/bits/stl_algo.h (remove): Remove too restrictive
1282 2004-09-17 Paolo Carlini <pcarlini@suse.de>
1284 * include/bits/fstream.tcc (xsgetn): Slightly tweak conditional,
1285 as per Nathan's original suggestion.
1287 2004-09-17 Paolo Carlini <pcarlini@suse.de>
1289 * testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean
1291 * testsuite/ext/mt_allocator/tune-2.cc: Likewise.
1292 * testsuite/ext/mt_allocator/tune-3.cc: Likewise.
1293 * testsuite/ext/mt_allocator/tune-4.cc: Likewise.
1295 2004-09-17 Paolo Carlini <pcarlini@suse.de>
1296 Andrea Arcangeli <andrea@suse.de>
1298 * config/io/basic_file_stdio.cc (__basic_file<>::close)): Don't
1299 call unnecessarily sync, that is fflush: the library, since 3.4.0
1300 does not use buffered fread/fwrite.
1301 * include/bits/fstream.tcc (basic_filebuf<>::overflow): Likewise.
1303 2004-09-15 Mark Mitchell <mark@codesourcery.com>
1305 * config/cpu/arm/cxxabi_tweaks.h (__cxa_cdtor_return_type):
1307 * config/cpu/generic/cxxabi_tweaks.h (__cxa_cdtor_return_type):
1309 * libsupc++/cxxabi.h (__cxa_cdtor_return_type): New type.
1310 (__cxa_vec_new): Use it.
1311 (__cxa_vec_new2): Likewise.
1312 (__cxa_vec_new3): Likewise.
1313 (__cxa_vec_cdtor): Likewise.
1314 (__cxa_vec_cctor): Likeiwse.
1315 (__cxa_vec_dtor): Likewise.
1316 (__cxa_vec_cleanup): Likewise.
1317 (__cxa_vec_delete2): Likewise.
1318 (__cxa_vec_delete3): Likewise.
1319 * libsupc++/vec.cc (__cxa_vec_new): Likewise.
1320 (__cxa_vec_new2): Likewise.
1321 (__cxa_vec_new3): Likewise.
1322 (__cxa_vec_cdtor): Likewise.
1323 (__cxa_vec_cctor): Likeiwse.
1324 (__cxa_vec_dtor): Likewise.
1325 (__cxa_vec_cleanup): Likewise.
1326 (__cxa_vec_delete2): Likewise.
1327 (__cxa_vec_delete3): Likewise.
1328 (__aeabi_vec_ctor_nocookie_nodtor): New function.
1329 (__aeabi_vec_ctor_cookie_nodtor): Likewise.
1330 (__aeabi_vec_cctor_nocookie_nodtor): Likewise.
1331 (__aeabi_vec_new_cookie_noctor): Likewise.
1332 (__aeabi_vec_new_nocookie): Likewise.
1333 (__aeabi_vec_new_cookie_nodtor): Likewise.
1334 (__aeabi_vec_new_cookie): Likewise.
1335 (__aeabi_vec_dtor): Likewise.
1336 (__aeabi_vec_dtor_cookie): Likewise.
1337 (__aeabi_vec_delete): Likewise.
1338 (__aeabi_vec_delete3): Likewise.
1339 (__aeabi_vec_delete3_nodtor): Likewise.
1340 (__aeabi_atexit): Likewise.
1342 2004-09-14 Nathan Myers <ncm@cantrip.org>
1344 * include/bits/fstream.tcc (xsgetn): Slightly tweak the recent fix
1345 for 11722: copy can replace move; the common case is __avail == 0.
1347 2004-09-14 Paolo Carlini <pcarlini@suse.de>
1349 * include/bits/cpp_type_traits.h: Rename __is_trivially_copyable
1350 to __is_scalar, more clear and consistent with "tr1" naming.
1351 * include/bits/stl_algobase.h: Update consistently throughout.
1353 2004-09-13 Paolo Carlini <pcarlini@suse.de>
1356 * include/std/std_fstream.h (xsgetn): Declare only.
1357 * include/bits/fstream.tcc (xsgetn): Define, optimize for the
1358 always_noconv() case: when __n > __buflen, copy the available
1359 buffer and issue a direct read.
1360 * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: New.
1362 * include/bits/fstream.tcc (xsputn): Minor tweak, reorder a
1365 2004-09-13 Hans-Peter Nilsson <hp@bitrange.com>
1367 * testsuite/lib/libstdc++.exp: Use gcc wrapper.exp and call
1368 libstdc++_maybe_build_wrapper instead of using local code.
1370 2004-09-08 Benjamin Kosnik <bkoz@redhat.com>
1372 * config/linker-map.gnu (GLIBCXX_3.4.3): New, adjust symbol exports.
1374 2004-09-03 Jan Beulich <jbeulich@novell.com>
1376 * crossconfig.m4: Add NetWare as a target.
1377 * configure: Regenerate.
1379 2004-09-02 Mark Mitchell <mark@codesourcery.com>
1381 * libsupc++/typeinfo: Honor __GXX_MERGED_TYPEINFO_NAMES if already
1384 2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
1385 Simon Richter <Simon.Richter@hogyros.de>
1388 * include/bits/istream.tcc: Add extern template for iostream
1389 char and wchar_t instantiations.
1391 2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
1392 Leland Wang <llwang@infor.org>
1395 * include/ext/ropeimpl.h (rope::_S_compare): Use
1396 _Rope_constants::_S_leaf.
1398 2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
1401 * include/Makefile.am (ext_headers): Remove demangle.h.
1402 * include/Makefile.in: Regenerate.
1403 * include/ext/demangle.h: Remove.
1405 2004-09-01 Benjamin Kosnik <bkoz@redhat.com>
1408 * include/ext/mt_allocator.h (__mt_base): Not type dependent,
1410 (__pool): New, specialize.
1411 (__common_pool): New, static bits here.
1412 (__per_type_pool): New, and here.
1413 (__mt_alloc_base): New.
1414 (__mt_alloc): Add template parameter, inherit from it.
1415 * src/allocator.cc: Split this...
1416 * src/allocator-inst.cc: And this...
1417 * src/pool_allocator.cc: ...into this.
1418 * src/mt_allocator.cc: ... and this. Add definitions for
1420 * src/Makefile.am (sources): Split allocator.cc to
1421 pool_allocator.cc and mt_allocator.cc.
1422 * src/Makefile.in: Regenerate.
1423 * config/linker-map.gnu: Add symbols.
1424 * docs/html/ext/mt_allocator.html: Document new design.
1425 * testsuite/ext/mt_allocator/tune-1.cc: New.
1426 * testsuite/ext/mt_allocator/tune-2.cc: New.
1427 * testsuite/ext/mt_allocator/tune-3.cc: New.
1428 * testsuite/ext/mt_allocator/tune-4.cc: New.
1430 * testsuite/testsuite_allocator.h (__gnu_test::check_new): New.
1431 * testsuite/ext/allocators.cc: Use check_new, split into...
1432 * testsuite/ext/mt_allocator/check_new.cc: this.
1433 * testsuite/ext/pool_allocator/check_new.cc: this.
1434 * testsuite/ext/malloc_allocator/check_new.cc: this.
1435 * testsuite/ext/debug_allocator/check_new.cc: this.
1436 * testsuite/ext/mt_allocator/instantiate.cc: this.
1437 * testsuite/ext/pool_allocator/instantiate.cc: this.
1438 * testsuite/ext/malloc_allocator/instantiate.cc: this.
1439 * testsuite/ext/debug_allocator/instantiate.cc: this.
1441 2004-08-30 Phil Edwards <phil@codesourcery.com>
1443 * docs/html/install.html: Update locales list (from Paolo).
1444 Remove other redundant information and point to the GCC install
1447 2004-08-30 Benjamin Kosnik <bkoz@redhat.com>
1449 * include/ext/pool_allocator.h: Rename __pool_base to
1451 * src/allocator.cc: Same.
1452 * config/linker-map.gnu: Same.
1454 2004-08-30 Paolo Carlini <pcarlini@suse.de>
1455 Kenneth C. Schalk <ken@xorian.net>
1458 * config/io/basic_file_stdio.cc (__basic_file<char>::close()):
1459 Check the return value of fclose/sync, loop on EINTR.
1460 (__basic_file<char>::sys_open): Likewise, for sync.
1462 2004-08-29 Paolo Carlini <pcarlini@suse.de>
1464 * include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format,
1465 case 'S'): Allow for at least one leap-second (as per C99, 7.23.1
1466 and 7.23.3.5), two if !_GLIBCXX_USE_C99.
1467 * testsuite/22_locale/time_get/get_time/char/4.cc: New.
1468 * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
1470 2004-08-27 Jason Merrill <jason@redhat.com>
1473 * libsupc++/guard.cc (static_mutex): Internal class implementing a
1474 recursive mutex which controls initialization of local statics.
1475 (__gnu_cxx::recursive_init): New exception class.
1476 (__cxa_guard_acquire): Deal with locking and recursion detection.
1477 (acquire_1, __cxa_guard_abort, __cxa_guard_release): Likewise.
1479 2004-08-27 Matthias Klose <doko@debian.org>
1481 * configure.host: For mips*-*-linux* update cpu_include_dir
1482 after atomicity_dir is set.
1484 2004-08-27 Matthias Klose <doko@debian.org>
1486 * config/abi/arm-linux-gnu/baseline_symbols.txt: New.
1487 * config/abi/mips-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1488 * configure.host: Set abi_baseline_pair for arm*-*-linux* and
1491 2004-08-27 Paolo Carlini <pcarlini@suse.de>
1493 * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: New.
1494 * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise.
1495 * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise.
1496 * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise.
1497 * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise.
1499 * testsuite/27_io/manipulators/adjustfield/char/1.cc: Minor
1501 * testsuite/27_io/manipulators/adjustfield/char/2.cc: Likewise.
1502 * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise.
1503 * testsuite/27_io/manipulators/standard/char/1.cc: Likewise.
1504 * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
1506 2004-08-25 Paolo Carlini <pcarlini@suse.de>
1508 PR libstdc++/17038 (partial)
1509 * include/bits/locale_facets.tcc (time_put<>::do_put): Increase
1511 * include/bits/locale_facets.h (class __timepunct): Add FIXME
1512 comment about _M_put.
1513 * config/locale/generic/time_members.cc (_M_put): Always null
1515 * config/locale/gnu/time_members.cc (_M_put): Likewise.
1516 * testsuite/22_locale/time_put/put/char/17038.cc: New.
1517 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: New.
1519 2004-08-24 Paolo Carlini <pcarlini@suse.de>
1521 * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: New.
1522 * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
1523 * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise.
1524 * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise.
1525 * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
1526 * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise.
1528 * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Trim excess
1530 * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise.
1532 2004-08-22 Matthias Klose <doko@debian.org>
1534 * config/abi/m68k-linux-gnu/baseline_symbols.txt: New.
1535 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1537 2004-08-23 Paolo Carlini <pcarlini@suse.de>
1539 * configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE.
1540 * aclocal.m4: Regenerate with automake-1.9.1.
1541 * configure: Regenerate.
1542 * Makefile.in: Likewise.
1543 * include/Makefile.in: Likewise.
1544 * libmath/Makefile.in: Likewise.
1545 * libsupc++/Makefile.in: Likewise.
1546 * po/Makefile.in: Likewise.
1547 * src/Makefile.in: Likewise.
1548 * testsuite/Makefile.in: Likewise.
1550 2004-08-22 Paolo Carlini <pcarlini@suse.de>
1552 * include/bits/locale_facets.tcc (num_put<>::do_put(bool)): Cast
1553 to a signed type, long according to the resolution of DR 359.
1554 * testsuite/22_locale/num_put/put/char/9.cc: New.
1555 * testsuite/22_locale/num_put/put/wchar_t/9.cc: New.
1557 * include/bits/locale_facets.tcc (num_put<>::do_put(const void*)):
1558 Simplify a bit: no need to clear showpos.
1560 2004-08-21 Paolo Carlini <pcarlini@suse.de>
1562 * include/bits/char_traits.h (struct _Char_traits_match): Remove,
1565 2004-08-21 Paolo Carlini <pcarlini@suse.de>
1567 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper
1568 wchar_t type for the fill argument; minor formatting tweaks.
1569 * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
1570 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
1571 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
1572 * testsuite/22_locale/money_put/put/wchar_t/4.cc: Likewise.
1573 * testsuite/22_locale/money_put/put/wchar_t/5.cc: Likewise.
1574 * testsuite/22_locale/money_put/put/wchar_t/6.cc: Likewise.
1576 2004-08-21 Paolo Carlini <pcarlini@suse.de>
1578 * include/bits/basic_ios.tcc (basic_ios<>::copyfmt): Don't deal
1579 with _M_word != _M_local_word two times, redundantly.
1581 2004-08-20 Jason Merrill <jason@redhat.com>
1583 * include/Makefile.am (${host_builddir}/gthr.h): Don't add
1584 _GLIBCXX_ to #pragma lines.
1585 * include/Makefile.in: Update.
1587 2004-08-20 Paolo Carlini <pcarlini@suse.de>
1589 PR libstdc++/7219 (continued)
1590 * include/bits/ios_base.h (class ios_base): Expose Annex D.6
1591 typedefs by default.
1592 * testsuite/27_io/types/1.cc: Remove #if _GLIBCXX_DEPRECATED.
1593 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak dg-error
1595 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1597 2004-08-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1599 * cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memory
1600 barrier to locking asm.
1602 2004-08-20 Paolo Carlini <pcarlini@suse.de>
1604 * include/c_std/cmath.tcc (__cmath_power): Revert previous commit:
1605 actually the warning is a front-end bug (c++/17120).
1607 2004-08-20 Matthias Klose <doko@debian.org>
1609 * config/abi/s390-linux-gnu/baseline_symbols.txt: New.
1611 2004-08-20 Paolo Carlini <pcarlini@suse.de>
1613 * include/c_std/cmath.tcc (__cmath_power): Suppress assignment
1614 used as truth value warning.
1616 2004-08-20 Paolo Carlini <pcarlini@suse.de>
1618 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit
1621 2004-08-20 Paolo Carlini <pcarlini@suse.de>
1623 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Fix it.
1625 2004-08-19 Benjamin Kosnik <bkoz@redhat.com>
1627 * testsuite/22_locale/time_put/put/char/3.cc (test03): Don't check
1629 * testsuite/22_locale/time_put/put/wchar_t/3.cc (test03): Same.
1631 2004-08-19 Paolo Carlini <pcarlini@suse.de>
1633 * testsuite/performance/20_util/allocator/insert.cc: For std::map
1634 instantiate the allocator for a correct pair type.
1635 * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
1636 * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
1637 * testsuite/performance/20_util/allocator/producer_consumer.cc:
1640 * testsuite/performance/20_util/allocator/list_sort_search.cc: Very
1641 minor formatting fixes.
1642 * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
1644 2004-08-19 Paolo Carlini <pcarlini@suse.de>
1646 * testsuite/22_locale/time_put/put/char/1.cc: Add VERIFY on the
1648 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
1649 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
1650 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
1651 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
1652 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
1653 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
1654 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
1656 2004-08-19 Paolo Carlini <pcarlini@suse.de>
1658 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1660 2004-08-18 Matthias Klose <doko@debian.org>
1662 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1663 * config/abi/i386-linux-gnu/baseline_symbols.txt: New.
1664 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: New.
1666 2004-08-17 Paolo Carlini <pcarlini@suse.de>
1668 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1670 2004-08-17 Paolo Carlini <pcarlini@suse.de>
1672 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1674 2004-08-17 Benjamin Kosnik <bkoz@redhat.com>
1676 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1678 2004-08-16 Paolo Carlini <pcarlini@suse.de>
1680 * include/bits/indirect_array.h: Trivial formatting fixes.
1681 * include/bits/valarray_after.h: Likewise.
1682 * include/bits/valarray_array.h: Likewise.
1683 * src/valarray-inst.cc: Likewise.
1685 2004-08-15 Paolo Carlini <pcarlini@suse.de>
1687 * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk.
1688 * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
1689 * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.
1691 * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New.
1692 * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
1693 * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
1694 * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
1695 * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.
1697 2004-08-15 Paolo Carlini <pcarlini@suse.de>
1699 * include/bits/deque.tcc: Trivial formatting fixes.
1701 2004-08-15 Paolo Carlini <pcarlini@suse.de>
1703 * include/bits/deque.tcc: Trivial formatting fixes.
1705 * include/bits/locale_facets.tcc (num_get<>::do_get(&bool)):
1706 Remove unneded typedef.
1708 * include/bits/locale_facets.tcc: Very minor tweaks.
1710 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper
1711 type for the fill argument.
1712 * testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
1713 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
1714 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
1715 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
1716 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
1717 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
1718 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
1719 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
1721 2004-08-13 Paolo Carlini <pcarlini@suse.de>
1723 * src/debug.cc (_Error_formatter::_M_print_string): Fix thinko,
1724 memmove is not needed, memcpy suffices.
1726 2004-08-13 Paolo Carlini <pcarlini@suse.de>
1728 * include/std/std_fstream.h (class basic_ifstream,
1729 class basic_ofstream, class basic_fstream): Add const overloads
1730 of is_open, as per DR 365 [WP].
1731 * docs/html/ext/howto.html: Add an entry for DR 365.
1733 2004-08-12 Paolo Carlini <pcarlini@suse.de>
1735 * configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.
1737 2004-08-12 Paolo Carlini <pcarlini@suse.de>
1740 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
1741 to the returned value, reorganize a bit.
1742 * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New.
1743 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New.
1745 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk.
1746 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
1747 * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
1748 * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
1750 2004-08-12 Paul Brook <paul@codesourcery.com>
1752 * config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and
1753 _GLIBCXX_CXA_VEC_CTOR_RETURN.
1754 * config/cpu/generic/cxxabi_tweaks.h: Ditto.
1755 * libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use
1756 __cxa_vec_ctor_return.
1757 * libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto.
1758 Use _GLIBCXX_CXA_VEC_CTOR_RETURN.
1760 2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
1762 * Makefile.in, aclocal.m4, configure, include/Makefile.in,
1763 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1764 src/Makefile.in, testsuite/Makefile.in: Regenerate
1766 2004-08-12 Jan Beulich <jbeulich@novell.com>
1768 * config/locale/generic/ctype_members.cc
1769 (ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
1770 initializer for return value, as that is invalid for enumerated types.
1771 * config/locale/gnu/ctype_members.cc
1772 (ctype<wchar_t>::_M_convert_to_wmask): Likewise.
1774 2004-08-11 Paolo Carlini <pcarlini@suse.de>
1776 * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
1778 2004-08-11 Paolo Carlini <pcarlini@suse.de>
1780 * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test
1782 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto.
1783 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk.
1784 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto.
1785 * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto.
1786 * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto.
1787 * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto.
1788 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto.
1789 * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto.
1790 * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto.
1791 * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto.
1792 * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto.
1793 * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto.
1794 * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto.
1795 * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto.
1796 * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto.
1797 * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto.
1798 * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto.
1799 * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto.
1800 * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto.
1801 * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto.
1802 * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto.
1804 2004-08-11 Paolo Carlini <pcarlini@suse.de>
1805 Petur Runolfsson <peturr02@ru.is>
1808 * src/ios_init.cc (ios_base::sync_with_stdio): Make sure the
1809 standard streams are constructed.
1810 * testsuite/27_io/ios_base/sync_with_stdio/16959.cc: New.
1812 2004-08-09 Paolo Carlini <pcarlini@suse.de>
1814 * include/bits/stl_bvector.h: Trivial formatting fixes.
1816 2004-08-09 Paolo Carlini <pcarlini@suse.de>
1818 * src/ios.cc (ios_base::_M_grow_words): Uglify the names.
1820 2004-08-07 Jonathan Wakely <redi@gcc.gnu.org>
1821 Paolo Carlini <pcarlini@suse.de>
1823 * src/debug.cc (_Error_formatter::_M_print_string): In order
1824 to print individual words from __string, _M_format_word can't
1825 be called since may be just sprintf, thus ignoring completely
1826 __n: instead, use memmove and append '\0' by hand.
1828 2004-08-07 Paolo Carlini <pcarlini@suse.de>
1830 * config/locale/generic/c_locale.h (__convert_from_v): Don't
1831 use a default for __prec, assume __prec >= 0 and simplify.
1832 * config/locale/gnu/c_locale.h (__convert_from_v): Likewise.
1833 * include/bits/locale_facets.tcc (money_put<>::do_put(long double)):
1834 Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf".
1836 2004-08-04 Phil Edwards <phil@codesourcery.com>
1838 * docs/html/configopts.html: Emphasize that options change.
1839 * docs/html/17_intro/configury.html: Update links.
1841 2004-08-03 Paolo Carlini <pcarlini@suse.de>
1843 * include/bits/list.tcc: Trivial formatting fixes.
1845 2004-08-03 Mark Mitchell <mark@codesourcery.com>
1847 * libsupc++/new_op.cc: Update comments.
1848 * libsupc++/del_op.cc: Likewise.
1850 2004-08-02 Mark Mitchell <mark@codesourcery.com>
1852 * libsupc++/cxxabi.h: Make all declarations have default
1854 * libsupc++/exception: Likewise.
1855 * libsupc++/new: Likewise.
1856 * libsupc++/typeinfo: Likewise.
1857 * libsupc++/unwind-cxx.h: Likewise.
1858 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
1859 the __cxxabiv1 namespace.
1860 (__cxa_free_exception): Likewise.
1861 * libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
1862 (__cxa_bad_typeid): Likewise.
1863 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1864 (__cxa_end_catch): Likewise.
1865 * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
1866 (__cxa_get_globals): Likewise.
1867 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
1868 (__cxa_rethrow): Likewise.
1869 * libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
1870 * libsupc++/eh_type.cc: Include <cxxabi.h>.
1872 * Makefile.am (hosted_source): Add libmath and testsuite.
1873 (SUBDIRS): Remove them.
1874 * acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
1875 on arm*-*-symbianelf*.
1876 * crossconfig.m4: Add arm*-*-symbianelf* support.
1877 * include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
1878 when freestanding. Do not bring names into std:: namespace with
1879 "using" when freestanding. Declare required functions and macros
1881 * libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
1883 * libsupc++/del_op.cc: Declare "free" only when freestanding.
1884 * libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
1885 (malloc): Declare when freestanding.
1888 (__cxa_allocate_exception): Call malloc, not std::malloc. Likewise
1890 (__cxa_free_exception): Likewise for free.
1891 * libsupc++/new_op.cc: Declare "malloc" when freestanding.
1892 * libsupc++/pure.cc (writestr): Define to nothing when
1894 * libsupc++/vterminate.cc: Do not define anything when
1896 * Makefile.in: Regenerated.
1897 * aclocal.m4: Likewise.
1898 * configure: Likewise.
1899 * include/Makefile.in: Likewise.
1900 * libmath/Makefile.in: Likewise.
1901 * libsupc++/Makefile.in: Likewise.
1902 * po/Makefile.in: Likewise.
1903 * src/Makefile.in: Likewise.
1904 * testsuite/Makefile.in: Likewise.
1906 2004-08-01 Matt Austern <austern@apple.com>
1909 * include/bits/stl_list.h (_M_create_node): Remove unused
1910 zero-argument version.
1911 * include/ext/slist (_M_create_node): Pass two arguments to
1912 allocator's construct() member function.
1913 * testsuite/23_containers/deque/explicit_instantiation.cc: New.
1914 * testsuite/23_containers/list/explicit_instantiation.cc: New.
1915 * testsuite/23_containers/vector/explicit_instantiation.cc: New.
1916 * testsuite/23_containers/map/explicit_instantiation.cc: New.
1917 * testsuite/23_containers/set/explicit_instantiation.cc: New.
1918 * testsuite/23_containers/multimap/explicit_instantiation.cc: New.
1919 * testsuite/23_containers/multiset/explicit_instantiation.cc: New.
1920 * testsuite/ext/hash_set_explicit_instantiation.cc: New.
1921 * testsuite/ext/slist_explicit_instantiation.cc: New.
1923 2004-07-30 Paolo Carlini <pcarlini@suse.de>
1925 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
1926 num_get<>::_M_extract_int): In the main parsing loop delay the
1927 life of __q to the actual use point.
1929 2004-07-29 Paolo Carlini <pcarlini@suse.de>
1932 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
1933 Don't clip the precision passed down to __convert_from_v:
1934 22.2.2.2.2 nowhere says so.
1935 * testsuite/22_locale/num_put/put/char/14220.cc: New.
1936 * testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
1938 2004-07-29 Paolo Carlini <pcarlini@suse.de>
1940 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.
1942 2004-07-29 Paolo Carlini <pcarlini@suse.de>
1943 Petur Runolfsson <peturr02@ru.is>
1945 PR libstdc++/12658 (continued)
1946 * src/locale_init.cc (locale::locale, locale::global): Use
1947 a single locale_mutex instead of two separate mutexes.
1949 2004-07-29 Paolo Carlini <pcarlini@suse.de>
1952 * include/debug/map.h (insert(_InputIterator, _InputIterator)):
1954 * testsuite/23_containers/map/insert/16813.cc: New.
1956 2004-07-29 Phil Edwards <phil@codesourcery.com>
1958 * docs/html/faq/index.html: Update version references. Make
1959 clear that code from SGI has diverged greatly. Remove references
1960 to library snapshots and what's-new sections.
1961 * docs/html/faq/index.txt: Regenerate.
1963 2004-07-28 Matt Austern <austern@apple.com>
1965 * include/bits/stl_construct.h (_Destroy): New three-argument
1966 overload that takes an allocator argument. Another inline
1967 three-argument overload that takes std::allocator and dispatches
1968 to the two-argument version.
1969 * include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
1970 Change return type to void to match uninitialized_fill_n.
1971 (__uninitialized_copy_a_): New function. Like uninitialized_copy
1972 except that it takes an allocator and uses it for construct and
1973 destroy. If the allocator is std::allocator, dispatches to
1975 (__uninitialized_fill_a): Likewise.
1976 (__uninitialized_fill_n_a): Likewise.
1977 (__uninitialized_copy_copy): Give it an allocator argument.
1978 (__uninitialized_fill_copy): Likewise.
1979 (__uninitialized_copy_fill): Likewise.
1980 * include/bits/deque.tcc: Use new forms defined in stl_construct.h
1981 and stl_uninitialized.h. Replace use of single-argument _Construct
1982 and _Destroy with use of allocator's construct and destroy methods.
1983 * include/bits/list.tcc: Likewise.
1984 * include/bits/stl_deque.h: Likewise.
1985 * include/bits/stl_list.h: Likewise.
1986 * include/bits/stl_tree.h: Likewise.
1987 * include/bits/stl_vector.h: Likewise.
1988 * include/bits/vector.tcc: Likewise.
1989 * include/ext/hashtable.h: Use rebind so that allocator_type
1990 has correct type for a container's allocator. Replace use of
1991 single-argument _Construct and _Destroy with use of allocator's
1992 construct and destroy methods.
1993 * include/ext/memory (__uninitialized_copy_n_a): New function.
1994 Like uninitialized_copy_n except that it takes an extra parameter,
1995 an allocator, and uses it for construct and destroy operations.
1996 * include/ext/rope: Use new forms defined in stl_construct.h,
1997 stl_uninitialized.h, and ext/memory. Replace use of single-argument
1998 _Construct and _Destroy with allocator construct and destroy methods.
1999 * include/ext/ropeimpl.h: Likewise.
2000 * include/ext/slist.h: Likewise.
2001 * testsuite/testsuite_allocator.h (check_construct_destroy): New.
2002 * testsuite/testsuite_allocator.cc (check_construct_destroy): New.
2003 * testsuite/23_containers/deque/check_construct_destroy.cc: New.
2004 * testsuite/23_containers/list/check_construct_destroy.cc: New.
2005 * testsuite/23_containers/set/check_construct_destroy.cc: New.
2006 * testsuite/23_containers/vector/check_construct_destroy.cc: New.
2007 * testsuite/ext/hash_check_construct_destroy.cc: New.
2008 * testsuite/ext/slist_check_construct_destroy.cc: New.
2010 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
2012 2003-10-01 Eric Christopher <echristo@redhat.com>
2013 * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm'
2015 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
2016 * config/cpu/sh/atomicity.h: New. Use movli and movco on SH4a.
2018 2004-07-23 Benjamin Kosnik <bkoz@redhat.com>
2021 * include/bits/locale_facets.tcc: Fix for -Werror.
2023 2004-07-23 Jonathan Wakely <redi@gcc.gnu.org>
2025 * docs/html/debug.html: Say debug mode only available since 3.4.0.
2027 2004-07-21 Benjamin Kosnik <bkoz@redhat.com>
2029 * docs/doxygen/mainpage.html: Clarify links.
2030 * docs/doxygen/stdheader.cc: Add files.
2031 * docs/doxygen/style.css: Remove bolds, add h2, h3 styles.
2032 * docs/doxygen/user.cfg.in: New options, wrap.
2034 2004-07-20 Danny Smith <dannysmith@users.sourceforge.net>
2036 * include/c_std/std_cwchar.h (wcsstr): Correct signature.
2038 2004-07-19 Benjamin Kosnik <bkoz@redhat.com>
2041 * testsuite/lib/libstdc++.exp (v3-copy-files): Revert.
2043 2004-07-17 Richard Sandiford <rsandifo@redhat.com>
2046 * scripts/create_testsuite_files: Pass -print to find.
2048 2004-07-15 Paolo Carlini <pcarlini@suse.de>
2050 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 30.
2051 * docs/html/ext/howto.html: Tweak entries for DRs 167/253/389/402.
2053 2004-07-15 Jakub Jelinek <jakub@redhat.com>
2056 * acinclude.m4 (glibcxx_shared_libgcc): Correct
2057 glibcxx_shared_libgcc test for multilibs.
2058 * configure: Rebuilt.
2060 2004-07-14 Paolo Carlini <pcarlini@suse.de>
2063 * include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix
2064 the signature to return void, as per 20.4.4.3.
2065 * include/bits/stl_vector.h (vector::vector(size_type,
2066 const value_type&, const allocator_type&), vector::vector(size_type),
2067 vector::_M_initialize_dispatch): Adjust callers.
2068 * include/bits/vector.tcc (vector<>::_M_fill_assign,
2069 vector<>::_M_fill_insert): Likewise.
2070 * testsuite/20_util/memory/16505.cc: New.
2072 2004-07-14 Paolo Carlini <pcarlini@suse.de>
2074 * testsuite/22_locale/locale/cons/12658_thread-1.cc,
2075 12658_thread-2.cc: Use __gnu_test::try_named_locale.
2077 2004-07-13 Benjamin Kosnik <bkoz@redhat.com>
2079 * docs/html/ext/mt_allocator.html: Add docs for _Tune.
2080 * include/ext/mt_allocator.h (__mt_alloc::_S_get_options): Make public.
2081 (__mt_alloc::_S_set_options): Same.
2084 2004-07-13 Benjamin Kosnik <bkoz@redhat.com>
2086 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add allocator defaults
2088 * configure: Regenerated.
2090 2004-07-13 Paolo Carlini <pcarlini@suse.de>
2092 * testsuite/22_locale/locale/cons/12658_thread.cc: Move/rename
2093 to 12658_thread-1.cc and xfail.
2094 * testsuite/22_locale/locale/cons/12658_thread-2.c: New, much
2095 simpler version of 12658_thread-1.cc, still failing on 3_3 and
2096 not failing on 3_4/mainline - both on single processor and
2097 multiprocessor machines.
2099 2004-07-12 Benjamin Kosnik <bkoz@redhat.com>
2101 * docs/html/abi.html: Remove non-public qualification.
2103 * include/bits/concurrence.h: Tweak comments.
2105 2004-07-11 Paolo Carlini <pcarlini@suse.de>
2107 Add wchar_t counterparts of the basic_streambbuf<char> tests.
2108 * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: New.
2109 * testsuite/27_io/basic_streambuf/imbue/wchar_t/1.cc, 9322.cc:
2111 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/9701-3.cc: Likewise.
2112 * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc, 2.cc,
2114 * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
2115 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2116 * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise.
2117 * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
2118 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc, 1057.cc:
2120 * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise.
2122 * testsuite/27_io/basic_streambuf/imbue/char/1.cc, 9322.cc: Minor
2124 * testsuite/27_io/basic_streambuf/overflow/char/2.cc, 3599.cc:
2126 * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
2127 * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise.
2129 2004-07-11 Phil Edwards <phil@codesourcery.com>
2131 * acinclude.m4: Cosmetic shell syntax fixes.
2132 * configure.ac: Bring comment inline with reality.
2133 * configure.host: Both of the above. Move 'arm' case to right
2134 place in host_cpu switch.
2135 * aclocal.m4, configure: Regenerate.
2137 2004-07-09 Paolo Carlini <pcarlini@suse.de>
2139 Add wchar_t counterparts of the basic_stringbuf<char> tests.
2140 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc, 9322.cc: New.
2141 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise.
2142 * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc, 2.cc,
2143 3599.cc, 9988.cc: Likewise.
2144 * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc, 9825.cc:
2146 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc:
2148 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc, 3.cc:
2150 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc, 2.cc, 3.cc:
2152 * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
2153 * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
2154 * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
2155 * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc, 9425.cc:
2157 * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc, 1057.cc,
2158 9404-1.cc: Likewise.
2159 * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc, 1057.cc,
2160 9404-2.cc: Likewise.
2161 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc, 2.cc, 3.cc,
2163 * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
2164 * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise.
2166 2004-07-08 Paolo Carlini <pcarlini@suse.de>
2168 * include/bits/gslice.h: Trivial formatting fixes.
2169 * include/bits/gslice_array.h: Likewise.
2170 * include/bits/indirect_array.h: Likewise.
2171 * include/bits/mask_array.h: Likewise.
2172 * include/bits/slice_array.h: Likewise.
2173 * include/bits/valarray_after.h: Likewise.
2174 * include/bits/valarray_array.h: Likewise.
2175 * include/bits/valarray_before.h: Likewise.
2176 * include/std/std_valarray.h: Likewise.
2178 2004-07-08 Benjamin Kosnik <bkoz@redhat.com>
2181 * include/bits/basic_string.h (basic_string::operator=): Revert.
2183 2004-07-07 Benjamin Kosnik <bkoz@redhat.com>
2185 * configure.ac (libtool_VERSION): To 6:2:0.
2186 * configure: Regenerated.
2188 * testsuite/testsuite_abi.cc (check_version): Add 3.4.2.
2190 2004-07-07 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
2193 * config/linker-map.gnu: Add stdio_sync_filebuf::file exports.
2195 2004-07-07 Benjamin Kosnik <bkoz@redhat.com>
2197 * docs/html/abi.html: Updates for 3.4.1 release. Add summary of
2200 2004-07-07 Paolo Carlini <pcarlini@suse.de>
2203 * include/bits/sstream.tcc (overflow): When reallocating _M_string
2204 use an exponential grow policy.
2205 * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New.
2206 * testsuite/performance/27_io/stringbuf_overflow.cc: New.
2208 2004-07-06 Anssi Hannula <anssi.hannula@mbnet.fi>
2211 * crossconfig.m4: Add in bits for djgpp.
2212 * configure: Regenerate.
2214 2004-07-05 Jonathan Wakely <redi@gcc.gnu.org>
2216 * testsuite/23_containers/{set,multiset}/14340.cc: Fix typos in
2217 instantiation of set and multiset (functor param given as int).
2219 2004-07-04 Paolo Carlini <pcarlini@suse.de>
2221 * include/bits/basic_string.h: Trivial formatting fixes and/or
2222 const-ification of some variables.
2223 * include/bits/deque.tcc: Likewise.
2224 * include/bits/stl_algobase.h: Likewise.
2225 * include/bits/stl_bvector.h: Likewise.
2226 * include/bits/stl_construct.h: Likewise.
2227 * include/bits/stl_deque.h: Likewise.
2228 * include/bits/stl_pair.h: Likewise.
2229 * include/bits/stl_vector.h: Likewise.
2230 * include/bits/vector.tcc: Likewise.
2232 2004-07-04 Paolo Carlini <pcarlini@suse.de>
2234 * testsuite/25_algorithms/copy/1.cc: Add instantiations for
2235 systems with no COMDAT or weak support.
2236 * testsuite/25_algorithms/copy/2.cc: Likewise.
2237 * testsuite/25_algorithms/copy/3.cc: Likewise.
2238 * testsuite/25_algorithms/copy/4.cc: Likewise.
2240 2004-07-03 Paul Brook <paul@codesourcery.com>
2242 * configure.ac: Set ABI_TWEAKS_SRCDIR.
2243 * configure.host: Set abi_tweaks_dir. Check for atomicity.h when
2244 setting atomicity_dir. Override type_cpu for arm based targets.
2245 * include/Makefile.am (host_headers): Add cxxabi_tweaks.h.
2246 * libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard.
2247 * libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h.
2248 * libsupc++/vec.cc: Ditto.
2249 * config/cpu/arm/cxxabi_tweaks.h: New file.
2250 * config/cpu/generic/cxxabi_tweaks.h: New file.
2251 * */Makefile.in: Regenerate.
2252 * configure: Regenerate.
2254 2004-07-02 Paolo Carlini <pcarlini@suse.de>
2256 * include/bits/type_traits.h (_Is_normal_iterator): Move...
2257 * include/bits/cpp_type_traits.h: ... here, renamed to
2258 __is_normal_iterator and consistent with the other traits.
2259 * include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert
2260 to the struct __copy_normal and three specializations.
2261 (__copy_backward_output_normal_iterator,
2262 __copy_backward_input_normal_iterator): Likewise, convert to
2263 the struct __copy_backward_normal and three specializations.
2264 (copy, copy_backward): Use the latter.
2265 (__copy_aux, __copy_backward_aux): Very minor tweaks.
2267 2004-07-01 Paolo Carlini <pcarlini@suse.de>
2269 * include/bits/stl_algobase.h (__copy_trivial): Remove.
2270 (__copy_aux2): Rewrite as __copy_aux to use __is_pointer,
2271 __is_trivially_copyable, __are_same and __copy::copy.
2272 (__copy): Rewrite as a class template and two specializations.
2273 (__copy_ni2): Simplify, just call __copy_aux.
2275 * include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same
2277 * testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also
2278 for destination value type != source value type.
2280 2004-07-01 Benjamin Kosnik <bkoz@redhat.com>
2281 Per Bothner <per@bothner.com>
2282 Mohan Embar <gnustuff@thisiscool.com>
2285 * include/bits/concurrence.h (__glibcxx_mutex_type): New.
2286 (__glibcxx_mutex): Encapsulate mutex init function into type for
2287 threaded configurations without __GTHREAD_MUTEX_INIT.
2288 (lock::lock): Make device member a reference.
2289 (lock::~lock): Same.
2290 * include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
2292 * src/allocator.cc: Same.
2294 2004-06-30 Brad Spencer <spencer@infointeractive.com>
2296 * include/ext/mt_allocator.h: Handle allocations at static
2297 initialization that happen before _S_options is (automatically)
2298 constructed; set _S_init even if _M_force_new is true.
2300 2004-06-30 Benjamin Kosnik <bkoz@redhat.com>
2302 * config/linker-map.gnu: Revert new exports.
2304 2004-06-30 Benjamin Kosnik <bkoz@redhat.com>
2305 Stuart Anderson <anderson@netsweng.com>
2307 * config/linker-map.gnu: Add destructor exports for abstract base
2308 classes to conform to LSB.
2310 2004-06-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
2311 Paolo Carlini <pcarlini@suse.de>
2313 * include/bits/cpp_type_traits.h: Add __is_pointer and
2314 __is_trivially_copyable.
2315 * include/bits/stl_algobase.h (fill, fill_n): Slightly
2316 tweak to use the latter.
2317 (__copy_backward_dispatch): Remove.
2318 (__copy_backward_aux): Rewrite to use __is_pointer and
2319 __is_trivially_copyable and __copy_backward::copy_b.
2320 (__copy_backward): Rewrite as a class template and two
2323 2004-06-30 Paolo Carlini <pcarlini@suse.de>
2325 * testsuite/25_algorithms/copy.cc: Move to...
2326 * testsuite/25_algorithms/copy/1.cc: ... here, extend.
2327 * testsuite/25_algorithms/copy/2.cc: New.
2328 * testsuite/25_algorithms/copy/3.cc: New.
2329 * testsuite/25_algorithms/copy/4.cc: New.
2331 2004-06-29 Paul Brook <paul@codesourcery.com>
2333 * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the
2334 element size in the cookie.
2336 2004-06-28 Paolo Carlini <pcarlini@suse.de>
2338 * include/bits/cpp_type_traits.h: Move the additions to
2339 namespace __gnu_internal outside of namespace std; trivial
2342 2004-06-28 Benjamin Kosnik <bkoz@redhat.com>
2344 * include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base):
2345 Revert -Weffc++ changes that defined copy ctory and or assignment
2347 * libsupc++/tinfo.cc (__upcast_result): Same.
2349 2004-06-28 Paolo Carlini <pcarlini@suse.de>
2351 * src/localename.cc (locale::_Impl::_Impl): Slightly improve
2352 the algorithm used to name the categories.
2354 2004-06-28 Paolo Bonzini <bonzini@gnu.org>
2356 * include/Makefile.am: Give a .gch extension to
2357 the PCH files, not only to the directory.
2358 * include/Makefile.in: Regenerate.
2360 2004-06-28 Paolo Carlini <pcarlini@suse.de>
2362 * config/locale/gnu/monetary_members.cc
2363 (moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up
2364 assignments of _M_decimal_point and _M_thousands_sep.
2366 2004-06-27 Paolo Carlini <pcarlini@suse.de>
2368 * docs/html/17_intro/contribute.html: Update some links.
2369 * docs/html/17_intro/porting-howto.html: Likewise.
2370 * docs/html/17_intro/porting-howto.xml: Likewise.
2371 * docs/html/18_support/howto.html: Likewise.
2372 * docs/html/21_strings/howto.html: Likewise.
2373 * docs/html/27_io/howto.html: Likewise.
2374 * docs/html/configopts.html: Likewise.
2375 * docs/html/ext/howto.html: Likewise.
2376 * docs/html/faq/index.html: Likewise.
2377 * docs/html/install.html: Don't mention 2.x compilers.
2379 2004-06-27 Paolo Carlini <pcarlini@suse.de>
2381 * include/ext/rope: Trivial formatting fixes.
2382 * include/ext/ropeimpl.h: Likewise.
2384 2004-06-26 Paolo Carlini <pcarlini@suse.de>
2387 * acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
2388 availability of strto(u)ll, not used anymore in the iostreams.
2389 * configure: Regenerate.
2391 2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
2394 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
2396 * configure: Regenerate.
2398 2004-06-25 Paul Brook <paul@codesourcery.com>
2400 * libsupc++/cxxabi.h: Define __ARM_EABI__
2402 * libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto.
2404 2004-06-25 Paul Brook <paul@codesourcery.com>
2406 * include/bits/concurrence.h: Still create mutex object when
2409 2004-06-25 Paolo Carlini <pcarlini@suse.de>
2411 * include/bits/stl_algobase.h (fill, fill_n): Revert last
2412 change: actually we need to copy construct an object of type
2413 _Tp, not of type iterator_traits<>::value_type, therefore the
2416 2004-06-25 Paolo Carlini <pcarlini@suse.de>
2418 * include/bits/stl_algobase.h (fill, fill_n): Tighten the
2419 dispatch: use iterator_traits<>::value_type, not _Tp.
2421 2004-06-25 Paolo Carlini <pcarlini@suse.de>
2423 * testsuite/25_algorithms/fill/1.cc: Tweak instantiations.
2424 * testsuite/25_algorithms/fill/2.cc: Likewise.
2426 2004-06-25 Dan Nicolaescu <dann@ics.uci.edu>
2427 Paolo Carlini <pcarlini@suse.de>
2429 * include/bits/stl_algobase.h (__fill, __fill_n): New helpers
2430 for fill and fill_n, respectively: when copying is cheap, use a
2431 temporary to avoid a memory read in each iteration.
2433 2004-06-25 Paolo Carlini <pcarlini@suse.de>
2435 * testsuite/25_algorithms/fill/1.cc: New.
2436 * testsuite/25_algorithms/fill/2.cc: Likewise.
2438 2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
2440 * include/debug/formatter.h (__gnu_debug::_Error_formatter):
2441 Remove copy constructor and assignment operator.
2443 2004-06-24 Benjamin Kosnik <bkoz@redhat.com>
2445 * include/bits/concurrence.h (__gnu_cxx::lock): New.
2446 * include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
2447 (__pool_base::_M_get_mutex): New.
2448 * include/bits/allocator.h: Tweak.
2449 * src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
2450 * config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock.
2451 * include/bits/stl_threads.h: Remove.
2452 * include/Makefile.am: Also here.
2453 * include/Makefile.in: Regenerate.
2455 * src/locale_init.cc: Use __gnu_cxx::lock.
2457 * src/allocator.cc: Move all instantiations...
2458 * src/allocator-inst.cc: ...here.
2460 2004-06-23 Andrew Pinski <apinski@apple.com>
2462 * linkage.m4: Remove check for libmx.
2463 * configure: Regenerate.
2465 2004-06-23 Paolo Carlini <pcarlini@suse.de>
2468 * include/bits/boost_concept_check.h (struct _TrivialIteratorConcept):
2469 Don't require the _DefaultConstructibleConcept.
2470 (struct _ForwardIteratorConcept): Require it here.
2472 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
2474 * include/bits/istream.tcc (getline): Make sure arguments passed
2475 to min/max have the same type.
2476 * include/bits/locale_facets.tcc (__verify_grouping): Likewise.
2477 * include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise.
2479 2004-06-22 Benjamin Kosnik <bkoz@redhat.com>
2481 * docs/html/abi.html: Update links.
2483 2004-06-22 Paolo Carlini <pcarlini@suse.de>
2485 * testsuite/26_numerics/complex_inserters_extractors.cc,
2486 complex_value.cc, buggy_complex.cc: Move to...
2487 * testsuite/26_numerics/complex/: ... here.
2488 * testsuite/26_numerics/c99_classification_macros_c++.cc,
2489 c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc,
2490 fabs_inline.cc: Move to...
2491 * testsuite/26_numerics/cmath/: ... here.
2492 * testsuite/26_numerics/binary_closure.cc, slice.cc,
2493 slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc,
2494 valarray_name_lookup.cc, valarray_operators.cc,
2495 valarray_subset_assignment.cc: Move to...
2496 * testsuite/26_numerics/valarray/: ... here (new dir).
2497 * testsuite/26_numerics/sum_diff.cc: Move to...
2498 * testsuite/26_numerics/numeric/: ... here (new dir).
2500 2004-06-22 Paolo Carlini <pcarlini@suse.de>
2502 * include/std/std_istream.h (ignore(streamsize __n = 1,
2503 int_type __delim = traits_type::eof())): Split into...
2504 (ignore(), ignore(streamsize __n), ignore(streamsize __n,
2505 int_type __delim)): The first two can be much more simpler
2506 and efficient than the fully general case; also, the last
2507 two can take advantage of the same mechanism already used
2509 * include/bits/istream.tcc (ignore(streamsize __n = 1,
2510 int_type __delim = traits_type::eof()): Remove.
2511 (ignore(), ignore(streamsize __n), ignore(streamsize __n,
2512 int_type __delim)): New.
2514 2004-06-21 Loren J. Rittle <ljrittle@acm.org>
2516 * config/linker-map.gnu: Use wildcards for
2517 __basic_file::sys_open(FILE*, _Ios_Openmode).
2519 2004-06-20 Paolo Carlini <pcarlini@suse.de>
2521 * testsuite/27_io/basic_istream/ignore/char/3.cc: New.
2523 2004-06-18 Paolo Carlini <pcarlini@suse.de>
2525 * include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
2526 the alignment requested.
2527 (__mt_alloc<>::_Tune::_Tune): Tweak consistently.
2528 (__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
2529 (__mt_alloc<>::deallocate): Likewise.
2531 2004-06-18 Paolo Carlini <pcarlini@suse.de>
2534 * include/debug/safe_base.h
2535 (_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&),
2536 _Safe_sequence_base::operator=): Provide definitions.
2537 * testsuite/23_containers/bitset/cons/16020.cc: New.
2539 2004-06-18 Benjamin Kosnik <bkoz@redhat.com>
2541 * include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
2542 (__pool_base): Remove unused template parameter. Add
2543 protected. Move lock data into __pool_base::_Lock. Remove static
2544 on member functions.
2545 (__pool_base::_M_get_free_list): New.
2546 (__pool_alloc): Move _S_force new here.
2547 * src/allocator.cc: Move out of line __pool_base definitions here.
2548 * config/linker-map.gnu: Export bits from __pool_base.
2550 2004-06-18 Paolo Carlini <pcarlini@suse.de>
2552 * config/locale/gnu/numeric_members.cc
2553 (numpunct<wchar_t>::_M_initialize_numpunct): Clean up
2554 assignments of _M_decimal_point and _M_thousands_sep.
2555 * config/locale/gnu/time_members.cc
2556 (__timepunct<wchar_t>::_M_initialize_timepunct): Clean up
2557 and reformat assignments of date and time fields.
2559 2004-06-16 Paolo Carlini <pcarlini@suse.de>
2561 * include/ext/rope (rope(_CharT, const allocator_type&)): Fix
2562 to use _Data_allocate.
2563 * include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise.
2564 (rope<>::_S_substring): Likewise.
2565 (rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise.
2566 (rope<>::c_str()): Likewise.
2567 (rope<>::replace_with_c_str()): Likewise.
2569 * include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf):
2570 Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::,
2572 (_Rope_iterator_base<>::_S_setcache): Likewise.
2573 (_Rope_iterator_base<>::_S_setcache_for_incr): Likewise.
2574 (rope<>::_S_substring): Likewise.
2575 (rope<>::_S_dump): Likewise.
2576 (rope<>::_S_fetch_ptr): Likewise.
2577 (rope<>::_S_compare): Likewise.
2578 (rope<>::replace_with_c_str()): Likewise.
2580 * testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc.
2581 * testsuite/ext/rope/2.cc: New.
2583 2004-06-16 Paolo Carlini <pcarlini@suse.de>
2584 Matt Austern <austern@apple.com>
2586 * testsuite/ext/rope/3.cc: New.
2588 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
2590 * acinclude.m4: Remove useless multilib configury.
2591 * Makefile.am: Remove useless multilib rules.
2592 * aclocal.m4: Regenerate.
2593 * Makefile.in: Regenerate.
2594 * configure: Regenerate.
2596 2004-06-15 Paolo Carlini <pcarlini@suse.de>
2598 * include/ext/hashtable.h: Trivial formatting fixes.
2599 * include/ext/rb_tree: Likewise.
2601 2004-06-14 Paolo Carlini <pcarlini@suse.de>
2603 * include/ext/hash_map: Trivial formatting fixes.
2604 * include/ext/hash_set: Likewise.
2605 * include/ext/memory: Likewise.
2606 * include/ext/numeric: Likewise.
2608 2004-06-14 Benjamin Kosnik <bkoz@redhat.com>
2610 * Makefile.in: Regenerate with automake 1.8.5.
2612 * include/Makefile.in: Same.
2613 * libmath/Makefile.in: Same.
2614 * libsupc++/Makefile.in: Same.
2615 * po/Makefile.in: Same.
2616 * src/Makefile.in: Same.
2617 * testsuite/Makefile.in: Same.
2619 2004-06-14 Paolo Carlini <pcarlini@suse.de>
2621 * include/ext/slist: Trivial formatting fixes.
2623 2004-06-14 Paolo Carlini <pcarlini@suse.de>
2625 * include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
2626 Don't use the 'magic number' 10 in the computation of __minlen;
2627 never access __name past __minlen; in the loop over __i3, don't
2628 decrease __nmatches and increase __i3 at once, only either of
2631 2004-06-13 Paolo Carlini <pcarlini@suse.de>
2633 * include/bits/locale_facets.tcc (time_get<>::do_get_time,
2634 time_get<>::do_get_date): Use only once _M_extract_via_format,
2635 instead of going through "%X"/"%x" and calling it two times
2638 2004-06-12 Paolo Carlini <pcarlini@suse.de>
2640 * include/ext/algorithm: Trivial formatting fixes.
2641 * include/ext/functional: Likewise.
2642 * include/ext/hash_fun.h: Likewise.
2643 * include/ext/iterator: Likewise.
2645 2004-06-12 Paolo Carlini <pcarlini@suse.de>
2647 * include/bits/basic_string.tcc (find(const _CharT*, size_type,
2648 size_type)): Reimplement using std::search.
2649 * src/string-inst.cc: Instantiate std::search for char/wchar_t.
2651 2004-06-12 Dhruv Matani <dhruvbird@gmx.net>
2653 * testsuite/performance/21_strings/string_find.cc: New.
2655 2004-06-10 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
2657 * include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized.
2659 2004-06-10 Jan van Dijk <jan@etpmod.phys.tue.nl>
2661 * include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make
2662 this function return a value.
2664 2004-06-09 Paolo Carlini <pcarlini@suse.de>
2667 * include/bits/stl_deque.h: Consistently with stl_set.h, define
2668 pointer as allocator's pointer, likewise for reference,
2669 const_pointer, and const_reference.
2670 * include/bits/stl_list.h: Likewise.
2671 * include/bits/stl_map.h: Likewise.
2672 * include/bits/stl_multimap.h: Likewise.
2673 * include/bits/stl_vector.h: Likewise.
2675 2004-06-09 Benjamin Kosnik <bkoz@redhat.com>
2677 * crossconfig.m4: Remove signbit, signbitf, signbitl.
2678 * linkage.m4: Comment LIBMATHOBJS, tweak others. AC_DEFINES for
2679 builtin math functions instead of AC_DEFINE_UNQUOTED.
2680 * configure: Regenerate.
2682 2004-06-08 Benjamin Kosnik <bkoz@redhat.com>
2684 * docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std.
2685 * docs/doxygen/mainpage.html: Remove links.
2687 2004-06-08 Jason Merrill <jason@redhat.com>
2689 * config/linker-map.gnu: Use wildcards for
2690 __basic_file::{xsgetn,xsputn,seekoff,xsputn_2}.
2692 2004-06-08 Paolo Carlini <pcarlini@suse.de>
2694 * include/ext/pool_allocator.h: Convert to a global free-list,
2695 as per the original SGI/HP design: move the implementation
2696 details to struct __pool_base, from which __pool_alloc derives.
2697 * src/allocator.cc: Instantiate __pool_base.
2699 2004-06-07 Dhruv Matani <dhruvbird@gmx.net>
2700 Paolo Carlini <pcarlini@suse.de>
2702 * testsuite/testsuite_performance.h
2703 (resource_counter::allocated_memory): Make it return the right
2704 number of bytes requested by the allocators/application. This is
2705 the sbrk+mmaped memory.
2707 2004-06-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
2709 * include/std/std_complex.h (log): Tidy.
2711 2004-05-31 Benjamin Kosnik <bkoz@redhat.com>
2713 * config/linker-map.gnu (GLIBCXX_3.4.1): Add.
2714 * testsuite/testsuite_abi.cc: Same.
2715 * configure.ac (libtool_VERSION): Bump to 6:1:0.
2716 * configure: Regenerate.
2717 * aclocal.m4: Regenerate.
2719 2004-05-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
2721 * include/std/std_complex.h (complex<_Tp>): Properly indent
2723 (complex<>::__rep): New.
2724 (__complex_abs): New. Dispatch to built-ins.
2726 (__complex_arg): New. Dispatch to built-ins.
2728 (__complex_cos): New. Dispatch to built-ins.
2730 (__complex_cosh): New. Dispatch to built-ins.
2732 (__complex_exp): New. Dispatch to built-ins.
2734 (__complex_log): New. Dispatch to built-ins.
2736 (__complex_sin): New. Dispatch to built-ins.
2738 (__complex_sinh): New. Dispatch to built-ins.
2740 (__complex_sqrt): New. Dispatch to built-ins.
2742 (__complex_tan): New. Dispatch to built-ins.
2744 (__complex_tanh): New. Dispatch to built-ins.
2746 (__complex_pow): New. Dispatch to built-ins.
2749 2004-05-29 Richard B. Kreckel <Richard.Kreckel@Framatome-ANP.com>
2750 Benjamin Kosnik <bkoz@redhat.com>
2753 * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New.
2754 * include/ext/stdio_filebuf.h (stdio_filebuf::file): New.
2755 * config/io/basic_file_stdio.cc (__basic_file::file): New.
2756 * config/io/basic_file_stdio.h: Define.
2758 2004-05-27 Benjamin Kosnik <bkoz@redhat.com>
2761 * docs/html/documentation.html: Update doxygen links for 3.4.0.
2763 2004-05-27 Jan Beulich <jbeulich@novell.com>
2765 * scripts/create_testsuite_files: Tweak.
2767 2004-05-25 Benjamin Kosnik <bkoz@redhat.com>
2770 * scripts/create_testsuite_files: Revert xtype change, add non-GNU
2771 bits to do the same thing.
2773 2004-05-24 Paolo Carlini <pcarlini@suse.de>
2775 * include/bits/istream.tcc (ignore): Correctly deal with
2776 n == numeric_limits<streamsize>::max().
2777 * testsuite/27_io/basic_istream/ignore/char/2.cc: New.
2779 * include/bits/istream.tcc (basic_istream<>::getline): Prefer
2780 '_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case
2781 __n == numeric_limits<>::min().
2783 * include/bits/istream.tcc: Minor tweaks.
2785 * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
2787 * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
2789 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
2791 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
2793 * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
2795 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
2798 Fixups for -Weffc++.
2799 * include/bits/basic_string.h (basic_string::operator=): Return
2800 pointer to this instead of result of assign. Although redundant,
2801 this doesn't impact resultant codegen.
2803 * include/bits/locale_facets.h (__numpunct_cache): Declare
2804 assignment opxserator and copy constructor private.
2805 (__timepunct_cache): Same.
2806 (__moneypunct_cache): Same.
2807 (collate): Use member initialization list for _M_c_locale_collate.
2808 * config/locale/gnu/messages_members.h: Same.
2809 * config/locale/gnu/time_members.h (__timepunct): Same.
2810 * src/codecvt.cc: Use member initialization list to initialize
2811 _M_c_locale_codecvt.
2812 * src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
2813 * config/os/gnu-linux/ctype_noninline.h: Same.
2814 * src/locale.cc (_Impl): Same.
2815 * src/locale_init.cc: Same.
2816 * src/localename.cc: Same.
2818 * include/bits/basic_ios.h (basic_ios): Complete member
2819 initialization list.
2820 * include/bits/istream.tcc (basic_istream::sentry): Same.
2821 * include/bits/ostream.tcc (basic_ostream::sentry): Same.
2822 * include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
2823 _M_pback to member initialization list.
2824 * include/std/std_streambuf.h: Same.
2825 * include/std/std_sstream.h: Same, for _M_mode.
2826 * src/ios.cc (ios_base): Same.
2828 * include/ext/rope: Make derived classes match exception
2830 specifications. Add copy constructors and assignment operators.
2832 * include/debug/safe_base.h (_Safe_sequence_base): Declare copy
2833 constructor and assignment operator protected.
2834 (_Safe_iterator_base): Same.
2835 * include/debug/formatter.h (_Error_formatter): Define copy
2836 constructor and assignment operator.
2838 * include/backward/strstream: Declare assignment operator and copy
2839 constructor private.
2841 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
2843 * testsuite/testsuite_hooks.h (func_callback): Declare copy
2844 constructor and assignment operator private.
2845 * testsuite/23_containers/deque/cons/clear_allocator.cc: Match
2846 exception specifications of base class.
2847 * testsuite/23_containers/list/cons/clear_allocator.cc: Same.
2848 * testsuite/23_containers/vector/cons/clear_allocator.cc: Same.
2849 * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
2851 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
2853 * libsupc++/cxxabi.h: Remove duplicated and useless public and
2854 private keywords in class declarations. Format. Use
2855 stddef.h. Expose declarations to "C" compilation.
2856 * libsupc++/tinfo.cc (__upcast_result): Add copy constructor and
2857 assignment operator.
2858 (__dyncast_result): Same.
2859 * libsupc++/vec.cc (uncatch_exception): Same, use member
2860 initialization list.
2862 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
2864 * testsuite/abi_check.cc: Add unistd.h.
2866 2004-05-22 Paolo Carlini <pcarlini@suse.de>
2869 * include/bits/locale_facets.tcc (__int_to_char(unsigned long),
2870 __int_to_char(unsigned long long)): Showpos is not relevant
2872 * testsuite/22_locale/num_put/put/char/15565.cc: New.
2873 * testsuite/22_locale/num_put/put/wchar_t/15565.cc: New.
2875 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill
2877 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
2878 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
2879 * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
2880 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
2881 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
2882 * testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.
2884 2004-05-21 Matthias Klose <doko@debian.org>
2886 * docs/doxygen/run_doxygen: Bump required version.
2888 2004-05-21 Benjamin Kosnik <bkoz@redhat.com>
2890 * docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose.
2891 * docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards.
2893 2004-05-21 Paolo Carlini <pcarlini@suse.de>
2895 * include/bits/istream.tcc (ignore): Remove redundant line.
2896 (readsome): Tidy, closely following 27.6.1.3, p30.
2898 2004-05-20 Paolo Carlini <pcarlini@suse.de>
2900 * include/bits/istream.tcc (operator>>(basic_istream<>&,
2901 basic_string<>&)): Use a temporary buffer, thus avoiding
2902 reallocation for common case.
2903 * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
2905 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
2908 * include/bits/istream.tcc: Const-ification of a few variables.
2910 * include/bits/ostream.tcc: Trivial formatting fixes and
2911 const-ification of some variables.
2913 2004-05-20 Benjamin Kosnik <bkoz@redhat.com>
2917 * docs/doxygen/Intro.3: Remove Allocators.3.
2918 Add new extension headers, extension namespace list.
2919 * docs/doxygen/run_doxygen (problematic): Remove Allocators.3
2920 Rename GLIBCXXSTD names to std::. Rename __gnu_debug to
2921 __gnu_debug::. Remove __policy_ renames.
2922 * docs/doxygen/guide.html: Add dot note.
2923 * docs/doxygen/stdheader.cc: Edit, add files.
2924 * docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7.
2926 2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
2928 * include/ext/stdio_filebuf.h: Update comments to reflect PR 11691.
2930 2004-05-18 Jan Beulich <jbeulich@novell.com>
2933 * scripts/create_testsuite_files: Also find source files through
2936 2004-05-18 Jan Beulich <jbeulich@novell.com>
2939 * testsuite/lib/libstdc++.exp: Make test files writable.
2941 2004-05-18 Paolo Carlini <pcarlini@suse.de>
2943 * include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor
2946 2004-05-18 Dhruv Matani <dhruvbird@gmx.net>
2948 * include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write
2949 allocation loop which removes blocks from the global free list
2950 from O(N) to O(1) when the required blocks are <= the number
2953 2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
2955 * include/ext/enc_filebuf.h: Move concept-check macro to class scope.
2957 2004-05-17 Benjamin Kosnik <bkoz@redhat.com>
2959 * testsuite/testsuite_hooks.h (__gnu_test::conversion): New class.
2960 * testsuite/23_containers/deque/14340.cc: New.
2961 * testsuite/23_containers/list/14340.cc: New.
2962 * testsuite/23_containers/map/14340.cc: New.
2963 * testsuite/23_containers/multimap/14340.cc: New.
2964 * testsuite/23_containers/multiset/14340.cc: New.
2965 * testsuite/23_containers/set/14340.cc: New.
2966 * testsuite/23_containers/vector/14340.cc: New.
2968 2004-05-17 Douglas Gregor <gregod@cs.rpi.edu>
2971 * include/debug/safe_iterator.h (_Safe_iterator converting
2972 constructor): Only allow declaration to instantiate when the
2973 incoming _Safe_iterator has exactly the right iterator type.
2975 2004-05-17 Jonathan Wakely <redi@gcc.gnu.org>
2977 * include/bits/boost_concept_check.h: Fix old attribute syntax.
2978 * testsuite/23_containers/map/modifiers/swap.cc: Define operator<
2979 to pass concept-checks.
2980 * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
2981 * testsuite/23_containers/set/modifiers/swap.cc: Same.
2982 * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
2984 2004-05-16 Paolo Carlini <pcarlini@suse.de>
2986 * include/std/std_bitset.h: Minor formatting fixes.
2988 2004-05-16 Paolo Carlini <pcarlini@suse.de>
2990 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
2991 Consistently update __bin._M_free[0].
2992 (__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use
2993 __bin._M_free[0] to simplify the while loop (i.e., the number
2994 of iterations becomes known at the outset).
2996 2004-05-15 Paolo Carlini <pcarlini@suse.de>
2998 * include/std/std_bitset.h: Trivial formatting fixes.
3000 2004-05-14 Paolo Carlini <pcarlini@suse.de>
3001 Ivan Godard <igodard@pacbell.net>
3004 * include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix.
3005 * testsuite/23_containers/bitset/ext/15361.cc: New.
3007 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
3010 * crossconfig.m4: Add C99 math bits for linux crosses.
3011 * configure: Regenerate.
3013 2004-05-13 Simon Marshall <simon.marshall@misys.com>
3014 Benjamin Kosnik <bkoz@redhat.com>
3017 * include/bits/locale_facets.h: Fix for -fno-for-scope.
3018 * include/debug/safe_sequence.h: Same.
3019 * include/debug/safe_iterator.tcc: Same.
3020 * src/debug.cc: Same.
3021 * src/locale.cc: Same.
3022 * src/locale_init.cc: Same.
3023 * src/localename.cc: Same.
3024 * config/locale/gnu/ctype_members.cc: Same.
3025 * config/locale/gnu/numeric_members.cc: Same.
3026 * testsuite/testsuite_abi.cc: Same.
3027 * testsuite/testsuite_hooks.cc: Same.
3029 2004-05-13 Jonathan Wakely <redi@gcc.gnu.org>
3031 * docs/html/abi.html: Document effect of -fabi-version on value
3032 of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
3035 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
3038 * docs/html/faq/index.html: Update docs for libsupc++ usage.
3040 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
3043 * include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
3045 (_GLIBCXX_mutex_address): Same.
3046 (_GLIBCXX_once): Same.
3047 (_GLIBCXX_mutex_init): Same.
3048 (_GLIBCXX_mutex_address_init): Same.
3050 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
3052 * docs/html/abi.html: New.
3053 * docs/html/abi.txt: Remove.
3054 * docs/html/documentation.html: Add link.
3055 * testsuite/Makefile.am: Add files.
3056 * testsuite/Makefile.in: Regenerated.
3057 * testsuite/abi_check.cc: Move and modify code into...
3058 * testsuite/testsuite_abi.cc: Add.
3059 * testsuite/testsuite_abi.h: Add.
3061 * docs/html/17_intro/TODO: Update.
3062 * include/bits/stl_pair.h: Format.
3064 2004-05-06 Matthias Klose <doko@debian.org>
3066 * include/backward/iterator.h: Add GPL copyright info,
3067 with exception clause.
3068 * include/bits/boost_concept_check.h: Likewise.
3070 * libsupc++/tinfo.h: Likewise.
3071 * po/string_literals.cc: Likewise.
3073 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
3075 * acinclude.m4: Replace -W with more speaking -Wextra.
3076 * configure: Rebuilt.
3078 2004-05-03 Paolo Carlini <pcarlini@suse.de>
3080 Optimize locale::_M_impl->_M_names for the most common cases:
3081 !_M_names[0] means unnamed; !_M_names[1] means all the categories
3082 the same name (_M_names[0] && _M_names[1] means that the full set
3083 of _M_names must be processed, the general case).
3084 * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name):
3085 Tweak, saving work when !_M_names[1].
3086 (locale::locale(const locale&, _Facet*): Simplify: now just setting
3087 _M_names[0] = 0 means unnamed.
3088 * src/locale.cc (locale::operator==): Deal first with the common,
3089 easy cases, otherwise fall back to locale::name().
3090 (locale::name()): Tweak, if !_M_names[0] just return "*".
3091 (locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop
3092 copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1].
3093 * src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak.
3094 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t):
3095 Simplify when !std::strchr, just updating _M_names[0]; clean up.
3096 (locale::_Impl::_M_replace_categories): When !_M_names[1] prepare
3097 for the general case (full set of names), then do the usual work;
3100 * src/locale.cc (locale::name()): Reserve space in __ret.
3101 * src/locale_init.cc (locale::global(const locale&)): Save
3102 the name in a temporary.
3103 * src/localename.cc (locale::locale(const char*)): Reserve space
3106 2004-04-29 Paolo Carlini <pcarlini@suse.de>
3108 * src/locale.cc (locale::operator==): Always avoid constructing
3109 locale::name(), directly compare pairs of _M_names.
3111 2004-04-26 Paolo Carlini <pcarlini@suse.de>
3113 * include/bits/istream.tcc: Fix comment.
3115 2004-04-26 Paolo Carlini <pcarlini@suse.de>
3117 * include/bits/stl_vector.h: Trivial formatting fixes.
3118 * include/bits/vector.tcc: Likewise.
3120 2004-04-25 Paolo Carlini <pcarlini@suse.de>
3122 PR libstdc++/15002 (continued again)
3123 * include/bits/istream.tcc (getline(basic_istream<>&,
3124 basic_string<>&, _CharT)): Use a temporary buffer, thus
3125 avoiding reallocation for common case.
3127 * include/bits/basic_string.tcc (_S_construct(_InIterator,
3128 _InIterator, const _Alloc&, input_iterator_tag)): Tweak size
3129 of temporary buffer to a power of two.
3131 * testsuite/27_io/basic_istream/getline/char/4.cc: Add comment.
3133 2004-04-25 Paolo Carlini <pcarlini@suse.de>
3135 * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
3137 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
3139 * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
3141 2004-04-24 Paolo Carlini <pcarlini@suse.de>
3142 Petur Runolfsson <peturr02@ru.is>
3144 PR libstdc++/15002 (continued)
3145 * include/bits/istream.tcc (basic_istream<>::getline(char_type*,
3146 streamsize, char_type)): Use traits::find/copy in a loop to speed
3147 up greatly the function in the common case (I/O buffer size >> 1).
3149 2004-04-24 Paolo Carlini <pcarlini@suse.de>
3151 * testsuite/27_io/basic_istream/getline/char/4.cc: New.
3153 * include/bits/istream.tcc (getline(basic_istream<>&,
3154 basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead
3155 of sbumpc(), consistently with the other functions, thus also
3156 dealing correctly with the case of exceeded string::max_size().
3158 2004-04-24 Matthias Klose <doko@debian.org>
3160 Jonathan Wakely <cow@compsoc.man.ac.uk>
3161 * docs/html/configopts.html: Fix reference to allocator config option.
3163 2004-04-23 Andrew Pinski <pinskia@physics.uc.edu>
3165 * linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also.
3166 * configure: Regenerate.
3168 2004-04-23 Daniel Jacobowitz <drow@mvista.com>
3170 PR libstdc++/15047, libstdc++/11610
3171 * testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download.
3172 (libstdc++_init): Don't pass outdir to v3-copy-files.
3174 2004-04-21 Paolo Carlini <pcarlini@suse.de>
3176 * include/bits/deque.tcc: Trivial formatting fixes.
3177 * include/bits/stl_deque.h: Likewise.
3178 * include/bits/stl_list.h: Likewise.
3179 * include/bits/stl_tree.h: Likewise.
3181 2004-04-21 Paolo Carlini <pcarlini@suse.de>
3182 Andrew Pinski <pinskia@physics.uc.edu>
3184 * include/bits/basic_string.tcc (_M_mutate): Don't compute
3185 __src unnecessarily.
3187 2004-04-19 Benjamin Kosnik <bkoz@redhat.com>
3189 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3190 Clarify assertion, set test variable to false before assert.
3191 * testsuite/27_io/basic_istringstream/str/char/1.cc: Same.
3192 * testsuite/27_io/basic_stringstream/str/char/1.cc: Same.
3193 * testsuite/27_io/ios_base/storage/2.cc: Same.
3195 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix
3197 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same.
3198 * testsuite/27_io/fpos/14320-3.cc: Same.
3200 * testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std.
3201 * testsuite/27_io/fpos/1.cc: Same.
3202 * testsuite/27_io/basic_stringstream/2.cc: Same.
3203 * testsuite/27_io/basic_stringbuf/4.cc: Same.
3204 * testsuite/27_io/basic_stringbuf/1.cc: Same.
3205 * testsuite/27_io/basic_stringbuf/2.cc: Same.
3206 * testsuite/27_io/basic_streambuf/2.cc: Same.
3207 * testsuite/27_io/basic_ostringstream/2.cc: Same.
3208 * testsuite/27_io/basic_ostream/2.cc: Same.
3209 * testsuite/27_io/basic_ofstream/2.cc: Same.
3210 * testsuite/27_io/basic_istringstream/2.cc: Same.
3211 * testsuite/27_io/basic_istream/2.cc: Same.
3212 * testsuite/27_io/basic_iostream/2.cc: Same.
3213 * testsuite/27_io/basic_ios/2.cc: Same.
3214 * testsuite/27_io/basic_ifstream/2.cc: Same.
3215 * testsuite/27_io/basic_fstream/2.cc: Same.
3216 * testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx.
3218 * testsuite/21_strings/basic_string/capacity/1.cc: Don't compare
3219 unsigned against zero.
3220 * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same.
3221 * testsuite/21_strings/basic_string/capacity/char/1.cc: Same.
3223 * testsuite/18_support/new_delete_placement.cc: Initialize
3224 variables before first use.
3225 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same.
3226 * testsuite/21_strings/char_traits/requirements/char/1.cc: Same.
3227 * testsuite/21_strings/char_traits/requirements/short/1.cc: Same.
3228 * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc:
3230 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc: Same.
3231 * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc:
3233 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc: Same.
3234 * testsuite/27_io/types/2.cc: Same.
3236 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary
3238 * testsuite/27_io/fpos/14775.cc: Same.
3240 2004-04-19 Paolo Carlini <pcarlini@suse.de>
3242 PR libstdc++/15002 (partial)
3243 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
3244 Special case __n2 == 1, not calling traits_type::assign/copy.
3246 2004-04-17 Benjamin Kosnik <bkoz@redhat.com>
3248 * include/bits/stl_bvector.h: Use _M_impl._M_start.
3250 2004-04-16 Benjamin Kosnik <bkoz@redhat.com>
3252 * include/bits/c++config (_GLIBCXX_STD): New.
3253 * src/list.cc: Use it.
3254 * include/std/std_bitset.h: Same.
3255 * include/bits/vector.tcc: Same.
3256 * include/bits/stl_set.h: Same.
3257 * include/bits/stl_multiset.h: Same.
3258 * include/bits/stl_multimap.h: Same.
3259 * include/bits/stl_map.h: Same.
3260 * include/bits/stl_list.h: Same.
3261 * include/bits/stl_vector.h: Same.
3262 * include/bits/stl_bvector.h: Same.
3263 * include/bits/stl_deque.h: Same.
3264 * include/bits/deque.tcc: Same.
3265 * include/bits/list.tcc: Same.
3266 * include/debug/vector: Same.
3267 * include/debug/set.h: Same.
3268 * include/debug/multiset.h: Same.
3269 * include/debug/multimap.h: Same.
3270 * include/debug/map.h: Same.
3271 * include/debug/list: Same.
3272 * include/debug/deque: Same.
3273 * include/debug/bitset: Same.
3274 * include/debug/formatter.h (__gnu_debug): Remove using directive.
3275 Add using declaration for std::type_info.
3276 * include/debug/safe_iterator.h: Add using declaration for
3277 std::iterator_traits and std::pair.
3278 * src/debug_list.cc: New.
3279 * src/Makefile.am: Add debug_list.cc.
3280 * src/Makefile.in: Regenerate.
3281 * config/linker-map.gnu: Add _List_node_base exports for std and
3284 * include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl
3285 idiom that other containers use.
3286 * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
3288 2004-04-16 Paolo Carlini <pcarlini@suse.de>
3291 * include/bits/fstream.tcc (basic_filebuf::imbue): Zero _M_codecvt
3293 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: New.
3294 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: New.
3296 2004-04-16 Paolo Carlini <pcarlini@suse.de>
3298 * acconfig.h: Remove _GLIBCXX_USE_LONG_DOUBLE entry, not
3300 * config.h.in: Regenerate.
3302 2004-04-16 Paolo Carlini <pcarlini@suse.de>
3304 * config/locale/generic/monetary_members.cc
3305 (moneypunct<wchar_t>::_M_initialize_moneypunct): Avoid calling
3306 btowc unnecessarily, just cast to wchar_t (the concerned chars
3307 all belong to the basic character set).
3308 * config/locale/generic/numeric_members.cc
3309 (numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
3310 * config/locale/gnu/monetary_members.cc
3311 (moneypunct<wchar_t>::_M_initialize_moneypunct): Likewise.
3312 * config/locale/gnu/numeric_members.cc
3313 (numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
3315 2004-04-15 Paolo Carlini <pcarlini@suse.de>
3317 * src/locale.cc (locale::operator==): When _M_impl == __rhs._M_impl
3318 avoid constructing unnecessarily this->name().
3320 2004-04-14 Zack Weinberg <zack@codesourcery.com>
3322 * testsuite/Makefile.am: Add definition of AM_CXXFLAGS.
3323 Change definition of CXX to use $(shell) instead of backticks.
3324 * testsuite/Makefile.in: Regenerate.
3326 2004-04-12 Dhruv Matani <dhruvbird@gmx.net>
3328 * testsuite/performance/20_util/allocator/list_sort_search.cc:
3329 Minor formatting fixes.
3330 * testsuite/performance/20_util/allocator/map_mt_find.cc:
3333 2004-04-12 Paolo Carlini <pcarlini@suse.de>
3335 * config/locale/gnu/numeric_members.cc
3336 (numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap
3337 in __uselocale, since btowc is called for chars belonging to
3338 the basic character set.
3340 2004-04-09 Paolo Carlini <pcarlini@suse.de>
3342 * testsuite/22_locale/messages/members/char/1.cc: Remove junk.
3343 * testsuite/22_locale/messages/members/char/2.cc: Ditto.
3344 * testsuite/22_locale/messages/members/char/3.cc: Ditto.
3345 * testsuite/22_locale/num_get/get/char/1.cc: Ditto.
3346 * testsuite/22_locale/num_get/get/char/2.cc: Ditto.
3347 * testsuite/22_locale/num_get/get/char/3.cc: Ditto.
3348 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto.
3349 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto.
3350 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto.
3351 * testsuite/22_locale/num_put/put/char/1.cc: Ditto.
3352 * testsuite/22_locale/num_put/put/char/2.cc: Ditto.
3353 * testsuite/22_locale/num_put/put/char/3.cc: Ditto.
3354 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto.
3355 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto.
3356 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto.
3357 * testsuite/22_locale/numpunct/members/char/1.cc: Ditto.
3358 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto.
3360 2004-04-07 Paolo Carlini <pcarlini@suse.de>
3362 * config/locale/generic/time_members.cc
3363 (__timepunct<char>::_M_initialize_timepunct,
3364 __timepunct<wchar_t>::_M_initialize_timepunct): the correct
3365 _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively.
3366 * config/locale/gnu/time_members.cc
3367 (__timepunct<char>::_M_initialize_timepunct,
3368 __timepunct<wchar_t>::_M_initialize_timepunct): Ditto.
3369 * testsuite/22_locale/time_get/get_monthname/char/4.cc: New.
3370 * testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New.
3372 * testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk.
3373 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto.
3374 * testsuite/22_locale/time_get/get_date/char/1.cc: Ditto.
3375 * testsuite/22_locale/time_get/get_date/char/2.cc: Ditto.
3376 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto.
3377 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto.
3378 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto.
3379 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto.
3380 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto.
3381 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto.
3382 * testsuite/22_locale/time_get/get_time/char/1.cc: Ditto.
3383 * testsuite/22_locale/time_get/get_time/char/2.cc: Ditto.
3384 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto.
3385 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto.
3386 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto.
3387 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto.
3388 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto.
3389 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto.
3390 * testsuite/22_locale/time_get/get_year/char/1.cc: Ditto.
3391 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto.
3392 * testsuite/22_locale/time_put/put/char/1.cc: Ditto.
3393 * testsuite/22_locale/time_put/put/char/2.cc: Ditto.
3394 * testsuite/22_locale/time_put/put/char/3.cc: Ditto.
3395 * testsuite/22_locale/time_put/put/char/4.cc: Ditto.
3396 * testsuite/22_locale/time_put/put/char/5.cc: Ditto.
3397 * testsuite/22_locale/time_put/put/char/6.cc: Ditto.
3398 * testsuite/22_locale/time_put/put/char/7.cc: Ditto.
3399 * testsuite/22_locale/time_put/put/char/8.cc: Ditto.
3400 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto.
3401 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto.
3402 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto.
3403 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto.
3404 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto.
3405 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto.
3406 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto.
3407 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto.
3409 * testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos.
3411 2004-04-07 Paolo Carlini <pcarlini@suse.de>
3413 * config/locale/gnu/monetary_members.cc
3414 (moneypunct<wchar_t>::_M_initialize_moneypunct): Prefer
3415 _NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC,
3416 and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC,
3417 _NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING.
3418 * config/locale/gnu/numeric_members.cc
3419 (numpunct<char>::_M_initialize_numpunct): Prefer DECIMAL_POINT
3420 and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP.
3422 2004-04-06 Benjamin Kosnik <bkoz@redhat.com>
3424 Fixups for EDG front end.
3425 * include/ext/rope: Instead of non-existent function
3426 _Data_allocate, use allocator's allocate. Use this.
3427 (namespace _Rope_constants): Move _S_max_rope_depth, and _Tag
3428 enumerations from _Rope_RopeRep here.
3429 * include/ext/ropeimpl.h: Same.
3430 * src/ext-inst.cc (_S_min_len): Fix up definition.
3432 * config/locale/gnu/ctype_members.cc: Qualify base class members
3434 * config/locale/generic/ctype_members.cc: Same.
3435 * config/locale/gnu/messages_members.h: Same.
3436 * config/locale/generic/messages_members.h: Same.
3437 * src/ctype.cc: Same.
3438 * include/bits/codecvt.h: Same.
3440 * include/bits/boost_concept_check.h: Declare.
3441 (__error_type_must_be_an_unsigned_integer_type): Remove this.
3442 (__error_type_must_be_an_integer_type): Remove this.
3443 (__error_type_must_be_a_signed_integer_type): Remove this.
3445 * config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast.
3447 * libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception
3448 specification to definition.
3449 (__cxa_allocate_exception): Same.
3450 * libsupc++/eh_catch.cc (__cxa_begin_catch): Same.
3451 * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same.
3452 (__cxa_get_globals): Same.
3454 * libsupc++/del_op.cc: Add comment about freestanding.
3456 2004-04-05 Paolo Carlini <pcarlini@suse.de>
3458 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
3459 The critical section is actually very small, only two assignments.
3461 2004-04-04 Paolo Carlini <pcarlini@suse.de>
3462 Petur Runolfsson <peturr02@ru.is>
3464 * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: New,
3465 adapted from libstdc++/11378.
3467 2004-04-03 Paolo Carlini <pcarlini@suse.de>
3469 * include/ext/mt_allocator.h (__mt_alloc<>::allocate): Factor out
3470 some duplicated code.
3471 (__mt_alloc<>::_Bin_record): Spare the space of _M_free and _M_used
3472 in the single threaded case.
3473 * testsuite/performance/20_util/allocator/list_sort_search.cc:
3474 Reorder and renumber the tests consistently with the other testfiles.
3475 * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
3476 * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
3477 * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
3479 2004-04-02 Paolo Carlini <pcarlini@suse.de>
3481 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
3482 Rearrange arithmetic to avoid computing two divisions at
3485 2004-04-01 Paolo Carlini <pcarlini@suse.de>
3487 * include/ext/mt_allocator.h (__mt_alloc<>::_S_initialize):
3488 Streamline the second half, wrapping it in a single
3489 '#ifdef __GTHREADS if (__gthread_active_p())' and avoiding
3490 conditionals inside loops.
3492 2004-04-01 Paolo Carlini <pcarlini@suse.de>
3495 * acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS.
3496 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call
3497 GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define
3498 to _GLIBCXX_RES_LIMITS.
3499 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to
3501 * testsuite/testsuite_hooks.h: Declare set_file_limit.
3502 * testsuite/testsuite_hooks.cc: Define it, using getrlimit
3503 and setrlimit(RLIMIT_FSIZE).
3504 * testsuite/27_io/fpos/14775.cc: New.
3505 * config.h.in: Regenerate.
3506 * configure: Likewise.
3508 2004-03-31 Paolo Carlini <pcarlini@suse.de>
3510 * config/locale/generic/c_locale.cc (__convert_to_v(long double&)):
3511 In v3 uses of sscanf, the special floating-point numbers INF,
3512 INFINITY, etc., cannot occur in input, therefore, if the latter
3513 is too large, ERANGE is always stored in errno, no need of finitel.
3515 2004-03-30 Benjamin Kosnik <bkoz@redhat.com>
3518 * include/bits/stl_tree.h: Adjust initialization list order.
3520 2004-03-29 Loren J. Rittle <ljrittle@acm.org>
3522 * testsuite/thread/pthread7-rope.cc: Update comment to reflect test.
3524 2004-03-29 Paolo Carlini <pcarlini@suse.de>
3526 * testsuite/thread/pthread7-rope.cc: Fix, unpredictably, depending
3527 on allocator behavior, the memory pointed by data2 may well be not
3530 2004-03-28 Chavdar Botev <cbotev@yahoo.com>
3533 * include/bits/basic_string.tcc
3534 (basic_string::basic_string(const basic_string&)): Pass to
3535 _Rep::_M_grab the actual allocator of the string being constructed
3536 not the default constructed one.
3538 2004-03-27 Benjamin Kosnik <bkoz@redhat.com>
3541 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3542 (__enc_traits::_M_destroy): New.
3543 (__enc_traits::~__enc_traits): Use it.
3544 (__enc_traits::operator=): Use _M_destroy, _M_init.
3545 (__enc_traits::__enc_traits): Same.
3547 2004-03-27 Petur Runolfsson <peturr02@ru.is>
3549 * testsuite/ext/enc_filebuf/char/13598.cc: New.
3551 2004-03-27 Paolo Carlini <pcarlini@suse.de>
3553 * include/ext/mt_allocator.h: Uglify consistently names of
3554 variables, members and classes; tidy.
3556 2004-03-27 Dhruv Matani <dhruvbird@gmx.net>
3558 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
3559 Deallocation loop rewrote.
3561 2004-03-26 Paolo Carlini <pcarlini@suse.de>
3563 * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
3564 __mt_alloc<>::deallocate): Protect two instances of
3565 block->thread_id with __GTHREADS.
3567 2004-03-25 Gawain Bolton <gp.bolton@computer.org>
3569 * include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator
3570 default argument in constructors.
3571 (_Rb_tree::_M_empty_initialize): Remove.
3573 2004-03-25 Benjamin Kosnik <bkoz@redhat.com>
3575 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
3576 * testsuite/23_containers/set/operators/1_neg.cc: Same.
3578 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
3580 * include/bits/cpp_type_traits.h: Changed __is_pod
3581 completely. Now, it does not use any of the previous type_traits
3582 to detect the pod types, and it also detects function pointers as
3585 * include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl,
3586 which encapsulates the internal implementation of an rb_tree. Made
3587 the allocator a base class of this class instead of the rb_tree,
3588 which was not conforming. This _Rb_tree_impl class is also
3589 specialized on whether the _Compare parameter is a POD type or
3590 not. If so, then it maintains the comparison function as a data
3591 member, otherwise it makes the _Compare parameter a base class of
3592 itself. Also, _M_key_compare is now a function instead of a data
3593 member, so that the above trick can work properly. Delegated the
3594 initialization of the other data members to this newly created
3595 class. Also, now other member functions of rb_tree must refer to
3596 _M_key_compare as _M_impl._M_key_compare(). The other data members
3597 (*) can be referenced to as _M_impl.(*), where
3598 (*) includes _M_header, and _M_node_count.
3600 2004-03-25 Paolo Carlini <pcarlini@suse.de>
3602 * include/ext/mt_allocator.h (__mt_alloc<>::tune):
3603 Add _M_min_bin, the size in bytes of the smallest bin.
3604 (__mt_alloc<>::tune()): Tweak accordingly.
3605 (__mt_alloc<>::tune(size_t, ...)): Likewise.
3606 (__mt_alloc<>::block_record): Change to a union: members next
3607 and thread_id are never used at the same time.
3608 (__mt_alloc<>::allocate): Update consistently.
3609 (__mt_alloc<>::deallocate): Likewise.
3610 (__mt_alloc<>::_S_initialize): Update setups of _S_binmap and
3611 _S_bin_size for the configurable _M_min_size.
3613 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
3615 * include/bits/stl_list.h: Created a _List_impl class and made it
3616 derive from the allocator, instead of the list deriving from the
3617 allocator class, which was not conformant. Changed all references
3618 from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same
3619 as above (changed all references to the concerned variables).
3621 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
3623 * include/bits/stl_deque.h: Created a _Deque_impl class and made
3624 it derive from the allocator, instead of the deque deriving from
3625 the allocator class, which was not conformant. Changed all
3626 references to the _M_start, _M_finish, _M_map, and _M_map_size to
3628 (_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this->
3629 qualification in 2 places where it was missing.
3630 (_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as
3632 * include/bits/deque.tcc: Same as above (changed all references to
3633 the concerned variables).
3635 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
3637 * include/bits/stl_vector.h: Created a _Vector_impl class and made
3638 it derive from the allocator, instead of the _Vector_base class,
3639 deriving from the allocator which was not conformant. Changed all
3640 references to the _M_start, _M_finish, and _M_end_of_storage to
3642 * include/bits/vector.tcc: Same as above (changed all references
3643 to the concerned variables).
3645 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
3647 * testsuite/23_containers/deque/cons/clear_allocator.cc: New.
3648 * testsuite/23_containers/list/cons/clear_allocator.cc: New.
3649 * testsuite/23_containers/vector/cons/clear_allocator.cc: New.
3651 2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
3653 * include/ext/malloc_allocator.h: Fixed the construct function to
3654 call global placement new instead of assignment. Added a check
3655 after the return from malloc to check whether returned pointer is
3656 NULL, and if so, throw std::bad_alloc().
3657 * include/ext/debug_allocator.h: Added a check in the deallocate
3658 function to check whether the user has passed a NULL pointer or
3661 2004-03-24 Benjamin Kosnik <bkoz@redhat.com>
3663 * docs/html/20_util/allocator.html: Add bitmap_allocator links.
3665 2004-03-24 Andreas Schwab <schwab@suse.de>
3667 * testsuite/lib/prune.exp (prune_g++_output): Ignore errata
3668 warning from IA64 assembler.
3670 2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
3672 * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this
3673 function call __builtin_ctz instead of the while loop.
3674 (allocate) -> If condition has __builtin_expect.
3675 (deallocate) -> Ditto.
3676 Renamed a few left-over variables and typedefs according to the
3677 C++STYLE mentioned in the documentation.
3678 Protected calls to __gthread* by __gthread_active_p(), whose value
3679 is cached in the local variable __threads_active.
3681 2004-03-24 Felix Yen <fwy@alumni.brown.edu>
3683 * testsuite/performance/20_util/allocator/producer_consumer.cc:
3684 Use linear algorithm for producer.
3686 2004-03-24 Paolo Carlini <pcarlini@suse.de>
3688 * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
3689 __mt_alloc<>::deallocate): Avoid redundant conditionals.
3691 2004-03-23 Benjamin Kosnik <bkoz@redhat.com>
3693 * include/bits/locale_facets.h: Tweaks for 80 column.
3694 (__numpunct_cache::_M_cache): Move to locale_facets.tcc.
3695 (__moneypunct_cache::_M_cache): Same.
3696 (num_get): Don't inherit from __num_base.
3698 (money_get): Don't inherit from money_base.
3700 (__timepunct::_M_am_pm_format): New.
3701 (time_get::_M_extract_num): Return iterator, use ios_base as argument.
3702 (time_get::_M_extract_name): Same.
3703 (time_get::_M_extract_via_format): Same.
3704 * include/bits/locale_facets.tcc: Tweaks for 80 column.
3705 Use _M_getloc instead of getloc.
3706 * testsuite/22_locale/money_put/put/char/9780-3.cc: New.
3707 * testsuite/22_locale/num_put/put/char/9780-2.cc: New.
3708 * testsuite/22_locale/time_put/put/char/9780-1.cc: New.
3710 2004-03-22 Paolo Carlini <pcarlini@suse.de>
3712 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator.
3713 * configure: Regenerate.
3714 * config/allocator/pool_allocator_base.h: New.
3715 * include/ext/pool_allocator.h: Convert to a standard-conforming
3717 * src/allocator.cc: Tweak instantiations.
3718 * testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc.
3719 * testsuite/performance/20_util/allocator/insert_insert.cc: Ditto.
3720 * testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto.
3721 * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
3722 * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
3723 * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
3725 2004-03-22 Hans-Peter Nilsson <hp@axis.com>
3727 * config/cpu/cris/atomicity.h (__atomic_add): Remove "static
3728 inline" and attribute-unused. Qualify parameter __mem with
3730 (__exchange_and_add): Ditto. Add back memory clobber to asm.
3732 2004-03-20 Paolo Carlini <pcarlini@suse.de>
3734 * testsuite/27_io/basic_istream/extractors_arithmetic/char/2.cc:
3736 * testsuite/27_io/basic_istream/extractors_arithmetic/char/3.cc:
3738 * testsuite/27_io/basic_istream/extractors_arithmetic/char/6.cc:
3740 * testsuite/27_io/basic_istream/extractors_arithmetic/char/7.cc:
3742 * testsuite/27_io/basic_istream/extractors_arithmetic/char/8.cc:
3744 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9.cc:
3746 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
3748 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
3750 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
3752 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
3755 2004-03-20 Paolo Carlini <pcarlini@suse.de>
3757 * include/std/std_valarray.h: Document DR389 [Ready].
3758 * docs/html/ext/howto.html: Add an entry for DR389.
3760 2004-03-19 Michael Eager <eager@mvista.com>
3762 * config/cpu/mips/atomicity.h: Prevent reg loads between LL and
3765 2004-03-19 Paolo Carlini <pcarlini@suse.de>
3767 * testsuite/22_locale/num_get/get/char/11.cc: Remove redundant
3769 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
3770 * testsuite/22_locale/num_get/get/char/13.cc: Likewise.
3771 * testsuite/22_locale/num_get/get/char/14.cc: Likewise.
3772 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
3773 * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
3774 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
3775 * testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise.
3776 * testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise.
3777 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
3779 2004-03-19 Paolo Carlini <pcarlini@suse.de>
3780 Petur Runolfsson <peturr02@ru.is>
3783 * include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's
3784 no way to find out the conversion used by the underlying FILE*.
3785 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New.
3786 * testsuite/27_io/objects/char/9.cc: Tweak.
3788 2004-03-19 Paolo Carlini <pcarlini@suse.de>
3791 * include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix
3792 memory allocation/deallocation calls.
3793 * testsuite/ext/14648.cc: New.
3795 2004-03-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3798 * include/backward/bvector.h (bit_vector): Allocator is in std
3801 2004-03-19 Phil Edwards <phil@codesourcery.com>
3803 * acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV,
3804 not libiconv. SUBST this variable as well.
3805 * testsuite/Makefile.am (site.exp): New target, based on that
3806 created by automake. Also set libiconv.
3808 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in,
3809 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
3810 testsuite/Makefile.in: Regenerate.
3812 2004-03-16 Benjamin Kosnik <bkoz@redhat.com>
3814 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is
3815 new_allocator for all hosts.
3816 * configure: Regenerate.
3818 2004-03-16 Paolo Carlini <pcarlini@suse.de>
3820 * testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers.
3821 * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
3823 2004-03-15 Paolo Carlini <pcarlini@suse.de>
3825 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
3826 Adjust the logic underlying the parsing of symbol to deal
3827 correctly with an optional sign component (i.e., when either
3828 negative_sign or positive_sign is empty)
3829 * testsuite/22_locale/money_get/get/char/19.cc: New.
3830 * testsuite/22_locale/money_get/get/wchar_t/19.cc: New.
3832 2004-03-15 Paolo Carlini <pcarlini@suse.de>
3834 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
3835 Do not accept an incomplete currency symbol.
3836 * testsuite/22_locale/money_get/get/char/18.cc: New.
3837 * testsuite/22_locale/money_get/get/wchar_t/18.cc: New.
3839 2004-03-13 Benjamin Kosnik <bkoz@redhat.com>
3841 * config/allocator: New.
3842 * config/allocator/bitmap_allocator_base.h: New.
3843 * config/allocator/malloc_allocator_base.h: New.
3844 * config/allocator/mt_allocator_base.h: New.
3845 * config/allocator/new_allocator_base.h: New.
3846 * include/bits/allocator.h: Include c++allocator.h.
3847 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New.
3848 * aclocal.m4: Regenerate.
3849 * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR.
3850 * configure: Regenerate.
3851 * include/Makefile.am (host_headers_extra): Add c++allocator.h.
3852 * include/Makefile.in: Regenerate.
3853 * docs/html/configopts.html: Add enable-libstdcxx-allocator.
3855 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
3857 * include/bits/allocator.h: Revert.
3859 2004-03-12 Paolo Carlini <pcarlini@suse.de>
3861 * docs/html/ext/howto.html: Add entry for DR 253 [Ready].
3862 * include/bits/gslice_array.h: Add comment about DR 253.
3863 * include/bits/indirect_array.h: Likewise.
3864 * include/bits/mask_array.h: Likewise.
3865 * include/bits/slice_array.h: Likewise.
3867 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
3869 * testsuite/20_util/allocator/14176.cc: New.
3870 * include/ext/mt_allocator.h: Formatting fixes.
3872 2004-03-11 Dhruv Matani <dhruvbird@HotPOP.com>
3874 * include/Makefile.am (ext_headers): Add
3875 ${ext_srcdir}/bitmap_allocator.h .
3876 * include/Makefile.in: Regenerate.
3877 * docs/html/ext/ballocator_doc.txt: New file.
3878 * include/ext/bitmap_allocator.h: New file.
3879 * testsuite/performance/20_util/allocator/list_sort_search.cc: Add
3881 * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
3882 * testsuite/performance/20_util/allocator/producer_consumer.cc: Add
3883 test for the bitmap_allocator<>.
3884 * testsuite/performance/20_util/allocator/insert.cc: Likewise.
3885 * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
3886 * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
3888 2004-03-11 Paolo Carlini <pcarlini@suse.de>
3890 * include/std/std_complex.h (pow(const complex&, const _Tp&),
3891 pow(const _Tp&, const complex&), pow(const complex&,
3892 const complex&)): Fully qualify with std:: a few calls.
3893 * testsuite/26_numerics/complex/13450.cc: Minor tweak.
3895 2004-03-11 Steven Bosscher <stevenb@suse.de>
3898 * include/c_std/cmath.tcc (__cmath_power): Define inline.
3900 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
3902 * configure.ac: Bump AC_PREREQ to 2.59.
3904 2004-03-10 Paolo Carlini <pcarlini@suse.de>
3906 * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos.
3908 2004-03-10 Paul Kienzle <pkienzle@nist.gov>
3909 Paolo Carlini <pcarlini@suse.de>
3912 * include/std/std_complex.h (pow(const complex&, const _Tp&),
3913 pow(const _Tp&, const complex&)): Use cmath pow only when safe.
3914 * testsuite/26_numerics/complex/13450.cc: New.
3916 * testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc.
3917 * testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix.
3919 2004-03-10 Jerry Quinn <jlquinn@optonline.net>
3922 * include/bits/gslice_array.h (gslice_array()): Make public.
3923 (operator=(gslice_array)): Make public. Implement.
3924 * include/bits/indirect_array.h (indirect_array()): Make public.
3925 * include/bits/mask_array.h (mask_array()): Make public.
3926 (operator=(mask_array)): Make public. Implement.
3927 * include/bits/valarray_array.tcc (__valarray_copy):
3928 Comment. Add versions for gslice_array and mask_array.
3929 * testsuite/26_numerics/valarray_subset_assignment.cc: New test.
3931 2004-03-09 Benjamin Kosnik <bkoz@redhat.com>
3933 * testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for
3935 * testsuite/23_containers/vector/modifiers/swap.cc: Same.
3936 * testsuite/23_containers/set/modifiers/swap.cc: Same.
3937 * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
3938 * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
3939 * testsuite/23_containers/map/modifiers/swap.cc: Same.
3940 * testsuite/23_containers/list/modifiers/swap.cc: Same.
3942 * testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions.
3944 2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
3947 * testsuite/23_containers/deque/modifiers/swap.cc: New.
3948 * testsuite/23_containers/list/modifiers/swap.cc: New.
3949 * testsuite/23_containers/map/modifiers/swap.cc: New.
3950 * testsuite/23_containers/multimap/modifiers/swap.cc: New.
3951 * testsuite/23_containers/multiset/modifiers/swap.cc: New.
3952 * testsuite/23_containers/set/modifiers/swap.cc: New.
3953 * testsuite/23_containers/vector/modifiers/swap.cc: New.
3955 2004-03-08 Petur Runolfsson <peturr02@ru.is>
3958 * testsuite/22_locale/locale/cons/12658_thread.cc: New.
3960 2004-03-08 Paolo Carlini <pcarlini@suse.de>
3962 * docs/html/ext/howto.html: Add entry for DR 103 [WP].
3963 * include/bits/stl_multiset.h: Add comment about DR 103.
3964 * include/bits/stl_set.h: Likewise.
3966 2004-03-08 Paolo Carlini <pcarlini@suse.de>
3968 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
3969 The value _space_ indicates that at least one space is required
3971 * testsuite/22_locale/money_get/get/char/17.cc: New.
3972 * testsuite/22_locale/money_get/get/wchar_t/17.cc: New.
3974 * testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks.
3975 * testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.
3977 * include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)):
3978 Remove redundant conditional on __str.size().
3980 2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
3982 * include/bits/allocator.h: Switch defaults to mt_alloc.
3984 2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
3986 * include/ext/mt_allocator.h (_S_initialize): If
3987 !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex.
3989 2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
3992 * src/locale_init.cc (locale::locale): Lock critical regions with
3994 (locale::global): Same.
3995 * include/bits/concurrence.h (__glibcxx_mutex_define_initialized):
3996 Add in once bits for cases without __GTHREAD_MUTEX_INIT.
3997 (__glibcxx_mutex_lock): Same.
3999 * config/cpu/generic/atomicity.h: Remove
4000 _GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
4001 * src/misc-inst.cc: Move all locking bits out of this file.
4003 * config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
4004 * src/misc-inst.cc: Same.
4005 * config/cpu/hppa/atomicity.h: Same.
4007 * config/linker-map.gnu: Remove types in the signature of atomic
4008 exports, as they may vary.
4010 2004-03-06 Paolo Carlini <pcarlini@suse.de>
4012 * include/bits/locale_facets.tcc: Tweak the comment preceding
4013 has_facet: doesn't throw.
4015 2004-03-06 Paolo Carlini <pcarlini@suse.de>
4017 * testsuite/22_locale/money_get/get/char/1.cc: Clean up.
4018 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
4019 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
4020 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
4021 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
4022 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
4023 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
4024 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
4026 2004-03-06 Paolo Carlini <pcarlini@suse.de>
4028 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
4029 num_get<>::_M_extract_int, num_get<>::do_get(bool&),
4030 __pad<>::_S_pad): Prefer plain operator== to traits::eq().
4031 * testsuite/testsuite_character.h (struct __gnu_test::character):
4033 * testsuite/testsuite_hooks.h (struct __gnu_test::pod_char):
4036 2004-03-05 Paolo Carlini <pcarlini@suse.de>
4038 * testsuite/27_io/fpos/14320-2.cc: Remove xfail.
4040 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
4042 * testsuite/23_containers/multiset/insert/1.cc: Test result string.
4044 * testsuite/23_containers/bitset/invalidation/1.cc: Main always
4046 * testsuite/23_containers/deque/invalidation/4.cc: Same.
4047 * testsuite/23_containers/list/invalidation/1.cc: Same.
4048 * testsuite/23_containers/list/invalidation/2.cc: Same.
4049 * testsuite/23_containers/list/invalidation/3.cc: Same.
4050 * testsuite/23_containers/list/invalidation/4.cc: Same.
4051 * testsuite/23_containers/map/invalidation/2.cc: Same.
4052 * testsuite/23_containers/multimap/invalidation/1.cc: Same.
4053 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
4054 * testsuite/23_containers/multiset/invalidation/1.cc: Same.
4055 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
4056 * testsuite/23_containers/set/invalidation/1.cc: Same.
4057 * testsuite/23_containers/set/invalidation/2.cc: Same.
4058 * testsuite/23_containers/vector/invalidation/1.cc: Same.
4059 * testsuite/23_containers/vector/invalidation/2.cc: Same.
4060 * testsuite/23_containers/vector/invalidation/3.cc: Same.
4061 * testsuite/23_containers/vector/invalidation/4.cc: Same.
4063 2004-03-04 Paolo Carlini <pcarlini@suse.de>
4065 * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to
4067 * testsuite/lib/libstdc++.exp: Don't add it conditionally to
4069 * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT"
4070 from the dg-options.
4071 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
4072 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
4073 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
4074 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
4075 * testsuite/23_containers/vector/resize/1.cc: Likewise.
4076 * testsuite/26_numerics/complex_value.cc: Likewise.
4077 * testsuite/27_io/ios_base/storage/1.cc: Likewise.
4078 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
4079 * testsuite/27_io/ios_base/storage/3.cc: Likewise.
4080 * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
4081 * testsuite/27_io/objects/char/5.cc: Likewise.
4082 * testsuite/27_io/objects/wchar_t/5.cc: Likewise.
4083 * testsuite/backward/11460.cc: Likewise.
4084 * testsuite/thread/pthread7-rope.cc: Likewise.
4086 * testsuite/21_strings/basic_string/compare/char/1.cc: Add
4087 missing test variable.
4088 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add
4089 missing test variable.
4091 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
4093 * testsuite/20_util/allocator/1.cc: Provide explicit
4094 instantiations for non-weak systems.
4095 * testsuite/20_util/binders.cc: Same.
4096 * testsuite/20_util/allocator/8230.cc: Same.
4097 * testsuite/20_util/allocator/10378.cc: Same.
4098 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4099 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4100 * testsuite/thread/pthread7-rope.cc: Same.
4101 * testsuite/thread/pthread6.cc: Same.
4102 * testsuite/thread/pthread5.cc: Same.
4103 * testsuite/thread/pthread4.cc: Same.
4104 * testsuite/thread/pthread1.cc: Same.
4105 * testsuite/ext/rope.cc: Same.
4106 * testsuite/ext/hash_set.cc: Same.
4107 * testsuite/ext/hash_map.cc: Same.
4108 * testsuite/ext/concept_checks.cc: Same.
4109 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same.
4110 * testsuite/25_algorithms/unique/2.cc: Same.
4111 * testsuite/25_algorithms/unique/1.cc: Same.
4112 * testsuite/25_algorithms/rotate.cc: Same.
4113 * testsuite/25_algorithms/min_max.cc: Same.
4114 * testsuite/25_algorithms/equal.cc: Same.
4115 * testsuite/24_iterators/rel_ops.cc: Same.
4116 * testsuite/24_iterators/iterator.cc: Same.
4117 * testsuite/24_iterators/insert_iterator.cc: Same.
4118 * testsuite/24_iterators/front_insert_iterator.cc: Same.
4119 * testsuite/24_iterators/back_insert_iterator.cc: Same.
4120 * testsuite/23_containers/vector/resize/1.cc: Same.
4121 * testsuite/23_containers/vector/modifiers/2.cc: Same.
4122 * testsuite/23_containers/vector/modifiers/1.cc: Same.
4123 * testsuite/23_containers/vector/invalidation/4.cc: Same.
4124 * testsuite/23_containers/vector/invalidation/3.cc: Same.
4125 * testsuite/23_containers/vector/invalidation/2.cc: Same.
4126 * testsuite/23_containers/vector/invalidation/1.cc: Same.
4127 * testsuite/23_containers/vector/element_access/1.cc: Same.
4128 * testsuite/23_containers/vector/cons/6513.cc: Same.
4129 * testsuite/23_containers/vector/cons/3.cc: Same.
4130 * testsuite/23_containers/vector/cons/2.cc: Same.
4131 * testsuite/23_containers/vector/cons/1.cc: Same.
4132 * testsuite/23_containers/vector/capacity/8230.cc: Same.
4133 * testsuite/23_containers/vector/capacity/1.cc: Same.
4134 * testsuite/23_containers/vector/bool/6886.cc: Same.
4135 * testsuite/23_containers/stack/members/7158.cc: Same.
4136 * testsuite/23_containers/set/invalidation/2.cc: Same.
4137 * testsuite/23_containers/set/invalidation/1.cc: Same.
4138 * testsuite/23_containers/queue/members/7157.cc: Same.
4139 * testsuite/23_containers/priority_queue/members/7161.cc: Same.
4140 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
4141 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
4142 * testsuite/23_containers/multiset/insert/1.cc: Same.
4143 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
4144 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
4145 * testsuite/23_containers/map/operators/1.cc: Same.
4146 * testsuite/23_containers/map/invalidation/2.cc: Same.
4147 * testsuite/23_containers/map/invalidation/1.cc: Same.
4148 * testsuite/23_containers/map/insert/1.cc: Same.
4149 * testsuite/23_containers/list/operators/4.cc: Same.
4150 * testsuite/23_containers/list/operators/3.cc: Same.
4151 * testsuite/23_containers/list/operators/2.cc: Same.
4152 * testsuite/23_containers/list/operators/1.cc: Same.
4153 * testsuite/23_containers/list/modifiers/3.cc: Same.
4154 * testsuite/23_containers/list/modifiers/2.cc: Same.
4155 * testsuite/23_containers/list/modifiers/1.cc: Same.
4156 * testsuite/23_containers/list/invalidation/4.cc: Same.
4157 * testsuite/23_containers/list/invalidation/3.cc: Same.
4158 * testsuite/23_containers/list/invalidation/2.cc: Same.
4159 * testsuite/23_containers/list/invalidation/1.cc: Same.
4160 * testsuite/23_containers/list/cons/9.cc: Same.
4161 * testsuite/23_containers/list/cons/8.cc: Same.
4162 * testsuite/23_containers/list/cons/7.cc: Same.
4163 * testsuite/23_containers/list/cons/6.cc: Same.
4164 * testsuite/23_containers/list/cons/5.cc: Same.
4165 * testsuite/23_containers/list/cons/4.cc: Same.
4166 * testsuite/23_containers/list/cons/3.cc: Same.
4167 * testsuite/23_containers/list/cons/2.cc: Same.
4168 * testsuite/23_containers/list/cons/1.cc: Same.
4169 * testsuite/23_containers/list/capacity/1.cc: Same.
4170 * testsuite/23_containers/deque/operators/1.cc: Same.
4171 * testsuite/23_containers/deque/invalidation/4.cc: Same.
4172 * testsuite/23_containers/deque/invalidation/3.cc: Same.
4173 * testsuite/23_containers/deque/invalidation/2.cc: Same.
4174 * testsuite/23_containers/deque/invalidation/1.cc: Same.
4175 * testsuite/23_containers/deque/cons/2.cc: Same.
4176 * testsuite/23_containers/deque/cons/1.cc: Same.
4178 * src/allocator.cc: Add char, wchar_t instantiations
4179 to match extern template declarations in memory.h.
4181 2004-03-03 Paolo Carlini <pcarlini@suse.de>
4183 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
4184 Fix warning regression.
4186 2004-03-03 Paolo Carlini <pcarlini@suse.de>
4188 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
4189 Deal properly with empty __digits and negative frac_digits,
4192 2004-03-03 Jonathan Wakely <redi@gcc.gnu.org>
4194 * docs/html/documentation.html: Regenerate.
4196 2004-03-02 Paolo Carlini <pcarlini@suse.de>
4199 * include/bits/postypes.h (class streamoff): Remove, now
4200 streamoff is just typedef a 64 bit signed integer type.
4201 (class fpos): Tweak consistently.
4202 * testsuite/27_io/fpos/14320-1.cc: New.
4203 * testsuite/27_io/fpos/14320-2.cc: New.
4204 * testsuite/27_io/fpos/14320-3.cc: New.
4205 * testsuite/27_io/fpos/14320-4.cc: New.
4206 * testsuite/27_io/fpos/14320-5.cc: New.
4207 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: xfail for now.
4209 2004-03-02 Paolo Carlini <pcarlini@suse.de>
4211 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4212 Reorganize a bit the main parsing loop, thus early detecting
4213 an empty value component.
4214 * testsuite/22_locale/money_get/get/char/16.cc: New.
4215 * testsuite/22_locale/money_get/get/wchar_t/16.cc: New.
4217 2004-03-02 Benjamin Kosnik <bkoz@redhat.com>
4219 Support automake 1.8.2
4220 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override.
4221 * po/Makefile.am (EXTRA_DIST): New.
4222 * po/Makefile.in: Regenerate.
4223 * Makefile.in: Same.
4224 * include/Makefile.in: Same.
4225 * libmath/Makefile.in: Same.
4226 * libsupc++/Makefile.in: Same.
4227 * src/Makefile.in: Same.
4228 * testsuite/Makefile.in: Same.
4230 * include/Makefile.am (${host_builddir}/gthr-posix.h): Use
4231 __GXX_WEAK__ instead of SUPPORTS_WEAK.
4232 (${host_builddir}/gthr-default.h): Same.
4233 (${host_builddir}/gthr.h): Same.
4234 * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove
4235 _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via
4237 * aclocal.m4: Regenerate.
4238 * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK.
4239 * config.h.in: Regenerate.
4242 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>
4244 Support autoconf 2.59
4245 * acinclude.m4: Quote correctly.
4246 * aclocal.m4: Regenerate.
4249 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>
4251 * docs/html/test.html: Add multilib RUNTESTFLAGS example.
4253 * docs/html/18_support/howto.html: Add bit about writing to
4254 stderr, mostly by Zack.
4256 2004-03-01 Paolo Carlini <pcarlini@suse.de>
4258 * include/bits/locale_facets.tcc (money_get<>::_M_extract,
4259 money_get<>::do_get(string_type&)): ... and two more.
4261 2004-03-01 Paolo Carlini <pcarlini@suse.de>
4263 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4264 Fix thinkos in the switch from string_type& to string& as last
4267 2004-03-01 Paolo Carlini <pcarlini@suse.de>
4269 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
4270 Also when parsing exponent sign, first look for thousands_sep
4271 and decimal_point; tweak a bit.
4272 * testsuite/22_locale/num_get/get/char/15.cc: New.
4273 * testsuite/22_locale/num_get/get/wchar_t/15.cc: New.
4275 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
4276 num_get<>::_M_extract_int): Reorder some conditionals.
4278 2004-03-01 Paolo Carlini <pcarlini@suse.de>
4280 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4281 Consistently with numpunct, enforce the requirements in
4282 22.2.6.3, p3 for the thousands separators; tweak a bit.
4283 * testsuite/22_locale/money_get/get/char/15.cc: New.
4284 * testsuite/22_locale/money_get/get/wchar_t/15.cc: New.
4286 2004-03-01 David Billinghurst <David.Billinghurst@riotinto.com>
4288 * testsuite/lib/libstdc++.exp (v3-list-tests): Use
4289 testsuite_files from correct multilib blddir when running
4292 2004-02-29 Phil Edwards <phil@codesourcery.com>
4294 * testsuite/Makefile.am (check-abi, check-abi-verbose): Copy
4295 the summary file to the logfile.
4296 * testsuite/Makefile.in: Regenerate.
4298 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4300 * config/cpu/hppa/atomicity.h (__atomic_add): Make first argument
4302 * config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use
4303 __GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK.
4305 2004-02-28 Paolo Carlini <pcarlini@suse.de>
4307 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
4308 According to 22.2.3.1, p2, 'units' may be followed by 'e' with
4309 no 'decimal-point' in the middle: in this case too we must fix
4310 up __found_grouping; slightly tweak.
4311 * testsuite/22_locale/num_get/get/char/14.cc: New.
4312 * testsuite/22_locale/num_get/get/wchar_t/14.cc: New.
4314 2004-02-27 Eric Christopher <echristo@redhat.com>
4315 Phil Edwards <phil@codesourcery.com>
4317 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
4318 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
4319 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
4320 testsuite/22_locale/collate/hash/wchar_t/2.cc,
4321 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
4322 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
4323 testsuite/22_locale/collate/transform/wchar_t/2.cc,
4324 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
4325 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
4326 Use dg-require-iconv.
4327 * testsuite/lib/libstdc++.exp: Load target-supports.exp.
4329 2004-02-27 Phil Edwards <phil@codesourcery.com>
4330 Eric Christopher <echristo@redhat.com>
4332 * testsuite/config/default.exp: Update with comments.
4333 (${tool}_target_compile): New wrapper routine.
4334 * testsuite/lib/dg-options.exp: New file, with dg-require-iconv.
4335 * testsuite/lib/libstdc++.exp: Update with comments and cosmetic
4337 (load_gcc_lib, v3track): New routines.
4338 (v3-init): Rename to libstdc++_init.
4339 * testsuite/libstdc++-dg/normal.exp: No longer call v3-init.
4340 Move DEFAULT_CXXFLAGS handling into libstdc++_init.
4342 2004-02-27 Benjamin Kosnik <bkoz@redhat.com>
4344 * config/cpu/hppa/atomicity.h: Include c++config.h to get defines.
4346 * src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx.
4348 * config/os/irix/irix5.2/atomicity.h: Merge..
4349 * config/os/irix/irix6.5/atomicity.h: Merge..
4350 * config/os/irix/atomicity.h: ...into this.
4351 * config/os/irix/atomic_word.h: New.
4352 * configure.host: Set atomic_word_dir for irix.
4354 * hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock.
4355 * i386/atomicity.h: Same.
4356 * m68k/atomicity.h: Same.
4357 * sparc/atomicity.h: Same.
4359 2004-02-27 David Edelsohn <edelsohn@gnu.org>
4361 * config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove
4362 static, and inline keywords.
4364 2004-02-27 Paolo Carlini <pcarlini@suse.de>
4366 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
4367 num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate,
4368 call reserve on the __tmp_gruping string.
4369 (num_get<>::_M_extract_float): Don't append unnecessarily a
4370 char() to the returned string.
4371 * include/bits/locale_facets.tcc: Trivial reformattings.
4373 2004-02-27 Paolo Carlini <pcarlini@suse.de>
4375 * include/bits/locale_facets.h (money_get<>::_M_extract):
4376 Change signature: now takes a plain string&.
4377 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4378 Update consistently the definition; use the moneypunct cache
4379 to parse the value; use swap to change __units.
4380 (money_get<>::do_get(long double&)): Update call of _M_extract,
4381 avoid ctype::narrow, not correct wrt the standard.
4382 (money_get<>::do_get(string_type&)): Likewise, update call
4383 of _M_extract, use ctype::widen.
4384 * src/locale-inst.cc: Tweak instantiations of _M_extract.
4386 2004-02-26 Ian Lance Taylor <ian@wasabisystems.com>
4388 * testsuite/demangle/abi_examples/01.cc: Expect error -2.
4389 * testsuite/demangle/abi_examples/02.cc: Likewise.
4390 * testsuite/demangle/regression/cw-11.cc: Likewise.
4391 * testsuite/demangle/regression/cw-16.cc: Change two expected
4392 results to match libiberty demangler output.
4394 2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
4397 * libsupc++/Makefile.am: Use libiberty demangler.
4398 (c_sources): Add cp-demangle.c.
4399 * libsupc++/Makefile.in: Regenerate.
4400 * src/Makefile.am (sources): Remove demangle.cc.
4401 * src/Makefile.in: Regenerate.
4402 * include/Makefile.am (bits_headers): Move demangle.h.
4403 (ext_headers): ...here.
4404 * include/Makefile.in: Regenerate.
4405 * include/bits/demangle.h: Move...
4406 * include/ext/demangle.h: ...here.
4407 * src/demangle.cc: Remove.
4409 2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
4411 * include/bits/demangle.h: Add type template parameter to all
4412 templates with just an Allocator template parameter.
4414 2004-02-25 Benjamin Kosnik <bkoz@redhat.com>
4416 * include/bits/atomicity.h: New, forward declarations for __atomic_add
4417 and __exchange_and_add.
4418 * config/cpu/generic/atomic_word.h: New, typdef for atomic word.
4419 * config/cpu/cris/atomic_word.h: Same.
4420 * config/cpu/sparc/atomic_word.h: Same.
4421 * include/bits/ios_base.h (_Callback_list::_M_remove_reference):
4422 Qualifiy with __gnu_cxx.
4423 (_Callback_list::_M_add_reference): Same.
4424 * include/bits/locale_classes.h (locale::facet::_M_add_reference): Add.
4425 (locale::facet::_M_remove_reference): Same.
4426 (locale::_Impl::_M_add_reference): Add.
4427 (locale::_Impl::_M_remove_reference): Same.
4428 * include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same.
4429 (basic_string::_Rep::_M_dispose): Same.
4430 * src/ios.cc (ios_base::xalloc): Same.
4431 * src/ios_init.cc (ios_base::Init::Init): Same.
4432 (ios_base::Init::~Init): Same.
4433 * src/locale.cc (locale::id::_M_id): Same.
4434 * config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove
4435 static, and inline keywords.
4436 * config/cpu/alpha/atomicity.h: Same.
4437 * config/cpu/cris/atomicity.h: Same.
4438 * config/cpu/generic/atomicity.h: Same.
4439 * config/cpu/hppa/atomicity.h: Same.
4440 * config/cpu/i386/atomicity.h: Same.
4441 * config/cpu/ia64/atomicity.h: Same.
4442 * config/cpu/m68k/atomicity.h: Same.
4443 * config/cpu/mips/atomicity.h: Same.
4444 * config/cpu/powerpc/atomicity.h: Same.
4445 * config/cpu/s390/atomicity.h: Same.
4446 * config/cpu/sparc/atomicity.h: Same.
4448 * src/Makefile.am (host_sources): Add atomicity.cc.
4449 (atomicity.cc): New rule.
4450 * src/Makefile.in: Regenerate.
4451 * include/Makefile.am (host_headers): Remove host atomicity.h.
4452 (host_headers): Add atomic_word.h.
4453 (bits_headers): Add bits atomicity.h.
4454 Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
4455 * include/Makefile.in: Regenerate.
4456 * configure.host (atomic_word_dir): Add.
4457 * configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change
4458 ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
4459 * configure: Regenerate.
4460 * config/linker-map.gnu: Export __exchange_and_add, and __atomic_add.
4462 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
4463 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
4465 2004-02-25 Jonathan Wakely <redi@gcc.gnu.org>
4467 * docs/html/20_util/howto.html, docs/html/20_util/allocator.html,
4468 docs/html/ext/howto.html, docs/html/ext/mt_allocator.html:
4469 Fix markup, more <link> tags.
4471 2004-02-25 Carlo Wood <carlo@alinoe.com>
4474 namespace __gnu_cxx::demangler
4475 (session<Allocator>::qualifier_list_Allocator): Add
4476 (session<Allocator>::M_qualifier_list_alloc): Add
4477 (session<Allocator>::decode_type_with_postfix):
4478 Use M_qualifier_list_alloc instead of calling operator new/delete.
4480 2004-02-24 Paolo Carlini <pcarlini@suse.de>
4483 * include/bits/postypes.h (class streamoff): Add operator++(),
4484 operator++(int), operator--() and operator--(int).
4485 * testsuite/27_io/fpos/14252.cc: New.
4487 2004-02-24 Richard Sandiford <rsandifo@redhat.com>
4489 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds
4490 error in handling of hex constants.
4492 2004-02-24 Paolo Carlini <pcarlini@suse.de>
4494 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
4495 Prefer basic_string::append to operator+= and a temporary.
4497 2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
4499 * libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
4500 Only use fputs, not write.
4502 2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
4504 * include/ext/malloc_allocator.h: Add operators ==, !=.
4505 * include/ext/new_allocator.h: Add operators ==, !=.
4506 * include/ext/mt_allocator.h (__mt_alloc::tune): New.
4507 (__mt_alloc::_S_get_options): New.
4508 (__mt_alloc::_S_set_options): New.
4509 (__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
4510 (__mt_alloc::_S_no_of_bins): To _S_bin_size.
4511 Move functions out of line, simplify, format.
4512 * src/allocator.cc: Simplify explicit instantiations.
4513 * include/bits/allocator.h: Tweak.
4515 2004-02-22 Paolo Carlini <pcarlini@suse.de>
4517 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
4518 Restructure formatting of value component, first dealing with
4519 the non-decimal digits; use reserve.
4521 2004-02-22 Paolo Carlini <pcarlini@suse.de>
4523 * include/bits/locale_facets.h (class money_get): Inherit
4524 from money_base too; tweak declaration of _M_extract, now
4525 parameterized on _Intl too.
4526 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4527 Update definition to use the cache; call reserve on __res to
4528 avoid multiple reallocations; fix parsing of sign component
4529 according to 22.2.6.1.2, p3.
4530 (money_get<>::do_get(long double&),
4531 money_get<>::do_get(string_type&)): Update calls of _M_extract.
4532 * src/locale-inst.cc: Add instantiations of
4533 money_get::_M_extract<false> and money_get::_M_extract<true>.
4534 * testsuite/22_locale/money_get/get/char/14.cc: New.
4535 * testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto.
4537 2004-02-21 Mark Mitchell <mark@codesourcery.com>
4539 * libsupc++/vterminate.cc
4540 (__gnu_cxx::__verbose_terminate_handler): Guard against recursive
4542 * src/demangle.cc (__cxa_demangle): Wrap in try-catch block.
4544 * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
4545 not set RLIMIT_AS on HP-UX.
4547 2004-02-21 Mark Mitchell <mark@codesourcery.com>
4549 * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
4550 not set RLIMIT_AS on HP-UX.
4552 2004-02-21 Paolo Carlini <pcarlini@suse.de>
4554 * include/bits/locale_facets.h (class money_base): Add { _S_minus,
4555 _S_zero, _S_end } enum, _S_atoms.
4556 (struct __moneypunct_cache<>): Parameterize on _Intl too; add
4557 _M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size,
4558 _M_negative_sign_size, _M_atoms; tweak constructor consistently.
4559 (__moneypunct_cache<>::~__moneypunct_cache): Update.
4560 (__moneypunct_cache<>::_M_cache): Fill the cache.
4561 (class moneypunct): Tweak __cache_type typedef.
4562 (class money_put): Inherit from money_base too; tweak declaration
4563 of _M_insert, now parameterized on _Intl.
4564 * include/bits/locale_facets.tcc
4565 (struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New.
4566 (money_put<>::_M_insert): Update definition to use the cache;
4567 call reserve on __res to avoid multiple reallocations.
4568 (money_put<>::do_put(long double),
4569 money_put<>::do_put(const string_type&): Update calls of _M_insert.
4570 * config/locale/generic/monetary_members.cc
4571 (moneypunct<char, true>::_M_initialize_moneypunct,
4572 moneypunct<char, false>::_M_initialize_moneypunct,
4573 moneypunct<wchar_t, true>::_M_initialize_moneypunct,
4574 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update.
4575 * config/locale/gnu/monetary_members.cc: Likewise.
4576 * config/locale/gnu/monetary_members.cc
4577 (moneypunct<wchar_t, true>::~moneypunct(),
4578 moneypunct<wchar_t, false>::~moneypunct()): Likewise.
4579 * src/globals_locale.cc: Tweak fake_money_cache_c.
4580 * src/locale-inst.cc: Add instantiations for
4581 money_put::_M_insert<false> and money_put::_M_insert<true> and
4582 __moneypunct_cache<C, false>, __moneypunct_cache<C, true>.
4583 * src/locale_facets.cc: Define money_base::_S_atoms.
4584 * src/locale_init.cc: Update placement new of
4585 __moneypunct_cache<char, false>, __moneypunct_cache<char, true>,
4586 __moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>.
4588 * config/locale/generic/numeric_members.cc: Clean up.
4589 * config/locale/gnu/numeric_members.cc: Likewise.
4590 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
4591 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
4592 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
4593 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
4594 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
4595 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
4597 2004-02-20 Mark Mitchell <mark@codesourcery.com>
4599 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open
4600 FIFO for writing with ios_base::in|ios_base::out.
4601 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4602 * testsuite/27_io/objects/char/7.cc: Likewise.
4603 * testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing
4606 2004-02-19 David Edelsohn <edelsohn@gnu.org>
4608 * 22_locale/collate/compare/wchar_t/2.cc: Change input-charset
4609 from iso-8859-1 to ISO8859-1.
4610 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
4611 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
4612 * 22_locale/collate/hash/wchar_t/2.cc: Same.
4613 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
4614 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
4615 * 22_locale/collate/transform/wchar_t/2.cc: Same.
4616 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
4617 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same.
4619 2004-02-18 Paolo Carlini <pcarlini@suse.de>
4621 * include/bits/locale_facets.h (money_get<>::_M_extract):
4622 New, helper for do_get.
4623 (money_put<>::_M_insert): Likewise, for do_put.
4624 * include/bits/locale_facets.tcc (money_get<>::_M_extract,
4625 money_put<>::_M_insert): Define.
4626 (money_get<>::do_get(long double&), money_get<>::do_get(
4627 string_type&), money_put::do_put(long double),
4628 money_put::do_put(const string_type&)): Use the helpers.
4630 2004-02-18 Paolo Carlini <pcarlini@suse.de>
4632 * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
4633 Rewrite, avoiding recursion.
4634 (__gnu_internal::xwrite): Minor tweaks.
4636 2004-02-17 Stefan Olsson <stefan@xapa.se>
4638 * include/ext/mt_allocator.h: Removed the last
4639 pointer. Deallocated blocks are now added to the front of
4640 freelists as proposed by Felix Yen. This gives roughly 10%
4641 performance boost and saves some memory.
4642 * docs/html/ext/mt_allocator.html: Change due to that deallocated
4643 blocks now are added to the front of freelists. The reason to this
4644 approach is also explained.
4646 2004-02-17 Paolo Carlini <pcarlini@suse.de>
4648 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
4649 num_get<>::_M_extract_int, money_get<>::do_get): Simplify
4650 grouping fidelity conditional.
4652 2004-02-16 Paolo Carlini <pcarlini@suse.de>
4654 * testsuite/27_io/basic_filebuf/overflow/char/13858.cc:
4655 Qualify exception with std::.
4656 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Ditto.
4657 * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
4658 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
4659 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
4660 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
4662 2004-02-16 Paolo Carlini <pcarlini@suse.de>
4664 * testsuite/ext/enc_filebuf/char/13189.cc: Don't check
4665 for now that the catch block is not reached.
4666 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
4668 2004-02-16 Paolo Carlini <pcarlini@suse.de>
4670 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
4671 Fix parsing of the remaining sign characters.
4672 * 22_locale/money_get/get/char/2.cc: Tweak: now, correctly,
4673 the input is scanned 'til eof.
4674 * 22_locale/money_get/get/char/4.cc: Likewise.
4675 * 22_locale/money_get/get/wchar_t/2.cc: Likewise.
4676 * 22_locale/money_get/get/wchar_t/4.cc: Likewise.
4677 * 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format,
4678 not do_pos_format: the former is the only one that matters during
4680 * 22_locale/money_get/get/wchar_t/8.cc: Likewise.
4682 * 22_locale/money_get/get/char/6.cc: Minor tweak.
4683 * 22_locale/money_get/get/wchar_t/6.cc: Likewise.
4685 2004-02-15 David Asher <david.asher@cavium.com>
4688 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't
4689 access __olds beyond __oldlen.
4691 2004-02-14 Paolo Carlini <pcarlini@suse.de>
4693 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make
4694 sure the exception is actually thrown.
4695 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
4696 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
4697 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
4699 2004-02-14 Paolo Carlini <pcarlini@suse.de>
4702 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external):
4703 In case of conversion errors, throw ios_failure; simplify.
4704 * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New.
4705 * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
4706 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak,
4707 previously we didn't throw in case of conversion errors, instead
4708 just returned eof().
4709 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
4710 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
4711 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
4713 * include/bits/fstream.tcc (basic_filebuf<>::overflow):
4714 Trivial simplification of a conditional.
4716 2004-02-12 Paolo Carlini <pcarlini@suse.de>
4718 PR libstdc++/13731 (final part: writev)
4719 * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
4720 New, a wrapper around writev() handling partial writes.
4721 (__basic_file<char>::xwrite): Move to __gnu_internal and make
4723 (__basic_file<char>::xsputn): Update call.
4724 (__basic_file<char>::xsputn_2): Likewise.
4725 * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
4726 Don't declare, now static.
4728 2004-02-11 Stefan Olsson <stefan@xapa.se>
4730 * docs/html/ext/mt_allocator.html: New.
4732 2004-02-11 Benjamin Kosnik <bkoz@redhat.com>
4734 * docs/html/20_util/allocator.html: New file, consolidate
4735 allocator information here. Revamp.
4736 * docs/html/documentation.html: Change links.
4737 * docs/html/20_util/howto.html: Same.
4738 * docs/html/ext/howto.html: Same.
4740 2004-02-11 Paolo Carlini <pcarlini@suse.de>
4742 PR libstdc++/13731 (first part: write)
4743 * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
4745 * config/io/basic_file_stdio.cc (__basic_file<char>::xwrite):
4746 Define it: a wrapper around write() handling partial write.
4747 (__basic_file<char>::xsputn): Use it.
4748 (__basic_file<char>::xsputn_2): Likewise.
4750 2004-02-11 Paolo Carlini <pcarlini@suse.de>
4751 Petur Runolfsson <peturr02@ru.is>
4754 * include/std/std_istream.h (operator>>(__istream_type& (*)
4755 (__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
4756 operator>>(ios_base& (*)(ios_base&))): Declare inline.
4757 * include/std/std_ostream.h (operator<<(__ostream_type& (*)
4758 (__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
4759 operator<<(ios_base& (*) (ios_base&))): Likewise.
4760 * testsuite/performance/27_io/fmtflags_manipulators.cc: New.
4762 2004-02-10 Loren J. Rittle <ljrittle@acm.org>
4765 * config/linker-map.gnu: Add typeinfo and typeinfo name for
4766 __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.
4769 * config/linker-map.gnu: Add typeinfo and typeinfo name for
4770 __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >.
4772 2004-02-09 Loren J. Rittle <ljrittle@acm.org>
4774 * include/ext/pool_allocator.h: Include c++config.h.
4776 2004-02-09 Stefan Olsson <stefan@xapa.se>
4778 * include/ext/mt_allocator.h: thread_id is unused in non threaded
4779 applications and now has a ifdef to remove it completely on
4780 compilers without thread support. Include stdlib.h due to a
4781 compiler warning on getenv().
4783 2004-02-09 Paul Brook <paul@codesourcery.com>
4785 * libstdc++-v3/configure.host: Explicitly check for atomicity.h file.
4787 2004-02-09 Paolo Carlini <pcarlini@suse.de>
4790 * src/locale_init.cc (locale::global(const locale&)): Use
4791 locale::name() in order to decide whether calling setlocale.
4792 * testsuite/22_locale/locale/global_locale_objects/14071.cc: New.
4794 * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()):
4795 Avoid computing &= unnecessarily.
4797 2004-02-09 James E Wilson <wilson@specifixinc.com>
4800 * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
4801 __builtin_extend_pointer.
4803 2004-02-09 Paolo Carlini <pcarlini@suse.de>
4806 * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
4807 Don't leave dangling pointers.
4808 * testsuite/27_io/basic_ios/imbue/14072.cc: New.
4809 * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
4810 facet is needed in the final test.
4812 2004-02-09 Bernardo Innocenti <bernie@develer.com>
4814 * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
4815 * configure: Regenerate.
4817 2004-02-08 Richard Henderson <rth@redhat.com>
4820 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust
4821 uncaughtExceptions during nested catch rethrow.
4822 * testsuite/18_support/14026.cc: New.
4824 2004-02-08 Paolo Carlini <pcarlini@suse.de>
4826 * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
4827 When working in place remember to set the state to sharable
4828 (otherwise, _M_mutate does it).
4830 2004-02-08 Bernardo Innocenti <bernie@develer.com>
4832 * include/bits/allocator.h, include/bits/basic_ios.h,
4833 include/bits/basic_ios.tcc, include/bits/basic_string.h,
4834 include/bits/basic_string.tcc, include/bits/boost_concept_check.h,
4835 include/bits/char_traits.h, include/bits/codecvt.h,
4836 include/bits/concurrence.h, include/bits/cpp_type_traits.h,
4837 include/bits/demangle.h, include/bits/deque.tcc,
4838 include/bits/fstream.tcc, include/bits/functexcept.h,
4839 include/bits/gslice.h, include/bits/gslice_array.h,
4840 include/bits/indirect_array.h, include/bits/ios_base.h,
4841 include/bits/istream.tcc, include/bits/list.tcc,
4842 include/bits/locale_classes.h, include/bits/locale_facets.h,
4843 include/bits/locale_facets.tcc, include/bits/localefwd.h,
4844 include/bits/mask_array.h, include/bits/ostream.tcc,
4845 include/bits/postypes.h, include/bits/slice_array.h,
4846 include/bits/sstream.tcc, include/bits/stl_algo.h,
4847 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
4848 include/bits/stl_construct.h, include/bits/stl_deque.h,
4849 include/bits/stl_function.h, include/bits/stl_heap.h,
4850 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
4851 include/bits/stl_list.h, include/bits/stl_map.h,
4852 include/bits/stl_multimap.h, include/bits/stl_multiset.h,
4853 include/bits/stl_numeric.h, include/bits/stl_pair.h,
4854 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
4855 include/bits/stl_relops.h, include/bits/stl_set.h,
4856 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
4857 include/bits/stl_threads.h, include/bits/stl_tree.h,
4858 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
4859 include/bits/stream_iterator.h, include/bits/streambuf.tcc,
4860 include/bits/streambuf_iterator.h,include/bits/stringfwd.h,
4861 include/bits/type_traits.h, include/bits/valarray_after.h,
4862 include/bits/valarray_array.h, include/bits/valarray_array.tcc,
4863 include/bits/valarray_before.h, include/bits/vector.tcc: Remove
4864 trailing whitespace.
4866 2004-02-06 Paolo Carlini <pcarlini@suse.de>
4868 * include/bits/basic_string.h: Fix comment.
4870 2004-02-06 Paolo Carlini <pcarlini@suse.de>
4872 * include/bits/stl_construct.h: Wrap overlong lines, reformat
4873 according to the coding standards.
4874 * include/bits/stl_pair.h: Likewise.
4875 * include/bits/stl_raw_storage_iter.h: Likewise.
4876 * include/bits/stl_stack.h: Likewise.
4877 * include/bits/stl_uninitialized.h: Likewise.
4878 * include/bits/stream_iterator.h: Likewise.
4879 * include/bits/streambuf_iterator.h: Likewise.
4880 * include/bits/type_traits.h: Likewise.
4882 2004-02-06 Paolo Carlini <pcarlini@suse.de>
4884 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
4887 2004-02-05 Loren J. Rittle <ljrittle@acm.org>
4889 * scripts/check_performance: Support PCH.
4891 * scripts/check_performance (CXX): Add -DNOTHREAD.
4892 * testsuite/performance/20_util/allocator/insert.cc: Integrate
4893 threaded tests from insert_insert.cc. Tweak iterations,
4894 remove special cases.
4895 * testsuite/performance/20_util/allocator/insert_insert.cc:
4896 Make all tests single-threaded. Tweak iterations.
4897 * testsuite/performance/20_util/allocator/map_thread.cc:
4899 * testsuite/performance/20_util/allocator/producer_consumer.cc:
4902 2004-02-05 Geoffrey Keating <geoffk@apple.com>
4906 * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
4907 'gcc-lib'. Add comment about poorly-named variables.
4908 * aclocal.m4: Regenerate.
4909 * configure: Regenerate.
4911 2004-02-05 Paolo Carlini <pcarlini@suse.de>
4913 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
4914 Thousands-sep are always optional; thousands-sep are not allowed
4915 after the decimal_point.
4916 * testsuite/22_locale/money_get/get/char/12.cc: New.
4917 * testsuite/22_locale/money_get/get/char/13.cc: New.
4918 * testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
4919 * testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
4921 * testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
4922 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
4923 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
4924 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
4925 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
4926 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
4927 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
4928 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
4930 * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
4932 * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
4934 2004-02-05 Richard Sandiford <rsandifo@redhat.com>
4936 * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
4938 * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
4939 it to decide whether FIONREAD should take an off_t or int argument.
4941 2004-02-05 Paolo Carlini <pcarlini@suse.de>
4943 * include/bits/stl_function.h: Minor formatting changes.
4945 2004-02-04 Zack Weinberg <zack@codesourcery.com>
4947 Revert previous change to config/abi/*/baseline_symbols.txt.
4949 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
4950 Zack Weinberg <zack@codesourcery.com>
4952 * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
4954 (__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
4955 (__basic_file<char>::_M_open_mode): Delete.
4956 * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
4958 * testsuite/27_io/basic_filebuf/close/char/9964.cc
4959 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
4960 Correct flags to filebuf::open calls.
4962 * config/abi/alpha-freebsd5/baseline_symbols.txt
4963 * config/abi/alpha-linux-gnu/baseline_symbols.txt
4964 * config/abi/hppa-linux-gnu/baseline_symbols.txt
4965 * config/abi/i386-freebsd4/baseline_symbols.txt
4966 * config/abi/i386-freebsd5/baseline_symbols.txt
4967 * config/abi/i486-linux-gnu/baseline_symbols.txt
4968 * config/abi/ia64-linux-gnu/baseline_symbols.txt
4969 * config/abi/mips-linux-gnu/baseline_symbols.txt
4970 * config/abi/sparc-freebsd5/baseline_symbols.txt
4971 * config/abi/sparc-linux-gnu/baseline_symbols.txt
4972 * config/abi/x86_64-linux-gnu/baseline_symbols.txt:
4973 Remove entry for __basic_file<char>::_M_open_mode.
4975 2004-02-04 Loren J. Rittle <ljrittle@acm.org>
4977 * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
4979 2004-02-04 Felix Yen <fwy@alumni.brown.edu>
4981 * testsuite/performance/20_util/producer_consumer.cc: New.
4982 * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
4984 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
4986 * testsuite/performance/20_util/allocator.cc: Move to..
4987 * testsuite/performance/20_util/allocator/insert.cc: ...here.
4988 * testsuite/performance/20_util/allocator_thread.cc: Move to...
4989 * testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
4990 * testsuite/performance/20_util/allocator_map_thread.cc: Move to...
4991 * testsuite/performance/20_util/allocator/map_thread.cc: ...here.
4993 2004-02-04 Jonathan Wakely <redi@gcc.gnu.org>
4995 * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
4996 * docs/html/faq/index.txt: Regenerate.
4998 2004-02-04 Dhruv Matani <dhruvbird@gmx.net>
5000 * include/ext/debug_allocator.h: _M_extra now stands for the
5001 number of extra objects instead of the number of extra bytes.
5002 (debug_allocator::allocate): Adjust.
5003 (debug_allocator::deallocate): Adjust.
5005 * include/ext/pool_allocator.h: Fix typo.
5007 2004-02-03 Felix Yen <fwy@alumni.brown.edu>
5008 Benjamin Kosnik <bkoz@redhat.com>
5010 * testsuite/performance/20_util/allocator.cc: Add map,
5012 * testsuite/performance/20_util/allocator_thread.cc: Same.
5014 2004-02-03 Paolo Carlini <pcarlini@suse.de>
5016 * include/bits/basic_string.h (insert(iterator)): Remove,
5017 non-standard and already scheduled for removal.
5019 2004-02-03 Paolo Carlini <pcarlini@suse.de>
5021 * include/bits/stl_iterator_base_funcs.h: Minor formatting
5022 and indentation tweaks.
5023 * include/bits/stl_iterator_base_types.h: Likewise.
5024 * include/bits/stl_list.h: Likewise.
5025 * include/bits/stl_map.h: Likewise.
5026 * include/bits/stl_tempbuf.h: Likewise.
5028 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
5030 * include/bits/gslice.h, include/bits/gslice_array.h,
5031 include/bits/indirect_array.h, include/bits/mask_array.h,
5032 include/bits/slice_array.h, include/bits/stl_numeric.h,
5033 include/std/std_valarray.h: Update copyright years.
5035 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
5037 * include/bits/gslice.h (gslice): Document.
5038 * include/bits/gslice_array.h (gslice_array): Document.
5039 * include/bits/indirect_array (indirect_array): Document.
5040 * include/bits/mask_array (mask_array): Document.
5041 * include/bits/slice_array.h (slice,slice_array): Document.
5042 * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
5043 adjacent_difference): Document
5044 * include/std/std_valarray.h (valarray): Document.
5046 2004-02-02 Benjamin Kosnik <bkoz@redhat.com>
5048 * docs/html/19_diagnostics/howto.html: Move verbose terminate
5050 * docs/html/18_support/howto.html: Here.
5051 * docs/html/documentation.html: Add reference here.
5053 2004-02-02 Paolo Carlini <pcarlini@suse.de>
5055 * config/locale/gnu/c++locale_internal.h: Remove prototypes
5056 of no longer used GLIBC thread locale functions.
5058 2004-02-02 Eric Christopher <echristo@redhat.com>
5059 Zack Weinberg <zack@codesourcery.com>
5061 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
5063 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
5064 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
5065 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
5066 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
5067 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
5068 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
5069 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
5070 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
5073 2004-02-02 Paolo Carlini <pcarlini@suse.de>
5075 * include/bits/stl_function.h: Additional minor tweaks.
5076 * include/bits/stl_multiset.h: Likewise.
5078 * include/bits/stl_queue.h: Minor tweaks.
5080 2004-02-02 Paolo Carlini <pcarlini@suse.de>
5082 PR libstdc++/13976 (continued)
5083 * include/ext/malloc_allocator.h (malloc_allocator::deallocate):
5084 Make the second parameter unnamed, to void unused parameter
5086 * include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
5088 2004-02-02 Paolo Carlini <pcarlini@suse.de>
5091 * include/ext/malloc_allocator.h (malloc_allocator::allocate):
5092 Make the second parameter unnamed, to void unused parameter
5094 * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
5095 * include/ext/new_allocator.h (new_allocator::allocate): Ditto.
5097 2004-02-01 Paolo Carlini <pcarlini@suse.de>
5099 * include/bits/stl_algo.h: Additional minor tweaks.
5100 * include/bits/stl_map.h: Likewise.
5101 * include/bits/stl_multimap.h: Likewise.
5102 * include/bits/stl_multiset.h: Likewise.
5103 * include/bits/stl_set.h: Likewise.
5104 * include/bits/stl_tree.h: Likewise.
5106 2004-02-01 Paolo Carlini <pcarlini@suse.de>
5108 * include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
5111 2004-02-01 Paolo Carlini <pcarlini@suse.de>
5113 * include/bits/stl_function.h: Additional minor tweaks.
5115 2004-02-01 Paolo Carlini <pcarlini@suse.de>
5117 * include/bits/deque.tcc: Wrap overlong lines, constify
5118 a few variables, reformat according to the coding standards.
5119 * include/bits/list.tcc: Likewise.
5120 * include/bits/stl_deque.h: Likewise.
5121 * include/bits/stl_function.h: Likewise.
5122 * include/bits/stl_iterator.h: Likewise.
5123 * include/bits/stl_iterator_base_funcs.h: Likewise.
5124 * include/bits/stl_iterator_base_types.h: Likewise.
5125 * include/bits/stl_list.h: Likewise.
5126 * include/bits/stl_map.h: Likewise.
5127 * include/bits/stl_multimap.h: Likewise.
5128 * include/bits/stl_multiset.h: Likewise.
5129 * include/bits/stl_relops.h: Likewise.
5130 * include/bits/stl_set.h: Likewise.
5132 2004-02-01 Paolo Carlini <pcarlini@suse.de>
5134 * include/bits/stl_bvector.h: Wrap overlong lines, constify
5135 a few variables, reformat according to the coding standards.
5136 * include/bits/stl_tree.h: Likewise.
5138 2004-01-31 Paolo Carlini <pcarlini@suse.de>
5140 * include/bits/stl_algo.h: Minor additional reformat, add
5142 * include/bits/stl_algobase.h: Add copyright year.
5144 2004-01-31 Paolo Carlini <pcarlini@suse.de>
5146 * include/bits/stl_algo.h: Wrap overlong lines, constify
5147 a few variables, reformat according to the coding standards.
5148 * include/bits/stl_algobase.h: Likewise.
5149 * include/bits/stl_heap.h: Likewise.
5151 2004-01-31 Paolo Carlini <pcarlini@suse.de>
5153 * include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
5155 * include/bits/basic_string.h: Fix two comments.
5157 2004-01-31 Per Bothner <per@bothner.com>
5159 * include/ext/mt_allocator.h
5160 (__mt_alloc::_S_thread_freelist_mutex): Guard with
5161 __GTHREAD_MUTEX_INIT.
5163 2004-01-31 Paolo Carlini <pcarlini@suse.de>
5165 * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
5167 2004-01-30 Paolo Carlini <pcarlini@suse.de>
5169 * testsuite/21_strings/basic_string/cons/char/6.cc: New.
5170 * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
5171 * testsuite/performance/21_strings/string_cons_input_iterator.cc: New.
5173 2004-01-30 Felix Yen <fwy@alumni.brown.edu>
5175 * testsuite/performance/20_util/allocator_thread.cc (do_loop):
5176 Don't use clear, but instead assign. Use insert.
5178 2004-01-30 Benjamin Kosnik <bkoz@redhat.com>
5180 * src/demangle.cc: Add instantiations.
5181 * src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
5182 * src/Makefile.in: Regenerate.
5184 2004-01-30 David Edelsohn <edelsohn@gnu.org>
5186 * src/allocator.cc: Protect _S_get_thread_id() and
5187 _S_thread_key_destr() with #ifdef __GTHREADS.
5189 2004-01-30 Paolo Carlini <pcarlini@suse.de>
5191 Reshuffle performance testsuite.
5192 * testsuite/performance/allocator.cc, allocator_map_thread.cc,
5193 allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
5194 cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
5195 fstream_seek_write.cc, ifstream_extract_float.cc,
5196 ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
5197 list_create_fill_sort.cc, map_create_fill.cc,
5198 narrow_widen_char.cc, narrow_widen_wchar_t.cc,
5199 ofstream_insert_float.cc, ofstream_insert_int.cc,
5200 string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
5201 wchar_t_out.cc: Split into...
5202 * testsuite/performance/20_util/allocator.cc: New.
5203 * testsuite/performance/20_util/allocator_map_thread.cc: New.
5204 * testsuite/performance/20_util/allocator_thread.cc: New.
5205 * testsuite/performance/21_strings/string_append: New.
5206 * testsuite/performance/22_locale/is_wchar_t.cc: New.
5207 * testsuite/performance/22_locale/narrow_widen_char.cc: New.
5208 * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
5209 * testsuite/performance/22_locale/wchar_t_in.cc: New.
5210 * testsuite/performance/22_locale/wchar_t_length.cc: New.
5211 * testsuite/performance/22_locale/wchar_t_out.cc: New.
5212 * testsuite/performance/23_containers/container_benchmark.cc: New.
5213 * testsuite/performance/23_containers/list_create_fill_sort.cc: New.
5214 * testsuite/performance/23_containers/map_create_fill.cc: New.
5215 * testsuite/performance/26_numerics/complex_norm.cc: New.
5216 * testsuite/performance/27_io/cout_insert_int.cc: New.
5217 * testsuite/performance/27_io/filebuf_copy.cc: New.
5218 * testsuite/performance/27_io/filebuf_sputc.cc: New.
5219 * testsuite/performance/27_io/fstream_seek_write.cc: New.
5220 * testsuite/performance/27_io/ifstream_extract_float.cc: New.
5221 * testsuite/performance/27_io/ifstream_extract_int.cc: New.
5222 * testsuite/performance/27_io/ifstream_getline.cc: New.
5223 * testsuite/performance/27_io/ofstream_insert_float.cc: New.
5224 * testsuite/performance/27_io/ofstream_insert_int.cc: New.
5226 2004-01-30 Paolo Carlini <pcarlini@suse.de>
5228 * include/bits/basic_string.tcc (_Rep::_S_create):
5229 Never allocate a string bigger than max_size(); always keep
5230 __capacity and __size in sync to avoid memory leaks at
5233 2004-01-30 Paolo Carlini <pcarlini@suse.de>
5235 * include/bits/basic_string.tcc (_S_construct(_InIterator,
5236 _InIterator, const _Alloc&, input_iterator_tag)): Simplify
5237 the double loop, streamline.
5239 * include/bits/basic_string.tcc: Very minor tweaks.
5241 2004-01-30 Loren J. Rittle <ljrittle@acm.org>
5243 * scripts/check_performance: Only compile with $THREAD_FLAG
5244 when test is marked to require it. Allow multiple
5245 compilations/executions of marked tests.
5246 * testsuite/testsuite_performance.h (report_performance):
5247 Report dynamic thread support status.
5248 (report_header): Likewise.
5249 * testsuite/performance/allocator.cc: Stabilize iteration
5250 count. Support more allocators. Mark each allocator test to
5251 run and report independently.
5252 * testsuite/performance/allocator_map_thread.cc: Likewise.
5253 * testsuite/performance/allocator_thread.cc: Likewise.
5255 2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com>
5257 * config/local/generic/c_locale.h: Change ::malloc() to new char[].
5258 * config/local/gnu/c_locale.h: Change ::malloc() to new char[].
5259 * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use
5260 std::get_temporary_buffer() instead of duplicating its code.
5261 Update to C++STYLE conventions.
5262 * include/std/std_memory.h (get_temporary_buffer): Use ::operator
5263 new() instead of std::malloc().
5264 (return_temporary_buffer): Use ::operator delete() instead of
5267 2004-01-29 Benjamin Kosnik <bkoz@redhat.com>
5269 * include/bits/allocator.h: Temporary switch to new_allocator as
5270 the default to unjam bootstraps.
5272 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
5274 * include/Makefile.am (bits_headers): Remove allocator_traits.h.
5275 * include/Makefile.in: Regenerate.
5276 * include/bits/allocator_traits.h: Remove.
5277 * include/bits/allocator.h: Remove allocator_traits.h include, and
5279 (allocator): Empty base class, inherit from the underlying allocator.
5280 * src/allocator-inst.cc: Move __pool_alloc instantiation to...
5281 * src/allocator.cc: ...here. New. For the underlying allocators.
5282 Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
5283 * config/linker-map.gnu: Remove __pool_alloc bits.
5284 * src/Makefile.am (sources): Add allocator.cc.
5285 * src/Makefile.in: Regenerate.
5286 * testsuite/20_util/allocator/1.cc: Split second test into...
5287 * testsuite/20_util/allocator/8230.cc: ...this.
5288 * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
5289 typedef to use std::allocatore. Format.
5290 * include/ext/pool_allocator.h: Remove allocator_traits.h include,
5292 * include/ext/mt_allocator.h (__gnu_cxx): Qualify
5293 __throw_bad_alloc calls. Don't include <memory>.
5294 * include/ext/malloc_allocator.h: Remove <memory> include.
5295 * include/ext/new_allocator.h (new_allocator): Same.
5296 * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
5297 declaration. Switch __alloc to _Alloc.
5298 * include/ext/hashtable.h: Remove __alloc.
5299 * include/backward/alloc.h: Only inject allocator, not
5300 implementation details.
5302 * include/ext/mt_allocator.h: Replace free with delete.
5304 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
5306 * src/globals_io.cc: Change to __gnu_internal namespace.
5307 * src/globals_locale.cc: Same.
5308 * src/locale_init.cc: Same.
5309 * src/ios_init.cc: Same.
5311 2004-01-28 Stefan Olsson <stefan@snon.net>
5313 * include/ext/mt_allocator.h: Replaced all malloc() calls with
5314 operator new(). Added support for the env variable
5315 GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
5316 one in allocate() as well). Fix typos.
5318 2004-01-28 Paolo Carlini <pcarlini@suse.de>
5320 * include/bits/basic_string.h (_S_create(size_t,
5321 const _Alloc&): Change signature to take two size_type
5323 * include/bits/basic_string.tcc (_S_construct(_InIterator,
5324 _InIterator, const _Alloc&, input_iterator_tag)): Update
5326 (_S_construct(_InIterator, _InIterator, const _Alloc&,
5327 forward_iterator_tag)): Likewise.
5328 (_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
5329 (_M_mutate(size_type, size_type, size_type)): Don't
5330 implement the exponential growth policy, demand it to
5331 _S_create, update call and simplify.
5332 (_M_clone(const _Alloc&, size_type)): Likewise.
5333 (_S_create(size_type, size_type, const _Alloc&)): Implement
5334 the growth policy, simplify otherwise.
5336 * include/bits/basic_string.h (_Rep::operator[]): Tweak
5337 signature to take a size_type, consistently with the other
5340 2004-01-27 Benjamin Kosnik <bkoz@redhat.com>
5342 * testsuite/27_io/ios_base/storage/11584.cc: Correct new and
5343 delete declarations, add include and test variable.
5345 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
5347 * include/bits/codecvt.h, include/bits/locale_facets.h,
5348 include/bits/postypes.h, include/bits/stl_bvector.h,
5349 include/bits/stl_multiset.h, include/bits/stl_set.h,
5350 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
5351 include/std/std_complex.h: Document.
5353 2004-01-27 Jerry Quinn <jlquinn@optonline.net>
5356 * include/bits/ios_base.h (ios_base::_M_grow_words): Add
5357 iword/pword selector.
5358 (ios_base::iword, ios_base::pword): Use it.
5359 * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero
5360 iword or pword member on alloc failure.
5361 * testsuite/27_io/ios_base/storage/11584.cc: New test.
5363 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
5364 PJ Darcy <darcypj@us.ibm.com>
5366 * configure.host: Add support for *-tpf.
5367 * crossconfig.m4: Likewise.
5368 * configure: Regenerate.
5369 * config/os/tpf: New directory.
5370 * config/os/tpf/os_defines.h: New file.
5371 * config/os/tpf/ctype_base.h: Likewise.
5372 * config/os/tpf/ctype_inline.h: Likewise.
5373 * config/os/tpf/ctype_noninline.h: Likewise.
5375 2004-01-27 Paolo Carlini <pcarlini@suse.de>
5378 * include/bits/sstream.tcc: Guard use of extern template.
5380 2004-01-27 Paolo Carlini <pcarlini@suse.de>
5382 * include/bits/basic_string.tcc
5383 (basic_string(const basic_string&, size_type, size_type),
5384 basic_string(const basic_string&, size_type, size_type,
5385 const _Alloc&)): Avoid unnecessarily constructing iterators.
5387 2004-01-26 Paolo Carlini <pcarlini@suse.de>
5389 * config/locale/generic/c_locale.cc: Fix throw messages
5390 to use the __N marker.
5391 * config/locale/gnu/c_locale.cc: Likewise.
5392 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
5394 * docs/html/17_intro/C++STYLE: Likewise.
5395 * include/bits/basic_ios.tcc: Likewise.
5396 * include/bits/fstream.tcc: Likewise.
5397 * include/bits/vector.tcc: Likewise.
5398 * include/ext/ropeimpl.h: Likewise.
5399 * include/std/std_bitset.h: Likewise.
5400 * src/ios.cc: Likewise.
5401 * src/locale.cc: Likewise.
5402 * src/localename.cc: Likewise.
5404 2004-01-26 Paolo Carlini <pcarlini@suse.de>
5406 * include/bits/basic_string.h (_M_replace_aux): Use the
5407 __N marker in throw message.
5408 * include/bits/basic_string.tcc (assign(const _CharT*,
5409 size_type), insert(size_type, const _CharT*, size_type),
5410 replace(size_type, size_type, const _CharT*, size_type),
5411 reserve, _Rep::_S_create, resize, _M_replace_dispatch):
5414 * include/bits/basic_string.h, include/bits/basic_string.tcc:
5415 Fold overlong lines, minor formatting changes.
5417 2004-01-26 Paolo Carlini <pcarlini@suse.de>
5419 * include/bits/basic_string.h (replace(iterator, iterator,
5420 const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
5421 (replace(iterator, iterator, const _CharT*)): Ditto.
5422 (replace(iterator, iterator, const _CharT*, size_type)):
5423 Add missing _GLIBCXX_DEBUG_PEDASSERT.
5425 2004-01-26 Paolo Carlini <pcarlini@suse.de>
5427 * include/bits/basic_string.tcc (replace(size_type,
5428 size_type, const _CharT*, size_type)): Implement optimized
5429 in-place algorithm for non-overlapping ranges.
5430 * testsuite/21_strings/basic_string/replace/char/6.cc: New.
5431 * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.
5433 * include/bits/basic_string.tcc (insert(size_type,
5434 const _CharT*, size_type)): Tweak slightly.
5436 2004-01-26 Andreas Schwab <schwab@suse.de>
5438 * config/locale/gnu/monetary_members.cc: Restore locale before
5439 rethrowing exception.
5441 2004-01-25 Paolo Carlini <pcarlini@suse.de>
5443 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
5445 * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
5448 * include/bits/basic_string.tcc: Very minor tweaks.
5450 2004-01-25 Paolo Carlini <pcarlini@suse.de>
5452 * testsuite/performance/string_append.cc: Increase number
5455 2004-01-25 Paolo Carlini <pcarlini@suse.de>
5457 * include/bits/basic_string.h (erase(size_type, size_type),
5458 erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
5459 instead, thus avoiding redundant check for length_error.
5461 * include/bits/basic_string.h: Tweak some comments.
5463 2004-01-24 Paolo Carlini <pcarlini@suse.de>
5465 * include/bits/basic_string.tcc (operator+(const _CharT*,
5466 const basic_string&)): No need to go through the append
5467 taking two iterators.
5469 2004-01-24 Paolo Carlini <pcarlini@suse.de>
5471 * include/bits/basic_string.tcc (rfind(_CharT, size_type)):
5472 Revert last change to use std::min: machine language is worse.
5473 (find_last_of(const _CharT*, size_type, size_type)): Ditto.
5474 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
5475 (find_last_not_of(_CharT, size_type)): Ditto.
5477 * include/bits/basic_string.tcc (insert(size_type, const _CharT*,
5478 size_type)): Discard the value returned by _M_check.
5479 (replace(size_type, size_type, const _CharT*, size_type)): Ditto.
5480 (append(const basic_string&, size_type, size_type)): Ditto.
5481 (copy(_CharT*, size_type, size_type)): Ditto.
5482 (compare(size_type, size_type, const basic_string&)): Ditto.
5483 (compare(size_type, size_type, const basic_string&,
5484 size_type, size_type)): Ditto.
5485 (compare(size_type, size_type, const _CharT*)): Ditto.
5486 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
5488 2004-01-24 Paolo Carlini <pcarlini@suse.de>
5490 * include/bits/basic_string.h (insert(size_type,
5491 const basic_string&, size_type, size_type)): Define inline here.
5492 * include/bits/basic_string.tcc (insert(size_type,
5493 const basic_string&, size_type, size_type)): Move inline.
5495 2004-01-24 Paolo Carlini <pcarlini@suse.de>
5497 * include/bits/basic_string.h (assign(const basic_string&,
5498 size_type, size_type)): Define inline here.
5499 (replace(size_type, size_type, const basic_string&,
5500 size_type, size_type)): Ditto.
5501 (_M_replace_dispatch(iterator, iterator, _InputIterator,
5502 _InputIterator, __false_type)): Only declare.
5503 (_M_replace(iterator, iterator, _InputIterator,
5504 _InputIterator)): Remove.
5505 * include/bits/basic_string.tcc (assign(const basic_string&,
5506 size_type, size_type)): Move inline.
5507 (replace(size_type, size_type, const basic_string&,
5508 size_type, size_type)): Ditto.
5509 (_M_replace_dispatch(iterator, iterator, _InputIterator,
5510 _InputIterator, __false_type)): Define, now does also what
5511 _M_replace did before.
5512 * src/string-inst.cc (_M_replace): Don't instantiate.
5514 * include/bits/basic_string.tcc (find(const _CharT*,
5515 size_type, size_type)): Tidy.
5516 (rfind(_CharT, size_type)): Ditto.
5517 (find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
5518 (find_first_not_of(_CharT, size_type)): Ditto.
5519 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
5520 (find_last_not_of(_CharT, size_type)): Ditto.
5522 2004-01-23 Paolo Carlini <pcarlini@suse.de>
5525 * include/debug/bitset (operator|=): Fix typo.
5526 * testsuite/23_containers/bitset/operations/13838.cc: New.
5528 2004-01-23 Paolo Carlini <pcarlini@suse.de>
5530 * include/bits/basic_string.tcc (insert(size_type,
5531 const _CharT*, size_type __n)): Fix length_error check.
5532 (replace(size_type, size_type, const _CharT*, size_type):
5533 Ditto; call _M_replace_safe.
5534 (_M_replace_aux(size_type, size_type, size_type, _CharT):
5535 Fix length_error check.
5536 (_M_replace(iterator, iterator, _InputIterator,
5537 _InputIterator)): Ditto, tweak.
5538 (_M_replace_safe(size_type, size_type, const _CharT*,
5539 size_type)): Remove length_error check.
5541 * include/bits/basic_string.tcc (append(const basic_string&),
5542 append(const basic_string&, size_type, size_type)): Tweak
5545 * include/bits/basic_string.tcc (copy(_CharT*, size_type,
5546 size_type)): If __n == 0 don't call traits::copy.
5548 2004-01-23 Stefan Olsson <stefan@snon.net>
5550 * include/ext/mt_allocator.h: Reduce lock contention.
5552 2004-01-23 Paolo Carlini <pcarlini@suse.de>
5555 * include/bits/fstream.tcc (underflow): Remove unused
5557 * include/bits/streambuf_iterator.h (equal): Ditto.
5558 * include/bits/locale_facets.h (_M_convert_from_char):
5561 2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5564 * config/linker-map.gnu (nan): Delete.
5565 * libmath/mathconf.h (NAN, nan): Delete.
5566 * linkage.m4 (nan): Don't check for it.
5567 * libmath/nan.c: Delete file.
5569 * config.h.in, configure: Regenerate.
5571 2004-01-23 Paolo Carlini <pcarlini@suse.de>
5573 * include/bits/basic_string.h (push_back(_CharT)):
5574 Call _M_replace_aux.
5575 (insert(size_type, const basic_string&)): Trivial tweak.
5576 (insert(size_type, size_type, _CharT)): Call _M_replace_aux.
5577 (insert(iterator, _CharT)): Ditto.
5578 (erase(size_type, size_type)): Ditto.
5579 (erase(iterator)): Ditto.
5580 (erase(iterator, iterator)): Ditto.
5581 (replace(size_type, size_type, size_type, _CharT)): Ditto.
5583 2004-01-23 Loren J. Rittle <ljrittle@acm.org>
5586 * testsuite/performance/allocator_map_thread.cc: New test.
5588 2004-01-22 Paolo Carlini <pcarlini@suse.de>
5590 * include/bits/locale_facets.tcc
5591 (money_put::do_put(..., long double)): Use the basic_string
5592 constructor for char arrays, not that for C-strings, to pass
5593 __digits to do_put(..., const string_type&): __ws isn't
5596 2004-01-22 Paolo Carlini <pcarlini@suse.de>
5598 * include/bits/basic_string.h (_M_replace_safe): Change
5599 signatures to take size_types and const _CharT*.
5600 (_M_replace_aux): Likewise, takes size_types instead of
5602 (append(size_type, _CharT)): Update call.
5603 (assign(size_type, _CharT)): Ditto.
5604 (replace(iterator, iterator, size_type, _CharT)): Ditto.
5605 (_M_replace_dispatch(iterator, iterator, _Integer,
5606 _Integer, __true_type)): Ditto.
5607 * include/bits/basic_string.tcc (assign(const _CharT*,
5609 (insert(size_type, const _CharT*, size_type)): Ditto.
5610 (replace(size_type, size_type, const _CharT*,
5612 (_M_replace(iterator, iterator, _InputIterator,
5613 _InputIterator)): Ditto.
5614 (append(const basic_string&)): Ditto.
5615 (append(const basic_string&, size_type, size_type): Ditto.
5616 (append(const _CharT*, size_type): Ditto.
5617 (_M_replace_safe, _M_replace_safe): Change definitions
5618 accordingly, simplify.
5619 * string-inst.cc (_M_replace_safe): Don't instantiate.
5621 2004-01-21 Paolo Carlini <pcarlini@suse.de>
5623 * include/bits/basic_string.tcc (append(const basic_string&)):
5624 Revert previous change.
5625 (append(const basic_string&, size_type, size_type)): Revert
5626 previous change, use _M_check and _M_limit.
5628 2004-01-21 Paolo Carlini <pcarlini@suse.de>
5630 * include/bits/basic_string.h (_M_check): Change to return
5631 a checked __pos and take an additional const char* argument.
5632 (_M_fold): Rename to _M_limit, change to return a size_type,
5633 corresponding to the __off limited to the actual length.
5634 (insert(size_type, size_type, _CharT)): Update call, call
5636 (insert(iterator, _CharT)): Call replace(iterator, iterator,
5637 size_type, _CharT) instead.
5638 (erase(size_type, size_type)): Update calls.
5639 (replace(size_type, size_type, size_type, _CharT)): Ditto.
5640 (substr(size_type, size_type)): Use _M_check.
5641 * include/bits/basic_string.tcc (basic_string(const basic_string&,
5642 size_type, size_type)): Update calls.
5643 (basic_string(const basic_string&, size_type, size_type,
5644 const _Alloc&)): Ditto.
5645 (assign(const basic_string&, size_type, size_type)): Use the
5646 new _M_check and _M_limit.
5647 (insert(size_type, const basic_string&, size_type, size_type):
5649 (insert(size_type, const _CharT*, size_type)): Ditto.
5650 (replace(size_type, size_type, const _CharT*, size_type): Ditto.
5651 (replace(size_type, size_type, const basic_string&,
5652 size_type, size_type)): Ditto.
5653 (append(const basic_string&)): Ditto.
5654 (append(const basic_string&, size_type, size_type)): Ditto.
5655 (copy(_CharT*, size_type, size_type)): Ditto.
5656 (compare(size_type, size_type, const basic_string&)): Ditto.
5657 (compare(size_type, size_type, const basic_string&,size_type,
5659 (compare(size_type, size_type, const _CharT*)): Ditto.
5660 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
5662 2004-01-19 Stefan Olsson <stefan@snon.net>
5664 * include/ext/mt_allocator.h: If a thread, when it dies, still has
5665 memory on it's freelist this memory is not returned to global
5666 list. Simplification of deallocate so that memory is always
5667 returned to the calling thread id's freelist instead of to
5668 global. Fix typos. Add volatile where appropriate.
5670 2004-01-19 Loren J. Rittle <ljrittle@acm.org>
5672 * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
5673 * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but
5674 use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
5676 2004-01-19 Paolo Carlini <pcarlini@suse.de>
5678 * src/debug.cc: Make sure all the names are prefixed with
5679 double (or single) underscore.
5681 2004-01-19 Paolo Carlini <pcarlini@suse.de>
5683 * src/debug.cc: Trivial formatting change.
5685 2004-01-19 Paolo Carlini <pcarlini@suse.de>
5687 * include/bits/basic_string.tcc (_S_construct(size_type,
5688 _CharT, const _Alloc&)): Remove redundant try/catch.
5689 (_M_mutate(size_type, size_type, size_type)): Ditto.
5690 (_M_clone(const _Alloc&, size_type)): Ditto.
5692 2004-01-18 Paolo Carlini <pcarlini@suse.de>
5694 * include/bits/basic_string.h (c_str()): Simplify, due to
5695 21.3.4 the internal representation is always kept null-terminated.
5696 * include/bits/basic_string.tcc (_M_clone): Null-terminate.
5697 * testsuite/21_strings/basic_string/element_access/char/4.cc: New.
5698 * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
5701 2004-01-18 Paolo Carlini <pcarlini@suse.de>
5703 * include/bits/basic_string.h (append(size_type, _CharT)):
5704 Moved inline, just call _M_replace_aux, no source iterators at
5705 risk of being clobbered.
5706 (assign(size_type, _CharT)): Call directly _M_replace_aux.
5707 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
5708 input_iterator_tag)): Remove fifth unused argument.
5709 (_M_replace_dispatch(iterator, iterator, _InputIterator,
5710 _InputIterator, __false_type)): Update call.
5711 * include/bits/basic_string.tcc (replace(size_type, size_type,
5712 const _CharT*, size_type)): Update call.
5713 (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
5714 throw string literal.
5715 (_M_replace_safe(iterator, iterator, _ForwardIterator,
5716 _ForwardIterator)): Likewise.
5717 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
5718 input_iterator_tag)): Remove fifth unused argument.
5719 (append(size_type __n, _CharT __c)): Move inline.
5720 * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
5721 const C*, const C*, input_iterator_tag)): Remove fifth unused
5724 2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
5726 * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
5727 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
5729 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
5731 * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
5734 2004-01-15 Stefan Olsson <stefan@snon.net>
5736 * include/ext/mt_allocator.h: Reuse thread id's as soon as
5737 possible by changing the behaviour of thread_freelist to do
5738 push_front when threads die instead of push_back.
5740 2004-01-14 Paolo Carlini <pcarlini@suse.de>
5742 * include/bits/locale_facets.h (struct __numpunct_cache):
5743 Add member _M_grouping_size, caching the length of _M_grouping.
5744 (__numpunct_cache<>::_M_cache): Assign the latter.
5745 (__verify_grouping): Move declaration...
5746 * include/bits/locale_facets.tcc (__verify_grouping):
5747 ... here, change signature to take a const char* and a size_t
5748 for the grouping; not a template anymore.
5749 (__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
5750 Likewise change signature and tweak consistently.
5751 (num_get::_M_extract_float, num_get::_M_extract_int,
5752 num_put::_M_insert_int, num_put::_M_insert_float,
5753 money_get::do_get(string_type&), money_get::do_put(string_type)):
5755 * config/locale/generic/numeric_members.cc
5756 (numpunct<>::_M_initialize_numpunct): Assign the new member.
5757 * config/locale/gnu/numeric_members.cc
5758 (numpunct<>::_M_initialize_numpunct): Likewise.
5759 * src/locale-inst.cc (__add_grouping): Tweak signature.
5760 (__verify_grouping): Don't instantiate, not a template anymore.
5762 * include/bits/locale_facets.h: Rename _M_truename_len ->
5763 _M_truename_size, _M_falsename_len -> _M_falsename_size.
5764 * include/bits/locale_facets.tcc: Likewise.
5765 * config/locale/generic/numeric_members.cc: Likewise.
5766 * config/locale/gnu/numeric_members.cc: Likewise.
5768 2004-01-14 Stefan Olsson <stefan@snon.net>
5770 * include/ext/mt_allocator.h: Fixups.
5771 * testsuite/performance/allocator.cc: Enable __mt_alloc tests.
5772 * testsuite/performance/allocator_thread.cc: Same.
5774 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
5776 * testsuite/performance/ifstream_extract_float.cc: Add higher
5778 * testsuite/performance/ofstream_insert_float.cc: Same.
5780 2004-01-13 Paolo Carlini <pcarlini@suse.de>
5782 * src/locale-misc-inst.cc (__convert_from_v(long),
5783 __convert_from_v(unsigned long), __convert_from_v(long long),
5784 __convert_from_v(unsigned long long)): Remove, unused.
5786 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
5788 * testsuite/performance/ifstream_extract_float.cc: New.
5789 * testsuite/performance/ofstream_insert_float.cc: Float generation
5792 * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
5793 * 20_util/auto_ptr/1.cc: ...this.
5794 * 20_util/auto_ptr/2.cc: Same.
5795 * 20_util/auto_ptr/3.cc: Same.
5796 * 20_util/auto_ptr/3946.cc: Same.
5797 * 20_util/auto_ptr/4.cc: Same.
5798 * 20_util/auto_ptr/5.cc: Same.
5799 * 20_util/auto_ptr/6.cc: Same.
5800 * 20_util/auto_ptr/7.cc: Same.
5801 * 20_util/auto_ptr/assign_neg.cc
5802 * 20_util/pairs.cc: Break into...
5803 * 20_util/pair/1.cc: ...this.
5804 * 20_util/pair/2.cc: Same.
5805 * 20_util/pair/3.cc: Same.
5806 * 20_util/pair/4.cc: Same.
5808 2004-01-13 Paolo Carlini <pcarlini@suse.de>
5810 * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
5811 Set correctly just basefield, the only group that matters.
5813 2004-01-13 Paolo Carlini <pcarlini@suse.de>
5815 * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
5816 (_Rope_rep_base): Inherit directly from the rope allocator;
5817 use rebinding instead of _Alloc_traits; pick up data member
5818 from _Rope_rep_alloc_base.
5819 (_Rope_alloc_base): Eliminate.
5820 (_Rope_base): Inherit directly from the rope allocator; use
5821 rebinding instead of _Alloc_traits; pick up data member from
5823 (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
5824 rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
5826 2004-01-13 Paolo Carlini <pcarlini@suse.de>
5829 * include/bits/basic_string.tcc (compare(size_type, size_type,
5830 const _CharT*, size_type)): Implement correctly the resolution
5831 of DR 5: basically, s is a char array, -not- a C string.
5832 * include/bits/basic_string.h: Tweak some comments.
5833 * testsuite/21_strings/basic_string/compare/char/13650.cc: New.
5834 * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
5836 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
5838 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
5841 2004-01-12 Paolo Carlini <pcarlini@suse.de>
5843 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
5845 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
5848 2004-01-12 Paolo Carlini <pcarlini@suse.de>
5850 * include/bits/locale_facets.h (struct __numpunct_cache):
5851 Add members _M_truename_len and _M_falsename_len, caching
5852 the lengths of _M_truename and _M_falsename.
5853 (__numpunct_cache<>::_M_cache): Assign the latter.
5854 * include/bits/locale_facets.tcc (num_get::do_get(bool&),
5855 num_put::do_put(bool)): Use the new members, thus avoiding
5856 computing string lengths again and again.
5857 * config/locale/generic/numeric_members.cc
5858 (numpunct<>::_M_initialize_numpunct): Assign the new members.
5859 * config/locale/gnu/numeric_members.cc
5860 (numpunct<>::_M_initialize_numpunct): Likewise.
5862 2004-01-12 Mark Mitchell <mark@codesourcery.com>
5864 * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
5865 * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
5867 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
5868 and remove Cygwin XFAIL.
5869 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5870 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5871 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5872 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
5874 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5875 * testsuite/27_io/objects/char/7.cc: Likewise.
5876 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5877 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5878 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5880 2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
5882 * include/std/std_complex.h (std::complex<>::real): Return a
5883 reference. Add non-const overload.
5884 (std::complex<>::real): Likewise.
5885 (std::real): Likewise.
5886 (std::imag): Likewise.
5887 (std::operator+): Tidy.
5888 (std::operator-): Likewise.
5889 (std::operator*): Likewise.
5890 (std::operator/): Likewise.
5891 (std::operator>>): Likewise.
5893 2004-01-11 Paolo Carlini <pcarlini@suse.de>
5896 * include/bits/fstream.tcc (imbue): Exploit the external
5897 buffer to imbue 'on the fly' a new locale and convert its
5898 remainder with the new codecvt facet.
5899 (underflow): Tweak slightly to deal with this special case.
5900 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
5901 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
5902 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
5903 * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
5904 * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
5906 2004-01-10 Paolo Carlini <pcarlini@suse.de>
5908 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
5911 2004-01-10 Paolo Carlini <pcarlini@suse.de>
5914 * include/bits/locale_classes.h (class locale): Fix category
5916 * testsuite/22_locale/locale/13630.cc: Add.
5918 2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org>
5920 * include/bits/locale_facets.h: Make a name really dependent. This
5921 will be needed when Core Issue 224 is implemented.
5923 2004-01-09 Paolo Carlini <pcarlini@suse.de>
5925 * testsuite/performance/allocator.cc: Demangle typeid(obj).name().
5926 * testsuite/performance/allocator_thread.cc: Likewise.
5928 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
5930 * crossconfig.m4: Add LFS, io bits to linux cross config.
5931 * acconfig.h: Remove obsolete bits, reorder.
5932 * config.h.in: Regenerate.
5936 2004-01-07 Gawain Bolton <gp.bolton@computer.org>
5938 * include/bits/stl_list.h:
5939 * include/bits/list.tc:
5941 Performance enhancements for destructor, push_front(),
5942 push_back(), pop_front(), pop_back(), sort()
5943 Eliminated static_casts where possible.
5944 Moved code out of header files into new src/list.cc
5945 implementation file for library where possible.
5946 Remove inheritance from iterator class and create separate
5947 classes for non-constant and constant iterators.
5948 * include/bits/stl_tree.h (_Rb_tree class):
5950 Only erase contents in destructor.
5951 Eliminate unnecessary initialization in assignment operator.
5952 Optimize for the nominal case by not checking whether
5953 container is empty in clear().
5954 Re-order test in _M_insert() to improve performance.
5955 Move initialization of new node's left & right pointers to
5956 src/tree.cc to where new node's colour is initialized
5957 and to reduce the amount of inline code.
5958 Use _M_leftmost() and _M_end() to improve readability where
5960 Create separate classes for non-constant and constant
5961 iterators to clarify code, avoid extra template parameters and
5962 casting away constness.
5964 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
5966 * src/Makefile.am (sources): Add list.cc, tree.cc.
5967 * src/stl_tree.cc: Move to...
5968 * src/tree.cc: ...here.
5970 * config/linker-map.gnu: Tweaks.
5971 * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
5972 * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
5974 * bits/stl_vector.h: Column wrap comments.
5976 2004-01-07 Loren J. Rittle <ljrittle@acm.org>
5978 (re-open) PR libstdc++/12658
5979 * src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
5980 (locale::global): Likewise.
5982 2004-01-07 Paolo Carlini <pcarlini@suse.de>
5984 * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
5985 Remove redundant #include.
5986 * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
5987 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
5988 re-enable normal testing.
5989 * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
5991 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
5992 * testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
5994 * testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
5996 * testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
5998 * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
6000 * testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
6002 * testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
6004 * testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
6006 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
6007 More properly, #include <locale>.
6008 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
6009 Remove redundant #include.
6010 * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
6011 * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
6012 redundant DejaGnu directive.
6013 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
6016 2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
6017 Stefan Olsson <stefan@snon.net>
6019 * scripts/check_performance: Use -pthread.
6020 * testsuite/performance/allocator.cc: Tweaks, add list.
6021 * testsuite/performance/allocator_thread.cc: New.
6023 2004-01-06 Jerry Quinn <jlquinn@optonline.net>
6025 * include/bits/locale_facets.h: Document public classes and
6027 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
6030 2004-01-06 Paolo Carlini <pcarlini@suse.de>
6032 * testsuite/27_io/basic_istream/extractors_other/char/1.cc:
6033 Remove redundant #includes.
6034 * testsuite/27_io/basic_istream/extractors_other/char/2.cc:
6036 * testsuite/27_io/basic_istream/extractors_other/char/3.cc:
6038 * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
6039 * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
6040 * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
6041 * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
6042 * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
6043 * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
6044 * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
6045 * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
6046 * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
6047 * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
6048 * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
6049 * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
6050 * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
6051 * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
6052 * testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
6054 * testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
6056 * testsuite/27_io/basic_istream/readsome/char/8258.cc:
6058 * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
6060 * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
6062 * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
6063 * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
6064 * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
6066 2004-01-04 Paolo Carlini <pcarlini@suse.de>
6068 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
6069 Remove redundant #includes.
6070 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
6072 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
6074 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
6076 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
6078 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
6080 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
6082 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
6084 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
6086 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
6088 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
6090 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
6092 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
6095 2004-01-04 Mark Mitchell <mark@codesourcery.com>
6098 * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
6100 * testsuite/27_io/basic_fstream/4.cc: Likewise.
6101 * testsuite/27_io/basic_ifstream/4.cc: Likewise.
6102 * testsuite/27_io/basic_ios/4.cc: Likewise.
6103 * testsuite/27_io/basic_iostream/4.cc: Likewise.
6104 * testsuite/27_io/basic_istream/4.cc: Likewise.
6105 * testsuite/27_io/basic_istingstream/4.cc: Likewise.
6106 * testsuite/27_io/basic_ofstream/4.cc: Likewise.
6107 * testsuite/27_io/basic_ostream/4.cc: Likewise.
6108 * testsuite/27_io/basic_ostringstream/4.cc: Likewise.
6109 * testsuite/27_io/basic_stringbuf/5.cc: Likewise.
6110 * testsuite/27_io/basic_stringstream/4.cc: Likewise.
6112 2004-01-04 Paolo Carlini <pcarlini@suse.de>
6114 * config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
6115 Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
6116 always use double underscored names.
6117 * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
6119 * include/bits/locale_facets.h (struct __numpunct_cache):
6120 Dimension _M_atoms_out and _M_atoms_in one position smaller.
6121 (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out