OSDN Git Service

81411d8636322f1e11512ac8750beba4291cca0c
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2003-02-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
2             Phil Edwards  <pme@gcc.gnu.org>
3
4         * include/std/std_bitset.h:  Replace CHAR_BIT with __CHAR_BIT__, use
5         numeric_limits for bits-per-word values.
6         (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
7         Use __builtin_popcountl instead.
8         (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
9         _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
10         Use __builtin_ctzl instead.
11         (_S_bit_count, _S_first_one):  Remove.
12         * config/linker-map.gnu (GLIBCPP_3.4):  Remove std::_S_bit_count.
13         * src/Makefile.am (sources):  Remove bitset.cc.
14         * src/bitset.cc:  Delete file.
15         * src/Makefile.in:  Regenerate.
16
17 2003-02-03  Phil Edwards  <pme@gcc.gnu.org>
18
19         PR libstdc++/9527, PR libstdc++/8713
20         * docs/html/install.html:  Mention glibc version requirement.
21         * docs/html/faq/index.html (3.8):  New note, glibc 2.2.5+ is needed
22         with 3.2.1+ (formatting bugfixes).
23         * docs/html/faq/index.txt:  Regenerate.
24
25 2003-02-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
26
27         PR libstdc++/9234
28         * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
29         operator.
30
31         * include/bits/valarray_before.h (__not_equal_to): Use != instead of ==.
32
33         * testsuite/26_numerics/valarray_operators.cc: New test.
34
35 2003-02-01  Phil Edwards  <pme@gcc.gnu.org>
36
37         * docs/html/faq/index.html:  Correct link to libg++ information.
38         * docs/html/faq/index.txt:  Regenerated.
39
40 2003-02-01  Paolo Carlini  <pcarlini@unitus.it>
41             Benjamin Kosnik  <bkoz@redhat.com>
42
43         Const correctness issue:
44         http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
45         * include/bits/locale_classes.h
46         (locale::_Impl::_M_facets): Change type to const facet**.
47         (locale::_Impl::_M_install_facet): Change declaration to
48         take const facet*.
49         (locale::facet::_M_references): Make mutable.
50         (locale::facet::_M_add_reference): Declare const.
51         (locale::facet::_M_remove_reference): Likewise.
52         * include/bits/locale_facets.tcc
53         (use_facet(const locale&)): Tweak for const facet** _M_facets.
54         (has_facet(const locale&)): Likewise.
55         * src/locale.cc
56         (locale::facet::_M_add_reference): Adjust definition.
57         (locale::facet::_M_remove_reference): Likewise.
58         * src/localename.cc
59         (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
60         const facet** _M_facets.
61         (locale::_Impl::_Impl(const char*, size_t)): Likewise.
62         (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
63         (locale::_Impl::_M_install_facet): Adjust definition to take
64         const facet* and for const facet** _M_facets.
65         * testsuite/22_locale/locale/cons/8.cc: Add.
66
67 2003-01-29  Mark Mitchell  <mark@codesourcery.com>
68
69         * include/std/std_limits.h (numeric_limits<float>::has_infinity):
70         Use __FLT_HAS_INIFINITY__ to initialize.
71         (numeric_limits<float>::has_quiet_NaN): Likewise.
72         (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
73         to initialize.
74         (numeric_limits<double>::has_quiet_NaN): Likewise.
75         (numeric_limits<long double>::has_infinity): Use
76         __LDBL_HAS_INIFINITY__ to initialize.
77         (numeric_limits<long_double>::has_quiet_NaN): Likewise.
78
79 2003-01-28  Nathan Sidwell  <nathan@codesourcery.com>
80
81         PR c++/9433
82         * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
83         with bases which are very ambiguous.
84
85 2003-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
86
87         * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
88         @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
89         * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
90         * src/Makefile.in: Regenerate.
91         * libsupc++/Makefile.in: Regenerate.
92
93 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
94
95         * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
96         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
97         version_specific_libs is enabled.
98         * aclocal.m4, configure: Rebuilt.
99
100 2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
101
102         * include/bits/valarray_meta.h: Remove, split into ...
103         * include/bits/valarray_before.h: ... this, and ...
104         * include/bits/valarray_after.h: ... this.
105         * include/std/std_valarray.h: Adjust.
106         * include/Makefile.am (bits_headers): Adjust.
107         * include/Makefile.in: Regenerate.
108
109 2003-01-24  Andreas Schwab  <schwab@suse.de>
110
111         * config/linker-map.gnu: Fix for size_t variance.
112
113 2003-01-23  Petur Runolfsson  <peturr02@ru.is>
114
115         PR libstdc++/9322
116         * include/std/std_streambuf.h
117         (basic_streambuf::basic_streambuf,
118         basic_streambuf::~basic_streambuf,
119         basic_streambuf::getloc, basic_streambuf::imbue):
120         Remove _M_buf_locale_init
121         * include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
122         * testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
123         * testsuite/27_io/streambuf_members.cc (test08):  Add.
124         * testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.
125
126 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
127
128         Revert include ordering.
129         * config/locale/generic/c_locale.h: Add include guards.
130         * config/locale/gnu/c_locale.h: Same.
131         * include/bits/locale_classes.h: Remove cctype include.
132         * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
133         * include/std/std_fstream.h: Remove streambuf include.
134         * include/std/std_sstream.h: Remove streambuf include.
135         
136 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
137
138         * configure.in (libtool_VERSION): To 6:0:0.
139         * configure: Regenerated.
140         * config/linker-map.gnu: Clean.
141         
142         * src/misc-inst.cc: Remove instantiations.
143
144         * include/bits/stl_alloc.h (__malloc_alloc_template): 
145         To __malloc_alloc.
146         (__default_alloc_template): To __pool_alloc.
147         * src/stl-inst.cc: Same.
148         * include/backward/alloc.h: Update.
149         * testsuite/ext/allocators.cc: Update.
150         
151         * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
152         really try to remove these if possible.
153         * src/locale.cc (std): Same.
154
155         * testsuite/abi_check.cc (check_version): Add.
156
157 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
158             Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
159             Mark Mitchell  <mark@codesourcery.com>
160         
161         PR libstdc++/9269
162         * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
163         (basic_filebuf::underflow): Declare.
164         Move definitions.
165
166 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
167
168         * include/bits/locale_facets.h: Move non-facet classes requiring
169         <string> to...  
170         * include/bits/locale_classes.h: New.  
171         * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
172         * include/bits/Makefile.in: Regenerate.
173
174         * include/bits/locale_facets.tcc (__convert_from_v): Move to...
175         * config/locale/gnu/c_locale.h: ...here.
176         * config/locale/generic/c_locale.h: Same.
177         
178         * include/bits/locale_facets.tcc: Move declarations to...
179         * include/bits/locale_facets.h: ...here.
180         * include/bits/basic_ios.h: Tweak includes accordingly.
181         * include/std/std_sstream.h: Add streambuf include.
182         * include/std/std_fstream.h: Ditto.
183         * include/std/std_locale.h: Add locale_classes.h include.
184         * include/std/std_iosfwd.h: Tweak.
185         * src/concept-inst.cc: Add iterator include.
186
187         * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
188         bits as unexported in the future.
189         
190 2003-01-21  Benjamin Kosnik  <bkoz@redhat.com>
191
192         Reshuffle 22_locale testsuite.
193         * 22_locale/(codecvt.cc money_get.cc
194         codecvt_members_char_char.cc money_get_members_char.cc
195         codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
196         codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
197         codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
198         moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
199         collate_members_char.cc money_put.cc collate_members_wchar_t.cc
200         money_put_members_char.cc ctor_copy_dtor.cc
201         money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
202         num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
203         ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
204         numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
205         ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
206         num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
207         ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
208         operators.cc ctype_widen_char.cc static_members.cc
209         ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
210         global_templates.cc time_get_members_wchar_t.cc, members.cc,
211         time_put.cc, messages_byname.cc, time_put_members_char.cc,
212         messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc): 
213         Splint up into individual test cases... 
214         * 22_locale/codecvt/1.cc: New.
215         * 22_locale/codecvt/2.cc: New.
216         * 22_locale/codecvt/always_noconv/char/1.cc: New.
217         * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
218         * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
219         * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
220         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
221         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
222         * 22_locale/codecvt/encoding/char/1.cc: New.
223         * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
224         * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
225         * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
226         * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
227         * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
228         * 22_locale/codecvt/in/char/1.cc: New.
229         * 22_locale/codecvt/in/char/wrapped_env.cc: New.
230         * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
231         * 22_locale/codecvt/in/wchar_t/1.cc: New.
232         * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
233         * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
234         * 22_locale/codecvt/length/char/1.cc: New.
235         * 22_locale/codecvt/length/char/wrapped_env.cc: New.
236         * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
237         * 22_locale/codecvt/length/wchar_t/1.cc: New.
238         * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
239         * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
240         * 22_locale/codecvt/max_length/char/1.cc: New.
241         * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
242         * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
243         * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
244         * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
245         * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
246         * 22_locale/codecvt/out/char/1.cc: New.
247         * 22_locale/codecvt/out/char/wrapped_env.cc: New.
248         * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
249         * 22_locale/codecvt/out/wchar_t/1.cc: New.
250         * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
251         * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
252         * 22_locale/codecvt/unicode/char.cc: New.
253         * 22_locale/codecvt/unicode/wchar_t.cc: New.
254         * 22_locale/codecvt/unshift/char/1.cc: New.
255         * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
256         * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
257         * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
258         * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
259         * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
260         * 22_locale/collate/1.cc: New.
261         * 22_locale/collate/2.cc: New.
262         * 22_locale/collate/compare/char/1.cc: New.
263         * 22_locale/collate/compare/char/2.cc: New.
264         * 22_locale/collate/compare/char/wrapped_env.cc: New.
265         * 22_locale/collate/compare/char/wrapped_locale.cc: New.
266         * 22_locale/collate/compare/wchar_t/1.cc: New.
267         * 22_locale/collate/compare/wchar_t/2.cc: New.
268         * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
269         * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
270         * 22_locale/collate/hash/char/1.cc: New.
271         * 22_locale/collate/hash/char/2.cc: New.
272         * 22_locale/collate/hash/char/wrapped_env.cc: New.
273         * 22_locale/collate/hash/char/wrapped_locale.cc: New.
274         * 22_locale/collate/hash/wchar_t/1.cc: New.
275         * 22_locale/collate/hash/wchar_t/2.cc: New.
276         * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
277         * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
278         * 22_locale/collate/transform/char/2.cc: New.
279         * 22_locale/collate/transform/char/wrapped_env.cc: New.
280         * 22_locale/collate/transform/char/wrapped_locale.cc: New.
281         * 22_locale/collate/transform/wchar_t/2.cc: New.
282         * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
283         * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
284         * 22_locale/collate_byname/1.cc: New.
285         * 22_locale/ctype/1.cc: New.
286         * 22_locale/ctype/2.cc: New.
287         * 22_locale/ctype/cons/char/1.cc: New.
288         * 22_locale/ctype/cons/char/wrapped_env.cc: New.
289         * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
290         * 22_locale/ctype/is/char/1.cc: New.
291         * 22_locale/ctype/is/char/2.cc: New.
292         * 22_locale/ctype/is/char/3.cc: New.
293         * 22_locale/ctype/is/char/wrapped_env.cc: New.
294         * 22_locale/ctype/is/char/wrapped_locale.cc: New.
295         * 22_locale/ctype/is/wchar_t/1.cc: New.
296         * 22_locale/ctype/is/wchar_t/2.cc: New.
297         * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
298         * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
299         * 22_locale/ctype/narrow/char/1.cc: New.
300         * 22_locale/ctype/narrow/char/2.cc: New.
301         * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
302         * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
303         * 22_locale/ctype/narrow/wchar_t/1.cc: New.
304         * 22_locale/ctype/narrow/wchar_t/2.cc: New.
305         * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
306         * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
307         * 22_locale/ctype/scan/char/1.cc: New.
308         * 22_locale/ctype/scan/char/wrapped_env.cc: New.
309         * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
310         * 22_locale/ctype/scan/wchar_t/1.cc: New.
311         * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
312         * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
313         * 22_locale/ctype/to/char/1.cc: New.
314         * 22_locale/ctype/to/char/wrapped_env.cc: New.
315         * 22_locale/ctype/to/char/wrapped_locale.cc: New.
316         * 22_locale/ctype/to/wchar_t/1.cc: New.
317         * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
318         * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
319         * 22_locale/ctype/widen/char/1.cc: New.
320         * 22_locale/ctype/widen/char/wrapped_env.cc: New.
321         * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
322         * 22_locale/ctype/widen/wchar_t/1.cc: New.
323         * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
324         * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
325         * 22_locale/facet/1.cc: New.
326         * 22_locale/facet/2.cc: New.
327         * 22_locale/global_templates/1.cc: New.
328         * 22_locale/locale/cons/1.cc: New.
329         * 22_locale/locale/cons/2.cc: New.
330         * 22_locale/locale/cons/3.cc: New.
331         * 22_locale/locale/cons/4.cc: New.
332         * 22_locale/locale/cons/5.cc: New.
333         * 22_locale/locale/cons/6.cc: New.
334         * 22_locale/locale/cons/7.cc: New.
335         * 22_locale/locale/global_locale_objects/1.cc: New.
336         * 22_locale/locale/global_locale_objects/2.cc: New.
337         * 22_locale/locale/global_locale_objects/3.cc: New.
338         * 22_locale/locale/operations/1.cc: New.
339         * 22_locale/locale/operations/2.cc: New.
340         * 22_locale/messages/1.cc: New.
341         * 22_locale/messages/2.cc: New.
342         * 22_locale/messages/members/char/1.cc: New.
343         * 22_locale/messages/members/char/2.cc: New.
344         * 22_locale/messages/members/char/3.cc: New.
345         * 22_locale/messages/members/char/wrapped_env.cc: New.
346         * 22_locale/messages/members/char/wrapped_locale.cc: New.
347         * 22_locale/messages_byname/1.cc: New.
348         * 22_locale/money_get/1.cc: New.
349         * 22_locale/money_get/2.cc: New.
350         * 22_locale/money_get/get/char/1.cc: New.
351         * 22_locale/money_get/get/char/2.cc: New.
352         * 22_locale/money_get/get/char/3.cc: New.
353         * 22_locale/money_get/get/char/4.cc: New.
354         * 22_locale/money_get/get/char/5.cc: New.
355         * 22_locale/money_get/get/char/6.cc: New.
356         * 22_locale/money_get/get/char/7.cc: New.
357         * 22_locale/money_get/get/char/8.cc: New.
358         * 22_locale/money_get/get/char/wrapped_env.cc: New.
359         * 22_locale/money_get/get/char/wrapped_locale.cc: New.
360         * 22_locale/money_get/get/wchar_t/1.cc: New.
361         * 22_locale/money_get/get/wchar_t/2.cc: New.
362         * 22_locale/money_get/get/wchar_t/3.cc: New.
363         * 22_locale/money_get/get/wchar_t/4.cc: New.
364         * 22_locale/money_get/get/wchar_t/5.cc: New.
365         * 22_locale/money_get/get/wchar_t/6.cc: New.
366         * 22_locale/money_get/get/wchar_t/7.cc: New.
367         * 22_locale/money_get/get/wchar_t/8.cc: New.
368         * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
369         * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
370         * 22_locale/money_put/1.cc: New.
371         * 22_locale/money_put/2.cc: New.
372         * 22_locale/money_put/put/char/1.cc: New.
373         * 22_locale/money_put/put/char/2.cc: New.
374         * 22_locale/money_put/put/char/3.cc: New.
375         * 22_locale/money_put/put/char/4.cc: New.
376         * 22_locale/money_put/put/char/5.cc: New.
377         * 22_locale/money_put/put/char/6.cc: New.
378         * 22_locale/money_put/put/char/wrapped_env.cc: New.
379         * 22_locale/money_put/put/char/wrapped_locale.cc: New.
380         * 22_locale/money_put/put/wchar_t/1.cc: New.
381         * 22_locale/money_put/put/wchar_t/2.cc: New.
382         * 22_locale/money_put/put/wchar_t/3.cc: New.
383         * 22_locale/money_put/put/wchar_t/4.cc: New.
384         * 22_locale/money_put/put/wchar_t/5.cc: New.
385         * 22_locale/money_put/put/wchar_t/6.cc: New.
386         * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
387         * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
388         * 22_locale/moneypunct/1.cc: New.
389         * 22_locale/moneypunct/2.cc: New.
390         * 22_locale/moneypunct/3.cc: New.
391         * 22_locale/moneypunct/members/char/1.cc: New.
392         * 22_locale/moneypunct/members/char/2.cc: New.
393         * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
394         * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
395         * 22_locale/moneypunct/members/wchar_t/1.cc: New.
396         * 22_locale/moneypunct/members/wchar_t/2.cc: New.
397         * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
398         * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
399         * 22_locale/moneypunct_byname/1.cc: New.
400         * 22_locale/num_get/1.cc: New.
401         * 22_locale/num_get/2.cc: New.
402         * 22_locale/num_get/get/char/1.cc: New.
403         * 22_locale/num_get/get/char/2.cc: New.
404         * 22_locale/num_get/get/char/3.cc: New.
405         * 22_locale/num_get/get/char/4.cc: New.
406         * 22_locale/num_get/get/char/5.cc: New.
407         * 22_locale/num_get/get/char/6.cc: New.
408         * 22_locale/num_get/get/char/wrapped_env.cc: New.
409         * 22_locale/num_get/get/char/wrapped_locale.cc: New.
410         * 22_locale/num_get/get/wchar_t/1.cc: New.
411         * 22_locale/num_get/get/wchar_t/2.cc: New.
412         * 22_locale/num_get/get/wchar_t/3.cc: New.
413         * 22_locale/num_get/get/wchar_t/4.cc: New.
414         * 22_locale/num_get/get/wchar_t/5.cc: New.
415         * 22_locale/num_get/get/wchar_t/6.cc: New.
416         * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
417         * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
418         * 22_locale/num_put/1.cc: New.
419         * 22_locale/num_put/2.cc: New.
420         * 22_locale/num_put/put/char/1.cc: New.
421         * 22_locale/num_put/put/char/2.cc: New.
422         * 22_locale/num_put/put/char/3.cc: New.
423         * 22_locale/num_put/put/char/4.cc: New.
424         * 22_locale/num_put/put/char/5.cc: New.
425         * 22_locale/num_put/put/char/wrapped_env.cc: New.
426         * 22_locale/num_put/put/char/wrapped_locale.cc: New.
427         * 22_locale/num_put/put/wchar_t/1.cc: New.
428         * 22_locale/num_put/put/wchar_t/2.cc: New.
429         * 22_locale/num_put/put/wchar_t/3.cc: New.
430         * 22_locale/num_put/put/wchar_t/4.cc: New.
431         * 22_locale/num_put/put/wchar_t/5.cc: New.
432         * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
433         * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
434         * 22_locale/numpunct/1.cc: New.
435         * 22_locale/numpunct/2.cc: New.
436         * 22_locale/numpunct/members/char/1.cc: New.
437         * 22_locale/numpunct/members/char/2.cc: New.
438         * 22_locale/numpunct/members/char/wrapped_env.cc: New.
439         * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
440         * 22_locale/numpunct/members/wchar_t/1.cc: New.
441         * 22_locale/numpunct/members/wchar_t/2.cc: New.
442         * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
443         * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
444         * 22_locale/numpunct_byname/1.cc: New.
445         * 22_locale/numpunct_byname/2.cc: New.
446         * 22_locale/time_get/1.cc: New.
447         * 22_locale/time_get/2.cc: New.
448         * 22_locale/time_get/date_order/char/1.cc: New.
449         * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
450         * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
451         * 22_locale/time_get/date_order/wchar_t/1.cc: New.
452         * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
453         * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
454         * 22_locale/time_get/get_date/char/1.cc: New.
455         * 22_locale/time_get/get_date/char/2.cc: New.
456         * 22_locale/time_get/get_date/char/3.cc: New.
457         * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
458         * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
459         * 22_locale/time_get/get_date/wchar_t/1.cc: New.
460         * 22_locale/time_get/get_date/wchar_t/2.cc: New.
461         * 22_locale/time_get/get_date/wchar_t/3.cc: New.
462         * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
463         * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
464         * 22_locale/time_get/get_monthname/char/1.cc: New.
465         * 22_locale/time_get/get_monthname/char/2.cc: New.
466         * 22_locale/time_get/get_monthname/char/3.cc: New.
467         * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
468         * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
469         * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
470         * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
471         * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
472         * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
473         * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
474         * 22_locale/time_get/get_time/char/1.cc: New.
475         * 22_locale/time_get/get_time/char/2.cc: New.
476         * 22_locale/time_get/get_time/char/3.cc: New.
477         * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
478         * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
479         * 22_locale/time_get/get_time/wchar_t/1.cc: New.
480         * 22_locale/time_get/get_time/wchar_t/2.cc: New.
481         * 22_locale/time_get/get_time/wchar_t/3.cc: New.
482         * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
483         * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
484         * 22_locale/time_get/get_weekday/char/1.cc: New.
485         * 22_locale/time_get/get_weekday/char/2.cc: New.
486         * 22_locale/time_get/get_weekday/char/3.cc: New.
487         * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
488         * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
489         * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
490         * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
491         * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
492         * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
493         * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
494         * 22_locale/time_get/get_year/char/1.cc: New.
495         * 22_locale/time_get/get_year/char/3.cc: New.
496         * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
497         * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
498         * 22_locale/time_get/get_year/wchar_t/1.cc: New.
499         * 22_locale/time_get/get_year/wchar_t/3.cc: New.
500         * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
501         * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
502         * 22_locale/time_put/1.cc: New.
503         * 22_locale/time_put/2.cc: New.
504         * 22_locale/time_put/put/char/1.cc: New.
505         * 22_locale/time_put/put/char/10.cc: New.
506         * 22_locale/time_put/put/char/2.cc: New.
507         * 22_locale/time_put/put/char/3.cc: New.
508         * 22_locale/time_put/put/char/4.cc: New.
509         * 22_locale/time_put/put/char/5.cc: New.
510         * 22_locale/time_put/put/char/6.cc: New.
511         * 22_locale/time_put/put/char/7.cc: New.
512         * 22_locale/time_put/put/char/8.cc: New.
513         * 22_locale/time_put/put/char/9.cc: New.
514         * 22_locale/time_put/put/char/wrapped_env.cc: New.
515         * 22_locale/time_put/put/char/wrapped_locale.cc: New.
516         * 22_locale/time_put/put/wchar_t/1.cc: New.
517         * 22_locale/time_put/put/wchar_t/10.cc: New.
518         * 22_locale/time_put/put/wchar_t/2.cc: New.
519         * 22_locale/time_put/put/wchar_t/3.cc: New.
520         * 22_locale/time_put/put/wchar_t/4.cc: New.
521         * 22_locale/time_put/put/wchar_t/5.cc: New.
522         * 22_locale/time_put/put/wchar_t/6.cc: New.
523         * 22_locale/time_put/put/wchar_t/7.cc: New.
524         * 22_locale/time_put/put/wchar_t/8.cc: New.
525         * 22_locale/time_put/put/wchar_t/9.cc: New.
526         * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
527         * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
528
529 2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>
530
531         * config/locale/generic/messages_members.h
532         (messages_byname<_CharT>::messages_byname): Use this-> to refer to
533         unqualified members of base clasess.
534
535 2003-01-16  Mark Mitchell  <mark@codesourcery.com>
536             Jeffrey Oldham <oldham@codesourcery.com>
537         
538         * config/locale/gnu/messages_members.h: Use this-> to refer to
539         unqualified members of base clasess.
540         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
541         * include/bits/codecvt.h: Likewise.
542         * include/bits/deque.tcc: Likewise.
543         * include/bits/fstream.tcc: Likewise.
544         * include/bits/istream.tcc: Likewise.
545         * include/bits/list.tcc: Likewise.
546         * include/bits/locale_facets.h: Likewise.
547         * include/bits/ostream.tcc: Likewise.
548         * include/bits/sstream.tcc: Likewise.
549         * include/bits/stl_bvector.h: Likewise.
550         * include/bits/stl_deque.h: Likewise.
551         * include/bits/stl_list.h: Likewise.
552         * include/bits/stl_tree.h: Likewise.
553         * include/bits/stl_vector.h: Likewise.
554         * include/bits/vector.tcc: Likewise.
555         * include/ext/ropeimpl.h: Likewise.
556         * include/ext/stdio_filebuf.h: Likewise.
557         * include/ext/stl_rope.h: Likewise.
558         * include/std/std_fstream.h: Likewise.
559         * include/std/std_sstream.h: Likewise.
560         
561 2003-01-15  Phil Edwards  <pme@gcc.gnu.org>
562
563         * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
564
565 2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>
566
567         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
568         GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
569         * aclocal.m4: Regenerate.
570         * configure: Regenerate.
571         * testsuite/Makefile.am (all-local): Add conditional rule to
572         generate testsuite_wchar_t.
573         * testsuite/Makefile.in: Regenerate.
574         * testsuite/lib/libstdc++-v3-dg.exp
575         (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
576         testsuite_wchar_t is not present in the build directory.
577         * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
578         Remove setulimit bits.
579         * testsuite/26_numerics/complex_value.cc: Set to noopts.
580         * testsuite/Makefile.am (CLEANFILES): Add.
581         * testsuite/Makefile.in: Regenerate.    
582         
583 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
584
585         * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
586         __hppa__.
587
588 2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>
589
590         Further conform g++'s __vmi_class_type_info to the C++ ABI
591         specification.
592         * libsupc++/cxxabi.h
593         (__vmi_class_type_info::__flags_masks): Remove enumerations not
594         required by the specification.
595
596 2003-01-12  Benjamin Kosnik  <bkoz@redhat.com>
597
598         Renames, namespaces for testsuite utilities.    
599         * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
600         (gnu_allocator_tracker): Rename to allocation_tracker.
601         (gnu_new_allocator): Rename to tracker_alloc.
602         (__set_testsuite_memlimit): Rename to set_memory_limits.
603         (gnu_assignment_operator): Rename to assignment_operator.
604         (gnu_destructor): Rename to destructor.
605         (gnu_copy_tracker): Rename to copy_tracker.
606         (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
607         (run_tests_wrapped_locale): New.
608         (run_tests_wrapped_env): New.
609         * testsuite/testsuite_hooks.cc: Same.
610         (class locale_data): Add.
611         (class enviornment_variable): Add.
612         (class not_found): Add.
613         * testsuite/testsuite_allocator.h: Same.
614         * testsuite/testsuite_allocator.cc: Same.
615         * testsuite/23_containers/deque_ctor.cc
616         (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
617         allocation_tracker. 
618         Change gnu_new_allocator to tracker_alloc.
619         Change gnu_counting_struct to counter.
620         Change gnu_copy_tracker to copy_tracker.
621         Change gnu_copy_constructor to copy_constructor.
622         Change gnu_assignment_operator to assignment_operator.  
623         Inject.
624         * testsuite/23_containers/vector_capacity.cc: Same.
625         * testsuite/23_containers/vector_ctor.cc (test01): Same.
626         * testsuite/23_containers/list_modifiers.cc: Change
627         gnu_copy_tracker to copy_tracker.
628         * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
629         __set_testsuite_memlimit to set_memory_limits.
630         * testsuite/21_strings/insert.cc (main): Same.
631         * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
632         * testsuite/27_io/stringstream.cc: Same.
633         * testsuite/27_io/stringbuf.cc: Same.
634         * testsuite/27_io/streambuf.cc: Same.
635         * testsuite/27_io/ostream.cc: Same.
636         * testsuite/27_io/istream.cc: Same.
637         * testsuite/27_io/fstream.cc: Same.
638         * testsuite/lib/libstdc++-v3-dg.exp
639         (libstdc++-v3-list-sourcefiles): Additionally handle files two and
640         three levels deeper in glob patterns.
641
642 2003-01-11  Phil Edwards  <pme@gcc.gnu.org>
643
644         * docs/doxygen/tables.html:  Finished now.
645         * docs/doxygen/user.cfg.in:  Update to latest version of Doxygen.
646         * include/bits/basic_ios.h (basic_ios::rdbuf):  Add example to
647         comments.
648
649         * include/bits/deque.tcc, include/bits/stl_alloc.h,
650         include/bits/stl_deque.h, include/bits/stl_list.h,
651         include/bits/stl_vector.h:  Remove _GLIBCPP_DEPRECATED bits scheduled
652         for 3.4 removal.
653
654 2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>
655
656         * configure.in: Revert.
657         * configure: Regenerate.
658
659 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
660
661         * include/Makefile.am (install-data-local): Prepend
662         $(DESTDIR) to destination paths in all (un)installation
663         commands.  Use ${c_base_builddir} and ${std_builddir}
664         as destination subdirectories to achieve consistency with
665         preceding mkinstalldirs commands.  No effect because both
666         variables contain "." only.
667         * include/Makefile.in: Regenerate.
668
669 2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>
670
671         * include/Makefile.am (stamp-*): Add checks for existing stamps.
672         * include/Makefile.in: Regenerate.
673
674         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
675         * aclocal.m4: Regenerate.
676
677         * configure.in: Don't add new multi-do rules every time the
678         directory is reconfigured.
679         * configure: Regenerate.
680         
681 2003-01-08  Brad Spencer  <spencer@infointeractive.com>
682             Nathan Myers  <ncm@cantrip.org>
683         
684         * src/Makefile.am (stamp-debug): Clean.
685         * src/Makefile.in: Regenerate.
686         
687 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
688
689         PR libstdc++/8707
690         * Makefile.am (distclean-multi): Fix.
691         * Makefile.in: Regenerate.
692         
693 2003-01-06  Benjamin Kosnik  <bkoz@redhat.com>
694
695         * include/bits/locale_facets.h (messages): Move ctor, dtor
696         definitions to..
697         (__timepunct): Same.
698         * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
699         definitions. Conditionalize for GNU systems.
700         * config/locale/generic/messages_members.h (messages): Add dtor, ctor
701         definitions.
702         * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
703         definitions. Conditionalize for GNU systems.
704         * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
705         definitions.
706         * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
707         * src/locale.cc: Define.
708         * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
709         Use it.
710         * config/locale/gnu/time_members.h: Use it.
711         * config/locale/gnu/messages_members.h: Use it.
712         * config/linker-map.gnu: Add locale::facets details.    
713         * include/Makefile.am (target_headers_extra): Add time_members.h.
714         * include/Makefile.in: Regenerate.
715         * acinclude.m4: Export CTIME_H.
716         * aclocal.m4: Regenerate.
717         * configure: Regnerate.
718
719 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
720
721         * src/codecvt.cc
722         (codecvt<char, char, mbstate_t>::do_in, do_out):
723         Tweak parameters to avoid unused parameter warnings.
724
725 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
726
727         PR libstdc++/9151
728         * include/bits/locale_facets.cc (num_put::_M_convert_float):
729         Limit __prec to digits10 + 2, not digits10 + 1, taking into
730         account the possibility of %{g,G} conversion specifiers
731         inside _S_format_float.
732         * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
733
734 2003-01-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
735
736         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
737         libstdc++-v3-list-sourcefiles): Additionally handle files one
738         level deeper in glob patterns.
739         
740         * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
741         * testsuite/27_io/istream_extractor_arith/01.cc,
742         testsuite/27_io/istream_extractor_arith/02.cc,
743         testsuite/27_io/istream_extractor_arith/03.cc,
744         testsuite/27_io/istream_extractor_arith/06.cc,
745         testsuite/27_io/istream_extractor_arith/07.cc,
746         testsuite/27_io/istream_extractor_arith/08.cc,
747         testsuite/27_io/istream_extractor_arith/09.cc,
748         testsuite/27_io/istream_extractor_arith/10.cc,
749         testsuite/27_io/istream_extractor_arith/11.cc,
750         testsuite/27_io/istream_extractor_arith/12.cc,
751         testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
752         * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
753         sparc*-*-solaris2*.
754
755 2003-01-05  Paolo Carlini <pcarlini@unitus.it>
756
757         PR libstdc++/9168
758         * src/codecvt.cc
759         (codecvt<char, char, mbstate_t>::do_in, do_out):
760         Implement the resolution of DR19 (TC).
761         * testsuite/22_locale/codecvt_members_char_char.cc
762         (test01): Tweak.
763
764 2003-01-02  Jason Merrill  <jason@redhat.com>
765
766         * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
767         *__mem is also an output.
768         * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.