OSDN Git Service

2003-04-27 Nathan Myers <ncm@cantrip.org>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2003-04-27  Nathan Myers  <ncm@cantrip.org>
2
3         Move some basic_string members out of line because
4         they are too big to reasonably be inline.
5         * include/bits/basic_string.h
6         (assign(const basic_string&, size_type, size_type),
7         assign(const _CharT*, size_type),
8         insert(size_type, const basic_string&, size_type, size_type),
9         insert(size_type, const _CharT*, size_type),
10         replace(size_type, size_type, const _CharT*, size_type)):
11         Move from here to...
12         * include/bits/basic_string.tcc: ...here.
13         
14 2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
15
16         * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
17         the innermost 'if' by factoring out some code.
18
19 2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
20
21         * include/bits/streambuf.tcc (__copy_streambufs): Don't
22         use in_avail(), simplify.
23
24 2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
25
26         * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
27         in basic_stringbuf it's unused.
28         
29         * include/std/std_sstream.h (underflow): consistently use
30         _M_in_cur, not gptr().
31
32 2003-04-25  Ranjit Mathew  <rmathew@hotmail.com>
33             Phil Edwards  <pme@gcc.gnu.org>
34         
35         * testsuite_flags.in: Guard against the possibility
36         of having "xgcc" as a part of a folder name in the
37         path to the GCC build folder.
38         * testsuite/Makefile.am: Likewise.
39         * testsuite/Makefile.in: Regenerated.
40         
41 2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>
42
43         PR libstdc++/10132
44         * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
45         exception specifications.
46         (basic_filebuf::close): Same.
47         (basic_filebuf::_M_pback_destroy): Same.
48         (basic_filebuf::_M_destroy_internal_buffer): Same.
49         (basic_filebuf): Remove __res_type typedef.     
50         * src/fstream.cc: Same.
51         * include/bits/fstream.tcc
52         (basic_filebuf::_M_convert_to_external): Simplify.
53         (basic_filebuf::seekoff): Use has_facet before use_facet.
54         (basic_filebuf::close): Add exception specification of throw().
55         * testsuite/27_io/basic_filebuf/cons: New.
56         * testsuite/27_io/basic_filebuf/cons/wchar_t: New.      
57         * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.   
58         * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
59         * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
60
61 2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>
62         
63         * include/bits/locale_classes.h
64         (locale::_S_extra_categories_size): Remove.
65         * src/locale.cc: Remove _S_extra_categories_size.
66         * src/localename.cc: Same.
67         * config/locale/gnu/c_locale.cc: Same.
68         * config/locale/generic/c_locale.cc: Same.
69         
70 2003-04-24  Richard Sandiford  <rsandifo@redhat.com>
71
72         * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
73
74 2003-04-24  Phil Edwards  <pme@gcc.gnu.org>
75
76         * docs/html/17_intro/howto.html:  Update some links.
77         * docs/html/18_support/howto.html:  Link doxygen numeric_limits notes.
78         * docs/html/27_io/howto.html:  Link doxygen stdio_filebuf notes.
79         * docs/html/ext/howto.html:  Link to demangler notes and API.
80         * docs/html/faq/index.html:  Remove trailing whitespace.
81         (1.4, 2.4, 3.8, 4.1):  Bring up to date.
82         (5.6):  Change to a bulleted list.
83
84         * docs/html/faq/index.txt, docs/html/documentation.html,
85         docs/html/17_intro/porting.html:  Regenerate.
86
87 2003-04-23  Paolo Carlini  <pcarlini@unitus.it>
88
89         * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
90         belongs to basic_filebuf.
91         * testsuite/27_io/basic_fstream/3.cc: Likewise.
92         * testsuite/27_io/basic_ifstream/3.cc: Likewise.
93         * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
94         instantiation (now belongs to basic_filebuf).
95         * testsuite/27_io/basic_iostream/3.cc: Likewise.
96         * testsuite/27_io/basic_istream/3.cc: Likewise.
97         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
98         _S_pback_size now belongs to basic_filebuf.
99         * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
100         instantiation (now belongs to basic_filebuf).
101         * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
102         belongs to basic_filebuf.
103         * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
104         instantiation (now belongs to basic_filebuf).
105         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
106         _S_pback_size now belongs to basic_filebuf.
107         * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
108         instantiation (now belongs to basic_filebuf).
109         * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
110         to basic_filebuf.
111         * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
112         instantiation (now belongs to basic_filebuf).
113         * testsuite/27_io/basic_stringstream/3.cc: Likewise.
114
115 2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
116
117         * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
118         * configure: Regenerated.
119         
120 2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
121         
122         * config/locale/generic/c_locale.h (__convert_from_v): Use
123         attribute unused.
124
125 2003-04-23  Phil Edwards  <pme@gcc.gnu.org>
126
127         * docs/html/ext/howto.html ('LWG Issues'):  Add issue 60, partial
128         implementation only.
129         * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
130         Comment and change to comply with DR 60 and the effect on gcount().
131         * include/std/std_istream.h:  Update comments.
132         * testsuite/27_io/basic_istream/putback/char/1.cc (test01):  Add
133         comments about reasons for tests.  Test sync() against gcount().
134         * testsuite/27_io/basic_istream/seekg/char/2.cc:  New file, test
135         for effect on gcount().
136         * testsuite/27_io/basic_istream/tellg/char/2.cc:  New file, test
137         for effect on gcount().
138
139 2003-04-22  Loren J. Rittle  <ljrittle@acm.org>
140
141         * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
142         Adjust timing.
143
144 2003-04-22  Paolo Carlini  <pcarlini@unitus.it>
145
146         * include/std/std_streambuf.h (_S_pback_size, _M_pback,
147         _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
148         _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
149         (basic_streambuf::basic_streambuf()): Adjust.
150         * include/std/std_fstream.h (_S_pback_size, _M_pback,
151         _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
152         _M_pback_create(), _M_pback_destroy()): Moved here
153         from basic_streambuf.
154         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
155         Adjust.
156         (basic_filebuf::_S_pback_size): Add declaration.
157         * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
158         Remove declaration.
159
160 2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
161
162         Consistently use _M_in_beg instead of eback(), _M_in_cur
163         instead of gptr(), and so on.
164         * include/bits/fstream.tcc (pbackfail, imbue): Here.
165         * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
166         * include/bits/streambuf.tcc (sbumpc, sputbackc,
167         __copy_streambufs): Ditto.
168         * include/std/std_streambuf.h (sgetc): Ditto.
169
170 2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
171
172         * include/bits/sstream.tcc (pbackfail, overflow):
173         Formatting fixes.
174
175 2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
176
177         * include/std/std_streambuf.h (uflow()): It's used only by
178         basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
179         therefore do not consider the _M_buf_unified == true case.
180
181         * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
182
183 2003-04-20  Paolo Carlini  <pcarlini@unitus.it>
184
185         * docs/html/ext/howto.html ('LWG Issues'):
186         Add issues 19, 90, 171, 231, 271.
187
188 2003-04-20  Paolo Carlini  <pcarlini@unitus.it>
189
190         * include/bits/sstream.tcc (pbackfail): Remove redundant
191         NULL pointer check from test involving _M_in_*.
192         (overflow, seekoff, seekpos): Const qualify bool variables.
193         * include/std/std_sstream.h (underflow): Remove redundant
194         NULL pointer check from test involving _M_in_*.
195         (_M_really_sync): Const qualify bool variables.
196         * src/fstream.cc (_M_underflow_common): Remove redundant
197         NULL pointer check from test involving _M_in_*, const qualify
198         bool variables.
199
200         * include/std/std_streambuf.h (sgetc): Remove redundant
201         variable.
202
203 2003-04-18  Paolo Carlini  <pcarlini@unitus.it>
204
205         According to 5.9 para 2 (second bullet) for pointers p, q
206         pointing to the same type, with  p == 0 and q == 0, (p < q)
207         is false.
208         * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
209         seekoff): Remove redundant NULL pointer checks from tests
210         involving _M_out_* and _M_in_*, const qualify bool variables.
211         (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
212         qualify bool variables.
213         * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
214         Remove redundant NULL pointer checks from tests involving
215         _M_out_* and _M_in_*, const qualify bool variables.
216         * include/std/std_fstream.h (sync): Likewise.
217         (_M_is_indeterminate): Const qualify bool variables.
218         * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
219         NULL pointer checks from tests involving _M_out_* and _M_in_*,
220         const qualify bool variables.
221         (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
222         variables.
223
224 2003-04-18  Loren J. Rittle  <ljrittle@acm.org>
225
226         * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
227         C99 FP macros, if actually captured.
228
229         * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
230         (_GLIBCPP_USE_C99_DYNAMIC): New macro.
231         (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
232         (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
233         * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
234         New macro.
235         (_GLIBCPP_USE_C99_DYNAMIC): New macro.
236         (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
237         (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
238         * include/c_std/std_cstdlib.h: Use new macros.
239         * include/c_std/std_cstdio.h: Use new macros.
240         * include/c_std/std_cwchar.h: Use new macros.
241
242 2003-04-17  Benjamin Kosnik  <bkoz@redhat.com>
243
244         PR libstdc++/9555
245         * include/bits/ostream.tcc: Catch all exceptions for formatted
246         output, instead of std::exception and derivatives.
247         * include/bits/istream.tcc: Same.
248         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
249         * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
250         * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
251         * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
252         * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
253         * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
254         New.
255
256 2003-04-17  Phil Edwards  <pme@gcc.gnu.org>
257
258         * include/bits/c++config:  Minor cosmetic tweaks.
259
260 2003-04-17  Loren J. Rittle  <ljrittle@acm.org>
261
262         * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
263         * include/Makefile.am (pch_input): Find in ${target_builddir}.
264         (pch_output): Rename to...
265         (pch_output_builddir): ..this.  Find in ${target_builddir}.
266         (pch_source): Tweak.
267         (pch_build): Key off a built file.
268         (pch_output rule): Rename to...
269         (pch_input rule): ...this.  Produce ${pch_output_builddir}
270         instead of ${pch_output}.
271         (install-pch rule): Install ${pch_output_builddir}.
272         * include/Makefile.in: Regenerated.
273
274 2003-04-17  Paolo Carlini  <pcarlini@unitus.it>
275
276         * include/std/std_streambuf.h (setp): _M_out_lim, being
277         the end limit of used put area, is set equal to _M_out_beg.
278
279 2003-04-16  Benjamin Kosnik  <bkoz@redhat.com>
280
281         * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
282         * aclocal.m4: Regenerated.
283         * configure.in: Remove old demangler bits.
284         Call pch checks.
285         * configure: Regenerate.
286         * config.h.in: Regenerate.
287         * include/Makefile.am (allstamps): Now allstamped.
288         (allcreated): Define this.
289         (all-local): Use 'em.
290         Conditionally define pch_build, pch_install based on
291         GLIBCPP_BUILD_PCH.
292         (${pch_output}): New rule.
293         (install-pch): New rule.
294         (install-headers): New rule.
295         (install-data-local): Install headers and conditionally pch.
296         * include/Makefile.in: Regenerate.
297         * testsuite_flags.in (--build-cxx): Use pch file.
298
299 2003-04-16  Jonathan Wakely  <redi@gcc.gnu.org>
300
301         * docs/html/ext/sgiexts.html: Fix path to stylesheet.
302
303 2003-04-15  Benjamin Kosnik  <bkoz at redhat dot com>
304             Paolo Carlini  <pcarlini at unitus dot it>
305
306         PR libstdc++/9423
307         * docs/html/27_io/howto.html
308         ('The buffering is screwing up my program!'): Explain that
309         opening counts as an I/O operation.
310
311 2003-04-15  Andreas Tobler  <a.tobler@schweiz.ch>
312
313         * testsuite/thread/pthread1.cc: Enable for darwin test.
314         * testsuite/thread/pthread2.cc: Same.
315         * testsuite/thread/pthread3.cc: Same.
316         * testsuite/thread/pthread4.cc: Same.
317         * testsuite/thread/pthread5.cc: Same.
318         * testsuite/thread/pthread6.cc: Same.
319  
320 2003-04-15  Loren J. Rittle  <ljrittle@acm.org>
321
322         libstdc++/7680
323         * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
324         Populate it with multiple legal ways to obtain the C99 float
325         transcendentals.  Use them instead of direct global reference.
326         (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
327         * docs/html/17_intro/porting.texi
328         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
329         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
330         (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
331         * config/os/bsd/freebsd/os_defines.h
332         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
333         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
334         * testsuite/26_numerics/c_math_dynamic.cc: New file.
335
336 2003-04-14  Andreas Tobler  <toa@pop.agri.ch>
337             Benjamin Kosnik  <bkoz@redhat.com>
338
339         * config/os/generic/ctype_inline.h: Fix.
340         
341 2003-04-14  Benjamin Kosnik  <bkoz@redhat.com>
342         
343         * testsuite/testsuite_hooks.h
344         (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
345         Change to try_named_locale.
346         * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
347
348         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
349         try_named_locale.
350         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
351         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
352         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
353         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
354         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
355         * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
356         * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
357         * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
358         * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
359         * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
360         * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
361         * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
362         * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
363         * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
364         * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
365         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
366         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
367         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
368         * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
369         * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
370         * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
371         * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
372         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
373         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
374         * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
375         * testsuite/22_locale/collate/compare/char/1.cc: Same.
376         * testsuite/22_locale/collate/compare/char/2.cc: Same.
377         * testsuite/22_locale/collate/compare/char/3.cc: Same.
378         * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
379         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
380         * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
381         * testsuite/22_locale/collate/hash/char/2.cc: Same.
382         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
383         * testsuite/22_locale/collate/transform/char/2.cc: Same.
384         * testsuite/22_locale/collate/transform/char/3.cc: Same.
385         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
386         * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
387         * testsuite/22_locale/collate_byname/1.cc: Same.
388         * testsuite/22_locale/ctype/is/char/2.cc: Same.
389         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
390         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
391         * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
392         * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
393         * testsuite/22_locale/facet/2.cc: Same.
394         * testsuite/22_locale/locale/cons/2.cc: Same.
395         * testsuite/22_locale/locale/cons/4.cc: Same.
396         * testsuite/22_locale/locale/cons/5.cc: Same.
397         * testsuite/22_locale/locale/cons/7.cc: Same.
398         * testsuite/22_locale/locale/cons/7222-c.cc: Same.
399         * testsuite/22_locale/locale/cons/7222-env.cc: Same.
400         * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
401         * testsuite/22_locale/messages/members/char/1.cc: Same.
402         * testsuite/22_locale/messages/members/char/2.cc: Same.
403         * testsuite/22_locale/messages/members/char/3.cc: Same.
404         * testsuite/22_locale/messages_byname/1.cc: Same.
405         * testsuite/22_locale/money_get/get/char/1.cc: Same.
406         * testsuite/22_locale/money_get/get/char/2.cc: Same.
407         * testsuite/22_locale/money_get/get/char/3.cc: Same.
408         * testsuite/22_locale/money_get/get/char/4.cc: Same.
409         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
410         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
411         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
412         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
413         * testsuite/22_locale/money_put/put/char/1.cc: Same.
414         * testsuite/22_locale/money_put/put/char/2.cc: Same.
415         * testsuite/22_locale/money_put/put/char/3.cc: Same.
416         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
417         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
418         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
419         * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
420         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
421         * testsuite/22_locale/moneypunct_byname/1.cc: Same.
422         * testsuite/22_locale/num_get/get/char/1.cc: Same.
423         * testsuite/22_locale/num_get/get/char/2.cc: Same.
424         * testsuite/22_locale/num_get/get/char/3.cc: Same.
425         * testsuite/22_locale/num_get/get/char/5.cc: Same.
426         * testsuite/22_locale/num_get/get/char/6.cc: Same.
427         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
428         * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
429         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
430         * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
431         * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
432         * testsuite/22_locale/num_put/put/char/1.cc: Same.
433         * testsuite/22_locale/num_put/put/char/2.cc: Same.
434         * testsuite/22_locale/num_put/put/char/3.cc: Same.
435         * testsuite/22_locale/num_put/put/char/5.cc: Same.
436         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
437         * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
438         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
439         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
440         * testsuite/22_locale/numpunct/members/char/1.cc: Same.
441         * testsuite/22_locale/numpunct/members/char/2.cc: Same.
442         * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
443         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
444         * testsuite/22_locale/numpunct_byname/1.cc: Same.
445         * testsuite/22_locale/numpunct_byname/2.cc: Same.
446         * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
447         * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
448         * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
449         * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
450         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
451         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
452         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
453         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
454         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
455         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
456         * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
457         * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
458         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
459         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
460         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
461         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
462         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
463         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
464         * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
465         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
466         * testsuite/22_locale/time_put/put/char/1.cc: Same.
467         * testsuite/22_locale/time_put/put/char/2.cc: Same.
468         * testsuite/22_locale/time_put/put/char/3.cc: Same.
469         * testsuite/22_locale/time_put/put/char/4.cc: Same.
470         * testsuite/22_locale/time_put/put/char/5.cc: Same.
471         * testsuite/22_locale/time_put/put/char/6.cc: Same.
472         * testsuite/22_locale/time_put/put/char/7.cc: Same.
473         * testsuite/22_locale/time_put/put/char/8.cc: Same.
474         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
475         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
476         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
477         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
478         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
479         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
480         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
481         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
482         * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
483         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
484         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
485         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
486         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
487         
488 2003-04-14  Andreas Tobler  <toa@pop.agri.ch>
489             
490         * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
491         solaris includes, not generic.
492
493 2003-04-14  Loren J. Rittle  <ljrittle@acm.org>
494
495         * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
496
497         * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
498         * include/bits/concept_check.h: Fix multi-line comment.
499         * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
500         when target is *-*-freebsd*.
501
502 2003-04-14  Nathan Myers  <ncm@cantrip.org>
503             Paolo Carlini  <pcarlini@unitus.it>
504
505         PR libstdc++/9701 (in_avail())
506         * include/std/std_streambuf.h (in_avail): Simplify, in_avail
507         doesn't care if there is anything in some putback cell.
508         * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
509
510         * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
511         unused string literals.
512
513 2003-04-14  Paolo Carlini  <pcarlini@unitus.it>
514
515         * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
516         _M_out_end, _M_set_indeterminate() does it.
517
518 2003-04-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
519
520         * os/hpux/ctype_inline.h: Replace with gnu-linux version.
521
522 2003-04-12  David Edelsohn  <edelsohn@gnu.org>
523
524         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
525         Change basic_streambuf instantiation to "unsigned char".
526         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
527
528 2003-04-12  Paolo Carlini  <pcarlini@unitus.it>
529
530         Remove _M_buf_size_opt, use directly _M_buf_size instead.
531         * include/bits/fstream.tcc
532         (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
533         references to _M_buf_size_opt. 
534         * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
535         * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
536         __bufsize to __in_avail and __size_opt to __buf_size.
537         * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
538         * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
539         * include/std/std_streambuf.h (~basic_streambuf(),
540         basic_streambuf()): Likewise, remove _M_buf_size_opt member.
541         * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
542         * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
543         * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
544         * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
545         * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
546         * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
547         * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
548         * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
549         * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
550         * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
551         * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
552         * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
553
554 2003-04-12  Paolo Carlini  <pcarlini at unitus dot it>
555
556         * include/ext/stdio_filebuf.h
557         (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
558         stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
559         _M_buf_size_opt == 0 only means "not to use an allocated buffer"
560         since a stack-based buffer is used for small values of the size_t
561         parameter.
562         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
563         If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
564         * testsuite/ext/stdio_filebuf_2.cc: New testfile.
565
566 2003-04-12  Paolo Carlini  <pcarlini@unitus.it>
567
568         PR libstdc++/9533
569         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
570         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
571
572 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
573
574         * testsuite/22_locale/locale/cons/3.cc: Split.
575         * testsuite/22_locale/locale/cons/7222-c.cc: New.
576         * testsuite/22_locale/locale/cons/7222-env.cc: New.     
577         Check before trying to create a locale from the environment.
578         * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
579         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
580         Adjust includes.
581         
582 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
583
584         * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
585         locale to construct this hybrid locale, not the global locale.
586
587 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
588
589         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
590         instantiation for AIX.
591         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
592         * testsuite/25_algorithms/min_max.cc: Same.
593         
594 2003-04-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
595
596         * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
597         twice.  Always set _M_cfile to 0 when stream was open.
598
599 2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
600
601         Reshuffle 27_io testsuite.  * testsuite/27_io/filebuf.cc,
602         filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
603         filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
604         filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
605         filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
606         ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
607         ifstream_members.cc, instantiations.cc, ios.cc,
608         ios_base_callbacks.cc, ios_base_members_static-1.tst,
609         ios_base_members_static.cc, ios_base_storage.cc,
610         ios_base_types.cc, ios_ctor.cc, ios_init.cc,
611         ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
612         iostream.cc, iostream_members.cc, istream.cc,
613         istream_exception.cc, istream_extractor_char.cc,
614         istream_extractor_other-1.tst, istream_extractor_other-1.txt,
615         istream_extractor_other-2.tst, istream_extractor_other.cc,
616         istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
617         istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
618         istream_sentry.cc, istream_unformatted-1.tst,
619         istream_unformatted-1.txt, istream_unformatted.cc,
620         istringstream.cc, istringstream_members.cc,
621         narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
622         ofstream_members.cc, ostream.cc, ostream_exception.cc,
623         ostream_fail.cc, ostream_inserter_arith.cc,
624         ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
625         ostream_inserter_char.cc, ostream_inserter_other-1.tst,
626         ostream_inserter_other-2.tst, ostream_inserter_other.cc,
627         ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
628         ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
629         ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
630         streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
631         stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
632         wide_stream_objects.cc, istream_extractor_arith/01.cc,
633         istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
634         istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
635         istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
636         istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
637         istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
638         Split into...
639         * 27_io/basic_filebuf/1.cc: New.
640         * 27_io/basic_filebuf/2.cc: New.
641         * 27_io/basic_filebuf/3.cc: New.
642         * 27_io/basic_filebuf/4.cc: New.
643         * 27_io/basic_filebuf/close/char/1.cc: New.
644         * 27_io/basic_filebuf/close/char/2.cc: New.
645         * 27_io/basic_filebuf/close/char/3.cc: New.
646         * 27_io/basic_filebuf/close/char/4879.cc: New.
647         * 27_io/basic_filebuf/close/char/9964.cc: New.
648         * 27_io/basic_filebuf/imbue/char/1.cc: New.
649         * 27_io/basic_filebuf/imbue/char/9322.cc: New.
650         * 27_io/basic_filebuf/in_avail/char/1.cc: New.
651         * 27_io/basic_filebuf/is_open/char/1.cc: New.
652         * 27_io/basic_filebuf/open/char/1.cc: New.
653         * 27_io/basic_filebuf/open/char/2.cc: New.
654         * 27_io/basic_filebuf/open/char/3.cc: New.
655         * 27_io/basic_filebuf/open/char/9507.cc: New.
656         * 27_io/basic_filebuf/overflow/char/1.cc: New.
657         * 27_io/basic_filebuf/overflow/char/3599.cc: New.
658         * 27_io/basic_filebuf/overflow/char/9169.cc: New.
659         * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
660         * 27_io/basic_filebuf/overflow/char/9988.cc: New.
661         * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
662         * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
663         * 27_io/basic_filebuf/seekoff/char/1.cc: New.
664         * 27_io/basic_filebuf/seekoff/char/2.cc: New.
665         * 27_io/basic_filebuf/seekpos/char/1.cc: New.
666         * 27_io/basic_filebuf/seekpos/char/2.cc: New.
667         * 27_io/basic_filebuf/setbuf/char/1.cc: New.
668         * 27_io/basic_filebuf/setbuf/char/2.cc: New.
669         * 27_io/basic_filebuf/setbuf/char/3.cc: New.
670         * 27_io/basic_filebuf/sgetc/char/1.cc: New.
671         * 27_io/basic_filebuf/sgetn/char/1.cc: New.
672         * 27_io/basic_filebuf/sgetn/char/2.cc: New.
673         * 27_io/basic_filebuf/snextc/char/1.cc: New.
674         * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
675         * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
676         * 27_io/basic_filebuf/sputc/char/1.cc: New.
677         * 27_io/basic_filebuf/sputc/char/1057.cc: New.
678         * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
679         * 27_io/basic_filebuf/sputn/char/1.cc: New.
680         * 27_io/basic_filebuf/sputn/char/1057.cc: New.
681         * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
682         * 27_io/basic_filebuf/sungetc/char/1.cc: New.
683         * 27_io/basic_filebuf/sync/char/1057.cc: New.
684         * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
685         * 27_io/basic_filebuf/underflow/char/10097.cc: New.
686         * 27_io/basic_fstream/1.cc: New.
687         * 27_io/basic_fstream/2.cc: New.
688         * 27_io/basic_fstream/3.cc: New.
689         * 27_io/basic_fstream/4.cc: New.
690         * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
691         * 27_io/basic_ifstream/1.cc: New.
692         * 27_io/basic_ifstream/2.cc: New.
693         * 27_io/basic_ifstream/3.cc: New.
694         * 27_io/basic_ifstream/4.cc: New.
695         * 27_io/basic_ifstream/cons/char/1.cc: New.
696         * 27_io/basic_ifstream/open/char/1.cc: New.
697         * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
698         * 27_io/basic_ios/1.cc: New.
699         * 27_io/basic_ios/2.cc: New.
700         * 27_io/basic_ios/3.cc: New.
701         * 27_io/basic_ios/4.cc: New.
702         * 27_io/basic_ios/clear/char/1.cc: New.
703         * 27_io/basic_ios/cons/char/1.cc: New.
704         * 27_io/basic_ios/cons/char/2.cc: New.
705         * 27_io/basic_ios/cons/char/3.cc: New.
706         * 27_io/basic_ios/copyfmt/char/1.cc: New.
707         * 27_io/basic_ios/copyfmt/char/2.cc: New.
708         * 27_io/basic_ios/exceptions/char/1.cc: New.
709         * 27_io/basic_ios/locales/char/1.cc: New.
710         * 27_io/basic_iostream/1.cc: New.
711         * 27_io/basic_iostream/2.cc: New.
712         * 27_io/basic_iostream/3.cc: New.
713         * 27_io/basic_iostream/4.cc: New.
714         * 27_io/basic_istream/1.cc: New.
715         * 27_io/basic_istream/2.cc: New.
716         * 27_io/basic_istream/3.cc: New.
717         * 27_io/basic_istream/4.cc: New.
718         * 27_io/basic_istream/exceptions/char/9561.cc: New.
719         * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
720         * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
721         * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
722         * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
723         * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
724         * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
725         * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
726         * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
727         * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
728         * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
729         * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
730         * 27_io/basic_istream/extractors_character/char/1.cc: New.
731         * 27_io/basic_istream/extractors_character/char/2.cc: New.
732         * 27_io/basic_istream/extractors_character/char/3.cc: New.
733         * 27_io/basic_istream/extractors_character/char/9826.cc: New.
734         * 27_io/basic_istream/extractors_other/char/1.cc: New.
735         * 27_io/basic_istream/extractors_other/char/2.cc: New.
736         * 27_io/basic_istream/extractors_other/char/3.cc: New.
737         * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
738         * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
739         * 27_io/basic_istream/get/char/1.cc: New.
740         * 27_io/basic_istream/get/char/2.cc: New.
741         * 27_io/basic_istream/getline/char/1.cc: New.
742         * 27_io/basic_istream/getline/char/2.cc: New.
743         * 27_io/basic_istream/getline/char/3.cc: New.
744         * 27_io/basic_istream/ignore/char/1.cc: New.
745         * 27_io/basic_istream/ignore/char/6360.cc: New.
746         * 27_io/basic_istream/ignore/char/7220.cc: New.
747         * 27_io/basic_istream/peek/char/1.cc: New.
748         * 27_io/basic_istream/peek/char/6414.cc: New.
749         * 27_io/basic_istream/putback/char/1.cc: New.
750         * 27_io/basic_istream/read/char/1.cc: New.
751         * 27_io/basic_istream/read/char/2.cc: New.
752         * 27_io/basic_istream/read/char/3.cc: New.
753         * 27_io/basic_istream/readsome/char/6746-1.cc: New.
754         * 27_io/basic_istream/readsome/char/6746-2.cc: New.
755         * 27_io/basic_istream/readsome/char/8258.cc: New.
756         * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
757         * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
758         * 27_io/basic_istream/seekg/char/8348-1.cc: New.
759         * 27_io/basic_istream/seekg/char/8348-2.cc: New.
760         * 27_io/basic_istream/seekg/char/fstream.cc: New.
761         * 27_io/basic_istream/seekg/char/sstream.cc: New.
762         * 27_io/basic_istream/sentry/char/1.cc: New.
763         * 27_io/basic_istream/sentry/char/2.cc: New.
764         * 27_io/basic_istream/sentry/char/3.cc: New.
765         * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
766         * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
767         * 27_io/basic_istream/tellg/char/1.cc: New.
768         * 27_io/basic_istream/tellg/char/8348.cc: New.
769         * 27_io/basic_istream/tellg/char/fstream.cc: New.
770         * 27_io/basic_istream/tellg/char/sstream.cc: New.
771         * 27_io/basic_istream/ws/char/1.cc: New.
772         * 27_io/basic_istringstream/1.cc: New.
773         * 27_io/basic_istringstream/2.cc: New.
774         * 27_io/basic_istringstream/3.cc: New.
775         * 27_io/basic_istringstream/4.cc: New.
776         * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
777         * 27_io/basic_istringstream/str/char/1.cc: New.
778         * 27_io/basic_ofstream/1.cc: New.
779         * 27_io/basic_ofstream/2.cc: New.
780         * 27_io/basic_ofstream/3.cc: New.
781         * 27_io/basic_ofstream/4.cc: New.
782         * 27_io/basic_ofstream/cons/char/2.cc: New.
783         * 27_io/basic_ofstream/open/char/1.cc: New.
784         * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
785         * 27_io/basic_ostream/1.cc: New.
786         * 27_io/basic_ostream/2.cc: New.
787         * 27_io/basic_ostream/3.cc: New.
788         * 27_io/basic_ostream/4.cc: New.
789         * 27_io/basic_ostream/cons/char/9827.cc: New.
790         * 27_io/basic_ostream/endl/char/1.cc: New.
791         * 27_io/basic_ostream/ends/char/1.cc: New.
792         * 27_io/basic_ostream/ends/char/2.cc: New.
793         * 27_io/basic_ostream/exceptions/char/9561.cc: New.
794         * 27_io/basic_ostream/flush/char/1.cc: New.
795         * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
796         * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
797         * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
798         * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
799         * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
800         * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
801         * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
802         * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
803         * 27_io/basic_ostream/inserters_character/char/1.cc: New.
804         * 27_io/basic_ostream/inserters_character/char/2.cc: New.
805         * 27_io/basic_ostream/inserters_character/char/3.cc: New.
806         * 27_io/basic_ostream/inserters_character/char/4.cc: New.
807         * 27_io/basic_ostream/inserters_character/char/5.cc: New.
808         * 27_io/basic_ostream/inserters_character/char/6.cc: New.
809         * 27_io/basic_ostream/inserters_character/char/8.cc: New.
810         * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
811         * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
812         * 27_io/basic_ostream/inserters_other/char/1.cc: New.
813         * 27_io/basic_ostream/inserters_other/char/2.cc: New.
814         * 27_io/basic_ostream/inserters_other/char/3.cc: New.
815         * 27_io/basic_ostream/inserters_other/char/4.cc: New.
816         * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
817         * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
818         * 27_io/basic_ostream/sentry/char/1.cc: New.
819         * 27_io/basic_ostream/sentry/char/2.cc: New.
820         * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
821         * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
822         * 27_io/basic_ostream/tellp/char/1.cc: New.
823         * 27_io/basic_ostream/tellp/char/2.cc: New.
824         * 27_io/basic_ostringstream/1.cc: New.
825         * 27_io/basic_ostringstream/2.cc: New.
826         * 27_io/basic_ostringstream/3.cc: New.
827         * 27_io/basic_ostringstream/4.cc: New.
828         * 27_io/basic_ostringstream/cons/char/3.cc: New.
829         * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
830         * 27_io/basic_ostringstream/str/char/1.cc: New.
831         * 27_io/basic_ostringstream/str/char/2.cc: New.
832         * 27_io/basic_streambuf/1.cc: New.
833         * 27_io/basic_streambuf/2.cc: New.
834         * 27_io/basic_streambuf/3.cc: New.
835         * 27_io/basic_streambuf/cons/char/1.cc: New.
836         * 27_io/basic_streambuf/imbue/char/1.cc: New.
837         * 27_io/basic_streambuf/imbue/char/9322.cc: New.
838         * 27_io/basic_streambuf/overflow/char/1.cc: New.
839         * 27_io/basic_streambuf/overflow/char/2.cc: New.
840         * 27_io/basic_streambuf/overflow/char/3599.cc: New.
841         * 27_io/basic_streambuf/sgetc/char/1.cc: New.
842         * 27_io/basic_streambuf/sgetn/char/1.cc: New.
843         * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
844         * 27_io/basic_streambuf/sputc/char/1057.cc: New.
845         * 27_io/basic_streambuf/sputn/char/1.cc: New.
846         * 27_io/basic_streambuf/sputn/char/1057.cc: New.
847         * 27_io/basic_streambuf/sync/char/1057.cc: New.
848         * 27_io/basic_stringbuf/1.cc: New.
849         * 27_io/basic_stringbuf/2.cc: New.
850         * 27_io/basic_stringbuf/3.cc: New.
851         * 27_io/basic_stringbuf/4.cc: New.
852         * 27_io/basic_stringbuf/5.cc: New.
853         * 27_io/basic_stringbuf/imbue/char/1.cc: New.
854         * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
855         * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
856         * 27_io/basic_stringbuf/overflow/char/2.cc: New.
857         * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
858         * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
859         * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
860         * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
861         * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
862         * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
863         * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
864         * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
865         * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
866         * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
867         * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
868         * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
869         * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
870         * 27_io/basic_stringbuf/snextc/char/1.cc: New.
871         * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
872         * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
873         * 27_io/basic_stringbuf/sputc/char/1.cc: New.
874         * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
875         * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
876         * 27_io/basic_stringbuf/sputn/char/1.cc: New.
877         * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
878         * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
879         * 27_io/basic_stringbuf/str/char/1.cc: New.
880         * 27_io/basic_stringbuf/str/char/2.cc: New.
881         * 27_io/basic_stringbuf/str/char/3.cc: New.
882         * 27_io/basic_stringbuf/str/char/3955.cc: New.
883         * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
884         * 27_io/basic_stringbuf/sync/char/1057.cc: New.
885         * 27_io/basic_stringstream/1.cc: New.
886         * 27_io/basic_stringstream/2.cc: New.
887         * 27_io/basic_stringstream/3.cc: New.
888         * 27_io/basic_stringstream/4.cc: New.
889         * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
890         * 27_io/basic_stringstream/str/char/1.cc: New.
891         * 27_io/basic_stringstream/str/char/2.cc: New.
892         * 27_io/basic_stringstream/str/char/3.cc: New.
893         * 27_io/basic_stringstream/str/char/4.cc: New.
894         * 27_io/fpos/1.cc: New.
895         * 27_io/fpos/2.cc: New.
896         * 27_io/fpos/3.cc: New.
897         * 27_io/ios_base/callbacks/1.cc: New.
898         * 27_io/ios_base/state/1.cc: New.
899         * 27_io/ios_base/storage/1.cc: New.
900         * 27_io/ios_base/storage/2.cc: New.
901         * 27_io/ios_base/storage/3.cc: New.
902         * 27_io/ios_base/sync_with_stdio/1.cc: New.
903         * 27_io/ios_base/sync_with_stdio/2.cc: New.
904         * 27_io/manipulators/adjustfield/char/1.cc: New.
905         * 27_io/manipulators/adjustfield/char/2.cc: New.
906         * 27_io/manipulators/basefield/char/1.cc: New.
907         * 27_io/manipulators/standard/char/1.cc: New.
908         * 27_io/manipulators/standard/char/2.cc: New.
909         * 27_io/objects/char/1.cc: New.
910         * 27_io/objects/char/2.cc: New.
911         * 27_io/objects/char/2523-1_xin.cc: New.
912         * 27_io/objects/char/2523-1_xin.in: New.
913         * 27_io/objects/char/2523-2_xin.cc: New.
914         * 27_io/objects/char/2523-2_xin.in: New.
915         * 27_io/objects/char/3045.cc: New.
916         * 27_io/objects/char/3647.cc: New.
917         * 27_io/objects/char/3_xin.cc: New.
918         * 27_io/objects/char/3_xin.in: New.
919         * 27_io/objects/char/4_xin.cc: New.
920         * 27_io/objects/char/4_xin.in: New.
921         * 27_io/objects/char/5268.cc: New.
922         * 27_io/objects/char/5280_xin.cc: New.
923         * 27_io/objects/char/5280_xin.in: New.
924         * 27_io/objects/char/6548_xin.cc: New.
925         * 27_io/objects/char/6548_xin.in: New.
926         * 27_io/objects/char/6648-1_xin.cc: New.
927         * 27_io/objects/char/6648-1_xin.in: New.
928         * 27_io/objects/char/6648-2_xin.cc: New.
929         * 27_io/objects/char/6648-2_xin.in: New.
930         * 27_io/objects/char/7744_xin.cc: New.
931         * 27_io/objects/char/7744_xin.in: New.
932         * 27_io/objects/wchar_t/1.cc: New.
933         * 27_io/types/1.cc: New.
934         * 27_io/types/2.cc: New.
935         * data/filebuf_members-1.tst: New.
936         * data/filebuf_members-1.txt: New.
937         * data/filebuf_virtuals-1.tst: New.
938         * data/filebuf_virtuals-1.txt: New.
939         * data/filebuf_virtuals-2.tst: New.
940         * data/filebuf_virtuals-3.tst: New.
941         * data/ifstream_members-1.tst: New.
942         * data/ifstream_members-1.txt: New.
943         * data/ios_base_members_static-1.tst: New.
944         * data/istream_extractor_other-1.tst: New.
945         * data/istream_extractor_other-1.txt: New.
946         * data/istream_extractor_other-2.tst: New.
947         * data/istream_seeks-1.tst: New.
948         * data/istream_seeks-1.txt: New.
949         * data/istream_seeks-2.tst: New.
950         * data/istream_seeks-3.tst: New.
951         * data/istream_unformatted-1.tst: New.
952         * data/istream_unformatted-1.txt: New.
953         * data/ofstream_members-1.tst: New.
954         * data/ostream_inserter_char-1.tst: New.
955         * data/ostream_inserter_char-1.txt: New.
956         * data/ostream_inserter_other-1.tst: New.
957         * data/ostream_inserter_other-2.tst: New.
958         * data/ostream_seeks-1.tst: New.
959
960 2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
961
962         * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
963         requirement that __mode must be strict input or output.
964
965         * include/std/std_streambuf.h (basic_streambuf::setp): Set
966         _M_out_lim.
967         
968         * include/std/std_sstream.h (basic_strinbuf::str): Zero length
969         output string shouldn't core.
970         (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
971         type.
972         * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
973         
974         * include/bits/istream.tcc (basic_istream::putback): Set gcount to
975         zero.
976
977 2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
978
979         * testsuite/data: New directory.
980         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
981         to copy files from the testsuite data directory.        
982         (libstdc++-v3-list-sourcefiles): Add another test list filter, for
983         testfiles containing _xin, which now means this is an interactive
984         test and should be run with the interactive dejagnu hooks.
985         * testsuite/Makefile.am: Remove testsuite_* files.
986         * testsuite/Makefile.in: Regenerate.
987         
988 2003-04-09  Zack Weinberg  <zack@codesourcery.com>
989
990         * docs/html/install.html: Document complete list of locales
991         required by test suite.  Document procedure for installing
992         said locales under Debian.  Solicit instructions for other
993         operating systems.
994
995 2003-04-08  Alexandre Oliva  <aoliva@redhat.com>
996
997         * include/bits/sstream.tcc (overflow): Make sure operands of min
998         and max have the same type.
999
1000 2003-04-04  Jerry Quinn  <jlquinn@optonline.net>
1001
1002         PR libstdc++/10276
1003         * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
1004         initialization.
1005
1006 2003-03-31  Paolo Carlini  <pcarlini@unitus.it>
1007
1008         * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
1009         * include/bits/fstream.tcc (_M_allocate_internal_buffer):
1010         Don't set _M_out_end.
1011         (basic_filebuf::overflow): Replace _M_out_buf_size() with
1012         this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
1013         * include/bits/sstream.tcc (basic_stringbuf::overflow):
1014         Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
1015         * include/bits/streambuf.tcc (basic_streambuf::sputc):
1016         Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
1017         (basic_streambuf::xsputn): Replace _M_out_buf_size() with
1018         _M_out_end - _M_out_cur.
1019         (__copy_streambufs): Likewise.
1020         * include/std/std_fstream.h (_M_set_determinate): Set
1021         _M_out_end here.
1022
1023 2003-03-30  Paolo Carlini  <pcarlini@unitus.it>
1024
1025         * include/bits/fstream.tcc (basic_filebuf::showmanyc,
1026         _M_convert_to_external, _M_really_overflow, seekoff): Fix
1027         test for synced buffer.
1028         * include/std/std_fstream.h (sync): Likewise.
1029         * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
1030         basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
1031
1032 2003-03-28  Benjamin Kosnik  <bkoz@redhat.com>
1033
1034         * include/std/std_sstream.h (basic_istringstream): Adjust
1035         initialization.
1036         (basic_ostringstream): Same.
1037         (basic_stringstream): Same.
1038         * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
1039         (basic_ofstream): Same.
1040         (basic_fstream): Same.
1041         * include/std/std_ostream.h (basic_ostrem): Add protected ctor
1042         that does not call init.
1043         * include/std/std_istream.h (basic_istream): Same.
1044         (basic_iostream): Construct istream, ostream uninitialized, use
1045         init to initialize just once. Add protected ctor that does not
1046         call init.
1047
1048 2003-03-28  Paolo Carlini  <pcarlini@unitus.it>
1049             Nathan Myers  <ncm@cantrip.org>
1050
1051         PR libstdc++/9533
1052         * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
1053         call underflow().
1054         (basic_filebuf<>::showmanyc): Use the information provided
1055         by codecvt and __basic_file<>::showmanyc_helper to implement
1056         a non-trivial showmanyc.
1057         * config/io/basic_file_stdio.h
1058         (__basic_file<>::showmanyc_helper): New, declare.
1059         * config/io/basic_file_stdio.cc
1060         (__basic_file<>::showmanyc_helper): Define.
1061         (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
1062         (__basic_file<char>::open): Don't call fcntl().
1063         * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
1064         GLIBCPP_CHECK_POLL): New macros.
1065         * configure.in: Call here.
1066         * acconfig.h: Add #undefs for the corresponding symbols.
1067         * aclocal.m4: Regenerate.
1068         * configure: Regenerate.
1069         * config.h.in: Regenerate.
1070
1071 2003-03-24  Benjamin Kosnik  <bkoz@redhat.com>
1072
1073         * config/linker-map.gnu: Remove string export restrictions.
1074
1075 2003-03-24  Paolo Carlini  <pcarlini@unitus.it>
1076
1077         * testsuite/21_strings/basic_string/find/char/1.cc: Remove
1078         find_first_of, find_last_of and find_last_not_of tests.
1079         * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
1080         tests here, new file.
1081         * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
1082         remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
1083         * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
1084         wchar_t find_first_of tests here, new file.
1085         * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
1086         tests here.
1087         * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
1088         tests here.
1089         * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
1090         wchar_t find_last_of tests here.
1091         * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
1092         wchar_t find_last_not_of tests here.
1093
1094 2003-03-22  Loren J. Rittle  <ljrittle@acm.org>
1095
1096         * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
1097         Correct return value.
1098
1099 2003-03-21  Jerry Quinn  <jlquinn@optonline.net>
1100
1101         PR libstdc++/5730
1102         * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
1103         * include/std/std_complex.h (norm):  Use faster,
1104         less accurate computation for builtin float types under --fast-math.
1105
1106 2003-03-21  Magnus Fromreide  <gnats@magfr.user.lysator.liu.se>
1107
1108         * testsuite/testsuite_hooks.h: Fix warning nits.
1109
1110 2003-03-19  Alexandre Oliva  <aoliva@redhat.com>
1111
1112         * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
1113         Only .set mips2 for the o32 ABI.
1114
1115 2003-03-19  Paolo Carlini  <pcarlini@unitus.it>
1116
1117         * testsuite/21_strings/char_traits/requirements/char/1.cc:
1118         Test char not wchar_t.
1119
1120 2003-03-18  Paolo Carlini  <pcarlini@unitus.it>
1121
1122         * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
1123         Correct size, taking into account sizeof(wchar_t).
1124
1125 2003-03-18  Paolo Carlini  <pcarlini@unitus.it>
1126
1127         Reshuffle 21_strings testsuite.
1128         * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
1129         assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
1130         element_access.cc, operations.cc, char_traits_requirements.cc,
1131         find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
1132         compare.cc, inserters_extractors.cc, substr.cc: Split up, add
1133         wchar_t tests as follows.
1134         * 21_strings/basic_string/append/char/1.cc: New.
1135         * 21_strings/basic_string/append/wchar_t/1.cc: New.
1136         * 21_strings/basic_string/assign/char/1.cc: New.
1137         * 21_strings/basic_string/assign/char/2.cc: New.
1138         * 21_strings/basic_string/assign/char/3.cc: New.
1139         * 21_strings/basic_string/assign/wchar_t/1.cc: New.
1140         * 21_strings/basic_string/assign/wchar_t/2.cc: New.
1141         * 21_strings/basic_string/assign/wchar_t/3.cc: New.
1142         * 21_strings/basic_string/capacity/1.cc: New.
1143         * 21_strings/basic_string/capacity/char/1.cc: New.
1144         * 21_strings/basic_string/capacity/char/2.cc: New.
1145         * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
1146         * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
1147         * 21_strings/basic_string/compare/char/1.cc: New.
1148         * 21_strings/basic_string/compare/wchar_t/1.cc: New.
1149         * 21_strings/basic_string/cons/char/1.cc: New.
1150         * 21_strings/basic_string/cons/char/2.cc: New.
1151         * 21_strings/basic_string/cons/char/3.cc: New.
1152         * 21_strings/basic_string/cons/char/4.cc: New.
1153         * 21_strings/basic_string/cons/char/5.cc: New.
1154         * 21_strings/basic_string/cons/wchar_t/1.cc: New.
1155         * 21_strings/basic_string/cons/wchar_t/2.cc: New.
1156         * 21_strings/basic_string/cons/wchar_t/3.cc: New.
1157         * 21_strings/basic_string/cons/wchar_t/4.cc: New.
1158         * 21_strings/basic_string/cons/wchar_t/5.cc: New.
1159         * 21_strings/basic_string/element_access/char/1.cc: New.
1160         * 21_strings/basic_string/element_access/char/2.cc: New.
1161         * 21_strings/basic_string/element_access/char/3.cc: New.
1162         * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
1163         * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
1164         * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
1165         * 21_strings/basic_string/find/char/1.cc: New.
1166         * 21_strings/basic_string/find/wchar_t/1.cc: New.
1167         * 21_strings/basic_string/insert/char/1.cc: New.
1168         * 21_strings/basic_string/insert/char/2.cc: New.
1169         * 21_strings/basic_string/insert/wchar_t/1.cc: New.
1170         * 21_strings/basic_string/insert/wchar_t/2.cc: New.
1171         * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
1172         * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
1173         * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
1174         * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
1175         * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
1176         * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
1177         * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
1178         * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
1179         * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
1180         * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
1181         * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
1182         * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
1183         * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
1184         * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
1185         * 21_strings/basic_string/operators/char/1.cc: New.
1186         * 21_strings/basic_string/operators/char/2.cc: New.
1187         * 21_strings/basic_string/operators/wchar_t/1.cc: New.
1188         * 21_strings/basic_string/operators/wchar_t/2.cc: New.
1189         * 21_strings/basic_string/replace/char/1.cc: New.
1190         * 21_strings/basic_string/replace/char/2.cc: New.
1191         * 21_strings/basic_string/replace/char/3.cc: New.
1192         * 21_strings/basic_string/replace/char/4.cc: New.
1193         * 21_strings/basic_string/replace/char/5.cc: New.
1194         * 21_strings/basic_string/replace/wchar_t/1.cc: New.
1195         * 21_strings/basic_string/replace/wchar_t/2.cc: New.
1196         * 21_strings/basic_string/replace/wchar_t/3.cc: New.
1197         * 21_strings/basic_string/replace/wchar_t/4.cc: New.
1198         * 21_strings/basic_string/replace/wchar_t/5.cc: New.
1199         * 21_strings/basic_string/rfind/char/1.cc: New.
1200         * 21_strings/basic_string/rfind/char/2.cc: New.
1201         * 21_strings/basic_string/rfind/char/3.cc: New.
1202         * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
1203         * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
1204         * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
1205         * 21_strings/basic_string/substr/char/1.cc: New.
1206         * 21_strings/basic_string/substr/wchar_t/1.cc: New.
1207         * 21_strings/c_strings/char/1.cc: New.
1208         * 21_strings/c_strings/char/2.cc: New.
1209         * 21_strings/c_strings/wchar_t/1.cc: New.
1210         * 21_strings/c_strings/wchar_t/2.cc: New.
1211         * 21_strings/char_traits/requirements/char/1.cc: New.
1212         * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
1213         * 21_strings/char_traits/typedefs/char/1.cc: New.
1214
1215 2003-03-17  Paolo Carlini  <pcarlini@unitus.it>
1216             Petur Runolfsson  <peturr02@ru.is>
1217
1218         PR libstdc++/10097
1219         * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
1220         basic_filebuf<wchar_t>::_M_underflow_common):
1221         if (gptr() < egptr()) return *gptr().
1222         * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
1223
1224         * testsuite/27_io/filebuf_members.cc (test_04): Minor
1225         changes: unlink fifo before making it, fix spelling error.
1226
1227 2003-03-17  Benjamin Kosnik  <bkoz@redhat.com>
1228
1229         * testsuite/Makefile.am (CLEANFILES): Add tmp*.
1230         * testsuite/Makefile.in: Regenerate.
1231         * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
1232         Cleanups.
1233
1234 2003-03-17  Petur Runolfsson  <peturr02@ru.is>
1235
1236         PR libstdc++/9964
1237         * include/bits/fstream.tcc (basic_filebuf::close):
1238         Always close file, even when write fails.
1239         * testsuite/27_io/filebuf_members.cc (test_07):  New test.
1240
1241 2003-03-17  Danny Smith  <dannysmith@users.sourceforge.net>
1242
1243         * libsupc++/Makefile.am (C_COMPILE): Remove.
1244         (LTCOMPILE): Likewise.
1245         * libsupc++/Makefile.in: Regenerate.
1246
1247 2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>
1248
1249         * testsuite/23_containers/bitset_members.cc: Add test variable.
1250         * testsuite/23_containers/map_insert.cc: Same.
1251         * testsuite/22_locale/ctype/cons/char/1.cc: Same.
1252         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
1253         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
1254         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
1255         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
1256         * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
1257         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
1258         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
1259         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
1260         * testsuite/27_io/istream_exception.cc: Same.
1261         * testsuite/27_io/filebuf_virtuals.cc: Same.
1262         * testsuite/27_io/stringbuf_virtuals.cc: Same.
1263         * testsuite/27_io/ostream_inserter_arith.cc: Same.
1264         * testsuite/26_numerics/valarray_operators.cc: Same.
1265         * testsuite/26_numerics/slice.cc: Same.
1266         * testsuite/26_numerics/slice_array_assignment.cc: Same.
1267         * testsuite/24_iterators/istream_iterator.cc: Same.
1268         * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
1269
1270 2003-03-14  Petur Runolfsson  <peturr02@ru.is>
1271
1272         PR libstdc++/9581
1273         PR libstdc++/9870
1274         * config/locale/generic/ctype_members.cc,
1275         * config/locale/gnu/ctype_members.cc
1276         (ctype<wchar_t>::do_widen(char)):  Cast argument to
1277         unsigned char before passing to btowc.
1278         (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
1279         Convert characters with btowc instead of mbsrtowcs.
1280         (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
1281         char, char*):
1282         Convert characters with wctob instead of wcsrtombs.
1283         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc:  New test.
1284         * testsuite/22_locale/ctype/widen/wchar_t/2.cc:  New test.
1285         * testsuite/22_locale/ctype/widen/wchar_t/3.cc:  New test.
1286
1287 2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>
1288
1289         * include/stdc++.h: New.
1290         * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
1291         * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
1292         * include/Makefile.in: Regenerate.
1293         * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
1294         (--cxxflags): Put -g -O2 here.
1295         * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
1296
1297 2003-03-14  Loren J. Rittle  <ljrittle@acm.org>
1298
1299         * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
1300         missing named locale.
1301
1302 2003-03-14  Andreas Schwab  <schwab@suse.de>
1303
1304         * configure.in: Only append to makefiles that are newly created to
1305         avoid multiple multi-do/multi-clean rules.
1306         * configure: Rebuilt.
1307
1308 2003-03-13  Jonathan Wakely  <redi@gcc.gnu.org>
1309
1310         * docs/html/configopts.html, docs/html/documentation.html,
1311         docs/html/explanations.html, docs/html/install.html,
1312         docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
1313         invalid XHTML and make page header style consistent.
1314
1315 2003-03-12  Jonathan Wakely  <redi@gcc.gnu.org>
1316
1317         * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
1318         * docs/html/faq/index.txt: Regenerate.
1319         * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
1320
1321 2003-03-12  Andreas Schwab  <schwab@suse.de>
1322
1323         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1324         glibcpp_toolexeclibdir.
1325         * aclocal.m4, configure: Rebuilt.
1326
1327 2003-03-11  Jonathan Wakely  <redi@gcc.gnu.org>
1328
1329         * docs/html/faq/index.html: Update text about location of headers.
1330         * docs/html/faq/index.txt: Regenerate.
1331
1332 2003-03-11  Carlo Wood  <carlo@alinoe.com>
1333
1334         * include/bits/demangle.h: Prepend accessors of
1335         class qualifier with 'get_' in order to fix warnings
1336         when compiling with -Wshadow.
1337
1338 2003-03-11  Loren J. Rittle  <ljrittle@acm.org>
1339
1340         * config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
1341         when so installed.
1342         * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
1343
1344         * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
1345         report lack of setenv().
1346
1347 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
1348
1349         * config/io/basic_file_stdio.cc: include <unistd.h>.
1350
1351 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
1352             Nathan Myers  <ncm@cantrip.org>
1353
1354         PR libstdc++/7744
1355         * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
1356         seekoff, seekpos): Add a boolean parameter __stdio.
1357         * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
1358         seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
1359         fseek/ftell, respectively), otherwise read (write, lseek, lseek,
1360         respectively).
1361         * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
1362         _M_really_overflow, seekoff): Use the boolean parameter in the calls.
1363         * include/std/std_fstream.h (sync): Likewise.
1364         * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
1365         * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
1366         libstdc++/8399 commit involving isatty(0).
1367         * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
1368         (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
1369         * configure.in: Remove call.
1370         * aclocal.m4: Regenerate.
1371         * config.h.in: Regenerate.
1372         * configure: Regenerate.
1373         * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
1374
1375 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
1376
1377         PR libstdc++/9988
1378         * include/bits/fstream.tcc (overflow): don't write EOF to file.
1379         * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
1380
1381 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
1382
1383         PR libstdc++/9561
1384         * include/bits/basic_ios.h (_M_setstate): New.
1385         * include/bits/ostream.tcc (operator<<): Use it.
1386         * include/bits/istream.tcc (operator>>): Use it.
1387         * include/std/std_ostream.h (operator<<): Make friends.
1388         * include/std/std_istream.h (operator>>): Make friends.
1389         * testsuite/27_io/ostream_exception.cc,
1390         testsuite/27_io/istream_exception.cc: New tests.
1391
1392 2003-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1393
1394         * include/bits/locale_facets.tcc: Fix typo.
1395
1396 2003-03-08  Loren J. Rittle  <ljrittle@acm.org>
1397
1398         * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
1399
1400         * config/locale/generic/c_locale.cc
1401         (locale::facet::_S_create_c_locale): Throw runtime exception when
1402         unsupported language is specified.
1403         * testsuite/testsuite_hooks.h
1404         (run_test_wrapped_generic_locale_exception_catcher): New function.
1405         * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
1406         Suppress runtime exception thrown by generic implementation.
1407         (run_tests_wrapped_env): Likewise.
1408         (run_test_wrapped_generic_locale_exception_catcher): New function.
1409         * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
1410         * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
1411         * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
1412         * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
1413         * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
1414         * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
1415         * testsuite/22_locale/collate_byname/1.cc: New test wrap.
1416         * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
1417         * testsuite/22_locale/facet/2.cc: New test wrap.
1418         * testsuite/22_locale/locale/cons/4.cc: New test wrap.
1419         * testsuite/22_locale/locale/cons/5.cc: New test wrap.
1420         * testsuite/22_locale/locale/cons/7.cc: New test wrap.
1421         * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
1422         * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
1423         * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
1424         * testsuite/22_locale/messages_byname/1.cc: New test wrap.
1425         * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
1426         * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
1427         * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
1428         * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
1429         * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
1430         * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
1431         * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
1432         * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
1433         * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
1434         * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
1435         * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
1436         * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
1437         * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
1438         * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
1439         * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
1440         * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
1441         * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
1442         * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
1443         * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
1444         * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
1445         * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
1446         * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
1447         * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
1448         * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
1449         * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
1450         * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
1451         * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
1452         * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
1453         * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
1454         * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
1455         * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
1456         * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
1457         * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
1458         * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
1459         * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
1460         * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
1461         * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
1462         * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
1463         * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
1464         * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
1465         * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
1466         * testsuite/27_io/ios_members.cc: New test wrap.
1467         * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
1468         New test wrap.
1469         * testsuite/27_io/streambuf_members.cc: New test wrap.
1470         * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
1471
1472 2003-03-08  Paolo Carlini <pcarlini@unitus.it>
1473             Petur Runolfsson  <peturr02@ru.is>
1474
1475         PR libstdc++/9424
1476         * include/bits/streambuf.tcc (__copy_streambufs): Use
1477         sgetn-sputn only when sputn cannot fail, otherwise fall back
1478         to safe snextc-sputc.
1479         * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
1480
1481 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
1482
1483         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
1484         locale cache for truename and falsename.
1485
1486 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
1487
1488         * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
1489         _M_word_size initialization.
1490
1491 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
1492
1493         * include/bits/fstream.tcc (_M_convert_to_external):
1494         Set __elen to zero if codecvt::out eventually fails.
1495
1496 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
1497
1498         PR libstdc++/9182
1499         * include/bits/fstream.tcc (_M_really_overflow): Check
1500         for _M_convert_to_external possible failures.
1501         * include/std/std_fstream.h (sync): Check _M_really_overflow
1502         return value and return -1 in case of failure.
1503         * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
1504
1505 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
1506
1507         PR libstdc++/9826
1508         * include/bits/istream.tcc (operator>>(_CharT*),
1509         operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
1510         * testsuite/27_io/stringstream.cc (test02): Add.
1511
1512         * include/bits/istream.tcc (operator>>(_CharT*)):
1513         Assign a char_type to *__s.
1514
1515 2003-03-07  Petur Runolfsson  <peturr02@ru.is>
1516
1517         PR libstdc++/9817
1518         * include/bits/locale_facets.tcc
1519         (collate::do_compare, collate::do_transform):
1520         Handle nul characters in input.
1521         * testsuite/22_locale/collate/compare/char/3.cc:  New test.
1522         * testsuite/22_locale/collate/compare/wchar_t/3.cc:  New test.
1523         * testsuite/22_locale/collate/transform/char/3.cc:  New test.
1524         * testsuite/22_locale/collate/transform/wchar_t/3.cc:  New test.
1525
1526 2003-03-07  Jerry Quinn  <jlquinn@optonline.net>
1527
1528         * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
1529         sputn fails.
1530         * testsuite/27_io/ostream_fail.cc: New test.
1531
1532 2003-03-07  Matthias Klose  <doko@debian.org>
1533
1534         * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
1535         FLAGS_TO_PASS: Set to AM_MAKEFLAGS
1536         * Makefile.in: Regenerate.
1537         * libsupc++/Makefile.am: Express glibcppinstalldir in terms
1538         of gxx_include_dir.
1539         AM_MAKEFLAGS: Pass gxx_include_dir.
1540         * libsupc++/Makefile.in: Regenerate.
1541
1542 2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
1543
1544         * testsuite/27_io/ios_base_storage.cc (test02): Set exception
1545         mask.  Test setting small-numbered pword and iword slots.  Test
1546         behavior at limit of numeric_limits::max.  Check that values are
1547         still good after failures.
1548
1549 2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
1550
1551         * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
1552         (ios_base::ios_base): Set _M_word, _M_word_size.
1553         (ios_base::~ios_base): Remove redundant test.
1554         * testsuite/27_io/ios_base_storage.cc (test03): New.
1555
1556 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
1557
1558         * src/strstream.cc, include/bits/basic_string.tcc: Remove
1559         incorrect whitespace added in my previous change.
1560
1561 2003-03-05  Carlo Wood  <carlo@alinoe.com>
1562
1563         * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
1564         _S_initialized() in order to allow debugging libraries to detect
1565         when the std streams are initialized from an overloaded operator
1566         new.
1567
1568 2003-03-05  Benjamin Kosnik  <bkoz@redhat.com>
1569
1570         * libsupc++/demangle.h: Move to..
1571         * include/bits/demangle.h: ...here.
1572         * src/demangle.cc: Adjust include.
1573         * include/Makefile.am (bits_headers): Add.
1574         * include/Makefile.in: Regenerate.
1575
1576 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
1577
1578         * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
1579
1580         * config/linker-map.gnu: Filter typeinfo and vtable info.
1581
1582 2003-03-04  Jerry Quinn  <jlquinn@optonline.net>
1583
1584         * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
1585         new failure.  Throw exception if badbit and exception mask when ix
1586         >= numeric_limits<int>::max().
1587
1588 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
1589
1590         * src/strstream.cc (strstreambuf::overflow): Make sure operands of
1591         min and max have the same type.
1592         * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
1593
1594 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
1595
1596         * include/Makefile.am (allstamps): Remove stamp-std-precompile.
1597         * include/Makefile.in: Regenerate.
1598
1599 2003-03-03  Benjamin Kosnik  <bkoz@redhat.com>
1600
1601         * testsuite/abi_check.cc (report_symbol_info): Add version info.
1602
1603         * config/linker-map.gnu: Hide more stuff.
1604         * include/Makefile.am: Cleanups.
1605         * include/Makefile.in: Regenerate.
1606
1607 2003-02-27  Jerry Quinn  <jlquinn@optonline.net>
1608
1609         * config/locale/generic/messages_members.h (messages::messages):
1610         Remove name from unused parameter.
1611
1612 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1613
1614         * src/Makefile.am (sources): Add demangle.cc.
1615         (demangle.o): Add.
1616         (demangle.lo): Add.
1617         * src/Makefile.in: Regenerate.
1618         * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
1619         * libsupc++/Makefile.in: Regenerate.
1620
1621         * testsuite/testsuite_hooks.h
1622         (__gnu_cxx_test::verify_demangle): New.
1623         * testsuite/testsuite_hooks.cc: Define.
1624
1625 2003-02-27  Carlo Wood  <carlo@alinoe.com>
1626
1627         * src/demangle.cc: New.
1628         * libsupc++/demangle.h: New.
1629
1630 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1631             Carlo Wood  <carlo@alinoe.com>
1632
1633         * testsuite/demangle/abi_examples/01.cc: New.
1634         * testsuite/demangle/abi_examples/02.cc: New.
1635         * testsuite/demangle/abi_examples/03.cc: New.
1636         * testsuite/demangle/abi_examples/04.cc: New.
1637         * testsuite/demangle/abi_examples/05.cc: New.
1638         * testsuite/demangle/abi_examples/06.cc: New.
1639         * testsuite/demangle/abi_examples/07.cc: New.
1640         * testsuite/demangle/abi_examples/08.cc: New.
1641         * testsuite/demangle/abi_examples/09.cc: New.
1642         * testsuite/demangle/abi_examples/10.cc: New.
1643         * testsuite/demangle/abi_examples/11.cc: New.
1644         * testsuite/demangle/abi_examples/12.cc: New.
1645         * testsuite/demangle/abi_examples/13.cc: New.
1646         * testsuite/demangle/abi_examples/14.cc: New.
1647         * testsuite/demangle/abi_examples/15.cc: New.
1648         * testsuite/demangle/abi_examples/16.cc: New.
1649         * testsuite/demangle/abi_examples/17.cc: New.
1650         * testsuite/demangle/abi_examples/18.cc: New.
1651         * testsuite/demangle/abi_examples/19.cc: New.
1652         * testsuite/demangle/abi_examples/20.cc: New.
1653         * testsuite/demangle/abi_examples/21.cc: New.
1654         * testsuite/demangle/abi_examples/22.cc: New.
1655         * testsuite/demangle/abi_examples/23.cc: New.
1656         * testsuite/demangle/abi_examples/24.cc: New.
1657         * testsuite/demangle/abi_examples/25.cc: New.
1658         * testsuite/demangle/abi_examples/26.cc: New.
1659         * testsuite/demangle/abi_text/01.cc: New.
1660         * testsuite/demangle/abi_text/02.cc: New.
1661         * testsuite/demangle/abi_text/03.cc: New.
1662         * testsuite/demangle/abi_text/04.cc: New.
1663         * testsuite/demangle/abi_text/05.cc: New.
1664         * testsuite/demangle/abi_text/06.cc: New.
1665         * testsuite/demangle/abi_text/07.cc: New.
1666         * testsuite/demangle/abi_text/08.cc: New.
1667         * testsuite/demangle/abi_text/09.cc: New.
1668         * testsuite/demangle/abi_text/10.cc: New.
1669         * testsuite/demangle/abi_text/11.cc: New.
1670         * testsuite/demangle/abi_text/12.cc: New.
1671         * testsuite/demangle/abi_text/13.cc: New.
1672         * testsuite/demangle/abi_text/14.cc: New.
1673         * testsuite/demangle/regression/3111-1.cc: New.
1674         * testsuite/demangle/regression/3111-2.cc: New.
1675         * testsuite/demangle/regression/7986-01.cc: New.
1676         * testsuite/demangle/regression/7986-02.cc: New.
1677         * testsuite/demangle/regression/7986-03.cc: New.
1678         * testsuite/demangle/regression/7986-04.cc: New.
1679         * testsuite/demangle/regression/7986-05.cc: New.
1680         * testsuite/demangle/regression/7986-06.cc: New.
1681         * testsuite/demangle/regression/7986-07.cc: New.
1682         * testsuite/demangle/regression/7986-08.cc: New.
1683         * testsuite/demangle/regression/7986-09.cc: New.
1684         * testsuite/demangle/regression/7986-10.cc: New.
1685         * testsuite/demangle/regression/7986-11.cc: New.
1686         * testsuite/demangle/regression/7986-12.cc: New.
1687         * testsuite/demangle/regression/7986.cc: New.
1688         * testsuite/demangle/regression/8897.cc: New.
1689         * testsuite/demangle/regression/cw-01.cc: New.
1690         * testsuite/demangle/regression/cw-02.cc: New.
1691         * testsuite/demangle/regression/cw-03.cc: New.
1692         * testsuite/demangle/regression/cw-04.cc: New.
1693         * testsuite/demangle/regression/cw-05.cc: New.
1694         * testsuite/demangle/regression/cw-06.cc: New.
1695         * testsuite/demangle/regression/cw-07.cc: New.
1696         * testsuite/demangle/regression/cw-08.cc: New.
1697         * testsuite/demangle/regression/cw-09.cc: New.
1698         * testsuite/demangle/regression/cw-10.cc: New.
1699         * testsuite/demangle/regression/cw-11.cc: New.
1700         * testsuite/demangle/regression/cw-12.cc: New.
1701         * testsuite/demangle/regression/cw-13.cc: New.
1702         * testsuite/demangle/regression/cw-14.cc: New.
1703         * testsuite/demangle/regression/old.cc: New.
1704
1705 2003-02-25  Phil Edwards  <pme@gcc.gnu.org>
1706
1707         * docs/doxygen/Intro.3:  Update with new (proper) names.
1708         * docs/doxygen/TODO:  Update.
1709         * docs/doxygen/run_doxygen:  More comments, fix up man pages.
1710         Fake entries for standard typedefs.
1711         * docs/doxygen/user.cfg.in:  Turn INLINE_INHERITED_MEMB back on.
1712         * docs/html/documentation.html:  Top-level man page is now called
1713         C++Intro.
1714         * include/std/std_limits.h:  Doxygenate.
1715
1716 2003-02-25  Scott Snyder  <snyder@fnal.gov>
1717
1718         PR libstdc++/9811
1719         * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
1720         Correct documentation.
1721         * include/bits/stl_multimap.h (lower_bound, upper_bound,
1722         equal_range): Likewise.
1723
1724 2003-02-24  Paolo Carlini  <pcarlini@unitus.it>
1725
1726         PR libstdc++/9825
1727         * src/fstream.cc
1728         (basic_filebuf<char/wchar_t>::_M_underflow_common): When
1729         __bump is true (uflow), always increment the read pointer
1730         (_M_in_cur) before returning successfully.
1731         * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
1732
1733 2003-02-24  Paolo Carlini <pcarlini@unitus.it>
1734             Nathan Myers <ncm@cantrip.org>
1735
1736         PR libstdc++/9404, PR libstdc++/9701 (partial)
1737         (aka pptr == epptr implies overflow)
1738         * include/bits/fstream.tcc (_M_allocate_internal_buffer):
1739         Consistently, _M_out_end points to the end of the buffer just
1740         created.
1741         (overflow): Tweak to use _M_out_buf_size().
1742         (_M_convert_to_external): The role of the old _M_out_end is
1743         now played by _M_out_lim.
1744         (_M_really_overflow): Likewise.
1745         (seekoff): Likewise.
1746         (setbuf): _M_out_end points to the end of the external buffer.
1747         * include/bits/sstream.tcc (overflow): Rewrote, taking into
1748         account the resolution of DR 169 (TC).
1749         (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
1750         (seekpos): Use _M_string.capacity(); tweak.
1751         * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
1752         * include/std/std_fstream.h (sync): The role of the old
1753         _M_out_end is now played by _M_out_lim.
1754         (_M_set_indeterminate): Use _M_set_determinate.
1755         (_M_set_determinate): _M_out_end is now _M_out_lim.
1756         (_M_is_indeterminate): Likewise.
1757         * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
1758         (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
1759         which have the information readily available as _M_string.capacity();
1760         for ate and app modes, pass the string size to _M_really_sync.
1761         (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
1762         point to the end of the buffer (i.e., epptr) and to the string end,
1763         respectively.
1764         * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
1765         which points to the right limit of the used put area.
1766         (_M_out_cur_move): The role of the old _M_out_end is now played
1767         by _M_out_lim.
1768         (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
1769         _M_out_end  - _M_out_cur (i.e., pptr), _very_ close to the letter
1770         of the standard.
1771         (basic_streambuf()): Initialize _M_out_lim too.
1772         * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
1773         * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
1774         * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
1775
1776 2003-02-24  Benjamin Kosnik  <bkoz@redhat.com>
1777
1778         * testsuite/27_io/ios_base_storage.cc (main): Call
1779         set_memory_limits.
1780
1781 2003-02-21  Jerry Quinn  <jlquinn@optonline.net>
1782
1783         * include/bits/locale_facets.tcc (_M_convert_float): Replace
1784         numpunct facet accesses with data from __locale_cache.
1785
1786 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
1787
1788         * docs/html/faq/index.html (3.9):  New note, wchar_t on FreeBSD.
1789         * docs/html/faq/index.txt:  Regenerate.
1790
1791 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
1792
1793         * config/linker-map.gnu:  Also export locking symbols needed for the
1794         generic atomicity.h case.
1795
1796 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
1797
1798         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1799         config.status.
1800         * configure: Rebuilt.
1801
1802 2003-02-19  Paolo Carlini  <pcarlini@unitus.it>
1803
1804         * include/bits/sstream.tcc (overflow): According to
1805         27.7.1.3, p5, actual output is performed by sputc(c).
1806
1807 2003-02-19  Phil Edwards  <pme@gcc.gnu.org>
1808
1809         PR libstdc++/9582
1810         * include/bits/stl_alloc.h:  Remove all traces of assert().
1811
1812 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
1813
1814         * include/std/std_sstream.h (str()): the size of the
1815         current string may be different from the initial one
1816         whenever _M_out_end > _M_out_beg.
1817         * testsuite/27_io/stringbuf_members.cc (test07): Add.
1818
1819 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
1820
1821         PR libstdc++/9582
1822         * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
1823
1824 2003-02-17  Benjamin Kosnik  <bkoz@redhat.com>
1825
1826         * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
1827         * testsuite/27_io/ios_members.cc (test03): New.
1828
1829 2003-02-17  Jerry Quinn  <jlquinn@optonline.net>
1830
1831         * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
1832         (basic_ios::_M_cache_facets): Move into above.
1833         * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
1834         cache.
1835         (basic_ios::imbue): Force locale cache to be built.
1836         (basic_ios::_M_init): Create and initialize locale cache.
1837         * include/bits/ios_base.h (__locale_cache_base): Declare.
1838         (ios_base::_M_locale_cache): New.
1839         (ios_base::_M_cache): Define.
1840         * include/bits/locale_facets.h: (__num_base): Fix comment.  Add
1841         _S_end.
1842         (__locale_cache_base,__locale_cache<_CharT>):  New classes.
1843         (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
1844         * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
1845         cache literal string, grouping flag, thousands separator.
1846         (__locale_cache<_CharT>::__locale_cache): New.
1847         (__locale_cache<_CharT>::_M_init): New.
1848         * src/ios.cc: Clear _M_locale_cache in constructor.
1849         * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
1850         New.
1851
1852 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
1853
1854         * src/locale-inst.cc: Do not include <cassert>.
1855         * src/locale.cc: Likewise.
1856
1857 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
1858
1859         PR libstdc++/9580
1860         * include/std/std_fstream.h: Declare underflow and uflow
1861         specializations, change generic definitions to do nothing.
1862         * src/fstream.cc: Add underflow and uflow specializations.
1863
1864 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
1865
1866         PR libstdc++/9169
1867         * include/bits/fstream.tcc (_M_convert_to_external):
1868         Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
1869         * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
1870
1871 2003-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1872
1873         * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
1874         * include/bits/basic_ios.tcc: Guard use of extern template.
1875         * include/std/std_iomanip.h: Same.
1876         * include/bits/streambuf.tcc: Same.
1877         * include/bits/stl_alloc.h: Same.
1878         * include/bits/locale_facets.tcc: Same.
1879         * include/bits/ostream.tcc: Same.
1880         * include/bits/istream.tcc: Same.
1881         * include/bits/fstream.tcc: Same.
1882         * include/bits/basic_string.tcc: Same.
1883
1884 2003-02-13  Paolo Carlini  <pcarlini@unitus.it>
1885
1886         * include/bits/ostream.tcc (sentry::sentry): Improve
1887         performance-wise the fix for libstdc++/9563.
1888
1889 2003-02-12  Phil Edwards  <pme@gcc.gnu.org>
1890
1891         * config/cpu/generic/atomicity.h (_Atomic_add_mutex):  Fix declaration.
1892         (_GLIBCPP_NEED_GENERIC_MUTEX):  Define for this file.
1893         (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once):  Declare
1894         when we don't have static mutex initialization.
1895         (__exchange_and_add):  Use _Atomic_add_mutex_once.
1896         * src/misc-inst.cc:  Definitions of all the above.
1897
1898 2003-02-12  Paolo Carlini  <pcarlini@unitus.it>
1899
1900         PR libstdc++/9563
1901         * include/bits/ostream.tcc (sentry::sentry): Check
1902         the state of the stream after the preparation.
1903         * testsuite/27_io/ostream_sentry.cc (test02): Add.
1904
1905 2003-02-11  Benjamin Kosnik  <bkoz@redhat.com>
1906
1907         * include/Makefile.am (stamp-std-precompile): Add rule.
1908         * include/Makefile.in: Regenerated.
1909
1910 2003-02-11 Jerry Quinn  <jlquinn@optonline.net>
1911            Benjamin Kosnik  <benjamin@redhat.com>
1912
1913         * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
1914         Add indexes into this array.
1915         (__num_base::_S_atoms): To _S_atoms_in.
1916         (num_put::_M_insert): Rename to _M_pad.
1917         (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
1918         (num_put::_M_widen_int): Rename to _M_group_int.
1919         (num_put::_M_widen_float): Rename to _M_group_float.
1920         * include/bits/locale_facets.tcc (__int_to_char): New inline
1921         function and adapter functions.
1922         (num_put::_M_group_int): Streamline.
1923         (num_put::_M_group_float): Streamline.
1924         (num_put::_M_convert_int): Remove unused parameter names. Choose
1925         large enough buffer for text.  Use __int_to_char instead of
1926         __convert_from_v.  Formatted text is now at the end of the buffer.
1927         (num_put::_M_convert_float): Preliminary fixups.
1928         * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
1929         (__int_to_char<unsigned long long>): Same.
1930         (__int_to_char<char, unsigned long>): New.
1931         (__int_to_char<char, unsigned long long>): New.
1932         (__int_to_char<wchar_t, unsigned long>): New.
1933         (__int_to_char<wchar_t, unsigned long long>): New.
1934
1935 2003-02-11  Scott Snyder  <snyder@fnal.gov>
1936
1937         PR libstdc++/9659
1938         * include/bits/fstream.tcc (seekoff): Avoid operator+
1939         for pos_type.
1940
1941 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
1942
1943         PR libstdc++/9320
1944         * include/ext/stdio_filebuf.h
1945         (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
1946         stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
1947         Change to take a __size parameter of type size_t, not
1948         of type (template parameter dependent) int_type.
1949         * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
1950         size vars to size_t.
1951         * testsuite/ext/stdio_filebuf.cc: Add.
1952
1953 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
1954             Petur Runolfsson  <peturr02@ru.is>
1955
1956         PR libstdc++/9318
1957         * include/bits/streambuf.tcc (__copy_streambufs):
1958         Don't conditionalize the copy to __testput.
1959         * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
1960
1961 2002-02-11  DJ Delorie  <dj@redhat.com>
1962
1963         * acinclude.m4: Check for native targets that can't link at
1964         this point in the build.
1965         * aclocal.m4: Regenerate.
1966         * configure: Regenerate.
1967
1968 2003-02-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1969
1970         * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
1971         Correct alignment.
1972         (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
1973         lock.
1974
1975 2003-02-07  Paolo Carlini  <pcarlini@unitus.it>
1976
1977         * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
1978         unsigned char platforms.
1979
1980 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
1981
1982         PR libstdc++/9562
1983         * include/std/std_istream.h
1984         (basic_istream::sentry::operator bool()): Make const.
1985         * include/std/std_ostream.h
1986         (basic_ostream::sentry::operator bool()): Likewise.
1987         * testsuite/27_io/istream_sentry.cc (test03): Add.
1988         * testsuite/27_io/ostream_sentry.cc: Add.
1989
1990 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
1991
1992         PR libstdc++/9548
1993         Implement resolution of DR 231 (Ready)
1994         * include/bits/locale_facets.h (__num_base::_S_format_float):
1995         Change declaration: return void, remove __prec parameter.
1996         * src/locale.cc (__num_base::_S_format_float): Implement
1997         resolution of DR 231.
1998         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1999         Tweak uses. Check for negative precision.
2000         * testsuite/22_locale/num_put/put/char/6.cc: Add
2001         * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
2002
2003 2003-02-06  Peter Soetens  <peter.soetens@mech.kuleuven.ac.be>
2004
2005         * config/io/basic_file_libio.h: Fixups.
2006         * config/io/c_io_libio.h: Same.
2007         * libio/Makefile.am: Same.
2008         * libio/Makefile.in: Regenerated.
2009
2010 2003-02-06  Benjamin Kosnik  <bkoz@redhat.com>
2011
2012         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
2013         Explicitly use the "C" locale.
2014         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
2015
2016 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
2017
2018         DR 75
2019         DR 305
2020         PR libstdc++/9028 (partial)
2021         PR libstdc++/9224
2022         PR libstdc++/9246
2023         PR libstdc++/9247
2024
2025         * src/codecvt.cc
2026         (codecvt<wchar_t, char, mbstate_t>::do_encoding,
2027         codecvt<wchar_t, char, mbstate_t>::do_length,
2028         codecvt<wchar_t, char, mbstate_t>::do_max_length):
2029         Move...
2030         * config/locale/generic/codecvt_members.cc:  ...here.
2031         * config/locale/gnu/codecvt_members.cc:  ...and here.
2032
2033         * config/locale/generic/codecvt_members.cc,
2034         * config/locale/gnu/codecvt_members.cc
2035         (codecvt<wchar_t, char, mbstate_t>::do_encoding
2036         codecvt<wchar_t, char, mbstate_t>::do_in,
2037         codecvt<wchar_t, char, mbstate_t>::do_length,
2038         codecvt<wchar_t, char, mbstate_t>::do_max_length,
2039         codecvt<wchar_t, char, mbstate_t>::do_out):
2040         New implementation that handles stateless encodings,
2041         including UTF-8.
2042
2043         * config/locale/generic/codecvt_members.cc,
2044         * config/locale/gnu/codecvt_members.cc,
2045         * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
2046         * include/bits/codecvt.h,
2047         * src/codecvt.cc
2048         (codecvt::length, codecvt::do_length):
2049         Change type of first argument of length and do_length from
2050         'const state_type&' to 'state_type&' according to DR 75.
2051
2052         * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc:  Cleanup.
2053         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc:  New test.
2054         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc:  New test.
2055         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc:  New test.
2056         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
2057         Cleanup and check for correct return value from encoding
2058         for "C" locale.
2059         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc:  New test.
2060         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc:  New test.
2061         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc:  New test.
2062         * testsuite/22_locale/codecvt/in/wchar_t/1.cc:  Cleanup.
2063         * testsuite/22_locale/codecvt/in/wchar_t/2.cc:  New test.
2064         * testsuite/22_locale/codecvt/in/wchar_t/3.cc:  New test.
2065         * testsuite/22_locale/codecvt/in/wchar_t/4.cc:  New test.
2066         * testsuite/22_locale/codecvt/in/wchar_t/5.cc:  New test.
2067         * testsuite/22_locale/codecvt/in/wchar_t/6.cc:  New test.
2068         * testsuite/22_locale/codecvt/in/wchar_t/7.cc:  New test.
2069         * testsuite/22_locale/codecvt/in/wchar_t/8.cc:  New test.
2070         * testsuite/22_locale/codecvt/in/wchar_t/9.cc:  New test.
2071         * testsuite/22_locale/codecvt/length/char/1.cc:  Cleanup.
2072         * testsuite/22_locale/codecvt/length/char/2.cc:  New test.
2073         * testsuite/22_locale/codecvt/length/wchar_t/1.cc:  Cleanup.
2074         * testsuite/22_locale/codecvt/length/wchar_t/2.cc:  New test.
2075         * testsuite/22_locale/codecvt/length/wchar_t/3.cc:  New test.
2076         * testsuite/22_locale/codecvt/length/wchar_t/4.cc:  New test.
2077         * testsuite/22_locale/codecvt/length/wchar_t/5.cc:  New test.
2078         * testsuite/22_locale/codecvt/length/wchar_t/6.cc:  New test.
2079         * testsuite/22_locale/codecvt/length/wchar_t/7.cc:  New test.
2080         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc:  Cleanup.
2081         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc:  New test.
2082         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc:  New test.
2083         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc:  New test.
2084         * testsuite/22_locale/codecvt/out/wchar_t/1.cc:  Cleanup.
2085         * testsuite/22_locale/codecvt/out/wchar_t/2.cc:  New test.
2086         * testsuite/22_locale/codecvt/out/wchar_t/3.cc:  New test.
2087         * testsuite/22_locale/codecvt/out/wchar_t/4.cc:  New test.
2088         * testsuite/22_locale/codecvt/out/wchar_t/5.cc:  New test.
2089         * testsuite/22_locale/codecvt/out/wchar_t/6.cc:  New test.
2090         * testsuite/22_locale/codecvt/out/wchar_t/7.cc:  New test.
2091         * testsuite/22_locale/codecvt/unicode/1.cc:  New test.
2092         * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc:  Cleanup.
2093         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc:  New test.
2094         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc:  New test.
2095         * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc:  New test.
2096
2097 2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2098
2099         * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
2100         (money_put::do_put): Same.
2101
2102 2003-02-05  Jerry Quinn  <jlquinn@optonline.net>
2103
2104         * include/bits/ios_base.h (ios_base): Document reserved storage.
2105
2106         * include/bits/locale_facets.h: (struct __pad): Comment on
2107         implementation.
2108         (__verify_grouping): Same.
2109         (__add_grouping): Same.
2110         * include/bits/locale_facets.tcc (__verify_grouping): Move
2111         comments to declaration.
2112         (__add_grouping): Same.
2113
2114         * include/bits/locale_facets.tcc:
2115         (__write<_CharT, _OutIter>): New function.
2116         (__write<_CharT>): New function specialization.
2117         (num_put::_M_insert): Remove explicit loop over iterator.  Use
2118         __write.
2119         (num_put::_M_widen_float): Remove __basefield.
2120         (num_put::_M_widen_int): Move __basefield to within grouping block.
2121
2122         * include/bits/streambuf_iterator.h: Include <streambuf>.
2123         (ostreambuf_iterator::_M_put): Add.
2124
2125 2003-02-05  Paolo Carlini  <pcarlini@unitus.it>
2126
2127         * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
2128
2129 2003-02-04  Nathan Myers  <ncm@cantrip.org>
2130
2131         * testsuite/25_algorithms/min_max.cc (test02): Add.
2132
2133 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
2134
2135         PR libstdc++/9439, PR libstdc++/9425
2136         * config/io/basic_file_stdio.cc
2137         (__basic_file<char>::seekoff, seekpos): Return -1L if
2138         fseek fails.
2139         * include/bits/fstream.tcc (basic_filebuf::seekoff):
2140         Check _M_file.seekoff return value; always return
2141         pos_type(off_type(-1)) in case of failure.
2142         (basic_filebuf::pbackfail): Check this->seekoff return
2143         value and return traits_type::eof() in case of failure.
2144         * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
2145
2146 2003-02-04  Jerry Quinn  <jlquinn@optonline.net>
2147
2148         * include/std/std_ostream.h (ostream::_M_write): Declare.
2149         * ostream.tcc (ostream::_M_write): Define.
2150         (basic_ostream::write): Use it.
2151         (operator<<(basic_ostream, _CharT)): Ditto.
2152         (operator<<(basic_ostream, char)): Ditto.
2153         (operator<<(basic_ostream, _CharT*)): Ditto.
2154         (operator<<(basic_ostream, char*)): Ditto.
2155         (operator<<(basic_ostream, basic_string)): Ditto.
2156
2157 2003-02-04  Benjamin Kosnik  <bkoz@redhat.com>
2158
2159         * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
2160
2161 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
2162
2163         * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
2164         add HTML comment about updating links if numbering changes.
2165
2166 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
2167
2168         PR libstdc++/9538
2169         * include/bits/streambuf.tcc (sputbackc): Access
2170         this->gptr()[-1] only if _M_in_beg < _M_in_cur.
2171         * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
2172
2173 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
2174
2175         PR libstdc++/9507
2176         * include/bits/fstream.tcc (open): If the 'ate' repositioning
2177         operation fails, calls close _and_ returns a null pointer
2178         to indicate failure (27.8.1.3,4).
2179         * testsuite/27_io/filebuf_members.cc (test_06): Add.
2180
2181 2003-02-04  Petur Runolfsson  <peturr02@ru.is>
2182
2183         * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
2184
2185 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
2186
2187         * docs/html/27_io/howto.html: New section on stdio_filebuf.
2188         * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
2189         * docs/html/documentation.html: Regenerate.
2190
2191 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
2192
2193         * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
2194         * docs/html/17_intro/porting.html: Regenerate.
2195
2196 2003-02-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
2197             Phil Edwards  <pme@gcc.gnu.org>
2198
2199         * include/std/std_bitset.h:  Replace CHAR_BIT with __CHAR_BIT__, use
2200         numeric_limits for bits-per-word values.
2201         (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
2202         Use __builtin_popcountl instead.
2203         (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
2204         _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
2205         Use __builtin_ctzl instead.
2206         (_S_bit_count, _S_first_one):  Remove.
2207         * config/linker-map.gnu (GLIBCPP_3.4):  Remove std::_S_bit_count.
2208         * src/Makefile.am (sources):  Remove bitset.cc.
2209         * src/bitset.cc:  Delete file.
2210         * src/Makefile.in:  Regenerate.
2211
2212 2003-02-03  Phil Edwards  <pme@gcc.gnu.org>
2213
2214         PR libstdc++/9527, PR libstdc++/8713
2215         * docs/html/install.html:  Mention glibc version requirement.
2216         * docs/html/faq/index.html (3.8):  New note, glibc 2.2.5+ is needed
2217         with 3.2.1+ (formatting bugfixes).
2218         * docs/html/faq/index.txt:  Regenerate.
2219
2220 2003-02-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
2221
2222         PR libstdc++/9234
2223         * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
2224         operator.
2225
2226         * include/bits/valarray_before.h (__not_equal_to): Use != instead
2227         of ==.
2228
2229         * testsuite/26_numerics/valarray_operators.cc: New test.
2230
2231 2003-02-01  Phil Edwards  <pme@gcc.gnu.org>
2232
2233         * docs/html/faq/index.html:  Correct link to libg++ information.
2234         * docs/html/faq/index.txt:  Regenerated.
2235
2236 2003-02-01  Paolo Carlini  <pcarlini@unitus.it>
2237             Benjamin Kosnik  <bkoz@redhat.com>
2238
2239         Const correctness issue:
2240         http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
2241         * include/bits/locale_classes.h
2242         (locale::_Impl::_M_facets): Change type to const facet**.
2243         (locale::_Impl::_M_install_facet): Change declaration to
2244         take const facet*.
2245         (locale::facet::_M_references): Make mutable.
2246         (locale::facet::_M_add_reference): Declare const.
2247         (locale::facet::_M_remove_reference): Likewise.
2248         * include/bits/locale_facets.tcc
2249         (use_facet(const locale&)): Tweak for const facet** _M_facets.
2250         (has_facet(const locale&)): Likewise.
2251         * src/locale.cc
2252         (locale::facet::_M_add_reference): Adjust definition.
2253         (locale::facet::_M_remove_reference): Likewise.
2254         * src/localename.cc
2255         (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
2256         const facet** _M_facets.
2257         (locale::_Impl::_Impl(const char*, size_t)): Likewise.
2258         (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
2259         (locale::_Impl::_M_install_facet): Adjust definition to take
2260         const facet* and for const facet** _M_facets.
2261         * testsuite/22_locale/locale/cons/8.cc: Add.
2262
2263 2003-01-29  Mark Mitchell  <mark@codesourcery.com>
2264
2265         * include/std/std_limits.h (numeric_limits<float>::has_infinity):
2266         Use __FLT_HAS_INIFINITY__ to initialize.
2267         (numeric_limits<float>::has_quiet_NaN): Likewise.
2268         (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
2269         to initialize.
2270         (numeric_limits<double>::has_quiet_NaN): Likewise.
2271         (numeric_limits<long double>::has_infinity): Use
2272         __LDBL_HAS_INIFINITY__ to initialize.
2273         (numeric_limits<long_double>::has_quiet_NaN): Likewise.
2274
2275 2003-01-28  Nathan Sidwell  <nathan@codesourcery.com>
2276
2277         PR c++/9433
2278         * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
2279         with bases which are very ambiguous.
2280
2281 2003-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
2282
2283         * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
2284         @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
2285         * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
2286         * src/Makefile.in: Regenerate.
2287         * libsupc++/Makefile.in: Regenerate.
2288
2289 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2290
2291         * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
2292         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2293         version_specific_libs is enabled.
2294         * aclocal.m4, configure: Rebuilt.
2295
2296 2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
2297
2298         * include/bits/valarray_meta.h: Remove, split into ...
2299         * include/bits/valarray_before.h: ... this, and ...
2300         * include/bits/valarray_after.h: ... this.
2301         * include/std/std_valarray.h: Adjust.
2302         * include/Makefile.am (bits_headers): Adjust.
2303         * include/Makefile.in: Regenerate.
2304
2305 2003-01-24  Andreas Schwab  <schwab@suse.de>
2306
2307         * config/linker-map.gnu: Fix for size_t variance.
2308
2309 2003-01-23  Petur Runolfsson  <peturr02@ru.is>
2310
2311         PR libstdc++/9322
2312         * include/std/std_streambuf.h
2313         (basic_streambuf::basic_streambuf,
2314         basic_streambuf::~basic_streambuf,
2315         basic_streambuf::getloc, basic_streambuf::imbue):
2316         Remove _M_buf_locale_init
2317         * include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
2318         * testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
2319         * testsuite/27_io/streambuf_members.cc (test08):  Add.
2320         * testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.
2321
2322 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2323
2324         Revert include ordering.
2325         * config/locale/generic/c_locale.h: Add include guards.
2326         * config/locale/gnu/c_locale.h: Same.
2327         * include/bits/locale_classes.h: Remove cctype include.
2328         * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
2329         * include/std/std_fstream.h: Remove streambuf include.
2330         * include/std/std_sstream.h: Remove streambuf include.
2331
2332 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2333
2334         * configure.in (libtool_VERSION): To 6:0:0.
2335         * configure: Regenerated.
2336         * config/linker-map.gnu: Clean.
2337
2338         * src/misc-inst.cc: Remove instantiations.
2339
2340         * include/bits/stl_alloc.h (__malloc_alloc_template):
2341         To __malloc_alloc.
2342         (__default_alloc_template): To __pool_alloc.
2343         * src/stl-inst.cc: Same.
2344         * include/backward/alloc.h: Update.
2345         * testsuite/ext/allocators.cc: Update.
2346
2347         * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
2348         really try to remove these if possible.
2349         * src/locale.cc (std): Same.
2350
2351         * testsuite/abi_check.cc (check_version): Add.
2352
2353 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2354             Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
2355             Mark Mitchell  <mark@codesourcery.com>
2356
2357         PR libstdc++/9269
2358         * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
2359         (basic_filebuf::underflow): Declare.
2360         Move definitions.
2361
2362 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
2363
2364         * include/bits/locale_facets.h: Move non-facet classes requiring
2365         <string> to...
2366         * include/bits/locale_classes.h: New.
2367         * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
2368         * include/bits/Makefile.in: Regenerate.
2369
2370         * include/bits/locale_facets.tcc (__convert_from_v): Move to...
2371         * config/locale/gnu/c_locale.h: ...here.
2372         * config/locale/generic/c_locale.h: Same.
2373
2374         * include/bits/locale_facets.tcc: Move declarations to...
2375         * include/bits/locale_facets.h: ...here.
2376         * include/bits/basic_ios.h: Tweak includes accordingly.
2377         * include/std/std_sstream.h: Add streambuf include.
2378         * include/std/std_fstream.h: Ditto.
2379         * include/std/std_locale.h: Add locale_classes.h include.
2380         * include/std/std_iosfwd.h: Tweak.
2381         * src/concept-inst.cc: Add iterator include.
2382
2383         * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
2384         bits as unexported in the future.
2385
2386 2003-01-21  Benjamin Kosnik  <bkoz@redhat.com>
2387
2388         Reshuffle 22_locale testsuite.
2389         * 22_locale/(codecvt.cc money_get.cc
2390         codecvt_members_char_char.cc money_get_members_char.cc
2391         codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
2392         codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
2393         codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
2394         moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
2395         collate_members_char.cc money_put.cc collate_members_wchar_t.cc
2396         money_put_members_char.cc ctor_copy_dtor.cc
2397         money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
2398         num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
2399         ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
2400         numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
2401         ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
2402         num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
2403         ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
2404         operators.cc ctype_widen_char.cc static_members.cc
2405         ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
2406         global_templates.cc time_get_members_wchar_t.cc, members.cc,
2407         time_put.cc, messages_byname.cc, time_put_members_char.cc,
2408         messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
2409         Split up into individual test cases...
2410         * 22_locale/codecvt/1.cc: New.
2411         * 22_locale/codecvt/2.cc: New.
2412         * 22_locale/codecvt/always_noconv/char/1.cc: New.
2413         * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
2414         * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
2415         * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
2416         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
2417         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
2418         * 22_locale/codecvt/encoding/char/1.cc: New.
2419         * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
2420         * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
2421         * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
2422         * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
2423         * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
2424         * 22_locale/codecvt/in/char/1.cc: New.
2425         * 22_locale/codecvt/in/char/wrapped_env.cc: New.
2426         * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
2427         * 22_locale/codecvt/in/wchar_t/1.cc: New.
2428         * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
2429         * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
2430         * 22_locale/codecvt/length/char/1.cc: New.
2431         * 22_locale/codecvt/length/char/wrapped_env.cc: New.
2432         * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
2433         * 22_locale/codecvt/length/wchar_t/1.cc: New.
2434         * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
2435         * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
2436         * 22_locale/codecvt/max_length/char/1.cc: New.
2437         * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
2438         * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
2439         * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
2440         * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
2441         * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
2442         * 22_locale/codecvt/out/char/1.cc: New.
2443         * 22_locale/codecvt/out/char/wrapped_env.cc: New.
2444         * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
2445         * 22_locale/codecvt/out/wchar_t/1.cc: New.
2446         * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
2447         * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
2448         * 22_locale/codecvt/unicode/char.cc: New.
2449         * 22_locale/codecvt/unicode/wchar_t.cc: New.
2450         * 22_locale/codecvt/unshift/char/1.cc: New.
2451         * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
2452         * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
2453         * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
2454         * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
2455         * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
2456         * 22_locale/collate/1.cc: New.
2457         * 22_locale/collate/2.cc: New.
2458         * 22_locale/collate/compare/char/1.cc: New.
2459         * 22_locale/collate/compare/char/2.cc: New.
2460         * 22_locale/collate/compare/char/wrapped_env.cc: New.
2461         * 22_locale/collate/compare/char/wrapped_locale.cc: New.
2462         * 22_locale/collate/compare/wchar_t/1.cc: New.
2463         * 22_locale/collate/compare/wchar_t/2.cc: New.
2464         * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
2465         * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
2466         * 22_locale/collate/hash/char/1.cc: New.
2467         * 22_locale/collate/hash/char/2.cc: New.
2468         * 22_locale/collate/hash/char/wrapped_env.cc: New.
2469         * 22_locale/collate/hash/char/wrapped_locale.cc: New.
2470         * 22_locale/collate/hash/wchar_t/1.cc: New.
2471         * 22_locale/collate/hash/wchar_t/2.cc: New.
2472         * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
2473         * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
2474         * 22_locale/collate/transform/char/2.cc: New.
2475         * 22_locale/collate/transform/char/wrapped_env.cc: New.
2476         * 22_locale/collate/transform/char/wrapped_locale.cc: New.
2477         * 22_locale/collate/transform/wchar_t/2.cc: New.
2478         * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
2479         * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
2480         * 22_locale/collate_byname/1.cc: New.
2481         * 22_locale/ctype/1.cc: New.
2482         * 22_locale/ctype/2.cc: New.
2483         * 22_locale/ctype/cons/char/1.cc: New.
2484         * 22_locale/ctype/cons/char/wrapped_env.cc: New.
2485         * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
2486         * 22_locale/ctype/is/char/1.cc: New.
2487         * 22_locale/ctype/is/char/2.cc: New.
2488         * 22_locale/ctype/is/char/3.cc: New.
2489         * 22_locale/ctype/is/char/wrapped_env.cc: New.
2490         * 22_locale/ctype/is/char/wrapped_locale.cc: New.
2491         * 22_locale/ctype/is/wchar_t/1.cc: New.
2492         * 22_locale/ctype/is/wchar_t/2.cc: New.
2493         * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
2494         * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
2495         * 22_locale/ctype/narrow/char/1.cc: New.
2496         * 22_locale/ctype/narrow/char/2.cc: New.
2497         * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
2498         * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
2499         * 22_locale/ctype/narrow/wchar_t/1.cc: New.
2500         * 22_locale/ctype/narrow/wchar_t/2.cc: New.
2501         * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
2502         * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
2503         * 22_locale/ctype/scan/char/1.cc: New.
2504         * 22_locale/ctype/scan/char/wrapped_env.cc: New.
2505         * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
2506         * 22_locale/ctype/scan/wchar_t/1.cc: New.
2507         * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
2508         * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
2509         * 22_locale/ctype/to/char/1.cc: New.
2510         * 22_locale/ctype/to/char/wrapped_env.cc: New.
2511         * 22_locale/ctype/to/char/wrapped_locale.cc: New.
2512         * 22_locale/ctype/to/wchar_t/1.cc: New.
2513         * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
2514         * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
2515         * 22_locale/ctype/widen/char/1.cc: New.
2516         * 22_locale/ctype/widen/char/wrapped_env.cc: New.
2517         * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
2518         * 22_locale/ctype/widen/wchar_t/1.cc: New.
2519         * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
2520         * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
2521         * 22_locale/facet/1.cc: New.
2522         * 22_locale/facet/2.cc: New.
2523         * 22_locale/global_templates/1.cc: New.
2524         * 22_locale/locale/cons/1.cc: New.
2525         * 22_locale/locale/cons/2.cc: New.
2526         * 22_locale/locale/cons/3.cc: New.
2527         * 22_locale/locale/cons/4.cc: New.
2528         * 22_locale/locale/cons/5.cc: New.
2529         * 22_locale/locale/cons/6.cc: New.
2530         * 22_locale/locale/cons/7.cc: New.
2531         * 22_locale/locale/global_locale_objects/1.cc: New.
2532         * 22_locale/locale/global_locale_objects/2.cc: New.
2533         * 22_locale/locale/global_locale_objects/3.cc: New.
2534         * 22_locale/locale/operations/1.cc: New.
2535         * 22_locale/locale/operations/2.cc: New.
2536         * 22_locale/messages/1.cc: New.
2537         * 22_locale/messages/2.cc: New.
2538         * 22_locale/messages/members/char/1.cc: New.
2539         * 22_locale/messages/members/char/2.cc: New.
2540         * 22_locale/messages/members/char/3.cc: New.
2541         * 22_locale/messages/members/char/wrapped_env.cc: New.
2542         * 22_locale/messages/members/char/wrapped_locale.cc: New.
2543         * 22_locale/messages_byname/1.cc: New.
2544         * 22_locale/money_get/1.cc: New.
2545         * 22_locale/money_get/2.cc: New.
2546         * 22_locale/money_get/get/char/1.cc: New.
2547         * 22_locale/money_get/get/char/2.cc: New.
2548         * 22_locale/money_get/get/char/3.cc: New.
2549         * 22_locale/money_get/get/char/4.cc: New.
2550         * 22_locale/money_get/get/char/5.cc: New.
2551         * 22_locale/money_get/get/char/6.cc: New.
2552         * 22_locale/money_get/get/char/7.cc: New.
2553         * 22_locale/money_get/get/char/8.cc: New.
2554         * 22_locale/money_get/get/char/wrapped_env.cc: New.
2555         * 22_locale/money_get/get/char/wrapped_locale.cc: New.
2556         * 22_locale/money_get/get/wchar_t/1.cc: New.
2557         * 22_locale/money_get/get/wchar_t/2.cc: New.
2558         * 22_locale/money_get/get/wchar_t/3.cc: New.
2559         * 22_locale/money_get/get/wchar_t/4.cc: New.
2560         * 22_locale/money_get/get/wchar_t/5.cc: New.
2561         * 22_locale/money_get/get/wchar_t/6.cc: New.
2562         * 22_locale/money_get/get/wchar_t/7.cc: New.
2563         * 22_locale/money_get/get/wchar_t/8.cc: New.
2564         * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
2565         * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
2566         * 22_locale/money_put/1.cc: New.
2567         * 22_locale/money_put/2.cc: New.
2568         * 22_locale/money_put/put/char/1.cc: New.
2569         * 22_locale/money_put/put/char/2.cc: New.
2570         * 22_locale/money_put/put/char/3.cc: New.
2571         * 22_locale/money_put/put/char/4.cc: New.
2572         * 22_locale/money_put/put/char/5.cc: New.
2573         * 22_locale/money_put/put/char/6.cc: New.
2574         * 22_locale/money_put/put/char/wrapped_env.cc: New.
2575         * 22_locale/money_put/put/char/wrapped_locale.cc: New.
2576         * 22_locale/money_put/put/wchar_t/1.cc: New.
2577         * 22_locale/money_put/put/wchar_t/2.cc: New.
2578         * 22_locale/money_put/put/wchar_t/3.cc: New.
2579         * 22_locale/money_put/put/wchar_t/4.cc: New.
2580         * 22_locale/money_put/put/wchar_t/5.cc: New.
2581         * 22_locale/money_put/put/wchar_t/6.cc: New.
2582         * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
2583         * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
2584         * 22_locale/moneypunct/1.cc: New.
2585         * 22_locale/moneypunct/2.cc: New.
2586         * 22_locale/moneypunct/3.cc: New.
2587         * 22_locale/moneypunct/members/char/1.cc: New.
2588         * 22_locale/moneypunct/members/char/2.cc: New.
2589         * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
2590         * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
2591         * 22_locale/moneypunct/members/wchar_t/1.cc: New.
2592         * 22_locale/moneypunct/members/wchar_t/2.cc: New.
2593         * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
2594         * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
2595         * 22_locale/moneypunct_byname/1.cc: New.
2596         * 22_locale/num_get/1.cc: New.
2597         * 22_locale/num_get/2.cc: New.
2598         * 22_locale/num_get/get/char/1.cc: New.
2599         * 22_locale/num_get/get/char/2.cc: New.
2600         * 22_locale/num_get/get/char/3.cc: New.
2601         * 22_locale/num_get/get/char/4.cc: New.
2602         * 22_locale/num_get/get/char/5.cc: New.
2603         * 22_locale/num_get/get/char/6.cc: New.
2604         * 22_locale/num_get/get/char/wrapped_env.cc: New.
2605         * 22_locale/num_get/get/char/wrapped_locale.cc: New.
2606         * 22_locale/num_get/get/wchar_t/1.cc: New.
2607         * 22_locale/num_get/get/wchar_t/2.cc: New.
2608         * 22_locale/num_get/get/wchar_t/3.cc: New.
2609         * 22_locale/num_get/get/wchar_t/4.cc: New.
2610         * 22_locale/num_get/get/wchar_t/5.cc: New.
2611         * 22_locale/num_get/get/wchar_t/6.cc: New.
2612         * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
2613         * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
2614         * 22_locale/num_put/1.cc: New.
2615         * 22_locale/num_put/2.cc: New.
2616         * 22_locale/num_put/put/char/1.cc: New.
2617         * 22_locale/num_put/put/char/2.cc: New.
2618         * 22_locale/num_put/put/char/3.cc: New.
2619         * 22_locale/num_put/put/char/4.cc: New.
2620         * 22_locale/num_put/put/char/5.cc: New.
2621         * 22_locale/num_put/put/char/wrapped_env.cc: New.
2622         * 22_locale/num_put/put/char/wrapped_locale.cc: New.
2623         * 22_locale/num_put/put/wchar_t/1.cc: New.
2624         * 22_locale/num_put/put/wchar_t/2.cc: New.
2625         * 22_locale/num_put/put/wchar_t/3.cc: New.
2626         * 22_locale/num_put/put/wchar_t/4.cc: New.
2627         * 22_locale/num_put/put/wchar_t/5.cc: New.
2628         * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
2629         * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
2630         * 22_locale/numpunct/1.cc: New.
2631         * 22_locale/numpunct/2.cc: New.
2632         * 22_locale/numpunct/members/char/1.cc: New.
2633         * 22_locale/numpunct/members/char/2.cc: New.
2634         * 22_locale/numpunct/members/char/wrapped_env.cc: New.
2635         * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
2636         * 22_locale/numpunct/members/wchar_t/1.cc: New.
2637         * 22_locale/numpunct/members/wchar_t/2.cc: New.
2638         * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
2639         * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
2640         * 22_locale/numpunct_byname/1.cc: New.
2641         * 22_locale/numpunct_byname/2.cc: New.
2642         * 22_locale/time_get/1.cc: New.
2643         * 22_locale/time_get/2.cc: New.
2644         * 22_locale/time_get/date_order/char/1.cc: New.
2645         * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
2646         * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
2647         * 22_locale/time_get/date_order/wchar_t/1.cc: New.
2648         * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
2649         * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
2650         * 22_locale/time_get/get_date/char/1.cc: New.
2651         * 22_locale/time_get/get_date/char/2.cc: New.
2652         * 22_locale/time_get/get_date/char/3.cc: New.
2653         * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
2654         * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
2655         * 22_locale/time_get/get_date/wchar_t/1.cc: New.
2656         * 22_locale/time_get/get_date/wchar_t/2.cc: New.
2657         * 22_locale/time_get/get_date/wchar_t/3.cc: New.
2658         * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
2659         * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
2660         * 22_locale/time_get/get_monthname/char/1.cc: New.
2661         * 22_locale/time_get/get_monthname/char/2.cc: New.
2662         * 22_locale/time_get/get_monthname/char/3.cc: New.
2663         * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
2664         * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
2665         * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
2666         * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
2667         * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
2668         * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
2669         * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
2670         * 22_locale/time_get/get_time/char/1.cc: New.
2671         * 22_locale/time_get/get_time/char/2.cc: New.
2672         * 22_locale/time_get/get_time/char/3.cc: New.
2673         * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
2674         * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
2675         * 22_locale/time_get/get_time/wchar_t/1.cc: New.
2676         * 22_locale/time_get/get_time/wchar_t/2.cc: New.
2677         * 22_locale/time_get/get_time/wchar_t/3.cc: New.
2678         * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
2679         * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
2680         * 22_locale/time_get/get_weekday/char/1.cc: New.
2681         * 22_locale/time_get/get_weekday/char/2.cc: New.
2682         * 22_locale/time_get/get_weekday/char/3.cc: New.
2683         * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
2684         * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
2685         * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
2686         * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
2687         * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
2688         * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
2689         * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
2690         * 22_locale/time_get/get_year/char/1.cc: New.
2691         * 22_locale/time_get/get_year/char/3.cc: New.
2692         * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
2693         * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
2694         * 22_locale/time_get/get_year/wchar_t/1.cc: New.
2695         * 22_locale/time_get/get_year/wchar_t/3.cc: New.
2696         * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
2697         * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
2698         * 22_locale/time_put/1.cc: New.
2699         * 22_locale/time_put/2.cc: New.
2700         * 22_locale/time_put/put/char/1.cc: New.
2701         * 22_locale/time_put/put/char/10.cc: New.
2702         * 22_locale/time_put/put/char/2.cc: New.
2703         * 22_locale/time_put/put/char/3.cc: New.
2704         * 22_locale/time_put/put/char/4.cc: New.
2705         * 22_locale/time_put/put/char/5.cc: New.
2706         * 22_locale/time_put/put/char/6.cc: New.
2707         * 22_locale/time_put/put/char/7.cc: New.
2708         * 22_locale/time_put/put/char/8.cc: New.
2709         * 22_locale/time_put/put/char/9.cc: New.
2710         * 22_locale/time_put/put/char/wrapped_env.cc: New.
2711         * 22_locale/time_put/put/char/wrapped_locale.cc: New.
2712         * 22_locale/time_put/put/wchar_t/1.cc: New.
2713         * 22_locale/time_put/put/wchar_t/10.cc: New.
2714         * 22_locale/time_put/put/wchar_t/2.cc: New.
2715         * 22_locale/time_put/put/wchar_t/3.cc: New.
2716         * 22_locale/time_put/put/wchar_t/4.cc: New.
2717         * 22_locale/time_put/put/wchar_t/5.cc: New.
2718         * 22_locale/time_put/put/wchar_t/6.cc: New.
2719         * 22_locale/time_put/put/wchar_t/7.cc: New.
2720         * 22_locale/time_put/put/wchar_t/8.cc: New.
2721         * 22_locale/time_put/put/wchar_t/9.cc: New.
2722         * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
2723         * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
2724
2725 2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>
2726
2727         * config/locale/generic/messages_members.h
2728         (messages_byname<_CharT>::messages_byname): Use this-> to refer to
2729         unqualified members of base clasess.
2730
2731 2003-01-16  Mark Mitchell  <mark@codesourcery.com>
2732             Jeffrey Oldham <oldham@codesourcery.com>
2733
2734         * config/locale/gnu/messages_members.h: Use this-> to refer to
2735         unqualified members of base clasess.
2736         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
2737         * include/bits/codecvt.h: Likewise.
2738         * include/bits/deque.tcc: Likewise.
2739         * include/bits/fstream.tcc: Likewise.
2740         * include/bits/istream.tcc: Likewise.
2741         * include/bits/list.tcc: Likewise.
2742         * include/bits/locale_facets.h: Likewise.
2743         * include/bits/ostream.tcc: Likewise.
2744         * include/bits/sstream.tcc: Likewise.
2745         * include/bits/stl_bvector.h: Likewise.
2746         * include/bits/stl_deque.h: Likewise.
2747         * include/bits/stl_list.h: Likewise.
2748         * include/bits/stl_tree.h: Likewise.
2749         * include/bits/stl_vector.h: Likewise.
2750         * include/bits/vector.tcc: Likewise.
2751         * include/ext/ropeimpl.h: Likewise.
2752         * include/ext/stdio_filebuf.h: Likewise.
2753         * include/ext/stl_rope.h: Likewise.
2754         * include/std/std_fstream.h: Likewise.
2755         * include/std/std_sstream.h: Likewise.
2756
2757 2003-01-15  Phil Edwards  <pme@gcc.gnu.org>
2758
2759         * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
2760
2761 2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2762
2763         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
2764         GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
2765         * aclocal.m4: Regenerate.
2766         * configure: Regenerate.
2767         * testsuite/Makefile.am (all-local): Add conditional rule to
2768         generate testsuite_wchar_t.
2769         * testsuite/Makefile.in: Regenerate.
2770         * testsuite/lib/libstdc++-v3-dg.exp
2771         (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
2772         testsuite_wchar_t is not present in the build directory.
2773         * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
2774         Remove setulimit bits.
2775         * testsuite/26_numerics/complex_value.cc: Set to noopts.
2776         * testsuite/Makefile.am (CLEANFILES): Add.
2777         * testsuite/Makefile.in: Regenerate.
2778
2779 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2780
2781         * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
2782         __hppa__.
2783
2784 2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>
2785
2786         Further conform g++'s __vmi_class_type_info to the C++ ABI
2787         specification.
2788         * libsupc++/cxxabi.h
2789         (__vmi_class_type_info::__flags_masks): Remove enumerations not
2790         required by the specification.
2791
2792 2003-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2793
2794         Renames, namespaces for testsuite utilities.
2795         * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
2796         (gnu_allocator_tracker): Rename to allocation_tracker.
2797         (gnu_new_allocator): Rename to tracker_alloc.
2798         (__set_testsuite_memlimit): Rename to set_memory_limits.
2799         (gnu_assignment_operator): Rename to assignment_operator.
2800         (gnu_destructor): Rename to destructor.
2801         (gnu_copy_tracker): Rename to copy_tracker.
2802         (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
2803         (run_tests_wrapped_locale): New.
2804         (run_tests_wrapped_env): New.
2805         * testsuite/testsuite_hooks.cc: Same.
2806         (class locale_data): Add.
2807         (class enviornment_variable): Add.
2808         (class not_found): Add.
2809         * testsuite/testsuite_allocator.h: Same.
2810         * testsuite/testsuite_allocator.cc: Same.
2811         * testsuite/23_containers/deque_ctor.cc
2812         (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
2813         allocation_tracker.
2814         Change gnu_new_allocator to tracker_alloc.
2815         Change gnu_counting_struct to counter.
2816         Change gnu_copy_tracker to copy_tracker.
2817         Change gnu_copy_constructor to copy_constructor.
2818         Change gnu_assignment_operator to assignment_operator.
2819         Inject.
2820         * testsuite/23_containers/vector_capacity.cc: Same.
2821         * testsuite/23_containers/vector_ctor.cc (test01): Same.
2822         * testsuite/23_containers/list_modifiers.cc: Change
2823         gnu_copy_tracker to copy_tracker.
2824         * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
2825         __set_testsuite_memlimit to set_memory_limits.
2826         * testsuite/21_strings/insert.cc (main): Same.
2827         * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
2828         * testsuite/27_io/stringstream.cc: Same.
2829         * testsuite/27_io/stringbuf.cc: Same.
2830         * testsuite/27_io/streambuf.cc: Same.
2831         * testsuite/27_io/ostream.cc: Same.
2832         * testsuite/27_io/istream.cc: Same.
2833         * testsuite/27_io/fstream.cc: Same.
2834         * testsuite/lib/libstdc++-v3-dg.exp
2835         (libstdc++-v3-list-sourcefiles): Additionally handle files two and
2836         three levels deeper in glob patterns.
2837
2838 2003-01-11  Phil Edwards  <pme@gcc.gnu.org>
2839
2840         * docs/doxygen/tables.html:  Finished now.
2841         * docs/doxygen/user.cfg.in:  Update to latest version of Doxygen.
2842         * include/bits/basic_ios.h (basic_ios::rdbuf):  Add example to
2843         comments.
2844
2845         * include/bits/deque.tcc, include/bits/stl_alloc.h,
2846         include/bits/stl_deque.h, include/bits/stl_list.h,
2847         include/bits/stl_vector.h:  Remove _GLIBCPP_DEPRECATED bits scheduled
2848         for 3.4 removal.
2849
2850 2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2851
2852         * configure.in: Revert.
2853         * configure: Regenerate.
2854
2855 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2856
2857         * include/Makefile.am (install-data-local): Prepend
2858         $(DESTDIR) to destination paths in all (un)installation
2859         commands.  Use ${c_base_builddir} and ${std_builddir}
2860         as destination subdirectories to achieve consistency with
2861         preceding mkinstalldirs commands.  No effect because both
2862         variables contain "." only.
2863         * include/Makefile.in: Regenerate.
2864
2865 2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2866
2867         * include/Makefile.am (stamp-*): Add checks for existing stamps.
2868         * include/Makefile.in: Regenerate.
2869
2870         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
2871         * aclocal.m4: Regenerate.
2872
2873         * configure.in: Don't add new multi-do rules every time the
2874         directory is reconfigured.
2875         * configure: Regenerate.
2876
2877 2003-01-08  Brad Spencer  <spencer@infointeractive.com>
2878             Nathan Myers  <ncm@cantrip.org>
2879
2880         * src/Makefile.am (stamp-debug): Clean.
2881         * src/Makefile.in: Regenerate.
2882
2883 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2884
2885         PR libstdc++/8707
2886         * Makefile.am (distclean-multi): Fix.
2887         * Makefile.in: Regenerate.
2888
2889 2003-01-06  Benjamin Kosnik  <bkoz@redhat.com>
2890
2891         * include/bits/locale_facets.h (messages): Move ctor, dtor
2892         definitions to..
2893         (__timepunct): Same.
2894         * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
2895         definitions. Conditionalize for GNU systems.
2896         * config/locale/generic/messages_members.h (messages): Add dtor, ctor
2897         definitions.
2898         * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
2899         definitions. Conditionalize for GNU systems.
2900         * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
2901         definitions.
2902         * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
2903         * src/locale.cc: Define.
2904         * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
2905         Use it.
2906         * config/locale/gnu/time_members.h: Use it.
2907         * config/locale/gnu/messages_members.h: Use it.
2908         * config/linker-map.gnu: Add locale::facets details.
2909         * include/Makefile.am (target_headers_extra): Add time_members.h.
2910         * include/Makefile.in: Regenerate.
2911         * acinclude.m4: Export CTIME_H.
2912         * aclocal.m4: Regenerate.
2913         * configure: Regnerate.
2914
2915 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
2916
2917         * src/codecvt.cc
2918         (codecvt<char, char, mbstate_t>::do_in, do_out):
2919         Tweak parameters to avoid unused parameter warnings.
2920
2921 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
2922
2923         PR libstdc++/9151
2924         * include/bits/locale_facets.cc (num_put::_M_convert_float):
2925         Limit __prec to digits10 + 2, not digits10 + 1, taking into
2926         account the possibility of %{g,G} conversion specifiers
2927         inside _S_format_float.
2928         * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
2929
2930 2003-01-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2931
2932         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
2933         libstdc++-v3-list-sourcefiles): Additionally handle files one
2934         level deeper in glob patterns.
2935
2936         * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
2937         * testsuite/27_io/istream_extractor_arith/01.cc,
2938         testsuite/27_io/istream_extractor_arith/02.cc,
2939         testsuite/27_io/istream_extractor_arith/03.cc,
2940         testsuite/27_io/istream_extractor_arith/06.cc,
2941         testsuite/27_io/istream_extractor_arith/07.cc,
2942         testsuite/27_io/istream_extractor_arith/08.cc,
2943         testsuite/27_io/istream_extractor_arith/09.cc,
2944         testsuite/27_io/istream_extractor_arith/10.cc,
2945         testsuite/27_io/istream_extractor_arith/11.cc,
2946         testsuite/27_io/istream_extractor_arith/12.cc,
2947         testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
2948         * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
2949         sparc*-*-solaris2*.
2950
2951 2003-01-05  Paolo Carlini <pcarlini@unitus.it>
2952
2953         PR libstdc++/9168
2954         * src/codecvt.cc
2955         (codecvt<char, char, mbstate_t>::do_in, do_out):
2956         Implement the resolution of DR19 (TC).
2957         * testsuite/22_locale/codecvt_members_char_char.cc
2958         (test01): Tweak.
2959
2960 2003-01-02  Jason Merrill  <jason@redhat.com>
2961
2962         * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
2963         *__mem is also an output.
2964         * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.