OSDN Git Service

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