OSDN Git Service

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