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