OSDN Git Service

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