OSDN Git Service

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