OSDN Git Service

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