OSDN Git Service

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