OSDN Git Service

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