OSDN Git Service

2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2003-03-05  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * libsupc++/demangle.h: Move to..
4         * include/bits/demangle.h: ...here.
5         * src/demangle.cc: Adjust include.
6         * include/Makefile.am (bits_headers): Add.
7         * include/Makefile.in: Regenerate.
8         
9 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>  
10
11         * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
12
13         * config/linker-map.gnu: Filter typeinfo and vtable info.
14
15 2003-03-04  Jerry Quinn  <jlquinn@optonline.net>
16
17         * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
18         new failure.  Throw exception if badbit and exception mask when ix
19         >= numeric_limits<int>::max().
20
21 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
22
23         * src/strstream.cc (strstreambuf::overflow): Make sure operands of
24         min and max have the same type.
25         * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
26
27 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
28
29         * include/Makefile.am (allstamps): Remove stamp-std-precompile.
30         * include/Makefile.in: Regenerate.
31
32 2003-03-03  Benjamin Kosnik  <bkoz@redhat.com>
33
34         * testsuite/abi_check.cc (report_symbol_info): Add version info.
35
36         * config/linker-map.gnu: Hide more stuff.
37         * include/Makefile.am: Cleanups.
38         * include/Makefile.in: Regenerate.
39         
40 2003-02-27  Jerry Quinn  <jlquinn@optonline.net>
41
42         * config/locale/generic/messages_members.h (messages::messages):
43         Remove name from unused parameter.
44
45 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
46
47         * src/Makefile.am (sources): Add demangle.cc.
48         (demangle.o): Add.
49         (demangle.lo): Add.     
50         * src/Makefile.in: Regenerate.
51         * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
52         * libsupc++/Makefile.in: Regenerate.
53
54         * testsuite/testsuite_hooks.h
55         (__gnu_cxx_test::verify_demangle): New.
56         * testsuite/testsuite_hooks.cc: Define.
57         
58 2003-02-27  Carlo Wood  <carlo@alinoe.com>
59
60         * src/demangle.cc: New.
61         * libsupc++/demangle.h: New.
62
63 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
64             Carlo Wood  <carlo@alinoe.com>
65
66         * testsuite/demangle/abi_examples/01.cc: New.
67         * testsuite/demangle/abi_examples/02.cc: New.
68         * testsuite/demangle/abi_examples/03.cc: New.
69         * testsuite/demangle/abi_examples/04.cc: New.
70         * testsuite/demangle/abi_examples/05.cc: New.
71         * testsuite/demangle/abi_examples/06.cc: New.
72         * testsuite/demangle/abi_examples/07.cc: New.
73         * testsuite/demangle/abi_examples/08.cc: New.
74         * testsuite/demangle/abi_examples/09.cc: New.
75         * testsuite/demangle/abi_examples/10.cc: New.
76         * testsuite/demangle/abi_examples/11.cc: New.
77         * testsuite/demangle/abi_examples/12.cc: New.
78         * testsuite/demangle/abi_examples/13.cc: New.
79         * testsuite/demangle/abi_examples/14.cc: New.
80         * testsuite/demangle/abi_examples/15.cc: New.
81         * testsuite/demangle/abi_examples/16.cc: New.
82         * testsuite/demangle/abi_examples/17.cc: New.
83         * testsuite/demangle/abi_examples/18.cc: New.
84         * testsuite/demangle/abi_examples/19.cc: New.
85         * testsuite/demangle/abi_examples/20.cc: New.
86         * testsuite/demangle/abi_examples/21.cc: New.
87         * testsuite/demangle/abi_examples/22.cc: New.
88         * testsuite/demangle/abi_examples/23.cc: New.
89         * testsuite/demangle/abi_examples/24.cc: New.
90         * testsuite/demangle/abi_examples/25.cc: New.
91         * testsuite/demangle/abi_examples/26.cc: New.
92         * testsuite/demangle/abi_text/01.cc: New.
93         * testsuite/demangle/abi_text/02.cc: New.
94         * testsuite/demangle/abi_text/03.cc: New.
95         * testsuite/demangle/abi_text/04.cc: New.
96         * testsuite/demangle/abi_text/05.cc: New.
97         * testsuite/demangle/abi_text/06.cc: New.
98         * testsuite/demangle/abi_text/07.cc: New.
99         * testsuite/demangle/abi_text/08.cc: New.
100         * testsuite/demangle/abi_text/09.cc: New.
101         * testsuite/demangle/abi_text/10.cc: New.
102         * testsuite/demangle/abi_text/11.cc: New.
103         * testsuite/demangle/abi_text/12.cc: New.
104         * testsuite/demangle/abi_text/13.cc: New.
105         * testsuite/demangle/abi_text/14.cc: New.
106         * testsuite/demangle/regression/3111-1.cc: New.
107         * testsuite/demangle/regression/3111-2.cc: New.
108         * testsuite/demangle/regression/7986-01.cc: New.
109         * testsuite/demangle/regression/7986-02.cc: New.
110         * testsuite/demangle/regression/7986-03.cc: New.
111         * testsuite/demangle/regression/7986-04.cc: New.
112         * testsuite/demangle/regression/7986-05.cc: New.
113         * testsuite/demangle/regression/7986-06.cc: New.
114         * testsuite/demangle/regression/7986-07.cc: New.
115         * testsuite/demangle/regression/7986-08.cc: New.
116         * testsuite/demangle/regression/7986-09.cc: New.
117         * testsuite/demangle/regression/7986-10.cc: New.
118         * testsuite/demangle/regression/7986-11.cc: New.
119         * testsuite/demangle/regression/7986-12.cc: New.
120         * testsuite/demangle/regression/7986.cc: New.
121         * testsuite/demangle/regression/8897.cc: New.
122         * testsuite/demangle/regression/cw-01.cc: New.
123         * testsuite/demangle/regression/cw-02.cc: New.
124         * testsuite/demangle/regression/cw-03.cc: New.
125         * testsuite/demangle/regression/cw-04.cc: New.
126         * testsuite/demangle/regression/cw-05.cc: New.
127         * testsuite/demangle/regression/cw-06.cc: New.
128         * testsuite/demangle/regression/cw-07.cc: New.
129         * testsuite/demangle/regression/cw-08.cc: New.
130         * testsuite/demangle/regression/cw-09.cc: New.
131         * testsuite/demangle/regression/cw-10.cc: New.
132         * testsuite/demangle/regression/cw-11.cc: New.
133         * testsuite/demangle/regression/cw-12.cc: New.
134         * testsuite/demangle/regression/cw-13.cc: New.
135         * testsuite/demangle/regression/cw-14.cc: New.
136         * testsuite/demangle/regression/old.cc: New.
137
138 2003-02-25  Phil Edwards  <pme@gcc.gnu.org>
139
140         * docs/doxygen/Intro.3:  Update with new (proper) names.
141         * docs/doxygen/TODO:  Update.
142         * docs/doxygen/run_doxygen:  More comments, fix up man pages.
143         Fake entries for standard typedefs.
144         * docs/doxygen/user.cfg.in:  Turn INLINE_INHERITED_MEMB back on.
145         * docs/html/documentation.html:  Top-level man page is now called
146         C++Intro.
147         * include/std/std_limits.h:  Doxygenate.
148
149 2003-02-25  Scott Snyder  <snyder@fnal.gov>
150
151         PR libstdc++/9811
152         * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
153         Correct documentation.
154         * include/bits/stl_multimap.h (lower_bound, upper_bound,
155         equal_range): Likewise.
156
157 2003-02-24  Paolo Carlini  <pcarlini@unitus.it>
158
159         PR libstdc++/9825
160         * src/fstream.cc
161         (basic_filebuf<char/wchar_t>::_M_underflow_common): When
162         __bump is true (uflow), always increment the read pointer
163         (_M_in_cur) before returning successfully.
164         * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
165
166 2003-02-24  Paolo Carlini <pcarlini@unitus.it>
167             Nathan Myers <ncm@cantrip.org>
168
169         PR libstdc++/9404, PR libstdc++/9701 (partial)
170         (aka pptr == epptr implies overflow)
171         * include/bits/fstream.tcc (_M_allocate_internal_buffer):
172         Consistently, _M_out_end points to the end of the buffer just
173         created.
174         (overflow): Tweak to use _M_out_buf_size().
175         (_M_convert_to_external): The role of the old _M_out_end is
176         now played by _M_out_lim.
177         (_M_really_overflow): Likewise.
178         (seekoff): Likewise.
179         (setbuf): _M_out_end points to the end of the external buffer.
180         * include/bits/sstream.tcc (overflow): Rewrote, taking into
181         account the resolution of DR 169 (TC).
182         (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
183         (seekpos): Use _M_string.capacity(); tweak.
184         * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
185         * include/std/std_fstream.h (sync): The role of the old
186         _M_out_end is now played by _M_out_lim.
187         (_M_set_indeterminate): Use _M_set_determinate.
188         (_M_set_determinate): _M_out_end is now _M_out_lim.
189         (_M_is_indeterminate): Likewise.
190         * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
191         (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
192         which have the information readily available as _M_string.capacity();
193         for ate and app modes, pass the string size to _M_really_sync.
194         (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
195         point to the end of the buffer (i.e., epptr) and to the string end,
196         respectively.
197         * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
198         which points to the right limit of the used put area.
199         (_M_out_cur_move): The role of the old _M_out_end is now played
200         by _M_out_lim.
201         (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
202         _M_out_end  - _M_out_cur (i.e., pptr), _very_ close to the letter
203         of the standard.
204         (basic_streambuf()): Initialize _M_out_lim too.
205         * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
206         * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
207         * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
208
209 2003-02-24  Benjamin Kosnik  <bkoz@redhat.com>
210
211         * testsuite/27_io/ios_base_storage.cc (main): Call
212         set_memory_limits.
213
214 2003-02-21  Jerry Quinn  <jlquinn@optonline.net>
215
216         * include/bits/locale_facets.tcc (_M_convert_float): Replace
217         numpunct facet accesses with data from __locale_cache.
218
219 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
220
221         * docs/html/faq/index.html (3.9):  New note, wchar_t on FreeBSD.
222         * docs/html/faq/index.txt:  Regenerate.
223
224 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
225
226         * config/linker-map.gnu:  Also export locking symbols needed for the
227         generic atomicity.h case.
228
229 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
230
231         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
232         config.status.
233         * configure: Rebuilt.
234
235 2003-02-19  Paolo Carlini  <pcarlini@unitus.it>
236
237         * include/bits/sstream.tcc (overflow): According to
238         27.7.1.3, p5, actual output is performed by sputc(c).
239
240 2003-02-19  Phil Edwards  <pme@gcc.gnu.org>
241
242         PR libstdc++/9582
243         * include/bits/stl_alloc.h:  Remove all traces of assert().
244
245 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
246
247         * include/std/std_sstream.h (str()): the size of the
248         current string may be different from the initial one
249         whenever _M_out_end > _M_out_beg.
250         * testsuite/27_io/stringbuf_members.cc (test07): Add.
251
252 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
253
254         PR libstdc++/9582
255         * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
256
257 2003-02-17  Benjamin Kosnik  <bkoz@redhat.com>
258
259         * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
260         * testsuite/27_io/ios_members.cc (test03): New.
261
262 2003-02-17  Jerry Quinn  <jlquinn@optonline.net>
263
264         * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
265         (basic_ios::_M_cache_facets): Move into above.
266         * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
267         cache.
268         (basic_ios::imbue): Force locale cache to be built.
269         (basic_ios::_M_init): Create and initialize locale cache.
270         * include/bits/ios_base.h (__locale_cache_base): Declare.
271         (ios_base::_M_locale_cache): New.
272         (ios_base::_M_cache): Define.
273         * include/bits/locale_facets.h: (__num_base): Fix comment.  Add
274         _S_end.
275         (__locale_cache_base,__locale_cache<_CharT>):  New classes.
276         (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
277         * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
278         cache literal string, grouping flag, thousands separator.
279         (__locale_cache<_CharT>::__locale_cache): New.
280         (__locale_cache<_CharT>::_M_init): New.
281         * src/ios.cc: Clear _M_locale_cache in constructor.
282         * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
283         New.
284
285 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
286
287         * src/locale-inst.cc: Do not include <cassert>.
288         * src/locale.cc: Likewise.
289
290 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
291
292         PR libstdc++/9580
293         * include/std/std_fstream.h: Declare underflow and uflow
294         specializations, change generic definitions to do nothing.
295         * src/fstream.cc: Add underflow and uflow specializations.
296
297 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
298
299         PR libstdc++/9169
300         * include/bits/fstream.tcc (_M_convert_to_external):
301         Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
302         * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
303
304 2003-02-13  Benjamin Kosnik  <bkoz@redhat.com>
305
306         * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
307         * include/bits/basic_ios.tcc: Guard use of extern template.
308         * include/std/std_iomanip.h: Same.
309         * include/bits/streambuf.tcc: Same.
310         * include/bits/stl_alloc.h: Same.
311         * include/bits/locale_facets.tcc: Same.
312         * include/bits/ostream.tcc: Same.
313         * include/bits/istream.tcc: Same.
314         * include/bits/fstream.tcc: Same.
315         * include/bits/basic_string.tcc: Same.
316
317 2003-02-13  Paolo Carlini  <pcarlini@unitus.it>
318
319         * include/bits/ostream.tcc (sentry::sentry): Improve
320         performance-wise the fix for libstdc++/9563.
321
322 2003-02-12  Phil Edwards  <pme@gcc.gnu.org>
323
324         * config/cpu/generic/atomicity.h (_Atomic_add_mutex):  Fix declaration.
325         (_GLIBCPP_NEED_GENERIC_MUTEX):  Define for this file.
326         (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once):  Declare
327         when we don't have static mutex initialization.
328         (__exchange_and_add):  Use _Atomic_add_mutex_once.
329         * src/misc-inst.cc:  Definitions of all the above.
330
331 2003-02-12  Paolo Carlini  <pcarlini@unitus.it>
332
333         PR libstdc++/9563
334         * include/bits/ostream.tcc (sentry::sentry): Check
335         the state of the stream after the preparation.
336         * testsuite/27_io/ostream_sentry.cc (test02): Add.
337
338 2003-02-11  Benjamin Kosnik  <bkoz@redhat.com>
339
340         * include/Makefile.am (stamp-std-precompile): Add rule.
341         * include/Makefile.in: Regenerated.
342         
343 2003-02-11 Jerry Quinn  <jlquinn@optonline.net>
344            Benjamin Kosnik  <benjamin@redhat.com>
345         
346         * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
347         Add indexes into this array.
348         (__num_base::_S_atoms): To _S_atoms_in.
349         (num_put::_M_insert): Rename to _M_pad.
350         (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
351         (num_put::_M_widen_int): Rename to _M_group_int.
352         (num_put::_M_widen_float): Rename to _M_group_float.    
353         * include/bits/locale_facets.tcc (__int_to_char): New inline
354         function and adapter functions.
355         (num_put::_M_group_int): Streamline.
356         (num_put::_M_group_float): Streamline.  
357         (num_put::_M_convert_int): Remove unused parameter names. Choose
358         large enough buffer for text.  Use __int_to_char instead of
359         __convert_from_v.  Formatted text is now at the end of the buffer.
360         (num_put::_M_convert_float): Preliminary fixups.
361         * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
362         (__int_to_char<unsigned long long>): Same.
363         (__int_to_char<char, unsigned long>): New.
364         (__int_to_char<char, unsigned long long>): New.
365         (__int_to_char<wchar_t, unsigned long>): New.
366         (__int_to_char<wchar_t, unsigned long long>): New.
367         
368 2003-02-11  Scott Snyder  <snyder@fnal.gov>
369
370         PR libstdc++/9659
371         * include/bits/fstream.tcc (seekoff): Avoid operator+
372         for pos_type.
373
374 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
375
376         PR libstdc++/9320
377         * include/ext/stdio_filebuf.h
378         (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
379         stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
380         Change to take a __size parameter of type size_t, not
381         of type (template parameter dependent) int_type.
382         * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
383         size vars to size_t.
384         * testsuite/ext/stdio_filebuf.cc: Add.
385
386 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
387             Petur Runolfsson  <peturr02@ru.is>
388
389         PR libstdc++/9318
390         * include/bits/streambuf.tcc (__copy_streambufs):
391         Don't conditionalize the copy to __testput.
392         * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
393
394 2002-02-11  DJ Delorie  <dj@redhat.com>
395
396         * acinclude.m4: Check for native targets that can't link at
397         this point in the build.
398         * aclocal.m4: Regenerate.
399         * configure: Regenerate.
400
401 2003-02-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
402
403         * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
404         Correct alignment.
405         (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
406         lock.
407
408 2003-02-07  Paolo Carlini  <pcarlini@unitus.it>
409
410         * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
411         unsigned char platforms.
412
413 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
414
415         PR libstdc++/9562
416         * include/std/std_istream.h
417         (basic_istream::sentry::operator bool()): Make const.
418         * include/std/std_ostream.h
419         (basic_ostream::sentry::operator bool()): Likewise.
420         * testsuite/27_io/istream_sentry.cc (test03): Add.
421         * testsuite/27_io/ostream_sentry.cc: Add.
422
423 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
424
425         PR libstdc++/9548
426         Implement resolution of DR 231 (Ready)
427         * include/bits/locale_facets.h (__num_base::_S_format_float):
428         Change declaration: return void, remove __prec parameter.
429         * src/locale.cc (__num_base::_S_format_float): Implement
430         resolution of DR 231.
431         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
432         Tweak uses. Check for negative precision.
433         * testsuite/22_locale/num_put/put/char/6.cc: Add
434         * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
435
436 2003-02-06  Peter Soetens  <peter.soetens@mech.kuleuven.ac.be>
437
438         * config/io/basic_file_libio.h: Fixups.
439         * config/io/c_io_libio.h: Same.
440         * libio/Makefile.am: Same.
441         * libio/Makefile.in: Regenerated.
442         
443 2003-02-06  Benjamin Kosnik  <bkoz@redhat.com>
444
445         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
446         Explicitly use the "C" locale.
447         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
448         
449 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
450
451         DR 75
452         DR 305
453         PR libstdc++/9028 (partial)
454         PR libstdc++/9224
455         PR libstdc++/9246
456         PR libstdc++/9247
457
458         * src/codecvt.cc
459         (codecvt<wchar_t, char, mbstate_t>::do_encoding,
460         codecvt<wchar_t, char, mbstate_t>::do_length,
461         codecvt<wchar_t, char, mbstate_t>::do_max_length):
462         Move...
463         * config/locale/generic/codecvt_members.cc:  ...here.
464         * config/locale/gnu/codecvt_members.cc:  ...and here.
465
466         * config/locale/generic/codecvt_members.cc,
467         * config/locale/gnu/codecvt_members.cc
468         (codecvt<wchar_t, char, mbstate_t>::do_encoding
469         codecvt<wchar_t, char, mbstate_t>::do_in,
470         codecvt<wchar_t, char, mbstate_t>::do_length,
471         codecvt<wchar_t, char, mbstate_t>::do_max_length,
472         codecvt<wchar_t, char, mbstate_t>::do_out):
473         New implementation that handles stateless encodings,
474         including UTF-8.
475
476         * config/locale/generic/codecvt_members.cc,
477         * config/locale/gnu/codecvt_members.cc,
478         * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
479         * include/bits/codecvt.h,
480         * src/codecvt.cc
481         (codecvt::length, codecvt::do_length):
482         Change type of first argument of length and do_length from
483         'const state_type&' to 'state_type&' according to DR 75.
484
485         * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc:  Cleanup.
486         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc:  New test.
487         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc:  New test.
488         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc:  New test.
489         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
490         Cleanup and check for correct return value from encoding
491         for "C" locale.
492         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc:  New test.
493         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc:  New test.
494         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc:  New test.
495         * testsuite/22_locale/codecvt/in/wchar_t/1.cc:  Cleanup.
496         * testsuite/22_locale/codecvt/in/wchar_t/2.cc:  New test.
497         * testsuite/22_locale/codecvt/in/wchar_t/3.cc:  New test.
498         * testsuite/22_locale/codecvt/in/wchar_t/4.cc:  New test.
499         * testsuite/22_locale/codecvt/in/wchar_t/5.cc:  New test.
500         * testsuite/22_locale/codecvt/in/wchar_t/6.cc:  New test.
501         * testsuite/22_locale/codecvt/in/wchar_t/7.cc:  New test.
502         * testsuite/22_locale/codecvt/in/wchar_t/8.cc:  New test.
503         * testsuite/22_locale/codecvt/in/wchar_t/9.cc:  New test.
504         * testsuite/22_locale/codecvt/length/char/1.cc:  Cleanup.
505         * testsuite/22_locale/codecvt/length/char/2.cc:  New test.
506         * testsuite/22_locale/codecvt/length/wchar_t/1.cc:  Cleanup.
507         * testsuite/22_locale/codecvt/length/wchar_t/2.cc:  New test.
508         * testsuite/22_locale/codecvt/length/wchar_t/3.cc:  New test.
509         * testsuite/22_locale/codecvt/length/wchar_t/4.cc:  New test.
510         * testsuite/22_locale/codecvt/length/wchar_t/5.cc:  New test.
511         * testsuite/22_locale/codecvt/length/wchar_t/6.cc:  New test.
512         * testsuite/22_locale/codecvt/length/wchar_t/7.cc:  New test.
513         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc:  Cleanup.
514         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc:  New test.
515         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc:  New test.
516         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc:  New test.
517         * testsuite/22_locale/codecvt/out/wchar_t/1.cc:  Cleanup.
518         * testsuite/22_locale/codecvt/out/wchar_t/2.cc:  New test.
519         * testsuite/22_locale/codecvt/out/wchar_t/3.cc:  New test.
520         * testsuite/22_locale/codecvt/out/wchar_t/4.cc:  New test.
521         * testsuite/22_locale/codecvt/out/wchar_t/5.cc:  New test.
522         * testsuite/22_locale/codecvt/out/wchar_t/6.cc:  New test.
523         * testsuite/22_locale/codecvt/out/wchar_t/7.cc:  New test.
524         * testsuite/22_locale/codecvt/unicode/1.cc:  New test.
525         * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc:  Cleanup.
526         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc:  New test.
527         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc:  New test.
528         * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc:  New test.
529
530 2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
531
532         * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
533         (money_put::do_put): Same.
534
535 2003-02-05  Jerry Quinn  <jlquinn@optonline.net>
536
537         * include/bits/ios_base.h (ios_base): Document reserved storage.
538
539         * include/bits/locale_facets.h: (struct __pad): Comment on
540         implementation.
541         (__verify_grouping): Same.
542         (__add_grouping): Same.         
543         * include/bits/locale_facets.tcc (__verify_grouping): Move
544         comments to declaration.
545         (__add_grouping): Same.
546         
547         * include/bits/locale_facets.tcc: 
548         (__write<_CharT, _OutIter>): New function.
549         (__write<_CharT>): New function specialization.
550         (num_put::_M_insert): Remove explicit loop over iterator.  Use
551         __write.
552         (num_put::_M_widen_float): Remove __basefield. 
553         (num_put::_M_widen_int): Move __basefield to within grouping block.
554         
555         * include/bits/streambuf_iterator.h: Include <streambuf>.
556         (ostreambuf_iterator::_M_put): Add.
557
558 2003-02-05  Paolo Carlini  <pcarlini@unitus.it>
559
560         * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
561
562 2003-02-04  Nathan Myers  <ncm@cantrip.org>
563
564         * testsuite/25_algorithms/min_max.cc (test02): Add.
565             
566 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
567         
568         PR libstdc++/9439, PR libstdc++/9425
569         * config/io/basic_file_stdio.cc
570         (__basic_file<char>::seekoff, seekpos): Return -1L if
571         fseek fails.
572         * include/bits/fstream.tcc (basic_filebuf::seekoff):
573         Check _M_file.seekoff return value; always return
574         pos_type(off_type(-1)) in case of failure.
575         (basic_filebuf::pbackfail): Check this->seekoff return
576         value and return traits_type::eof() in case of failure.  
577         * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
578
579 2003-02-04  Jerry Quinn  <jlquinn@optonline.net>
580
581         * include/std/std_ostream.h (ostream::_M_write): Declare.       
582         * ostream.tcc (ostream::_M_write): Define.
583         (basic_ostream::write): Use it.
584         (operator<<(basic_ostream, _CharT)): Ditto.
585         (operator<<(basic_ostream, char)): Ditto.
586         (operator<<(basic_ostream, _CharT*)): Ditto.
587         (operator<<(basic_ostream, char*)): Ditto.
588         (operator<<(basic_ostream, basic_string)): Ditto.
589
590 2003-02-04  Benjamin Kosnik  <bkoz@redhat.com>
591
592         * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
593
594 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
595
596         * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
597         add HTML comment about updating links if numbering changes.
598
599 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
600
601         PR libstdc++/9538
602         * include/bits/streambuf.tcc (sputbackc): Access
603         this->gptr()[-1] only if _M_in_beg < _M_in_cur.
604         * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
605
606 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
607
608         PR libstdc++/9507
609         * include/bits/fstream.tcc (open): If the 'ate' repositioning
610         operation fails, calls close _and_ returns a null pointer
611         to indicate failure (27.8.1.3,4).
612         * testsuite/27_io/filebuf_members.cc (test_06): Add.
613
614 2003-02-04  Petur Runolfsson  <peturr02@ru.is>
615
616         * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
617
618 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
619
620         * docs/html/27_io/howto.html: New section on stdio_filebuf.
621         * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
622         * docs/html/documentation.html: Regenerate.
623
624 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
625
626         * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
627         * docs/html/17_intro/porting.html: Regenerate.
628
629 2003-02-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
630             Phil Edwards  <pme@gcc.gnu.org>
631
632         * include/std/std_bitset.h:  Replace CHAR_BIT with __CHAR_BIT__, use
633         numeric_limits for bits-per-word values.
634         (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
635         Use __builtin_popcountl instead.
636         (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
637         _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
638         Use __builtin_ctzl instead.
639         (_S_bit_count, _S_first_one):  Remove.
640         * config/linker-map.gnu (GLIBCPP_3.4):  Remove std::_S_bit_count.
641         * src/Makefile.am (sources):  Remove bitset.cc.
642         * src/bitset.cc:  Delete file.
643         * src/Makefile.in:  Regenerate.
644
645 2003-02-03  Phil Edwards  <pme@gcc.gnu.org>
646
647         PR libstdc++/9527, PR libstdc++/8713
648         * docs/html/install.html:  Mention glibc version requirement.
649         * docs/html/faq/index.html (3.8):  New note, glibc 2.2.5+ is needed
650         with 3.2.1+ (formatting bugfixes).
651         * docs/html/faq/index.txt:  Regenerate.
652
653 2003-02-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
654
655         PR libstdc++/9234
656         * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
657         operator.
658
659         * include/bits/valarray_before.h (__not_equal_to): Use != instead
660         of ==.
661
662         * testsuite/26_numerics/valarray_operators.cc: New test.
663
664 2003-02-01  Phil Edwards  <pme@gcc.gnu.org>
665
666         * docs/html/faq/index.html:  Correct link to libg++ information.
667         * docs/html/faq/index.txt:  Regenerated.
668
669 2003-02-01  Paolo Carlini  <pcarlini@unitus.it>
670             Benjamin Kosnik  <bkoz@redhat.com>
671
672         Const correctness issue:
673         http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
674         * include/bits/locale_classes.h
675         (locale::_Impl::_M_facets): Change type to const facet**.
676         (locale::_Impl::_M_install_facet): Change declaration to
677         take const facet*.
678         (locale::facet::_M_references): Make mutable.
679         (locale::facet::_M_add_reference): Declare const.
680         (locale::facet::_M_remove_reference): Likewise.
681         * include/bits/locale_facets.tcc
682         (use_facet(const locale&)): Tweak for const facet** _M_facets.
683         (has_facet(const locale&)): Likewise.
684         * src/locale.cc
685         (locale::facet::_M_add_reference): Adjust definition.
686         (locale::facet::_M_remove_reference): Likewise.
687         * src/localename.cc
688         (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
689         const facet** _M_facets.
690         (locale::_Impl::_Impl(const char*, size_t)): Likewise.
691         (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
692         (locale::_Impl::_M_install_facet): Adjust definition to take
693         const facet* and for const facet** _M_facets.
694         * testsuite/22_locale/locale/cons/8.cc: Add.
695
696 2003-01-29  Mark Mitchell  <mark@codesourcery.com>
697
698         * include/std/std_limits.h (numeric_limits<float>::has_infinity):
699         Use __FLT_HAS_INIFINITY__ to initialize.
700         (numeric_limits<float>::has_quiet_NaN): Likewise.
701         (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
702         to initialize.
703         (numeric_limits<double>::has_quiet_NaN): Likewise.
704         (numeric_limits<long double>::has_infinity): Use
705         __LDBL_HAS_INIFINITY__ to initialize.
706         (numeric_limits<long_double>::has_quiet_NaN): Likewise.
707
708 2003-01-28  Nathan Sidwell  <nathan@codesourcery.com>
709
710         PR c++/9433
711         * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
712         with bases which are very ambiguous.
713
714 2003-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
715
716         * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
717         @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
718         * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
719         * src/Makefile.in: Regenerate.
720         * libsupc++/Makefile.in: Regenerate.
721
722 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
723
724         * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
725         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
726         version_specific_libs is enabled.
727         * aclocal.m4, configure: Rebuilt.
728
729 2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
730
731         * include/bits/valarray_meta.h: Remove, split into ...
732         * include/bits/valarray_before.h: ... this, and ...
733         * include/bits/valarray_after.h: ... this.
734         * include/std/std_valarray.h: Adjust.
735         * include/Makefile.am (bits_headers): Adjust.
736         * include/Makefile.in: Regenerate.
737
738 2003-01-24  Andreas Schwab  <schwab@suse.de>
739
740         * config/linker-map.gnu: Fix for size_t variance.
741
742 2003-01-23  Petur Runolfsson  <peturr02@ru.is>
743
744         PR libstdc++/9322
745         * include/std/std_streambuf.h
746         (basic_streambuf::basic_streambuf,
747         basic_streambuf::~basic_streambuf,
748         basic_streambuf::getloc, basic_streambuf::imbue):
749         Remove _M_buf_locale_init
750         * include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
751         * testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
752         * testsuite/27_io/streambuf_members.cc (test08):  Add.
753         * testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.
754
755 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
756
757         Revert include ordering.
758         * config/locale/generic/c_locale.h: Add include guards.
759         * config/locale/gnu/c_locale.h: Same.
760         * include/bits/locale_classes.h: Remove cctype include.
761         * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
762         * include/std/std_fstream.h: Remove streambuf include.
763         * include/std/std_sstream.h: Remove streambuf include.
764         
765 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
766
767         * configure.in (libtool_VERSION): To 6:0:0.
768         * configure: Regenerated.
769         * config/linker-map.gnu: Clean.
770         
771         * src/misc-inst.cc: Remove instantiations.
772
773         * include/bits/stl_alloc.h (__malloc_alloc_template): 
774         To __malloc_alloc.
775         (__default_alloc_template): To __pool_alloc.
776         * src/stl-inst.cc: Same.
777         * include/backward/alloc.h: Update.
778         * testsuite/ext/allocators.cc: Update.
779         
780         * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
781         really try to remove these if possible.
782         * src/locale.cc (std): Same.
783
784         * testsuite/abi_check.cc (check_version): Add.
785
786 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
787             Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
788             Mark Mitchell  <mark@codesourcery.com>
789         
790         PR libstdc++/9269
791         * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
792         (basic_filebuf::underflow): Declare.
793         Move definitions.
794
795 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
796
797         * include/bits/locale_facets.h: Move non-facet classes requiring
798         <string> to...  
799         * include/bits/locale_classes.h: New.  
800         * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
801         * include/bits/Makefile.in: Regenerate.
802
803         * include/bits/locale_facets.tcc (__convert_from_v): Move to...
804         * config/locale/gnu/c_locale.h: ...here.
805         * config/locale/generic/c_locale.h: Same.
806         
807         * include/bits/locale_facets.tcc: Move declarations to...
808         * include/bits/locale_facets.h: ...here.
809         * include/bits/basic_ios.h: Tweak includes accordingly.
810         * include/std/std_sstream.h: Add streambuf include.
811         * include/std/std_fstream.h: Ditto.
812         * include/std/std_locale.h: Add locale_classes.h include.
813         * include/std/std_iosfwd.h: Tweak.
814         * src/concept-inst.cc: Add iterator include.
815
816         * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
817         bits as unexported in the future.
818         
819 2003-01-21  Benjamin Kosnik  <bkoz@redhat.com>
820
821         Reshuffle 22_locale testsuite.
822         * 22_locale/(codecvt.cc money_get.cc
823         codecvt_members_char_char.cc money_get_members_char.cc
824         codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
825         codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
826         codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
827         moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
828         collate_members_char.cc money_put.cc collate_members_wchar_t.cc
829         money_put_members_char.cc ctor_copy_dtor.cc
830         money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
831         num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
832         ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
833         numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
834         ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
835         num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
836         ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
837         operators.cc ctype_widen_char.cc static_members.cc
838         ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
839         global_templates.cc time_get_members_wchar_t.cc, members.cc,
840         time_put.cc, messages_byname.cc, time_put_members_char.cc,
841         messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc): 
842         Splint up into individual test cases... 
843         * 22_locale/codecvt/1.cc: New.
844         * 22_locale/codecvt/2.cc: New.
845         * 22_locale/codecvt/always_noconv/char/1.cc: New.
846         * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
847         * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
848         * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
849         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
850         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
851         * 22_locale/codecvt/encoding/char/1.cc: New.
852         * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
853         * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
854         * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
855         * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
856         * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
857         * 22_locale/codecvt/in/char/1.cc: New.
858         * 22_locale/codecvt/in/char/wrapped_env.cc: New.
859         * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
860         * 22_locale/codecvt/in/wchar_t/1.cc: New.
861         * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
862         * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
863         * 22_locale/codecvt/length/char/1.cc: New.
864         * 22_locale/codecvt/length/char/wrapped_env.cc: New.
865         * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
866         * 22_locale/codecvt/length/wchar_t/1.cc: New.
867         * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
868         * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
869         * 22_locale/codecvt/max_length/char/1.cc: New.
870         * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
871         * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
872         * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
873         * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
874         * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
875         * 22_locale/codecvt/out/char/1.cc: New.
876         * 22_locale/codecvt/out/char/wrapped_env.cc: New.
877         * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
878         * 22_locale/codecvt/out/wchar_t/1.cc: New.
879         * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
880         * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
881         * 22_locale/codecvt/unicode/char.cc: New.
882         * 22_locale/codecvt/unicode/wchar_t.cc: New.
883         * 22_locale/codecvt/unshift/char/1.cc: New.
884         * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
885         * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
886         * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
887         * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
888         * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
889         * 22_locale/collate/1.cc: New.
890         * 22_locale/collate/2.cc: New.
891         * 22_locale/collate/compare/char/1.cc: New.
892         * 22_locale/collate/compare/char/2.cc: New.
893         * 22_locale/collate/compare/char/wrapped_env.cc: New.
894         * 22_locale/collate/compare/char/wrapped_locale.cc: New.
895         * 22_locale/collate/compare/wchar_t/1.cc: New.
896         * 22_locale/collate/compare/wchar_t/2.cc: New.
897         * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
898         * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
899         * 22_locale/collate/hash/char/1.cc: New.
900         * 22_locale/collate/hash/char/2.cc: New.
901         * 22_locale/collate/hash/char/wrapped_env.cc: New.
902         * 22_locale/collate/hash/char/wrapped_locale.cc: New.
903         * 22_locale/collate/hash/wchar_t/1.cc: New.
904         * 22_locale/collate/hash/wchar_t/2.cc: New.
905         * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
906         * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
907         * 22_locale/collate/transform/char/2.cc: New.
908         * 22_locale/collate/transform/char/wrapped_env.cc: New.
909         * 22_locale/collate/transform/char/wrapped_locale.cc: New.
910         * 22_locale/collate/transform/wchar_t/2.cc: New.
911         * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
912         * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
913         * 22_locale/collate_byname/1.cc: New.
914         * 22_locale/ctype/1.cc: New.
915         * 22_locale/ctype/2.cc: New.
916         * 22_locale/ctype/cons/char/1.cc: New.
917         * 22_locale/ctype/cons/char/wrapped_env.cc: New.
918         * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
919         * 22_locale/ctype/is/char/1.cc: New.
920         * 22_locale/ctype/is/char/2.cc: New.
921         * 22_locale/ctype/is/char/3.cc: New.
922         * 22_locale/ctype/is/char/wrapped_env.cc: New.
923         * 22_locale/ctype/is/char/wrapped_locale.cc: New.
924         * 22_locale/ctype/is/wchar_t/1.cc: New.
925         * 22_locale/ctype/is/wchar_t/2.cc: New.
926         * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
927         * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
928         * 22_locale/ctype/narrow/char/1.cc: New.
929         * 22_locale/ctype/narrow/char/2.cc: New.
930         * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
931         * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
932         * 22_locale/ctype/narrow/wchar_t/1.cc: New.
933         * 22_locale/ctype/narrow/wchar_t/2.cc: New.
934         * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
935         * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
936         * 22_locale/ctype/scan/char/1.cc: New.
937         * 22_locale/ctype/scan/char/wrapped_env.cc: New.
938         * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
939         * 22_locale/ctype/scan/wchar_t/1.cc: New.
940         * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
941         * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
942         * 22_locale/ctype/to/char/1.cc: New.
943         * 22_locale/ctype/to/char/wrapped_env.cc: New.
944         * 22_locale/ctype/to/char/wrapped_locale.cc: New.
945         * 22_locale/ctype/to/wchar_t/1.cc: New.
946         * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
947         * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
948         * 22_locale/ctype/widen/char/1.cc: New.
949         * 22_locale/ctype/widen/char/wrapped_env.cc: New.
950         * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
951         * 22_locale/ctype/widen/wchar_t/1.cc: New.
952         * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
953         * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
954         * 22_locale/facet/1.cc: New.
955         * 22_locale/facet/2.cc: New.
956         * 22_locale/global_templates/1.cc: New.
957         * 22_locale/locale/cons/1.cc: New.
958         * 22_locale/locale/cons/2.cc: New.
959         * 22_locale/locale/cons/3.cc: New.
960         * 22_locale/locale/cons/4.cc: New.
961         * 22_locale/locale/cons/5.cc: New.
962         * 22_locale/locale/cons/6.cc: New.
963         * 22_locale/locale/cons/7.cc: New.
964         * 22_locale/locale/global_locale_objects/1.cc: New.
965         * 22_locale/locale/global_locale_objects/2.cc: New.
966         * 22_locale/locale/global_locale_objects/3.cc: New.
967         * 22_locale/locale/operations/1.cc: New.
968         * 22_locale/locale/operations/2.cc: New.
969         * 22_locale/messages/1.cc: New.
970         * 22_locale/messages/2.cc: New.
971         * 22_locale/messages/members/char/1.cc: New.
972         * 22_locale/messages/members/char/2.cc: New.
973         * 22_locale/messages/members/char/3.cc: New.
974         * 22_locale/messages/members/char/wrapped_env.cc: New.
975         * 22_locale/messages/members/char/wrapped_locale.cc: New.
976         * 22_locale/messages_byname/1.cc: New.
977         * 22_locale/money_get/1.cc: New.
978         * 22_locale/money_get/2.cc: New.
979         * 22_locale/money_get/get/char/1.cc: New.
980         * 22_locale/money_get/get/char/2.cc: New.
981         * 22_locale/money_get/get/char/3.cc: New.
982         * 22_locale/money_get/get/char/4.cc: New.
983         * 22_locale/money_get/get/char/5.cc: New.
984         * 22_locale/money_get/get/char/6.cc: New.
985         * 22_locale/money_get/get/char/7.cc: New.
986         * 22_locale/money_get/get/char/8.cc: New.
987         * 22_locale/money_get/get/char/wrapped_env.cc: New.
988         * 22_locale/money_get/get/char/wrapped_locale.cc: New.
989         * 22_locale/money_get/get/wchar_t/1.cc: New.
990         * 22_locale/money_get/get/wchar_t/2.cc: New.
991         * 22_locale/money_get/get/wchar_t/3.cc: New.
992         * 22_locale/money_get/get/wchar_t/4.cc: New.
993         * 22_locale/money_get/get/wchar_t/5.cc: New.
994         * 22_locale/money_get/get/wchar_t/6.cc: New.
995         * 22_locale/money_get/get/wchar_t/7.cc: New.
996         * 22_locale/money_get/get/wchar_t/8.cc: New.
997         * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
998         * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
999         * 22_locale/money_put/1.cc: New.
1000         * 22_locale/money_put/2.cc: New.
1001         * 22_locale/money_put/put/char/1.cc: New.
1002         * 22_locale/money_put/put/char/2.cc: New.
1003         * 22_locale/money_put/put/char/3.cc: New.
1004         * 22_locale/money_put/put/char/4.cc: New.
1005         * 22_locale/money_put/put/char/5.cc: New.
1006         * 22_locale/money_put/put/char/6.cc: New.
1007         * 22_locale/money_put/put/char/wrapped_env.cc: New.
1008         * 22_locale/money_put/put/char/wrapped_locale.cc: New.
1009         * 22_locale/money_put/put/wchar_t/1.cc: New.
1010         * 22_locale/money_put/put/wchar_t/2.cc: New.
1011         * 22_locale/money_put/put/wchar_t/3.cc: New.
1012         * 22_locale/money_put/put/wchar_t/4.cc: New.
1013         * 22_locale/money_put/put/wchar_t/5.cc: New.
1014         * 22_locale/money_put/put/wchar_t/6.cc: New.
1015         * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
1016         * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
1017         * 22_locale/moneypunct/1.cc: New.
1018         * 22_locale/moneypunct/2.cc: New.
1019         * 22_locale/moneypunct/3.cc: New.
1020         * 22_locale/moneypunct/members/char/1.cc: New.
1021         * 22_locale/moneypunct/members/char/2.cc: New.
1022         * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
1023         * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
1024         * 22_locale/moneypunct/members/wchar_t/1.cc: New.
1025         * 22_locale/moneypunct/members/wchar_t/2.cc: New.
1026         * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
1027         * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
1028         * 22_locale/moneypunct_byname/1.cc: New.
1029         * 22_locale/num_get/1.cc: New.
1030         * 22_locale/num_get/2.cc: New.
1031         * 22_locale/num_get/get/char/1.cc: New.
1032         * 22_locale/num_get/get/char/2.cc: New.
1033         * 22_locale/num_get/get/char/3.cc: New.
1034         * 22_locale/num_get/get/char/4.cc: New.
1035         * 22_locale/num_get/get/char/5.cc: New.
1036         * 22_locale/num_get/get/char/6.cc: New.
1037         * 22_locale/num_get/get/char/wrapped_env.cc: New.
1038         * 22_locale/num_get/get/char/wrapped_locale.cc: New.
1039         * 22_locale/num_get/get/wchar_t/1.cc: New.
1040         * 22_locale/num_get/get/wchar_t/2.cc: New.
1041         * 22_locale/num_get/get/wchar_t/3.cc: New.
1042         * 22_locale/num_get/get/wchar_t/4.cc: New.
1043         * 22_locale/num_get/get/wchar_t/5.cc: New.
1044         * 22_locale/num_get/get/wchar_t/6.cc: New.
1045         * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
1046         * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
1047         * 22_locale/num_put/1.cc: New.
1048         * 22_locale/num_put/2.cc: New.
1049         * 22_locale/num_put/put/char/1.cc: New.
1050         * 22_locale/num_put/put/char/2.cc: New.
1051         * 22_locale/num_put/put/char/3.cc: New.
1052         * 22_locale/num_put/put/char/4.cc: New.
1053         * 22_locale/num_put/put/char/5.cc: New.
1054         * 22_locale/num_put/put/char/wrapped_env.cc: New.
1055         * 22_locale/num_put/put/char/wrapped_locale.cc: New.
1056         * 22_locale/num_put/put/wchar_t/1.cc: New.
1057         * 22_locale/num_put/put/wchar_t/2.cc: New.
1058         * 22_locale/num_put/put/wchar_t/3.cc: New.
1059         * 22_locale/num_put/put/wchar_t/4.cc: New.
1060         * 22_locale/num_put/put/wchar_t/5.cc: New.
1061         * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
1062         * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
1063         * 22_locale/numpunct/1.cc: New.
1064         * 22_locale/numpunct/2.cc: New.
1065         * 22_locale/numpunct/members/char/1.cc: New.
1066         * 22_locale/numpunct/members/char/2.cc: New.
1067         * 22_locale/numpunct/members/char/wrapped_env.cc: New.
1068         * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
1069         * 22_locale/numpunct/members/wchar_t/1.cc: New.
1070         * 22_locale/numpunct/members/wchar_t/2.cc: New.
1071         * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
1072         * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
1073         * 22_locale/numpunct_byname/1.cc: New.
1074         * 22_locale/numpunct_byname/2.cc: New.
1075         * 22_locale/time_get/1.cc: New.
1076         * 22_locale/time_get/2.cc: New.
1077         * 22_locale/time_get/date_order/char/1.cc: New.
1078         * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
1079         * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
1080         * 22_locale/time_get/date_order/wchar_t/1.cc: New.
1081         * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
1082         * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
1083         * 22_locale/time_get/get_date/char/1.cc: New.
1084         * 22_locale/time_get/get_date/char/2.cc: New.
1085         * 22_locale/time_get/get_date/char/3.cc: New.
1086         * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
1087         * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
1088         * 22_locale/time_get/get_date/wchar_t/1.cc: New.
1089         * 22_locale/time_get/get_date/wchar_t/2.cc: New.
1090         * 22_locale/time_get/get_date/wchar_t/3.cc: New.
1091         * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
1092         * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
1093         * 22_locale/time_get/get_monthname/char/1.cc: New.
1094         * 22_locale/time_get/get_monthname/char/2.cc: New.
1095         * 22_locale/time_get/get_monthname/char/3.cc: New.
1096         * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
1097         * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
1098         * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
1099         * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
1100         * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
1101         * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
1102         * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
1103         * 22_locale/time_get/get_time/char/1.cc: New.
1104         * 22_locale/time_get/get_time/char/2.cc: New.
1105         * 22_locale/time_get/get_time/char/3.cc: New.
1106         * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
1107         * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
1108         * 22_locale/time_get/get_time/wchar_t/1.cc: New.
1109         * 22_locale/time_get/get_time/wchar_t/2.cc: New.
1110         * 22_locale/time_get/get_time/wchar_t/3.cc: New.
1111         * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
1112         * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
1113         * 22_locale/time_get/get_weekday/char/1.cc: New.
1114         * 22_locale/time_get/get_weekday/char/2.cc: New.
1115         * 22_locale/time_get/get_weekday/char/3.cc: New.
1116         * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
1117         * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
1118         * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
1119         * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
1120         * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
1121         * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
1122         * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
1123         * 22_locale/time_get/get_year/char/1.cc: New.
1124         * 22_locale/time_get/get_year/char/3.cc: New.
1125         * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
1126         * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
1127         * 22_locale/time_get/get_year/wchar_t/1.cc: New.
1128         * 22_locale/time_get/get_year/wchar_t/3.cc: New.
1129         * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
1130         * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
1131         * 22_locale/time_put/1.cc: New.
1132         * 22_locale/time_put/2.cc: New.
1133         * 22_locale/time_put/put/char/1.cc: New.
1134         * 22_locale/time_put/put/char/10.cc: New.
1135         * 22_locale/time_put/put/char/2.cc: New.
1136         * 22_locale/time_put/put/char/3.cc: New.
1137         * 22_locale/time_put/put/char/4.cc: New.
1138         * 22_locale/time_put/put/char/5.cc: New.
1139         * 22_locale/time_put/put/char/6.cc: New.
1140         * 22_locale/time_put/put/char/7.cc: New.
1141         * 22_locale/time_put/put/char/8.cc: New.
1142         * 22_locale/time_put/put/char/9.cc: New.
1143         * 22_locale/time_put/put/char/wrapped_env.cc: New.
1144         * 22_locale/time_put/put/char/wrapped_locale.cc: New.
1145         * 22_locale/time_put/put/wchar_t/1.cc: New.
1146         * 22_locale/time_put/put/wchar_t/10.cc: New.
1147         * 22_locale/time_put/put/wchar_t/2.cc: New.
1148         * 22_locale/time_put/put/wchar_t/3.cc: New.
1149         * 22_locale/time_put/put/wchar_t/4.cc: New.
1150         * 22_locale/time_put/put/wchar_t/5.cc: New.
1151         * 22_locale/time_put/put/wchar_t/6.cc: New.
1152         * 22_locale/time_put/put/wchar_t/7.cc: New.
1153         * 22_locale/time_put/put/wchar_t/8.cc: New.
1154         * 22_locale/time_put/put/wchar_t/9.cc: New.
1155         * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
1156         * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
1157
1158 2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>
1159
1160         * config/locale/generic/messages_members.h
1161         (messages_byname<_CharT>::messages_byname): Use this-> to refer to
1162         unqualified members of base clasess.
1163
1164 2003-01-16  Mark Mitchell  <mark@codesourcery.com>
1165             Jeffrey Oldham <oldham@codesourcery.com>
1166         
1167         * config/locale/gnu/messages_members.h: Use this-> to refer to
1168         unqualified members of base clasess.
1169         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
1170         * include/bits/codecvt.h: Likewise.
1171         * include/bits/deque.tcc: Likewise.
1172         * include/bits/fstream.tcc: Likewise.
1173         * include/bits/istream.tcc: Likewise.
1174         * include/bits/list.tcc: Likewise.
1175         * include/bits/locale_facets.h: Likewise.
1176         * include/bits/ostream.tcc: Likewise.
1177         * include/bits/sstream.tcc: Likewise.
1178         * include/bits/stl_bvector.h: Likewise.
1179         * include/bits/stl_deque.h: Likewise.
1180         * include/bits/stl_list.h: Likewise.
1181         * include/bits/stl_tree.h: Likewise.
1182         * include/bits/stl_vector.h: Likewise.
1183         * include/bits/vector.tcc: Likewise.
1184         * include/ext/ropeimpl.h: Likewise.
1185         * include/ext/stdio_filebuf.h: Likewise.
1186         * include/ext/stl_rope.h: Likewise.
1187         * include/std/std_fstream.h: Likewise.
1188         * include/std/std_sstream.h: Likewise.
1189         
1190 2003-01-15  Phil Edwards  <pme@gcc.gnu.org>
1191
1192         * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
1193
1194 2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>
1195
1196         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
1197         GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
1198         * aclocal.m4: Regenerate.
1199         * configure: Regenerate.
1200         * testsuite/Makefile.am (all-local): Add conditional rule to
1201         generate testsuite_wchar_t.
1202         * testsuite/Makefile.in: Regenerate.
1203         * testsuite/lib/libstdc++-v3-dg.exp
1204         (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
1205         testsuite_wchar_t is not present in the build directory.
1206         * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
1207         Remove setulimit bits.
1208         * testsuite/26_numerics/complex_value.cc: Set to noopts.
1209         * testsuite/Makefile.am (CLEANFILES): Add.
1210         * testsuite/Makefile.in: Regenerate.    
1211         
1212 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1213
1214         * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
1215         __hppa__.
1216
1217 2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>
1218
1219         Further conform g++'s __vmi_class_type_info to the C++ ABI
1220         specification.
1221         * libsupc++/cxxabi.h
1222         (__vmi_class_type_info::__flags_masks): Remove enumerations not
1223         required by the specification.
1224
1225 2003-01-12  Benjamin Kosnik  <bkoz@redhat.com>
1226
1227         Renames, namespaces for testsuite utilities.    
1228         * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
1229         (gnu_allocator_tracker): Rename to allocation_tracker.
1230         (gnu_new_allocator): Rename to tracker_alloc.
1231         (__set_testsuite_memlimit): Rename to set_memory_limits.
1232         (gnu_assignment_operator): Rename to assignment_operator.
1233         (gnu_destructor): Rename to destructor.
1234         (gnu_copy_tracker): Rename to copy_tracker.
1235         (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
1236         (run_tests_wrapped_locale): New.
1237         (run_tests_wrapped_env): New.
1238         * testsuite/testsuite_hooks.cc: Same.
1239         (class locale_data): Add.
1240         (class enviornment_variable): Add.
1241         (class not_found): Add.
1242         * testsuite/testsuite_allocator.h: Same.
1243         * testsuite/testsuite_allocator.cc: Same.
1244         * testsuite/23_containers/deque_ctor.cc
1245         (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
1246         allocation_tracker. 
1247         Change gnu_new_allocator to tracker_alloc.
1248         Change gnu_counting_struct to counter.
1249         Change gnu_copy_tracker to copy_tracker.
1250         Change gnu_copy_constructor to copy_constructor.
1251         Change gnu_assignment_operator to assignment_operator.  
1252         Inject.
1253         * testsuite/23_containers/vector_capacity.cc: Same.
1254         * testsuite/23_containers/vector_ctor.cc (test01): Same.
1255         * testsuite/23_containers/list_modifiers.cc: Change
1256         gnu_copy_tracker to copy_tracker.
1257         * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1258         __set_testsuite_memlimit to set_memory_limits.
1259         * testsuite/21_strings/insert.cc (main): Same.
1260         * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1261         * testsuite/27_io/stringstream.cc: Same.
1262         * testsuite/27_io/stringbuf.cc: Same.
1263         * testsuite/27_io/streambuf.cc: Same.
1264         * testsuite/27_io/ostream.cc: Same.
1265         * testsuite/27_io/istream.cc: Same.
1266         * testsuite/27_io/fstream.cc: Same.
1267         * testsuite/lib/libstdc++-v3-dg.exp
1268         (libstdc++-v3-list-sourcefiles): Additionally handle files two and
1269         three levels deeper in glob patterns.
1270
1271 2003-01-11  Phil Edwards  <pme@gcc.gnu.org>
1272
1273         * docs/doxygen/tables.html:  Finished now.
1274         * docs/doxygen/user.cfg.in:  Update to latest version of Doxygen.
1275         * include/bits/basic_ios.h (basic_ios::rdbuf):  Add example to
1276         comments.
1277
1278         * include/bits/deque.tcc, include/bits/stl_alloc.h,
1279         include/bits/stl_deque.h, include/bits/stl_list.h,
1280         include/bits/stl_vector.h:  Remove _GLIBCPP_DEPRECATED bits scheduled
1281         for 3.4 removal.
1282
1283 2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>
1284
1285         * configure.in: Revert.
1286         * configure: Regenerate.
1287
1288 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
1289
1290         * include/Makefile.am (install-data-local): Prepend
1291         $(DESTDIR) to destination paths in all (un)installation
1292         commands.  Use ${c_base_builddir} and ${std_builddir}
1293         as destination subdirectories to achieve consistency with
1294         preceding mkinstalldirs commands.  No effect because both
1295         variables contain "." only.
1296         * include/Makefile.in: Regenerate.
1297
1298 2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>
1299
1300         * include/Makefile.am (stamp-*): Add checks for existing stamps.
1301         * include/Makefile.in: Regenerate.
1302
1303         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
1304         * aclocal.m4: Regenerate.
1305
1306         * configure.in: Don't add new multi-do rules every time the
1307         directory is reconfigured.
1308         * configure: Regenerate.
1309         
1310 2003-01-08  Brad Spencer  <spencer@infointeractive.com>
1311             Nathan Myers  <ncm@cantrip.org>
1312         
1313         * src/Makefile.am (stamp-debug): Clean.
1314         * src/Makefile.in: Regenerate.
1315         
1316 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
1317
1318         PR libstdc++/8707
1319         * Makefile.am (distclean-multi): Fix.
1320         * Makefile.in: Regenerate.
1321         
1322 2003-01-06  Benjamin Kosnik  <bkoz@redhat.com>
1323
1324         * include/bits/locale_facets.h (messages): Move ctor, dtor
1325         definitions to..
1326         (__timepunct): Same.
1327         * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1328         definitions. Conditionalize for GNU systems.
1329         * config/locale/generic/messages_members.h (messages): Add dtor, ctor
1330         definitions.
1331         * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1332         definitions. Conditionalize for GNU systems.
1333         * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1334         definitions.
1335         * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1336         * src/locale.cc: Define.
1337         * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1338         Use it.
1339         * config/locale/gnu/time_members.h: Use it.
1340         * config/locale/gnu/messages_members.h: Use it.
1341         * config/linker-map.gnu: Add locale::facets details.    
1342         * include/Makefile.am (target_headers_extra): Add time_members.h.
1343         * include/Makefile.in: Regenerate.
1344         * acinclude.m4: Export CTIME_H.
1345         * aclocal.m4: Regenerate.
1346         * configure: Regnerate.
1347
1348 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
1349
1350         * src/codecvt.cc
1351         (codecvt<char, char, mbstate_t>::do_in, do_out):
1352         Tweak parameters to avoid unused parameter warnings.
1353
1354 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
1355
1356         PR libstdc++/9151
1357         * include/bits/locale_facets.cc (num_put::_M_convert_float):
1358         Limit __prec to digits10 + 2, not digits10 + 1, taking into
1359         account the possibility of %{g,G} conversion specifiers
1360         inside _S_format_float.
1361         * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1362
1363 2003-01-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1364
1365         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1366         libstdc++-v3-list-sourcefiles): Additionally handle files one
1367         level deeper in glob patterns.
1368         
1369         * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1370         * testsuite/27_io/istream_extractor_arith/01.cc,
1371         testsuite/27_io/istream_extractor_arith/02.cc,
1372         testsuite/27_io/istream_extractor_arith/03.cc,
1373         testsuite/27_io/istream_extractor_arith/06.cc,
1374         testsuite/27_io/istream_extractor_arith/07.cc,
1375         testsuite/27_io/istream_extractor_arith/08.cc,
1376         testsuite/27_io/istream_extractor_arith/09.cc,
1377         testsuite/27_io/istream_extractor_arith/10.cc,
1378         testsuite/27_io/istream_extractor_arith/11.cc,
1379         testsuite/27_io/istream_extractor_arith/12.cc,
1380         testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1381         * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1382         sparc*-*-solaris2*.
1383
1384 2003-01-05  Paolo Carlini <pcarlini@unitus.it>
1385
1386         PR libstdc++/9168
1387         * src/codecvt.cc
1388         (codecvt<char, char, mbstate_t>::do_in, do_out):
1389         Implement the resolution of DR19 (TC).
1390         * testsuite/22_locale/codecvt_members_char_char.cc
1391         (test01): Tweak.
1392
1393 2003-01-02  Jason Merrill  <jason@redhat.com>
1394
1395         * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
1396         *__mem is also an output.
1397         * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.