OSDN Git Service

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