1 2004-12-22 Paolo Carlini <pcarlini@suse.de>
3 * include/tr1/type_traits_fwd.h: New, forward declarations.
4 * include/tr1/type_traits: Clean-up.
5 * include/Makefile.am: Add.
6 * include/Makefile.in: Regenerate.
8 2004-12-20 Paolo Carlini <pcarlini@suse.de>
10 * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: New.
11 * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise.
12 * testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise.
13 * testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise.
14 * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
15 * testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise.
16 * testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise.
17 * testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise.
18 * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise.
19 * testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise.
20 * testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise.
21 * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
22 * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
23 * testsuite/27_io/basic_istream/seekg/wchar_t/
24 exceptions_badbit_throw.cc: Likewise.
25 * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
26 * testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise.
27 * testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise.
28 * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
29 * testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise.
30 * testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise.
31 * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
32 * testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise.
33 * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
34 * testsuite/27_io/basic_istream/tellg/wchar_t/
35 exceptions_badbit_throw.cc: Likewise.
36 * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
37 * testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise.
38 * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
40 * testsuite/data/wistream_extractor_other-1.tst: New.
41 * testsuite/data/wistream_extractor_other-1.txt: Likewise.
42 * testsuite/data/wistream_extractor_other-2.tst: Likewise.
43 * testsuite/data/wistream_seeks-1.tst: Likewise.
44 * testsuite/data/wistream_seeks-1.txt: Likewise.
45 * testsuite/data/wistream_unformatted-1.tst: Likewise.
46 * testsuite/data/wistream_unformatted-1.txt: Likewise.
48 * testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc:
49 Use wistream_extractor_other-1.txt.
51 * testsuite/27_io/basic_istream/peek/char/6414.cc: Minor clean-up.
52 * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
53 * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
54 * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
56 2004-12-19 Paolo Carlini <pcarlini@suse.de>
58 * testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc: New.
59 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
61 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
63 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
65 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
67 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
69 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
71 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
73 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
75 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
77 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
79 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
81 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
83 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
84 exceptions_badbit_throw.cc: Likewise.
85 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
86 exceptions_failbit.cc: Likewise.
87 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
88 exceptions_failbit_throw.cc: Likewise.
89 * testsuite/27_io/basic_istream/extractors_character/wchar_t/
91 * testsuite/27_io/basic_istream/extractors_character/wchar_t/
93 * testsuite/27_io/basic_istream/extractors_character/wchar_t/
95 * testsuite/27_io/basic_istream/extractors_character/wchar_t/
97 * testsuite/27_io/basic_istream/extractors_character/wchar_t/
99 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
101 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
103 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
105 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
106 9318-in.cc: Likewise.
107 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
108 9424-in.cc: Likewise.
109 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
110 9555-io.cc: Likewise.
111 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
112 error_failbit.cc: Likewise.
113 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
114 exceptions_badbit_throw.cc: Likewise.
115 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
116 exceptions_failbit_throw.cc: Likewise.
117 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
118 exceptions_null.cc: Likewise.
120 * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Minor
123 * testsuite/testsuite_io.h (struct fail_buf): Fix type of
126 2004-12-19 Dhruv Matani <dhruvbird@gmx.net>
128 * include/ext/bitmap_allocator.h: Make doxygen style comments for
129 internal functions and classes.
131 2004-12-19 Dhruv Matani <dhruvbird@gmx.net>
133 * docs/html/20_util/allocator.html: Correct link.
134 * docs/html/ext/ballocator_doc.txt: Remove.
135 * docs/html/ext/ballocator_doc.html: Add.
137 2004-12-16 Danny Smith <dannysmith@users.sourceforge.net>
140 * config/os/newlib/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK):
141 Define to 0 for __CYGWIN__.
143 2004-12-16 Paolo Carlini <pcarlini@suse.de>
145 * include/tr1/type_traits: Implement add_const, add_volatile,
147 * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
149 * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
151 * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
152 add_volatile.cc: Likewise.
154 2004-12-16 Paolo Carlini <pcarlini@suse.de>
156 * include/tr1/type_traits: Implement is_function.
157 (struct __sfinae_types, struct __is_function_helper): New.
158 * testsuite/tr1/4_metaprogramming/composite_type_traits/
159 is_object/is_object.cc: New.
160 * testsuite/tr1/4_metaprogramming/composite_type_traits/
161 is_object/typedefs.cc: Likewise.
162 * testsuite/tr1/4_metaprogramming/primary_type_categories/
163 is_function/is_function.cc: Likewise.
164 * testsuite/tr1/4_metaprogramming/primary_type_categories/
165 is_function/typedefs.cc: Likewise.
167 2004-12-13 Paolo Carlini <pcarlini@suse.de>
169 * include/tr1/type_traits (extent): Minor tweak (i.e., public).
171 2004-12-12 Paolo Carlini <pcarlini@suse.de>
173 * include/tr1/type_traits: Minor tweak.
174 * testsuite/tr1/4_metaprogramming/type_properties/extent/
175 typedefs.cc: Fix date.
177 2004-12-12 Paolo Carlini <pcarlini@suse.de>
179 * include/tr1/type_traits: Implement extent.
180 * testsuite/tr1/4_metaprogramming/type_properties/extent/
182 * testsuite/tr1/4_metaprogramming/type_properties/extent/
183 typedefs.cc: Likewise.
185 2004-12-12 Paolo Carlini <pcarlini@suse.de>
187 * include/tr1/type_traits: Implement is_pointer, remove_pointer,
188 and add_pointer; reformat.
189 (_DEFINE_PRIMARY_SPEC_HELPER, _DEFINE_PRIMARY_SPEC): Generalize
190 and rename to _DEFINE_SPEC_HELPER and _DEFINE_SPEC; update uses.
191 * testsuite/tr1/4_metaprogramming/pointer_modifications/
193 * testsuite/tr1/4_metaprogramming/pointer_modifications/
194 remove_pointer.cc: Likewise.
195 * testsuite/tr1/4_metaprogramming/primary_type_categories/
196 is_pointer/is_pointer.cc: Likewise.
197 * testsuite/tr1/4_metaprogramming/primary_type_categories/
198 is_pointer/typedefs.cc: Likewise.
200 * testsuite/tr1/4_metaprogramming/primary_type_categories/
201 is_reference/is_reference.cc: Slightly tweak consistently.
203 2004-12-11 Paolo Carlini <pcarlini@suse.de>
205 * include/tr1/type_traits: Implement rank.
206 * testsuite/testsuite_tr1.h (test_property): Generalize to any
208 (test_category, test_relationship): Slightly tweak consistently.
209 * testsuite/tr1/4_metaprogramming/type_properties/rank/
211 * testsuite/tr1/4_metaprogramming/type_properties/rank/
212 typedefs.cc: Likewise.
214 * testsuite/tr1/4_metaprogramming/composite_type_traits/
215 is_compound/is_compound.cc: New.
216 * testsuite/tr1/4_metaprogramming/composite_type_traits/
217 is_compound/typedefs.cc: Likewise.
219 * testsuite/tr1/4_metaprogramming/composite_type_traits/
220 is_arithmetic/is_arithmetic.cc: Tweak consistently with the
221 testsuite_tr1.h changes.
222 * testsuite/tr1/4_metaprogramming/composite_type_traits/
223 is_fundamental/is_fundamental.cc: Likewise.
224 * testsuite/tr1/4_metaprogramming/primary_type_categories/
225 is_array/is_array.cc: Likewise.
226 * testsuite/tr1/4_metaprogramming/primary_type_categories/
227 is_floating_point/is_floating_point.cc: Likewise.
228 * testsuite/tr1/4_metaprogramming/primary_type_categories/
229 is_integral/is_integral.cc: Likewise.
230 * testsuite/tr1/4_metaprogramming/primary_type_categories/
231 is_reference/is_reference.cc: Likewise.
232 * testsuite/tr1/4_metaprogramming/primary_type_categories/
233 is_void/is_void.cc: Likewise.
234 * testsuite/tr1/4_metaprogramming/relationships_between_types/
235 is_same/is_same.cc: Likewise.
236 * testsuite/tr1/4_metaprogramming/type_properties/is_const/
237 is_const.cc: Likewise.
238 * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/
239 is_volatile.cc: Likewise.
241 2004-12-10 Paolo Carlini <pcarlini@suse.de>
243 * include/tr1/type_traits: Implement remove_const, remove_volatile,
245 * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
246 remove_const.cc: New.
247 * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
248 remove_cv.cc: Likewise.
249 * testsuite/tr1/4_metaprogramming/const_volatile_modifications/
250 remove_volatile.cc: Likewise.
252 * testsuite/tr1/4_metaprogramming/primary_type_categories/
253 is_array/is_array.cc: Slightly tweak consistently, remove typedefs,
256 2004-12-09 Paolo Carlini <pcarlini@suse.de>
258 * include/tr1/type_traits: Implement remove_extent and
260 * testsuite/tr1/4_metaprogramming/array_modifications/
261 remove_all_extents.cc: New.
262 * testsuite/tr1/4_metaprogramming/array_modifications/
263 remove_extent.cc: Likewise.
265 2004-12-08 Paolo Carlini <pcarlini@suse.de>
267 * include/tr1/type_traits: Implement is_same, add_reference and
269 * testsuite/testsuite_tr1.h (test_relationship): New.
270 * testsuite/tr1/4_metaprogramming/reference_modifications/
271 add_reference.cc: New.
272 * testsuite/tr1/4_metaprogramming/reference_modifications/
273 remove_reference.cc: Likewise.
274 * testsuite/tr1/4_metaprogramming/relationships_between_types/
275 is_same/is_same.cc: Likewise.
276 * testsuite/tr1/4_metaprogramming/relationships_between_types/
277 is_same/typedefs.cc: Likewise.
279 * testsuite/tr1/4_metaprogramming/type_properties/is_const/
280 is_const.cc: Minor tweaks.
281 * testsuite/tr1/4_metaprogramming/type_properties/is_volatile/
282 is_volatile.cc: Likewise.
284 2004-12-08 David Edelsohn <edelsohn@gnu.org>
286 * Makefile.am (AM_MAKEFLAGS): Remove duplicate LIBCFLAGS and
288 * Makefile.in: Regenerated.
290 2004-12-07 Paolo Carlini <pcarlini@suse.de>
292 * include/tr1/type_traits: Implement is_const and is_volatile.
293 * testsuite/testsuite_tr1.h (test_property): New.
294 * testsuite/tr1/4_metaprogramming/type_properties/
295 is_const/is_const.c: New.
296 * testsuite/tr1/4_metaprogramming/type_properties/
297 is_const/typedefs.cc: Likewise.
298 * testsuite/tr1/4_metaprogramming/type_properties/
299 is_volatile/is_volatile.cc: Likewise.
300 * testsuite/tr1/4_metaprogramming/type_properties/
301 is_volatile/typedefs.cc: Likewise.
302 * testsuite/tr1/4_metaprogramming/composite_type_traits/
303 is_arithmetic/is_arithmetic.cc: Slightly tweak to use ClassType
304 from testsuite_tr1.h.
305 * testsuite/tr1/4_metaprogramming/composite_type_traits/
306 is_fundamental/is_fundamental.cc: Likewise.
307 * testsuite/tr1/4_metaprogramming/primary_type_categories/
308 is_array/is_array.cc: Likewise.
309 * testsuite/tr1/4_metaprogramming/primary_type_categories/
310 is_floating_point/is_floating_point.cc: Likewise.
311 * testsuite/tr1/4_metaprogramming/primary_type_categories/
312 is_integral/is_integral.cc: Likewise.
313 * testsuite/tr1/4_metaprogramming/primary_type_categories/
314 is_reference/is_reference.cc: Likewise.
315 * testsuite/tr1/4_metaprogramming/primary_type_categories/
316 is_void/is_void.cc: Likewise.
318 2004-12-06 Paolo Carlini <pcarlini@suse.de>
320 * include/tr1/type_traits: Implement is_reference.
321 * testsuite/tr1/4_metaprogramming/primary_type_categories/
322 is_reference/is_reference.cc: New.
323 * testsuite/tr1/4_metaprogramming/primary_type_categories/
324 is_reference/typedefs.cc: Likewise.
326 2004-12-05 Paolo Carlini <pcarlini@suse.de>
329 * testsuite/testsuite_performance.h: Fix mallinfo macros for
332 2004-12-04 Richard Henderson <rth@redhat.com>
334 * testsuite/26_numerics/complex/pow.cc: Use -mieee on alpha.
336 2004-12-04 Richard Henderson <rth@redhat.com>
338 * include/ext/malloc_allocator.h: Include cstdlib.
340 2004-12-04 Paolo Carlini <pcarlini@suse.de>
342 * include/tr1/type_traits: New.
343 * include/Makefile.am: Add.
344 * include/Makefile.in: Regenerate.
345 * testsuite/testsuite_tr1.h: New.
346 * testsuite/tr1/4_metaprogramming/composite_type_traits/
347 is_arithmetic/is_arithmetic.cc: New.
348 * testsuite/tr1/4_metaprogramming/composite_type_traits/
349 is_arithmetic/typedefs.cc: Likewise.
350 * testsuite/tr1/4_metaprogramming/composite_type_traits/
351 is_fundamental/is_fundamental.cc: Likewise.
352 * testsuite/tr1/4_metaprogramming/composite_type_traits/
353 is_fundamental/typedefs.cc: Likewise.
354 * testsuite/tr1/4_metaprogramming/helper_classes/
355 true_false_type.cc: Likewise.
356 * testsuite/tr1/4_metaprogramming/helper_classes/
357 true_false_type_typedefs.cc: Likewise.
358 * testsuite/tr1/4_metaprogramming/helper_classes/
359 typedefs.cc: Likewise.
360 * testsuite/tr1/4_metaprogramming/primary_type_categories/
361 is_array/is_array.cc: Likewise.
362 * testsuite/tr1/4_metaprogramming/primary_type_categories/
363 is_array/typedefs.cc: Likewise.
364 * testsuite/tr1/4_metaprogramming/primary_type_categories/
365 is_floating_point/is_floating_point.cc: Likewise.
366 * testsuite/tr1/4_metaprogramming/primary_type_categories/
367 is_floating_point/typedefs.cc: Likewise.
368 * testsuite/tr1/4_metaprogramming/primary_type_categories/
369 is_integral/is_integral.cc: Likewise.
370 * testsuite/tr1/4_metaprogramming/primary_type_categories/
371 is_integral/typedefs.cc: Likewise.
372 * testsuite/tr1/4_metaprogramming/primary_type_categories/
373 is_void/is_void.cc: Likewise.
374 * testsuite/tr1/4_metaprogramming/primary_type_categories/
375 is_void/typedefs.cc: Likewise.
377 2004-12-02 Paolo Carlini <pcarlini@suse.de>
379 * testsuite/testsuite_io.h (class sync_buf): New, templatized
380 version of sync_streambuf; add typedefs for streambuf/wstreambuf.
381 (class fail_buf): Likewise, for fail_streambuf.
382 (class fail_num_get): Templatize and add char/wchar_t typedefs.
383 (class fail_num_put): Likewise.
384 * testsuite/27_io/basic_istream/extractors_arithmetic/char/
385 exceptions_badbit_throw.cc: Use the latter.
386 * testsuite/27_io/basic_istream/extractors_arithmetic/char/
387 exceptions_failbit_throw.cc: Likewise.
388 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
389 exceptions_badbit_throw.cc: Likewise.
390 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
391 exceptions_failbit_throw.cc: Likewise.
393 2004-12-01 Paolo Carlini <pcarlini@suse.de>
395 * testsuite/27_io/basic_istream/get/wchar_t/1.cc: New.
396 * testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise.
397 * testsuite/27_io/basic_istream/get/wchar_t/3.cc: Likewise.
398 * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
399 * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise.
400 * testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise.
401 * testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc: Likewise.
402 * testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc: Likewise.
404 2004-11-29 Paolo Carlini <pcarlini@suse.de>
406 * testsuite/21_strings/basic_string/capacity/char/18654.cc: Use
408 * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Same.
410 2004-11-29 Paolo Carlini <pcarlini@suse.de>
413 * include/bits/basic_string.tcc (_Rep::_S_create): When shrinking,
414 do not round to pagesize.
415 * testsuite/21_strings/basic_string/capacity/char/18654.cc: New.
416 * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: New.
418 2004-11-27 Paolo Carlini <pcarlini@suse.de>
421 * include/tr1/utility (get(pair), get(const pair)): Change
422 occurrences of _I to _Int.
424 2004-11-27 Paolo Carlini <pcarlini@suse.de>
426 * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Fix typo.
427 * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise.
429 * testsuite/22_locale/time_put/put/char/17038.cc: Use VERIFY.
430 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
431 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise.
432 * testsuite/27_io/basic_ios/exceptions/char/2.cc: Likewise.
434 2004-11-26 Paolo Carlini <pcarlini@suse.de>
436 DR 243. get and getline when sentry reports failure [WP]
437 * include/bits/istream.tcc (istream<>::get, istream<>::getline):
438 Store a null character only if the array has a non-zero size.
439 * src/istream.cc (istream<char>::getline, istream<wchar_t>::getline):
441 * testsuite/27_io/basic_istream/get/char/3.cc: New.
442 * testsuite/27_io/basic_istream/getline/char/6.cc: New.
443 * testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New.
444 * docs/html/ext/howto.html: Add an entry for DR 243.
446 * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New.
447 * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New.
448 * testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New.
449 * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New.
450 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New.
452 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
454 * configure: Regenerate for libtool change.
456 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
458 * Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
459 * include/Makefile.in: Likewise.
460 * libmath/Makefile.in: Likewise.
461 * libsupc++/Makefile.in: Likewise.
462 * po/Makefile.in: Likewise.
463 * src/Makefile.in: Likewise.
464 * testsuite/Makefile.in: Likewise.
466 2004-11-24 Jonathan Wakely <redi@kayari.org>
468 * docs/html/ext/howto.html: Fix incorrect link.
469 * docs/html/documentation.html: Regenerate.
471 2004-11-24 Nathan Myers <ncm@cantrip.org>
473 * include/bits/streambuf_iterator.h
474 (istreambuf_iterator<>::operator++(), operator++(int)): Don't
475 check unnecessarily the return value of _M_sbuf->sbumpc().
477 2004-11-24 Benjamin Kosnik <bkoz@redhat.com>
479 * include/Makefile.am (tr1_headers): Add utility, functional.
480 * include/Makefile.in: Regenerate.
482 2004-11-24 Chris Jefferson <chris@bubblescope.net>
484 * include/tr1/tuple(operator!=): Change operator
485 definition to match (draft) technical report.
489 (ref): Move to include/tr1/functional.
491 (tuple_size<pair>): Move to include/tr1/utility.
492 (tuple_element<,pair>): Same.
493 * include/tr1/functional: New.
494 * include/tr1/utility: New.
495 * testsuite/tr1/6_container/utility/pair.cc: New.
497 2004-11-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
499 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
500 (do_out, do_unshift, do_in): Remove redundant typedef.
502 2004-11-23 Chris Jefferson <chris@bubblescope.net>
504 * testsuite/testsuite_iterators.h: New.
505 * testsuite/25_algorithms/search_n/iterator.cc: New.
506 * testsuite/performance/25_algorithms/search_n.cc: New.
508 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
510 * testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp.
512 2004-11-23 Benjamin Kosnik <bkoz@redhat.com>
514 * docs/doxygen/doxygroups.cc: Add std::tr1 namespace.
515 * docs/doxygen/run_doxygen: Renames for std::tr1.
516 * docs/doxygen/user.cfg.in: Add cxxabi.h.
517 * include/bits/*.tcc: Add file markup.
518 * include/bits/allocator.h: Add link to allocator.html.
519 * include/bits/atomicity.h: Add file markup.
520 * include/bits/concurrence.h: Same.
521 * include/bits/functexcept.h: Same.
522 * include/ext*: Adjust file markup, remove GCC3 bits.
523 * include/std/*: Adjust file markup, remove bits about renamed files.
524 * libsupc++/cxxabi.h: Add file markup.
525 * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers.
527 2004-11-22 Benjamin Kosnik <bkoz@redhat.com>
529 * include/bits/locale_facets.h (isspace, isprint, isupper,
530 islower, isalpha, isdigit, ispunct, isxdigit, isalnum, isgraph,
531 toupper, tolower): Add doxygen markup.
532 (codecvt_byname, ctype_byname, numpunct_byname, collate_byname,
533 time_get_byname, time_put_byname, moneypunct_byname,
534 messages_byname): Same.
535 * include/std/std_fstream.h: Remove superfluous markup.
536 * include/std/std_sstream.h: Same.
537 * include/std/std_streambuf.h: Same.
538 * include/ext/enc_filebuf.h: Adjust markup.
539 * include/ext/stdio_filebuf.h: Same.
540 * include/ext/stdio_sync_filebuf.h: Same.
541 * include/bits/codecvt.h: Same.
542 * config/os/gnu-linux/ctype_base.h: Same.
543 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
544 * include/tr1/array: Add markup.
545 * include/tr1/tuple: Same.
547 * docs/doxygen/run_doxygen: Print arguments.
549 * docs/doxygen/user.cfg.in: Tweaks.
551 2004-11-19 Jonathan Wakely <redi@gcc.gnu.org>
553 * include/bits/basic_string.h, include/bits/locale_classes.h,
554 include/bits/valarray_after.h, include/bits/valarray_before.h,
555 include/ext/stdio_sync_filebuf.h, include/std/std_algorithm.h,
556 include/std/std_functional.h, include/std/std_memory.h,
557 include/std/std_numeric.h: Doxygen fixes.
559 2004-11-19 Paolo Carlini <pcarlini@suse.de>
561 * testsuite/22_locale/time_get/get_date/char/1.cc: In the checks
562 use, more correctly (and consistently with other testcases) the
563 return value of the facet (the iterator arguments are by value).
564 * testsuite/22_locale/time_get/get_date/char/12791.cc: Likewise.
565 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
566 * testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: Likewise.
567 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
568 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
569 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
570 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
571 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
572 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
573 * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
574 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
576 2004-11-19 Jonathan Wakely <redi@gcc.gnu.org>
578 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Remove extra '$'
579 from host_alias variable.
580 * Makefile.in: Regenerate.
582 2004-11-19 Chris Jefferson <chris@bubblescope.net>
584 * include/bits/stl_list.h (list::back, list::back const):
585 Don't decrement temporary.
587 2004-11-19 Paolo Carlini <pcarlini@suse.de>
589 * include/bits/stl_deque.h (deque::front, deque::front const,
590 deque::back, deque::back const): Slightly tweak for stylistic
593 2004-11-18 Paolo Carlini <pcarlini@suse.de>
595 * testsuite/26_numerics/numeric/sum_diff.cc: Use VERIFY.
596 * testsuite/ext/array_allocator/1.cc: Likewise.
597 * testsuite/ext/array_allocator/2.cc: Likewise.
598 * testsuite/ext/array_allocator/3.cc: Likewise.
599 * testsuite/ext/enc_filebuf/char/13598.cc: Likewise.
601 2004-11-18 Paolo Carlini <pcarlini@suse.de>
603 * include/bits/locale_facets.tcc (num_get<>::do_get(void*&)):
604 If the failbit is set, don't set it again.
605 (money_get<>::_M_extract): Minor stylistic tweak: consistently
606 with the other functions, take care of eofbit at the end.
608 2004-11-18 Paolo Carlini <pcarlini@suse.de>
610 DR 434. bitset::to_string() hard to use [Ready]
611 * include/std/std_bitset.h (to_string): Add three overloads, taking
612 fewer template arguments.
613 * docs/html/ext/howto.html: Add an entry for DR 434.
614 * testsuite/23_containers/bitset/to_string/1.cc: New.
616 2004-11-17 Paolo Carlini <pcarlini@suse.de>
618 * include/bits/istream.tcc (getline(basic_istream<>&, basic_string<>&,
619 _CharT)): Remove temporary kludge for libstdc++/15002.
620 * include/std/std_streambuf.h (class basic_streambuf): Declare
621 getline(basic_istream<>&, basic_string<>&, _CharT) as friend.
622 * include/bits/basic_string.h (getline(basic_istream<>&,
623 basic_string<>&, _CharT)): Declare optimized specializations for
624 char and wchar_t, using protected members of basic_streambuf.
625 * src/istream.cc: Define the latter.
627 2004-11-16 Jonathan Wakely <redi@gcc.gnu.org>
629 * docs/html/19_diagnostics/howto.html: Document change from
630 _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4.
632 2004-11-16 Matthias Klose <doko@debian.org>
634 * docs/doxygen/user.cfg.in: Set HAVE_DOT to NO.
636 2004-11-16 Matthias Klose <doko@debian.org>
638 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Use host_alias
639 instead of build_alias.
640 * docs/doxygen/run_doxygen: Likewise.
641 * docs/doxygen/user.cfg.in: Likewise.
642 * Makefile.in: Regenerate.
644 2004-11-15 Paolo Carlini <pcarlini@suse.de>
646 * include/bits/streambuf.tcc (__copy_streambufs): Provide
647 a generic version of the function, not using the protected
648 members of basic_streambuf.
649 * include/std/std_streambuf.h (__copy_streambufs): Declare
650 optimized specializations for char and wchar_t.
651 * src/streambuf.cc: New file, define the latter.
652 * src/Makefile.am: Add.
653 * src/Makefile.in: Regenerate.
655 2004-11-15 Matthias Klose <doko@debian.org>
657 * docs/doxygen/run_doxygen: Add --build_alias option,
658 substitute it in docs/doxygen/user.cfg.in.
659 * docs/doxygen/user.cfg.in: Use build_alias.
660 * Makefile.am: Pass --build_alias to run_doxygen
661 * Makefile.in: Regenerate.
663 2004-11-15 Benjamin Kosnik <bkoz@redhat.com>
665 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.4.
667 2004-11-15 Paolo Carlini <pcarlini@suse.de>
669 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 33.
671 2004-11-14 Paolo Carlini <pcarlini@suse.de>
673 * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get):
674 Slightly tweak for clarity (also leads to measurably better code).
676 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
679 * testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C.
681 2004-11-09 Paolo Carlini <pcarlini@suse.de>
683 * include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
684 time_get<>::do_get_monthname): Absolutely avoid dereferencing
687 * include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
690 2004-11-08 Benjamin Kosnik <bkoz@redhat.com>
691 Doug Gregor <dgregor@cs.indiana.edu>
694 * src/debug.cc : Just use one mutex.
696 2004-11-08 Benjamin Kosnik <bkoz@redhat.com>
698 * configure.ac (libtool_VERSION): To 6:4:0.
699 * configure: Regenerate.
701 * config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4.
703 * docs/doxygen/user.cfg.in: Add more extension files.
705 2004-11-08 Paolo Carlini <pcarlini@suse.de>
707 * include/bits/streambuf_iterator.h (class istreambuf_iterator):
708 Consistently use _M_c to cache the current char, i.e., not only
709 when operator++(int) is involved; change _M_c to mutable.
710 (_M_get()): Always save the return value of _M_sbuf->sgetc() into
712 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix
713 (long standing) typo.
714 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
715 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
716 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
718 2004-11-08 Paolo Carlini <pcarlini@suse.de>
720 * include/bits/istream.tcc (getline(char_type*, streamsize,
721 char_type), ignore(streamsize), ignore(streamsize, int_type)):
722 Restore a generic version of the functions, not using the
723 protected members of basic_streambuf.
724 * include/std/std_istream.h (getline(char_type*, streamsize,
725 char_type), ignore(streamsize), ignore(streamsize, int_type)):
726 Declare optimized specializations for char and wchar_t.
727 * src/istream.cc: New file, define the latter.
728 * src/Makefile.am: Add.
729 * src/Makefile.in: Regenerate.
731 2004-11-07 Paolo Carlini <pcarlini@suse.de>
733 * testsuite/performance/27_io/ifstream_getline-2.cc: New.
735 2004-11-05 Benjamin Kosnik <bkoz@redhat.com>
739 * docs/doxygen/filter: Remove.
740 * docs/doxygen/filter.sed: Remove.
741 * docs/doxygen/mainpage.html: Add link to functions.
742 * docs/doxygen/run_doxygen: Changes due to new source filtering.
743 * docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak.
744 * include/bits/allocator.h: Tweaks for doxygen.
745 * include/bits/char_traits.h: Same.
746 * include/bits/codecvt.h: Same.
747 * include/bits/concurrence.h: Same.
748 * include/bits/locale_facets.h: Same.
749 * include/ext/array_allocator.h: Same.
750 * include/ext/debug_allocator.h: Same.
751 * include/ext/malloc_allocator.h: Same.
752 * include/ext/mt_allocator.h: Same.
753 * include/ext/new_allocator.h: Same.
754 * include/ext/pool_allocator.h: Same.
755 * include/ext/stdio_sync_filebuf.h: Same.
756 * include/std/std_memory.h: Same.
757 * include/tr1/array: Same.
758 * include/tr1/tuple: Same.
759 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
760 * config/os/gnu-linux/ctype_base.h: Same.
762 2004-11-04 Paolo Carlini <pcarlini@suse.de>
764 * include/bits/locale_facets.tcc (num_get<>::do_get(bool&)):
765 Evaluate __beg == __end the exact strict minimum number of times.
767 2004-11-03 Jonathan Wakely <redi@gcc.gnu.org>
769 * include/bits/stl_numeric.h (partial_sum, adjacent_difference):
770 Avoid dereferencing two times __first in the prologue.
772 2004-11-03 Paolo Carlini <pcarlini@suse.de>
774 * include/bits/stl_numeric.h: Trivial formatting fixes.
776 2004-11-03 Benjamin Kosnik <bkoz@redhat.com>
778 * include/bits/c++config: Spacing.
779 * libsupc++/del_op.cc: Include c++config.h.
780 * libsupc++/del_opnt.cc: Same.
781 * libsupc++/del_opv.cc: Same.
782 * libsupc++/del_opvnt.cc: Same.
783 * libsupc++/new_op.cc: Same.
784 * libsupc++/new_opnt.cc: Same.
785 * libsupc++/new_opv.cc: Same.
786 * libsupc++/new_opvnt.cc: Same.
788 2004-11-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
790 * config/os/bsd/darwin/os_defines.h
791 (_GLIBCXX_WEAK_DEFINITION): Define.
792 * include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define.
793 * libsupc++/del_op.cc (operator delete(void *)): Use
794 _GLIBCXX_WEAK_DEFINITION.
795 * libsupc++/del_opnt.cc
796 (operator delete(void *, const std::nothrow_t&)): Same.
797 * libsupc++/del_opv.cc (operator delete[](void *)): Same.
798 * libsupc++/del_opvnt.cc
799 (operator delete[](void *, const std::nothrow_t&)): Same.
800 * libsupc++/new_op.cc (operator new(std::size_t)): Same.
801 * libsupc++/new_opnt.cc
802 (operator new(std::size_t, const std::nothrow_t&)): Same
803 * libsupc++/new_opv.cc (operator new[](std::size_t)): Same.
804 * libsupc++/new_opvnt.cc
805 (operator new[](std::size_t, const std::nothrow_t&)): Same.
807 2004-11-02 Paolo Carlini <pcarlini@suse.de>
809 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int):
810 Evaluate *__beg the exact strict minimum number of times; likewise
811 for __beg != __end; slightly simplify main parsing loop.
813 2004-11-02 Benjamin Kosnik <bkoz@redhat.com>
814 Lothar Werzinger <lothar@xcerla.com>
817 * src/debug.cc: Include concurrence, use mutexes.
818 (_Safe_iterator_base::_M_attach): Here.
819 (_Safe_iterator_base::_M_detach): Here.
821 2004-11-02 Benjamin Kosnik <bkoz@redhat.com>
824 * include/bits/ios_base.h : Add enum values.
825 * testsuite/testsuite_hooks.h (bitmask_operators): Add function.
826 * testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New.
827 * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New.
828 * testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New.
829 * testsuite/27_io/ios_base/types/iostate/case_label.cc: New.
830 * testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New.
831 * testsuite/27_io/ios_base/types/openmode/case_label.cc: New.
832 * testsuite/27_io/ios_base/types/seekdir/case_label.cc: New.
834 * config/io/c_io_stdio.h (__ios_flags): Mark deprecated.
837 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
838 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
840 2004-11-01 Momchil Velikov <velco@fadata.bg>
843 * libsupc++/eh_globals.cc (get_globals_dtor): Delete unhandled
845 * testsuite/thread/18185.cc: New.
847 2004-11-01 Chris Jefferson <chris@bubblescope.net>
850 * include/tr1/tuple (get(pair)): Change occurrences of _I to _Int.
851 (get(const pair)): Likewise.
853 2004-11-01 Paolo Carlini <pcarlini@suse.de>
855 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
856 Evaluate *__beg the exact strict minimum number of times; likewise
857 for __beg != __end; in the main parsing loop, call ++__beg in two
858 places only. The former is also a correctness issue, because,
859 according to the standard (22.2.2.1.2, Stage 2), 'in' shall be
860 dereferenced only one time for each increment.
862 2004-10-31 Benjamin Kosnik <bkoz@redhat.com>
865 * testsuite/23_containers/set/modifiers/16728.cc: New.
867 2004-10-30 Paolo Carlini <pcarlini@suse.de>
869 * include/ext/bitmap_allocator.h (allocate(size_type)): Minor tweak.
871 * testsuite/ext/bitmap_allocator/check_delete.cc: New.
872 * testsuite/ext/bitmap_allocator/check_new.cc: Likewise.
874 2004-10-29 Geoffrey Keating <geoffk@apple.com>
876 * configure.host (darwin*): Set os_include_dir to a separate directory
878 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale kind,
880 * config/locale/darwin/ctype_members.cc: New.
881 * config/os/bsd/darwin/ctype_base.h: New.
882 * config/os/bsd/darwin/ctype_inline.h: New.
883 * config/os/bsd/darwin/ctype_noninline.h: New.
884 * config/os/bsd/darwin/os_defines.h: New.
886 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Only xfail
889 2004-10-29 Chris Jefferson <chris@bubblescope.net>
891 * include/bit/stl_algo.h (find_first_of(,,,,pred)):
892 Remove invalid EqualOpConcept.
893 * testsuite/25_algorithms/find_first_of/concept_check_1.cc: New.
895 2004-10-29 Benjamin Kosnik <bkoz@redhat.com>
897 * testsuite/testsuite_allocator.h (check_delete): New.
898 (check_new): Simplify.
899 * testsuite/ext/array_allocator/check_delete.cc: New.
900 * testsuite/ext/array_allocator/check_new.cc: Simplify.
901 * testsuite/ext/debug_allocator/check_delete.cc: New.
902 * testsuite/ext/debug_allocator/check_new.cc: Simplify.
903 * testsuite/ext/malloc_allocator/check_delete.cc: New.
904 * testsuite/ext/malloc_allocator/check_new.cc: Simplify.
905 * testsuite/ext/mt_allocator/check_delete.cc: New.
906 * testsuite/ext/mt_allocator/check_new.cc: Simplify.
907 * testsuite/ext/new_allocator/check_delete.cc: New.
908 * testsuite/ext/new_allocator/check_new.cc: Simplify.
909 * testsuite/ext/pool_allocator/check_delete.cc: New.
910 * testsuite/ext/pool_allocator/check_new.cc: Simplify.
912 2004-10-28 Chris Jefferson <chris@bubblescope.net>
915 * include/tr1/tuple: Fix, change formatting.
917 2004-10-28 Benjamin Kosnik <bkoz@redhat.com>
919 * include/ext/mt_allocator.h (__common_pool_policy): Add template
920 template parameter for pool class type.
921 (__per_type_pool_policy): Same.
922 (__mt_allocator): Don't inherit policy. Qualify policy_type calls.
923 * testsuite/ext/mt_allocator/check_deallocate_null.cc: Fix.
924 * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: Same.
925 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
926 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
927 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
928 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
929 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
930 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
931 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
932 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
933 * testsuite/ext/mt_allocator/instantiate.cc: Same.
934 * testsuite/ext/mt_allocator/tune-1.cc: Same.
935 * testsuite/ext/mt_allocator/tune-2.cc: Same.
936 * testsuite/ext/mt_allocator/tune-3.cc: Same.
937 * testsuite/ext/mt_allocator/tune-4.cc: Same.
939 2004-10-28 Paolo Carlini <pcarlini@suse.de>
941 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
942 Cache *__beg in __c when parsing exponent sign too.
943 (num_get<>::do_get(..., bool&)): Cache *__beg.
944 (money_get<>::_M_extract)): Likewise, in money_base::value.
946 2004-10-27 Paolo Carlini <pcarlini@suse.de>
948 * include/bits/basic_string.h (assign(const basic_string&)):
950 * include/bits/basic_string.tcc: ... here.
952 2004-10-27 Paolo Carlini <pcarlini@suse.de>
954 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
956 * include/bits/basic_string.tcc: ... here.
958 2004-10-26 Paolo Carlini <pcarlini@suse.de>
960 * include/bits/basic_string.h (append(const basic_string&),
961 append(size_type, _CharT)): Move out of line...
962 * include/bits/basic_string.tcc: ... here.
964 2004-10-26 Paolo Carlini <pcarlini@suse.de>
966 * include/bits/basic_string.h (erase(size_type, size_type),
967 erase(iterator), erase(iterator, iterator)): Call _M_mutate
968 instead of _M_replace_safe, equivalent when the fourth argument
971 2004-10-26 Benjamin Kosnik <bkoz@redhat.com>
973 * include/ext/array_allocator.h (array::allocate): Check for valid
974 array object, use its size member function directly.
975 * testsuite/ext/array_allocator/3.cc: New.
976 * docs/html/20_util/allocator.html: Add docs.
978 2004-10-25 Geoffrey Keating <geoffk@apple.com>
980 * configure.host (darwin*): Build libstdc++ single module
982 * libsupc++/new_op.cc (new): Make weak.
983 * libsupc++/new_opnt.cc (new): Make weak.
984 * libsupc++/new_opv.cc (new): Make weak.
985 * libsupc++/new_opvnt.cc (new): Make weak.
986 * libsupc++/delete_op.cc (delete): Make weak.
987 * libsupc++/delete_opnt.cc (delete): Make weak.
988 * libsupc++/delete_opv.cc (delete): Make weak.
989 * libsupc++/delete_opvnt.cc (delete): Make weak.
991 2004-10-25 Benjamin Kosnik <bkoz@redhat.com>
993 * testsuite/Makefile.am (GLIBCXX_INCLUDES): Add.
994 (AUTOMAKE_OPTIONS): Add nostdinc.
995 * testsuite/Makefile.in: Regenerate.
996 * scripts/testsuite_flags.in (build-includes): Remove redundant
997 search for libsupc++.
998 * fragment.am: Clean.
1000 2004-10-25 Benjamin Kosnik <bkoz@redhat.com>
1002 * include/Makefile.am (tr1_headers): Add tuple.
1003 * include/Makefile.in: Regenerate.
1005 2004-10-25 Chris Jefferson <chris@bubblescope.net>
1007 * include/tr1/tuple: Implementation of tuple from library TR.
1008 * testsuite/tr1/6_containers/tuple/tuple_element.cc: New.
1009 * testsuite/tr1/6_containers/tuple/tuple_size.cc: New.
1010 * testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc:
1012 * testsuite/tr1/6_containers/tuple/cons/assignment.cc: New.
1013 * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: New.
1014 * testsuite/tr1/6_containers/tuple/cons/constructor.cc: New.
1015 * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc:
1017 * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: New.
1018 * testsuite/tr1/6_containers/tuple/element_access/get.cc: New.
1020 2004-10-25 Paolo Carlini <pcarlini@suse.de>
1022 * include/bits/basic_string.h (_Rep::_M_is_safe): Move to
1023 basic_string as _M_disjunct, adjust to take only __s.
1024 * include/bits/basic_string.tcc: Adjust consistently callers.
1026 2004-10-25 Paolo Carlini <pcarlini@suse.de>
1028 * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
1029 Adjust bit missing from the previous commit.
1031 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
1034 * testsuite/lib/libstdc++.exp: Accept more than one multilib libgcc.
1036 2004-10-25 Paolo Carlini <pcarlini@suse.de>
1038 * include/bits/basic_string.h (_Rep::_M_is_safe, _M_check_length,
1039 _M_move, _M_copy, _M_assign): New, use througout.
1040 (operator+=(_CharT)): Define in terms of push_back.
1041 (append(const basic_string&)): Define here, inline, and simplify,
1042 don't use the full _M_replace_safe.
1043 (append(size_type, _CharT)): Likewise, don't use _M_replace_aux.
1044 (push_back): Likewise.
1045 (assign(const basic_string&)): Define here, inline.
1046 * include/bits/basic_string.tcc (append(const _CharT* s, size_type):
1047 Fix: when s points inside the _Rep, upon reallocation (reserve) we
1048 were copying from deallocated memory.
1049 (append(const basic_string&, size_type, size_type)): Simplify,
1050 don't use _M_replace_safe.
1051 (replace(size_type, size_type, const _CharT*, size_type)): Slightly
1053 (reserve): Likewise.
1054 * testsuite/21_strings/basic_string/append/char/2.cc: New.
1055 * testsuite/21_strings/basic_string/append/char/3.cc: Likewise.
1056 * testsuite/21_strings/basic_string/append/wchar_t/2.cc: Likewise.
1057 * testsuite/21_strings/basic_string/append/wchar_t/3.cc: Likewise.
1059 * testsuite/21_strings/basic_string/assign/char/3.cc: Remove junk.
1060 * testsuite/21_strings/basic_string/assign/wchar_t/3.cc: Likewise.
1062 2004-10-23 Andrew Pinski <pinskia@physics.uc.edu>
1064 * testsuite/ext/mt_allocator/deallocate_global-2.c:
1065 s/value_t/value_type/. s/traits_t/traits_type/.
1066 s/policy_t/policy_type/. s/allocator_t/allocator_type/.
1067 s/string_t/string_type/. s/list_t/list_type/.
1068 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
1069 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
1070 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
1071 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
1072 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
1073 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
1074 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
1076 2004-10-21 Benjamin Kosnik <bkoz@redhat.com>
1078 * include/tr1/array (array): Make safe for zero-sized arrays.
1079 (array::end): Return one past the end.
1080 (array::at): Use __throw_out_of_range, include functexcept.h.
1081 (operator==): Implement.
1087 * testsuite/tr1/6_containers/array/capacity/(empty.cc,
1088 max_size.cc, size.cc): New.
1089 * testsuite/tr1/6_containers/array/comparison_operators/(equal.cc,
1090 greater.cc, greater_or_equal.cc, less.cc, less_or_equal.cc,
1092 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
1094 * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc:
1096 * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc: New.
1097 * testsuite/tr1/6_containers/array/requirements/(contiguous.cc,
1098 instantiate, typedefs, zero_size_arrays): New.
1100 2004-10-21 Paolo Carlini <pcarlini@suse.de>
1101 Benjamin Kosnik <bkoz@redhat.com>
1103 * include/bits/basic_string.h (_M_set_length_and_sharable): New.
1104 * include/bits/basic_string.tcc (_S_construct, assign(const _CharT*,
1105 size_type), _M_mutate, _M_clone): Use it.
1106 (_Rep::_S_create): Don't set/call _M_length/_M_set_sharable here.
1108 2004-10-21 Paolo Carlini <pcarlini@suse.de>
1109 Dhruv Matani <dhruvbird@gmx.net>
1110 Nathan Myers <ncm@cantrip.org>
1112 * include/bits/vector.tcc (_M_insert_aux, _M_fill_insert,
1113 _M_range_insert): Check at the outset that we are not trying
1114 to exceed max_size, then deal properly with __len overflows.
1115 * testsuite/23_containers/vector/modifiers/insert/1.cc: New.
1117 * testsuite/testsuite_allocator.h: Remove redundant include.
1119 2004-10-20 Paolo Carlini <pcarlini@suse.de>
1121 * include/ext/bitmap_allocator.h (allocate): Throw std::bad_alloc
1122 when n > max_size().
1123 * include/ext/malloc_allocator.h (allocate): Likewise.
1124 * include/ext/mt_allocator.h (allocate): Likewise.
1125 * include/ext/new_allocator.h (allocate): Likewise.
1126 * include/ext/array_allocator.h: Use __throw_bad_alloc().
1127 * include/ext/pool_allocator.h: Use __builtin_expect.
1128 * testsuite/ext/array_allocator/check_allocate_max_size.cc: New.
1129 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: Likewise.
1130 * testsuite/ext/malloc_allocator/check_allocate_max_size.cc: Likewise.
1131 * testsuite/ext/mt_allocator/check_allocate_max_size.cc: Likewise.
1132 * testsuite/ext/new_allocator/check_allocate_max_size.cc: Likewise.
1133 * testsuite/ext/pool_allocator/check_allocate_max_size.cc: Likewise.
1134 * testsuite/testsuite_allocator.h (check_allocate_max_size): New test.
1136 2004-10-19 Paolo Carlini <pcarlini@suse.de>
1138 * testsuite/performance/20_util/allocator/list_sort_search.cc:
1139 Include <ext/new_allocator.h>.
1140 * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
1142 2004-10-18 Paolo Carlini <pcarlini@suse.de>
1144 * include/bits/basic_string.tcc (_M_mutate): Do not reallocate
1145 unnecessarily when _M_rep() == &_S_empty_rep() and __new_size
1146 == capacity() (== 0): is ok to just leave everything unchanged.
1148 * include/bits/basic_string.h: Minor formatting fixes.
1149 * include/bits/basic_string.tcc: Likewise.
1151 2004-10-17 Benjamin Kosnik <bkoz@redhat.com>
1153 * include/ext/mt_allocator.h (__pool::_M_get_align): New.
1154 (__mt_alloc::allocate): Use it.
1155 * src/mt_allocator.cc (__pool::_M_reclaim_block): Use it.
1156 (__pool::_M_reserve_block): Simplify block allocation.
1158 2004-10-17 Dhruv Matani <dhruvbird@gmx.net>
1159 Paolo Carlini <pcarlini@suse.de>
1161 * include/ext/bitmap_allocator.h: Change unsigned int -> size_t: this
1162 makes the code 64-bit correct and also fixes (together with using at
1163 the beginning a bitmap 2 * size_t bytes wide) alignment issues: now
1164 8 is guaranteed, easily tunable to 16 via _BALLOC_ALIGN_BYTES.
1165 Fix pthread-rope7.cc fail by nulling out __mini_vector<> destructor.
1166 * src/bitmap_allocator.cc: Change to size_t.
1167 * config/linker-map.gnu: Adjust.
1169 2004-10-16 Benjamin Kosnik <bkoz@redhat.com>
1171 * include/tr1/array: Don't use layout_type.
1173 2004-10-16 Sashan Govender <sashang@gmail.com>
1175 * include/tr1/array (array::end const): Fix casting from iterator
1178 2004-10-15 Paolo Carlini <pcarlini@suse.de>
1180 * include/ext/bitmap_allocator.h: Qualify ::operator delete.
1181 * src/bitmap_allocator.cc: Likewise.
1182 * src/mt_allocator.cc: Use ::operator delete, not delete,
1183 consistently with ::operator new.
1185 * include/ext/bitmap_allocator.h (deallocate): Check for null
1187 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
1188 * testsuite/testsuite_allocator.h (check_deallocate_null): Add test.
1190 2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
1192 * include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for
1194 * include/ext/pool_allocator.h (debug_allocator::deallocate):
1195 Check pointer value.
1196 * include/ext/debug_allocator.h (debug_allocator::deallocate):
1197 Throw exceptions, don't abort.
1198 * include/ext/array_allocator.h
1199 (array_allocator_base::deallocate): Remove unused parameters.
1200 * testsuite/testsuite_allocator.h (check_deallocate_null): New.
1201 * testsuite/ext/mt_allocator/check_deallocate_null.cc: New.
1202 * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New.
1203 * testsuite/ext/array_allocator/check_deallocate_null.cc: New.
1204 * testsuite/ext/debug_allocator/check_deallocate_null.cc: New.
1205 * testsuite/ext/malloc_allocator/check_deallocate_null.cc: New.
1206 * testsuite/ext/new_allocator/check_deallocate_null.cc: New.
1207 * testsuite/ext/pool_allocator/check_deallocate_null.cc: New.
1209 * testsuite/testsuite_allocator.h (check_new): Add instance argument.
1210 * testsuite/ext/array_allocator/check_new.cc: New.
1212 2004-10-14 Paolo Carlini <pcarlini@suse.de>
1214 * include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block):
1215 Rename __unused to __M_unused.
1217 2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
1219 * testsuite/ext/headers.cc: Add includes, compile only.
1220 * testsuite/ext/hash_map.cc: Move to...
1221 * testsuite/ext/hash_map/1.cc: ...here.
1222 * testsuite/ext/14648.cc: Move to...
1223 * testsuite/ext/hash_map/14648.cc: ...here.
1224 * testsuite/ext/hash_map/instantiate.cc: Add.
1225 * testsuite/ext/hash_set.cc: Move to...
1226 * testsuite/ext/hash_set/1.cc: ...here.
1227 * testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
1228 * testsuite/ext/hash_set/instantiate.cc: ...here.
1229 * testsuite/ext/hash_check_construct_destroy.cc: Move to...
1230 * testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
1231 * testsuite/ext/slist_check_construct_destroy.cc: Move to...
1232 * testsuite/ext/slist/check_construct_destroy.cc: ...here.
1233 * testsuite/ext/slist_explicit_instantiation.cc: Move to...
1234 * testsuite/ext/slist/instantiate.cc: ...here.
1236 2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
1238 * include/ext/mt_allocator.h: Tweaks.
1239 * src/mt_allocator.cc: Same.
1241 2004-10-14 Dhruv Matani <dhruvbird@gmx.net>
1243 * ext/bitmap_allocator.h: Clean-up add/remove functions.
1244 * src/bitmap_allocator.cc: New file. Contains the out-of-line
1245 function definitions, static initialization of variables, and
1246 explicit instantiations needed for the allocator.
1247 * src/Makefile.am: Add.
1248 * src/Makefile.in: Regenerate.
1249 * config/linker.map.gnu: Add the necessary symbols.
1251 2004-10-13 Paolo Carlini <pcarlini@suse.de>
1253 * include/bits/basic_string.tcc (_S_create): Use consistently
1254 the exponential policy, simplify.
1255 * testsuite/performance/21_strings/string_append_2.cc: New.
1257 * include/ext/array_allocator.h (allocate): Fix bad_alloc check.
1258 * testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in
1259 that case sizeof(_Rep) == 24).
1261 2004-10-12 Paolo Carlini <pcarlini@suse.de>
1264 * include/bits/stl_tree.h (erase(iterator, iterator)): Revert
1265 wrong commit of 2004-10-07.
1267 2004-10-12 Scott Snyder <snyder@fnal.gov>
1270 * testsuite/23_containers/set/modifiers/17948.cc: New.
1272 2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
1274 * include/bits/stl_deque.h: Correct for over-long lines.
1276 2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
1279 * include/ext/mt_allocator.h (__pool::_M_destroy): New.
1280 * src/mt_allocator.cc (__pool::~__pool): Change definitions to
1282 * acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT.
1283 * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove.
1284 * configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT.
1285 * configure: Regenerate.
1286 * config/linker-map.gnu: Tweak exports.
1287 * docs/html/ext/mt_allocator.html: Update docs.
1288 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix.
1289 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix.
1290 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix.
1291 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix.
1292 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix.
1293 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix.
1294 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix.
1295 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix.
1297 2004-10-11 Benjamin Kosnik <bkoz@redhat.com>
1299 PR libstdc++/16614 continued.
1300 * include/ext/mt_allocator.h
1301 (__per_type_pool_policy::_S_get_pool): Use saner defaults based on
1302 specific type characteristics.
1303 (__pool_base): Add constructor that takes a _Tune argument.
1305 * testsuite/ext/mt_allocator/tune-2.cc: Adjust default.
1306 * testsuite/ext/mt_allocator/tune-4.cc: Same.
1307 * testsuite/ext/mt_allocator/tune-3.cc: Same.
1309 2004-10-11 Joachim Kuebart <kuebart@mathematik.uni-ulm.de>
1310 Paolo Carlini <pcarlini@suse.de>
1312 * src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk):
1313 Deal properly with exceptions thrown by ::operator new(size_t).
1314 * testsuite/ext/pool_allocator/allocate_chunk.cc: New.
1316 * include/ext/pool_allocator.h: Include <cstdlib>.
1318 2004-10-10 Benjamin Kosnik <bkoz@redhat.com>
1320 * include/bits/functexcept.h: Add guards.
1322 * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test.
1323 * configure: Regenerate.
1325 2004-10-10 Paolo Carlini <pcarlini@suse.de>
1327 * config/locale/gnu/monetary_members.cc (_S_construct_pattern):
1328 Give __ret a default value, thus avoiding spurious warnings.
1330 * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either
1331 words or linux.words, otherwise exit.
1332 * testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak.
1334 2004-10-09 Paolo Carlini <pcarlini@suse.de>
1336 * include/std/std_memory.h (__get_temporary_buffer): Don't use
1337 INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit
1339 * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error
1342 2004-10-08 Benjamin Kosnik <bkoz@redhat.com>
1344 * acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.
1345 * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New.
1346 * configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT.
1347 * configure: Regenerate.
1348 * src/mt_allocator.cc (__pool::~__pool): Make conditional on
1349 _GLIBCXX_USE___CXA_ATEXIT macro.
1350 * docs/html/ext/mt_allocator.html: Add note about deallocation.
1351 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks
1352 with _GLIBCXX_USE___CXA_ATEXIT.
1353 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
1354 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
1355 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
1356 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
1357 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
1358 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
1359 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
1361 2004-10-07 Phil Edwards <phil@codesourcery.com>
1363 * testsuite/lib/libstdc++.exp: Update list of undefined functions.
1365 2004-10-07 Paolo Carlini <pcarlini@suse.de>
1367 * include/bits/list.tcc (operator=): Avoid iterator postincrement.
1368 * include/bits/stl_tree.h (erase(iterator, iterator)): Likewise.
1370 2004-10-07 Benjamin Kosnik <bkoz@redhat.com>
1373 * include/tr1/array: New.
1374 * include/Makefile.am (tr1_headers): New.
1376 (install-headers): New.
1377 (allstamped): Add stamp-tr1.
1379 * include/ext/array_allocator.h: New.
1380 * include/Makefile.am: Add.
1381 * include/Makefile.in: Regenerate.
1382 * testsuite/ext/array_allocator/1.cc: New.
1383 * testsuite/ext/array_allocator/2.cc: New.
1385 2004-10-07 Richard Earnshaw <rearnsha@arm.com>
1387 * testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
1389 2004-10-07 Roger Sayle <roger@eyesopen.com>
1392 * configure.ac: Newlib does not provide strtold.
1393 * configure: Regenerate.
1395 2004-10-06 Benjamin Kosnik <bkoz@redhat.com>
1397 * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
1398 (GLIBCXX_CONFIGURE_TESTSUITE): Use it.
1399 * configure: Regenerated.
1400 * testsuite/Makefile.am (CLEANFILES): Add TEST for
1401 check-performance executables.
1402 (stamp_thread): New.
1403 (all-local): Use it.
1404 * testsuite/Makefile.in: Regenerate.
1405 * scripts/create_testsuite_files: Filter thread tests.
1407 * testsuite/thread/pthread1.cc: Remove macro conditionals: this
1408 file will only be run by thread enabled configurations.
1409 * testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef.
1410 * testsuite/thread/pthread6.cc: Same.
1411 * testsuite/thread/pthread5.cc: Same.
1412 * testsuite/thread/pthread4.cc: Same.
1413 * testsuite/thread/pthread3.cc: Same.
1414 * testsuite/thread/pthread2.cc: Same.
1416 * testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard.
1417 * testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to...
1418 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here.
1419 * testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to...
1420 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here.
1421 * testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to...
1422 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here.
1423 * testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to...
1424 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here.
1426 2004-10-06 Benjamin Kosnik <bkoz@redhat.com>
1427 Paolo Carlini <pcarlini@suse.de>
1430 * src/mt_allocator.cc (__pool<true>::_M_reserve_block): Revert
1431 to old locking order.
1433 2004-10-06 Paolo Carlini <pcarlini@suse.de>
1435 * include/std/std_sstream.h (_M_sync): When the caller is
1436 setbuf, don't trust _M_string.capacity() to be the size of
1437 the buffer area, use _M_string.size() in this case.
1438 * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New.
1439 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise.
1441 * include/bits/sstream.tcc (overflow): Avoid calling string::assign
1442 unnecessarily when the current _M_string is empty.
1444 2004-10-06 Paolo Carlini <pcarlini@suse.de>
1446 * include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)):
1447 Avoid iterator postincrement.
1448 (__rotate): Likewise.
1450 * include/bits/stl_algo.h: Minor formatting tweaks.
1452 2004-10-06 Christopher Jefferson <caj@cs.york.ac.uk>
1454 * include/bits/stl_algo.h (__reverse(random_access_iterator_tag)):
1455 Avoid iterator postincrement; fix swapping middle element with
1456 itself on odd-length inputs.
1458 2004-10-05 Benjamin Kosnik <bkoz@redhat.com>
1461 * include/ext/mt_allocator.h (__pool_base::_Tune): Add default
1462 options as compile-time constant enums.
1463 (__pool_base::_Tune::is_default): New.
1464 (__pool_base::_Block_address): New.
1465 (__pool_base): Rearrange data members.
1466 (__pool::_M_reserve_memory): To _M_reserve_block.
1467 (__pool::_M_reclaim_memory): To _M_reclaim_block.
1468 (__pool::_Bin_record): Add _Block_address data member.
1469 (__pool<false>): Add _M_thread_freelist_initial.
1470 (__pool::~__pool): Declare.
1471 (__common_pool_policy): Move static data member to...
1472 (__common_pool_policy::_S_get_pool): ...here, make static local.
1473 (__per_type_pool_policy): Move static data member to...
1474 (__per_type_pool_policy::_S_get_pool): ...here, make static local.
1475 (__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool.
1476 Remove static member definitions. Use define for __default_policy.
1477 * src/mt_allocator.cc: Same.
1478 * config/linker-map.gnu: Don't export _S_get_pool. Renames.
1479 * testsuite/ext/new_allocator: New.
1480 * testsuite/ext/new_allocator/instantiate.cc: New.
1481 * testsuite/ext/new_allocator/check_new.cc: New.
1482 * testsuite/ext/new_allocator/deallocate_global.cc: New.
1483 * testsuite/ext/new_allocator/deallocate_local.cc: New.
1484 * testsuite/ext/mt_allocator/instantiate.cc: Instantiate all
1486 * testsuite/ext/mt_allocator/deallocate_global-1.cc: New.
1487 * testsuite/ext/mt_allocator/deallocate_global-2.cc: New.
1488 * testsuite/ext/mt_allocator/deallocate_global-3.cc: New.
1489 * testsuite/ext/mt_allocator/deallocate_global-4.cc: New.
1490 * testsuite/ext/mt_allocator/deallocate_local-1.cc: New.
1491 * testsuite/ext/mt_allocator/deallocate_local-2.cc: New.
1492 * testsuite/ext/mt_allocator/deallocate_local-3.cc: New.
1493 * testsuite/ext/mt_allocator/deallocate_local-4.cc: New.
1494 * testsuite/ext/mt_allocator/deallocate.cc: New.
1495 * testsuite/ext/malloc_allocator/deallocate.cc: New.
1496 * testsuite/ext/malloc_allocator/deallocate_global.cc: New.
1497 * testsuite/ext/malloc_allocator/deallocate_local.cc: New.
1499 2004-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1501 * configure.host (abi_baseline_pair): Define for s390-*-linux* and
1503 * config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols.
1504 * config/abi/s390x-linux-gnu/baseline_symbols.txt: New file.
1506 2004-10-05 Christopher Jefferson <caj@cs.york.ac.uk>
1508 * include/bits/stl_algobase.h (iter_swap): delegate to swap via
1509 __iter_swap when iterator's value_types are equal.
1510 (struct __iter_swap): New.
1512 2004-10-04 Benjamin Kosnik <bkoz@redhat.com>
1514 * configure.ac (libtool_VERSION): To 6:3:0.
1515 * configure: Regnerate.
1516 * testsuite/testsuite_abi.cc (check_version): Add 3.4.3.
1518 2004-10-04 Roger Sayle <roger@eyesopen.com>
1519 Eric Botcazou <ebotcazou@libertysurf.fr>
1522 * config/linker-map.gnu: Synchronize the current list of stub
1523 functions from libmath.
1525 2004-10-03 Roger Sayle <roger@eyesopen.com>
1527 * config/locale/generic/c_locale.cc (__convert_to_v): Use
1528 _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof.
1529 Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99
1530 to check for presence of strtold.
1532 2004-10-03 Paolo Carlini <pcarlini@suse.de>
1534 * include/bits/stl_list.h: Trivial formatting fixes.
1535 * include/bits/stl_tree.h: Likewise.
1537 2004-10-03 Paolo Carlini <pcarlini@suse.de>
1539 * include/bits/sstream.tcc (seekpos): In case of success, just
1542 2004-10-01 Paolo Carlini <pcarlini@suse.de>
1544 * include/bits/sstream.tcc (pbackfail): Implement correctly
1545 27.7.1.3/2, bullet 2: if mode & ios_base::out is false do not
1546 write in the buffer.
1547 * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: New.
1548 * testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise.
1549 * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise.
1550 * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise.
1551 * testsuite/27_io/basic_istream/putback/char/1.cc: Tweak consistently.
1553 2004-10-01 Paolo Carlini <pcarlini@suse.de>
1555 * include/bits/sstream.tcc (seekpos): Minor rearrangement of two
1556 conditionals consistently with seekoff.
1557 * include/std/std_sstream.h (setbuf): Avoid a string temporary.
1558 (_M_sync): Simplify a bit, clean-up comment.
1560 2004-09-30 Paolo Carlini <pcarlini@suse.de>
1562 PR libstdc++/10975 (DR 453)
1563 * include/bits/sstream.tcc (seekoff): Don't fail if __beg == 0
1565 * docs/html/ext/howto.html: Add an entry for DR 453.
1566 * testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: New.
1567 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise.
1568 * testsuite/27_io/basic_istream/tellg/char/1.cc: Tweak consistently.
1569 * testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise.
1570 * testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise.
1571 * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: Fix and
1573 * testsuite/27_io/basic_istream/seekp/char/2346-fstream.cc: ... here.
1574 * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: Fix and
1576 * testsuite/27_io/basic_istream/seekp/char/2346-sstream.cc: ... here.
1578 2004-09-29 Paolo Carlini <pcarlini@suse.de>
1580 * include/std/std_sstream.h (basic_stringbuf(ios_base::openmode)):
1581 Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1.
1582 (str()): Slightly tweak, protect from pptr() == 0.
1583 (_M_update_egptr()): Likewise.
1584 * include/bits/sstream.tcc (ssekoff, seekpos): In order to check
1585 for an empty buffer use __beg instead of _M_string.capacity().
1586 * testsuite/27_io/basic_stringbuf/cons/char/1.cc: New.
1587 * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise.
1589 * testsuite/27_io/basic_filebuf/cons/char/1.cc: New.
1590 * testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise.
1591 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Update.
1592 * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise.
1594 2004-09-29 Paolo Carlini <pcarlini@suse.de>
1595 Benjamin Kosnik <bkoz@redhat.com>
1597 * testsuite/testsuite_io.h (class constraint_buf): New, extended
1598 and templatized version of constraint_filebuf; add typedefs for
1599 streambuf/stringbuf/filebuf and wchar_t counterparts.
1601 2004-09-28 Paolo Carlini <pcarlini@suse.de>
1604 * include/bits/basic_string.h (_M_dispose, _M_refcopy,
1605 basic_string()): When _GLIBCXX_FULLY_DYNAMIC_STRING is defined,
1606 don't deal with _S_empty_rep.
1607 * include/bits/basic_string.tcc (_S_construct, _M_destroy,
1608 _M_leak_hard, _M_mutate): Likewise.
1609 * acinclude.m4 (GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING): New.
1610 * acconfig.h: Add corresponding undef.
1611 * configure.ac: Use GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING.
1612 * docs/html/configopts.html: Document --enable-fully-dynamic-string.
1613 * configure: Regenerate.
1614 * config.h.in: Likewise.
1616 2004-09-28 Benjamin Kosnik <bkoz@redhat.com>
1617 Paolo Carlini <pcarlini@suse.de>
1619 * testsuite/21_strings/basic_string/operations/char/1.cc: New.
1620 * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: New.
1621 * testsuite/21_strings/basic_string/element_access/char/empty.cc: New.
1622 * testsuite/21_strings/basic_string/element_access/wchar_t/empty.cc:
1625 2004-09-28 Paolo Carlini <pcarlini@suse.de>
1627 * README: Remove obsolete entry about include/c_shadow.
1629 2004-09-24 H.J. Lu <hongjiu.lu@intel.com>
1632 * testsuite/lib/libstdc++.exp: Don't use global ld_library_path.
1634 2004-09-24 Paolo Carlini <pcarlini@suse.de>
1636 * src/localename.cc (locale::locale(const char*)): Minor tweaks:
1637 rename a variable, move an assignment.
1638 (locale::_Impl::_Impl(const char*, size_t)): Likewise, minor tweak.
1640 2004-09-24 Paul Brook <paul@codesourcery.com>
1642 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL more arm
1644 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1645 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Ditto.
1646 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Ditto.
1647 * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Ditto.
1648 * testsuite/ext/stdio_filebuf/char/10063-2.cc: Ditto.
1649 * testsuite/ext/stdio_filebuf/char/10063-3.cc: Ditto.
1651 2004-09-23 Zack Weinberg <zack@codesourcery.com>
1653 * testsuite/20_util/memory/auto_ptr/assign_neg.cc
1654 * testsuite/23_containers/map/operators/1_neg.cc
1655 * testsuite/23_containers/set/operators/1_neg.cc:
1656 Update locations and/or regexps of dg-error markers.
1658 2004-09-23 P.J. Darcy <darcypj@us.ibm.com>
1660 * include/Makefile.am (thread_host_headers): Add gthr-tpf.h.
1661 Add rule to build ${host_builddir}/gthr-tpf.h.
1662 * include/Makefile.in: Regenerate.
1664 2004-09-23 Paolo Carlini <pcarlini@suse.de>
1665 Magnus Fromreide <magfr@lysator.liu.se>
1667 * include/bits/boost_concept_check.h (struct _SequenceConcept):
1668 Remove wrong requirement, i.e., not present in Table 67.
1670 2004-09-21 Paolo Carlini <pcarlini@suse.de>
1672 PR libstdc++/12882 (cont)
1673 * acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fstat64 too.
1674 * configure: Regenerate.
1675 * config/io/basic_file_stdio.cc (__basic_file<>::showmanyc): When
1676 _GLIBCXX_USE_LFS use fstat64 and lseek64, thus providing a non
1677 trivial showmanyc for large files too.
1679 2004-09-17 Jonathan Wakely <redi@gcc.gnu.org>
1681 * include/bits/stl_algo.h (remove): Remove too restrictive
1684 2004-09-17 Paolo Carlini <pcarlini@suse.de>
1686 * include/bits/fstream.tcc (xsgetn): Slightly tweak conditional,
1687 as per Nathan's original suggestion.
1689 2004-09-17 Paolo Carlini <pcarlini@suse.de>
1691 * testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean
1693 * testsuite/ext/mt_allocator/tune-2.cc: Likewise.
1694 * testsuite/ext/mt_allocator/tune-3.cc: Likewise.
1695 * testsuite/ext/mt_allocator/tune-4.cc: Likewise.
1697 2004-09-17 Paolo Carlini <pcarlini@suse.de>
1698 Andrea Arcangeli <andrea@suse.de>
1700 * config/io/basic_file_stdio.cc (__basic_file<>::close)): Don't
1701 call unnecessarily sync, that is fflush: the library, since 3.4.0
1702 does not use buffered fread/fwrite.
1703 * include/bits/fstream.tcc (basic_filebuf<>::overflow): Likewise.
1705 2004-09-15 Mark Mitchell <mark@codesourcery.com>
1707 * config/cpu/arm/cxxabi_tweaks.h (__cxa_cdtor_return_type):
1709 * config/cpu/generic/cxxabi_tweaks.h (__cxa_cdtor_return_type):
1711 * libsupc++/cxxabi.h (__cxa_cdtor_return_type): New type.
1712 (__cxa_vec_new): Use it.
1713 (__cxa_vec_new2): Likewise.
1714 (__cxa_vec_new3): Likewise.
1715 (__cxa_vec_cdtor): Likewise.
1716 (__cxa_vec_cctor): Likeiwse.
1717 (__cxa_vec_dtor): Likewise.
1718 (__cxa_vec_cleanup): Likewise.
1719 (__cxa_vec_delete2): Likewise.
1720 (__cxa_vec_delete3): Likewise.
1721 * libsupc++/vec.cc (__cxa_vec_new): Likewise.
1722 (__cxa_vec_new2): Likewise.
1723 (__cxa_vec_new3): Likewise.
1724 (__cxa_vec_cdtor): Likewise.
1725 (__cxa_vec_cctor): Likeiwse.
1726 (__cxa_vec_dtor): Likewise.
1727 (__cxa_vec_cleanup): Likewise.
1728 (__cxa_vec_delete2): Likewise.
1729 (__cxa_vec_delete3): Likewise.
1730 (__aeabi_vec_ctor_nocookie_nodtor): New function.
1731 (__aeabi_vec_ctor_cookie_nodtor): Likewise.
1732 (__aeabi_vec_cctor_nocookie_nodtor): Likewise.
1733 (__aeabi_vec_new_cookie_noctor): Likewise.
1734 (__aeabi_vec_new_nocookie): Likewise.
1735 (__aeabi_vec_new_cookie_nodtor): Likewise.
1736 (__aeabi_vec_new_cookie): Likewise.
1737 (__aeabi_vec_dtor): Likewise.
1738 (__aeabi_vec_dtor_cookie): Likewise.
1739 (__aeabi_vec_delete): Likewise.
1740 (__aeabi_vec_delete3): Likewise.
1741 (__aeabi_vec_delete3_nodtor): Likewise.
1742 (__aeabi_atexit): Likewise.
1744 2004-09-14 Nathan Myers <ncm@cantrip.org>
1746 * include/bits/fstream.tcc (xsgetn): Slightly tweak the recent fix
1747 for 11722: copy can replace move; the common case is __avail == 0.
1749 2004-09-14 Paolo Carlini <pcarlini@suse.de>
1751 * include/bits/cpp_type_traits.h: Rename __is_trivially_copyable
1752 to __is_scalar, more clear and consistent with "tr1" naming.
1753 * include/bits/stl_algobase.h: Update consistently throughout.
1755 2004-09-13 Paolo Carlini <pcarlini@suse.de>
1758 * include/std/std_fstream.h (xsgetn): Declare only.
1759 * include/bits/fstream.tcc (xsgetn): Define, optimize for the
1760 always_noconv() case: when __n > __buflen, copy the available
1761 buffer and issue a direct read.
1762 * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: New.
1764 * include/bits/fstream.tcc (xsputn): Minor tweak, reorder a
1767 2004-09-13 Hans-Peter Nilsson <hp@bitrange.com>
1769 * testsuite/lib/libstdc++.exp: Use gcc wrapper.exp and call
1770 libstdc++_maybe_build_wrapper instead of using local code.
1772 2004-09-08 Benjamin Kosnik <bkoz@redhat.com>
1774 * config/linker-map.gnu (GLIBCXX_3.4.3): New, adjust symbol exports.
1776 2004-09-03 Jan Beulich <jbeulich@novell.com>
1778 * crossconfig.m4: Add NetWare as a target.
1779 * configure: Regenerate.
1781 2004-09-02 Mark Mitchell <mark@codesourcery.com>
1783 * libsupc++/typeinfo: Honor __GXX_MERGED_TYPEINFO_NAMES if already
1786 2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
1787 Simon Richter <Simon.Richter@hogyros.de>
1790 * include/bits/istream.tcc: Add extern template for iostream
1791 char and wchar_t instantiations.
1793 2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
1794 Leland Wang <llwang@infor.org>
1797 * include/ext/ropeimpl.h (rope::_S_compare): Use
1798 _Rope_constants::_S_leaf.
1800 2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
1803 * include/Makefile.am (ext_headers): Remove demangle.h.
1804 * include/Makefile.in: Regenerate.
1805 * include/ext/demangle.h: Remove.
1807 2004-09-01 Benjamin Kosnik <bkoz@redhat.com>
1810 * include/ext/mt_allocator.h (__mt_base): Not type dependent,
1812 (__pool): New, specialize.
1813 (__common_pool): New, static bits here.
1814 (__per_type_pool): New, and here.
1815 (__mt_alloc_base): New.
1816 (__mt_alloc): Add template parameter, inherit from it.
1817 * src/allocator.cc: Split this...
1818 * src/allocator-inst.cc: And this...
1819 * src/pool_allocator.cc: ...into this.
1820 * src/mt_allocator.cc: ... and this. Add definitions for
1822 * src/Makefile.am (sources): Split allocator.cc to
1823 pool_allocator.cc and mt_allocator.cc.
1824 * src/Makefile.in: Regenerate.
1825 * config/linker-map.gnu: Add symbols.
1826 * docs/html/ext/mt_allocator.html: Document new design.
1827 * testsuite/ext/mt_allocator/tune-1.cc: New.
1828 * testsuite/ext/mt_allocator/tune-2.cc: New.
1829 * testsuite/ext/mt_allocator/tune-3.cc: New.
1830 * testsuite/ext/mt_allocator/tune-4.cc: New.
1832 * testsuite/testsuite_allocator.h (__gnu_test::check_new): New.
1833 * testsuite/ext/allocators.cc: Use check_new, split into...
1834 * testsuite/ext/mt_allocator/check_new.cc: this.
1835 * testsuite/ext/pool_allocator/check_new.cc: this.
1836 * testsuite/ext/malloc_allocator/check_new.cc: this.
1837 * testsuite/ext/debug_allocator/check_new.cc: this.
1838 * testsuite/ext/mt_allocator/instantiate.cc: this.
1839 * testsuite/ext/pool_allocator/instantiate.cc: this.
1840 * testsuite/ext/malloc_allocator/instantiate.cc: this.
1841 * testsuite/ext/debug_allocator/instantiate.cc: this.
1843 2004-08-30 Phil Edwards <phil@codesourcery.com>
1845 * docs/html/install.html: Update locales list (from Paolo).
1846 Remove other redundant information and point to the GCC install
1849 2004-08-30 Benjamin Kosnik <bkoz@redhat.com>
1851 * include/ext/pool_allocator.h: Rename __pool_base to
1853 * src/allocator.cc: Same.
1854 * config/linker-map.gnu: Same.
1856 2004-08-30 Paolo Carlini <pcarlini@suse.de>
1857 Kenneth C. Schalk <ken@xorian.net>
1860 * config/io/basic_file_stdio.cc (__basic_file<char>::close()):
1861 Check the return value of fclose/sync, loop on EINTR.
1862 (__basic_file<char>::sys_open): Likewise, for sync.
1864 2004-08-29 Paolo Carlini <pcarlini@suse.de>
1866 * include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format,
1867 case 'S'): Allow for at least one leap-second (as per C99, 7.23.1
1868 and 7.23.3.5), two if !_GLIBCXX_USE_C99.
1869 * testsuite/22_locale/time_get/get_time/char/4.cc: New.
1870 * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
1872 2004-08-27 Jason Merrill <jason@redhat.com>
1875 * libsupc++/guard.cc (static_mutex): Internal class implementing a
1876 recursive mutex which controls initialization of local statics.
1877 (__gnu_cxx::recursive_init): New exception class.
1878 (__cxa_guard_acquire): Deal with locking and recursion detection.
1879 (acquire_1, __cxa_guard_abort, __cxa_guard_release): Likewise.
1881 2004-08-27 Matthias Klose <doko@debian.org>
1883 * configure.host: For mips*-*-linux* update cpu_include_dir
1884 after atomicity_dir is set.
1886 2004-08-27 Matthias Klose <doko@debian.org>
1888 * config/abi/arm-linux-gnu/baseline_symbols.txt: New.
1889 * config/abi/mips-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1890 * configure.host: Set abi_baseline_pair for arm*-*-linux* and
1893 2004-08-27 Paolo Carlini <pcarlini@suse.de>
1895 * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: New.
1896 * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise.
1897 * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise.
1898 * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise.
1899 * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise.
1901 * testsuite/27_io/manipulators/adjustfield/char/1.cc: Minor
1903 * testsuite/27_io/manipulators/adjustfield/char/2.cc: Likewise.
1904 * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise.
1905 * testsuite/27_io/manipulators/standard/char/1.cc: Likewise.
1906 * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
1908 2004-08-25 Paolo Carlini <pcarlini@suse.de>
1910 PR libstdc++/17038 (partial)
1911 * include/bits/locale_facets.tcc (time_put<>::do_put): Increase
1913 * include/bits/locale_facets.h (class __timepunct): Add FIXME
1914 comment about _M_put.
1915 * config/locale/generic/time_members.cc (_M_put): Always null
1917 * config/locale/gnu/time_members.cc (_M_put): Likewise.
1918 * testsuite/22_locale/time_put/put/char/17038.cc: New.
1919 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: New.
1921 2004-08-24 Paolo Carlini <pcarlini@suse.de>
1923 * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: New.
1924 * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
1925 * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise.
1926 * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise.
1927 * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
1928 * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise.
1930 * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Trim excess
1932 * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise.
1934 2004-08-22 Matthias Klose <doko@debian.org>
1936 * config/abi/m68k-linux-gnu/baseline_symbols.txt: New.
1937 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1939 2004-08-23 Paolo Carlini <pcarlini@suse.de>
1941 * configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE.
1942 * aclocal.m4: Regenerate with automake-1.9.1.
1943 * configure: Regenerate.
1944 * Makefile.in: Likewise.
1945 * include/Makefile.in: Likewise.
1946 * libmath/Makefile.in: Likewise.
1947 * libsupc++/Makefile.in: Likewise.
1948 * po/Makefile.in: Likewise.
1949 * src/Makefile.in: Likewise.
1950 * testsuite/Makefile.in: Likewise.
1952 2004-08-22 Paolo Carlini <pcarlini@suse.de>
1954 * include/bits/locale_facets.tcc (num_put<>::do_put(bool)): Cast
1955 to a signed type, long according to the resolution of DR 359.
1956 * testsuite/22_locale/num_put/put/char/9.cc: New.
1957 * testsuite/22_locale/num_put/put/wchar_t/9.cc: New.
1959 * include/bits/locale_facets.tcc (num_put<>::do_put(const void*)):
1960 Simplify a bit: no need to clear showpos.
1962 2004-08-21 Paolo Carlini <pcarlini@suse.de>
1964 * include/bits/char_traits.h (struct _Char_traits_match): Remove,
1967 2004-08-21 Paolo Carlini <pcarlini@suse.de>
1969 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper
1970 wchar_t type for the fill argument; minor formatting tweaks.
1971 * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
1972 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
1973 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
1974 * testsuite/22_locale/money_put/put/wchar_t/4.cc: Likewise.
1975 * testsuite/22_locale/money_put/put/wchar_t/5.cc: Likewise.
1976 * testsuite/22_locale/money_put/put/wchar_t/6.cc: Likewise.
1978 2004-08-21 Paolo Carlini <pcarlini@suse.de>
1980 * include/bits/basic_ios.tcc (basic_ios<>::copyfmt): Don't deal
1981 with _M_word != _M_local_word two times, redundantly.
1983 2004-08-20 Jason Merrill <jason@redhat.com>
1985 * include/Makefile.am (${host_builddir}/gthr.h): Don't add
1986 _GLIBCXX_ to #pragma lines.
1987 * include/Makefile.in: Update.
1989 2004-08-20 Paolo Carlini <pcarlini@suse.de>
1991 PR libstdc++/7219 (continued)
1992 * include/bits/ios_base.h (class ios_base): Expose Annex D.6
1993 typedefs by default.
1994 * testsuite/27_io/types/1.cc: Remove #if _GLIBCXX_DEPRECATED.
1995 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak dg-error
1997 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1999 2004-08-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2001 * cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memory
2002 barrier to locking asm.
2004 2004-08-20 Paolo Carlini <pcarlini@suse.de>
2006 * include/c_std/cmath.tcc (__cmath_power): Revert previous commit:
2007 actually the warning is a front-end bug (c++/17120).
2009 2004-08-20 Matthias Klose <doko@debian.org>
2011 * config/abi/s390-linux-gnu/baseline_symbols.txt: New.
2013 2004-08-20 Paolo Carlini <pcarlini@suse.de>
2015 * include/c_std/cmath.tcc (__cmath_power): Suppress assignment
2016 used as truth value warning.
2018 2004-08-20 Paolo Carlini <pcarlini@suse.de>
2020 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit
2023 2004-08-20 Paolo Carlini <pcarlini@suse.de>
2025 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Fix it.
2027 2004-08-19 Benjamin Kosnik <bkoz@redhat.com>
2029 * testsuite/22_locale/time_put/put/char/3.cc (test03): Don't check
2031 * testsuite/22_locale/time_put/put/wchar_t/3.cc (test03): Same.
2033 2004-08-19 Paolo Carlini <pcarlini@suse.de>
2035 * testsuite/performance/20_util/allocator/insert.cc: For std::map
2036 instantiate the allocator for a correct pair type.
2037 * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
2038 * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
2039 * testsuite/performance/20_util/allocator/producer_consumer.cc:
2042 * testsuite/performance/20_util/allocator/list_sort_search.cc: Very
2043 minor formatting fixes.
2044 * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
2046 2004-08-19 Paolo Carlini <pcarlini@suse.de>
2048 * testsuite/22_locale/time_put/put/char/1.cc: Add VERIFY on the
2050 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2051 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2052 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2053 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
2054 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2055 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2056 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2058 2004-08-19 Paolo Carlini <pcarlini@suse.de>
2060 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2062 2004-08-18 Matthias Klose <doko@debian.org>
2064 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2065 * config/abi/i386-linux-gnu/baseline_symbols.txt: New.
2066 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: New.
2068 2004-08-17 Paolo Carlini <pcarlini@suse.de>
2070 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2072 2004-08-17 Paolo Carlini <pcarlini@suse.de>
2074 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2076 2004-08-17 Benjamin Kosnik <bkoz@redhat.com>
2078 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
2080 2004-08-16 Paolo Carlini <pcarlini@suse.de>
2082 * include/bits/indirect_array.h: Trivial formatting fixes.
2083 * include/bits/valarray_after.h: Likewise.
2084 * include/bits/valarray_array.h: Likewise.
2085 * src/valarray-inst.cc: Likewise.
2087 2004-08-15 Paolo Carlini <pcarlini@suse.de>
2089 * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk.
2090 * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
2091 * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.
2093 * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New.
2094 * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
2095 * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
2096 * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
2097 * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.
2099 2004-08-15 Paolo Carlini <pcarlini@suse.de>
2101 * include/bits/deque.tcc: Trivial formatting fixes.
2103 2004-08-15 Paolo Carlini <pcarlini@suse.de>
2105 * include/bits/deque.tcc: Trivial formatting fixes.
2107 * include/bits/locale_facets.tcc (num_get<>::do_get(&bool)):
2108 Remove unneded typedef.
2110 * include/bits/locale_facets.tcc: Very minor tweaks.
2112 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper
2113 type for the fill argument.
2114 * testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
2115 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2116 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2117 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2118 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
2119 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2120 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2121 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2123 2004-08-13 Paolo Carlini <pcarlini@suse.de>
2125 * src/debug.cc (_Error_formatter::_M_print_string): Fix thinko,
2126 memmove is not needed, memcpy suffices.
2128 2004-08-13 Paolo Carlini <pcarlini@suse.de>
2130 * include/std/std_fstream.h (class basic_ifstream,
2131 class basic_ofstream, class basic_fstream): Add const overloads
2132 of is_open, as per DR 365 [WP].
2133 * docs/html/ext/howto.html: Add an entry for DR 365.
2135 2004-08-12 Paolo Carlini <pcarlini@suse.de>
2137 * configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.
2139 2004-08-12 Paolo Carlini <pcarlini@suse.de>
2142 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
2143 to the returned value, reorganize a bit.
2144 * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New.
2145 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New.
2147 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk.
2148 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
2149 * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
2150 * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
2152 2004-08-12 Paul Brook <paul@codesourcery.com>
2154 * config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and
2155 _GLIBCXX_CXA_VEC_CTOR_RETURN.
2156 * config/cpu/generic/cxxabi_tweaks.h: Ditto.
2157 * libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use
2158 __cxa_vec_ctor_return.
2159 * libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto.
2160 Use _GLIBCXX_CXA_VEC_CTOR_RETURN.
2162 2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
2164 * Makefile.in, aclocal.m4, configure, include/Makefile.in,
2165 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
2166 src/Makefile.in, testsuite/Makefile.in: Regenerate
2168 2004-08-12 Jan Beulich <jbeulich@novell.com>
2170 * config/locale/generic/ctype_members.cc
2171 (ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
2172 initializer for return value, as that is invalid for enumerated types.
2173 * config/locale/gnu/ctype_members.cc
2174 (ctype<wchar_t>::_M_convert_to_wmask): Likewise.
2176 2004-08-11 Paolo Carlini <pcarlini@suse.de>
2178 * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
2180 2004-08-11 Paolo Carlini <pcarlini@suse.de>
2182 * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test
2184 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto.
2185 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk.
2186 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto.
2187 * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto.
2188 * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto.
2189 * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto.
2190 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto.
2191 * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto.
2192 * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto.
2193 * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto.
2194 * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto.
2195 * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto.
2196 * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto.
2197 * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto.
2198 * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto.
2199 * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto.
2200 * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto.
2201 * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto.
2202 * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto.
2203 * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto.
2204 * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto.
2206 2004-08-11 Paolo Carlini <pcarlini@suse.de>
2207 Petur Runolfsson <peturr02@ru.is>
2210 * src/ios_init.cc (ios_base::sync_with_stdio): Make sure the
2211 standard streams are constructed.
2212 * testsuite/27_io/ios_base/sync_with_stdio/16959.cc: New.
2214 2004-08-09 Paolo Carlini <pcarlini@suse.de>
2216 * include/bits/stl_bvector.h: Trivial formatting fixes.
2218 2004-08-09 Paolo Carlini <pcarlini@suse.de>
2220 * src/ios.cc (ios_base::_M_grow_words): Uglify the names.
2222 2004-08-07 Jonathan Wakely <redi@gcc.gnu.org>
2223 Paolo Carlini <pcarlini@suse.de>
2225 * src/debug.cc (_Error_formatter::_M_print_string): In order
2226 to print individual words from __string, _M_format_word can't
2227 be called since may be just sprintf, thus ignoring completely
2228 __n: instead, use memmove and append '\0' by hand.
2230 2004-08-07 Paolo Carlini <pcarlini@suse.de>
2232 * config/locale/generic/c_locale.h (__convert_from_v): Don't
2233 use a default for __prec, assume __prec >= 0 and simplify.
2234 * config/locale/gnu/c_locale.h (__convert_from_v): Likewise.
2235 * include/bits/locale_facets.tcc (money_put<>::do_put(long double)):
2236 Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf".
2238 2004-08-04 Phil Edwards <phil@codesourcery.com>
2240 * docs/html/configopts.html: Emphasize that options change.
2241 * docs/html/17_intro/configury.html: Update links.
2243 2004-08-03 Paolo Carlini <pcarlini@suse.de>
2245 * include/bits/list.tcc: Trivial formatting fixes.
2247 2004-08-03 Mark Mitchell <mark@codesourcery.com>
2249 * libsupc++/new_op.cc: Update comments.
2250 * libsupc++/del_op.cc: Likewise.
2252 2004-08-02 Mark Mitchell <mark@codesourcery.com>
2254 * libsupc++/cxxabi.h: Make all declarations have default
2256 * libsupc++/exception: Likewise.
2257 * libsupc++/new: Likewise.
2258 * libsupc++/typeinfo: Likewise.
2259 * libsupc++/unwind-cxx.h: Likewise.
2260 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
2261 the __cxxabiv1 namespace.
2262 (__cxa_free_exception): Likewise.
2263 * libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
2264 (__cxa_bad_typeid): Likewise.
2265 * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
2266 (__cxa_end_catch): Likewise.
2267 * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
2268 (__cxa_get_globals): Likewise.
2269 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
2270 (__cxa_rethrow): Likewise.
2271 * libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
2272 * libsupc++/eh_type.cc: Include <cxxabi.h>.
2274 * Makefile.am (hosted_source): Add libmath and testsuite.
2275 (SUBDIRS): Remove them.
2276 * acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
2277 on arm*-*-symbianelf*.
2278 * crossconfig.m4: Add arm*-*-symbianelf* support.
2279 * include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
2280 when freestanding. Do not bring names into std:: namespace with
2281 "using" when freestanding. Declare required functions and macros
2283 * libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
2285 * libsupc++/del_op.cc: Declare "free" only when freestanding.
2286 * libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
2287 (malloc): Declare when freestanding.
2290 (__cxa_allocate_exception): Call malloc, not std::malloc. Likewise
2292 (__cxa_free_exception): Likewise for free.
2293 * libsupc++/new_op.cc: Declare "malloc" when freestanding.
2294 * libsupc++/pure.cc (writestr): Define to nothing when
2296 * libsupc++/vterminate.cc: Do not define anything when
2298 * Makefile.in: Regenerated.
2299 * aclocal.m4: Likewise.
2300 * configure: Likewise.
2301 * include/Makefile.in: Likewise.
2302 * libmath/Makefile.in: Likewise.
2303 * libsupc++/Makefile.in: Likewise.
2304 * po/Makefile.in: Likewise.
2305 * src/Makefile.in: Likewise.
2306 * testsuite/Makefile.in: Likewise.
2308 2004-08-01 Matt Austern <austern@apple.com>
2311 * include/bits/stl_list.h (_M_create_node): Remove unused
2312 zero-argument version.
2313 * include/ext/slist (_M_create_node): Pass two arguments to
2314 allocator's construct() member function.
2315 * testsuite/23_containers/deque/explicit_instantiation.cc: New.
2316 * testsuite/23_containers/list/explicit_instantiation.cc: New.
2317 * testsuite/23_containers/vector/explicit_instantiation.cc: New.
2318 * testsuite/23_containers/map/explicit_instantiation.cc: New.
2319 * testsuite/23_containers/set/explicit_instantiation.cc: New.
2320 * testsuite/23_containers/multimap/explicit_instantiation.cc: New.
2321 * testsuite/23_containers/multiset/explicit_instantiation.cc: New.
2322 * testsuite/ext/hash_set_explicit_instantiation.cc: New.
2323 * testsuite/ext/slist_explicit_instantiation.cc: New.
2325 2004-07-30 Paolo Carlini <pcarlini@suse.de>
2327 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
2328 num_get<>::_M_extract_int): In the main parsing loop delay the
2329 life of __q to the actual use point.
2331 2004-07-29 Paolo Carlini <pcarlini@suse.de>
2334 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
2335 Don't clip the precision passed down to __convert_from_v:
2336 22.2.2.2.2 nowhere says so.
2337 * testsuite/22_locale/num_put/put/char/14220.cc: New.
2338 * testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
2340 2004-07-29 Paolo Carlini <pcarlini@suse.de>
2342 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.
2344 2004-07-29 Paolo Carlini <pcarlini@suse.de>
2345 Petur Runolfsson <peturr02@ru.is>
2347 PR libstdc++/12658 (continued)
2348 * src/locale_init.cc (locale::locale, locale::global): Use
2349 a single locale_mutex instead of two separate mutexes.
2351 2004-07-29 Paolo Carlini <pcarlini@suse.de>
2354 * include/debug/map.h (insert(_InputIterator, _InputIterator)):
2356 * testsuite/23_containers/map/insert/16813.cc: New.
2358 2004-07-29 Phil Edwards <phil@codesourcery.com>
2360 * docs/html/faq/index.html: Update version references. Make
2361 clear that code from SGI has diverged greatly. Remove references
2362 to library snapshots and what's-new sections.
2363 * docs/html/faq/index.txt: Regenerate.
2365 2004-07-28 Matt Austern <austern@apple.com>
2367 * include/bits/stl_construct.h (_Destroy): New three-argument
2368 overload that takes an allocator argument. Another inline
2369 three-argument overload that takes std::allocator and dispatches
2370 to the two-argument version.
2371 * include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
2372 Change return type to void to match uninitialized_fill_n.
2373 (__uninitialized_copy_a_): New function. Like uninitialized_copy
2374 except that it takes an allocator and uses it for construct and
2375 destroy. If the allocator is std::allocator, dispatches to
2377 (__uninitialized_fill_a): Likewise.
2378 (__uninitialized_fill_n_a): Likewise.
2379 (__uninitialized_copy_copy): Give it an allocator argument.
2380 (__uninitialized_fill_copy): Likewise.
2381 (__uninitialized_copy_fill): Likewise.
2382 * include/bits/deque.tcc: Use new forms defined in stl_construct.h
2383 and stl_uninitialized.h. Replace use of single-argument _Construct
2384 and _Destroy with use of allocator's construct and destroy methods.
2385 * include/bits/list.tcc: Likewise.
2386 * include/bits/stl_deque.h: Likewise.
2387 * include/bits/stl_list.h: Likewise.
2388 * include/bits/stl_tree.h: Likewise.
2389 * include/bits/stl_vector.h: Likewise.
2390 * include/bits/vector.tcc: Likewise.
2391 * include/ext/hashtable.h: Use rebind so that allocator_type
2392 has correct type for a container's allocator. Replace use of
2393 single-argument _Construct and _Destroy with use of allocator's
2394 construct and destroy methods.
2395 * include/ext/memory (__uninitialized_copy_n_a): New function.
2396 Like uninitialized_copy_n except that it takes an extra parameter,
2397 an allocator, and uses it for construct and destroy operations.
2398 * include/ext/rope: Use new forms defined in stl_construct.h,
2399 stl_uninitialized.h, and ext/memory. Replace use of single-argument
2400 _Construct and _Destroy with allocator construct and destroy methods.
2401 * include/ext/ropeimpl.h: Likewise.
2402 * include/ext/slist.h: Likewise.
2403 * testsuite/testsuite_allocator.h (check_construct_destroy): New.
2404 * testsuite/testsuite_allocator.cc (check_construct_destroy): New.
2405 * testsuite/23_containers/deque/check_construct_destroy.cc: New.
2406 * testsuite/23_containers/list/check_construct_destroy.cc: New.
2407 * testsuite/23_containers/set/check_construct_destroy.cc: New.
2408 * testsuite/23_containers/vector/check_construct_destroy.cc: New.
2409 * testsuite/ext/hash_check_construct_destroy.cc: New.
2410 * testsuite/ext/slist_check_construct_destroy.cc: New.
2412 2004-07-28 Alexandre Oliva <aoliva@redhat.com>
2414 2003-10-01 Eric Christopher <echristo@redhat.com>
2415 * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm'
2417 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
2418 * config/cpu/sh/atomicity.h: New. Use movli and movco on SH4a.
2420 2004-07-23 Benjamin Kosnik <bkoz@redhat.com>
2423 * include/bits/locale_facets.tcc: Fix for -Werror.
2425 2004-07-23 Jonathan Wakely <redi@gcc.gnu.org>
2427 * docs/html/debug.html: Say debug mode only available since 3.4.0.
2429 2004-07-21 Benjamin Kosnik <bkoz@redhat.com>
2431 * docs/doxygen/mainpage.html: Clarify links.
2432 * docs/doxygen/stdheader.cc: Add files.
2433 * docs/doxygen/style.css: Remove bolds, add h2, h3 styles.
2434 * docs/doxygen/user.cfg.in: New options, wrap.
2436 2004-07-20 Danny Smith <dannysmith@users.sourceforge.net>
2438 * include/c_std/std_cwchar.h (wcsstr): Correct signature.
2440 2004-07-19 Benjamin Kosnik <bkoz@redhat.com>
2443 * testsuite/lib/libstdc++.exp (v3-copy-files): Revert.
2445 2004-07-17 Richard Sandiford <rsandifo@redhat.com>
2448 * scripts/create_testsuite_files: Pass -print to find.
2450 2004-07-15 Paolo Carlini <pcarlini@suse.de>
2452 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 30.
2453 * docs/html/ext/howto.html: Tweak entries for DRs 167/253/389/402.
2455 2004-07-15 Jakub Jelinek <jakub@redhat.com>
2458 * acinclude.m4 (glibcxx_shared_libgcc): Correct
2459 glibcxx_shared_libgcc test for multilibs.
2460 * configure: Rebuilt.
2462 2004-07-14 Paolo Carlini <pcarlini@suse.de>
2465 * include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix
2466 the signature to return void, as per 20.4.4.3.
2467 * include/bits/stl_vector.h (vector::vector(size_type,
2468 const value_type&, const allocator_type&), vector::vector(size_type),
2469 vector::_M_initialize_dispatch): Adjust callers.
2470 * include/bits/vector.tcc (vector<>::_M_fill_assign,
2471 vector<>::_M_fill_insert): Likewise.
2472 * testsuite/20_util/memory/16505.cc: New.
2474 2004-07-14 Paolo Carlini <pcarlini@suse.de>
2476 * testsuite/22_locale/locale/cons/12658_thread-1.cc,
2477 12658_thread-2.cc: Use __gnu_test::try_named_locale.
2479 2004-07-13 Benjamin Kosnik <bkoz@redhat.com>
2481 * docs/html/ext/mt_allocator.html: Add docs for _Tune.
2482 * include/ext/mt_allocator.h (__mt_alloc::_S_get_options): Make public.
2483 (__mt_alloc::_S_set_options): Same.
2486 2004-07-13 Benjamin Kosnik <bkoz@redhat.com>
2488 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add allocator defaults
2490 * configure: Regenerated.
2492 2004-07-13 Paolo Carlini <pcarlini@suse.de>
2494 * testsuite/22_locale/locale/cons/12658_thread.cc: Move/rename
2495 to 12658_thread-1.cc and xfail.
2496 * testsuite/22_locale/locale/cons/12658_thread-2.c: New, much
2497 simpler version of 12658_thread-1.cc, still failing on 3_3 and
2498 not failing on 3_4/mainline - both on single processor and
2499 multiprocessor machines.
2501 2004-07-12 Benjamin Kosnik <bkoz@redhat.com>
2503 * docs/html/abi.html: Remove non-public qualification.
2505 * include/bits/concurrence.h: Tweak comments.
2507 2004-07-11 Paolo Carlini <pcarlini@suse.de>
2509 Add wchar_t counterparts of the basic_streambbuf<char> tests.
2510 * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: New.
2511 * testsuite/27_io/basic_streambuf/imbue/wchar_t/1.cc, 9322.cc:
2513 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/9701-3.cc: Likewise.
2514 * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc, 2.cc,
2516 * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
2517 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2518 * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise.
2519 * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
2520 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc, 1057.cc:
2522 * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise.
2524 * testsuite/27_io/basic_streambuf/imbue/char/1.cc, 9322.cc: Minor
2526 * testsuite/27_io/basic_streambuf/overflow/char/2.cc, 3599.cc:
2528 * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
2529 * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise.
2531 2004-07-11 Phil Edwards <phil@codesourcery.com>
2533 * acinclude.m4: Cosmetic shell syntax fixes.
2534 * configure.ac: Bring comment inline with reality.
2535 * configure.host: Both of the above. Move 'arm' case to right
2536 place in host_cpu switch.
2537 * aclocal.m4, configure: Regenerate.
2539 2004-07-09 Paolo Carlini <pcarlini@suse.de>
2541 Add wchar_t counterparts of the basic_stringbuf<char> tests.
2542 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc, 9322.cc: New.
2543 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise.
2544 * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc, 2.cc,
2545 3599.cc, 9988.cc: Likewise.
2546 * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc, 9825.cc:
2548 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc:
2550 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc, 3.cc:
2552 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc, 2.cc, 3.cc:
2554 * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
2555 * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
2556 * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
2557 * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc, 9425.cc:
2559 * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc, 1057.cc,
2560 9404-1.cc: Likewise.
2561 * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc, 1057.cc,
2562 9404-2.cc: Likewise.
2563 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc, 2.cc, 3.cc,
2565 * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
2566 * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise.
2568 2004-07-08 Paolo Carlini <pcarlini@suse.de>
2570 * include/bits/gslice.h: Trivial formatting fixes.
2571 * include/bits/gslice_array.h: Likewise.
2572 * include/bits/indirect_array.h: Likewise.
2573 * include/bits/mask_array.h: Likewise.
2574 * include/bits/slice_array.h: Likewise.
2575 * include/bits/valarray_after.h: Likewise.
2576 * include/bits/valarray_array.h: Likewise.
2577 * include/bits/valarray_before.h: Likewise.
2578 * include/std/std_valarray.h: Likewise.
2580 2004-07-08 Benjamin Kosnik <bkoz@redhat.com>
2583 * include/bits/basic_string.h (basic_string::operator=): Revert.
2585 2004-07-07 Benjamin Kosnik <bkoz@redhat.com>
2587 * configure.ac (libtool_VERSION): To 6:2:0.
2588 * configure: Regenerated.
2590 * testsuite/testsuite_abi.cc (check_version): Add 3.4.2.
2592 2004-07-07 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
2595 * config/linker-map.gnu: Add stdio_sync_filebuf::file exports.
2597 2004-07-07 Benjamin Kosnik <bkoz@redhat.com>
2599 * docs/html/abi.html: Updates for 3.4.1 release. Add summary of
2602 2004-07-07 Paolo Carlini <pcarlini@suse.de>
2605 * include/bits/sstream.tcc (overflow): When reallocating _M_string
2606 use an exponential grow policy.
2607 * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New.
2608 * testsuite/performance/27_io/stringbuf_overflow.cc: New.
2610 2004-07-06 Anssi Hannula <anssi.hannula@mbnet.fi>
2613 * crossconfig.m4: Add in bits for djgpp.
2614 * configure: Regenerate.
2616 2004-07-05 Jonathan Wakely <redi@gcc.gnu.org>
2618 * testsuite/23_containers/{set,multiset}/14340.cc: Fix typos in
2619 instantiation of set and multiset (functor param given as int).
2621 2004-07-04 Paolo Carlini <pcarlini@suse.de>
2623 * include/bits/basic_string.h: Trivial formatting fixes and/or
2624 const-ification of some variables.
2625 * include/bits/deque.tcc: Likewise.
2626 * include/bits/stl_algobase.h: Likewise.
2627 * include/bits/stl_bvector.h: Likewise.
2628 * include/bits/stl_construct.h: Likewise.
2629 * include/bits/stl_deque.h: Likewise.
2630 * include/bits/stl_pair.h: Likewise.
2631 * include/bits/stl_vector.h: Likewise.
2632 * include/bits/vector.tcc: Likewise.
2634 2004-07-04 Paolo Carlini <pcarlini@suse.de>
2636 * testsuite/25_algorithms/copy/1.cc: Add instantiations for
2637 systems with no COMDAT or weak support.
2638 * testsuite/25_algorithms/copy/2.cc: Likewise.
2639 * testsuite/25_algorithms/copy/3.cc: Likewise.
2640 * testsuite/25_algorithms/copy/4.cc: Likewise.
2642 2004-07-03 Paul Brook <paul@codesourcery.com>
2644 * configure.ac: Set ABI_TWEAKS_SRCDIR.
2645 * configure.host: Set abi_tweaks_dir. Check for atomicity.h when
2646 setting atomicity_dir. Override type_cpu for arm based targets.
2647 * include/Makefile.am (host_headers): Add cxxabi_tweaks.h.
2648 * libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard.
2649 * libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h.
2650 * libsupc++/vec.cc: Ditto.
2651 * config/cpu/arm/cxxabi_tweaks.h: New file.
2652 * config/cpu/generic/cxxabi_tweaks.h: New file.
2653 * */Makefile.in: Regenerate.
2654 * configure: Regenerate.
2656 2004-07-02 Paolo Carlini <pcarlini@suse.de>
2658 * include/bits/type_traits.h (_Is_normal_iterator): Move...
2659 * include/bits/cpp_type_traits.h: ... here, renamed to
2660 __is_normal_iterator and consistent with the other traits.
2661 * include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert
2662 to the struct __copy_normal and three specializations.
2663 (__copy_backward_output_normal_iterator,
2664 __copy_backward_input_normal_iterator): Likewise, convert to
2665 the struct __copy_backward_normal and three specializations.
2666 (copy, copy_backward): Use the latter.
2667 (__copy_aux, __copy_backward_aux): Very minor tweaks.
2669 2004-07-01 Paolo Carlini <pcarlini@suse.de>
2671 * include/bits/stl_algobase.h (__copy_trivial): Remove.
2672 (__copy_aux2): Rewrite as __copy_aux to use __is_pointer,
2673 __is_trivially_copyable, __are_same and __copy::copy.
2674 (__copy): Rewrite as a class template and two specializations.
2675 (__copy_ni2): Simplify, just call __copy_aux.
2677 * include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same
2679 * testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also
2680 for destination value type != source value type.
2682 2004-07-01 Benjamin Kosnik <bkoz@redhat.com>
2683 Per Bothner <per@bothner.com>
2684 Mohan Embar <gnustuff@thisiscool.com>
2687 * include/bits/concurrence.h (__glibcxx_mutex_type): New.
2688 (__glibcxx_mutex): Encapsulate mutex init function into type for
2689 threaded configurations without __GTHREAD_MUTEX_INIT.
2690 (lock::lock): Make device member a reference.
2691 (lock::~lock): Same.
2692 * include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
2694 * src/allocator.cc: Same.
2696 2004-06-30 Brad Spencer <spencer@infointeractive.com>
2698 * include/ext/mt_allocator.h: Handle allocations at static
2699 initialization that happen before _S_options is (automatically)
2700 constructed; set _S_init even if _M_force_new is true.
2702 2004-06-30 Benjamin Kosnik <bkoz@redhat.com>
2704 * config/linker-map.gnu: Revert new exports.
2706 2004-06-30 Benjamin Kosnik <bkoz@redhat.com>
2707 Stuart Anderson <anderson@netsweng.com>
2709 * config/linker-map.gnu: Add destructor exports for abstract base
2710 classes to conform to LSB.
2712 2004-06-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
2713 Paolo Carlini <pcarlini@suse.de>
2715 * include/bits/cpp_type_traits.h: Add __is_pointer and
2716 __is_trivially_copyable.
2717 * include/bits/stl_algobase.h (fill, fill_n): Slightly
2718 tweak to use the latter.
2719 (__copy_backward_dispatch): Remove.
2720 (__copy_backward_aux): Rewrite to use __is_pointer and
2721 __is_trivially_copyable and __copy_backward::copy_b.
2722 (__copy_backward): Rewrite as a class template and two
2725 2004-06-30 Paolo Carlini <pcarlini@suse.de>
2727 * testsuite/25_algorithms/copy.cc: Move to...
2728 * testsuite/25_algorithms/copy/1.cc: ... here, extend.
2729 * testsuite/25_algorithms/copy/2.cc: New.
2730 * testsuite/25_algorithms/copy/3.cc: New.
2731 * testsuite/25_algorithms/copy/4.cc: New.
2733 2004-06-29 Paul Brook <paul@codesourcery.com>
2735 * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the
2736 element size in the cookie.
2738 2004-06-28 Paolo Carlini <pcarlini@suse.de>
2740 * include/bits/cpp_type_traits.h: Move the additions to
2741 namespace __gnu_internal outside of namespace std; trivial
2744 2004-06-28 Benjamin Kosnik <bkoz@redhat.com>
2746 * include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base):
2747 Revert -Weffc++ changes that defined copy ctory and or assignment
2749 * libsupc++/tinfo.cc (__upcast_result): Same.
2751 2004-06-28 Paolo Carlini <pcarlini@suse.de>
2753 * src/localename.cc (locale::_Impl::_Impl): Slightly improve
2754 the algorithm used to name the categories.
2756 2004-06-28 Paolo Bonzini <bonzini@gnu.org>
2758 * include/Makefile.am: Give a .gch extension to
2759 the PCH files, not only to the directory.
2760 * include/Makefile.in: Regenerate.
2762 2004-06-28 Paolo Carlini <pcarlini@suse.de>
2764 * config/locale/gnu/monetary_members.cc
2765 (moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up
2766 assignments of _M_decimal_point and _M_thousands_sep.
2768 2004-06-27 Paolo Carlini <pcarlini@suse.de>
2770 * docs/html/17_intro/contribute.html: Update some links.
2771 * docs/html/17_intro/porting-howto.html: Likewise.
2772 * docs/html/17_intro/porting-howto.xml: Likewise.
2773 * docs/html/18_support/howto.html: Likewise.
2774 * docs/html/21_strings/howto.html: Likewise.
2775 * docs/html/27_io/howto.html: Likewise.
2776 * docs/html/configopts.html: Likewise.
2777 * docs/html/ext/howto.html: Likewise.
2778 * docs/html/faq/index.html: Likewise.
2779 * docs/html/install.html: Don't mention 2.x compilers.
2781 2004-06-27 Paolo Carlini <pcarlini@suse.de>
2783 * include/ext/rope: Trivial formatting fixes.
2784 * include/ext/ropeimpl.h: Likewise.
2786 2004-06-26 Paolo Carlini <pcarlini@suse.de>
2789 * acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
2790 availability of strto(u)ll, not used anymore in the iostreams.
2791 * configure: Regenerate.
2793 2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
2796 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
2798 * configure: Regenerate.
2800 2004-06-25 Paul Brook <paul@codesourcery.com>
2802 * libsupc++/cxxabi.h: Define __ARM_EABI__
2804 * libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto.
2806 2004-06-25 Paul Brook <paul@codesourcery.com>
2808 * include/bits/concurrence.h: Still create mutex object when
2811 2004-06-25 Paolo Carlini <pcarlini@suse.de>
2813 * include/bits/stl_algobase.h (fill, fill_n): Revert last
2814 change: actually we need to copy construct an object of type
2815 _Tp, not of type iterator_traits<>::value_type, therefore the
2818 2004-06-25 Paolo Carlini <pcarlini@suse.de>
2820 * include/bits/stl_algobase.h (fill, fill_n): Tighten the
2821 dispatch: use iterator_traits<>::value_type, not _Tp.
2823 2004-06-25 Paolo Carlini <pcarlini@suse.de>
2825 * testsuite/25_algorithms/fill/1.cc: Tweak instantiations.
2826 * testsuite/25_algorithms/fill/2.cc: Likewise.
2828 2004-06-25 Dan Nicolaescu <dann@ics.uci.edu>
2829 Paolo Carlini <pcarlini@suse.de>
2831 * include/bits/stl_algobase.h (__fill, __fill_n): New helpers
2832 for fill and fill_n, respectively: when copying is cheap, use a
2833 temporary to avoid a memory read in each iteration.
2835 2004-06-25 Paolo Carlini <pcarlini@suse.de>
2837 * testsuite/25_algorithms/fill/1.cc: New.
2838 * testsuite/25_algorithms/fill/2.cc: Likewise.
2840 2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
2842 * include/debug/formatter.h (__gnu_debug::_Error_formatter):
2843 Remove copy constructor and assignment operator.
2845 2004-06-24 Benjamin Kosnik <bkoz@redhat.com>
2847 * include/bits/concurrence.h (__gnu_cxx::lock): New.
2848 * include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
2849 (__pool_base::_M_get_mutex): New.
2850 * include/bits/allocator.h: Tweak.
2851 * src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
2852 * config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock.
2853 * include/bits/stl_threads.h: Remove.
2854 * include/Makefile.am: Also here.
2855 * include/Makefile.in: Regenerate.
2857 * src/locale_init.cc: Use __gnu_cxx::lock.
2859 * src/allocator.cc: Move all instantiations...
2860 * src/allocator-inst.cc: ...here.
2862 2004-06-23 Andrew Pinski <apinski@apple.com>
2864 * linkage.m4: Remove check for libmx.
2865 * configure: Regenerate.
2867 2004-06-23 Paolo Carlini <pcarlini@suse.de>
2870 * include/bits/boost_concept_check.h (struct _TrivialIteratorConcept):
2871 Don't require the _DefaultConstructibleConcept.
2872 (struct _ForwardIteratorConcept): Require it here.
2874 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
2876 * include/bits/istream.tcc (getline): Make sure arguments passed
2877 to min/max have the same type.
2878 * include/bits/locale_facets.tcc (__verify_grouping): Likewise.
2879 * include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise.
2881 2004-06-22 Benjamin Kosnik <bkoz@redhat.com>
2883 * docs/html/abi.html: Update links.
2885 2004-06-22 Paolo Carlini <pcarlini@suse.de>
2887 * testsuite/26_numerics/complex_inserters_extractors.cc,
2888 complex_value.cc, buggy_complex.cc: Move to...
2889 * testsuite/26_numerics/complex/: ... here.
2890 * testsuite/26_numerics/c99_classification_macros_c++.cc,
2891 c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc,
2892 fabs_inline.cc: Move to...
2893 * testsuite/26_numerics/cmath/: ... here.
2894 * testsuite/26_numerics/binary_closure.cc, slice.cc,
2895 slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc,
2896 valarray_name_lookup.cc, valarray_operators.cc,
2897 valarray_subset_assignment.cc: Move to...
2898 * testsuite/26_numerics/valarray/: ... here (new dir).
2899 * testsuite/26_numerics/sum_diff.cc: Move to...
2900 * testsuite/26_numerics/numeric/: ... here (new dir).
2902 2004-06-22 Paolo Carlini <pcarlini@suse.de>
2904 * include/std/std_istream.h (ignore(streamsize __n = 1,
2905 int_type __delim = traits_type::eof())): Split into...
2906 (ignore(), ignore(streamsize __n), ignore(streamsize __n,
2907 int_type __delim)): The first two can be much more simpler
2908 and efficient than the fully general case; also, the last
2909 two can take advantage of the same mechanism already used
2911 * include/bits/istream.tcc (ignore(streamsize __n = 1,
2912 int_type __delim = traits_type::eof()): Remove.
2913 (ignore(), ignore(streamsize __n), ignore(streamsize __n,
2914 int_type __delim)): New.
2916 2004-06-21 Loren J. Rittle <ljrittle@acm.org>
2918 * config/linker-map.gnu: Use wildcards for
2919 __basic_file::sys_open(FILE*, _Ios_Openmode).
2921 2004-06-20 Paolo Carlini <pcarlini@suse.de>
2923 * testsuite/27_io/basic_istream/ignore/char/3.cc: New.
2925 2004-06-18 Paolo Carlini <pcarlini@suse.de>
2927 * include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
2928 the alignment requested.
2929 (__mt_alloc<>::_Tune::_Tune): Tweak consistently.
2930 (__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
2931 (__mt_alloc<>::deallocate): Likewise.
2933 2004-06-18 Paolo Carlini <pcarlini@suse.de>
2936 * include/debug/safe_base.h
2937 (_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&),
2938 _Safe_sequence_base::operator=): Provide definitions.
2939 * testsuite/23_containers/bitset/cons/16020.cc: New.
2941 2004-06-18 Benjamin Kosnik <bkoz@redhat.com>
2943 * include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
2944 (__pool_base): Remove unused template parameter. Add
2945 protected. Move lock data into __pool_base::_Lock. Remove static
2946 on member functions.
2947 (__pool_base::_M_get_free_list): New.
2948 (__pool_alloc): Move _S_force new here.
2949 * src/allocator.cc: Move out of line __pool_base definitions here.
2950 * config/linker-map.gnu: Export bits from __pool_base.
2952 2004-06-18 Paolo Carlini <pcarlini@suse.de>
2954 * config/locale/gnu/numeric_members.cc
2955 (numpunct<wchar_t>::_M_initialize_numpunct): Clean up
2956 assignments of _M_decimal_point and _M_thousands_sep.
2957 * config/locale/gnu/time_members.cc
2958 (__timepunct<wchar_t>::_M_initialize_timepunct): Clean up
2959 and reformat assignments of date and time fields.
2961 2004-06-16 Paolo Carlini <pcarlini@suse.de>
2963 * include/ext/rope (rope(_CharT, const allocator_type&)): Fix
2964 to use _Data_allocate.
2965 * include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise.
2966 (rope<>::_S_substring): Likewise.
2967 (rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise.
2968 (rope<>::c_str()): Likewise.
2969 (rope<>::replace_with_c_str()): Likewise.
2971 * include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf):
2972 Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::,
2974 (_Rope_iterator_base<>::_S_setcache): Likewise.
2975 (_Rope_iterator_base<>::_S_setcache_for_incr): Likewise.
2976 (rope<>::_S_substring): Likewise.
2977 (rope<>::_S_dump): Likewise.
2978 (rope<>::_S_fetch_ptr): Likewise.
2979 (rope<>::_S_compare): Likewise.
2980 (rope<>::replace_with_c_str()): Likewise.
2982 * testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc.
2983 * testsuite/ext/rope/2.cc: New.
2985 2004-06-16 Paolo Carlini <pcarlini@suse.de>
2986 Matt Austern <austern@apple.com>
2988 * testsuite/ext/rope/3.cc: New.
2990 2004-06-15 Paolo Bonzini <bonzini@gnu.org>
2992 * acinclude.m4: Remove useless multilib configury.
2993 * Makefile.am: Remove useless multilib rules.
2994 * aclocal.m4: Regenerate.
2995 * Makefile.in: Regenerate.
2996 * configure: Regenerate.
2998 2004-06-15 Paolo Carlini <pcarlini@suse.de>
3000 * include/ext/hashtable.h: Trivial formatting fixes.
3001 * include/ext/rb_tree: Likewise.
3003 2004-06-14 Paolo Carlini <pcarlini@suse.de>
3005 * include/ext/hash_map: Trivial formatting fixes.
3006 * include/ext/hash_set: Likewise.
3007 * include/ext/memory: Likewise.
3008 * include/ext/numeric: Likewise.
3010 2004-06-14 Benjamin Kosnik <bkoz@redhat.com>
3012 * Makefile.in: Regenerate with automake 1.8.5.
3014 * include/Makefile.in: Same.
3015 * libmath/Makefile.in: Same.
3016 * libsupc++/Makefile.in: Same.
3017 * po/Makefile.in: Same.
3018 * src/Makefile.in: Same.
3019 * testsuite/Makefile.in: Same.
3021 2004-06-14 Paolo Carlini <pcarlini@suse.de>
3023 * include/ext/slist: Trivial formatting fixes.
3025 2004-06-14 Paolo Carlini <pcarlini@suse.de>
3027 * include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
3028 Don't use the 'magic number' 10 in the computation of __minlen;
3029 never access __name past __minlen; in the loop over __i3, don't
3030 decrease __nmatches and increase __i3 at once, only either of
3033 2004-06-13 Paolo Carlini <pcarlini@suse.de>
3035 * include/bits/locale_facets.tcc (time_get<>::do_get_time,
3036 time_get<>::do_get_date): Use only once _M_extract_via_format,
3037 instead of going through "%X"/"%x" and calling it two times
3040 2004-06-12 Paolo Carlini <pcarlini@suse.de>
3042 * include/ext/algorithm: Trivial formatting fixes.
3043 * include/ext/functional: Likewise.
3044 * include/ext/hash_fun.h: Likewise.
3045 * include/ext/iterator: Likewise.
3047 2004-06-12 Paolo Carlini <pcarlini@suse.de>
3049 * include/bits/basic_string.tcc (find(const _CharT*, size_type,
3050 size_type)): Reimplement using std::search.
3051 * src/string-inst.cc: Instantiate std::search for char/wchar_t.
3053 2004-06-12 Dhruv Matani <dhruvbird@gmx.net>
3055 * testsuite/performance/21_strings/string_find.cc: New.
3057 2004-06-10 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
3059 * include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized.
3061 2004-06-10 Jan van Dijk <jan@etpmod.phys.tue.nl>
3063 * include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make
3064 this function return a value.
3066 2004-06-09 Paolo Carlini <pcarlini@suse.de>
3069 * include/bits/stl_deque.h: Consistently with stl_set.h, define
3070 pointer as allocator's pointer, likewise for reference,
3071 const_pointer, and const_reference.
3072 * include/bits/stl_list.h: Likewise.
3073 * include/bits/stl_map.h: Likewise.
3074 * include/bits/stl_multimap.h: Likewise.
3075 * include/bits/stl_vector.h: Likewise.
3077 2004-06-09 Benjamin Kosnik <bkoz@redhat.com>
3079 * crossconfig.m4: Remove signbit, signbitf, signbitl.
3080 * linkage.m4: Comment LIBMATHOBJS, tweak others. AC_DEFINES for
3081 builtin math functions instead of AC_DEFINE_UNQUOTED.
3082 * configure: Regenerate.
3084 2004-06-08 Benjamin Kosnik <bkoz@redhat.com>
3086 * docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std.
3087 * docs/doxygen/mainpage.html: Remove links.
3089 2004-06-08 Jason Merrill <jason@redhat.com>
3091 * config/linker-map.gnu: Use wildcards for
3092 __basic_file::{xsgetn,xsputn,seekoff,xsputn_2}.
3094 2004-06-08 Paolo Carlini <pcarlini@suse.de>
3096 * include/ext/pool_allocator.h: Convert to a global free-list,
3097 as per the original SGI/HP design: move the implementation
3098 details to struct __pool_base, from which __pool_alloc derives.
3099 * src/allocator.cc: Instantiate __pool_base.
3101 2004-06-07 Dhruv Matani <dhruvbird@gmx.net>
3102 Paolo Carlini <pcarlini@suse.de>
3104 * testsuite/testsuite_performance.h
3105 (resource_counter::allocated_memory): Make it return the right
3106 number of bytes requested by the allocators/application. This is
3107 the sbrk+mmaped memory.
3109 2004-06-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
3111 * include/std/std_complex.h (log): Tidy.
3113 2004-05-31 Benjamin Kosnik <bkoz@redhat.com>
3115 * config/linker-map.gnu (GLIBCXX_3.4.1): Add.
3116 * testsuite/testsuite_abi.cc: Same.
3117 * configure.ac (libtool_VERSION): Bump to 6:1:0.
3118 * configure: Regenerate.
3119 * aclocal.m4: Regenerate.
3121 2004-05-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
3123 * include/std/std_complex.h (complex<_Tp>): Properly indent
3125 (complex<>::__rep): New.
3126 (__complex_abs): New. Dispatch to built-ins.
3128 (__complex_arg): New. Dispatch to built-ins.
3130 (__complex_cos): New. Dispatch to built-ins.
3132 (__complex_cosh): New. Dispatch to built-ins.
3134 (__complex_exp): New. Dispatch to built-ins.
3136 (__complex_log): New. Dispatch to built-ins.
3138 (__complex_sin): New. Dispatch to built-ins.
3140 (__complex_sinh): New. Dispatch to built-ins.
3142 (__complex_sqrt): New. Dispatch to built-ins.
3144 (__complex_tan): New. Dispatch to built-ins.
3146 (__complex_tanh): New. Dispatch to built-ins.
3148 (__complex_pow): New. Dispatch to built-ins.
3151 2004-05-29 Richard B. Kreckel <Richard.Kreckel@Framatome-ANP.com>
3152 Benjamin Kosnik <bkoz@redhat.com>
3155 * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New.
3156 * include/ext/stdio_filebuf.h (stdio_filebuf::file): New.
3157 * config/io/basic_file_stdio.cc (__basic_file::file): New.
3158 * config/io/basic_file_stdio.h: Define.
3160 2004-05-27 Benjamin Kosnik <bkoz@redhat.com>
3163 * docs/html/documentation.html: Update doxygen links for 3.4.0.
3165 2004-05-27 Jan Beulich <jbeulich@novell.com>
3167 * scripts/create_testsuite_files: Tweak.
3169 2004-05-25 Benjamin Kosnik <bkoz@redhat.com>
3172 * scripts/create_testsuite_files: Revert xtype change, add non-GNU
3173 bits to do the same thing.
3175 2004-05-24 Paolo Carlini <pcarlini@suse.de>
3177 * include/bits/istream.tcc (ignore): Correctly deal with
3178 n == numeric_limits<streamsize>::max().
3179 * testsuite/27_io/basic_istream/ignore/char/2.cc: New.
3181 * include/bits/istream.tcc (basic_istream<>::getline): Prefer
3182 '_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case
3183 __n == numeric_limits<>::min().
3185 * include/bits/istream.tcc: Minor tweaks.
3187 * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
3189 * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
3191 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
3193 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
3195 * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
3197 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
3200 Fixups for -Weffc++.
3201 * include/bits/basic_string.h (basic_string::operator=): Return
3202 pointer to this instead of result of assign. Although redundant,
3203 this doesn't impact resultant codegen.
3205 * include/bits/locale_facets.h (__numpunct_cache): Declare
3206 assignment opxserator and copy constructor private.
3207 (__timepunct_cache): Same.
3208 (__moneypunct_cache): Same.
3209 (collate): Use member initialization list for _M_c_locale_collate.
3210 * config/locale/gnu/messages_members.h: Same.
3211 * config/locale/gnu/time_members.h (__timepunct): Same.
3212 * src/codecvt.cc: Use member initialization list to initialize
3213 _M_c_locale_codecvt.
3214 * src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
3215 * config/os/gnu-linux/ctype_noninline.h: Same.
3216 * src/locale.cc (_Impl): Same.
3217 * src/locale_init.cc: Same.
3218 * src/localename.cc: Same.
3220 * include/bits/basic_ios.h (basic_ios): Complete member
3221 initialization list.
3222 * include/bits/istream.tcc (basic_istream::sentry): Same.
3223 * include/bits/ostream.tcc (basic_ostream::sentry): Same.
3224 * include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
3225 _M_pback to member initialization list.
3226 * include/std/std_streambuf.h: Same.
3227 * include/std/std_sstream.h: Same, for _M_mode.
3228 * src/ios.cc (ios_base): Same.
3230 * include/ext/rope: Make derived classes match exception
3232 specifications. Add copy constructors and assignment operators.
3234 * include/debug/safe_base.h (_Safe_sequence_base): Declare copy
3235 constructor and assignment operator protected.
3236 (_Safe_iterator_base): Same.
3237 * include/debug/formatter.h (_Error_formatter): Define copy
3238 constructor and assignment operator.
3240 * include/backward/strstream: Declare assignment operator and copy
3241 constructor private.
3243 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
3245 * testsuite/testsuite_hooks.h (func_callback): Declare copy
3246 constructor and assignment operator private.
3247 * testsuite/23_containers/deque/cons/clear_allocator.cc: Match
3248 exception specifications of base class.
3249 * testsuite/23_containers/list/cons/clear_allocator.cc: Same.
3250 * testsuite/23_containers/vector/cons/clear_allocator.cc: Same.
3251 * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
3253 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
3255 * libsupc++/cxxabi.h: Remove duplicated and useless public and
3256 private keywords in class declarations. Format. Use
3257 stddef.h. Expose declarations to "C" compilation.
3258 * libsupc++/tinfo.cc (__upcast_result): Add copy constructor and
3259 assignment operator.
3260 (__dyncast_result): Same.
3261 * libsupc++/vec.cc (uncatch_exception): Same, use member
3262 initialization list.
3264 2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
3266 * testsuite/abi_check.cc: Add unistd.h.
3268 2004-05-22 Paolo Carlini <pcarlini@suse.de>
3271 * include/bits/locale_facets.tcc (__int_to_char(unsigned long),
3272 __int_to_char(unsigned long long)): Showpos is not relevant
3274 * testsuite/22_locale/num_put/put/char/15565.cc: New.
3275 * testsuite/22_locale/num_put/put/wchar_t/15565.cc: New.
3277 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill
3279 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
3280 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
3281 * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
3282 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
3283 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
3284 * testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.
3286 2004-05-21 Matthias Klose <doko@debian.org>
3288 * docs/doxygen/run_doxygen: Bump required version.
3290 2004-05-21 Benjamin Kosnik <bkoz@redhat.com>
3292 * docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose.
3293 * docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards.
3295 2004-05-21 Paolo Carlini <pcarlini@suse.de>
3297 * include/bits/istream.tcc (ignore): Remove redundant line.
3298 (readsome): Tidy, closely following 27.6.1.3, p30.
3300 2004-05-20 Paolo Carlini <pcarlini@suse.de>
3302 * include/bits/istream.tcc (operator>>(basic_istream<>&,
3303 basic_string<>&)): Use a temporary buffer, thus avoiding
3304 reallocation for common case.
3305 * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
3307 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
3310 * include/bits/istream.tcc: Const-ification of a few variables.
3312 * include/bits/ostream.tcc: Trivial formatting fixes and
3313 const-ification of some variables.
3315 2004-05-20 Benjamin Kosnik <bkoz@redhat.com>
3319 * docs/doxygen/Intro.3: Remove Allocators.3.
3320 Add new extension headers, extension namespace list.
3321 * docs/doxygen/run_doxygen (problematic): Remove Allocators.3
3322 Rename GLIBCXXSTD names to std::. Rename __gnu_debug to
3323 __gnu_debug::. Remove __policy_ renames.
3324 * docs/doxygen/guide.html: Add dot note.
3325 * docs/doxygen/stdheader.cc: Edit, add files.
3326 * docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7.
3328 2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
3330 * include/ext/stdio_filebuf.h: Update comments to reflect PR 11691.
3332 2004-05-18 Jan Beulich <jbeulich@novell.com>
3335 * scripts/create_testsuite_files: Also find source files through
3338 2004-05-18 Jan Beulich <jbeulich@novell.com>
3341 * testsuite/lib/libstdc++.exp: Make test files writable.
3343 2004-05-18 Paolo Carlini <pcarlini@suse.de>
3345 * include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor
3348 2004-05-18 Dhruv Matani <dhruvbird@gmx.net>
3350 * include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write
3351 allocation loop which removes blocks from the global free list
3352 from O(N) to O(1) when the required blocks are <= the number
3355 2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
3357 * include/ext/enc_filebuf.h: Move concept-check macro to class scope.
3359 2004-05-17 Benjamin Kosnik <bkoz@redhat.com>
3361 * testsuite/testsuite_hooks.h (__gnu_test::conversion): New class.
3362 * testsuite/23_containers/deque/14340.cc: New.
3363 * testsuite/23_containers/list/14340.cc: New.
3364 * testsuite/23_containers/map/14340.cc: New.
3365 * testsuite/23_containers/multimap/14340.cc: New.
3366 * testsuite/23_containers/multiset/14340.cc: New.
3367 * testsuite/23_containers/set/14340.cc: New.
3368 * testsuite/23_containers/vector/14340.cc: New.
3370 2004-05-17 Douglas Gregor <gregod@cs.rpi.edu>
3373 * include/debug/safe_iterator.h (_Safe_iterator converting
3374 constructor): Only allow declaration to instantiate when the
3375 incoming _Safe_iterator has exactly the right iterator type.
3377 2004-05-17 Jonathan Wakely <redi@gcc.gnu.org>
3379 * include/bits/boost_concept_check.h: Fix old attribute syntax.
3380 * testsuite/23_containers/map/modifiers/swap.cc: Define operator<
3381 to pass concept-checks.
3382 * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
3383 * testsuite/23_containers/set/modifiers/swap.cc: Same.
3384 * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
3386 2004-05-16 Paolo Carlini <pcarlini@suse.de>
3388 * include/std/std_bitset.h: Minor formatting fixes.
3390 2004-05-16 Paolo Carlini <pcarlini@suse.de>
3392 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
3393 Consistently update __bin._M_free[0].
3394 (__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use
3395 __bin._M_free[0] to simplify the while loop (i.e., the number
3396 of iterations becomes known at the outset).
3398 2004-05-15 Paolo Carlini <pcarlini@suse.de>
3400 * include/std/std_bitset.h: Trivial formatting fixes.
3402 2004-05-14 Paolo Carlini <pcarlini@suse.de>
3403 Ivan Godard <igodard@pacbell.net>
3406 * include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix.
3407 * testsuite/23_containers/bitset/ext/15361.cc: New.
3409 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
3412 * crossconfig.m4: Add C99 math bits for linux crosses.
3413 * configure: Regenerate.
3415 2004-05-13 Simon Marshall <simon.marshall@misys.com>
3416 Benjamin Kosnik <bkoz@redhat.com>
3419 * include/bits/locale_facets.h: Fix for -fno-for-scope.
3420 * include/debug/safe_sequence.h: Same.
3421 * include/debug/safe_iterator.tcc: Same.
3422 * src/debug.cc: Same.
3423 * src/locale.cc: Same.
3424 * src/locale_init.cc: Same.
3425 * src/localename.cc: Same.
3426 * config/locale/gnu/ctype_members.cc: Same.
3427 * config/locale/gnu/numeric_members.cc: Same.
3428 * testsuite/testsuite_abi.cc: Same.
3429 * testsuite/testsuite_hooks.cc: Same.
3431 2004-05-13 Jonathan Wakely <redi@gcc.gnu.org>
3433 * docs/html/abi.html: Document effect of -fabi-version on value
3434 of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
3437 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
3440 * docs/html/faq/index.html: Update docs for libsupc++ usage.
3442 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
3445 * include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
3447 (_GLIBCXX_mutex_address): Same.
3448 (_GLIBCXX_once): Same.
3449 (_GLIBCXX_mutex_init): Same.
3450 (_GLIBCXX_mutex_address_init): Same.
3452 2004-05-13 Benjamin Kosnik <bkoz@redhat.com>
3454 * docs/html/abi.html: New.
3455 * docs/html/abi.txt: Remove.
3456 * docs/html/documentation.html: Add link.
3457 * testsuite/Makefile.am: Add files.
3458 * testsuite/Makefile.in: Regenerated.
3459 * testsuite/abi_check.cc: Move and modify code into...
3460 * testsuite/testsuite_abi.cc: Add.
3461 * testsuite/testsuite_abi.h: Add.
3463 * docs/html/17_intro/TODO: Update.
3464 * include/bits/stl_pair.h: Format.
3466 2004-05-06 Matthias Klose <doko@debian.org>
3468 * include/backward/iterator.h: Add GPL copyright info,
3469 with exception clause.
3470 * include/bits/boost_concept_check.h: Likewise.
3472 * libsupc++/tinfo.h: Likewise.
3473 * po/string_literals.cc: Likewise.
3475 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
3477 * acinclude.m4: Replace -W with more speaking -Wextra.
3478 * configure: Rebuilt.
3480 2004-05-03 Paolo Carlini <pcarlini@suse.de>
3482 Optimize locale::_M_impl->_M_names for the most common cases:
3483 !_M_names[0] means unnamed; !_M_names[1] means all the categories
3484 the same name (_M_names[0] && _M_names[1] means that the full set
3485 of _M_names must be processed, the general case).
3486 * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name):
3487 Tweak, saving work when !_M_names[1].
3488 (locale::locale(const locale&, _Facet*): Simplify: now just setting
3489 _M_names[0] = 0 means unnamed.
3490 * src/locale.cc (locale::operator==): Deal first with the common,
3491 easy cases, otherwise fall back to locale::name().
3492 (locale::name()): Tweak, if !_M_names[0] just return "*".
3493 (locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop
3494 copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1].
3495 * src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak.
3496 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t):
3497 Simplify when !std::strchr, just updating _M_names[0]; clean up.
3498 (locale::_Impl::_M_replace_categories): When !_M_names[1] prepare
3499 for the general case (full set of names), then do the usual work;
3502 * src/locale.cc (locale::name()): Reserve space in __ret.
3503 * src/locale_init.cc (locale::global(const locale&)): Save
3504 the name in a temporary.
3505 * src/localename.cc (locale::locale(const char*)): Reserve space
3508 2004-04-29 Paolo Carlini <pcarlini@suse.de>
3510 * src/locale.cc (locale::operator==): Always avoid constructing
3511 locale::name(), directly compare pairs of _M_names.
3513 2004-04-26 Paolo Carlini <pcarlini@suse.de>
3515 * include/bits/istream.tcc: Fix comment.
3517 2004-04-26 Paolo Carlini <pcarlini@suse.de>
3519 * include/bits/stl_vector.h: Trivial formatting fixes.
3520 * include/bits/vector.tcc: Likewise.
3522 2004-04-25 Paolo Carlini <pcarlini@suse.de>
3524 PR libstdc++/15002 (continued again)
3525 * include/bits/istream.tcc (getline(basic_istream<>&,
3526 basic_string<>&, _CharT)): Use a temporary buffer, thus
3527 avoiding reallocation for common case.
3529 * include/bits/basic_string.tcc (_S_construct(_InIterator,
3530 _InIterator, const _Alloc&, input_iterator_tag)): Tweak size
3531 of temporary buffer to a power of two.
3533 * testsuite/27_io/basic_istream/getline/char/4.cc: Add comment.
3535 2004-04-25 Paolo Carlini <pcarlini@suse.de>
3537 * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
3539 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
3541 * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
3543 2004-04-24 Paolo Carlini <pcarlini@suse.de>
3544 Petur Runolfsson <peturr02@ru.is>
3546 PR libstdc++/15002 (continued)
3547 * include/bits/istream.tcc (basic_istream<>::getline(char_type*,
3548 streamsize, char_type)): Use traits::find/copy in a loop to speed
3549 up greatly the function in the common case (I/O buffer size >> 1).
3551 2004-04-24 Paolo Carlini <pcarlini@suse.de>
3553 * testsuite/27_io/basic_istream/getline/char/4.cc: New.
3555 * include/bits/istream.tcc (getline(basic_istream<>&,
3556 basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead
3557 of sbumpc(), consistently with the other functions, thus also
3558 dealing correctly with the case of exceeded string::max_size().
3560 2004-04-24 Matthias Klose <doko@debian.org>
3562 Jonathan Wakely <cow@compsoc.man.ac.uk>
3563 * docs/html/configopts.html: Fix reference to allocator config option.
3565 2004-04-23 Andrew Pinski <pinskia@physics.uc.edu>
3567 * linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also.
3568 * configure: Regenerate.
3570 2004-04-23 Daniel Jacobowitz <drow@mvista.com>
3572 PR libstdc++/15047, libstdc++/11610
3573 * testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download.
3574 (libstdc++_init): Don't pass outdir to v3-copy-files.
3576 2004-04-21 Paolo Carlini <pcarlini@suse.de>
3578 * include/bits/deque.tcc: Trivial formatting fixes.
3579 * include/bits/stl_deque.h: Likewise.
3580 * include/bits/stl_list.h: Likewise.
3581 * include/bits/stl_tree.h: Likewise.
3583 2004-04-21 Paolo Carlini <pcarlini@suse.de>
3584 Andrew Pinski <pinskia@physics.uc.edu>
3586 * include/bits/basic_string.tcc (_M_mutate): Don't compute
3587 __src unnecessarily.
3589 2004-04-19 Benjamin Kosnik <bkoz@redhat.com>
3591 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3592 Clarify assertion, set test variable to false before assert.
3593 * testsuite/27_io/basic_istringstream/str/char/1.cc: Same.
3594 * testsuite/27_io/basic_stringstream/str/char/1.cc: Same.
3595 * testsuite/27_io/ios_base/storage/2.cc: Same.
3597 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix
3599 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same.
3600 * testsuite/27_io/fpos/14320-3.cc: Same.
3602 * testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std.
3603 * testsuite/27_io/fpos/1.cc: Same.
3604 * testsuite/27_io/basic_stringstream/2.cc: Same.
3605 * testsuite/27_io/basic_stringbuf/4.cc: Same.
3606 * testsuite/27_io/basic_stringbuf/1.cc: Same.
3607 * testsuite/27_io/basic_stringbuf/2.cc: Same.
3608 * testsuite/27_io/basic_streambuf/2.cc: Same.
3609 * testsuite/27_io/basic_ostringstream/2.cc: Same.
3610 * testsuite/27_io/basic_ostream/2.cc: Same.
3611 * testsuite/27_io/basic_ofstream/2.cc: Same.
3612 * testsuite/27_io/basic_istringstream/2.cc: Same.
3613 * testsuite/27_io/basic_istream/2.cc: Same.
3614 * testsuite/27_io/basic_iostream/2.cc: Same.
3615 * testsuite/27_io/basic_ios/2.cc: Same.
3616 * testsuite/27_io/basic_ifstream/2.cc: Same.
3617 * testsuite/27_io/basic_fstream/2.cc: Same.
3618 * testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx.
3620 * testsuite/21_strings/basic_string/capacity/1.cc: Don't compare
3621 unsigned against zero.
3622 * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same.
3623 * testsuite/21_strings/basic_string/capacity/char/1.cc: Same.
3625 * testsuite/18_support/new_delete_placement.cc: Initialize
3626 variables before first use.
3627 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same.
3628 * testsuite/21_strings/char_traits/requirements/char/1.cc: Same.
3629 * testsuite/21_strings/char_traits/requirements/short/1.cc: Same.
3630 * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc:
3632 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc: Same.
3633 * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc:
3635 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc: Same.
3636 * testsuite/27_io/types/2.cc: Same.
3638 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary
3640 * testsuite/27_io/fpos/14775.cc: Same.
3642 2004-04-19 Paolo Carlini <pcarlini@suse.de>
3644 PR libstdc++/15002 (partial)
3645 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
3646 Special case __n2 == 1, not calling traits_type::assign/copy.
3648 2004-04-17 Benjamin Kosnik <bkoz@redhat.com>
3650 * include/bits/stl_bvector.h: Use _M_impl._M_start.
3652 2004-04-16 Benjamin Kosnik <bkoz@redhat.com>
3654 * include/bits/c++config (_GLIBCXX_STD): New.
3655 * src/list.cc: Use it.
3656 * include/std/std_bitset.h: Same.
3657 * include/bits/vector.tcc: Same.
3658 * include/bits/stl_set.h: Same.
3659 * include/bits/stl_multiset.h: Same.
3660 * include/bits/stl_multimap.h: Same.
3661 * include/bits/stl_map.h: Same.
3662 * include/bits/stl_list.h: Same.
3663 * include/bits/stl_vector.h: Same.
3664 * include/bits/stl_bvector.h: Same.
3665 * include/bits/stl_deque.h: Same.
3666 * include/bits/deque.tcc: Same.
3667 * include/bits/list.tcc: Same.
3668 * include/debug/vector: Same.
3669 * include/debug/set.h: Same.
3670 * include/debug/multiset.h: Same.
3671 * include/debug/multimap.h: Same.
3672 * include/debug/map.h: Same.
3673 * include/debug/list: Same.
3674 * include/debug/deque: Same.
3675 * include/debug/bitset: Same.
3676 * include/debug/formatter.h (__gnu_debug): Remove using directive.
3677 Add using declaration for std::type_info.
3678 * include/debug/safe_iterator.h: Add using declaration for
3679 std::iterator_traits and std::pair.
3680 * src/debug_list.cc: New.
3681 * src/Makefile.am: Add debug_list.cc.
3682 * src/Makefile.in: Regenerate.
3683 * config/linker-map.gnu: Add _List_node_base exports for std and
3686 * include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl
3687 idiom that other containers use.
3688 * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
3690 2004-04-16 Paolo Carlini <pcarlini@suse.de>
3693 * include/bits/fstream.tcc (basic_filebuf::imbue): Zero _M_codecvt
3695 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: New.
3696 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: New.
3698 2004-04-16 Paolo Carlini <pcarlini@suse.de>
3700 * acconfig.h: Remove _GLIBCXX_USE_LONG_DOUBLE entry, not
3702 * config.h.in: Regenerate.
3704 2004-04-16 Paolo Carlini <pcarlini@suse.de>
3706 * config/locale/generic/monetary_members.cc
3707 (moneypunct<wchar_t>::_M_initialize_moneypunct): Avoid calling
3708 btowc unnecessarily, just cast to wchar_t (the concerned chars
3709 all belong to the basic character set).
3710 * config/locale/generic/numeric_members.cc
3711 (numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
3712 * config/locale/gnu/monetary_members.cc
3713 (moneypunct<wchar_t>::_M_initialize_moneypunct): Likewise.
3714 * config/locale/gnu/numeric_members.cc
3715 (numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
3717 2004-04-15 Paolo Carlini <pcarlini@suse.de>
3719 * src/locale.cc (locale::operator==): When _M_impl == __rhs._M_impl
3720 avoid constructing unnecessarily this->name().
3722 2004-04-14 Zack Weinberg <zack@codesourcery.com>
3724 * testsuite/Makefile.am: Add definition of AM_CXXFLAGS.
3725 Change definition of CXX to use $(shell) instead of backticks.
3726 * testsuite/Makefile.in: Regenerate.
3728 2004-04-12 Dhruv Matani <dhruvbird@gmx.net>
3730 * testsuite/performance/20_util/allocator/list_sort_search.cc:
3731 Minor formatting fixes.
3732 * testsuite/performance/20_util/allocator/map_mt_find.cc:
3735 2004-04-12 Paolo Carlini <pcarlini@suse.de>
3737 * config/locale/gnu/numeric_members.cc
3738 (numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap
3739 in __uselocale, since btowc is called for chars belonging to
3740 the basic character set.
3742 2004-04-09 Paolo Carlini <pcarlini@suse.de>
3744 * testsuite/22_locale/messages/members/char/1.cc: Remove junk.
3745 * testsuite/22_locale/messages/members/char/2.cc: Ditto.
3746 * testsuite/22_locale/messages/members/char/3.cc: Ditto.
3747 * testsuite/22_locale/num_get/get/char/1.cc: Ditto.
3748 * testsuite/22_locale/num_get/get/char/2.cc: Ditto.
3749 * testsuite/22_locale/num_get/get/char/3.cc: Ditto.
3750 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto.
3751 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto.
3752 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto.
3753 * testsuite/22_locale/num_put/put/char/1.cc: Ditto.
3754 * testsuite/22_locale/num_put/put/char/2.cc: Ditto.
3755 * testsuite/22_locale/num_put/put/char/3.cc: Ditto.
3756 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto.
3757 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto.
3758 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto.
3759 * testsuite/22_locale/numpunct/members/char/1.cc: Ditto.
3760 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto.
3762 2004-04-07 Paolo Carlini <pcarlini@suse.de>
3764 * config/locale/generic/time_members.cc
3765 (__timepunct<char>::_M_initialize_timepunct,
3766 __timepunct<wchar_t>::_M_initialize_timepunct): the correct
3767 _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively.
3768 * config/locale/gnu/time_members.cc
3769 (__timepunct<char>::_M_initialize_timepunct,
3770 __timepunct<wchar_t>::_M_initialize_timepunct): Ditto.
3771 * testsuite/22_locale/time_get/get_monthname/char/4.cc: New.
3772 * testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New.
3774 * testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk.
3775 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto.
3776 * testsuite/22_locale/time_get/get_date/char/1.cc: Ditto.
3777 * testsuite/22_locale/time_get/get_date/char/2.cc: Ditto.
3778 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto.
3779 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto.
3780 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto.
3781 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto.
3782 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto.
3783 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto.
3784 * testsuite/22_locale/time_get/get_time/char/1.cc: Ditto.
3785 * testsuite/22_locale/time_get/get_time/char/2.cc: Ditto.
3786 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto.
3787 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto.
3788 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto.
3789 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto.
3790 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto.
3791 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto.
3792 * testsuite/22_locale/time_get/get_year/char/1.cc: Ditto.
3793 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto.
3794 * testsuite/22_locale/time_put/put/char/1.cc: Ditto.
3795 * testsuite/22_locale/time_put/put/char/2.cc: Ditto.
3796 * testsuite/22_locale/time_put/put/char/3.cc: Ditto.
3797 * testsuite/22_locale/time_put/put/char/4.cc: Ditto.
3798 * testsuite/22_locale/time_put/put/char/5.cc: Ditto.
3799 * testsuite/22_locale/time_put/put/char/6.cc: Ditto.
3800 * testsuite/22_locale/time_put/put/char/7.cc: Ditto.
3801 * testsuite/22_locale/time_put/put/char/8.cc: Ditto.
3802 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto.
3803 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto.
3804 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto.
3805 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto.
3806 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto.
3807 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto.
3808 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto.
3809 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto.
3811 * testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos.
3813 2004-04-07 Paolo Carlini <pcarlini@suse.de>
3815 * config/locale/gnu/monetary_members.cc
3816 (moneypunct<wchar_t>::_M_initialize_moneypunct): Prefer
3817 _NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC,
3818 and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC,
3819 _NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING.
3820 * config/locale/gnu/numeric_members.cc
3821 (numpunct<char>::_M_initialize_numpunct): Prefer DECIMAL_POINT
3822 and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP.
3824 2004-04-06 Benjamin Kosnik <bkoz@redhat.com>
3826 Fixups for EDG front end.
3827 * include/ext/rope: Instead of non-existent function
3828 _Data_allocate, use allocator's allocate. Use this.
3829 (namespace _Rope_constants): Move _S_max_rope_depth, and _Tag
3830 enumerations from _Rope_RopeRep here.
3831 * include/ext/ropeimpl.h: Same.
3832 * src/ext-inst.cc (_S_min_len): Fix up definition.
3834 * config/locale/gnu/ctype_members.cc: Qualify base class members
3836 * config/locale/generic/ctype_members.cc: Same.
3837 * config/locale/gnu/messages_members.h: Same.
3838 * config/locale/generic/messages_members.h: Same.
3839 * src/ctype.cc: Same.
3840 * include/bits/codecvt.h: Same.
3842 * include/bits/boost_concept_check.h: Declare.
3843 (__error_type_must_be_an_unsigned_integer_type): Remove this.
3844 (__error_type_must_be_an_integer_type): Remove this.
3845 (__error_type_must_be_a_signed_integer_type): Remove this.
3847 * config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast.
3849 * libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception
3850 specification to definition.
3851 (__cxa_allocate_exception): Same.
3852 * libsupc++/eh_catch.cc (__cxa_begin_catch): Same.
3853 * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same.
3854 (__cxa_get_globals): Same.
3856 * libsupc++/del_op.cc: Add comment about freestanding.
3858 2004-04-05 Paolo Carlini <pcarlini@suse.de>
3860 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
3861 The critical section is actually very small, only two assignments.
3863 2004-04-04 Paolo Carlini <pcarlini@suse.de>
3864 Petur Runolfsson <peturr02@ru.is>
3866 * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: New,
3867 adapted from libstdc++/11378.
3869 2004-04-03 Paolo Carlini <pcarlini@suse.de>
3871 * include/ext/mt_allocator.h (__mt_alloc<>::allocate): Factor out
3872 some duplicated code.
3873 (__mt_alloc<>::_Bin_record): Spare the space of _M_free and _M_used
3874 in the single threaded case.
3875 * testsuite/performance/20_util/allocator/list_sort_search.cc:
3876 Reorder and renumber the tests consistently with the other testfiles.
3877 * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
3878 * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
3879 * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
3881 2004-04-02 Paolo Carlini <pcarlini@suse.de>
3883 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
3884 Rearrange arithmetic to avoid computing two divisions at
3887 2004-04-01 Paolo Carlini <pcarlini@suse.de>
3889 * include/ext/mt_allocator.h (__mt_alloc<>::_S_initialize):
3890 Streamline the second half, wrapping it in a single
3891 '#ifdef __GTHREADS if (__gthread_active_p())' and avoiding
3892 conditionals inside loops.
3894 2004-04-01 Paolo Carlini <pcarlini@suse.de>
3897 * acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS.
3898 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call
3899 GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define
3900 to _GLIBCXX_RES_LIMITS.
3901 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to
3903 * testsuite/testsuite_hooks.h: Declare set_file_limit.
3904 * testsuite/testsuite_hooks.cc: Define it, using getrlimit
3905 and setrlimit(RLIMIT_FSIZE).
3906 * testsuite/27_io/fpos/14775.cc: New.
3907 * config.h.in: Regenerate.
3908 * configure: Likewise.
3910 2004-03-31 Paolo Carlini <pcarlini@suse.de>
3912 * config/locale/generic/c_locale.cc (__convert_to_v(long double&)):
3913 In v3 uses of sscanf, the special floating-point numbers INF,
3914 INFINITY, etc., cannot occur in input, therefore, if the latter
3915 is too large, ERANGE is always stored in errno, no need of finitel.
3917 2004-03-30 Benjamin Kosnik <bkoz@redhat.com>
3920 * include/bits/stl_tree.h: Adjust initialization list order.
3922 2004-03-29 Loren J. Rittle <ljrittle@acm.org>
3924 * testsuite/thread/pthread7-rope.cc: Update comment to reflect test.
3926 2004-03-29 Paolo Carlini <pcarlini@suse.de>
3928 * testsuite/thread/pthread7-rope.cc: Fix, unpredictably, depending
3929 on allocator behavior, the memory pointed by data2 may well be not
3932 2004-03-28 Chavdar Botev <cbotev@yahoo.com>
3935 * include/bits/basic_string.tcc
3936 (basic_string::basic_string(const basic_string&)): Pass to
3937 _Rep::_M_grab the actual allocator of the string being constructed
3938 not the default constructed one.
3940 2004-03-27 Benjamin Kosnik <bkoz@redhat.com>
3943 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3944 (__enc_traits::_M_destroy): New.
3945 (__enc_traits::~__enc_traits): Use it.
3946 (__enc_traits::operator=): Use _M_destroy, _M_init.
3947 (__enc_traits::__enc_traits): Same.
3949 2004-03-27 Petur Runolfsson <peturr02@ru.is>
3951 * testsuite/ext/enc_filebuf/char/13598.cc: New.
3953 2004-03-27 Paolo Carlini <pcarlini@suse.de>
3955 * include/ext/mt_allocator.h: Uglify consistently names of
3956 variables, members and classes; tidy.
3958 2004-03-27 Dhruv Matani <dhruvbird@gmx.net>
3960 * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
3961 Deallocation loop rewrote.
3963 2004-03-26 Paolo Carlini <pcarlini@suse.de>
3965 * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
3966 __mt_alloc<>::deallocate): Protect two instances of
3967 block->thread_id with __GTHREADS.
3969 2004-03-25 Gawain Bolton <gp.bolton@computer.org>
3971 * include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator
3972 default argument in constructors.
3973 (_Rb_tree::_M_empty_initialize): Remove.
3975 2004-03-25 Benjamin Kosnik <bkoz@redhat.com>
3977 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
3978 * testsuite/23_containers/set/operators/1_neg.cc: Same.
3980 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
3982 * include/bits/cpp_type_traits.h: Changed __is_pod
3983 completely. Now, it does not use any of the previous type_traits
3984 to detect the pod types, and it also detects function pointers as
3987 * include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl,
3988 which encapsulates the internal implementation of an rb_tree. Made
3989 the allocator a base class of this class instead of the rb_tree,
3990 which was not conforming. This _Rb_tree_impl class is also
3991 specialized on whether the _Compare parameter is a POD type or
3992 not. If so, then it maintains the comparison function as a data
3993 member, otherwise it makes the _Compare parameter a base class of
3994 itself. Also, _M_key_compare is now a function instead of a data
3995 member, so that the above trick can work properly. Delegated the
3996 initialization of the other data members to this newly created
3997 class. Also, now other member functions of rb_tree must refer to
3998 _M_key_compare as _M_impl._M_key_compare(). The other data members
3999 (*) can be referenced to as _M_impl.(*), where
4000 (*) includes _M_header, and _M_node_count.
4002 2004-03-25 Paolo Carlini <pcarlini@suse.de>
4004 * include/ext/mt_allocator.h (__mt_alloc<>::tune):
4005 Add _M_min_bin, the size in bytes of the smallest bin.
4006 (__mt_alloc<>::tune()): Tweak accordingly.
4007 (__mt_alloc<>::tune(size_t, ...)): Likewise.
4008 (__mt_alloc<>::block_record): Change to a union: members next
4009 and thread_id are never used at the same time.
4010 (__mt_alloc<>::allocate): Update consistently.
4011 (__mt_alloc<>::deallocate): Likewise.
4012 (__mt_alloc<>::_S_initialize): Update setups of _S_binmap and
4013 _S_bin_size for the configurable _M_min_size.
4015 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
4017 * include/bits/stl_list.h: Created a _List_impl class and made it
4018 derive from the allocator, instead of the list deriving from the
4019 allocator class, which was not conformant. Changed all references
4020 from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same
4021 as above (changed all references to the concerned variables).
4023 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
4025 * include/bits/stl_deque.h: Created a _Deque_impl class and made
4026 it derive from the allocator, instead of the deque deriving from
4027 the allocator class, which was not conformant. Changed all
4028 references to the _M_start, _M_finish, _M_map, and _M_map_size to
4030 (_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this->
4031 qualification in 2 places where it was missing.
4032 (_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as
4034 * include/bits/deque.tcc: Same as above (changed all references to
4035 the concerned variables).
4037 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
4039 * include/bits/stl_vector.h: Created a _Vector_impl class and made
4040 it derive from the allocator, instead of the _Vector_base class,
4041 deriving from the allocator which was not conformant. Changed all
4042 references to the _M_start, _M_finish, and _M_end_of_storage to
4044 * include/bits/vector.tcc: Same as above (changed all references
4045 to the concerned variables).
4047 2004-03-25 Dhruv Matani <dhruvbird@gmx.net>
4049 * testsuite/23_containers/deque/cons/clear_allocator.cc: New.
4050 * testsuite/23_containers/list/cons/clear_allocator.cc: New.
4051 * testsuite/23_containers/vector/cons/clear_allocator.cc: New.
4053 2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
4055 * include/ext/malloc_allocator.h: Fixed the construct function to
4056 call global placement new instead of assignment. Added a check
4057 after the return from malloc to check whether returned pointer is
4058 NULL, and if so, throw std::bad_alloc().
4059 * include/ext/debug_allocator.h: Added a check in the deallocate
4060 function to check whether the user has passed a NULL pointer or
4063 2004-03-24 Benjamin Kosnik <bkoz@redhat.com>
4065 * docs/html/20_util/allocator.html: Add bitmap_allocator links.
4067 2004-03-24 Andreas Schwab <schwab@suse.de>
4069 * testsuite/lib/prune.exp (prune_g++_output): Ignore errata
4070 warning from IA64 assembler.
4072 2004-03-24 Dhruv Matani <dhruvbird@gmx.net>
4074 * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this
4075 function call __builtin_ctz instead of the while loop.
4076 (allocate) -> If condition has __builtin_expect.
4077 (deallocate) -> Ditto.
4078 Renamed a few left-over variables and typedefs according to the
4079 C++STYLE mentioned in the documentation.
4080 Protected calls to __gthread* by __gthread_active_p(), whose value
4081 is cached in the local variable __threads_active.
4083 2004-03-24 Felix Yen <fwy@alumni.brown.edu>
4085 * testsuite/performance/20_util/allocator/producer_consumer.cc:
4086 Use linear algorithm for producer.
4088 2004-03-24 Paolo Carlini <pcarlini@suse.de>
4090 * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
4091 __mt_alloc<>::deallocate): Avoid redundant conditionals.
4093 2004-03-23 Benjamin Kosnik <bkoz@redhat.com>
4095 * include/bits/locale_facets.h: Tweaks for 80 column.
4096 (__numpunct_cache::_M_cache): Move to locale_facets.tcc.
4097 (__moneypunct_cache::_M_cache): Same.
4098 (num_get): Don't inherit from __num_base.
4100 (money_get): Don't inherit from money_base.
4102 (__timepunct::_M_am_pm_format): New.
4103 (time_get::_M_extract_num): Return iterator, use ios_base as argument.
4104 (time_get::_M_extract_name): Same.
4105 (time_get::_M_extract_via_format): Same.
4106 * include/bits/locale_facets.tcc: Tweaks for 80 column.
4107 Use _M_getloc instead of getloc.
4108 * testsuite/22_locale/money_put/put/char/9780-3.cc: New.
4109 * testsuite/22_locale/num_put/put/char/9780-2.cc: New.
4110 * testsuite/22_locale/time_put/put/char/9780-1.cc: New.
4112 2004-03-22 Paolo Carlini <pcarlini@suse.de>
4114 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator.
4115 * configure: Regenerate.
4116 * config/allocator/pool_allocator_base.h: New.
4117 * include/ext/pool_allocator.h: Convert to a standard-conforming
4119 * src/allocator.cc: Tweak instantiations.
4120 * testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc.
4121 * testsuite/performance/20_util/allocator/insert_insert.cc: Ditto.
4122 * testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto.
4123 * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
4124 * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
4125 * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
4127 2004-03-22 Hans-Peter Nilsson <hp@axis.com>
4129 * config/cpu/cris/atomicity.h (__atomic_add): Remove "static
4130 inline" and attribute-unused. Qualify parameter __mem with
4132 (__exchange_and_add): Ditto. Add back memory clobber to asm.
4134 2004-03-20 Paolo Carlini <pcarlini@suse.de>
4136 * testsuite/27_io/basic_istream/extractors_arithmetic/char/2.cc:
4138 * testsuite/27_io/basic_istream/extractors_arithmetic/char/3.cc:
4140 * testsuite/27_io/basic_istream/extractors_arithmetic/char/6.cc:
4142 * testsuite/27_io/basic_istream/extractors_arithmetic/char/7.cc:
4144 * testsuite/27_io/basic_istream/extractors_arithmetic/char/8.cc:
4146 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9.cc:
4148 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
4150 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
4152 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4154 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
4157 2004-03-20 Paolo Carlini <pcarlini@suse.de>
4159 * include/std/std_valarray.h: Document DR389 [Ready].
4160 * docs/html/ext/howto.html: Add an entry for DR389.
4162 2004-03-19 Michael Eager <eager@mvista.com>
4164 * config/cpu/mips/atomicity.h: Prevent reg loads between LL and
4167 2004-03-19 Paolo Carlini <pcarlini@suse.de>
4169 * testsuite/22_locale/num_get/get/char/11.cc: Remove redundant
4171 * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
4172 * testsuite/22_locale/num_get/get/char/13.cc: Likewise.
4173 * testsuite/22_locale/num_get/get/char/14.cc: Likewise.
4174 * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
4175 * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
4176 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
4177 * testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise.
4178 * testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise.
4179 * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
4181 2004-03-19 Paolo Carlini <pcarlini@suse.de>
4182 Petur Runolfsson <peturr02@ru.is>
4185 * include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's
4186 no way to find out the conversion used by the underlying FILE*.
4187 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New.
4188 * testsuite/27_io/objects/char/9.cc: Tweak.
4190 2004-03-19 Paolo Carlini <pcarlini@suse.de>
4193 * include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix
4194 memory allocation/deallocation calls.
4195 * testsuite/ext/14648.cc: New.
4197 2004-03-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4200 * include/backward/bvector.h (bit_vector): Allocator is in std
4203 2004-03-19 Phil Edwards <phil@codesourcery.com>
4205 * acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV,
4206 not libiconv. SUBST this variable as well.
4207 * testsuite/Makefile.am (site.exp): New target, based on that
4208 created by automake. Also set libiconv.
4210 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in,
4211 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
4212 testsuite/Makefile.in: Regenerate.
4214 2004-03-16 Benjamin Kosnik <bkoz@redhat.com>
4216 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is
4217 new_allocator for all hosts.
4218 * configure: Regenerate.
4220 2004-03-16 Paolo Carlini <pcarlini@suse.de>
4222 * testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers.
4223 * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
4225 2004-03-15 Paolo Carlini <pcarlini@suse.de>
4227 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4228 Adjust the logic underlying the parsing of symbol to deal
4229 correctly with an optional sign component (i.e., when either
4230 negative_sign or positive_sign is empty)
4231 * testsuite/22_locale/money_get/get/char/19.cc: New.
4232 * testsuite/22_locale/money_get/get/wchar_t/19.cc: New.
4234 2004-03-15 Paolo Carlini <pcarlini@suse.de>
4236 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4237 Do not accept an incomplete currency symbol.
4238 * testsuite/22_locale/money_get/get/char/18.cc: New.
4239 * testsuite/22_locale/money_get/get/wchar_t/18.cc: New.
4241 2004-03-13 Benjamin Kosnik <bkoz@redhat.com>
4243 * config/allocator: New.
4244 * config/allocator/bitmap_allocator_base.h: New.
4245 * config/allocator/malloc_allocator_base.h: New.
4246 * config/allocator/mt_allocator_base.h: New.
4247 * config/allocator/new_allocator_base.h: New.
4248 * include/bits/allocator.h: Include c++allocator.h.
4249 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New.
4250 * aclocal.m4: Regenerate.
4251 * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR.
4252 * configure: Regenerate.
4253 * include/Makefile.am (host_headers_extra): Add c++allocator.h.
4254 * include/Makefile.in: Regenerate.
4255 * docs/html/configopts.html: Add enable-libstdcxx-allocator.
4257 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
4259 * include/bits/allocator.h: Revert.
4261 2004-03-12 Paolo Carlini <pcarlini@suse.de>
4263 * docs/html/ext/howto.html: Add entry for DR 253 [Ready].
4264 * include/bits/gslice_array.h: Add comment about DR 253.
4265 * include/bits/indirect_array.h: Likewise.
4266 * include/bits/mask_array.h: Likewise.
4267 * include/bits/slice_array.h: Likewise.
4269 2004-03-12 Benjamin Kosnik <bkoz@redhat.com>
4271 * testsuite/20_util/allocator/14176.cc: New.
4272 * include/ext/mt_allocator.h: Formatting fixes.
4274 2004-03-11 Dhruv Matani <dhruvbird@HotPOP.com>
4276 * include/Makefile.am (ext_headers): Add
4277 ${ext_srcdir}/bitmap_allocator.h .
4278 * include/Makefile.in: Regenerate.
4279 * docs/html/ext/ballocator_doc.txt: New file.
4280 * include/ext/bitmap_allocator.h: New file.
4281 * testsuite/performance/20_util/allocator/list_sort_search.cc: Add
4283 * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
4284 * testsuite/performance/20_util/allocator/producer_consumer.cc: Add
4285 test for the bitmap_allocator<>.
4286 * testsuite/performance/20_util/allocator/insert.cc: Likewise.
4287 * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
4288 * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
4290 2004-03-11 Paolo Carlini <pcarlini@suse.de>
4292 * include/std/std_complex.h (pow(const complex&, const _Tp&),
4293 pow(const _Tp&, const complex&), pow(const complex&,
4294 const complex&)): Fully qualify with std:: a few calls.
4295 * testsuite/26_numerics/complex/13450.cc: Minor tweak.
4297 2004-03-11 Steven Bosscher <stevenb@suse.de>
4300 * include/c_std/cmath.tcc (__cmath_power): Define inline.
4302 2004-03-10 Kelley Cook <kcook@gcc.gnu.org>
4304 * configure.ac: Bump AC_PREREQ to 2.59.
4306 2004-03-10 Paolo Carlini <pcarlini@suse.de>
4308 * testsuite/26_numerics/valarray_subset_assignment.cc: Fix typos.
4310 2004-03-10 Paul Kienzle <pkienzle@nist.gov>
4311 Paolo Carlini <pcarlini@suse.de>
4314 * include/std/std_complex.h (pow(const complex&, const _Tp&),
4315 pow(const _Tp&, const complex&)): Use cmath pow only when safe.
4316 * testsuite/26_numerics/complex/13450.cc: New.
4318 * testsuite/26_numerics/cmath/overloads.C: Rename to overloads.cc.
4319 * testsuite/26_numerics/complex/pow.C: Rename to pow.cc and fix.
4321 2004-03-10 Jerry Quinn <jlquinn@optonline.net>
4324 * include/bits/gslice_array.h (gslice_array()): Make public.
4325 (operator=(gslice_array)): Make public. Implement.
4326 * include/bits/indirect_array.h (indirect_array()): Make public.
4327 * include/bits/mask_array.h (mask_array()): Make public.
4328 (operator=(mask_array)): Make public. Implement.
4329 * include/bits/valarray_array.tcc (__valarray_copy):
4330 Comment. Add versions for gslice_array and mask_array.
4331 * testsuite/26_numerics/valarray_subset_assignment.cc: New test.
4333 2004-03-09 Benjamin Kosnik <bkoz@redhat.com>
4335 * testsuite/23_containers/deque/modifiers/swap.cc: Add in bits for
4337 * testsuite/23_containers/vector/modifiers/swap.cc: Same.
4338 * testsuite/23_containers/set/modifiers/swap.cc: Same.
4339 * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
4340 * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
4341 * testsuite/23_containers/map/modifiers/swap.cc: Same.
4342 * testsuite/23_containers/list/modifiers/swap.cc: Same.
4344 * testsuite/22_locale/locale/cons/12658_thread.cc: Catch exceptions.
4346 2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
4349 * testsuite/23_containers/deque/modifiers/swap.cc: New.
4350 * testsuite/23_containers/list/modifiers/swap.cc: New.
4351 * testsuite/23_containers/map/modifiers/swap.cc: New.
4352 * testsuite/23_containers/multimap/modifiers/swap.cc: New.
4353 * testsuite/23_containers/multiset/modifiers/swap.cc: New.
4354 * testsuite/23_containers/set/modifiers/swap.cc: New.
4355 * testsuite/23_containers/vector/modifiers/swap.cc: New.
4357 2004-03-08 Petur Runolfsson <peturr02@ru.is>
4360 * testsuite/22_locale/locale/cons/12658_thread.cc: New.
4362 2004-03-08 Paolo Carlini <pcarlini@suse.de>
4364 * docs/html/ext/howto.html: Add entry for DR 103 [WP].
4365 * include/bits/stl_multiset.h: Add comment about DR 103.
4366 * include/bits/stl_set.h: Likewise.
4368 2004-03-08 Paolo Carlini <pcarlini@suse.de>
4370 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4371 The value _space_ indicates that at least one space is required
4373 * testsuite/22_locale/money_get/get/char/17.cc: New.
4374 * testsuite/22_locale/money_get/get/wchar_t/17.cc: New.
4376 * testsuite/22_locale/money_get/get/char/7.cc: Minor tweaks.
4377 * testsuite/22_locale/money_get/get/wchar_t/7.cc: Likewise.
4379 * include/bits/locale_facets.tcc (money_get<>::do_get(long_double&)):
4380 Remove redundant conditional on __str.size().
4382 2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
4384 * include/bits/allocator.h: Switch defaults to mt_alloc.
4386 2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
4388 * include/ext/mt_allocator.h (_S_initialize): If
4389 !__GTHREAD_MUTEX_INIT, then initialize _S_thread_freelist_mutex.
4391 2004-03-06 Benjamin Kosnik <bkoz@redhat.com>
4394 * src/locale_init.cc (locale::locale): Lock critical regions with
4396 (locale::global): Same.
4397 * include/bits/concurrence.h (__glibcxx_mutex_define_initialized):
4398 Add in once bits for cases without __GTHREAD_MUTEX_INIT.
4399 (__glibcxx_mutex_lock): Same.
4401 * config/cpu/generic/atomicity.h: Remove
4402 _GLIBCXX_NEED_GENERIC_MUTEX, use concurrence.h.
4403 * src/misc-inst.cc: Move all locking bits out of this file.
4405 * config/os/hpux/os_defines.h: Remove _GLIBCXX_INST_ATOMICITY_LOCK.
4406 * src/misc-inst.cc: Same.
4407 * config/cpu/hppa/atomicity.h: Same.
4409 * config/linker-map.gnu: Remove types in the signature of atomic
4410 exports, as they may vary.
4412 2004-03-06 Paolo Carlini <pcarlini@suse.de>
4414 * include/bits/locale_facets.tcc: Tweak the comment preceding
4415 has_facet: doesn't throw.
4417 2004-03-06 Paolo Carlini <pcarlini@suse.de>
4419 * testsuite/22_locale/money_get/get/char/1.cc: Clean up.
4420 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
4421 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
4422 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
4423 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
4424 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
4425 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
4426 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
4428 2004-03-06 Paolo Carlini <pcarlini@suse.de>
4430 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
4431 num_get<>::_M_extract_int, num_get<>::do_get(bool&),
4432 __pad<>::_S_pad): Prefer plain operator== to traits::eq().
4433 * testsuite/testsuite_character.h (struct __gnu_test::character):
4435 * testsuite/testsuite_hooks.h (struct __gnu_test::pod_char):
4438 2004-03-05 Paolo Carlini <pcarlini@suse.de>
4440 * testsuite/27_io/fpos/14320-2.cc: Remove xfail.
4442 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
4444 * testsuite/23_containers/multiset/insert/1.cc: Test result string.
4446 * testsuite/23_containers/bitset/invalidation/1.cc: Main always
4448 * testsuite/23_containers/deque/invalidation/4.cc: Same.
4449 * testsuite/23_containers/list/invalidation/1.cc: Same.
4450 * testsuite/23_containers/list/invalidation/2.cc: Same.
4451 * testsuite/23_containers/list/invalidation/3.cc: Same.
4452 * testsuite/23_containers/list/invalidation/4.cc: Same.
4453 * testsuite/23_containers/map/invalidation/2.cc: Same.
4454 * testsuite/23_containers/multimap/invalidation/1.cc: Same.
4455 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
4456 * testsuite/23_containers/multiset/invalidation/1.cc: Same.
4457 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
4458 * testsuite/23_containers/set/invalidation/1.cc: Same.
4459 * testsuite/23_containers/set/invalidation/2.cc: Same.
4460 * testsuite/23_containers/vector/invalidation/1.cc: Same.
4461 * testsuite/23_containers/vector/invalidation/2.cc: Same.
4462 * testsuite/23_containers/vector/invalidation/3.cc: Same.
4463 * testsuite/23_containers/vector/invalidation/4.cc: Same.
4465 2004-03-04 Paolo Carlini <pcarlini@suse.de>
4467 * scripts/testsuite_flags.in: Add "-D_GLIBCXX_ASSERT" to
4469 * testsuite/lib/libstdc++.exp: Don't add it conditionally to
4471 * testsuite/18_support/numeric_limits.cc: Remove "-D_GLIBCXX_ASSERT"
4472 from the dg-options.
4473 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
4474 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
4475 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
4476 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
4477 * testsuite/23_containers/vector/resize/1.cc: Likewise.
4478 * testsuite/26_numerics/complex_value.cc: Likewise.
4479 * testsuite/27_io/ios_base/storage/1.cc: Likewise.
4480 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
4481 * testsuite/27_io/ios_base/storage/3.cc: Likewise.
4482 * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
4483 * testsuite/27_io/objects/char/5.cc: Likewise.
4484 * testsuite/27_io/objects/wchar_t/5.cc: Likewise.
4485 * testsuite/backward/11460.cc: Likewise.
4486 * testsuite/thread/pthread7-rope.cc: Likewise.
4488 * testsuite/21_strings/basic_string/compare/char/1.cc: Add
4489 missing test variable.
4490 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Add
4491 missing test variable.
4493 2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
4495 * testsuite/20_util/allocator/1.cc: Provide explicit
4496 instantiations for non-weak systems.
4497 * testsuite/20_util/binders.cc: Same.
4498 * testsuite/20_util/allocator/8230.cc: Same.
4499 * testsuite/20_util/allocator/10378.cc: Same.
4500 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4501 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4502 * testsuite/thread/pthread7-rope.cc: Same.
4503 * testsuite/thread/pthread6.cc: Same.
4504 * testsuite/thread/pthread5.cc: Same.
4505 * testsuite/thread/pthread4.cc: Same.
4506 * testsuite/thread/pthread1.cc: Same.
4507 * testsuite/ext/rope.cc: Same.
4508 * testsuite/ext/hash_set.cc: Same.
4509 * testsuite/ext/hash_map.cc: Same.
4510 * testsuite/ext/concept_checks.cc: Same.
4511 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same.
4512 * testsuite/25_algorithms/unique/2.cc: Same.
4513 * testsuite/25_algorithms/unique/1.cc: Same.
4514 * testsuite/25_algorithms/rotate.cc: Same.
4515 * testsuite/25_algorithms/min_max.cc: Same.
4516 * testsuite/25_algorithms/equal.cc: Same.
4517 * testsuite/24_iterators/rel_ops.cc: Same.
4518 * testsuite/24_iterators/iterator.cc: Same.
4519 * testsuite/24_iterators/insert_iterator.cc: Same.
4520 * testsuite/24_iterators/front_insert_iterator.cc: Same.
4521 * testsuite/24_iterators/back_insert_iterator.cc: Same.
4522 * testsuite/23_containers/vector/resize/1.cc: Same.
4523 * testsuite/23_containers/vector/modifiers/2.cc: Same.
4524 * testsuite/23_containers/vector/modifiers/1.cc: Same.
4525 * testsuite/23_containers/vector/invalidation/4.cc: Same.
4526 * testsuite/23_containers/vector/invalidation/3.cc: Same.
4527 * testsuite/23_containers/vector/invalidation/2.cc: Same.
4528 * testsuite/23_containers/vector/invalidation/1.cc: Same.
4529 * testsuite/23_containers/vector/element_access/1.cc: Same.
4530 * testsuite/23_containers/vector/cons/6513.cc: Same.
4531 * testsuite/23_containers/vector/cons/3.cc: Same.
4532 * testsuite/23_containers/vector/cons/2.cc: Same.
4533 * testsuite/23_containers/vector/cons/1.cc: Same.
4534 * testsuite/23_containers/vector/capacity/8230.cc: Same.
4535 * testsuite/23_containers/vector/capacity/1.cc: Same.
4536 * testsuite/23_containers/vector/bool/6886.cc: Same.
4537 * testsuite/23_containers/stack/members/7158.cc: Same.
4538 * testsuite/23_containers/set/invalidation/2.cc: Same.
4539 * testsuite/23_containers/set/invalidation/1.cc: Same.
4540 * testsuite/23_containers/queue/members/7157.cc: Same.
4541 * testsuite/23_containers/priority_queue/members/7161.cc: Same.
4542 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
4543 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
4544 * testsuite/23_containers/multiset/insert/1.cc: Same.
4545 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
4546 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
4547 * testsuite/23_containers/map/operators/1.cc: Same.
4548 * testsuite/23_containers/map/invalidation/2.cc: Same.
4549 * testsuite/23_containers/map/invalidation/1.cc: Same.
4550 * testsuite/23_containers/map/insert/1.cc: Same.
4551 * testsuite/23_containers/list/operators/4.cc: Same.
4552 * testsuite/23_containers/list/operators/3.cc: Same.
4553 * testsuite/23_containers/list/operators/2.cc: Same.
4554 * testsuite/23_containers/list/operators/1.cc: Same.
4555 * testsuite/23_containers/list/modifiers/3.cc: Same.
4556 * testsuite/23_containers/list/modifiers/2.cc: Same.
4557 * testsuite/23_containers/list/modifiers/1.cc: Same.
4558 * testsuite/23_containers/list/invalidation/4.cc: Same.
4559 * testsuite/23_containers/list/invalidation/3.cc: Same.
4560 * testsuite/23_containers/list/invalidation/2.cc: Same.
4561 * testsuite/23_containers/list/invalidation/1.cc: Same.
4562 * testsuite/23_containers/list/cons/9.cc: Same.
4563 * testsuite/23_containers/list/cons/8.cc: Same.
4564 * testsuite/23_containers/list/cons/7.cc: Same.
4565 * testsuite/23_containers/list/cons/6.cc: Same.
4566 * testsuite/23_containers/list/cons/5.cc: Same.
4567 * testsuite/23_containers/list/cons/4.cc: Same.
4568 * testsuite/23_containers/list/cons/3.cc: Same.
4569 * testsuite/23_containers/list/cons/2.cc: Same.
4570 * testsuite/23_containers/list/cons/1.cc: Same.
4571 * testsuite/23_containers/list/capacity/1.cc: Same.
4572 * testsuite/23_containers/deque/operators/1.cc: Same.
4573 * testsuite/23_containers/deque/invalidation/4.cc: Same.
4574 * testsuite/23_containers/deque/invalidation/3.cc: Same.
4575 * testsuite/23_containers/deque/invalidation/2.cc: Same.
4576 * testsuite/23_containers/deque/invalidation/1.cc: Same.
4577 * testsuite/23_containers/deque/cons/2.cc: Same.
4578 * testsuite/23_containers/deque/cons/1.cc: Same.
4580 * src/allocator.cc: Add char, wchar_t instantiations
4581 to match extern template declarations in memory.h.
4583 2004-03-03 Paolo Carlini <pcarlini@suse.de>
4585 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
4586 Fix warning regression.
4588 2004-03-03 Paolo Carlini <pcarlini@suse.de>
4590 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
4591 Deal properly with empty __digits and negative frac_digits,
4594 2004-03-03 Jonathan Wakely <redi@gcc.gnu.org>
4596 * docs/html/documentation.html: Regenerate.
4598 2004-03-02 Paolo Carlini <pcarlini@suse.de>
4601 * include/bits/postypes.h (class streamoff): Remove, now
4602 streamoff is just typedef a 64 bit signed integer type.
4603 (class fpos): Tweak consistently.
4604 * testsuite/27_io/fpos/14320-1.cc: New.
4605 * testsuite/27_io/fpos/14320-2.cc: New.
4606 * testsuite/27_io/fpos/14320-3.cc: New.
4607 * testsuite/27_io/fpos/14320-4.cc: New.
4608 * testsuite/27_io/fpos/14320-5.cc: New.
4609 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: xfail for now.
4611 2004-03-02 Paolo Carlini <pcarlini@suse.de>
4613 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4614 Reorganize a bit the main parsing loop, thus early detecting
4615 an empty value component.
4616 * testsuite/22_locale/money_get/get/char/16.cc: New.
4617 * testsuite/22_locale/money_get/get/wchar_t/16.cc: New.
4619 2004-03-02 Benjamin Kosnik <bkoz@redhat.com>
4621 Support automake 1.8.2
4622 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override.
4623 * po/Makefile.am (EXTRA_DIST): New.
4624 * po/Makefile.in: Regenerate.
4625 * Makefile.in: Same.
4626 * include/Makefile.in: Same.
4627 * libmath/Makefile.in: Same.
4628 * libsupc++/Makefile.in: Same.
4629 * src/Makefile.in: Same.
4630 * testsuite/Makefile.in: Same.
4632 * include/Makefile.am (${host_builddir}/gthr-posix.h): Use
4633 __GXX_WEAK__ instead of SUPPORTS_WEAK.
4634 (${host_builddir}/gthr-default.h): Same.
4635 (${host_builddir}/gthr.h): Same.
4636 * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove
4637 _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via
4639 * aclocal.m4: Regenerate.
4640 * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK.
4641 * config.h.in: Regenerate.
4644 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>
4646 Support autoconf 2.59
4647 * acinclude.m4: Quote correctly.
4648 * aclocal.m4: Regenerate.
4651 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>
4653 * docs/html/test.html: Add multilib RUNTESTFLAGS example.
4655 * docs/html/18_support/howto.html: Add bit about writing to
4656 stderr, mostly by Zack.
4658 2004-03-01 Paolo Carlini <pcarlini@suse.de>
4660 * include/bits/locale_facets.tcc (money_get<>::_M_extract,
4661 money_get<>::do_get(string_type&)): ... and two more.
4663 2004-03-01 Paolo Carlini <pcarlini@suse.de>
4665 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4666 Fix thinkos in the switch from string_type& to string& as last
4669 2004-03-01 Paolo Carlini <pcarlini@suse.de>
4671 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
4672 Also when parsing exponent sign, first look for thousands_sep
4673 and decimal_point; tweak a bit.
4674 * testsuite/22_locale/num_get/get/char/15.cc: New.
4675 * testsuite/22_locale/num_get/get/wchar_t/15.cc: New.
4677 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
4678 num_get<>::_M_extract_int): Reorder some conditionals.
4680 2004-03-01 Paolo Carlini <pcarlini@suse.de>
4682 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4683 Consistently with numpunct, enforce the requirements in
4684 22.2.6.3, p3 for the thousands separators; tweak a bit.
4685 * testsuite/22_locale/money_get/get/char/15.cc: New.
4686 * testsuite/22_locale/money_get/get/wchar_t/15.cc: New.
4688 2004-03-01 David Billinghurst <David.Billinghurst@riotinto.com>
4690 * testsuite/lib/libstdc++.exp (v3-list-tests): Use
4691 testsuite_files from correct multilib blddir when running
4694 2004-02-29 Phil Edwards <phil@codesourcery.com>
4696 * testsuite/Makefile.am (check-abi, check-abi-verbose): Copy
4697 the summary file to the logfile.
4698 * testsuite/Makefile.in: Regenerate.
4700 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4702 * config/cpu/hppa/atomicity.h (__atomic_add): Make first argument
4704 * config/os/hpux/os_defines.h (_GLIBCXX_INST_ATOMICITY_LOCK): Use
4705 __GXX_WEAK__ instead of _GLIBCXX_SUPPORTS_WEAK.
4707 2004-02-28 Paolo Carlini <pcarlini@suse.de>
4709 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
4710 According to 22.2.3.1, p2, 'units' may be followed by 'e' with
4711 no 'decimal-point' in the middle: in this case too we must fix
4712 up __found_grouping; slightly tweak.
4713 * testsuite/22_locale/num_get/get/char/14.cc: New.
4714 * testsuite/22_locale/num_get/get/wchar_t/14.cc: New.
4716 2004-02-27 Eric Christopher <echristo@redhat.com>
4717 Phil Edwards <phil@codesourcery.com>
4719 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
4720 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
4721 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
4722 testsuite/22_locale/collate/hash/wchar_t/2.cc,
4723 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
4724 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
4725 testsuite/22_locale/collate/transform/wchar_t/2.cc,
4726 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
4727 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
4728 Use dg-require-iconv.
4729 * testsuite/lib/libstdc++.exp: Load target-supports.exp.
4731 2004-02-27 Phil Edwards <phil@codesourcery.com>
4732 Eric Christopher <echristo@redhat.com>
4734 * testsuite/config/default.exp: Update with comments.
4735 (${tool}_target_compile): New wrapper routine.
4736 * testsuite/lib/dg-options.exp: New file, with dg-require-iconv.
4737 * testsuite/lib/libstdc++.exp: Update with comments and cosmetic
4739 (load_gcc_lib, v3track): New routines.
4740 (v3-init): Rename to libstdc++_init.
4741 * testsuite/libstdc++-dg/normal.exp: No longer call v3-init.
4742 Move DEFAULT_CXXFLAGS handling into libstdc++_init.
4744 2004-02-27 Benjamin Kosnik <bkoz@redhat.com>
4746 * config/cpu/hppa/atomicity.h: Include c++config.h to get defines.
4748 * src/misc-inst.cc (_S_atomicity_lock): Move to __gnu_cxx.
4750 * config/os/irix/irix5.2/atomicity.h: Merge..
4751 * config/os/irix/irix6.5/atomicity.h: Merge..
4752 * config/os/irix/atomicity.h: ...into this.
4753 * config/os/irix/atomic_word.h: New.
4754 * configure.host: Set atomic_word_dir for irix.
4756 * hppa/atomicity.h: Change __Atomicity_lock to _Atomicity_lock.
4757 * i386/atomicity.h: Same.
4758 * m68k/atomicity.h: Same.
4759 * sparc/atomicity.h: Same.
4761 2004-02-27 David Edelsohn <edelsohn@gnu.org>
4763 * config/os/aix/atomicity.h: Use __gnu_cxx namespace. Remove
4764 static, and inline keywords.
4766 2004-02-27 Paolo Carlini <pcarlini@suse.de>
4768 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
4769 num_get<>::_M_extract_int, money_get<>::_M_extract): If appropriate,
4770 call reserve on the __tmp_gruping string.
4771 (num_get<>::_M_extract_float): Don't append unnecessarily a
4772 char() to the returned string.
4773 * include/bits/locale_facets.tcc: Trivial reformattings.
4775 2004-02-27 Paolo Carlini <pcarlini@suse.de>
4777 * include/bits/locale_facets.h (money_get<>::_M_extract):
4778 Change signature: now takes a plain string&.
4779 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4780 Update consistently the definition; use the moneypunct cache
4781 to parse the value; use swap to change __units.
4782 (money_get<>::do_get(long double&)): Update call of _M_extract,
4783 avoid ctype::narrow, not correct wrt the standard.
4784 (money_get<>::do_get(string_type&)): Likewise, update call
4785 of _M_extract, use ctype::widen.
4786 * src/locale-inst.cc: Tweak instantiations of _M_extract.
4788 2004-02-26 Ian Lance Taylor <ian@wasabisystems.com>
4790 * testsuite/demangle/abi_examples/01.cc: Expect error -2.
4791 * testsuite/demangle/abi_examples/02.cc: Likewise.
4792 * testsuite/demangle/regression/cw-11.cc: Likewise.
4793 * testsuite/demangle/regression/cw-16.cc: Change two expected
4794 results to match libiberty demangler output.
4796 2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
4799 * libsupc++/Makefile.am: Use libiberty demangler.
4800 (c_sources): Add cp-demangle.c.
4801 * libsupc++/Makefile.in: Regenerate.
4802 * src/Makefile.am (sources): Remove demangle.cc.
4803 * src/Makefile.in: Regenerate.
4804 * include/Makefile.am (bits_headers): Move demangle.h.
4805 (ext_headers): ...here.
4806 * include/Makefile.in: Regenerate.
4807 * include/bits/demangle.h: Move...
4808 * include/ext/demangle.h: ...here.
4809 * src/demangle.cc: Remove.
4811 2004-02-26 Benjamin Kosnik <bkoz@redhat.com>
4813 * include/bits/demangle.h: Add type template parameter to all
4814 templates with just an Allocator template parameter.
4816 2004-02-25 Benjamin Kosnik <bkoz@redhat.com>
4818 * include/bits/atomicity.h: New, forward declarations for __atomic_add
4819 and __exchange_and_add.
4820 * config/cpu/generic/atomic_word.h: New, typdef for atomic word.
4821 * config/cpu/cris/atomic_word.h: Same.
4822 * config/cpu/sparc/atomic_word.h: Same.
4823 * include/bits/ios_base.h (_Callback_list::_M_remove_reference):
4824 Qualifiy with __gnu_cxx.
4825 (_Callback_list::_M_add_reference): Same.
4826 * include/bits/locale_classes.h (locale::facet::_M_add_reference): Add.
4827 (locale::facet::_M_remove_reference): Same.
4828 (locale::_Impl::_M_add_reference): Add.
4829 (locale::_Impl::_M_remove_reference): Same.
4830 * include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same.
4831 (basic_string::_Rep::_M_dispose): Same.
4832 * src/ios.cc (ios_base::xalloc): Same.
4833 * src/ios_init.cc (ios_base::Init::Init): Same.
4834 (ios_base::Init::~Init): Same.
4835 * src/locale.cc (locale::id::_M_id): Same.
4836 * config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove
4837 static, and inline keywords.
4838 * config/cpu/alpha/atomicity.h: Same.
4839 * config/cpu/cris/atomicity.h: Same.
4840 * config/cpu/generic/atomicity.h: Same.
4841 * config/cpu/hppa/atomicity.h: Same.
4842 * config/cpu/i386/atomicity.h: Same.
4843 * config/cpu/ia64/atomicity.h: Same.
4844 * config/cpu/m68k/atomicity.h: Same.
4845 * config/cpu/mips/atomicity.h: Same.
4846 * config/cpu/powerpc/atomicity.h: Same.
4847 * config/cpu/s390/atomicity.h: Same.
4848 * config/cpu/sparc/atomicity.h: Same.
4850 * src/Makefile.am (host_sources): Add atomicity.cc.
4851 (atomicity.cc): New rule.
4852 * src/Makefile.in: Regenerate.
4853 * include/Makefile.am (host_headers): Remove host atomicity.h.
4854 (host_headers): Add atomic_word.h.
4855 (bits_headers): Add bits atomicity.h.
4856 Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
4857 * include/Makefile.in: Regenerate.
4858 * configure.host (atomic_word_dir): Add.
4859 * configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change
4860 ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR.
4861 * configure: Regenerate.
4862 * config/linker-map.gnu: Export __exchange_and_add, and __atomic_add.
4864 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
4865 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
4867 2004-02-25 Jonathan Wakely <redi@gcc.gnu.org>
4869 * docs/html/20_util/howto.html, docs/html/20_util/allocator.html,
4870 docs/html/ext/howto.html, docs/html/ext/mt_allocator.html:
4871 Fix markup, more <link> tags.
4873 2004-02-25 Carlo Wood <carlo@alinoe.com>
4876 namespace __gnu_cxx::demangler
4877 (session<Allocator>::qualifier_list_Allocator): Add
4878 (session<Allocator>::M_qualifier_list_alloc): Add
4879 (session<Allocator>::decode_type_with_postfix):
4880 Use M_qualifier_list_alloc instead of calling operator new/delete.
4882 2004-02-24 Paolo Carlini <pcarlini@suse.de>
4885 * include/bits/postypes.h (class streamoff): Add operator++(),
4886 operator++(int), operator--() and operator--(int).
4887 * testsuite/27_io/fpos/14252.cc: New.
4889 2004-02-24 Richard Sandiford <rsandifo@redhat.com>
4891 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Fix bounds
4892 error in handling of hex constants.
4894 2004-02-24 Paolo Carlini <pcarlini@suse.de>
4896 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
4897 Prefer basic_string::append to operator+= and a temporary.
4899 2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
4901 * libsupc++/vterminate.cc (__gnu_cxx::__verbose_terminate_handler):
4902 Only use fputs, not write.
4904 2004-02-23 Benjamin Kosnik <bkoz@redhat.com>
4906 * include/ext/malloc_allocator.h: Add operators ==, !=.
4907 * include/ext/new_allocator.h: Add operators ==, !=.
4908 * include/ext/mt_allocator.h (__mt_alloc::tune): New.
4909 (__mt_alloc::_S_get_options): New.
4910 (__mt_alloc::_S_set_options): New.
4911 (__mt_alloc::_S_thread_key_destr): To _S_destroy_thread_key.
4912 (__mt_alloc::_S_no_of_bins): To _S_bin_size.
4913 Move functions out of line, simplify, format.
4914 * src/allocator.cc: Simplify explicit instantiations.
4915 * include/bits/allocator.h: Tweak.
4917 2004-02-22 Paolo Carlini <pcarlini@suse.de>
4919 * include/bits/locale_facets.tcc (money_put<>::_M_insert):
4920 Restructure formatting of value component, first dealing with
4921 the non-decimal digits; use reserve.
4923 2004-02-22 Paolo Carlini <pcarlini@suse.de>
4925 * include/bits/locale_facets.h (class money_get): Inherit
4926 from money_base too; tweak declaration of _M_extract, now
4927 parameterized on _Intl too.
4928 * include/bits/locale_facets.tcc (money_get<>::_M_extract):
4929 Update definition to use the cache; call reserve on __res to
4930 avoid multiple reallocations; fix parsing of sign component
4931 according to 22.2.6.1.2, p3.
4932 (money_get<>::do_get(long double&),
4933 money_get<>::do_get(string_type&)): Update calls of _M_extract.
4934 * src/locale-inst.cc: Add instantiations of
4935 money_get::_M_extract<false> and money_get::_M_extract<true>.
4936 * testsuite/22_locale/money_get/get/char/14.cc: New.
4937 * testsuite/22_locale/money_get/get/wchar_t/14.cc: Ditto.
4939 2004-02-21 Mark Mitchell <mark@codesourcery.com>
4941 * libsupc++/vterminate.cc
4942 (__gnu_cxx::__verbose_terminate_handler): Guard against recursive
4944 * src/demangle.cc (__cxa_demangle): Wrap in try-catch block.
4946 * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
4947 not set RLIMIT_AS on HP-UX.
4949 2004-02-21 Mark Mitchell <mark@codesourcery.com>
4951 * testsuite/testsuite_hooks.cc (__gnu_test::set_memory_limits): Do
4952 not set RLIMIT_AS on HP-UX.
4954 2004-02-21 Paolo Carlini <pcarlini@suse.de>
4956 * include/bits/locale_facets.h (class money_base): Add { _S_minus,
4957 _S_zero, _S_end } enum, _S_atoms.
4958 (struct __moneypunct_cache<>): Parameterize on _Intl too; add
4959 _M_grouping_size, _M_curr_symbol_size, _M_positive_sign_size,
4960 _M_negative_sign_size, _M_atoms; tweak constructor consistently.
4961 (__moneypunct_cache<>::~__moneypunct_cache): Update.
4962 (__moneypunct_cache<>::_M_cache): Fill the cache.
4963 (class moneypunct): Tweak __cache_type typedef.
4964 (class money_put): Inherit from money_base too; tweak declaration
4965 of _M_insert, now parameterized on _Intl.
4966 * include/bits/locale_facets.tcc
4967 (struct __use_cache<__moneypunct_cache<_CharT, _Intl> >): New.
4968 (money_put<>::_M_insert): Update definition to use the cache;
4969 call reserve on __res to avoid multiple reallocations.
4970 (money_put<>::do_put(long double),
4971 money_put<>::do_put(const string_type&): Update calls of _M_insert.
4972 * config/locale/generic/monetary_members.cc
4973 (moneypunct<char, true>::_M_initialize_moneypunct,
4974 moneypunct<char, false>::_M_initialize_moneypunct,
4975 moneypunct<wchar_t, true>::_M_initialize_moneypunct,
4976 moneypunct<wchar_t, false>::_M_initialize_moneypunct): Update.
4977 * config/locale/gnu/monetary_members.cc: Likewise.
4978 * config/locale/gnu/monetary_members.cc
4979 (moneypunct<wchar_t, true>::~moneypunct(),
4980 moneypunct<wchar_t, false>::~moneypunct()): Likewise.
4981 * src/globals_locale.cc: Tweak fake_money_cache_c.
4982 * src/locale-inst.cc: Add instantiations for
4983 money_put::_M_insert<false> and money_put::_M_insert<true> and
4984 __moneypunct_cache<C, false>, __moneypunct_cache<C, true>.
4985 * src/locale_facets.cc: Define money_base::_S_atoms.
4986 * src/locale_init.cc: Update placement new of
4987 __moneypunct_cache<char, false>, __moneypunct_cache<char, true>,
4988 __moneypunct_cache<wchar_t, false>, __moneypunct_cache<wchar_T, true>.
4990 * config/locale/generic/numeric_members.cc: Clean up.
4991 * config/locale/gnu/numeric_members.cc: Likewise.
4992 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
4993 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
4994 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
4995 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
4996 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
4997 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
4999 2004-02-20 Mark Mitchell <mark@codesourcery.com>
5001 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Open
5002 FIFO for writing with ios_base::in|ios_base::out.
5003 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5004 * testsuite/27_io/objects/char/7.cc: Likewise.
5005 * testsuite/27_io/objects/char/9661-1.cc: Open FIFO for writing
5008 2004-02-19 David Edelsohn <edelsohn@gnu.org>
5010 * 22_locale/collate/compare/wchar_t/2.cc: Change input-charset
5011 from iso-8859-1 to ISO8859-1.
5012 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: Same.
5013 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: Same.
5014 * 22_locale/collate/hash/wchar_t/2.cc: Same.
5015 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: Same.
5016 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: Same.
5017 * 22_locale/collate/transform/wchar_t/2.cc: Same.
5018 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: Same.
5019 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: Same.
5021 2004-02-18 Paolo Carlini <pcarlini@suse.de>
5023 * include/bits/locale_facets.h (money_get<>::_M_extract):
5024 New, helper for do_get.
5025 (money_put<>::_M_insert): Likewise, for do_put.
5026 * include/bits/locale_facets.tcc (money_get<>::_M_extract,
5027 money_put<>::_M_insert): Define.
5028 (money_get<>::do_get(long double&), money_get<>::do_get(
5029 string_type&), money_put::do_put(long double),
5030 money_put::do_put(const string_type&)): Use the helpers.
5032 2004-02-18 Paolo Carlini <pcarlini@suse.de>
5034 * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
5035 Rewrite, avoiding recursion.
5036 (__gnu_internal::xwrite): Minor tweaks.
5038 2004-02-17 Stefan Olsson <stefan@xapa.se>
5040 * include/ext/mt_allocator.h: Removed the last
5041 pointer. Deallocated blocks are now added to the front of
5042 freelists as proposed by Felix Yen. This gives roughly 10%
5043 performance boost and saves some memory.
5044 * docs/html/ext/mt_allocator.html: Change due to that deallocated
5045 blocks now are added to the front of freelists. The reason to this
5046 approach is also explained.
5048 2004-02-17 Paolo Carlini <pcarlini@suse.de>
5050 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
5051 num_get<>::_M_extract_int, money_get<>::do_get): Simplify
5052 grouping fidelity conditional.
5054 2004-02-16 Paolo Carlini <pcarlini@suse.de>
5056 * testsuite/27_io/basic_filebuf/overflow/char/13858.cc:
5057 Qualify exception with std::.
5058 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Ditto.
5059 * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
5060 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
5061 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
5062 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
5064 2004-02-16 Paolo Carlini <pcarlini@suse.de>
5066 * testsuite/ext/enc_filebuf/char/13189.cc: Don't check
5067 for now that the catch block is not reached.
5068 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
5070 2004-02-16 Paolo Carlini <pcarlini@suse.de>
5072 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
5073 Fix parsing of the remaining sign characters.
5074 * 22_locale/money_get/get/char/2.cc: Tweak: now, correctly,
5075 the input is scanned 'til eof.
5076 * 22_locale/money_get/get/char/4.cc: Likewise.
5077 * 22_locale/money_get/get/wchar_t/2.cc: Likewise.
5078 * 22_locale/money_get/get/wchar_t/4.cc: Likewise.
5079 * 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format,
5080 not do_pos_format: the former is the only one that matters during
5082 * 22_locale/money_get/get/wchar_t/8.cc: Likewise.
5084 * 22_locale/money_get/get/char/6.cc: Minor tweak.
5085 * 22_locale/money_get/get/wchar_t/6.cc: Likewise.
5087 2004-02-15 David Asher <david.asher@cavium.com>
5090 * include/bits/locale_facets.tcc (__pad<>::_S_pad): Don't
5091 access __olds beyond __oldlen.
5093 2004-02-14 Paolo Carlini <pcarlini@suse.de>
5095 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Make
5096 sure the exception is actually thrown.
5097 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
5098 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
5099 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
5101 2004-02-14 Paolo Carlini <pcarlini@suse.de>
5104 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external):
5105 In case of conversion errors, throw ios_failure; simplify.
5106 * testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New.
5107 * testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
5108 * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak,
5109 previously we didn't throw in case of conversion errors, instead
5110 just returned eof().
5111 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
5112 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
5113 * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.
5115 * include/bits/fstream.tcc (basic_filebuf<>::overflow):
5116 Trivial simplification of a conditional.
5118 2004-02-12 Paolo Carlini <pcarlini@suse.de>
5120 PR libstdc++/13731 (final part: writev)
5121 * config/io/basic_file_stdio.cc (__gnu_internal::xwritev):
5122 New, a wrapper around writev() handling partial writes.
5123 (__basic_file<char>::xwrite): Move to __gnu_internal and make
5125 (__basic_file<char>::xsputn): Update call.
5126 (__basic_file<char>::xsputn_2): Likewise.
5127 * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
5128 Don't declare, now static.
5130 2004-02-11 Stefan Olsson <stefan@xapa.se>
5132 * docs/html/ext/mt_allocator.html: New.
5134 2004-02-11 Benjamin Kosnik <bkoz@redhat.com>
5136 * docs/html/20_util/allocator.html: New file, consolidate
5137 allocator information here. Revamp.
5138 * docs/html/documentation.html: Change links.
5139 * docs/html/20_util/howto.html: Same.
5140 * docs/html/ext/howto.html: Same.
5142 2004-02-11 Paolo Carlini <pcarlini@suse.de>
5144 PR libstdc++/13731 (first part: write)
5145 * config/io/basic_file_stdio.h (__basic_file<char>::xwrite):
5147 * config/io/basic_file_stdio.cc (__basic_file<char>::xwrite):
5148 Define it: a wrapper around write() handling partial write.
5149 (__basic_file<char>::xsputn): Use it.
5150 (__basic_file<char>::xsputn_2): Likewise.
5152 2004-02-11 Paolo Carlini <pcarlini@suse.de>
5153 Petur Runolfsson <peturr02@ru.is>
5156 * include/std/std_istream.h (operator>>(__istream_type& (*)
5157 (__istream_type&)), operator>>(__ios_type& (*)(__ios_type&)),
5158 operator>>(ios_base& (*)(ios_base&))): Declare inline.
5159 * include/std/std_ostream.h (operator<<(__ostream_type& (*)
5160 (__ostream_type&)), operator<<(__ios_type& (*)(__ios_type&)),
5161 operator<<(ios_base& (*) (ios_base&))): Likewise.
5162 * testsuite/performance/27_io/fmtflags_manipulators.cc: New.
5164 2004-02-10 Loren J. Rittle <ljrittle@acm.org>
5167 * config/linker-map.gnu: Add typeinfo and typeinfo name for
5168 __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >.
5171 * config/linker-map.gnu: Add typeinfo and typeinfo name for
5172 __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >.
5174 2004-02-09 Loren J. Rittle <ljrittle@acm.org>
5176 * include/ext/pool_allocator.h: Include c++config.h.
5178 2004-02-09 Stefan Olsson <stefan@xapa.se>
5180 * include/ext/mt_allocator.h: thread_id is unused in non threaded
5181 applications and now has a ifdef to remove it completely on
5182 compilers without thread support. Include stdlib.h due to a
5183 compiler warning on getenv().
5185 2004-02-09 Paul Brook <paul@codesourcery.com>
5187 * libstdc++-v3/configure.host: Explicitly check for atomicity.h file.
5189 2004-02-09 Paolo Carlini <pcarlini@suse.de>
5192 * src/locale_init.cc (locale::global(const locale&)): Use
5193 locale::name() in order to decide whether calling setlocale.
5194 * testsuite/22_locale/locale/global_locale_objects/14071.cc: New.
5196 * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name()):
5197 Avoid computing &= unnecessarily.
5199 2004-02-09 James E Wilson <wilson@specifixinc.com>
5202 * libsuspc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
5203 __builtin_extend_pointer.
5205 2004-02-09 Paolo Carlini <pcarlini@suse.de>
5208 * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale):
5209 Don't leave dangling pointers.
5210 * testsuite/27_io/basic_ios/imbue/14072.cc: New.
5211 * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put
5212 facet is needed in the final test.
5214 2004-02-09 Bernardo Innocenti <bernie@develer.com>
5216 * crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
5217 * configure: Regenerate.
5219 2004-02-08 Richard Henderson <rth@redhat.com>
5222 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't adjust
5223 uncaughtExceptions during nested catch rethrow.
5224 * testsuite/18_support/14026.cc: New.
5226 2004-02-08 Paolo Carlini <pcarlini@suse.de>
5228 * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
5229 When working in place remember to set the state to sharable
5230 (otherwise, _M_mutate does it).
5232 2004-02-08 Bernardo Innocenti <bernie@develer.com>
5234 * include/bits/allocator.h, include/bits/basic_ios.h,
5235 include/bits/basic_ios.tcc, include/bits/basic_string.h,
5236 include/bits/basic_string.tcc, include/bits/boost_concept_check.h,
5237 include/bits/char_traits.h, include/bits/codecvt.h,
5238 include/bits/concurrence.h, include/bits/cpp_type_traits.h,
5239 include/bits/demangle.h, include/bits/deque.tcc,
5240 include/bits/fstream.tcc, include/bits/functexcept.h,
5241 include/bits/gslice.h, include/bits/gslice_array.h,
5242 include/bits/indirect_array.h, include/bits/ios_base.h,
5243 include/bits/istream.tcc, include/bits/list.tcc,
5244 include/bits/locale_classes.h, include/bits/locale_facets.h,
5245 include/bits/locale_facets.tcc, include/bits/localefwd.h,
5246 include/bits/mask_array.h, include/bits/ostream.tcc,
5247 include/bits/postypes.h, include/bits/slice_array.h,
5248 include/bits/sstream.tcc, include/bits/stl_algo.h,
5249 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
5250 include/bits/stl_construct.h, include/bits/stl_deque.h,
5251 include/bits/stl_function.h, include/bits/stl_heap.h,
5252 include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
5253 include/bits/stl_list.h, include/bits/stl_map.h,
5254 include/bits/stl_multimap.h, include/bits/stl_multiset.h,
5255 include/bits/stl_numeric.h, include/bits/stl_pair.h,
5256 include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
5257 include/bits/stl_relops.h, include/bits/stl_set.h,
5258 include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
5259 include/bits/stl_threads.h, include/bits/stl_tree.h,
5260 include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
5261 include/bits/stream_iterator.h, include/bits/streambuf.tcc,
5262 include/bits/streambuf_iterator.h,include/bits/stringfwd.h,
5263 include/bits/type_traits.h, include/bits/valarray_after.h,
5264 include/bits/valarray_array.h, include/bits/valarray_array.tcc,
5265 include/bits/valarray_before.h, include/bits/vector.tcc: Remove
5266 trailing whitespace.
5268 2004-02-06 Paolo Carlini <pcarlini@suse.de>
5270 * include/bits/basic_string.h: Fix comment.
5272 2004-02-06 Paolo Carlini <pcarlini@suse.de>
5274 * include/bits/stl_construct.h: Wrap overlong lines, reformat
5275 according to the coding standards.
5276 * include/bits/stl_pair.h: Likewise.
5277 * include/bits/stl_raw_storage_iter.h: Likewise.
5278 * include/bits/stl_stack.h: Likewise.
5279 * include/bits/stl_uninitialized.h: Likewise.
5280 * include/bits/stream_iterator.h: Likewise.
5281 * include/bits/streambuf_iterator.h: Likewise.
5282 * include/bits/type_traits.h: Likewise.
5284 2004-02-06 Paolo Carlini <pcarlini@suse.de>
5286 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
5289 2004-02-05 Loren J. Rittle <ljrittle@acm.org>
5291 * scripts/check_performance: Support PCH.
5293 * scripts/check_performance (CXX): Add -DNOTHREAD.
5294 * testsuite/performance/20_util/allocator/insert.cc: Integrate
5295 threaded tests from insert_insert.cc. Tweak iterations,
5296 remove special cases.
5297 * testsuite/performance/20_util/allocator/insert_insert.cc:
5298 Make all tests single-threaded. Tweak iterations.
5299 * testsuite/performance/20_util/allocator/map_thread.cc:
5301 * testsuite/performance/20_util/allocator/producer_consumer.cc:
5304 2004-02-05 Geoffrey Keating <geoffk@apple.com>
5308 * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
5309 'gcc-lib'. Add comment about poorly-named variables.
5310 * aclocal.m4: Regenerate.
5311 * configure: Regenerate.
5313 2004-02-05 Paolo Carlini <pcarlini@suse.de>
5315 * include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
5316 Thousands-sep are always optional; thousands-sep are not allowed
5317 after the decimal_point.
5318 * testsuite/22_locale/money_get/get/char/12.cc: New.
5319 * testsuite/22_locale/money_get/get/char/13.cc: New.
5320 * testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
5321 * testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
5323 * testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
5324 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
5325 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
5326 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
5327 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
5328 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
5329 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
5330 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
5332 * testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
5334 * testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
5336 2004-02-05 Richard Sandiford <rsandifo@redhat.com>
5338 * config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
5340 * config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
5341 it to decide whether FIONREAD should take an off_t or int argument.
5343 2004-02-05 Paolo Carlini <pcarlini@suse.de>
5345 * include/bits/stl_function.h: Minor formatting changes.
5347 2004-02-04 Zack Weinberg <zack@codesourcery.com>
5349 Revert previous change to config/abi/*/baseline_symbols.txt.
5351 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
5352 Zack Weinberg <zack@codesourcery.com>
5354 * config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
5356 (__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
5357 (__basic_file<char>::_M_open_mode): Delete.
5358 * config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
5360 * testsuite/27_io/basic_filebuf/close/char/9964.cc
5361 * testsuite/27_io/basic_filebuf/open/char/9507.cc:
5362 Correct flags to filebuf::open calls.
5364 * config/abi/alpha-freebsd5/baseline_symbols.txt
5365 * config/abi/alpha-linux-gnu/baseline_symbols.txt
5366 * config/abi/hppa-linux-gnu/baseline_symbols.txt
5367 * config/abi/i386-freebsd4/baseline_symbols.txt
5368 * config/abi/i386-freebsd5/baseline_symbols.txt
5369 * config/abi/i486-linux-gnu/baseline_symbols.txt
5370 * config/abi/ia64-linux-gnu/baseline_symbols.txt
5371 * config/abi/mips-linux-gnu/baseline_symbols.txt
5372 * config/abi/sparc-freebsd5/baseline_symbols.txt
5373 * config/abi/sparc-linux-gnu/baseline_symbols.txt
5374 * config/abi/x86_64-linux-gnu/baseline_symbols.txt:
5375 Remove entry for __basic_file<char>::_M_open_mode.
5377 2004-02-04 Loren J. Rittle <ljrittle@acm.org>
5379 * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
5381 2004-02-04 Felix Yen <fwy@alumni.brown.edu>
5383 * testsuite/performance/20_util/producer_consumer.cc: New.
5384 * testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
5386 2004-02-04 Benjamin Kosnik <bkoz@redhat.com>
5388 * testsuite/performance/20_util/allocator.cc: Move to..
5389 * testsuite/performance/20_util/allocator/insert.cc: ...here.
5390 * testsuite/performance/20_util/allocator_thread.cc: Move to...
5391 * testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
5392 * testsuite/performance/20_util/allocator_map_thread.cc: Move to...
5393 * testsuite/performance/20_util/allocator/map_thread.cc: ...here.
5395 2004-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5397 * docs/html/faq/index.html: Recommend using LD_LIBRARY_PATH.
5398 * docs/html/faq/index.txt: Regenerate.
5400 2004-02-04 Dhruv Matani <dhruvbird@gmx.net>
5402 * include/ext/debug_allocator.h: _M_extra now stands for the
5403 number of extra objects instead of the number of extra bytes.
5404 (debug_allocator::allocate): Adjust.
5405 (debug_allocator::deallocate): Adjust.
5407 * include/ext/pool_allocator.h: Fix typo.
5409 2004-02-03 Felix Yen <fwy@alumni.brown.edu>
5410 Benjamin Kosnik <bkoz@redhat.com>
5412 * testsuite/performance/20_util/allocator.cc: Add map,
5414 * testsuite/performance/20_util/allocator_thread.cc: Same.
5416 2004-02-03 Paolo Carlini <pcarlini@suse.de>
5418 * include/bits/basic_string.h (insert(iterator)): Remove,
5419 non-standard and already scheduled for removal.
5421 2004-02-03 Paolo Carlini <pcarlini@suse.de>
5423 * include/bits/stl_iterator_base_funcs.h: Minor formatting
5424 and indentation tweaks.
5425 * include/bits/stl_iterator_base_types.h: Likewise.
5426 * include/bits/stl_list.h: Likewise.
5427 * include/bits/stl_map.h: Likewise.
5428 * include/bits/stl_tempbuf.h: Likewise.
5430 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
5432 * include/bits/gslice.h, include/bits/gslice_array.h,
5433 include/bits/indirect_array.h, include/bits/mask_array.h,
5434 include/bits/slice_array.h, include/bits/stl_numeric.h,
5435 include/std/std_valarray.h: Update copyright years.
5437 2004-02-02 Jerry Quinn <jlquinn@optonline.net>
5439 * include/bits/gslice.h (gslice): Document.
5440 * include/bits/gslice_array.h (gslice_array): Document.
5441 * include/bits/indirect_array (indirect_array): Document.
5442 * include/bits/mask_array (mask_array): Document.
5443 * include/bits/slice_array.h (slice,slice_array): Document.
5444 * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum,
5445 adjacent_difference): Document
5446 * include/std/std_valarray.h (valarray): Document.
5448 2004-02-02 Benjamin Kosnik <bkoz@redhat.com>
5450 * docs/html/19_diagnostics/howto.html: Move verbose terminate
5452 * docs/html/18_support/howto.html: Here.
5453 * docs/html/documentation.html: Add reference here.
5455 2004-02-02 Paolo Carlini <pcarlini@suse.de>
5457 * config/locale/gnu/c++locale_internal.h: Remove prototypes
5458 of no longer used GLIBC thread locale functions.
5460 2004-02-02 Eric Christopher <echristo@redhat.com>
5461 Zack Weinberg <zack@codesourcery.com>
5463 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use
5465 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto.
5466 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto
5467 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto.
5468 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto.
5469 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto.
5470 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto.
5471 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto.
5472 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
5475 2004-02-02 Paolo Carlini <pcarlini@suse.de>
5477 * include/bits/stl_function.h: Additional minor tweaks.
5478 * include/bits/stl_multiset.h: Likewise.
5480 * include/bits/stl_queue.h: Minor tweaks.
5482 2004-02-02 Paolo Carlini <pcarlini@suse.de>
5484 PR libstdc++/13976 (continued)
5485 * include/ext/malloc_allocator.h (malloc_allocator::deallocate):
5486 Make the second parameter unnamed, to void unused parameter
5488 * include/ext/new_allocator.h (new_allocator::deallocate): Ditto.
5490 2004-02-02 Paolo Carlini <pcarlini@suse.de>
5493 * include/ext/malloc_allocator.h (malloc_allocator::allocate):
5494 Make the second parameter unnamed, to void unused parameter
5496 * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto.
5497 * include/ext/new_allocator.h (new_allocator::allocate): Ditto.
5499 2004-02-01 Paolo Carlini <pcarlini@suse.de>
5501 * include/bits/stl_algo.h: Additional minor tweaks.
5502 * include/bits/stl_map.h: Likewise.
5503 * include/bits/stl_multimap.h: Likewise.
5504 * include/bits/stl_multiset.h: Likewise.
5505 * include/bits/stl_set.h: Likewise.
5506 * include/bits/stl_tree.h: Likewise.
5508 2004-02-01 Paolo Carlini <pcarlini@suse.de>
5510 * include/bits/vector.tcc (vector::_M_insert_aux(iterator)):
5513 2004-02-01 Paolo Carlini <pcarlini@suse.de>
5515 * include/bits/stl_function.h: Additional minor tweaks.
5517 2004-02-01 Paolo Carlini <pcarlini@suse.de>
5519 * include/bits/deque.tcc: Wrap overlong lines, constify
5520 a few variables, reformat according to the coding standards.
5521 * include/bits/list.tcc: Likewise.
5522 * include/bits/stl_deque.h: Likewise.
5523 * include/bits/stl_function.h: Likewise.
5524 * include/bits/stl_iterator.h: Likewise.
5525 * include/bits/stl_iterator_base_funcs.h: Likewise.
5526 * include/bits/stl_iterator_base_types.h: Likewise.
5527 * include/bits/stl_list.h: Likewise.
5528 * include/bits/stl_map.h: Likewise.
5529 * include/bits/stl_multimap.h: Likewise.
5530 * include/bits/stl_multiset.h: Likewise.
5531 * include/bits/stl_relops.h: Likewise.
5532 * include/bits/stl_set.h: Likewise.
5534 2004-02-01 Paolo Carlini <pcarlini@suse.de>
5536 * include/bits/stl_bvector.h: Wrap overlong lines, constify
5537 a few variables, reformat according to the coding standards.
5538 * include/bits/stl_tree.h: Likewise.
5540 2004-01-31 Paolo Carlini <pcarlini@suse.de>
5542 * include/bits/stl_algo.h: Minor additional reformat, add
5544 * include/bits/stl_algobase.h: Add copyright year.
5546 2004-01-31 Paolo Carlini <pcarlini@suse.de>
5548 * include/bits/stl_algo.h: Wrap overlong lines, constify
5549 a few variables, reformat according to the coding standards.
5550 * include/bits/stl_algobase.h: Likewise.
5551 * include/bits/stl_heap.h: Likewise.
5553 2004-01-31 Paolo Carlini <pcarlini@suse.de>
5555 * include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
5557 * include/bits/basic_string.h: Fix two comments.
5559 2004-01-31 Per Bothner <per@bothner.com>
5561 * include/ext/mt_allocator.h
5562 (__mt_alloc::_S_thread_freelist_mutex): Guard with
5563 __GTHREAD_MUTEX_INIT.
5565 2004-01-31 Paolo Carlini <pcarlini@suse.de>
5567 * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
5569 2004-01-30 Paolo Carlini <pcarlini@suse.de>
5571 * testsuite/21_strings/basic_string/cons/char/6.cc: New.
5572 * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New.
5573 * testsuite/performance/21_strings/string_cons_input_iterator.cc: New.
5575 2004-01-30 Felix Yen <fwy@alumni.brown.edu>
5577 * testsuite/performance/20_util/allocator_thread.cc (do_loop):
5578 Don't use clear, but instead assign. Use insert.
5580 2004-01-30 Benjamin Kosnik <bkoz@redhat.com>
5582 * src/demangle.cc: Add instantiations.
5583 * src/Makefile.am: Remove special rules for demangle.lo, demangle.o.
5584 * src/Makefile.in: Regenerate.
5586 2004-01-30 David Edelsohn <edelsohn@gnu.org>
5588 * src/allocator.cc: Protect _S_get_thread_id() and
5589 _S_thread_key_destr() with #ifdef __GTHREADS.
5591 2004-01-30 Paolo Carlini <pcarlini@suse.de>
5593 Reshuffle performance testsuite.
5594 * testsuite/performance/allocator.cc, allocator_map_thread.cc,
5595 allocator_thread.cc, complex_norm.cc, container_benchmark.cc,
5596 cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc,
5597 fstream_seek_write.cc, ifstream_extract_float.cc,
5598 ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc,
5599 list_create_fill_sort.cc, map_create_fill.cc,
5600 narrow_widen_char.cc, narrow_widen_wchar_t.cc,
5601 ofstream_insert_float.cc, ofstream_insert_int.cc,
5602 string_append.cc, wchar_t_in.cc, wchar_t_length.cc,
5603 wchar_t_out.cc: Split into...
5604 * testsuite/performance/20_util/allocator.cc: New.
5605 * testsuite/performance/20_util/allocator_map_thread.cc: New.
5606 * testsuite/performance/20_util/allocator_thread.cc: New.
5607 * testsuite/performance/21_strings/string_append: New.
5608 * testsuite/performance/22_locale/is_wchar_t.cc: New.
5609 * testsuite/performance/22_locale/narrow_widen_char.cc: New.
5610 * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New.
5611 * testsuite/performance/22_locale/wchar_t_in.cc: New.
5612 * testsuite/performance/22_locale/wchar_t_length.cc: New.
5613 * testsuite/performance/22_locale/wchar_t_out.cc: New.
5614 * testsuite/performance/23_containers/container_benchmark.cc: New.
5615 * testsuite/performance/23_containers/list_create_fill_sort.cc: New.
5616 * testsuite/performance/23_containers/map_create_fill.cc: New.
5617 * testsuite/performance/26_numerics/complex_norm.cc: New.
5618 * testsuite/performance/27_io/cout_insert_int.cc: New.
5619 * testsuite/performance/27_io/filebuf_copy.cc: New.
5620 * testsuite/performance/27_io/filebuf_sputc.cc: New.
5621 * testsuite/performance/27_io/fstream_seek_write.cc: New.
5622 * testsuite/performance/27_io/ifstream_extract_float.cc: New.
5623 * testsuite/performance/27_io/ifstream_extract_int.cc: New.
5624 * testsuite/performance/27_io/ifstream_getline.cc: New.
5625 * testsuite/performance/27_io/ofstream_insert_float.cc: New.
5626 * testsuite/performance/27_io/ofstream_insert_int.cc: New.
5628 2004-01-30 Paolo Carlini <pcarlini@suse.de>
5630 * include/bits/basic_string.tcc (_Rep::_S_create):
5631 Never allocate a string bigger than max_size(); always keep
5632 __capacity and __size in sync to avoid memory leaks at
5635 2004-01-30 Paolo Carlini <pcarlini@suse.de>
5637 * include/bits/basic_string.tcc (_S_construct(_InIterator,
5638 _InIterator, const _Alloc&, input_iterator_tag)): Simplify
5639 the double loop, streamline.
5641 * include/bits/basic_string.tcc: Very minor tweaks.
5643 2004-01-30 Loren J. Rittle <ljrittle@acm.org>
5645 * scripts/check_performance: Only compile with $THREAD_FLAG
5646 when test is marked to require it. Allow multiple
5647 compilations/executions of marked tests.
5648 * testsuite/testsuite_performance.h (report_performance):
5649 Report dynamic thread support status.
5650 (report_header): Likewise.
5651 * testsuite/performance/allocator.cc: Stabilize iteration
5652 count. Support more allocators. Mark each allocator test to
5653 run and report independently.
5654 * testsuite/performance/allocator_map_thread.cc: Likewise.
5655 * testsuite/performance/allocator_thread.cc: Likewise.
5657 2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com>
5659 * config/local/generic/c_locale.h: Change ::malloc() to new char[].
5660 * config/local/gnu/c_locale.h: Change ::malloc() to new char[].
5661 * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use
5662 std::get_temporary_buffer() instead of duplicating its code.
5663 Update to C++STYLE conventions.
5664 * include/std/std_memory.h (get_temporary_buffer): Use ::operator
5665 new() instead of std::malloc().
5666 (return_temporary_buffer): Use ::operator delete() instead of
5669 2004-01-29 Benjamin Kosnik <bkoz@redhat.com>
5671 * include/bits/allocator.h: Temporary switch to new_allocator as
5672 the default to unjam bootstraps.
5674 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
5676 * include/Makefile.am (bits_headers): Remove allocator_traits.h.
5677 * include/Makefile.in: Regenerate.
5678 * include/bits/allocator_traits.h: Remove.
5679 * include/bits/allocator.h: Remove allocator_traits.h include, and
5681 (allocator): Empty base class, inherit from the underlying allocator.
5682 * src/allocator-inst.cc: Move __pool_alloc instantiation to...
5683 * src/allocator.cc: ...here. New. For the underlying allocators.
5684 Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits.
5685 * config/linker-map.gnu: Remove __pool_alloc bits.
5686 * src/Makefile.am (sources): Add allocator.cc.
5687 * src/Makefile.in: Regenerate.
5688 * testsuite/20_util/allocator/1.cc: Split second test into...
5689 * testsuite/20_util/allocator/8230.cc: ...this.
5690 * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector
5691 typedef to use std::allocatore. Format.
5692 * include/ext/pool_allocator.h: Remove allocator_traits.h include,
5694 * include/ext/mt_allocator.h (__gnu_cxx): Qualify
5695 __throw_bad_alloc calls. Don't include <memory>.
5696 * include/ext/malloc_allocator.h: Remove <memory> include.
5697 * include/ext/new_allocator.h (new_allocator): Same.
5698 * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
5699 declaration. Switch __alloc to _Alloc.
5700 * include/ext/hashtable.h: Remove __alloc.
5701 * include/backward/alloc.h: Only inject allocator, not
5702 implementation details.
5704 * include/ext/mt_allocator.h: Replace free with delete.
5706 2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
5708 * src/globals_io.cc: Change to __gnu_internal namespace.
5709 * src/globals_locale.cc: Same.
5710 * src/locale_init.cc: Same.
5711 * src/ios_init.cc: Same.
5713 2004-01-28 Stefan Olsson <stefan@snon.net>
5715 * include/ext/mt_allocator.h: Replaced all malloc() calls with
5716 operator new(). Added support for the env variable
5717 GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
5718 one in allocate() as well). Fix typos.
5720 2004-01-28 Paolo Carlini <pcarlini@suse.de>
5722 * include/bits/basic_string.h (_S_create(size_t,
5723 const _Alloc&): Change signature to take two size_type
5725 * include/bits/basic_string.tcc (_S_construct(_InIterator,
5726 _InIterator, const _Alloc&, input_iterator_tag)): Update
5728 (_S_construct(_InIterator, _InIterator, const _Alloc&,
5729 forward_iterator_tag)): Likewise.
5730 (_S_construct(size_type, _CharT, const _Alloc&)): Likewise.
5731 (_M_mutate(size_type, size_type, size_type)): Don't
5732 implement the exponential growth policy, demand it to
5733 _S_create, update call and simplify.
5734 (_M_clone(const _Alloc&, size_type)): Likewise.
5735 (_S_create(size_type, size_type, const _Alloc&)): Implement
5736 the growth policy, simplify otherwise.
5738 * include/bits/basic_string.h (_Rep::operator[]): Tweak
5739 signature to take a size_type, consistently with the other
5742 2004-01-27 Benjamin Kosnik <bkoz@redhat.com>
5744 * testsuite/27_io/ios_base/storage/11584.cc: Correct new and
5745 delete declarations, add include and test variable.
5747 2003-01-27 Jerry Quinn <jlquinn@optonline.net>
5749 * include/bits/codecvt.h, include/bits/locale_facets.h,
5750 include/bits/postypes.h, include/bits/stl_bvector.h,
5751 include/bits/stl_multiset.h, include/bits/stl_set.h,
5752 include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
5753 include/std/std_complex.h: Document.
5755 2004-01-27 Jerry Quinn <jlquinn@optonline.net>
5758 * include/bits/ios_base.h (ios_base::_M_grow_words): Add
5759 iword/pword selector.
5760 (ios_base::iword, ios_base::pword): Use it.
5761 * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero
5762 iword or pword member on alloc failure.
5763 * testsuite/27_io/ios_base/storage/11584.cc: New test.
5765 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com>
5766 PJ Darcy <darcypj@us.ibm.com>
5768 * configure.host: Add support for *-tpf.
5769 * crossconfig.m4: Likewise.
5770 * configure: Regenerate.
5771 * config/os/tpf: New directory.
5772 * config/os/tpf/os_defines.h: New file.
5773 * config/os/tpf/ctype_base.h: Likewise.
5774 * config/os/tpf/ctype_inline.h: Likewise.
5775 * config/os/tpf/ctype_noninline.h: Likewise.
5777 2004-01-27 Paolo Carlini <pcarlini@suse.de>
5780 * include/bits/sstream.tcc: Guard use of extern template.
5782 2004-01-27 Paolo Carlini <pcarlini@suse.de>
5784 * include/bits/basic_string.tcc
5785 (basic_string(const basic_string&, size_type, size_type),
5786 basic_string(const basic_string&, size_type, size_type,
5787 const _Alloc&)): Avoid unnecessarily constructing iterators.
5789 2004-01-26 Paolo Carlini <pcarlini@suse.de>
5791 * config/locale/generic/c_locale.cc: Fix throw messages
5792 to use the __N marker.
5793 * config/locale/gnu/c_locale.cc: Likewise.
5794 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
5796 * docs/html/17_intro/C++STYLE: Likewise.
5797 * include/bits/basic_ios.tcc: Likewise.
5798 * include/bits/fstream.tcc: Likewise.
5799 * include/bits/vector.tcc: Likewise.
5800 * include/ext/ropeimpl.h: Likewise.
5801 * include/std/std_bitset.h: Likewise.
5802 * src/ios.cc: Likewise.
5803 * src/locale.cc: Likewise.
5804 * src/localename.cc: Likewise.
5806 2004-01-26 Paolo Carlini <pcarlini@suse.de>
5808 * include/bits/basic_string.h (_M_replace_aux): Use the
5809 __N marker in throw message.
5810 * include/bits/basic_string.tcc (assign(const _CharT*,
5811 size_type), insert(size_type, const _CharT*, size_type),
5812 replace(size_type, size_type, const _CharT*, size_type),
5813 reserve, _Rep::_S_create, resize, _M_replace_dispatch):
5816 * include/bits/basic_string.h, include/bits/basic_string.tcc:
5817 Fold overlong lines, minor formatting changes.
5819 2004-01-26 Paolo Carlini <pcarlini@suse.de>
5821 * include/bits/basic_string.h (replace(iterator, iterator,
5822 const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT.
5823 (replace(iterator, iterator, const _CharT*)): Ditto.
5824 (replace(iterator, iterator, const _CharT*, size_type)):
5825 Add missing _GLIBCXX_DEBUG_PEDASSERT.
5827 2004-01-26 Paolo Carlini <pcarlini@suse.de>
5829 * include/bits/basic_string.tcc (replace(size_type,
5830 size_type, const _CharT*, size_type)): Implement optimized
5831 in-place algorithm for non-overlapping ranges.
5832 * testsuite/21_strings/basic_string/replace/char/6.cc: New.
5833 * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New.
5835 * include/bits/basic_string.tcc (insert(size_type,
5836 const _CharT*, size_type)): Tweak slightly.
5838 2004-01-26 Andreas Schwab <schwab@suse.de>
5840 * config/locale/gnu/monetary_members.cc: Restore locale before
5841 rethrowing exception.
5843 2004-01-25 Paolo Carlini <pcarlini@suse.de>
5845 * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
5847 * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe):
5850 * include/bits/basic_string.tcc: Very minor tweaks.
5852 2004-01-25 Paolo Carlini <pcarlini@suse.de>
5854 * testsuite/performance/string_append.cc: Increase number
5857 2004-01-25 Paolo Carlini <pcarlini@suse.de>
5859 * include/bits/basic_string.h (erase(size_type, size_type),
5860 erase(iterator), erase(iterator, iterator)): Call _M_replace_safe
5861 instead, thus avoiding redundant check for length_error.
5863 * include/bits/basic_string.h: Tweak some comments.
5865 2004-01-24 Paolo Carlini <pcarlini@suse.de>
5867 * include/bits/basic_string.tcc (operator+(const _CharT*,
5868 const basic_string&)): No need to go through the append
5869 taking two iterators.
5871 2004-01-24 Paolo Carlini <pcarlini@suse.de>
5873 * include/bits/basic_string.tcc (rfind(_CharT, size_type)):
5874 Revert last change to use std::min: machine language is worse.
5875 (find_last_of(const _CharT*, size_type, size_type)): Ditto.
5876 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
5877 (find_last_not_of(_CharT, size_type)): Ditto.
5879 * include/bits/basic_string.tcc (insert(size_type, const _CharT*,
5880 size_type)): Discard the value returned by _M_check.
5881 (replace(size_type, size_type, const _CharT*, size_type)): Ditto.
5882 (append(const basic_string&, size_type, size_type)): Ditto.
5883 (copy(_CharT*, size_type, size_type)): Ditto.
5884 (compare(size_type, size_type, const basic_string&)): Ditto.
5885 (compare(size_type, size_type, const basic_string&,
5886 size_type, size_type)): Ditto.
5887 (compare(size_type, size_type, const _CharT*)): Ditto.
5888 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
5890 2004-01-24 Paolo Carlini <pcarlini@suse.de>
5892 * include/bits/basic_string.h (insert(size_type,
5893 const basic_string&, size_type, size_type)): Define inline here.
5894 * include/bits/basic_string.tcc (insert(size_type,
5895 const basic_string&, size_type, size_type)): Move inline.
5897 2004-01-24 Paolo Carlini <pcarlini@suse.de>
5899 * include/bits/basic_string.h (assign(const basic_string&,
5900 size_type, size_type)): Define inline here.
5901 (replace(size_type, size_type, const basic_string&,
5902 size_type, size_type)): Ditto.
5903 (_M_replace_dispatch(iterator, iterator, _InputIterator,
5904 _InputIterator, __false_type)): Only declare.
5905 (_M_replace(iterator, iterator, _InputIterator,
5906 _InputIterator)): Remove.
5907 * include/bits/basic_string.tcc (assign(const basic_string&,
5908 size_type, size_type)): Move inline.
5909 (replace(size_type, size_type, const basic_string&,
5910 size_type, size_type)): Ditto.
5911 (_M_replace_dispatch(iterator, iterator, _InputIterator,
5912 _InputIterator, __false_type)): Define, now does also what
5913 _M_replace did before.
5914 * src/string-inst.cc (_M_replace): Don't instantiate.
5916 * include/bits/basic_string.tcc (find(const _CharT*,
5917 size_type, size_type)): Tidy.
5918 (rfind(_CharT, size_type)): Ditto.
5919 (find_first_not_of(const _CharT*, size_type, size_type)): Ditto.
5920 (find_first_not_of(_CharT, size_type)): Ditto.
5921 (find_last_not_of(const _CharT*, size_type, size_type)): Ditto.
5922 (find_last_not_of(_CharT, size_type)): Ditto.
5924 2004-01-23 Paolo Carlini <pcarlini@suse.de>
5927 * include/debug/bitset (operator|=): Fix typo.
5928 * testsuite/23_containers/bitset/operations/13838.cc: New.
5930 2004-01-23 Paolo Carlini <pcarlini@suse.de>
5932 * include/bits/basic_string.tcc (insert(size_type,
5933 const _CharT*, size_type __n)): Fix length_error check.
5934 (replace(size_type, size_type, const _CharT*, size_type):
5935 Ditto; call _M_replace_safe.
5936 (_M_replace_aux(size_type, size_type, size_type, _CharT):
5937 Fix length_error check.
5938 (_M_replace(iterator, iterator, _InputIterator,
5939 _InputIterator)): Ditto, tweak.
5940 (_M_replace_safe(size_type, size_type, const _CharT*,
5941 size_type)): Remove length_error check.
5943 * include/bits/basic_string.tcc (append(const basic_string&),
5944 append(const basic_string&, size_type, size_type)): Tweak
5947 * include/bits/basic_string.tcc (copy(_CharT*, size_type,
5948 size_type)): If __n == 0 don't call traits::copy.
5950 2004-01-23 Stefan Olsson <stefan@snon.net>
5952 * include/ext/mt_allocator.h: Reduce lock contention.
5954 2004-01-23 Paolo Carlini <pcarlini@suse.de>
5957 * include/bits/fstream.tcc (underflow): Remove unused
5959 * include/bits/streambuf_iterator.h (equal): Ditto.
5960 * include/bits/locale_facets.h (_M_convert_from_char):
5963 2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5966 * config/linker-map.gnu (nan): Delete.
5967 * libmath/mathconf.h (NAN, nan): Delete.
5968 * linkage.m4 (nan): Don't check for it.
5969 * libmath/nan.c: Delete file.
5971 * config.h.in, configure: Regenerate.
5973 2004-01-23 Paolo Carlini <pcarlini@suse.de>
5975 * include/bits/basic_string.h (push_back(_CharT)):
5976 Call _M_replace_aux.
5977 (insert(size_type, const basic_string&)): Trivial tweak.
5978 (insert(size_type, size_type, _CharT)): Call _M_replace_aux.
5979 (insert(iterator, _CharT)): Ditto.
5980 (erase(size_type, size_type)): Ditto.
5981 (erase(iterator)): Ditto.
5982 (erase(iterator, iterator)): Ditto.
5983 (replace(size_type, size_type, size_type, _CharT)): Ditto.
5985 2004-01-23 Loren J. Rittle <ljrittle@acm.org>
5988 * testsuite/performance/allocator_map_thread.cc: New test.
5990 2004-01-22 Paolo Carlini <pcarlini@suse.de>
5992 * include/bits/locale_facets.tcc
5993 (money_put::do_put(..., long double)): Use the basic_string
5994 constructor for char arrays, not that for C-strings, to pass
5995 __digits to do_put(..., const string_type&): __ws isn't
5998 2004-01-22 Paolo Carlini <pcarlini@suse.de>
6000 * include/bits/basic_string.h (_M_replace_safe): Change
6001 signatures to take size_types and const _CharT*.
6002 (_M_replace_aux): Likewise, takes size_types instead of
6004 (append(size_type, _CharT)): Update call.
6005 (assign(size_type, _CharT)): Ditto.
6006 (replace(iterator, iterator, size_type, _CharT)): Ditto.
6007 (_M_replace_dispatch(iterator, iterator, _Integer,
6008 _Integer, __true_type)): Ditto.
6009 * include/bits/basic_string.tcc (assign(const _CharT*,
6011 (insert(size_type, const _CharT*, size_type)): Ditto.
6012 (replace(size_type, size_type, const _CharT*,
6014 (_M_replace(iterator, iterator, _InputIterator,
6015 _InputIterator)): Ditto.
6016 (append(const basic_string&)): Ditto.
6017 (append(const basic_string&, size_type, size_type): Ditto.
6018 (append(const _CharT*, size_type): Ditto.
6019 (_M_replace_safe, _M_replace_safe): Change definitions
6020 accordingly, simplify.
6021 * string-inst.cc (_M_replace_safe): Don't instantiate.
6023 2004-01-21 Paolo Carlini <pcarlini@suse.de>
6025 * include/bits/basic_string.tcc (append(const basic_string&)):
6026 Revert previous change.
6027 (append(const basic_string&, size_type, size_type)): Revert
6028 previous change, use _M_check and _M_limit.
6030 2004-01-21 Paolo Carlini <pcarlini@suse.de>
6032 * include/bits/basic_string.h (_M_check): Change to return
6033 a checked __pos and take an additional const char* argument.
6034 (_M_fold): Rename to _M_limit, change to return a size_type,
6035 corresponding to the __off limited to the actual length.
6036 (insert(size_type, size_type, _CharT)): Update call, call
6038 (insert(iterator, _CharT)): Call replace(iterator, iterator,
6039 size_type, _CharT) instead.
6040 (erase(size_type, size_type)): Update calls.
6041 (replace(size_type, size_type, size_type, _CharT)): Ditto.
6042 (substr(size_type, size_type)): Use _M_check.
6043 * include/bits/basic_string.tcc (basic_string(const basic_string&,
6044 size_type, size_type)): Update calls.
6045 (basic_string(const basic_string&, size_type, size_type,
6046 const _Alloc&)): Ditto.
6047 (assign(const basic_string&, size_type, size_type)): Use the
6048 new _M_check and _M_limit.
6049 (insert(size_type, const basic_string&, size_type, size_type):
6051 (insert(size_type, const _CharT*, size_type)): Ditto.
6052 (replace(size_type, size_type, const _CharT*, size_type): Ditto.
6053 (replace(size_type, size_type, const basic_string&,
6054 size_type, size_type)): Ditto.
6055 (append(const basic_string&)): Ditto.
6056 (append(const basic_string&, size_type, size_type)): Ditto.
6057 (copy(_CharT*, size_type, size_type)): Ditto.
6058 (compare(size_type, size_type, const basic_string&)): Ditto.
6059 (compare(size_type, size_type, const basic_string&,size_type,
6061 (compare(size_type, size_type, const _CharT*)): Ditto.
6062 (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
6064 2004-01-19 Stefan Olsson <stefan@snon.net>
6066 * include/ext/mt_allocator.h: If a thread, when it dies, still has
6067 memory on it's freelist this memory is not returned to global
6068 list. Simplification of deallocate so that memory is always
6069 returned to the calling thread id's freelist instead of to
6070 global. Fix typos. Add volatile where appropriate.
6072 2004-01-19 Loren J. Rittle <ljrittle@acm.org>
6074 * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
6075 * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but
6076 use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
6078 2004-01-19 Paolo Carlini <pcarlini@suse.de>
6080 * src/debug.cc: Make sure all the names are prefixed with
6081 double (or single) underscore.
6083 2004-01-19 Paolo Carlini <pcarlini@suse.de>
6085 * src/debug.cc: Trivial formatting change.
6087 2004-01-19 Paolo Carlini <pcarlini@suse.de>
6089 * include/bits/basic_string.tcc (_S_construct(size_type,
6090 _CharT, const _Alloc&)): Remove redundant try/catch.
6091 (_M_mutate(size_type, size_type, size_type)): Ditto.
6092 (_M_clone(const _Alloc&, size_type)): Ditto.
6094 2004-01-18 Paolo Carlini <pcarlini@suse.de>
6096 * include/bits/basic_string.h (c_str()): Simplify, due to
6097 21.3.4 the internal representation is always kept null-terminated.
6098 * include/bits/basic_string.tcc (_M_clone): Null-terminate.
6099 * testsuite/21_strings/basic_string/element_access/char/4.cc: New.
6100 * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
6103 2004-01-18 Paolo Carlini <pcarlini@suse.de>
6105 * include/bits/basic_string.h (append(size_type, _CharT)):
6106 Moved inline, just call _M_replace_aux, no source iterators at
6107 risk of being clobbered.
6108 (assign(size_type, _CharT)): Call directly _M_replace_aux.
6109 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
6110 input_iterator_tag)): Remove fifth unused argument.
6111 (_M_replace_dispatch(iterator, iterator, _InputIterator,
6112 _InputIterator, __false_type)): Update call.
6113 * include/bits/basic_string.tcc (replace(size_type, size_type,
6114 const _CharT*, size_type)): Update call.
6115 (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
6116 throw string literal.
6117 (_M_replace_safe(iterator, iterator, _ForwardIterator,
6118 _ForwardIterator)): Likewise.
6119 (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
6120 input_iterator_tag)): Remove fifth unused argument.
6121 (append(size_type __n, _CharT __c)): Move inline.
6122 * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
6123 const C*, const C*, input_iterator_tag)): Remove fifth unused
6126 2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
6128 * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
6129 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
6131 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
6133 * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
6136 2004-01-15 Stefan Olsson <stefan@snon.net>
6138 * include/ext/mt_allocator.h: Reuse thread id's as soon as
6139 possible by changing the behaviour of thread_freelist to do
6140 push_front when threads die instead of push_back.
6142 2004-01-14 Paolo Carlini <pcarlini@suse.de>
6144 * include/bits/locale_facets.h (struct __numpunct_cache):
6145 Add member _M_grouping_size, caching the length of _M_grouping.
6146 (__numpunct_cache<>::_M_cache): Assign the latter.
6147 (__verify_grouping): Move declaration...
6148 * include/bits/locale_facets.tcc (__verify_grouping):
6149 ... here, change signature to take a const char* and a size_t
6150 for the grouping; not a template anymore.
6151 (__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
6152 Likewise change signature and tweak consistently.
6153 (num_get::_M_extract_float, num_get::_M_extract_int,
6154 num_put::_M_insert_int, num_put::_M_insert_float,
6155 money_get::do_get(string_type&), money_get::do_put(string_type)):
6157 * config/locale/generic/numeric_members.cc
6158 (numpunct<>::_M_initialize_numpunct): Assign the new member.
6159 * config/locale/gnu/numeric_members.cc
6160 (numpunct<>::_M_initialize_numpunct): Likewise.
6161 * src/locale-inst.cc (__add_grouping): Tweak signature.
6162 (__verify_grouping): Don't instantiate, not a template anymore.
6164 * include/bits/locale_facets.h: Rename _M_truename_len ->
6165 _M_truename_size, _M_falsename_len -> _M_falsename_size.
6166 * include/bits/locale_facets.tcc: Likewise.
6167 * config/locale/generic/numeric_members.cc: Likewise.
6168 * config/locale/gnu/numeric_members.cc: Likewise.
6170 2004-01-14 Stefan Olsson <stefan@snon.net>
6172 * include/ext/mt_allocator.h: Fixups.
6173 * testsuite/performance/allocator.cc: Enable __mt_alloc tests.
6174 * testsuite/performance/allocator_thread.cc: Same.
6176 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
6178 * testsuite/performance/ifstream_extract_float.cc: Add higher
6180 * testsuite/performance/ofstream_insert_float.cc: Same.
6182 2004-01-13 Paolo Carlini <pcarlini@suse.de>
6184 * src/locale-misc-inst.cc (__convert_from_v(long),
6185 __convert_from_v(unsigned long), __convert_from_v(long long),
6186 __convert_from_v(unsigned long long)): Remove, unused.
6188 2004-01-13 Benjamin Kosnik <bkoz@redhat.com>
6190 * testsuite/performance/ifstream_extract_float.cc: New.
6191 * testsuite/performance/ofstream_insert_float.cc: Float generation
6194 * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
6195 * 20_util/auto_ptr/1.cc: ...this.
6196 * 20_util/auto_ptr/2.cc: Same.
6197 * 20_util/auto_ptr/3.cc: Same.
6198 * 20_util/auto_ptr/3946.cc: Same.
6199 * 20_util/auto_ptr/4.cc: Same.
6200 * 20_util/auto_ptr/5.cc: Same.
6201 * 20_util/auto_ptr/6.cc: Same.
6202 * 20_util/auto_ptr/7.cc: Same.
6203 * 20_util/auto_ptr/assign_neg.cc
6204 * 20_util/pairs.cc: Break into...
6205 * 20_util/pair/1.cc: ...this.
6206 * 20_util/pair/2.cc: Same.
6207 * 20_util/pair/3.cc: Same.
6208 * 20_util/pair/4.cc: Same.
6210 2004-01-13 Paolo Carlini <pcarlini@suse.de>
6212 * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
6213 Set correctly just basefield, the only group that matters.
6215 2004-01-13 Paolo Carlini <pcarlini@suse.de>
6217 * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
6218 (_Rope_rep_base): Inherit directly from the rope allocator;
6219 use rebinding instead of _Alloc_traits; pick up data member
6220 from _Rope_rep_alloc_base.
6221 (_Rope_alloc_base): Eliminate.
6222 (_Rope_base): Inherit directly from the rope allocator; use
6223 rebinding instead of _Alloc_traits; pick up data member from
6225 (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
6226 rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
6228 2004-01-13 Paolo Carlini <pcarlini@suse.de>
6231 * include/bits/basic_string.tcc (compare(size_type, size_type,
6232 const _CharT*, size_type)): Implement correctly the resolution
6233 of DR 5: basically, s is a char array, -not- a C string.
6234 * include/bits/basic_string.h: Tweak some comments.
6235 * testsuite/21_strings/basic_string/compare/char/13650.cc: New.
6236 * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
6238 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch>
6240 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
6243 2004-01-12 Paolo Carlini <pcarlini@suse.de>
6245 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
6247 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
6250 2004-01-12 Paolo Carlini <pcarlini@suse.de>
6252 * include/bits/locale_facets.h (struct __numpunct_cache):
6253 Add members _M_truename_len and _M_falsename_len, caching
6254 the lengths of _M_truename and _M_falsename.
6255 (__numpunct_cache<>::_M_cache): Assign the latter.
6256 * include/bits/locale_facets.tcc (num_get::do_get(bool&),
6257 num_put::do_put(bool)): Use the new members, thus avoiding
6258 computing string lengths again and again.
6259 * config/locale/generic/numeric_members.cc
6260 (numpunct<>::_M_initialize_numpunct): Assign the new members.
6261 * config/locale/gnu/numeric_members.cc
6262 (numpunct<>::_M_initialize_numpunct): Likewise.
6264 2004-01-12 Mark Mitchell <mark@codesourcery.com>
6266 * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
6267 * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
6269 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
6270 and remove Cygwin XFAIL.
6271 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
6272 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
6273 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
6274 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
6276 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
6277 * testsuite/27_io/objects/char/7.cc: Likewise.
6278 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
6279 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
6280 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
6282 2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
6284 * include/std/std_complex.h (std::complex<>::real): Return a
6285 reference. Add non-const overload.
6286 (std::complex<>::real): Likewise.
6287 (std::real): Likewise.
6288 (std::imag): Likewise.
6289 (std::operator+): Tidy.
6290 (std::operator-): Likewise.
6291 (std::operator*): Likewise.
6292 (std::operator/): Likewise.
6293 (std::operator>>): Likewise.
6295 2004-01-11 Paolo Carlini <pcarlini@suse.de>
6298 * include/bits/fstream.tcc (imbue): Exploit the external
6299 buffer to imbue 'on the fly' a new locale and convert its
6300 remainder with the new codecvt facet.
6301 (underflow): Tweak slightly to deal with this special case.
6302 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
6303 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
6304 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
6305 * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
6306 * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
6308 2004-01-10 Paolo Carlini <pcarlini@suse.de>
6310 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
6313 2004-01-10 Paolo Carlini <pcarlini@suse.de>
6316 * include/bits/locale_classes.h (class locale): Fix category
6318 * testsuite/22_locale/locale/13630.cc: Add.
6320 2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org>
6322 * include/bits/locale_facets.h: Make a name really dependent. This
6323 will be needed when Core Issue 224 is implemented.
6325 2004-01-09 Paolo Carlini <pcarlini@suse.de>
6327 * testsuite/performance/allocator.cc: Demangle typeid(obj).name().
6328 * testsuite/performance/allocator_thread.cc: Likewise.
6330 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
6332 * crossconfig.m4: Add LFS, io bits to linux cross config.
6333 * acconfig.h: Remove obsolete bits, reorder.
6334 * config.h.in: Regenerate.
6338 2004-01-07 Gawain Bolton <gp.bolton@computer.org>
6340 * include/bits/stl_list.h:
6341 * include/bits/list.tc:
6343 Performance enhancements for destructor, push_front(),
6344 push_back(), pop_front(), pop_back(), sort()
6345 Eliminated static_casts where possible.
6346 Moved code out of header files into new src/list.cc
6347 implementation file for library where possible.
6348 Remove inheritance from iterator class and create separate
6349 classes for non-constant and constant iterators.
6350 * include/bits/stl_tree.h (_Rb_tree class):
6352 Only erase contents in destructor.
6353 Eliminate unnecessary initialization in assignment operator.
6354 Optimize for the nominal case by not checking whether
6355 container is empty in clear().
6356 Re-order test in _M_insert() to improve performance.
6357 Move initialization of new node's left & right pointers to
6358 src/tree.cc to where new node's colour is initialized
6359 and to reduce the amount of inline code.
6360 Use _M_leftmost() and _M_end() to improve readability where
6362 Create separate classes for non-constant and constant
6363 iterators to clarify code, avoid extra template parameters and
6364 casting away constness.
6366 2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
6368 * src/Makefile.am (sources): Add list.cc, tree.cc.
6369 * src/stl_tree.cc: Move to...
6370 * src/tree.cc: ...here.
6372 * config/linker-map.gnu: Tweaks.
6373 * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
6374 * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
6376 * bits/stl_vector.h: Column wrap comments.
6378 2004-01-07 Loren J. Rittle <ljrittle@acm.org>
6380 (re-open) PR libstdc++/12658
6381 * src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
6382 (locale::global): Likewise.
6384 2004-01-07 Paolo Carlini <pcarlini@suse.de>
6386 * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
6387 Remove redundant #include.
6388 * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
6389 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
6390 re-enable normal testing.
6391 * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
6393 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
6394 * testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
6396 * testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
6398 * testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
6400 * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
6402 * testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
6404 * testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
6406 * testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
6408 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
6409 More properly, #include <locale>.
6410 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
6411 Remove redundant #include.
6412 * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
6413 * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
6414 redundant DejaGnu directive.
6415 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
6418 2004-01-06 Benjamin Kosnik <bkoz@redhat.com>
6419 Stefan Olsson <stefan@snon.net>
6421 * scripts/check_performance: Use -pthread.
6422 * testsuite/performance/allocator.cc: Tweaks, add list.
6423 * testsuite/performance/allocator_thread.cc: New.
6425 2004-01-06 Jerry Quinn <jlquinn@optonline.net>
6427 * include/bits/locale_facets.h: Document public classes and
6429 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
6432 2004-01-06 Paolo Carlini <pcarlini@suse.de>
6434 * testsuite/27_io/basic_istream/extractors_other/char/1.cc:
6435 Remove redundant #includes.
6436 * testsuite/27_io/basic_istream/extractors_other/char/2.cc:
6438 * testsuite/27_io/basic_istream/extractors_other/char/3.cc:
6440 * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
6441 * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
6442 * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
6443 * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
6444 * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
6445 * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
6446 * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
6447 * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
6448 * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
6449 * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
6450 * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
6451 * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
6452 * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
6453 * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
6454 * testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
6456 * testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
6458 * testsuite/27_io/basic_istream/readsome/char/8258.cc:
6460 * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
6462 * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
6464 * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
6465 * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
6466 * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
6468 2004-01-04 Paolo Carlini <pcarlini@suse.de>
6470 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
6471 Remove redundant #includes.
6472 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
6474 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
6476 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
6478 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
6480 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
6482 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
6484 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
6486 * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
6488 * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
6490 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
6492 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
6494 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
6497 2004-01-04 Mark Mitchell <mark@codesourcery.com>
6500 * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
6502 * testsuite/27_io/basic_fstream/4.cc: Likewise.
6503 * testsuite/27_io/basic_ifstream/4.cc: Likewise.
6504 * testsuite/27_io/basic_ios/4.cc: Likewise.
6505 * testsuite/27_io/basic_iostream/4.cc: Likewise.
6506 * testsuite/27_io/basic_istream/4.cc: Likewise.
6507 * testsuite/27_io/basic_istingstream/4.cc: Likewise.
6508 * testsuite/27_io/basic_ofstream/4.cc: Likewise.
6509 * testsuite/27_io/basic_ostream/4.cc: Likewise.
6510 * testsuite/27_io/basic_ostringstream/4.cc: Likewise.
6511 * testsuite/27_io/basic_stringbuf/5.cc: Likewise.
6512 * testsuite/27_io/basic_stringstream/4.cc: Likewise.
6514 2004-01-04 Paolo Carlini <pcarlini@suse.de>
6516 * config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
6517 Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
6518 always use double underscored names.
6519 * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
6521 * include/bits/locale_facets.h (struct __numpunct_cache):
6522 Dimension _M_atoms_out and _M_atoms_in one position smaller.
6523 (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out