(CPP_SPEC): Remove trailing semi-colon.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob425ffed6eec96a32db4372080b45702633e3663e
1 2003-03-18  Paolo Carlini  <pcarlini@unitus.it>
3         * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4         Correct size, taking into account sizeof(wchar_t).
6 2003-03-18  Paolo Carlini  <pcarlini@unitus.it>
8         Reshuffle 21_strings testsuite.
9         * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
10         assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
11         element_access.cc, operations.cc, char_traits_requirements.cc,
12         find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
13         compare.cc, inserters_extractors.cc, substr.cc: Split up, add
14         wchar_t tests as follows.       
15         * 21_strings/basic_string/append/char/1.cc: New.
16         * 21_strings/basic_string/append/wchar_t/1.cc: New.
17         * 21_strings/basic_string/assign/char/1.cc: New.
18         * 21_strings/basic_string/assign/char/2.cc: New.
19         * 21_strings/basic_string/assign/char/3.cc: New.
20         * 21_strings/basic_string/assign/wchar_t/1.cc: New.
21         * 21_strings/basic_string/assign/wchar_t/2.cc: New.
22         * 21_strings/basic_string/assign/wchar_t/3.cc: New.
23         * 21_strings/basic_string/capacity/1.cc: New.
24         * 21_strings/basic_string/capacity/char/1.cc: New.
25         * 21_strings/basic_string/capacity/char/2.cc: New.
26         * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
27         * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
28         * 21_strings/basic_string/compare/char/1.cc: New.
29         * 21_strings/basic_string/compare/wchar_t/1.cc: New.
30         * 21_strings/basic_string/cons/char/1.cc: New.
31         * 21_strings/basic_string/cons/char/2.cc: New.
32         * 21_strings/basic_string/cons/char/3.cc: New.
33         * 21_strings/basic_string/cons/char/4.cc: New.
34         * 21_strings/basic_string/cons/char/5.cc: New.
35         * 21_strings/basic_string/cons/wchar_t/1.cc: New.
36         * 21_strings/basic_string/cons/wchar_t/2.cc: New.
37         * 21_strings/basic_string/cons/wchar_t/3.cc: New.
38         * 21_strings/basic_string/cons/wchar_t/4.cc: New.
39         * 21_strings/basic_string/cons/wchar_t/5.cc: New.
40         * 21_strings/basic_string/element_access/char/1.cc: New.
41         * 21_strings/basic_string/element_access/char/2.cc: New.
42         * 21_strings/basic_string/element_access/char/3.cc: New.
43         * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
44         * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
45         * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
46         * 21_strings/basic_string/find/char/1.cc: New.
47         * 21_strings/basic_string/find/wchar_t/1.cc: New.
48         * 21_strings/basic_string/insert/char/1.cc: New.
49         * 21_strings/basic_string/insert/char/2.cc: New.
50         * 21_strings/basic_string/insert/wchar_t/1.cc: New.
51         * 21_strings/basic_string/insert/wchar_t/2.cc: New.
52         * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
53         * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
54         * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
55         * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
56         * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
57         * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
58         * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
59         * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
60         * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
61         * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
62         * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
63         * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
64         * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
65         * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
66         * 21_strings/basic_string/operators/char/1.cc: New.
67         * 21_strings/basic_string/operators/char/2.cc: New.
68         * 21_strings/basic_string/operators/wchar_t/1.cc: New.
69         * 21_strings/basic_string/operators/wchar_t/2.cc: New.
70         * 21_strings/basic_string/replace/char/1.cc: New.
71         * 21_strings/basic_string/replace/char/2.cc: New.
72         * 21_strings/basic_string/replace/char/3.cc: New.
73         * 21_strings/basic_string/replace/char/4.cc: New.
74         * 21_strings/basic_string/replace/char/5.cc: New.
75         * 21_strings/basic_string/replace/wchar_t/1.cc: New.
76         * 21_strings/basic_string/replace/wchar_t/2.cc: New.
77         * 21_strings/basic_string/replace/wchar_t/3.cc: New.
78         * 21_strings/basic_string/replace/wchar_t/4.cc: New.
79         * 21_strings/basic_string/replace/wchar_t/5.cc: New.
80         * 21_strings/basic_string/rfind/char/1.cc: New.
81         * 21_strings/basic_string/rfind/char/2.cc: New.
82         * 21_strings/basic_string/rfind/char/3.cc: New.
83         * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
84         * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
85         * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
86         * 21_strings/basic_string/substr/char/1.cc: New.
87         * 21_strings/basic_string/substr/wchar_t/1.cc: New.
88         * 21_strings/c_strings/char/1.cc: New.
89         * 21_strings/c_strings/char/2.cc: New.
90         * 21_strings/c_strings/wchar_t/1.cc: New.
91         * 21_strings/c_strings/wchar_t/2.cc: New.
92         * 21_strings/char_traits/requirements/char/1.cc: New.
93         * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
94         * 21_strings/char_traits/typedefs/char/1.cc: New.
95         
96 2003-03-17  Paolo Carlini  <pcarlini@unitus.it>
97             Petur Runolfsson  <peturr02@ru.is>
99         PR libstdc++/10097
100         * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
101         basic_filebuf<wchar_t>::_M_underflow_common):
102         if (gptr() < egptr()) return *gptr().
103         * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
105         * testsuite/27_io/filebuf_members.cc (test_04): Minor
106         changes: unlink fifo before making it, fix spelling error.
108 2003-03-17  Benjamin Kosnik  <bkoz@redhat.com>
110         * testsuite/Makefile.am (CLEANFILES): Add tmp*.
111         * testsuite/Makefile.in: Regenerate.
112         * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
113         Cleanups.
115 2003-03-17  Petur Runolfsson  <peturr02@ru.is>
117         PR libstdc++/9964
118         * include/bits/fstream.tcc (basic_filebuf::close):
119         Always close file, even when write fails.
120         * testsuite/27_io/filebuf_members.cc (test_07):  New test.
122 2003-03-17  Danny Smith  <dannysmith@users.sourceforge.net>
124         * libsupc++/Makefile.am (C_COMPILE): Remove.
125         (LTCOMPILE): Likewise.
126         * libsupc++/Makefile.in: Regenerate.
128 2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>
130         * testsuite/23_containers/bitset_members.cc: Add test variable. 
131         * testsuite/23_containers/map_insert.cc: Same.
132         * testsuite/22_locale/ctype/cons/char/1.cc: Same.
133         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
134         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
135         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
136         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
137         * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
138         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
139         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
140         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
141         * testsuite/27_io/istream_exception.cc: Same.
142         * testsuite/27_io/filebuf_virtuals.cc: Same.
143         * testsuite/27_io/stringbuf_virtuals.cc: Same.
144         * testsuite/27_io/ostream_inserter_arith.cc: Same.
145         * testsuite/26_numerics/valarray_operators.cc: Same.
146         * testsuite/26_numerics/slice.cc: Same.
147         * testsuite/26_numerics/slice_array_assignment.cc: Same.
148         * testsuite/24_iterators/istream_iterator.cc: Same.
149         * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
150         
151 2003-03-14  Petur Runolfsson  <peturr02@ru.is>
153         PR libstdc++/9581
154         PR libstdc++/9870
155         * config/locale/generic/ctype_members.cc,
156         * config/locale/gnu/ctype_members.cc
157         (ctype<wchar_t>::do_widen(char)):  Cast argument to
158         unsigned char before passing to btowc.
159         (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
160         Convert characters with btowc instead of mbsrtowcs.
161         (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
162         char, char*):
163         Convert characters with wctob instead of wcsrtombs.
164         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc:  New test.
165         * testsuite/22_locale/ctype/widen/wchar_t/2.cc:  New test.      
166         * testsuite/22_locale/ctype/widen/wchar_t/3.cc:  New test.      
168 2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>
170         * include/stdc++.h: New.        
171         * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
172         * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
173         * include/Makefile.in: Regenerate.
174         * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
175         (--cxxflags): Put -g -O2 here.
176         * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
178 2003-03-14  Loren J. Rittle  <ljrittle@acm.org>
180         * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
181         missing named locale.
183 2003-03-14  Andreas Schwab  <schwab@suse.de>
185         * configure.in: Only append to makefiles that are newly created to
186         avoid multiple multi-do/multi-clean rules.
187         * configure: Rebuilt.
189 2003-03-13  Jonathan Wakely  <redi@gcc.gnu.org>
191         * docs/html/configopts.html, docs/html/documentation.html,
192         docs/html/explanations.html, docs/html/install.html,
193         docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
194         invalid XHTML and make page header style consistent.
196 2003-03-12  Jonathan Wakely  <redi@gcc.gnu.org>
198         * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
199         * docs/html/faq/index.txt: Regenerate.
200         * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
202 2003-03-12  Andreas Schwab  <schwab@suse.de>
204         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
205         glibcpp_toolexeclibdir.
206         * aclocal.m4, configure: Rebuilt.
208 2003-03-11  Jonathan Wakely  <redi@gcc.gnu.org>
210         * docs/html/faq/index.html: Update text about location of headers.
211         * docs/html/faq/index.txt: Regenerate.
213 2003-03-11  Carlo Wood  <carlo@alinoe.com>
215         * include/bits/demangle.h: Prepend accessors of
216         class qualifier with 'get_' in order to fix warnings
217         when compiling with -Wshadow.
219 2003-03-11  Loren J. Rittle  <ljrittle@acm.org>
221         * config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
222         when so installed.
223         * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
225         * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
226         report lack of setenv().
228 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
230         * config/io/basic_file_stdio.cc: include <unistd.h>.
232 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
233             Nathan Myers  <ncm@cantrip.org>
235         PR libstdc++/7744
236         * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
237         seekoff, seekpos): Add a boolean parameter __stdio.
238         * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
239         seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
240         fseek/ftell, respectively), otherwise read (write, lseek, lseek,
241         respectively).
242         * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
243         _M_really_overflow, seekoff): Use the boolean parameter in the calls.
244         * include/std/std_fstream.h (sync): Likewise.
245         * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
246         * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
247         libstdc++/8399 commit involving isatty(0).
248         * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
249         (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
250         * configure.in: Remove call.
251         * aclocal.m4: Regenerate.
252         * config.h.in: Regenerate.
253         * configure: Regenerate.
254         * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
256 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
258         PR libstdc++/9988
259         * include/bits/fstream.tcc (overflow): don't write EOF to file.
260         * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
262 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
264         PR libstdc++/9561
265         * include/bits/basic_ios.h (_M_setstate): New.
266         * include/bits/ostream.tcc (operator<<): Use it.
267         * include/bits/istream.tcc (operator>>): Use it.
268         * include/std/std_ostream.h (operator<<): Make friends.
269         * include/std/std_istream.h (operator>>): Make friends.
270         * testsuite/27_io/ostream_exception.cc,
271         testsuite/27_io/istream_exception.cc: New tests.
273 2003-03-08  Benjamin Kosnik  <bkoz@redhat.com>  
275         * include/bits/locale_facets.tcc: Fix typo.
277 2003-03-08  Loren J. Rittle  <ljrittle@acm.org>
279         * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
280         
281         * config/locale/generic/c_locale.cc
282         (locale::facet::_S_create_c_locale): Throw runtime exception when
283         unsupported language is specified.
284         * testsuite/testsuite_hooks.h
285         (run_test_wrapped_generic_locale_exception_catcher): New function.
286         * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
287         Suppress runtime exception thrown by generic implementation.
288         (run_tests_wrapped_env): Likewise.
289         (run_test_wrapped_generic_locale_exception_catcher): New function.
290         * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
291         * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
292         * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
293         * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
294         * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
295         * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
296         * testsuite/22_locale/collate_byname/1.cc: New test wrap.
297         * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
298         * testsuite/22_locale/facet/2.cc: New test wrap.
299         * testsuite/22_locale/locale/cons/4.cc: New test wrap.
300         * testsuite/22_locale/locale/cons/5.cc: New test wrap.
301         * testsuite/22_locale/locale/cons/7.cc: New test wrap.
302         * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
303         * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
304         * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
305         * testsuite/22_locale/messages_byname/1.cc: New test wrap.
306         * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
307         * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
308         * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
309         * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
310         * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
311         * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
312         * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
313         * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
314         * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
315         * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
316         * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
317         * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
318         * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
319         * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
320         * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
321         * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
322         * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
323         * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
324         * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
325         * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
326         * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
327         * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
328         * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
329         * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
330         * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
331         * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
332         * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
333         * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
334         * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
335         * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
336         * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
337         * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
338         * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
339         * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
340         * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
341         * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
342         * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
343         * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
344         * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
345         * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
346         * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
347         * testsuite/27_io/ios_members.cc: New test wrap.
348         * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
349         New test wrap.
350         * testsuite/27_io/streambuf_members.cc: New test wrap.
351         * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
353 2003-03-08  Paolo Carlini <pcarlini@unitus.it>
354             Petur Runolfsson  <peturr02@ru.is>
356         PR libstdc++/9424
357         * include/bits/streambuf.tcc (__copy_streambufs): Use
358         sgetn-sputn only when sputn cannot fail, otherwise fall back
359         to safe snextc-sputc.
360         * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
362 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
364         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
365         locale cache for truename and falsename.
367 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
369         * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
370         _M_word_size initialization.
372 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
374         * include/bits/fstream.tcc (_M_convert_to_external):
375         Set __elen to zero if codecvt::out eventually fails.
377 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
379         PR libstdc++/9182
380         * include/bits/fstream.tcc (_M_really_overflow): Check
381         for _M_convert_to_external possible failures.
382         * include/std/std_fstream.h (sync): Check _M_really_overflow
383         return value and return -1 in case of failure.
384         * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
386 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
388         PR libstdc++/9826
389         * include/bits/istream.tcc (operator>>(_CharT*),
390         operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
391         * testsuite/27_io/stringstream.cc (test02): Add.
393         * include/bits/istream.tcc (operator>>(_CharT*)):
394         Assign a char_type to *__s.
396 2003-03-07  Petur Runolfsson  <peturr02@ru.is>
398         PR libstdc++/9817
399         * include/bits/locale_facets.tcc
400         (collate::do_compare, collate::do_transform):
401         Handle nul characters in input.
402         * testsuite/22_locale/collate/compare/char/3.cc:  New test.
403         * testsuite/22_locale/collate/compare/wchar_t/3.cc:  New test.
404         * testsuite/22_locale/collate/transform/char/3.cc:  New test.
405         * testsuite/22_locale/collate/transform/wchar_t/3.cc:  New test.
407 2003-03-07  Jerry Quinn  <jlquinn@optonline.net>
409         * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
410         sputn fails.
411         * testsuite/27_io/ostream_fail.cc: New test.
413 2003-03-07  Matthias Klose  <doko@debian.org>
415         * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
416         FLAGS_TO_PASS: Set to AM_MAKEFLAGS
417         * Makefile.in: Regenerate.
418         * libsupc++/Makefile.am: Express glibcppinstalldir in terms
419         of gxx_include_dir.
420         AM_MAKEFLAGS: Pass gxx_include_dir.
421         * libsupc++/Makefile.in: Regenerate.
423 2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
425         * testsuite/27_io/ios_base_storage.cc (test02): Set exception
426         mask.  Test setting small-numbered pword and iword slots.  Test
427         behavior at limit of numeric_limits::max.  Check that values are
428         still good after failures.
430 2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
432         * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
433         (ios_base::ios_base): Set _M_word, _M_word_size.
434         (ios_base::~ios_base): Remove redundant test.
435         * testsuite/27_io/ios_base_storage.cc (test03): New.
437 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
439         * src/strstream.cc, include/bits/basic_string.tcc: Remove
440         incorrect whitespace added in my previous change.
442 2003-03-05  Carlo Wood  <carlo@alinoe.com>
444         * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
445         _S_initialized() in order to allow debugging libraries to detect
446         when the std streams are initialized from an overloaded operator
447         new.
449 2003-03-05  Benjamin Kosnik  <bkoz@redhat.com>
451         * libsupc++/demangle.h: Move to..
452         * include/bits/demangle.h: ...here.
453         * src/demangle.cc: Adjust include.
454         * include/Makefile.am (bits_headers): Add.
455         * include/Makefile.in: Regenerate.
456         
457 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>  
459         * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
461         * config/linker-map.gnu: Filter typeinfo and vtable info.
463 2003-03-04  Jerry Quinn  <jlquinn@optonline.net>
465         * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
466         new failure.  Throw exception if badbit and exception mask when ix
467         >= numeric_limits<int>::max().
469 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
471         * src/strstream.cc (strstreambuf::overflow): Make sure operands of
472         min and max have the same type.
473         * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
475 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
477         * include/Makefile.am (allstamps): Remove stamp-std-precompile.
478         * include/Makefile.in: Regenerate.
480 2003-03-03  Benjamin Kosnik  <bkoz@redhat.com>
482         * testsuite/abi_check.cc (report_symbol_info): Add version info.
484         * config/linker-map.gnu: Hide more stuff.
485         * include/Makefile.am: Cleanups.
486         * include/Makefile.in: Regenerate.
487         
488 2003-02-27  Jerry Quinn  <jlquinn@optonline.net>
490         * config/locale/generic/messages_members.h (messages::messages):
491         Remove name from unused parameter.
493 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
495         * src/Makefile.am (sources): Add demangle.cc.
496         (demangle.o): Add.
497         (demangle.lo): Add.     
498         * src/Makefile.in: Regenerate.
499         * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
500         * libsupc++/Makefile.in: Regenerate.
502         * testsuite/testsuite_hooks.h
503         (__gnu_cxx_test::verify_demangle): New.
504         * testsuite/testsuite_hooks.cc: Define.
505         
506 2003-02-27  Carlo Wood  <carlo@alinoe.com>
508         * src/demangle.cc: New.
509         * libsupc++/demangle.h: New.
511 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
512             Carlo Wood  <carlo@alinoe.com>
514         * testsuite/demangle/abi_examples/01.cc: New.
515         * testsuite/demangle/abi_examples/02.cc: New.
516         * testsuite/demangle/abi_examples/03.cc: New.
517         * testsuite/demangle/abi_examples/04.cc: New.
518         * testsuite/demangle/abi_examples/05.cc: New.
519         * testsuite/demangle/abi_examples/06.cc: New.
520         * testsuite/demangle/abi_examples/07.cc: New.
521         * testsuite/demangle/abi_examples/08.cc: New.
522         * testsuite/demangle/abi_examples/09.cc: New.
523         * testsuite/demangle/abi_examples/10.cc: New.
524         * testsuite/demangle/abi_examples/11.cc: New.
525         * testsuite/demangle/abi_examples/12.cc: New.
526         * testsuite/demangle/abi_examples/13.cc: New.
527         * testsuite/demangle/abi_examples/14.cc: New.
528         * testsuite/demangle/abi_examples/15.cc: New.
529         * testsuite/demangle/abi_examples/16.cc: New.
530         * testsuite/demangle/abi_examples/17.cc: New.
531         * testsuite/demangle/abi_examples/18.cc: New.
532         * testsuite/demangle/abi_examples/19.cc: New.
533         * testsuite/demangle/abi_examples/20.cc: New.
534         * testsuite/demangle/abi_examples/21.cc: New.
535         * testsuite/demangle/abi_examples/22.cc: New.
536         * testsuite/demangle/abi_examples/23.cc: New.
537         * testsuite/demangle/abi_examples/24.cc: New.
538         * testsuite/demangle/abi_examples/25.cc: New.
539         * testsuite/demangle/abi_examples/26.cc: New.
540         * testsuite/demangle/abi_text/01.cc: New.
541         * testsuite/demangle/abi_text/02.cc: New.
542         * testsuite/demangle/abi_text/03.cc: New.
543         * testsuite/demangle/abi_text/04.cc: New.
544         * testsuite/demangle/abi_text/05.cc: New.
545         * testsuite/demangle/abi_text/06.cc: New.
546         * testsuite/demangle/abi_text/07.cc: New.
547         * testsuite/demangle/abi_text/08.cc: New.
548         * testsuite/demangle/abi_text/09.cc: New.
549         * testsuite/demangle/abi_text/10.cc: New.
550         * testsuite/demangle/abi_text/11.cc: New.
551         * testsuite/demangle/abi_text/12.cc: New.
552         * testsuite/demangle/abi_text/13.cc: New.
553         * testsuite/demangle/abi_text/14.cc: New.
554         * testsuite/demangle/regression/3111-1.cc: New.
555         * testsuite/demangle/regression/3111-2.cc: New.
556         * testsuite/demangle/regression/7986-01.cc: New.
557         * testsuite/demangle/regression/7986-02.cc: New.
558         * testsuite/demangle/regression/7986-03.cc: New.
559         * testsuite/demangle/regression/7986-04.cc: New.
560         * testsuite/demangle/regression/7986-05.cc: New.
561         * testsuite/demangle/regression/7986-06.cc: New.
562         * testsuite/demangle/regression/7986-07.cc: New.
563         * testsuite/demangle/regression/7986-08.cc: New.
564         * testsuite/demangle/regression/7986-09.cc: New.
565         * testsuite/demangle/regression/7986-10.cc: New.
566         * testsuite/demangle/regression/7986-11.cc: New.
567         * testsuite/demangle/regression/7986-12.cc: New.
568         * testsuite/demangle/regression/7986.cc: New.
569         * testsuite/demangle/regression/8897.cc: New.
570         * testsuite/demangle/regression/cw-01.cc: New.
571         * testsuite/demangle/regression/cw-02.cc: New.
572         * testsuite/demangle/regression/cw-03.cc: New.
573         * testsuite/demangle/regression/cw-04.cc: New.
574         * testsuite/demangle/regression/cw-05.cc: New.
575         * testsuite/demangle/regression/cw-06.cc: New.
576         * testsuite/demangle/regression/cw-07.cc: New.
577         * testsuite/demangle/regression/cw-08.cc: New.
578         * testsuite/demangle/regression/cw-09.cc: New.
579         * testsuite/demangle/regression/cw-10.cc: New.
580         * testsuite/demangle/regression/cw-11.cc: New.
581         * testsuite/demangle/regression/cw-12.cc: New.
582         * testsuite/demangle/regression/cw-13.cc: New.
583         * testsuite/demangle/regression/cw-14.cc: New.
584         * testsuite/demangle/regression/old.cc: New.
586 2003-02-25  Phil Edwards  <pme@gcc.gnu.org>
588         * docs/doxygen/Intro.3:  Update with new (proper) names.
589         * docs/doxygen/TODO:  Update.
590         * docs/doxygen/run_doxygen:  More comments, fix up man pages.
591         Fake entries for standard typedefs.
592         * docs/doxygen/user.cfg.in:  Turn INLINE_INHERITED_MEMB back on.
593         * docs/html/documentation.html:  Top-level man page is now called
594         C++Intro.
595         * include/std/std_limits.h:  Doxygenate.
597 2003-02-25  Scott Snyder  <snyder@fnal.gov>
599         PR libstdc++/9811
600         * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
601         Correct documentation.
602         * include/bits/stl_multimap.h (lower_bound, upper_bound,
603         equal_range): Likewise.
605 2003-02-24  Paolo Carlini  <pcarlini@unitus.it>
607         PR libstdc++/9825
608         * src/fstream.cc
609         (basic_filebuf<char/wchar_t>::_M_underflow_common): When
610         __bump is true (uflow), always increment the read pointer
611         (_M_in_cur) before returning successfully.
612         * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
614 2003-02-24  Paolo Carlini <pcarlini@unitus.it>
615             Nathan Myers <ncm@cantrip.org>
617         PR libstdc++/9404, PR libstdc++/9701 (partial)
618         (aka pptr == epptr implies overflow)
619         * include/bits/fstream.tcc (_M_allocate_internal_buffer):
620         Consistently, _M_out_end points to the end of the buffer just
621         created.
622         (overflow): Tweak to use _M_out_buf_size().
623         (_M_convert_to_external): The role of the old _M_out_end is
624         now played by _M_out_lim.
625         (_M_really_overflow): Likewise.
626         (seekoff): Likewise.
627         (setbuf): _M_out_end points to the end of the external buffer.
628         * include/bits/sstream.tcc (overflow): Rewrote, taking into
629         account the resolution of DR 169 (TC).
630         (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
631         (seekpos): Use _M_string.capacity(); tweak.
632         * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
633         * include/std/std_fstream.h (sync): The role of the old
634         _M_out_end is now played by _M_out_lim.
635         (_M_set_indeterminate): Use _M_set_determinate.
636         (_M_set_determinate): _M_out_end is now _M_out_lim.
637         (_M_is_indeterminate): Likewise.
638         * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
639         (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
640         which have the information readily available as _M_string.capacity();
641         for ate and app modes, pass the string size to _M_really_sync.
642         (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
643         point to the end of the buffer (i.e., epptr) and to the string end,
644         respectively.
645         * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
646         which points to the right limit of the used put area.
647         (_M_out_cur_move): The role of the old _M_out_end is now played
648         by _M_out_lim.
649         (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
650         _M_out_end  - _M_out_cur (i.e., pptr), _very_ close to the letter
651         of the standard.
652         (basic_streambuf()): Initialize _M_out_lim too.
653         * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
654         * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
655         * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
657 2003-02-24  Benjamin Kosnik  <bkoz@redhat.com>
659         * testsuite/27_io/ios_base_storage.cc (main): Call
660         set_memory_limits.
662 2003-02-21  Jerry Quinn  <jlquinn@optonline.net>
664         * include/bits/locale_facets.tcc (_M_convert_float): Replace
665         numpunct facet accesses with data from __locale_cache.
667 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
669         * docs/html/faq/index.html (3.9):  New note, wchar_t on FreeBSD.
670         * docs/html/faq/index.txt:  Regenerate.
672 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
674         * config/linker-map.gnu:  Also export locking symbols needed for the
675         generic atomicity.h case.
677 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
679         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
680         config.status.
681         * configure: Rebuilt.
683 2003-02-19  Paolo Carlini  <pcarlini@unitus.it>
685         * include/bits/sstream.tcc (overflow): According to
686         27.7.1.3, p5, actual output is performed by sputc(c).
688 2003-02-19  Phil Edwards  <pme@gcc.gnu.org>
690         PR libstdc++/9582
691         * include/bits/stl_alloc.h:  Remove all traces of assert().
693 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
695         * include/std/std_sstream.h (str()): the size of the
696         current string may be different from the initial one
697         whenever _M_out_end > _M_out_beg.
698         * testsuite/27_io/stringbuf_members.cc (test07): Add.
700 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
702         PR libstdc++/9582
703         * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
705 2003-02-17  Benjamin Kosnik  <bkoz@redhat.com>
707         * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
708         * testsuite/27_io/ios_members.cc (test03): New.
710 2003-02-17  Jerry Quinn  <jlquinn@optonline.net>
712         * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
713         (basic_ios::_M_cache_facets): Move into above.
714         * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
715         cache.
716         (basic_ios::imbue): Force locale cache to be built.
717         (basic_ios::_M_init): Create and initialize locale cache.
718         * include/bits/ios_base.h (__locale_cache_base): Declare.
719         (ios_base::_M_locale_cache): New.
720         (ios_base::_M_cache): Define.
721         * include/bits/locale_facets.h: (__num_base): Fix comment.  Add
722         _S_end.
723         (__locale_cache_base,__locale_cache<_CharT>):  New classes.
724         (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
725         * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
726         cache literal string, grouping flag, thousands separator.
727         (__locale_cache<_CharT>::__locale_cache): New.
728         (__locale_cache<_CharT>::_M_init): New.
729         * src/ios.cc: Clear _M_locale_cache in constructor.
730         * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
731         New.
733 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
735         * src/locale-inst.cc: Do not include <cassert>.
736         * src/locale.cc: Likewise.
738 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
740         PR libstdc++/9580
741         * include/std/std_fstream.h: Declare underflow and uflow
742         specializations, change generic definitions to do nothing.
743         * src/fstream.cc: Add underflow and uflow specializations.
745 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
747         PR libstdc++/9169
748         * include/bits/fstream.tcc (_M_convert_to_external):
749         Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
750         * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
752 2003-02-13  Benjamin Kosnik  <bkoz@redhat.com>
754         * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
755         * include/bits/basic_ios.tcc: Guard use of extern template.
756         * include/std/std_iomanip.h: Same.
757         * include/bits/streambuf.tcc: Same.
758         * include/bits/stl_alloc.h: Same.
759         * include/bits/locale_facets.tcc: Same.
760         * include/bits/ostream.tcc: Same.
761         * include/bits/istream.tcc: Same.
762         * include/bits/fstream.tcc: Same.
763         * include/bits/basic_string.tcc: Same.
765 2003-02-13  Paolo Carlini  <pcarlini@unitus.it>
767         * include/bits/ostream.tcc (sentry::sentry): Improve
768         performance-wise the fix for libstdc++/9563.
770 2003-02-12  Phil Edwards  <pme@gcc.gnu.org>
772         * config/cpu/generic/atomicity.h (_Atomic_add_mutex):  Fix declaration.
773         (_GLIBCPP_NEED_GENERIC_MUTEX):  Define for this file.
774         (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once):  Declare
775         when we don't have static mutex initialization.
776         (__exchange_and_add):  Use _Atomic_add_mutex_once.
777         * src/misc-inst.cc:  Definitions of all the above.
779 2003-02-12  Paolo Carlini  <pcarlini@unitus.it>
781         PR libstdc++/9563
782         * include/bits/ostream.tcc (sentry::sentry): Check
783         the state of the stream after the preparation.
784         * testsuite/27_io/ostream_sentry.cc (test02): Add.
786 2003-02-11  Benjamin Kosnik  <bkoz@redhat.com>
788         * include/Makefile.am (stamp-std-precompile): Add rule.
789         * include/Makefile.in: Regenerated.
790         
791 2003-02-11 Jerry Quinn  <jlquinn@optonline.net>
792            Benjamin Kosnik  <benjamin@redhat.com>
793         
794         * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
795         Add indexes into this array.
796         (__num_base::_S_atoms): To _S_atoms_in.
797         (num_put::_M_insert): Rename to _M_pad.
798         (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
799         (num_put::_M_widen_int): Rename to _M_group_int.
800         (num_put::_M_widen_float): Rename to _M_group_float.    
801         * include/bits/locale_facets.tcc (__int_to_char): New inline
802         function and adapter functions.
803         (num_put::_M_group_int): Streamline.
804         (num_put::_M_group_float): Streamline.  
805         (num_put::_M_convert_int): Remove unused parameter names. Choose
806         large enough buffer for text.  Use __int_to_char instead of
807         __convert_from_v.  Formatted text is now at the end of the buffer.
808         (num_put::_M_convert_float): Preliminary fixups.
809         * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
810         (__int_to_char<unsigned long long>): Same.
811         (__int_to_char<char, unsigned long>): New.
812         (__int_to_char<char, unsigned long long>): New.
813         (__int_to_char<wchar_t, unsigned long>): New.
814         (__int_to_char<wchar_t, unsigned long long>): New.
815         
816 2003-02-11  Scott Snyder  <snyder@fnal.gov>
818         PR libstdc++/9659
819         * include/bits/fstream.tcc (seekoff): Avoid operator+
820         for pos_type.
822 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
824         PR libstdc++/9320
825         * include/ext/stdio_filebuf.h
826         (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
827         stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
828         Change to take a __size parameter of type size_t, not
829         of type (template parameter dependent) int_type.
830         * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
831         size vars to size_t.
832         * testsuite/ext/stdio_filebuf.cc: Add.
834 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
835             Petur Runolfsson  <peturr02@ru.is>
837         PR libstdc++/9318
838         * include/bits/streambuf.tcc (__copy_streambufs):
839         Don't conditionalize the copy to __testput.
840         * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
842 2002-02-11  DJ Delorie  <dj@redhat.com>
844         * acinclude.m4: Check for native targets that can't link at
845         this point in the build.
846         * aclocal.m4: Regenerate.
847         * configure: Regenerate.
849 2003-02-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
851         * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
852         Correct alignment.
853         (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
854         lock.
856 2003-02-07  Paolo Carlini  <pcarlini@unitus.it>
858         * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
859         unsigned char platforms.
861 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
863         PR libstdc++/9562
864         * include/std/std_istream.h
865         (basic_istream::sentry::operator bool()): Make const.
866         * include/std/std_ostream.h
867         (basic_ostream::sentry::operator bool()): Likewise.
868         * testsuite/27_io/istream_sentry.cc (test03): Add.
869         * testsuite/27_io/ostream_sentry.cc: Add.
871 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
873         PR libstdc++/9548
874         Implement resolution of DR 231 (Ready)
875         * include/bits/locale_facets.h (__num_base::_S_format_float):
876         Change declaration: return void, remove __prec parameter.
877         * src/locale.cc (__num_base::_S_format_float): Implement
878         resolution of DR 231.
879         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
880         Tweak uses. Check for negative precision.
881         * testsuite/22_locale/num_put/put/char/6.cc: Add
882         * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
884 2003-02-06  Peter Soetens  <peter.soetens@mech.kuleuven.ac.be>
886         * config/io/basic_file_libio.h: Fixups.
887         * config/io/c_io_libio.h: Same.
888         * libio/Makefile.am: Same.
889         * libio/Makefile.in: Regenerated.
890         
891 2003-02-06  Benjamin Kosnik  <bkoz@redhat.com>
893         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
894         Explicitly use the "C" locale.
895         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
896         
897 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
899         DR 75
900         DR 305
901         PR libstdc++/9028 (partial)
902         PR libstdc++/9224
903         PR libstdc++/9246
904         PR libstdc++/9247
906         * src/codecvt.cc
907         (codecvt<wchar_t, char, mbstate_t>::do_encoding,
908         codecvt<wchar_t, char, mbstate_t>::do_length,
909         codecvt<wchar_t, char, mbstate_t>::do_max_length):
910         Move...
911         * config/locale/generic/codecvt_members.cc:  ...here.
912         * config/locale/gnu/codecvt_members.cc:  ...and here.
914         * config/locale/generic/codecvt_members.cc,
915         * config/locale/gnu/codecvt_members.cc
916         (codecvt<wchar_t, char, mbstate_t>::do_encoding
917         codecvt<wchar_t, char, mbstate_t>::do_in,
918         codecvt<wchar_t, char, mbstate_t>::do_length,
919         codecvt<wchar_t, char, mbstate_t>::do_max_length,
920         codecvt<wchar_t, char, mbstate_t>::do_out):
921         New implementation that handles stateless encodings,
922         including UTF-8.
924         * config/locale/generic/codecvt_members.cc,
925         * config/locale/gnu/codecvt_members.cc,
926         * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
927         * include/bits/codecvt.h,
928         * src/codecvt.cc
929         (codecvt::length, codecvt::do_length):
930         Change type of first argument of length and do_length from
931         'const state_type&' to 'state_type&' according to DR 75.
933         * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc:  Cleanup.
934         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc:  New test.
935         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc:  New test.
936         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc:  New test.
937         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
938         Cleanup and check for correct return value from encoding
939         for "C" locale.
940         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc:  New test.
941         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc:  New test.
942         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc:  New test.
943         * testsuite/22_locale/codecvt/in/wchar_t/1.cc:  Cleanup.
944         * testsuite/22_locale/codecvt/in/wchar_t/2.cc:  New test.
945         * testsuite/22_locale/codecvt/in/wchar_t/3.cc:  New test.
946         * testsuite/22_locale/codecvt/in/wchar_t/4.cc:  New test.
947         * testsuite/22_locale/codecvt/in/wchar_t/5.cc:  New test.
948         * testsuite/22_locale/codecvt/in/wchar_t/6.cc:  New test.
949         * testsuite/22_locale/codecvt/in/wchar_t/7.cc:  New test.
950         * testsuite/22_locale/codecvt/in/wchar_t/8.cc:  New test.
951         * testsuite/22_locale/codecvt/in/wchar_t/9.cc:  New test.
952         * testsuite/22_locale/codecvt/length/char/1.cc:  Cleanup.
953         * testsuite/22_locale/codecvt/length/char/2.cc:  New test.
954         * testsuite/22_locale/codecvt/length/wchar_t/1.cc:  Cleanup.
955         * testsuite/22_locale/codecvt/length/wchar_t/2.cc:  New test.
956         * testsuite/22_locale/codecvt/length/wchar_t/3.cc:  New test.
957         * testsuite/22_locale/codecvt/length/wchar_t/4.cc:  New test.
958         * testsuite/22_locale/codecvt/length/wchar_t/5.cc:  New test.
959         * testsuite/22_locale/codecvt/length/wchar_t/6.cc:  New test.
960         * testsuite/22_locale/codecvt/length/wchar_t/7.cc:  New test.
961         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc:  Cleanup.
962         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc:  New test.
963         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc:  New test.
964         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc:  New test.
965         * testsuite/22_locale/codecvt/out/wchar_t/1.cc:  Cleanup.
966         * testsuite/22_locale/codecvt/out/wchar_t/2.cc:  New test.
967         * testsuite/22_locale/codecvt/out/wchar_t/3.cc:  New test.
968         * testsuite/22_locale/codecvt/out/wchar_t/4.cc:  New test.
969         * testsuite/22_locale/codecvt/out/wchar_t/5.cc:  New test.
970         * testsuite/22_locale/codecvt/out/wchar_t/6.cc:  New test.
971         * testsuite/22_locale/codecvt/out/wchar_t/7.cc:  New test.
972         * testsuite/22_locale/codecvt/unicode/1.cc:  New test.
973         * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc:  Cleanup.
974         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc:  New test.
975         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc:  New test.
976         * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc:  New test.
978 2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
980         * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
981         (money_put::do_put): Same.
983 2003-02-05  Jerry Quinn  <jlquinn@optonline.net>
985         * include/bits/ios_base.h (ios_base): Document reserved storage.
987         * include/bits/locale_facets.h: (struct __pad): Comment on
988         implementation.
989         (__verify_grouping): Same.
990         (__add_grouping): Same.         
991         * include/bits/locale_facets.tcc (__verify_grouping): Move
992         comments to declaration.
993         (__add_grouping): Same.
994         
995         * include/bits/locale_facets.tcc: 
996         (__write<_CharT, _OutIter>): New function.
997         (__write<_CharT>): New function specialization.
998         (num_put::_M_insert): Remove explicit loop over iterator.  Use
999         __write.
1000         (num_put::_M_widen_float): Remove __basefield. 
1001         (num_put::_M_widen_int): Move __basefield to within grouping block.
1002         
1003         * include/bits/streambuf_iterator.h: Include <streambuf>.
1004         (ostreambuf_iterator::_M_put): Add.
1006 2003-02-05  Paolo Carlini  <pcarlini@unitus.it>
1008         * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
1010 2003-02-04  Nathan Myers  <ncm@cantrip.org>
1012         * testsuite/25_algorithms/min_max.cc (test02): Add.
1013             
1014 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
1015         
1016         PR libstdc++/9439, PR libstdc++/9425
1017         * config/io/basic_file_stdio.cc
1018         (__basic_file<char>::seekoff, seekpos): Return -1L if
1019         fseek fails.
1020         * include/bits/fstream.tcc (basic_filebuf::seekoff):
1021         Check _M_file.seekoff return value; always return
1022         pos_type(off_type(-1)) in case of failure.
1023         (basic_filebuf::pbackfail): Check this->seekoff return
1024         value and return traits_type::eof() in case of failure.  
1025         * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
1027 2003-02-04  Jerry Quinn  <jlquinn@optonline.net>
1029         * include/std/std_ostream.h (ostream::_M_write): Declare.       
1030         * ostream.tcc (ostream::_M_write): Define.
1031         (basic_ostream::write): Use it.
1032         (operator<<(basic_ostream, _CharT)): Ditto.
1033         (operator<<(basic_ostream, char)): Ditto.
1034         (operator<<(basic_ostream, _CharT*)): Ditto.
1035         (operator<<(basic_ostream, char*)): Ditto.
1036         (operator<<(basic_ostream, basic_string)): Ditto.
1038 2003-02-04  Benjamin Kosnik  <bkoz@redhat.com>
1040         * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
1042 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
1044         * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
1045         add HTML comment about updating links if numbering changes.
1047 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
1049         PR libstdc++/9538
1050         * include/bits/streambuf.tcc (sputbackc): Access
1051         this->gptr()[-1] only if _M_in_beg < _M_in_cur.
1052         * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1054 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
1056         PR libstdc++/9507
1057         * include/bits/fstream.tcc (open): If the 'ate' repositioning
1058         operation fails, calls close _and_ returns a null pointer
1059         to indicate failure (27.8.1.3,4).
1060         * testsuite/27_io/filebuf_members.cc (test_06): Add.
1062 2003-02-04  Petur Runolfsson  <peturr02@ru.is>
1064         * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
1066 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
1068         * docs/html/27_io/howto.html: New section on stdio_filebuf.
1069         * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
1070         * docs/html/documentation.html: Regenerate.
1072 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
1074         * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
1075         * docs/html/17_intro/porting.html: Regenerate.
1077 2003-02-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
1078             Phil Edwards  <pme@gcc.gnu.org>
1080         * include/std/std_bitset.h:  Replace CHAR_BIT with __CHAR_BIT__, use
1081         numeric_limits for bits-per-word values.
1082         (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
1083         Use __builtin_popcountl instead.
1084         (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
1085         _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
1086         Use __builtin_ctzl instead.
1087         (_S_bit_count, _S_first_one):  Remove.
1088         * config/linker-map.gnu (GLIBCPP_3.4):  Remove std::_S_bit_count.
1089         * src/Makefile.am (sources):  Remove bitset.cc.
1090         * src/bitset.cc:  Delete file.
1091         * src/Makefile.in:  Regenerate.
1093 2003-02-03  Phil Edwards  <pme@gcc.gnu.org>
1095         PR libstdc++/9527, PR libstdc++/8713
1096         * docs/html/install.html:  Mention glibc version requirement.
1097         * docs/html/faq/index.html (3.8):  New note, glibc 2.2.5+ is needed
1098         with 3.2.1+ (formatting bugfixes).
1099         * docs/html/faq/index.txt:  Regenerate.
1101 2003-02-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
1103         PR libstdc++/9234
1104         * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
1105         operator.
1107         * include/bits/valarray_before.h (__not_equal_to): Use != instead
1108         of ==.
1110         * testsuite/26_numerics/valarray_operators.cc: New test.
1112 2003-02-01  Phil Edwards  <pme@gcc.gnu.org>
1114         * docs/html/faq/index.html:  Correct link to libg++ information.
1115         * docs/html/faq/index.txt:  Regenerated.
1117 2003-02-01  Paolo Carlini  <pcarlini@unitus.it>
1118             Benjamin Kosnik  <bkoz@redhat.com>
1120         Const correctness issue:
1121         http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
1122         * include/bits/locale_classes.h
1123         (locale::_Impl::_M_facets): Change type to const facet**.
1124         (locale::_Impl::_M_install_facet): Change declaration to
1125         take const facet*.
1126         (locale::facet::_M_references): Make mutable.
1127         (locale::facet::_M_add_reference): Declare const.
1128         (locale::facet::_M_remove_reference): Likewise.
1129         * include/bits/locale_facets.tcc
1130         (use_facet(const locale&)): Tweak for const facet** _M_facets.
1131         (has_facet(const locale&)): Likewise.
1132         * src/locale.cc
1133         (locale::facet::_M_add_reference): Adjust definition.
1134         (locale::facet::_M_remove_reference): Likewise.
1135         * src/localename.cc
1136         (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
1137         const facet** _M_facets.
1138         (locale::_Impl::_Impl(const char*, size_t)): Likewise.
1139         (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
1140         (locale::_Impl::_M_install_facet): Adjust definition to take
1141         const facet* and for const facet** _M_facets.
1142         * testsuite/22_locale/locale/cons/8.cc: Add.
1144 2003-01-29  Mark Mitchell  <mark@codesourcery.com>
1146         * include/std/std_limits.h (numeric_limits<float>::has_infinity):
1147         Use __FLT_HAS_INIFINITY__ to initialize.
1148         (numeric_limits<float>::has_quiet_NaN): Likewise.
1149         (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
1150         to initialize.
1151         (numeric_limits<double>::has_quiet_NaN): Likewise.
1152         (numeric_limits<long double>::has_infinity): Use
1153         __LDBL_HAS_INIFINITY__ to initialize.
1154         (numeric_limits<long_double>::has_quiet_NaN): Likewise.
1156 2003-01-28  Nathan Sidwell  <nathan@codesourcery.com>
1158         PR c++/9433
1159         * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
1160         with bases which are very ambiguous.
1162 2003-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
1164         * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
1165         @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
1166         * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
1167         * src/Makefile.in: Regenerate.
1168         * libsupc++/Makefile.in: Regenerate.
1170 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
1172         * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
1173         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1174         version_specific_libs is enabled.
1175         * aclocal.m4, configure: Rebuilt.
1177 2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
1179         * include/bits/valarray_meta.h: Remove, split into ...
1180         * include/bits/valarray_before.h: ... this, and ...
1181         * include/bits/valarray_after.h: ... this.
1182         * include/std/std_valarray.h: Adjust.
1183         * include/Makefile.am (bits_headers): Adjust.
1184         * include/Makefile.in: Regenerate.
1186 2003-01-24  Andreas Schwab  <schwab@suse.de>
1188         * config/linker-map.gnu: Fix for size_t variance.
1190 2003-01-23  Petur Runolfsson  <peturr02@ru.is>
1192         PR libstdc++/9322
1193         * include/std/std_streambuf.h
1194         (basic_streambuf::basic_streambuf,
1195         basic_streambuf::~basic_streambuf,
1196         basic_streambuf::getloc, basic_streambuf::imbue):
1197         Remove _M_buf_locale_init
1198         * include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
1199         * testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
1200         * testsuite/27_io/streambuf_members.cc (test08):  Add.
1201         * testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.
1203 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1205         Revert include ordering.
1206         * config/locale/generic/c_locale.h: Add include guards.
1207         * config/locale/gnu/c_locale.h: Same.
1208         * include/bits/locale_classes.h: Remove cctype include.
1209         * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
1210         * include/std/std_fstream.h: Remove streambuf include.
1211         * include/std/std_sstream.h: Remove streambuf include.
1212         
1213 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1215         * configure.in (libtool_VERSION): To 6:0:0.
1216         * configure: Regenerated.
1217         * config/linker-map.gnu: Clean.
1218         
1219         * src/misc-inst.cc: Remove instantiations.
1221         * include/bits/stl_alloc.h (__malloc_alloc_template): 
1222         To __malloc_alloc.
1223         (__default_alloc_template): To __pool_alloc.
1224         * src/stl-inst.cc: Same.
1225         * include/backward/alloc.h: Update.
1226         * testsuite/ext/allocators.cc: Update.
1227         
1228         * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
1229         really try to remove these if possible.
1230         * src/locale.cc (std): Same.
1232         * testsuite/abi_check.cc (check_version): Add.
1234 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1235             Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
1236             Mark Mitchell  <mark@codesourcery.com>
1237         
1238         PR libstdc++/9269
1239         * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
1240         (basic_filebuf::underflow): Declare.
1241         Move definitions.
1243 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1245         * include/bits/locale_facets.h: Move non-facet classes requiring
1246         <string> to...  
1247         * include/bits/locale_classes.h: New.  
1248         * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
1249         * include/bits/Makefile.in: Regenerate.
1251         * include/bits/locale_facets.tcc (__convert_from_v): Move to...
1252         * config/locale/gnu/c_locale.h: ...here.
1253         * config/locale/generic/c_locale.h: Same.
1254         
1255         * include/bits/locale_facets.tcc: Move declarations to...
1256         * include/bits/locale_facets.h: ...here.
1257         * include/bits/basic_ios.h: Tweak includes accordingly.
1258         * include/std/std_sstream.h: Add streambuf include.
1259         * include/std/std_fstream.h: Ditto.
1260         * include/std/std_locale.h: Add locale_classes.h include.
1261         * include/std/std_iosfwd.h: Tweak.
1262         * src/concept-inst.cc: Add iterator include.
1264         * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
1265         bits as unexported in the future.
1266         
1267 2003-01-21  Benjamin Kosnik  <bkoz@redhat.com>
1269         Reshuffle 22_locale testsuite.
1270         * 22_locale/(codecvt.cc money_get.cc
1271         codecvt_members_char_char.cc money_get_members_char.cc
1272         codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
1273         codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
1274         codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
1275         moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
1276         collate_members_char.cc money_put.cc collate_members_wchar_t.cc
1277         money_put_members_char.cc ctor_copy_dtor.cc
1278         money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
1279         num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
1280         ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
1281         numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
1282         ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
1283         num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
1284         ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
1285         operators.cc ctype_widen_char.cc static_members.cc
1286         ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
1287         global_templates.cc time_get_members_wchar_t.cc, members.cc,
1288         time_put.cc, messages_byname.cc, time_put_members_char.cc,
1289         messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc): 
1290         Split up into individual test cases...  
1291         * 22_locale/codecvt/1.cc: New.
1292         * 22_locale/codecvt/2.cc: New.
1293         * 22_locale/codecvt/always_noconv/char/1.cc: New.
1294         * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
1295         * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
1296         * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
1297         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
1298         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
1299         * 22_locale/codecvt/encoding/char/1.cc: New.
1300         * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
1301         * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
1302         * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
1303         * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
1304         * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
1305         * 22_locale/codecvt/in/char/1.cc: New.
1306         * 22_locale/codecvt/in/char/wrapped_env.cc: New.
1307         * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
1308         * 22_locale/codecvt/in/wchar_t/1.cc: New.
1309         * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
1310         * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
1311         * 22_locale/codecvt/length/char/1.cc: New.
1312         * 22_locale/codecvt/length/char/wrapped_env.cc: New.
1313         * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
1314         * 22_locale/codecvt/length/wchar_t/1.cc: New.
1315         * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
1316         * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
1317         * 22_locale/codecvt/max_length/char/1.cc: New.
1318         * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
1319         * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
1320         * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
1321         * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
1322         * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
1323         * 22_locale/codecvt/out/char/1.cc: New.
1324         * 22_locale/codecvt/out/char/wrapped_env.cc: New.
1325         * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
1326         * 22_locale/codecvt/out/wchar_t/1.cc: New.
1327         * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
1328         * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
1329         * 22_locale/codecvt/unicode/char.cc: New.
1330         * 22_locale/codecvt/unicode/wchar_t.cc: New.
1331         * 22_locale/codecvt/unshift/char/1.cc: New.
1332         * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
1333         * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
1334         * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
1335         * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
1336         * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
1337         * 22_locale/collate/1.cc: New.
1338         * 22_locale/collate/2.cc: New.
1339         * 22_locale/collate/compare/char/1.cc: New.
1340         * 22_locale/collate/compare/char/2.cc: New.
1341         * 22_locale/collate/compare/char/wrapped_env.cc: New.
1342         * 22_locale/collate/compare/char/wrapped_locale.cc: New.
1343         * 22_locale/collate/compare/wchar_t/1.cc: New.
1344         * 22_locale/collate/compare/wchar_t/2.cc: New.
1345         * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
1346         * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
1347         * 22_locale/collate/hash/char/1.cc: New.
1348         * 22_locale/collate/hash/char/2.cc: New.
1349         * 22_locale/collate/hash/char/wrapped_env.cc: New.
1350         * 22_locale/collate/hash/char/wrapped_locale.cc: New.
1351         * 22_locale/collate/hash/wchar_t/1.cc: New.
1352         * 22_locale/collate/hash/wchar_t/2.cc: New.
1353         * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
1354         * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
1355         * 22_locale/collate/transform/char/2.cc: New.
1356         * 22_locale/collate/transform/char/wrapped_env.cc: New.
1357         * 22_locale/collate/transform/char/wrapped_locale.cc: New.
1358         * 22_locale/collate/transform/wchar_t/2.cc: New.
1359         * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
1360         * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
1361         * 22_locale/collate_byname/1.cc: New.
1362         * 22_locale/ctype/1.cc: New.
1363         * 22_locale/ctype/2.cc: New.
1364         * 22_locale/ctype/cons/char/1.cc: New.
1365         * 22_locale/ctype/cons/char/wrapped_env.cc: New.
1366         * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
1367         * 22_locale/ctype/is/char/1.cc: New.
1368         * 22_locale/ctype/is/char/2.cc: New.
1369         * 22_locale/ctype/is/char/3.cc: New.
1370         * 22_locale/ctype/is/char/wrapped_env.cc: New.
1371         * 22_locale/ctype/is/char/wrapped_locale.cc: New.
1372         * 22_locale/ctype/is/wchar_t/1.cc: New.
1373         * 22_locale/ctype/is/wchar_t/2.cc: New.
1374         * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
1375         * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
1376         * 22_locale/ctype/narrow/char/1.cc: New.
1377         * 22_locale/ctype/narrow/char/2.cc: New.
1378         * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
1379         * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
1380         * 22_locale/ctype/narrow/wchar_t/1.cc: New.
1381         * 22_locale/ctype/narrow/wchar_t/2.cc: New.
1382         * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
1383         * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
1384         * 22_locale/ctype/scan/char/1.cc: New.
1385         * 22_locale/ctype/scan/char/wrapped_env.cc: New.
1386         * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
1387         * 22_locale/ctype/scan/wchar_t/1.cc: New.
1388         * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
1389         * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
1390         * 22_locale/ctype/to/char/1.cc: New.
1391         * 22_locale/ctype/to/char/wrapped_env.cc: New.
1392         * 22_locale/ctype/to/char/wrapped_locale.cc: New.
1393         * 22_locale/ctype/to/wchar_t/1.cc: New.
1394         * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
1395         * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
1396         * 22_locale/ctype/widen/char/1.cc: New.
1397         * 22_locale/ctype/widen/char/wrapped_env.cc: New.
1398         * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
1399         * 22_locale/ctype/widen/wchar_t/1.cc: New.
1400         * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
1401         * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
1402         * 22_locale/facet/1.cc: New.
1403         * 22_locale/facet/2.cc: New.
1404         * 22_locale/global_templates/1.cc: New.
1405         * 22_locale/locale/cons/1.cc: New.
1406         * 22_locale/locale/cons/2.cc: New.
1407         * 22_locale/locale/cons/3.cc: New.
1408         * 22_locale/locale/cons/4.cc: New.
1409         * 22_locale/locale/cons/5.cc: New.
1410         * 22_locale/locale/cons/6.cc: New.
1411         * 22_locale/locale/cons/7.cc: New.
1412         * 22_locale/locale/global_locale_objects/1.cc: New.
1413         * 22_locale/locale/global_locale_objects/2.cc: New.
1414         * 22_locale/locale/global_locale_objects/3.cc: New.
1415         * 22_locale/locale/operations/1.cc: New.
1416         * 22_locale/locale/operations/2.cc: New.
1417         * 22_locale/messages/1.cc: New.
1418         * 22_locale/messages/2.cc: New.
1419         * 22_locale/messages/members/char/1.cc: New.
1420         * 22_locale/messages/members/char/2.cc: New.
1421         * 22_locale/messages/members/char/3.cc: New.
1422         * 22_locale/messages/members/char/wrapped_env.cc: New.
1423         * 22_locale/messages/members/char/wrapped_locale.cc: New.
1424         * 22_locale/messages_byname/1.cc: New.
1425         * 22_locale/money_get/1.cc: New.
1426         * 22_locale/money_get/2.cc: New.
1427         * 22_locale/money_get/get/char/1.cc: New.
1428         * 22_locale/money_get/get/char/2.cc: New.
1429         * 22_locale/money_get/get/char/3.cc: New.
1430         * 22_locale/money_get/get/char/4.cc: New.
1431         * 22_locale/money_get/get/char/5.cc: New.
1432         * 22_locale/money_get/get/char/6.cc: New.
1433         * 22_locale/money_get/get/char/7.cc: New.
1434         * 22_locale/money_get/get/char/8.cc: New.
1435         * 22_locale/money_get/get/char/wrapped_env.cc: New.
1436         * 22_locale/money_get/get/char/wrapped_locale.cc: New.
1437         * 22_locale/money_get/get/wchar_t/1.cc: New.
1438         * 22_locale/money_get/get/wchar_t/2.cc: New.
1439         * 22_locale/money_get/get/wchar_t/3.cc: New.
1440         * 22_locale/money_get/get/wchar_t/4.cc: New.
1441         * 22_locale/money_get/get/wchar_t/5.cc: New.
1442         * 22_locale/money_get/get/wchar_t/6.cc: New.
1443         * 22_locale/money_get/get/wchar_t/7.cc: New.
1444         * 22_locale/money_get/get/wchar_t/8.cc: New.
1445         * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
1446         * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
1447         * 22_locale/money_put/1.cc: New.
1448         * 22_locale/money_put/2.cc: New.
1449         * 22_locale/money_put/put/char/1.cc: New.
1450         * 22_locale/money_put/put/char/2.cc: New.
1451         * 22_locale/money_put/put/char/3.cc: New.
1452         * 22_locale/money_put/put/char/4.cc: New.
1453         * 22_locale/money_put/put/char/5.cc: New.
1454         * 22_locale/money_put/put/char/6.cc: New.
1455         * 22_locale/money_put/put/char/wrapped_env.cc: New.
1456         * 22_locale/money_put/put/char/wrapped_locale.cc: New.
1457         * 22_locale/money_put/put/wchar_t/1.cc: New.
1458         * 22_locale/money_put/put/wchar_t/2.cc: New.
1459         * 22_locale/money_put/put/wchar_t/3.cc: New.
1460         * 22_locale/money_put/put/wchar_t/4.cc: New.
1461         * 22_locale/money_put/put/wchar_t/5.cc: New.
1462         * 22_locale/money_put/put/wchar_t/6.cc: New.
1463         * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
1464         * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
1465         * 22_locale/moneypunct/1.cc: New.
1466         * 22_locale/moneypunct/2.cc: New.
1467         * 22_locale/moneypunct/3.cc: New.
1468         * 22_locale/moneypunct/members/char/1.cc: New.
1469         * 22_locale/moneypunct/members/char/2.cc: New.
1470         * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
1471         * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
1472         * 22_locale/moneypunct/members/wchar_t/1.cc: New.
1473         * 22_locale/moneypunct/members/wchar_t/2.cc: New.
1474         * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
1475         * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
1476         * 22_locale/moneypunct_byname/1.cc: New.
1477         * 22_locale/num_get/1.cc: New.
1478         * 22_locale/num_get/2.cc: New.
1479         * 22_locale/num_get/get/char/1.cc: New.
1480         * 22_locale/num_get/get/char/2.cc: New.
1481         * 22_locale/num_get/get/char/3.cc: New.
1482         * 22_locale/num_get/get/char/4.cc: New.
1483         * 22_locale/num_get/get/char/5.cc: New.
1484         * 22_locale/num_get/get/char/6.cc: New.
1485         * 22_locale/num_get/get/char/wrapped_env.cc: New.
1486         * 22_locale/num_get/get/char/wrapped_locale.cc: New.
1487         * 22_locale/num_get/get/wchar_t/1.cc: New.
1488         * 22_locale/num_get/get/wchar_t/2.cc: New.
1489         * 22_locale/num_get/get/wchar_t/3.cc: New.
1490         * 22_locale/num_get/get/wchar_t/4.cc: New.
1491         * 22_locale/num_get/get/wchar_t/5.cc: New.
1492         * 22_locale/num_get/get/wchar_t/6.cc: New.
1493         * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
1494         * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
1495         * 22_locale/num_put/1.cc: New.
1496         * 22_locale/num_put/2.cc: New.
1497         * 22_locale/num_put/put/char/1.cc: New.
1498         * 22_locale/num_put/put/char/2.cc: New.
1499         * 22_locale/num_put/put/char/3.cc: New.
1500         * 22_locale/num_put/put/char/4.cc: New.
1501         * 22_locale/num_put/put/char/5.cc: New.
1502         * 22_locale/num_put/put/char/wrapped_env.cc: New.
1503         * 22_locale/num_put/put/char/wrapped_locale.cc: New.
1504         * 22_locale/num_put/put/wchar_t/1.cc: New.
1505         * 22_locale/num_put/put/wchar_t/2.cc: New.
1506         * 22_locale/num_put/put/wchar_t/3.cc: New.
1507         * 22_locale/num_put/put/wchar_t/4.cc: New.
1508         * 22_locale/num_put/put/wchar_t/5.cc: New.
1509         * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
1510         * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
1511         * 22_locale/numpunct/1.cc: New.
1512         * 22_locale/numpunct/2.cc: New.
1513         * 22_locale/numpunct/members/char/1.cc: New.
1514         * 22_locale/numpunct/members/char/2.cc: New.
1515         * 22_locale/numpunct/members/char/wrapped_env.cc: New.
1516         * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
1517         * 22_locale/numpunct/members/wchar_t/1.cc: New.
1518         * 22_locale/numpunct/members/wchar_t/2.cc: New.
1519         * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
1520         * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
1521         * 22_locale/numpunct_byname/1.cc: New.
1522         * 22_locale/numpunct_byname/2.cc: New.
1523         * 22_locale/time_get/1.cc: New.
1524         * 22_locale/time_get/2.cc: New.
1525         * 22_locale/time_get/date_order/char/1.cc: New.
1526         * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
1527         * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
1528         * 22_locale/time_get/date_order/wchar_t/1.cc: New.
1529         * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
1530         * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
1531         * 22_locale/time_get/get_date/char/1.cc: New.
1532         * 22_locale/time_get/get_date/char/2.cc: New.
1533         * 22_locale/time_get/get_date/char/3.cc: New.
1534         * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
1535         * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
1536         * 22_locale/time_get/get_date/wchar_t/1.cc: New.
1537         * 22_locale/time_get/get_date/wchar_t/2.cc: New.
1538         * 22_locale/time_get/get_date/wchar_t/3.cc: New.
1539         * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
1540         * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
1541         * 22_locale/time_get/get_monthname/char/1.cc: New.
1542         * 22_locale/time_get/get_monthname/char/2.cc: New.
1543         * 22_locale/time_get/get_monthname/char/3.cc: New.
1544         * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
1545         * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
1546         * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
1547         * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
1548         * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
1549         * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
1550         * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
1551         * 22_locale/time_get/get_time/char/1.cc: New.
1552         * 22_locale/time_get/get_time/char/2.cc: New.
1553         * 22_locale/time_get/get_time/char/3.cc: New.
1554         * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
1555         * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
1556         * 22_locale/time_get/get_time/wchar_t/1.cc: New.
1557         * 22_locale/time_get/get_time/wchar_t/2.cc: New.
1558         * 22_locale/time_get/get_time/wchar_t/3.cc: New.
1559         * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
1560         * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
1561         * 22_locale/time_get/get_weekday/char/1.cc: New.
1562         * 22_locale/time_get/get_weekday/char/2.cc: New.
1563         * 22_locale/time_get/get_weekday/char/3.cc: New.
1564         * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
1565         * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
1566         * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
1567         * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
1568         * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
1569         * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
1570         * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
1571         * 22_locale/time_get/get_year/char/1.cc: New.
1572         * 22_locale/time_get/get_year/char/3.cc: New.
1573         * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
1574         * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
1575         * 22_locale/time_get/get_year/wchar_t/1.cc: New.
1576         * 22_locale/time_get/get_year/wchar_t/3.cc: New.
1577         * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
1578         * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
1579         * 22_locale/time_put/1.cc: New.
1580         * 22_locale/time_put/2.cc: New.
1581         * 22_locale/time_put/put/char/1.cc: New.
1582         * 22_locale/time_put/put/char/10.cc: New.
1583         * 22_locale/time_put/put/char/2.cc: New.
1584         * 22_locale/time_put/put/char/3.cc: New.
1585         * 22_locale/time_put/put/char/4.cc: New.
1586         * 22_locale/time_put/put/char/5.cc: New.
1587         * 22_locale/time_put/put/char/6.cc: New.
1588         * 22_locale/time_put/put/char/7.cc: New.
1589         * 22_locale/time_put/put/char/8.cc: New.
1590         * 22_locale/time_put/put/char/9.cc: New.
1591         * 22_locale/time_put/put/char/wrapped_env.cc: New.
1592         * 22_locale/time_put/put/char/wrapped_locale.cc: New.
1593         * 22_locale/time_put/put/wchar_t/1.cc: New.
1594         * 22_locale/time_put/put/wchar_t/10.cc: New.
1595         * 22_locale/time_put/put/wchar_t/2.cc: New.
1596         * 22_locale/time_put/put/wchar_t/3.cc: New.
1597         * 22_locale/time_put/put/wchar_t/4.cc: New.
1598         * 22_locale/time_put/put/wchar_t/5.cc: New.
1599         * 22_locale/time_put/put/wchar_t/6.cc: New.
1600         * 22_locale/time_put/put/wchar_t/7.cc: New.
1601         * 22_locale/time_put/put/wchar_t/8.cc: New.
1602         * 22_locale/time_put/put/wchar_t/9.cc: New.
1603         * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
1604         * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
1606 2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>
1608         * config/locale/generic/messages_members.h
1609         (messages_byname<_CharT>::messages_byname): Use this-> to refer to
1610         unqualified members of base clasess.
1612 2003-01-16  Mark Mitchell  <mark@codesourcery.com>
1613             Jeffrey Oldham <oldham@codesourcery.com>
1614         
1615         * config/locale/gnu/messages_members.h: Use this-> to refer to
1616         unqualified members of base clasess.
1617         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
1618         * include/bits/codecvt.h: Likewise.
1619         * include/bits/deque.tcc: Likewise.
1620         * include/bits/fstream.tcc: Likewise.
1621         * include/bits/istream.tcc: Likewise.
1622         * include/bits/list.tcc: Likewise.
1623         * include/bits/locale_facets.h: Likewise.
1624         * include/bits/ostream.tcc: Likewise.
1625         * include/bits/sstream.tcc: Likewise.
1626         * include/bits/stl_bvector.h: Likewise.
1627         * include/bits/stl_deque.h: Likewise.
1628         * include/bits/stl_list.h: Likewise.
1629         * include/bits/stl_tree.h: Likewise.
1630         * include/bits/stl_vector.h: Likewise.
1631         * include/bits/vector.tcc: Likewise.
1632         * include/ext/ropeimpl.h: Likewise.
1633         * include/ext/stdio_filebuf.h: Likewise.
1634         * include/ext/stl_rope.h: Likewise.
1635         * include/std/std_fstream.h: Likewise.
1636         * include/std/std_sstream.h: Likewise.
1637         
1638 2003-01-15  Phil Edwards  <pme@gcc.gnu.org>
1640         * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
1642 2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1644         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
1645         GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
1646         * aclocal.m4: Regenerate.
1647         * configure: Regenerate.
1648         * testsuite/Makefile.am (all-local): Add conditional rule to
1649         generate testsuite_wchar_t.
1650         * testsuite/Makefile.in: Regenerate.
1651         * testsuite/lib/libstdc++-v3-dg.exp
1652         (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
1653         testsuite_wchar_t is not present in the build directory.
1654         * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
1655         Remove setulimit bits.
1656         * testsuite/26_numerics/complex_value.cc: Set to noopts.
1657         * testsuite/Makefile.am (CLEANFILES): Add.
1658         * testsuite/Makefile.in: Regenerate.    
1659         
1660 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1662         * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
1663         __hppa__.
1665 2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>
1667         Further conform g++'s __vmi_class_type_info to the C++ ABI
1668         specification.
1669         * libsupc++/cxxabi.h
1670         (__vmi_class_type_info::__flags_masks): Remove enumerations not
1671         required by the specification.
1673 2003-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1675         Renames, namespaces for testsuite utilities.    
1676         * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
1677         (gnu_allocator_tracker): Rename to allocation_tracker.
1678         (gnu_new_allocator): Rename to tracker_alloc.
1679         (__set_testsuite_memlimit): Rename to set_memory_limits.
1680         (gnu_assignment_operator): Rename to assignment_operator.
1681         (gnu_destructor): Rename to destructor.
1682         (gnu_copy_tracker): Rename to copy_tracker.
1683         (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
1684         (run_tests_wrapped_locale): New.
1685         (run_tests_wrapped_env): New.
1686         * testsuite/testsuite_hooks.cc: Same.
1687         (class locale_data): Add.
1688         (class enviornment_variable): Add.
1689         (class not_found): Add.
1690         * testsuite/testsuite_allocator.h: Same.
1691         * testsuite/testsuite_allocator.cc: Same.
1692         * testsuite/23_containers/deque_ctor.cc
1693         (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
1694         allocation_tracker. 
1695         Change gnu_new_allocator to tracker_alloc.
1696         Change gnu_counting_struct to counter.
1697         Change gnu_copy_tracker to copy_tracker.
1698         Change gnu_copy_constructor to copy_constructor.
1699         Change gnu_assignment_operator to assignment_operator.  
1700         Inject.
1701         * testsuite/23_containers/vector_capacity.cc: Same.
1702         * testsuite/23_containers/vector_ctor.cc (test01): Same.
1703         * testsuite/23_containers/list_modifiers.cc: Change
1704         gnu_copy_tracker to copy_tracker.
1705         * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1706         __set_testsuite_memlimit to set_memory_limits.
1707         * testsuite/21_strings/insert.cc (main): Same.
1708         * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1709         * testsuite/27_io/stringstream.cc: Same.
1710         * testsuite/27_io/stringbuf.cc: Same.
1711         * testsuite/27_io/streambuf.cc: Same.
1712         * testsuite/27_io/ostream.cc: Same.
1713         * testsuite/27_io/istream.cc: Same.
1714         * testsuite/27_io/fstream.cc: Same.
1715         * testsuite/lib/libstdc++-v3-dg.exp
1716         (libstdc++-v3-list-sourcefiles): Additionally handle files two and
1717         three levels deeper in glob patterns.
1719 2003-01-11  Phil Edwards  <pme@gcc.gnu.org>
1721         * docs/doxygen/tables.html:  Finished now.
1722         * docs/doxygen/user.cfg.in:  Update to latest version of Doxygen.
1723         * include/bits/basic_ios.h (basic_ios::rdbuf):  Add example to
1724         comments.
1726         * include/bits/deque.tcc, include/bits/stl_alloc.h,
1727         include/bits/stl_deque.h, include/bits/stl_list.h,
1728         include/bits/stl_vector.h:  Remove _GLIBCPP_DEPRECATED bits scheduled
1729         for 3.4 removal.
1731 2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1733         * configure.in: Revert.
1734         * configure: Regenerate.
1736 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
1738         * include/Makefile.am (install-data-local): Prepend
1739         $(DESTDIR) to destination paths in all (un)installation
1740         commands.  Use ${c_base_builddir} and ${std_builddir}
1741         as destination subdirectories to achieve consistency with
1742         preceding mkinstalldirs commands.  No effect because both
1743         variables contain "." only.
1744         * include/Makefile.in: Regenerate.
1746 2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>
1748         * include/Makefile.am (stamp-*): Add checks for existing stamps.
1749         * include/Makefile.in: Regenerate.
1751         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
1752         * aclocal.m4: Regenerate.
1754         * configure.in: Don't add new multi-do rules every time the
1755         directory is reconfigured.
1756         * configure: Regenerate.
1757         
1758 2003-01-08  Brad Spencer  <spencer@infointeractive.com>
1759             Nathan Myers  <ncm@cantrip.org>
1760         
1761         * src/Makefile.am (stamp-debug): Clean.
1762         * src/Makefile.in: Regenerate.
1763         
1764 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
1766         PR libstdc++/8707
1767         * Makefile.am (distclean-multi): Fix.
1768         * Makefile.in: Regenerate.
1769         
1770 2003-01-06  Benjamin Kosnik  <bkoz@redhat.com>
1772         * include/bits/locale_facets.h (messages): Move ctor, dtor
1773         definitions to..
1774         (__timepunct): Same.
1775         * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1776         definitions. Conditionalize for GNU systems.
1777         * config/locale/generic/messages_members.h (messages): Add dtor, ctor
1778         definitions.
1779         * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1780         definitions. Conditionalize for GNU systems.
1781         * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1782         definitions.
1783         * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1784         * src/locale.cc: Define.
1785         * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1786         Use it.
1787         * config/locale/gnu/time_members.h: Use it.
1788         * config/locale/gnu/messages_members.h: Use it.
1789         * config/linker-map.gnu: Add locale::facets details.    
1790         * include/Makefile.am (target_headers_extra): Add time_members.h.
1791         * include/Makefile.in: Regenerate.
1792         * acinclude.m4: Export CTIME_H.
1793         * aclocal.m4: Regenerate.
1794         * configure: Regnerate.
1796 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
1798         * src/codecvt.cc
1799         (codecvt<char, char, mbstate_t>::do_in, do_out):
1800         Tweak parameters to avoid unused parameter warnings.
1802 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
1804         PR libstdc++/9151
1805         * include/bits/locale_facets.cc (num_put::_M_convert_float):
1806         Limit __prec to digits10 + 2, not digits10 + 1, taking into
1807         account the possibility of %{g,G} conversion specifiers
1808         inside _S_format_float.
1809         * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1811 2003-01-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1813         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1814         libstdc++-v3-list-sourcefiles): Additionally handle files one
1815         level deeper in glob patterns.
1816         
1817         * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1818         * testsuite/27_io/istream_extractor_arith/01.cc,
1819         testsuite/27_io/istream_extractor_arith/02.cc,
1820         testsuite/27_io/istream_extractor_arith/03.cc,
1821         testsuite/27_io/istream_extractor_arith/06.cc,
1822         testsuite/27_io/istream_extractor_arith/07.cc,
1823         testsuite/27_io/istream_extractor_arith/08.cc,
1824         testsuite/27_io/istream_extractor_arith/09.cc,
1825         testsuite/27_io/istream_extractor_arith/10.cc,
1826         testsuite/27_io/istream_extractor_arith/11.cc,
1827         testsuite/27_io/istream_extractor_arith/12.cc,
1828         testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1829         * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1830         sparc*-*-solaris2*.
1832 2003-01-05  Paolo Carlini <pcarlini@unitus.it>
1834         PR libstdc++/9168
1835         * src/codecvt.cc
1836         (codecvt<char, char, mbstate_t>::do_in, do_out):
1837         Implement the resolution of DR19 (TC).
1838         * testsuite/22_locale/codecvt_members_char_char.cc
1839         (test01): Tweak.
1841 2003-01-02  Jason Merrill  <jason@redhat.com>
1843         * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
1844         *__mem is also an output.
1845         * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.