OSDN Git Service

libstdc++/13823
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2004-01-23  Loren J. Rittle  <ljrittle@acm.org>
2
3         libstdc++/13823
4         * testsuite/performance/allocator_map_thread.cc: New test.
5
6 2004-01-22  Paolo Carlini  <pcarlini@suse.de>
7
8         * include/bits/locale_facets.tcc
9         (money_put::do_put(..., long double)): Use the basic_string
10         constructor for char arrays, not that for C-strings, to pass
11         __digits to do_put(..., const string_type&): __ws isn't
12         null-terminated.
13
14 2004-01-22  Paolo Carlini  <pcarlini@suse.de>
15
16         * include/bits/basic_string.h (_M_replace_safe): Change
17         signatures to take size_types and const _CharT*.
18         (_M_replace_aux): Likewise, takes size_types instead of
19         iterators.
20         (append(size_type, _CharT)): Update call.
21         (assign(size_type, _CharT)): Ditto.
22         (replace(iterator, iterator, size_type, _CharT)): Ditto.
23         (_M_replace_dispatch(iterator, iterator, _Integer,
24         _Integer, __true_type)): Ditto.
25         * include/bits/basic_string.tcc (assign(const _CharT*,
26         size_type)): Ditto.
27         (insert(size_type, const _CharT*, size_type)): Ditto.
28         (replace(size_type, size_type, const _CharT*,
29         size_type)): Ditto.
30         (_M_replace(iterator, iterator, _InputIterator,
31         _InputIterator)): Ditto.
32         (append(const basic_string&)): Ditto.
33         (append(const basic_string&, size_type, size_type): Ditto.
34         (append(const _CharT*, size_type): Ditto.
35         (_M_replace_safe, _M_replace_safe): Change definitions
36         accordingly, simplify.
37         * string-inst.cc (_M_replace_safe): Don't instantiate.
38
39 2004-01-21  Paolo Carlini  <pcarlini@suse.de>
40
41         * include/bits/basic_string.tcc (append(const basic_string&)):
42         Revert previous change.
43         (append(const basic_string&, size_type, size_type)): Revert
44         previous change, use _M_check and _M_limit.
45
46 2004-01-21  Paolo Carlini  <pcarlini@suse.de>
47
48         * include/bits/basic_string.h (_M_check): Change to return
49         a checked __pos and take an additional const char* argument.
50         (_M_fold): Rename to _M_limit, change to return a size_type,
51         corresponding to the __off limited to the actual length.
52         (insert(size_type, size_type, _CharT)): Update call, call
53         replace.
54         (insert(iterator, _CharT)): Call replace(iterator, iterator,
55         size_type, _CharT) instead.
56         (erase(size_type, size_type)): Update calls.
57         (replace(size_type, size_type, size_type, _CharT)): Ditto.
58         (substr(size_type, size_type)): Use _M_check.
59         * include/bits/basic_string.tcc (basic_string(const basic_string&,
60         size_type, size_type)): Update calls.
61         (basic_string(const basic_string&, size_type, size_type,
62         const _Alloc&)): Ditto.
63         (assign(const basic_string&, size_type, size_type)): Use the
64         new _M_check and _M_limit.
65         (insert(size_type, const basic_string&, size_type, size_type):
66         Ditto.
67         (insert(size_type, const _CharT*, size_type)): Ditto.
68         (replace(size_type, size_type, const _CharT*, size_type): Ditto.
69         (replace(size_type, size_type, const basic_string&,
70         size_type, size_type)): Ditto.
71         (append(const basic_string&)): Ditto.
72         (append(const basic_string&, size_type, size_type)): Ditto.
73         (copy(_CharT*, size_type, size_type)): Ditto.
74         (compare(size_type, size_type, const basic_string&)): Ditto.
75         (compare(size_type, size_type, const basic_string&,size_type,
76         size_type)): Ditto.
77         (compare(size_type, size_type, const _CharT*)): Ditto.
78         (compare(size_type, size_type, const _CharT*, size_type)): Ditto.
79
80 2004-01-19  Stefan Olsson  <stefan@snon.net>
81
82         * include/ext/mt_allocator.h: If a thread, when it dies, still has
83         memory on it's freelist this memory is not returned to global
84         list. Simplification of deallocate so that memory is always
85         returned to the calling thread id's freelist instead of to
86         global. Fix typos. Add volatile where appropriate.
87
88 2004-01-19  Loren J. Rittle  <ljrittle@acm.org>
89
90         * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
91         * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test.  Like -2 but
92         use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.
93
94 2004-01-19  Paolo Carlini  <pcarlini@suse.de>
95
96         * src/debug.cc: Make sure all the names are prefixed with
97         double (or single) underscore.
98
99 2004-01-19  Paolo Carlini  <pcarlini@suse.de>
100
101         * src/debug.cc: Trivial formatting change.
102
103 2004-01-19  Paolo Carlini  <pcarlini@suse.de>
104
105         * include/bits/basic_string.tcc (_S_construct(size_type,
106         _CharT, const _Alloc&)): Remove redundant try/catch.
107         (_M_mutate(size_type, size_type, size_type)): Ditto.
108         (_M_clone(const _Alloc&, size_type)): Ditto.
109         
110 2004-01-18  Paolo Carlini  <pcarlini@suse.de>
111
112         * include/bits/basic_string.h (c_str()): Simplify, due to
113         21.3.4 the internal representation is always kept null-terminated.
114         * include/bits/basic_string.tcc (_M_clone): Null-terminate.
115         * testsuite/21_strings/basic_string/element_access/char/4.cc: New.
116         * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc:
117         Ditto.
118
119 2004-01-18  Paolo Carlini  <pcarlini@suse.de>
120
121         * include/bits/basic_string.h (append(size_type, _CharT)):
122         Moved inline, just call _M_replace_aux, no source iterators at
123         risk of being clobbered.
124         (assign(size_type, _CharT)): Call directly _M_replace_aux.
125         (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
126         input_iterator_tag)): Remove fifth unused argument.
127         (_M_replace_dispatch(iterator, iterator, _InputIterator,
128         _InputIterator, __false_type)): Update call.
129         * include/bits/basic_string.tcc (replace(size_type, size_type,
130         const _CharT*, size_type)): Update call.
131         (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
132         throw string literal.
133         (_M_replace_safe(iterator, iterator, _ForwardIterator,
134         _ForwardIterator)): Likewise.
135         (_M_replace(iterator, iterator, _InputIterator, _InputIterator,
136         input_iterator_tag)): Remove fifth unused argument.
137         (append(size_type __n, _CharT __c)): Move inline.
138         * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
139         const C*, const C*, input_iterator_tag)): Remove fifth unused
140         argument.
141
142 2004-01-16  Benjamin Kosnik  <bkoz@redhat.com>
143
144         * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
145         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.     
146
147 2004-01-16  Danny Smith  <dannysmith@users.sourceforge.net>
148
149         * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
150         mkfifo for mingw32.
151
152 2004-01-15  Stefan Olsson  <stefan@snon.net>
153
154         * include/ext/mt_allocator.h: Reuse thread id's as soon as
155         possible by changing the behaviour of thread_freelist to do
156         push_front when threads die instead of push_back.
157
158 2004-01-14  Paolo Carlini  <pcarlini@suse.de>
159
160         * include/bits/locale_facets.h (struct __numpunct_cache):
161         Add member _M_grouping_size, caching the length of _M_grouping.
162         (__numpunct_cache<>::_M_cache): Assign the latter.
163         (__verify_grouping): Move declaration...
164         * include/bits/locale_facets.tcc (__verify_grouping):
165         ... here, change signature to take a const char* and a size_t
166         for the grouping; not a template anymore.
167         (__add_grouping, num_put::_M_group_int, num_put::_M_group_float):
168         Likewise change signature and tweak consistently. 
169         (num_get::_M_extract_float, num_get::_M_extract_int,
170         num_put::_M_insert_int, num_put::_M_insert_float,
171         money_get::do_get(string_type&), money_get::do_put(string_type)):
172         Update callers. 
173         * config/locale/generic/numeric_members.cc
174         (numpunct<>::_M_initialize_numpunct): Assign the new member.    
175         * config/locale/gnu/numeric_members.cc
176         (numpunct<>::_M_initialize_numpunct): Likewise. 
177         * src/locale-inst.cc (__add_grouping): Tweak signature.
178         (__verify_grouping): Don't instantiate, not a template anymore.
179
180         * include/bits/locale_facets.h: Rename _M_truename_len ->
181         _M_truename_size, _M_falsename_len -> _M_falsename_size.
182         * include/bits/locale_facets.tcc: Likewise.
183         * config/locale/generic/numeric_members.cc: Likewise.
184         * config/locale/gnu/numeric_members.cc: Likewise.
185
186 2004-01-14  Stefan Olsson  <stefan@snon.net>
187
188         * include/ext/mt_allocator.h: Fixups.
189         * testsuite/performance/allocator.cc: Enable __mt_alloc tests.
190         * testsuite/performance/allocator_thread.cc: Same.
191         
192 2004-01-13  Benjamin Kosnik  <bkoz@redhat.com>
193
194         * testsuite/performance/ifstream_extract_float.cc: Add higher
195         precision tests.
196         * testsuite/performance/ofstream_insert_float.cc: Same.
197         
198 2004-01-13  Paolo Carlini  <pcarlini@suse.de>
199
200         * src/locale-misc-inst.cc (__convert_from_v(long),
201         __convert_from_v(unsigned long), __convert_from_v(long long),
202         __convert_from_v(unsigned long long)): Remove, unused.
203
204 2004-01-13  Benjamin Kosnik  <bkoz@redhat.com>
205
206         * testsuite/performance/ifstream_extract_float.cc: New.
207         * testsuite/performance/ofstream_insert_float.cc: Float generation
208         matches above.
209
210         * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
211         * 20_util/auto_ptr/1.cc: ...this.
212         * 20_util/auto_ptr/2.cc: Same.
213         * 20_util/auto_ptr/3.cc: Same.
214         * 20_util/auto_ptr/3946.cc: Same.
215         * 20_util/auto_ptr/4.cc: Same.
216         * 20_util/auto_ptr/5.cc: Same.
217         * 20_util/auto_ptr/6.cc: Same.
218         * 20_util/auto_ptr/7.cc: Same.
219         * 20_util/auto_ptr/assign_neg.cc
220         * 20_util/pairs.cc: Break into...
221         * 20_util/pair/1.cc: ...this.
222         * 20_util/pair/2.cc: Same.
223         * 20_util/pair/3.cc: Same.
224         * 20_util/pair/4.cc: Same.
225
226 2004-01-13  Paolo Carlini  <pcarlini@suse.de>
227
228         * include/bits/locale_facets.tcc (num_get::do_get(void*&)):
229         Set correctly just basefield, the only group that matters.
230
231 2004-01-13  Paolo Carlini  <pcarlini@suse.de>
232
233         * include/ext/rope (_Rope_rep_alloc_base): Eliminate.
234         (_Rope_rep_base): Inherit directly from the rope allocator;
235         use rebinding instead of _Alloc_traits; pick up data member
236         from _Rope_rep_alloc_base.
237         (_Rope_alloc_base): Eliminate.
238         (_Rope_base): Inherit directly from the rope allocator; use
239         rebinding instead of _Alloc_traits; pick up data member from
240         _Rope_alloc_base.
241         (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
242         rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
243
244 2004-01-13  Paolo Carlini  <pcarlini@suse.de>
245
246         PR libstdc++/13650
247         * include/bits/basic_string.tcc (compare(size_type, size_type,
248         const _CharT*, size_type)): Implement correctly the resolution
249         of DR 5: basically, s is a char array, -not- a C string.
250         * include/bits/basic_string.h: Tweak some comments.
251         * testsuite/21_strings/basic_string/compare/char/13650.cc: New.
252         * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
253
254 2004-01-12  Andreas Tobler  <a.tobler@schweiz.ch>
255
256         * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for
257         Solaris.
258
259 2004-01-12  Paolo Carlini  <pcarlini@suse.de>
260
261         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc:
262         Use try_mkfifo.
263         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
264         Likewise.
265
266 2004-01-12  Paolo Carlini  <pcarlini@suse.de>
267
268         * include/bits/locale_facets.h (struct __numpunct_cache):
269         Add members _M_truename_len and _M_falsename_len, caching
270         the lengths of _M_truename and _M_falsename.
271         (__numpunct_cache<>::_M_cache): Assign the latter.
272         * include/bits/locale_facets.tcc (num_get::do_get(bool&),
273         num_put::do_put(bool)): Use the new members, thus avoiding
274         computing string lengths again and again.
275         * config/locale/generic/numeric_members.cc
276         (numpunct<>::_M_initialize_numpunct): Assign the new members.
277         * config/locale/gnu/numeric_members.cc
278         (numpunct<>::_M_initialize_numpunct): Likewise.
279
280 2004-01-12  Mark Mitchell  <mark@codesourcery.com>
281
282         * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it.
283         * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define
284         it.
285         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo
286         and remove Cygwin XFAIL.
287         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
288         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
289         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
290         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
291         Likewise.
292         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
293         * testsuite/27_io/objects/char/7.cc: Likewise.
294         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
295         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
296         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
297
298 2004-01-11  Gabriel Dos Reis  <gdr@integrable-solutions.net>
299
300         * include/std/std_complex.h (std::complex<>::real): Return a
301         reference. Add non-const overload.
302         (std::complex<>::real): Likewise.
303         (std::real): Likewise.
304         (std::imag): Likewise.
305         (std::operator+): Tidy.
306         (std::operator-): Likewise.
307         (std::operator*): Likewise.
308         (std::operator/): Likewise.
309         (std::operator>>): Likewise.
310
311 2004-01-11  Paolo Carlini  <pcarlini@suse.de>
312
313         PR libstdc++/13582
314         * include/bits/fstream.tcc (imbue): Exploit the external
315         buffer to imbue 'on the fly' a new locale and convert its
316         remainder with the new codecvt facet.
317         (underflow): Tweak slightly to deal with this special case.
318         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New.
319         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto.
320         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto.
321         * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto.
322         * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto.
323         
324 2004-01-10  Paolo Carlini  <pcarlini@suse.de>
325
326         * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
327         Import Revision 28.
328
329 2004-01-10  Paolo Carlini  <pcarlini@suse.de>
330
331         PR libstdc++/13630
332         * include/bits/locale_classes.h (class locale): Fix category
333         typedef.
334         * testsuite/22_locale/locale/13630.cc: Add.
335
336 2004-01-10  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
337
338         * include/bits/locale_facets.h: Make a name really dependent. This
339         will be needed when Core Issue 224 is implemented.
340
341 2004-01-09  Paolo Carlini  <pcarlini@suse.de>
342
343         * testsuite/performance/allocator.cc: Demangle typeid(obj).name().
344         * testsuite/performance/allocator_thread.cc: Likewise.
345
346 2004-01-07  Benjamin Kosnik  <bkoz@redhat.com>
347
348         * crossconfig.m4: Add LFS, io bits to linux cross config.
349         * acconfig.h: Remove obsolete bits, reorder.
350         * config.h.in: Regenerate.
351         * aclocal.m4: Same.
352         * configure: Same.
353         
354 2004-01-07  Gawain Bolton  <gp.bolton@computer.org>
355
356         * include/bits/stl_list.h:
357         * include/bits/list.tc:
358         * src/list.cc:
359         Performance enhancements for destructor, push_front(),
360         push_back(), pop_front(), pop_back(), sort()
361         Eliminated static_casts where possible.
362         Moved code out of header files into new src/list.cc
363         implementation file for library where possible.
364         Remove inheritance from iterator class and create separate
365         classes for non-constant and constant iterators.
366         * include/bits/stl_tree.h (_Rb_tree class):
367         * src/tree.cc: 
368         Only erase contents in destructor.
369         Eliminate unnecessary initialization in assignment operator.
370         Optimize for the nominal case by not checking whether
371         container is empty in clear().
372         Re-order test in _M_insert() to improve performance.
373         Move initialization of new node's left & right pointers to
374         src/tree.cc to where new node's colour is initialized
375         and to reduce the amount of inline code.
376         Use  _M_leftmost() and _M_end() to improve readability where
377         appropriate.
378         Create separate classes for non-constant and constant
379         iterators to clarify code, avoid extra template parameters and 
380         casting away constness.         
381         
382 2004-01-07  Benjamin Kosnik  <bkoz@redhat.com>
383
384         * src/Makefile.am (sources): Add list.cc, tree.cc.
385         * src/stl_tree.cc: Move to...
386         * src/tree.cc: ...here.
387         * src/list.cc: Add.
388         * config/linker-map.gnu: Tweaks.
389         * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
390         * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.
391
392         * bits/stl_vector.h: Column wrap comments.
393         
394 2004-01-07  Loren J. Rittle  <ljrittle@acm.org>
395
396         (re-open) PR libstdc++/12658
397         * src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
398         (locale::global): Likewise.
399
400 2004-01-07  Paolo Carlini  <pcarlini@suse.de>
401
402         * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
403         Remove redundant #include.
404         * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
405         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
406         re-enable normal testing.
407         * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
408         #include.
409         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
410         * testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
411         Likewise.
412         * testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
413         Likewise.
414         * testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
415         Likewise.
416         * testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
417         Likewise.
418         * testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
419         Likewise.
420         * testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
421         Likewise.
422         * testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
423         Likewise.
424         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
425         More properly, #include <locale>.
426         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
427         Remove redundant #include.
428         * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
429         * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
430         redundant DejaGnu directive.
431         * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
432         redundant #include.
433
434 2004-01-06  Benjamin Kosnik  <bkoz@redhat.com>
435             Stefan Olsson  <stefan@snon.net>
436
437         * scripts/check_performance: Use -pthread.
438         * testsuite/performance/allocator.cc: Tweaks, add list.
439         * testsuite/performance/allocator_thread.cc: New.
440
441 2004-01-06  Jerry Quinn  <jlquinn@optonline.net>
442
443         * include/bits/locale_facets.h: Document public classes and
444         functions.
445         * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
446         Add comment.
447
448 2004-01-06  Paolo Carlini  <pcarlini@suse.de>
449
450         * testsuite/27_io/basic_istream/extractors_other/char/1.cc:
451         Remove redundant #includes.
452         * testsuite/27_io/basic_istream/extractors_other/char/2.cc:
453         Likewise.
454         * testsuite/27_io/basic_istream/extractors_other/char/3.cc:
455         Likewise.
456         * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
457         * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
458         * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
459         * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
460         * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
461         * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
462         * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
463         * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
464         * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
465         * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
466         * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
467         * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
468         * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
469         * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
470         * testsuite/27_io/basic_istream/readsome/char/6746-1.cc:
471         Likewise.
472         * testsuite/27_io/basic_istream/readsome/char/6746-2.cc:
473         Likewise.
474         * testsuite/27_io/basic_istream/readsome/char/8258.cc:
475         Likewise.
476         * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc:
477         Likewise.
478         * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc:
479         Likewise.
480         * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
481         * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
482         * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
483
484 2004-01-04  Paolo Carlini  <pcarlini@suse.de>
485
486         * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
487         Remove redundant #includes.
488         * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
489         Likewise.
490         * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
491         Likewise.
492         * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
493         Likewise.
494         * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
495         Likewise.
496         * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
497         Likewise.
498         * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
499         Likewise.
500         * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
501         Likewise.
502         * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
503         Likewise.
504         * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
505         Likewise.
506         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
507         Likewise.
508         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
509         Likewise.
510         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
511         Likewise.
512
513 2004-01-04  Mark Mitchell  <mark@codesourcery.com>
514
515         PR c++/12226
516         * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
517         constructor.
518         * testsuite/27_io/basic_fstream/4.cc: Likewise.
519         * testsuite/27_io/basic_ifstream/4.cc: Likewise.
520         * testsuite/27_io/basic_ios/4.cc: Likewise.
521         * testsuite/27_io/basic_iostream/4.cc: Likewise.
522         * testsuite/27_io/basic_istream/4.cc: Likewise.
523         * testsuite/27_io/basic_istingstream/4.cc: Likewise.
524         * testsuite/27_io/basic_ofstream/4.cc: Likewise.
525         * testsuite/27_io/basic_ostream/4.cc: Likewise.
526         * testsuite/27_io/basic_ostringstream/4.cc: Likewise.
527         * testsuite/27_io/basic_stringbuf/5.cc: Likewise.
528         * testsuite/27_io/basic_stringstream/4.cc: Likewise.
529
530 2004-01-04  Paolo Carlini  <pcarlini@suse.de>
531
532         * config/locale/generic/numeric_members.cc (_M_initialize_numpunct):
533         Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in;
534         always use double underscored names.
535         * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct):
536         Likewise.
537         * include/bits/locale_facets.h (struct __numpunct_cache):
538         Dimension _M_atoms_out and _M_atoms_in one position smaller.
539         (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out
540         and _M_atoms_in.