OSDN Git Service

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