OSDN Git Service

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