OSDN Git Service

bf0a1fd9cc478a6538ef61ef4dbc8f5b0d9912ac
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-01-23  Richard Henderson  <rth@redhat.com>
2
3         PR libstdc++/5198
4         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
5         CAS on the cpu variants that support it.  Add versions that use
6         TAS and that disable interrupts.
7         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
8
9 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
10
11         * include/bits/locale_facets.tcc: Remove old comments.
12
13 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
14
15         * include/bits/locale_facets.tcc (__convert_to_v): Change template
16         parameter to _Tv.
17         (__convert_from_v): Same.
18         
19 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
20
21         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
22         prototype.
23         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
24         __max_digits checks, adjust arguments.
25         (num_get::do_get(*)): Changeup.
26
27 2002-01-23  Loren Rittle <ljrittle@acm.org>
28
29         * config/locale/c_locale_generic.cc: Fix typename usage.
30
31 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
32
33         * config/locale/c_locale_generic.cc: Fix.
34
35 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
36
37         * docs/html/22_locale/messages.html: Remove angle brackets.
38         * docs/html/17_intro/TODO: Add.
39         
40 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
41
42         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
43         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
44         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
45         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
46
47 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
48
49         Audit for LANG independence.
50         * include/bits/localefwd.h: Tweaks.
51         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
52         Use __convert_to_v.
53         (time_get::do_get_year): Same.
54         (__convert_from_v): Add.
55         (num_put::_M_convert_float): Use.
56         (num_put::_M_convert_int): Same.
57         (money_put::do_put): Same.
58         
59         * src/locale-inst.cc: Add instantiations for __convert_from_v.
60         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
61         * config/locale/time_members_generic.cc: 
62         * config/locale/messages_members_gnu.cc: Same.
63         * config/locale/messages_members_gnu.h: Same.
64         
65         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
66         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
67         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
68         * testsuite/22_locale/collate_members_char.cc (test02): New.
69         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
70         * testsuite/22_locale/ctype_members_char.cc (test03): New.
71         * testsuite/22_locale/messages_members_char.cc (test02): New.
72         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
73         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
74         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
75         * testsuite/22_locale/money_get_members_char.cc (test04): New.
76         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
77         * testsuite/22_locale/money_put_members_char.cc (test04): New.
78         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
79         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
80         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
81         * testsuite/22_locale/time_put_members_char.cc (test03): New.
82         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
83         * testsuite/22_locale/time_get_members_char.cc (test07): New.
84         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
85         * testsuite/22_locale/num_get_members_char.cc (test03): New.
86         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
87         * testsuite/22_locale/num_put_members_char.cc (test03): New.
88
89         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
90         locale issues.
91         * testsuite/22_locale/time_get_members_char.cc: Same.
92         
93 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
94
95         libstdc++/5280
96         * include/bits/localefwd.h: Tweak comments.
97         * include/bits/locale_facets.h (__convert_to_v): Add.
98         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
99         (num_get::do_get(float)): Same.
100         (num_get::do_get(long double)): Same.
101         (num_get::do_get(bool)): Same.
102         (num_get::do_get(long)): Same.
103         (num_get::do_get(long long)): Same.
104         (num_get::do_get(unsigned int)): Same.
105         (num_get::do_get(unsigned short)): Same.
106         (num_get::do_get(unsigned long)): Same.
107         (num_get::do_get(unsigned long long)): Same.
108         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
109         * config/locale/c_locale_generic.cc: Same.
110         
111 2002-01-22  Loren Rittle <ljrittle@acm.org>
112
113         * include/Makefile.am (c_base_builddir): Remove redundant slash.
114         (std_builddir): Likewise.
115         (std_headers_rename): Fix cut-n-paste typo.
116         (install-data-local): Concat path per element instead of once to
117         first element of list.
118         * include/Makefile.in: Rebuilt.
119
120 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
121
122         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
123         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
124         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
125
126 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
127
128         * include/bits/locale_facets.h (ctype<char>::classic_table):
129         Remove definition.
130         (ctype<char>::_S_ctable): Remove.
131         * config/os/gnu-linux/bits/ctype_noninline.h
132         (ctype<char>::_S_table): Remove definition.
133         (ctype<char>::classic_table): Define.
134         (ctype<char>::ctype): Replace _S_ctable with classic_table().
135         * config/os/aix/bits/ctype_noninline.h: Same.
136         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
137         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
138         * config/os/djgpp/bits/ctype_noninline.h: Same.
139         * config/os/generic/bits/ctype_noninline.h: Same.
140         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
141         * config/os/hpux/bits/ctype_noninline.h: Same.
142         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
143         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
144         * config/os/mingw32/bits/ctype_noninline.h: Same.
145         * config/os/newlib/bits/ctype_noninline.h: Same.
146         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
147         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
148         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
149
150 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
151
152         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
153         of _pctype. Use to define _S_ctable.  Add definition for alternate
154         ctor.  Initialise _M_ctable to _S_ctable in ctors.
155         (do_toupper, do_tolower): Use inline code appropriate for C-locale
156         rather than ::toupper, ::tolower.
157
158 2002-01-18  Loren Rittle <ljrittle@acm.org>
159
160         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
161         Add specialization for FreeBSD systems only to avoid losing test
162         only due to extra precision unmentioned in system headers.
163
164 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
165
166         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
167
168 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
169
170         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
171         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
172
173 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
174         
175         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
176
177 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
178
179         * configure.target: Define OPT_LDFLAGS for AIX case.
180
181 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
182
183         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
184         __glibcpp_double_has_quiet_NaN): Correct mispelling.
185
186 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
187
188         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
189
190 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
191
192         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
193         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
194         * aclocal.m4: Regenerate.
195         * configure: Regenerate.
196         
197 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
198
199         * include/Makefile.am (c_base_headers_rename): New.
200         (c_base_headers_extra): New.
201         (stamp-c_base): Modify.
202         (install-data-local): Use both.
203         * include/Makefile.in: Regenerate.
204         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
205         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
206         cstdio ctime cwctype]: Move to..
207         * include/c/std_*: Here.
208         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
209         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
210         cstdio ctime cwctype]: Move to..
211         * include/c_std/std_*: Here.
212
213         Alexandre Oliva  <aoliva@redhat.com>    
214         * include/Makefile.am (.PRECIOUS): Add rule.
215         * include/Makefile.in: Regenerate.
216         
217 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
218             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
219         
220         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
221         Deuglify, should be current.
222         (back_insert_iterator::_M_container): Deuglify, should be container.
223         (front_insert_iterator::_M_container): Same.    
224         (insert_iterator::_M_container): Same.
225         * testsuite/24_iterators/reverse_iterator.cc: Add check.
226         * testsuite/24_iterators/back_insert_iterator.cc: Add check.    
227         * testsuite/24_iterators/front_insert_iterator.cc: Same.
228         * testsuite/24_iterators/insert_iterator.cc: Same.
229         
230 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
231
232         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
233         static.
234         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
235         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
236         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
237         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
238         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
239         * config/os/newlib/bits/ctype_noninline.h: Same.
240         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
241         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
242         * config/os/hpux/bits/ctype_noninline.h: Same.
243         * config/os/djgpp/bits/ctype_noninline.h: Same.
244         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
245         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
246         * config/os/aix/bits/ctype_noninline.h: Same.
247         
248         Testcase by Dietmar Kühl via Peter Schmid 
249         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
250         classic_table().
251
252 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
253
254         * libmath/signbitl.c: Copyright years as list, not range.       
255         * libmath/Makefile.am: Same.
256         * libmath/Makefie.in: Regenerate.
257         * libmath/signbit.c: Same.
258         * libmath/nan.c: Same.
259         * libmath/copysignf.c: Same.
260         * libmath/signbitf.c: Same.
261         * testsuite/22_locale/money_get_members_char.cc: Same.
262         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
263         * testsuite/22_locale/money_put_members_char.cc: Same.
264         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
265         * testsuite/22_locale/time_get_members_char.cc: Same.
266         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
267         * testsuite/22_locale/time_put_members_char.cc: Same.
268         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
269         * testsuite/21_strings/nonmember.cc: Same.
270         * testsuite/21_strings/compare.cc: Same.
271         * testsuite/27_io/stringstream.cc: Same.
272         * testsuite/27_io/stringbuf.cc: Same.
273         * testsuite/27_io/filebuf.cc: Same.
274         * testsuite/27_io/ios_manip_basefield.cc: Same.
275         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
276         * include/bits/cpp_type_traits.h: Same.
277         * include/bits/generic_shadow.h: Same.
278         * include/bits/gslice_array.h: Same.
279         * include/bits/gslice.h: Same.
280         * include/bits/indirect_array.h: Same.
281         * include/bits/slice_array.h: Same.
282         * include/bits/sstream.tcc: Same.
283         * include/bits/streambuf_iterator.h: Same.
284         * include/bits/valarray_array.tcc: Same.
285         * include/bits/valarray_meta.h: Same.
286         * include/bits/valarray_array.h: Same.
287         * config/os/mingw32/bits/ctype_noninline.h: Same.
288         * config/os/mingw32/bits/ctype_base.h: Same.
289         * config/os/hpux/bits/ctype_noninline.h: Same.
290         * config/os/hpux/bits/ctype_base.h: Same.
291         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
292         * config/os/gnu-linux/bits/ctype_base.h: Same.
293         * config/os/generic/bits/ctype_noninline.h: Same.
294         * config/os/generic/bits/ctype_base.h: Same.
295
296         * libsupc++/tinfo.h: Tweaks.
297
298 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
299
300         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
301         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
302         * testsuite/22_locale/ctype_members_char.cc: Tweak.     
303
304 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
305
306         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
307         (num_put::do_put(void*)): Fix.
308         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
309         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
310         * testsuite/22_locale/num_get_members_char.cc (test02): Add
311         long double, void, bool types.
312         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
313         
314 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
315             Alexandre Oliva  <aoliva@redhat.com>
316
317         * libmath/Makefile.am (LINK): Add --tag CC.
318         * libmath/Makefile.in: Regenerate.
319
320 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
321
322         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
323         of character to attribute mapping table.
324
325 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
326
327         * testsuite/26_numerics/c99_classification_macros_c.cc
328         Remove dg-error and dg-excess-errors comments.
329
330 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
331
332         * include/bits/locale_facets.tcc (time_put::put): Correct output
333         iterator positions.
334         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
335         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
336         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
337         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
338
339 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
340
341         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
342
343 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
344             Nathan Myers  <ncm@cantrip.org>
345
346         * include/bits/basic_string.h
347         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
348         temporaries (i.e., call _M_replace_safe) when possible.
349         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
350         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
351         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
352         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
353         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
354         * include/bits/basic_string.tcc
355         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
356         replace(__pos, __n1, __s, __n2).
357         * testsuite/21_strings/replace.cc (test03): New testcases.
358
359         * include/bits/basic_string.h (insert(__pos, __s, __n)):
360         Adjust comparison wrt overflow.
361         
362 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
363
364         * include/Makefile.am (std_headers_rename): New variable.
365         (install-data-local): Use it.
366         * include/Makefile.in: Regenerate.
367         
368 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
369
370         * include/bits/locale_facets.tcc (money_put::do_put(string):
371         Correct output iterator value.
372         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
373         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
374         
375 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
376
377         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
378         previous commit.
379
380 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
381
382         * include/Makefile.am (std_headers):  Update list with new names.
383         (stamp-std):  Link to standardized name.
384         * include/Makefile.in:  Regenerate.
385
386         * include/std/algorithm, include/std/bitset, include/std/complex,
387         include/std/deque, include/std/fstream, include/std/functional,
388         include/std/iomanip, include/std/ios, include/std/iosfwd,
389         include/std/iostream, include/std/istream, include/std/iterator,
390         include/std/limits, include/std/list, include/std/locale,
391         include/std/map, include/std/memory, include/std/numeric,
392         include/std/ostream, include/std/queue, include/std/set,
393         include/std/sstream, include/std/stack, include/std/stdexcept,
394         include/std/streambuf, include/std/string, include/std/utility,
395         include/std/valarray, include/std/vector:  Rename to...
396
397         * include/std/std_algorithm.h, include/std/std_bitset.h,
398         include/std/std_complex.h, include/std/std_deque.h,
399         include/std/std_fstream.h, include/std/std_functional.h,
400         include/std/std_iomanip.h, include/std/std_ios.h,
401         include/std/std_iosfwd.h, include/std/std_iostream.h,
402         include/std/std_istream.h, include/std/std_iterator.h,
403         include/std/std_limits.h, include/std/std_list.h,
404         include/std/std_locale.h, include/std/std_map.h,
405         include/std/std_memory.h, include/std/std_numeric.h,
406         include/std/std_ostream.h, include/std/std_queue.h,
407         include/std/std_set.h, include/std/std_sstream.h,
408         include/std/std_stack.h, include/std/std_stdexcept.h,
409         include/std/std_streambuf.h, include/std/std_string.h,
410         include/std/std_utility.h, include/std/std_valarray.h,
411         include/std/std_vector.h:  ...this.
412
413 2002-01-11  Loren Rittle <ljrittle@acm.org>
414
415         * include/Makefile.am (extra_target_headers): New list of all
416         target files built with ad hoc naming rules.
417         (stamp-*): Handle LN_S failure in manner portable across make
418         implementations.
419         (install-data-local): Install header files from human-maintained
420         file lists and directory components instead of non-robust find.
421         * include/Makefile.in: Rebuilt.
422
423 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
424
425         * include/bits/locale_facets.tcc (money_get::do_get(string)):
426         Check for zero-length negative sign before adding it to output
427         string.
428         (money_get::do_get(long double)): Return beg.
429         * testsuite/22_locale/money_get_members_char.cc (test02): Add
430         iterator checks.
431         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
432         
433 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
434
435         libstdc++/5331
436         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
437         for _M_extract_float and _M_extract_int
438         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
439         (num_get<>::_M_extract_int): Likewise, all callers changed
440         * testsuite/22_locale/num_get_members_char.cc: Testcase
441
442 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
443
444         * libsupc++/exception (bad_exception): Add comment.
445         * libsupc++/new (bad_alloc): Same.
446         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
447
448 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
449
450         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
451         that the destructors should be removed from the descriptions
452         in the standard: writing them explicitly allows the vtable
453         heuristic to work. For additional information see:
454         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
455         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
456         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
457         * libsupc++/exception (bad_exception::~bad_exception()):
458         Reintroduce declaration.
459         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
460         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
461         (bad_typeid::~bad_typeid()): Same.
462         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
463         Reintroduce definition.
464         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
465         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
466         (bad_typeid::~bad_typeid()): Same.
467
468 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
469
470         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
471         * include/Makefile.in: Regenerate.
472         
473 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
474
475         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
476         definition.
477
478 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
479
480         libstdc++/2913
481         libstdc++/4879
482         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
483         return value of _M_file->sync().
484         (filebuf::showmanyc): Check for is_open.
485         * include/std/fstream (filebuf::sync): Tweak.
486         * testsuite/27_io/filebuf.cc: Tweak.
487
488 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
489             Brad Garcia  <garsh@attbi.com>
490         
491         * testsuite/27_io/filebuf_members.cc: Add test.
492         
493 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
494             Craig Rodrigues  <rodrigc@mediaone.net>
495
496         libstdc++/5174
497         * po/Makefile.am (mkinstalldirs): Add.
498         * po/Makefile.in: Regenerate.
499
500 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
501
502         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
503         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
504         compiler output.
505         * testsuite/23_containers/map_operators.cc: Remove
506         dg-excess-errors comment.
507         * testsuite/23_containers/set_operators.cc: Likewise.
508
509 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
510
511         * include/bits/stl_function.h:  Remove two lines of comments;
512         adjust copyright years.
513
514 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
515
516         * include/Makefile.am (std_headers): Remove cXXX from list.
517         (c_base_srcdir): No bits subdirectory.
518         (c_base_builddir): Same.
519         (c_base_headers): Adjust names, add ciso646.
520         (bits_headers): Remove std_xxx.h headers.
521         * include/Makefile.in: Regenerate.
522         
523         * include/ext/iterator: Adjust includes.
524         * include/ext/ropeimpl.h: Same.
525         * include/ext/stl_hash_fun.h: Same.
526         * include/ext/algorithm: Same.
527         
528         * include/backward/bvector.h: Adjust includes.
529         * include/backward/vector.h: Same.
530         * include/backward/strstream: Same.
531         * include/backward/streambuf.h: Same.
532         * include/backward/stack.h: Same.
533         * include/backward/set.h: Same.
534         * include/backward/queue.h: Same.
535         * include/backward/multiset.h: Same.
536         * include/backward/multimap.h: Same.
537         * include/backward/map.h: Same.
538         * include/backward/list.h: Same.
539         * include/backward/iterator.h: Same.
540         * include/backward/iostream.h: Same.
541         * include/backward/iomanip.h: Same.
542         * include/backward/fstream.h: Same.
543         * include/backward/deque.h: Same.
544         * include/backward/complex.h: Same.
545
546         * include/bits/std_algorithm.h: Move to...
547         * include/std/algorithm: ...here.
548         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
549         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
550         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
551         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
552         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
553         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
554         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
555         Same.
556         
557         * include/c_std/bits/std_cassert.h: Move to...
558         * include/c_std/cassert: Here.
559         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
560         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
561         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
562         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
563         std_cwctype.h: Same.
564         * include/c_std/cmath: Adjust cmath.tcc include.
565         * include/c_std/cstdlib: Adjust includes.
566         * include/c_std/cwchar: Same.
567         * include/c_std/ctime: Same.
568         * include/c_std/cstring: Same.
569         * include/c_std/cstdio: Same.
570         * include/c_std/bits: Remove directory.
571         
572         * include/c/bits/std_cassert.h: Move to...
573         * include/c/cassert: Here.
574         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
575         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
576         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
577         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
578         std_cwctype.h: Same.
579         * include/c/bits: Remove directory.
580         
581         * include/std/cwctype: Remove.
582         * include/std/cwchar: Remove.
583         * include/std/ctime: Remove.
584         * include/std/cstring: Remove.
585         * include/std/cstdlib: Remove.
586         * include/std/cstdio: Remove.
587         * include/std/cstddef: Remove.
588         * include/std/cstdarg: Remove.
589         * include/std/csignal: Remove.
590         * include/std/csetjmp: Remove.
591         * include/std/cmath: Remove.
592         * include/std/clocale: Remove.
593         * include/std/climits: Remove.
594         * include/std/ciso646: Remove.
595         * include/std/cfloat: Remove.
596         * include/std/cerrno: Remove.
597         * include/std/cctype: Remove.
598         * include/std/cassert: Remove.
599
600         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
601         files and subsituting <.xxx>
602         * include/bits/valarray_array.h: Same.
603         * include/bits/stl_uninitialized.h: Same.
604         * include/bits/stl_alloc.h: Same.
605         * include/bits/stl_algobase.h: Same.
606         * include/bits/sstream.tcc: Same.
607         * include/bits/pthread_allocimpl.h: Same.
608         * include/bits/ostream.tcc: Same.
609         * include/bits/localefwd.h: Same.
610         * include/bits/locale_facets.tcc: Same.
611         * include/bits/locale_facets.h: Same.
612         * include/bits/istream.tcc: Same.
613         * include/bits/char_traits.h: Same.
614         * include/bits/boost_concept_check.h: Same.
615         * include/bits/basic_file.h: Same.
616         * include/std/bitset: Same.
617         * include/std/complex: Same.
618         * include/std/fstream: Same.
619         * include/std/functional: Same.
620         * include/std/ios: Same.
621         * include/std/iostream: Same.
622         * include/std/ostream: Same.
623         * include/std/sstream: Same.
624         * include/std/streambuf: Same.
625         * include/std/string: Same.
626         * include/std/iterator: Same.
627         * include/std/valarray: Same.
628
629         * src/ios.cc: Adjust includes.
630         * src/valarray-inst.cc: Same.
631         * src/string-inst.cc: Same.
632         * src/stl-inst.cc: Same.
633         * src/stdexcept.cc: Same.
634         * src/misc-inst.cc: Same.
635         * src/localename.cc: Same.
636         * src/locale-inst.cc: Same.
637         * src/locale.cc: Same.
638         * src/limits.cc: Same.
639         * src/concept-inst.cc: Same.
640         * src/complex_io.cc: Same.
641         * src/codecvt.cc: Same.
642         * src/bitset.cc: Same.
643         * src/cmath.cc: Same.
644
645 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
646
647         * include/bits/stl_tree.h (rb_tree):  Move to...
648         * include/ext/rb_tree:  ...here, new file.
649         * include/Makefile.am (ext_headers):  Add new file.
650         * include/Makefile.in:  Regenerate.
651         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
652         return_temporary_buffer, struct temporary_buffer):  Move to...
653         * include/ext/memory:  ...here.
654         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
655         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
656         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
657
658 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
659
660         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
661         * include/ext/numeric:  ...here, new file.
662         * include/bits/stl_function.h (identity_element, unary_compose,
663         binary_compose, compose1, compose2, identity, select1st,
664         select2nd, project1st + helper, project2nd + helper,
665         constant_void_fun + helper, constant_unary_fun + helper,
666         costant_binary_fun + helper, constant0, constant1, constant2,
667         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
668         * include/ext/functional:  ...here, new file.
669         * include/Makefile.am (ext_headers):  Add new files.
670         * include/Makefile.in:  Regenerate.
671         * testsuite/ext/headers.cc:  Include <ext/numeric> and
672         <ext/functional>.
673         * include/backward/algo.h:  Include <ext/numeric>, tweak.
674         * include/backward/function.h:  Include <ext/functional>, tweak.
675         * include/ext/ropeimpl.h:  Include <ext/numeric>.
676
677 2002-01-03  Jeffrey A Law  <law@redhat.com>
678
679         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
680         __strtoull declarations with __extension__.
681
682 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
683
684         * testsuite/lib/prune.exp: Correct regular expression for
685         -ffunction-sections
686
687 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
688
689         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
690         Change concept checks, as with lower_bound and PR 2054.
691         * testsuite/ext/concept_checks.cc:  Expand test to include those.
692
693 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
694
695         * include/bits/boost_concept_check.h:  Import some changes from
696         upsteam (Boost) version.
697
698 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
699
700         * include/bits/stl_algobase.h (copy_n + helpers,
701         lexicographical_compare_3way + helpers):  Move to...
702         * include/ext/algorithm:  ...here.
703         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
704         helpers):  Move to...
705         * include/ext/memory:  ...here, new file.
706         * include/Makefile.am (ext_headers):  Add new file.
707         * include/Makefile.in:  Regenerate.
708         * testsuite/ext/headers.cc:  Include <ext/memory>.
709         * include/backward/algobase.h:  Include <ext/memory> and
710         <ext/algorithm>, tweak.
711         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
712         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
713
714 2002-01-01  Roger Sayle <roger@eyesopen.com>
715
716         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
717         equivalent ___builtin__ versions.
718
719         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
720         are available in libstdc++ as the necessary stub implementations
721         are provided by libmath/stubs.c.
722
723 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
724
725         * configure.in: Add support for NetBSD cross compiles.
726         * configure: Regenerate.
727
728 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
729
730         * include/ext/iterator:  Add #include <bits/std_iterator.h>, tweak.
731         * testsuite/ext/headers.cc:  Add <ext/iterator>.
732
733 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
734
735         * include/backward/algo.h:  Add two more using declarations.
736         * include/backward/iterator.h:  Include <ext/iterator>,
737         add using declaration.
738         * include/ext/algorithm:  Add #pragma GCC system_header.
739
740 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
741
742         * include/bits/stl_bvector.h:  Change calls to 3-argument distance()
743         into standard 2-argument version.
744         * include/bits/stl_deque.h:  Likewise.
745         * include/bits/stl_tempbuf.h:  Likewise.
746         * include/bits/stl_tree.h:  Likewise.
747         * include/bits/stl_vector.h:  Likewise.
748         * include/ext/stl_hashtable.h:  Likewise.
749         * include/bits/stl_iterator_base_funcs.h:  Move distance() extension...
750         * include/ext/iterator:  to here.  New file.
751         * include/Makefile.am (ext_headers):  Add new file, alphabatize.
752         * include/Makefile.in:  Regenerate.
753
754 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
755
756         * include/bits/stl_deque.h:  Doxygenate with initial/example hooks.
757         Clean up spacing and indentation.
758
759 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
760
761         * include/ext/slist:  Move into __gnu_cxx,
762         tweak, add using declarations.
763
764 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
765
766         * include/ext/hash_map:  Move into __gnu_cxx,
767         tweak, add using declarations.
768         * include/ext/hash_set:  Ditto.
769         * include/ext/ropeimpl.h:  Ditto.
770         * include/ext/stl_hash_fun.h:  Ditto.
771         * include/ext/stl_hashtable.h:  Ditto.
772         * include/ext/stl_rope.h:  Ditto.
773         * src/ext-inst.cc: Tweak.
774         * testsuite/ext/rope.cc: Tweak.
775
776 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
777
778         * include/backward/algo.h:  Include <ext/algorithm>,
779         tweak using declarations.
780
781 2001-12-29  Richard Henderson  <rth@redhat.com>
782
783         * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
784         * config/os/hpux/bits/cpu_limits.h: New file.
785         * configure.target (CPULIMITSH): Use it.
786
787 2001-12-28  Richard Henderson  <rth@redhat.com>
788
789         * config/cpu/ia64/bits/cpu_limits.h: New file.
790         * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
791         * configure.target (CPULIMITSH): Use them.
792
793 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
794
795         * include/bits/c++config:  Move doxygen hook comment...
796         * docs/doxygen/doxygroups.cc:  ...to here.
797
798 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
799
800         PR libstdc++/2054
801         * include/bits/stl_algo.h (lower_bound):  Relax concept checks.
802         * testsuite/ext/concept_checks.cc:  New file.
803
804 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
805
806         * include/bits/stl_algo.h (count returning void,
807         count_if returning void, __random_sample, random_sample,
808         random_sample_n, __is_heap, is_heap, is_sorted):  Move to...
809         * include/ext/algorithm:  ...here, new file.
810         * include/Makefile.am (ext_headers):  Add new file.
811         * include/Makefile.in:  Regenerate.
812         * testsuite/ext/headers.cc:  Include <ext/algorithm>.
813
814 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
815             Nathan Myers  <ncm@cantrip.org>
816
817         * include/bits/basic_string.h (insert(__pos, __s, __n)):
818         Optimize by avoiding temporaries and working in-place when possible.
819         (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
820         (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
821         * testsuite/21_strings/insert.cc (test02): New testcases.
822
823 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
824
825         * testsuite/testsuite_hooks.h (gnu_counting_struct):  Add.
826         * testsuite/23_containers/deque_ctor.cc:  New file.
827
828 2001-12-27  Paolo Carlini  <pcarlini@unitus.it>
829
830         * include/bits/locale_facets.tcc (collate::do_transform):
831         Adjust implicit typename.
832         * config/locale/messages_members_generic.h (messages::open,
833         messages::do_open, messages::do_get): Adjust implicit typename.
834         * config/locale/messages_members_gnu.h (messages::open,
835         messages::do_open, messages::do_get): Adjust Implicit typename.
836         * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
837         messages::do_open, messages::do_get): Adjust implicit typename.
838
839 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
840
841         PR libstdc++/3829
842         * src/misc-inst.cc:  Many additional I/O-related instantiations.
843         * testsuite/27_io/instantiations.cc:  New file.
844
845 2001-12-26  Benjamin Kosnik  <bkoz@waller.constant.com>
846
847         * testsuite/24_iterators/insert_iterator.cc (test02): Add.
848         * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
849         * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
850         * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
851
852         * include/bits/stl_iterator.h (reverse_iterator): Uglify member
853         current to _M_current.
854         (back_insert_iterator): Uglify member container to _M_container.
855         (front_insert_iterator): Same.
856         (insert_iterator): Same.
857
858 2001-12-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
859
860         * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
861         macros for signed types; default value is true.
862         (numeric_limits<>::is_modulo): Get value from corresponding
863         __glibcpp_xxx_is_modulo macro.
864
865 2001-12-23  Jeffrey A Law  <law@redhat.com>
866
867         * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
868         Twiddle return types for strtoll and strtoull to avoid using
869         intmax_t and uintmax-t.
870
871 2001-12-22  Richard Henderson  <rth@redhat.com>
872
873         * configure.target (CPULIMITSH): Fix typo in alpha case.
874
875 2001-12-22  Jeffrey A Law  <law@redhat.com>
876
877         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
878         for strtoll and strtoull.
879
880 2001-12-21  Jeffrey A Law  <law@redhat.com>
881
882         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
883         Define strtoll and strtoull.  Provide prototypes for
884         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
885         unconditionally.
886
887         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
888
889         * configure.target: Fix typo in hpux case.
890
891 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
892
893         * include/ext/stl_rope.h (_Rope_iterator):
894         Add local typedef to fix implicit typename problems.
895
896 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
897
898         * docs/doxygen/Intro.3:  New 'Allocators' module.
899         * docs/doxygen/TODO:  Update.
900         * docs/doxygen/doxygroups.cc:  Update.
901         * docs/doxygen/run_doxygen:  Update.
902
903         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
904         * include/bits/std_memory.h:  Doxygenate.
905         * include/bits/stl_iterator_base_types.h:  Likewise.
906         * include/bits/stl_raw_storage_iter.h:  Likewise.
907         * include/bits/stl_tempbuf.h:  Likewise.
908         (get_temporary_buffer):  Remove unused nonstandard overload.
909         * include/bits/stl_uninitialized.h:  Likewise.
910
911         * include/bits/stl_iterator_base_types.h (input_iterator,
912         output_iterator, forward_iterator, bidirectional_iterator,
913         random_access_iterator):  Move old names...
914         * include/backward/iterator.h:  ...to here.
915         * include/bits/stl_bvector.h:  Update.
916         * include/ext/stl_rope.h:  Update.
917
918 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
919
920         * docs/html/configopts.html:  Describe recent options.
921         * docs/html/documentation.html:  Point to new doxygen tarballs.
922         * docs/html/install.html:  Brief updates.
923         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
924         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
925         * docs/html/faq/index.html:  Update for 3.0.95.
926         * docs/html/faq/index.txt:  Regenerate.
927
928 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
929
930         libstdc++-v3/5148
931         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to
932         executable filenames
933
934 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
935
936         * docs/html/17_intro/TODO: Update.
937         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
938         * README: Edit for clarity, update to reflect current directory
939         structure.
940
941 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
942
943         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
944         enabling gnu model.
945         * aclocal.m4: Rebuild.
946         * configure: Rebuild.
947
948 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
949             Nathan Myers  <ncm@cantrip.org>
950
951         * include/bits/basic_string.h (assign(__str, __pos, __n)):
952         Call assign(__s, __n).
953         (assign(__s, __n)): Terminate the string with _S_terminal.
954
955 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
956
957         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
958         Set to true, like float and double.
959
960 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
961
962         libstdc++/5136
963         * testsuite/lib/prune.exp: New file
964         * testsuite/lib/libstdc++-v3-dg.exp: Use it
965
966 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
967
968         * include/bits/basic_file.h (__basic_file::fd):  New function.
969         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
970         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
971         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
972         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
973
974 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
975
976         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
977         * po/Makefile.in: Regenerated.
978
979 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
980
981         * testsuite/21_strings/assign.cc (test01): Add tests.
982
983 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
984             Nathan Myers  <ncm@cantrip.org>
985
986         * include/bits/basic_string.h
987         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
988         by avoiding unnecessary temporaries.
989         (assign(__s)): Call assign(__s, __n).
990         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
991         * include/bits/std_string.h: include stl_function.h.
992         * testsuite/21_strings/assign.cc (test02, test03): New tests.
993
994 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
995
996         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
997         on linux by default.
998         * aclocal.m4: Regenerate.
999         * configure: Regenerate.
1000
1001 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
1002
1003         Clean up initialization and simplfy caching of underlying "C"
1004         default locale objects.
1005         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
1006         Unconditionally create __clocale object for all named locales,
1007         including "C" and "POSIX".
1008         * config/locale/c_locale_generic.cc
1009         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
1010         * config/locale/c_locale_gnu.cc: Always delete.
1011         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
1012         * src/locale.cc (locale::classic()): Initialize
1013         locale::facet::_S_c_locale.
1014         (locale::facet::_S_c_locale): Define.
1015
1016         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
1017         specialization.
1018         * src/locale.cc: Add definition here.
1019         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
1020         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
1021         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
1022         Adjust ctors, dtors.
1023         (ctype<char>::_M_toupper): Remove const&.
1024         (ctype<char>::_M_tolower): Remove const&.
1025         (ctype<char>::_M_ctable): Remove const&.
1026
1027         * include/bits/locale_facets.h (collate): Clean up initialization
1028         of _M_c_locale_collate in ctors and dtors.
1029         * config/locale/collate_members_gnu.cc: Always use extended
1030         functions.
1031
1032         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
1033         (messages_byname): Same.
1034         * config/locale/messages_members_generic.h (messages::~messages):
1035         Remove.
1036         * config/locale/messages_members_gnu.h: Same.
1037
1038         * include/bits/localefwd.h: Clean. Move dtor definitions to
1039         * src/locale.cc: Here.
1040         * testsuite/22_locale/facet.cc: Fix spelling.
1041
1042         Named locale support for ctype<wchar_t>.
1043         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
1044         ctype_members_* bits.
1045         * aclocal.m4: Regenerate.
1046         * configure: Regenerate.
1047         * src/Makefile.am (sources): Add ctype.cc.
1048         * src/Makefile.in: Regenerate.
1049         * config/locale/ctype_members_generic.cc: New file.
1050         * config/locale/ctype_members_gnu.cc: New file.
1051         * src/locale.cc: Remove ctype<wchart_t> definitions.
1052
1053 2001-12-13  Roger Sayle <roger@eyesopen.com>
1054
1055         * acconfig.h: Test for __builtin_sqrt instead of
1056         __builtin_fsqrt.
1057         * acinclude.m4: Same.
1058         * include/c_shadow/bits/std_cmath.h: Same.
1059         * aclocal.m4: Regenerated.
1060         * config.h.in: Regenerated.
1061         * configure: Regenerated.
1062
1063 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
1064
1065         * docs/html/ext/howto.html:  Fix typos.
1066
1067 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
1068
1069         libstdc++/3679
1070         * src/locale.cc (locale::locale(const char*)): Deal with locales
1071         named "".
1072         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
1073
1074 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
1075
1076         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
1077         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
1078         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
1079         : Adjust implicit typename.
1080         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
1081         Adjust implicit typename.
1082         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
1083
1084 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
1085
1086         Named locale support for ctype<char>.
1087         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
1088         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
1089         definitions for alternate constructor.
1090         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
1091         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1092         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1093         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
1094         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
1095         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
1096         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
1097         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1098         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
1099         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
1100         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
1101         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
1102         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
1103         definitions for all virtual functions. These are now explicitly
1104         undefined for non-required factets, ie any non-char, non-wchar_t
1105         instantiations.
1106         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
1107         locales use alternate constructor for ctype facet.
1108         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
1109         mask*, bool, size_t): Add.
1110         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
1111         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
1112         definition.
1113
1114         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
1115         XFAIL for non-gnu locale models.
1116
1117 2001-12-12  Philip Martin  <philip@codematters.co.uk>
1118             Ross Smith     <r-smith@ihug.co.nz>
1119             Paolo Carlini  <pcarlini@unitus.it>
1120
1121         libstdc++/5045
1122         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
1123         Fix digits10 values for integral types.
1124         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
1125         Tweak _M_extract_int call.
1126         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
1127         Tweak overflowing number of digits.
1128         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
1129
1130 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
1131
1132         * config/os/generic/bits/ctype_inline.h: Remove spaces.
1133         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1134         * include/bits/locale_facets.h (__num_base): Move double data
1135         members to first in class.
1136         * include/bits/locale_facets.tcc: Re-arrange, tweak.
1137         * src/locale.cc: Clean.
1138         *include/bits/stl_vector.h: Space typedefs.
1139
1140 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
1141
1142         * testsuite/ext/allocators.cc:  New file.
1143
1144 2001-12-11  Jason Merrill  <jason@redhat.com>
1145
1146         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
1147         uninitialized warning.
1148
1149 2001-12-11  Loren Rittle <ljrittle@acm.org>
1150
1151         * config/cpu/sparc/sparc32/bits/atomicity.h
1152         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
1153
1154 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
1155
1156         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
1157         * include/bits/basic_string.h:  Fix typos.
1158
1159 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
1160             Nathan Myers  <ncm@cantrip.org>
1161
1162         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
1163         (_M_replace(input_iterator_tag), append members):  Use it.
1164         (_M_replace(forward_iterator_tag)):  Remove.
1165         * include/bits/basic_string.h:  Adjust declarations.
1166         * src/string-inst.cc:  Adjust declarations.
1167
1168 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
1169             Philip Martin <pmartin@uklinux.net>
1170
1171         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1172         (__num_base::_S_scale_oct): Add.
1173         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1174         * src/locale.cc: Add definitions.
1175         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1176
1177         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1178
1179 2001-12-07  Nathan Myers  <ncm@cantrip.org>
1180             Loren Rittle <ljrittle@acm.org>
1181
1182         libstdc++/5037
1183         * config/cpu/sparc/sparc32/bits/atomicity.h
1184         (struct __Atomicity_lock<__inst>): Add.
1185         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1186         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1187         instead of lock local to static function.
1188         (__atomic_add): Likewise.
1189
1190 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
1191
1192         * src/globals.cc:  Remove __GTHREADS guard.
1193
1194 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1195
1196         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1197         Extend comment, reduce __cs_size for non-fixed outputs.
1198
1199 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1200
1201         * include/bits/basic_string.tcc (_M_mutate): Fix typo
1202         in the previous check in.
1203
1204 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
1205             Loren J. Rittle <ljrittle@acm.org>
1206
1207         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1208         exponential growth policy to meet linear amortized time
1209         requirements of the standard.
1210         (_S_create): Adjust comment.
1211
1212 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
1213
1214         libstdc++/3720
1215         * include/bits/locale_facets.tcc (num_put): Clean.
1216         (num_get::_M_extract_float): Change argument to string.
1217         (num_get::do_get(float)): Fixup.
1218         (num_get::do_get(double)): Same.
1219         (num_get::do_get(long double)): Same.
1220         (num_get::_M_extract_int): Add maximum length parameter, __max.
1221         (num_get::_M_extract_float): Correct zeros, use string.
1222         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1223         declaration here.
1224         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1225         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1226
1227 2001-12-06  Philip Martin  <pmartin@uklinux.net>
1228
1229         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1230         tests for excess input digits.
1231
1232 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
1233
1234         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
1235         * include/bits/stl_algo.h:  Likewise.
1236         * include/bits/stl_algobase.h:  Likewise.
1237         * include/bits/stl_bvector.h:  Likewise.
1238         * include/bits/stl_deque.h:  Likewise.
1239         * include/bits/stl_function.h:  Likewise.
1240         * include/bits/stl_iterator.h:  Likewise.
1241         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1242         * include/bits/stl_iterator_base_types.h:  Likewise.
1243         * include/bits/stl_list.h:  Likewise.
1244         * include/bits/stl_multimap.h:  Likewise.
1245         * include/bits/stl_multiset.h:  Likewise.
1246         * include/bits/stl_pair.h:  Likewise.
1247         * include/bits/stl_queue.h:  Likewise.
1248         * include/bits/stl_set.h:  Likewise.
1249         * include/bits/stl_stack.h:  Likewise.
1250         * include/bits/stl_tempbuf.h:  Likewise.
1251         * include/bits/stl_tree.h:  Likewise.
1252         * include/bits/stl_vector.h:  Likewise.
1253
1254         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
1255         Doxygenate more comments.  Correct historical artifacts in comments.
1256         (alloc, single_alloc):  Uglify non-standard names.
1257         (__default_alloc_template::_NFREELISTS):  Calculate from other
1258         parameters.
1259         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
1260         (__default_alloc_template::_Lock):  Mark as "unused".
1261         * include/backward/alloc.h:  Update.
1262         * include/bits/stl_bvector.h:  Likewise.
1263         * include/ext/ropeimpl.h:  Likewise.
1264         * include/ext/stl_hashtable.h:  Likewise.
1265
1266 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
1267
1268         DR/282
1269         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1270         grouping to floating point types.
1271         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1272
1273 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
1274
1275         libstdc++/4402
1276         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1277         from the PR.
1278         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1279         Deal properly with long ios_base::fixed floats.
1280         (num_put::_M_widen_float): use
1281         __len in __builtin_alloca call.
1282
1283 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
1284
1285         * src/Makefile.am (sources): Add ext-inst.cc.
1286         * src/Makefile.in: Regenerate.
1287         * src/ext-inst.cc: New file.
1288         * include/bits/stl_threads.h: Format.
1289         * src/globals.cc: Add instantiation for _S_swap_lock.
1290
1291         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1292         instantiation.
1293
1294 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1295
1296         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1297         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1298         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1299         for explicit instantiation of class std::basic_string<char,
1300         gnu_char_traits, std::allocator<char> >.
1301
1302 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1303
1304         * testsuite/22_locale/collate.cc: Compile-only.
1305         * testsuite/22_locale/time_get.cc: Same.
1306         * testsuite/22_locale/time_put.cc: Same.
1307         * testsuite/22_locale/numpunct.cc: Same.
1308         * testsuite/22_locale/num_put.cc: Same.
1309         * testsuite/22_locale/num_get.cc: Same.
1310         * testsuite/22_locale/moneypunct.cc: Same.
1311         * testsuite/22_locale/money_get.cc: Same.
1312         * testsuite/22_locale/messages.cc: Same.
1313         * testsuite/22_locale/ctype.cc: Same.
1314
1315 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1316
1317         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1318         member instantiations.
1319
1320 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
1321
1322         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1323         combine common linux/hpux/generic cross compile support to reduce
1324         redundent lines.
1325         * libstdc++-v3/configure: Regenerate.
1326
1327 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
1328
1329         * docs/html/ext/howto.html: Update commentary.
1330         * include/bits/c++config: Update threading configuration comment.
1331         (__STL_GTHREADS): Remove macro definition.
1332         (__STL_THREADS): Likewise.
1333         * include/bits/stl_threads.h: Leave only the configuration
1334         path which had been guarded by __STL_GTHREADS.  Remove all
1335         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1336         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1337         * include/bits/stl_alloc.h: Leave only the configuration path
1338         which had been guarded by __STL_THREADS.  Remove configuration
1339         path and guards for __STL_SGI_THREADS.
1340         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
1341         (__NODE_ALLOCATOR_LOCK): Likewise.
1342         (__NODE_ALLOCATOR_UNLOCK): Likewise.
1343         (_NOTHREADS): Remove guards related to macro.
1344         * include/ext/stl_rope.h: Remove configuration path and guards
1345         for __STL_SGI_THREADS.
1346         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1347
1348 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
1349
1350         * docs/html/ext/howto.html:  Update list of implemented DRs.
1351         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
1352         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
1353
1354 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
1355
1356         libstdc++/3150
1357         DR/266
1358         * libsupc++/exception (bad_exception::~bad_exception()): Remove
1359         declaration.
1360         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1361         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1362         (bad_typeid::~bad_typeid()): Remove.
1363         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1364         (bad_typeid::~bad_typeid()): Same.
1365         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1366         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1367
1368         * include/bits/std_iomanip.h: Tweak.
1369
1370 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
1371
1372         libstdc++/3655
1373         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1374         correctly pad internal-adjusted const char*-type objects.
1375         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1376         * include/bits/ostream.tcc (operator<<(_CharT , char, const
1377         _CharT*, const char*, const basic_string&): Update calls.
1378         * src/locale-inst.tcc: Update declarations.
1379         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1380
1381 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
1382
1383         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
1384
1385 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
1386
1387         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1388         Fix __traits_type typo.
1389
1390 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
1391
1392         * include/bits/locale_facets.tcc (__pad): Correctly pad
1393         internal-adjusted hex numbers.
1394         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1395
1396 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
1397             Loren J. Rittle <ljrittle@acm.org>
1398
1399         * include/bits/basic_string.h
1400         (basic_string::_Rep::__default_excess, _S_excess_slop):
1401         Unused, remove.
1402         * include/bits/basic_string.tcc: Remove dead code.
1403         * include/bits/c++config: Remove comment.
1404
1405 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
1406             Jakub Jelinek  <jakub@redhat.com>
1407
1408         * config/locale/moneypunct_members_gnu.cc
1409         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1410         for ia64, others.
1411         * config/locale/numpunct_members_gnu.cc
1412         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1413
1414 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1415
1416         * include/bits/locale_facets.tcc: Formatting tweaks.
1417
1418         * testsuite/23_containers/map_operators.cc: Don't xfail.
1419         * testsuite/23_containers/set_operators.cc: Same.
1420         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1421         * testsuite/backward/header_deque_h.cc: Same.
1422
1423 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
1424             Paolo Carlini  <pcarlini@unitus.it>
1425
1426         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1427         Enforce allocation size blocking policy to reduce
1428         fragmentation and enhance performance with common malloc
1429         implementations.
1430
1431 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1432
1433         Numeric facets cleanup.
1434         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1435         + and - signs.
1436         (__num_base::_M_zero): Add
1437         (__num_base::_M_e): Add.
1438         (__num_base::_M_E): Add.
1439         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1440         (num_get::_M_extract_float): New.
1441         (num_get::_M_extract_int): New.
1442         * src/locale.cc (num_get::_M_extract): Remove.
1443
1444         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1445         Simplify, use _M_insert.
1446         (num_put::do_put(bool)): Simplify, remove __pad.
1447         (__pad): Remove.
1448         (__pad_output): Change to __pad.
1449         * include/bits/ostream.tcc: And here.
1450         * src/locale-inst: Remove instantiations.
1451
1452         * include/bits/locale_facets.h: Move helper functions in to class
1453         num_put.
1454         (num_put::_M_insert_float): Same, for __output_integer.
1455         (num_put::_M_insert_int): Same, for __output_float.
1456         (num_put::_M_insert): New.
1457         (__num_base): Add.
1458         (__num_base::_S_format_float): Move
1459         __build_float_format into class __num_base.
1460         (__num_base::_S_format_int): Move __build_int_format into class
1461         __num_base.
1462         * include/bits/locale_facets.tcc (__group_digits): Change to
1463         (__add_grouping): This.
1464         * src/locale-inst.cc: And here. Tweak instantiations.
1465         * src/misc-inst.cc: Remove instantiations.
1466
1467         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1468         for new calling conventions, move to...
1469         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1470         signature to make it useful for both ostream and num_put.
1471         (__pad_numeric): Remove.
1472         * src/misc-inst.cc: Remove instantiations.
1473         * src/locale-inst.cc: Same.
1474
1475         * include/bits/locale_facets.h (_Numeric_get): Remove.
1476         (_Numeric_put): Remove.
1477         (num_get::get(short)): Remove.
1478         (num_get::get(int)): Remove.
1479         (num_get::do_get(short)): Remove.
1480         (num_get::do_get(int)): Remove.
1481         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1482         per DR 118.
1483         (istream::operator>>(int)): Same.
1484
1485         * include/bits/locale_facets.h (_Format_cache): Remove.
1486         * include/bits/locale_facets.tcc: Same.
1487         * src/locale.cc: Same.
1488         * src/locale-inst.cc: Same.
1489         * include/bits/ostream.tcc: Same.
1490         * src/ios.cc (ios_base::imbue): Remove here as well.
1491
1492         * testsuite/22_locale/num_get.cc: New file.
1493         * testsuite/22_locale/num_get_members_char.cc: New file.
1494         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1495         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1496         * testsuite/22_locale/num_put.cc: New file.
1497         * testsuite/22_locale/num_put_members_char.cc: New file.
1498         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1499         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1500         * testsuite/27_io/istream_extractor_arith.cc: Fix.
1501
1502 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
1503
1504         * docs/html/explanations.html:  New section, empty for now.
1505         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
1506         * docs/html/23_containers/howto.html:  ...to here.  Break up and
1507         rewrap threading discussion to emphasize warning.  Move malloc text...
1508         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
1509         allocators and __USE_MALLOC effects.
1510         * docs/html/ext/sgiexts.html:  Mention their code.
1511
1512 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
1513
1514         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1515         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1516         changes.
1517
1518 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
1519
1520         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
1521         * Makefile.in:  Regenerated.
1522         * docs/doxygen/TODO:  New file listing doxygen work to be done.
1523         * docs/doxygen/run_doxygen:  Fix up man pages.
1524         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
1525         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
1526         * include/bits/stl_construct.h:  Use new hooks for internal functions.
1527
1528         * docs/html/17_intro/TODO:  Small updates.
1529         * docs/html/faq/index.html:  Likewise.
1530         * docs/html/faq/index.txt:  Regenerated.
1531
1532         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
1533         SGI-isms and wrappers.
1534         (simple_alloc, debug_alloc):  Uglify class names.
1535         (__default_alloc_template):  Uglify "threads" template parameter and
1536         update corresponding macros.
1537         * include/backward/alloc.h:  Bring up to date.
1538
1539 2001-11-23  Jason Merrill  <jason@redhat.com>
1540
1541         * src/vterminate.cc (__verbose_terminate_handler): Add leading
1542         underscores.
1543
1544 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1545
1546         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1547         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1548         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1549         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1550         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1551         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1552         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1553         docs/html/21_strings/howto.html,
1554         docs/html/23_containers/howto.html,
1555         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1556         docs/html/27_io/binary_iostreams_kuehl.txt,
1557         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1558         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1559         include/bits/basic_file.h, include/bits/locale_facets.h,
1560         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1561         include/ext/ropeimpl.h, include/ext/stl_rope.h,
1562         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1563         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1564         configure.target, ChangeLog-2000: Fix spelling errors.
1565
1566         * config/locale/moneypunct_members_gnu.cc,
1567         include/bits/locale_facets.h: Fix spelling errors.
1568
1569 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1570
1571         * testsuite/23_containers/list_capacity.cc: New file.
1572         * testsuite/23_containers/list_ctor.cc: New file.
1573         * testsuite/23_containers/list_modifiers.cc: New file.
1574         * testsuite/23_containers/list_operators.cc: New file.
1575
1576 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1577
1578         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1579         (size): Replaced nonstandard distance() call with the standard one.
1580         (transfer): Uglified to _M_transfer.
1581
1582 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
1583
1584         PR libstdc++/4548
1585         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
1586         below the current size.
1587         * testsuite/21_strings/capacity.cc (test02):  Add test.
1588
1589 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
1590
1591         * docs/doxygen/Intro.3:  More notes.
1592         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
1593         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
1594         * include/ext/hash_map:  Add @file hook.
1595         * include/ext/hash_set:  Likewise.
1596         * include/ext/rope:  Likewise.
1597         * include/ext/ropeimpl.h:  Likewise.
1598         * include/ext/slist:  Likewise.
1599         * include/ext/stl_hash_fun.h:  Likewise.
1600         * include/ext/stl_hashtable.h:  Likewise.
1601         * include/ext/stl_rope.h:  Likewise.
1602
1603         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
1604         * docs/html/19_diagnostics/howto.html:  Document new verbose
1605         terminate handler.
1606         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
1607         to more visible (closer to description) position.
1608
1609         * libsupc++/eh_type.cc:  Formatting tweak.
1610         * libsupc++/exception:  Likewise.
1611         * src/vterminate.cc:  Likewise.
1612
1613         * docs/html/17_intro/porting.html:  Regenerate.
1614         * docs/html/faq/index.txt:  Regenerate.
1615
1616 2001-11-18  Jason Merrill  <jason@redhat.com>
1617
1618         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1619         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1620         * libsupc++/unwind-cxx.h: Adjust.
1621         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1622
1623         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1624         * libsupc++/cxxabi.h: Declare it.
1625         * libsupc++/Makefile.am (sources): Add it.
1626         * src/vterminate.cc (verbose_terminate_handler): New file.
1627         * libsupc++/exception: Declare it.
1628         * src/Makefile.am (sources): Add it.
1629
1630         * src/Makefile.am (VPATH): Check the src directory before the top one.
1631
1632 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
1633
1634         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
1635
1636 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
1637
1638         * docs/html/17_intro/howto.html (Thread-safety): Rename
1639         section to ``The Standard C++ library and multithreading'' and
1640         update information based on recent mailing list traffic.  Move
1641         all discussion of __USE_MALLOC to...
1642         * docs/html/23_containers/howto.html (Containers and multithreading):
1643         ...here and rework it based on recent mailing list traffic.
1644
1645 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
1646
1647         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1648         wording.
1649
1650 2001-11-15  <bjornw@planetarion.com>
1651             Loren J. Rittle  <ljrittle@acm.org>
1652
1653         libstc++/4219
1654         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1655         (single_client_alloc): Likewise.
1656
1657 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
1658
1659         * configure.target: Add os_include_dir for mingw32* target.
1660         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1661         from _GLIBCPP_AVOID_FSEEK.
1662         * config/os/mingw32/bits/ctype_base.h: New file.
1663         * config/os/mingw32/bits/ctype_inline.h: New file.
1664         * config/os/mingw32/bits/ctype_noninline.h: New file.
1665         * config/os/mingw32/bits/os_defines.h: New file.
1666
1667 2001-11-07  Nathan Myers  <ncm@cantrip.org>
1668
1669         * docs/html/faq/index.html (5.8):  New entry on ABIs.
1670         * docs/html/faq/index.txt:  Regenerate.
1671
1672 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
1673
1674         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
1675         bugfixes on Solaris.
1676         * docs/html/faq/index.txt:  Regenerate.
1677
1678 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
1679
1680         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
1681         LANG_CPLUSPLUS mode.
1682         * aclocal.m4:  Regenerate.
1683         * configure:  Regenerate.
1684
1685 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
1686
1687         * porting.texi:  Move...
1688         * docs/html/17_intro/porting.texi:  ...to here.
1689         * docs/html/Makefile:  Add rule to rebuild...
1690         * docs/html/17_intro/porting.html:  ...this.  New file.
1691
1692 2001-11-05  Felix Natter  <fnatter@gmx.net>
1693
1694         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
1695         * docs/html/17_intro/porting-howto.html:  regenerate
1696
1697 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
1698
1699         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1700         when platform supports __GTHREAD_MUTEX_INIT.
1701
1702 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1703
1704         * acconfig.h:  Update comments.
1705         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
1706         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
1707         * aclocal.m4:  Regenerate.
1708         * config.h.in:  Regenerate.
1709         * configure:  Regenerate.
1710
1711         * include/bits/boost_concept_check.h:  Unconditionally compile uses
1712         of 'long long' which require only compiler support, not C lib support.
1713         * include/bits/cpp_type_traits.h:  Likewise.
1714         * include/bits/std_limits.h:  Likewise.
1715         * include/bits/type_traits.h:  Likewise.
1716         * src/concept-inst.cc:  Likewise.
1717         * src/limits.cc:  Likewise.
1718         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
1719         instead of _GLIBCPP_USE_LONG_LONG.
1720         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
1721
1722 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1723
1724         * config/io/c_io_stdio.h:  Correct grammar in comments.
1725         * docs/doxygen/Intro.3:  Expand "top-level" man page.
1726         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
1727         * docs/doxygen/mainpage.doxy:  Tweaks.
1728         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
1729
1730         Add @file hooks so that headers are considered to be documented.
1731         * include/bits/basic_ios.h, include/bits/basic_file.h,
1732         include/bits/basic_string.h, include/bits/boost_concept_check.h,
1733         include/bits/char_traits.h, include/bits/codecvt.h,
1734         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1735         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1736         include/bits/indirect_array.h, include/bits/ios_base.h,
1737         include/bits/locale_facets.h, include/bits/localefwd.h,
1738         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1739         include/bits/slice.h, include/bits/slice_array.h,
1740         include/bits/std_algorithm.h, include/bits/std_bitset.h,
1741         include/bits/std_complex.h, include/bits/std_deque.h,
1742         include/bits/std_fstream.h, include/bits/std_functional.h,
1743         include/bits/std_iomanip.h, include/bits/std_ios.h,
1744         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1745         include/bits/std_istream.h, include/bits/std_iterator.h,
1746         include/bits/std_limits.h, include/bits/std_list.h,
1747         include/bits/std_locale.h, include/bits/std_map.h,
1748         include/bits/std_memory.h, include/bits/std_numeric.h,
1749         include/bits/std_ostream.h, include/bits/std_queue.h,
1750         include/bits/std_set.h, include/bits/std_sstream.h,
1751         include/bits/std_stack.h, include/bits/std_streambuf.h,
1752         include/bits/std_string.h, include/bits/std_utility.h,
1753         include/bits/std_valarray.h, include/bits/std_vector.h,
1754         include/bits/stl_algo.h, include/bits/stl_alloc.h,
1755         include/bits/stl_bvector.h, include/bits/stl_construct.h,
1756         include/bits/stl_deque.h, include/bits/stl_heap.h,
1757         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1758         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1759         include/bits/stl_map.h, include/bits/stl_multimap.h,
1760         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1761         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1762         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1763         include/bits/stl_relops.h, include/bits/stl_set.h,
1764         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1765         include/bits/stl_threads.h, include/bits/stl_tree.h,
1766         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1767         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1768         include/bits/stringfwd.h, include/bits/type_traits.h,
1769         include/bits/valarray_array.h, include/bits/valarray_meta.h:
1770         Add hooks, tweak comments only.
1771
1772         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
1773         document these functions.
1774         * include/bits/stl_function.h:  Tweak link comments.
1775
1776 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
1777             Benjamin Kosnik  <bkoz@redhat.com>
1778
1779         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1780         output.
1781         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1782
1783 2001-11-01  Egor Duda  <deo@logos-m.ru>
1784
1785         * config/os/newlib/bits/ctype_noninline.h
1786         (ctype<char>::do_toupper(char __c)): Check for proper character class.
1787         (ctype<char>::do_tolower(char __c)): Ditto.
1788
1789 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
1790
1791         * acinclude.m4:  Fix spacing.
1792         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
1793         * configure.in:  Call here.
1794         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
1795         * include/bits/boost_concept_check.h:  Fix headers.
1796         (__function_requires):  Make inline.
1797         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
1798         * aclocal.m4:  Regenerate.
1799         * config.h.in:  Regenerate.
1800         * configure:  Regenerate.
1801
1802         Move trailing ';' inside macro, PR libstdc++/3666.
1803         * include/bits/concept_check.h:  Add semicolon.
1804         * include/bits/stl_algo.h:  Remove semicolon.
1805         * include/bits/stl_algobase.h:  Likewise.
1806         * include/bits/stl_deque.h:  Likewise.
1807         * include/bits/stl_heap.h:  Likewise.
1808         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1809         * include/bits/stl_list.h:  Likewise.
1810         * include/bits/stl_map.h:  Likewise.
1811         * include/bits/stl_multimap.h:  Likewise.
1812         * include/bits/stl_multiset.h:  Likewise.
1813         * include/bits/stl_numeric.h:  Likewise.
1814         * include/bits/stl_queue.h:  Likewise.
1815         * include/bits/stl_set.h:  Likewise.
1816         * include/bits/stl_stack.h:  Likewise.
1817         * include/bits/stl_vector.h:  Likewise.
1818         * include/ext/hash_map:  Likewise.
1819         * include/ext/hash_set:  Likewise.
1820         * include/ext/slist:  Likewise.
1821
1822         * src/concept-inst.cc:  New file with explicit instantiations.
1823         * src/Makefile.am (sources):  Add here, with special build rules.
1824         * src/Makefile.in:  Regenerate.
1825
1826 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1827
1828         * include/bits/std_complex.h (_Norm_helper): New class template.
1829         (norm): Tweak.
1830         (abs): Tweak. Fix Thinko.
1831
1832 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1833
1834         libstdc++/4749
1835         * include/bits/codecvt.h: Add virtual member function declarations.
1836         * src/codecvt.cc: Tweaks.
1837         * testsuite/22_locale/codecvt.cc: Test compilation only,
1838         non-required facets not required to have linkage.
1839
1840 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
1841
1842         libstdc++/4622
1843         * include/bits/std_complex.h (complex::operator/=): Correct sign.
1844
1845 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
1846             Benjamin Kosnik  <bkoz@redhat.com>
1847
1848         libstdc++/4354
1849         * include/bits/basic_string.h: Tweaks.
1850         * include/bits/basic_string.tcc (string::_M_replace(iterator,
1851         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1852         * src/string-inst.cc: Tweaks, add instantiation.
1853         * testsuite/21_strings/replace.cc (test02): Add test.
1854         * testsuite/21_strings/assign.cc (test01): New file.
1855
1856 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1857
1858         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1859         __throw_exception_again.
1860         (_M_new_elements_at_back): Likewise.
1861
1862 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1863
1864         libstdc++/3647
1865         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1866         * testsuite/27_io/filebuf.cc (test07): New test.
1867         (test03): Modify showmanyc test.
1868
1869 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1870
1871         libstdc++/4503
1872         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1873         (__enc_traits::~__enc_traits): Fix.
1874         (__enc_traits::_M_init): Add error checking.
1875
1876 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1877
1878         libstdc++/4542
1879         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1880
1881 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1882
1883         libstdc++/4545
1884         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1885         exceptions.
1886         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1887         consistent, where possible.
1888         * include/bits/streambuf.tcc: Tweak.
1889
1890 2001-10-25  Brendan Kehoe  <brendan@zen.org>
1891
1892         libstdc++/4536
1893         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1894         * bits/istream.tcc (seekg): Likewise.
1895
1896 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1897             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1898             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1899
1900         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1901         __s390x__ only.
1902         * include/bits/std_limits.h: Fix wchar_t issues.
1903         * config/os/aix/bits/os_defines.h: Fix.
1904
1905 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1906
1907         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1908
1909 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1910
1911         * docs/html/documentation.html:  Fix typo.
1912
1913 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1914
1915         Make -fno-exceptions work.
1916         * config/locale/c_locale_gnu.cc: Use functexcept.
1917         * include/bits/c++config (__stl_assert): Remove.
1918         (__STL_USE_EXCEPTIONS): Same.
1919         (__STL_TRY): Same.
1920         (__STL_CATCH_ALL): Same.
1921         (__STL_THROW): Same.
1922         (__STL_RETHROW): Same.
1923         (__STL_NOTHROW): Same.
1924         (__STL_UNWIND): Same.
1925         * include/bits/pthread_allocimpl.h: Fix.
1926         * include/bits/std_bitset.h: Same.
1927         * include/bits/std_list.h: Same.
1928         * include/bits/std_memory.h: Same.
1929         * include/bits/std_queue.h: Same.
1930         * include/bits/stl_alloc.h: Same.
1931         * include/bits/stl_deque.h: Same.
1932         * include/bits/stl_list.h: Same.
1933         * include/bits/stl_queue.h: Same.
1934         * include/bits/stl_tempbuf.h: Same.
1935         * include/bits/stl_tree.h: Same.
1936         * include/bits/stl_uninitialized.h: Same.
1937         * include/bits/stl_vector.h: Same.
1938         * include/ext/ropeimpl.h: Same.
1939         * include/ext/slist: Same.
1940         * include/ext/stl_hashtable.h: Same.
1941         * include/ext/stl_rope.h: Same.
1942         * libsupc++/new_op.cc: Include cstdlib.
1943         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1944         __throw_exception_again, tweak.
1945         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1946         * libsupc++/vec.cc: Tweak.
1947         * src/functexcept.cc: Remove unused arguments.
1948         * testsuite/23_containers/bitset_members.cc: Tweak.
1949
1950 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1951
1952         * config/cpu/i386/bits/limits.h: Move to...
1953         * config/cpu/i386/bits/cpu_limits.h: ...here.
1954         * config/cpu/cris/bits/cpu_limits.h: Same.
1955         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1956         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1957         * config/cpu/alpha/bits/cpu_limits.h: New.
1958         * config/cpu/m68k/bits/cpu_limits.h: New.
1959         * config/cpu/s390/bits/cpu_limits.h: New.
1960         * config/os/aix/bits/os_defines.h: Tweaks.
1961         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1962         * config/os/bsd/netbsd/bits/os_defines.h: Same.
1963         * config/os/djgpp/bits/os_defines.h: Same.
1964         * config/os/generic/bits/os_defines.h: Same.
1965         * config/os/gnu-linux/bits/os_defines.h: Same.
1966         * config/os/hpux/bits/os_defines.h: Same.
1967         * config/os/irix/irix5.2/bits/os_defines.h: Same.
1968         * config/os/irix/irix6.5/bits/os_defines.h: Same.
1969         * config/os/newlib/bits/os_defines.h: Same.
1970         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
1971         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
1972         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
1973
1974         * include/bits/c++config: Remove include.
1975         * include/bits/limits_generic.h: Remove.
1976         * include/bits/std_limits.h: Include cpu_limits.h.
1977         * include/Makefile.am: Fixup.
1978         * src/limits.cc: Tweak.
1979         * src/limits_generic.cc: Remove.
1980         * src/gen-num-limits.cc: Remove.
1981         * mknumeric_limits: Remove.
1982
1983 2001-10-20  Brendan Kehoe  <brendan@zen.org>
1984
1985         * bits/type_traits.h (_Bool): Removed this type.
1986         (__true_type, __false_type): Change to be plain structs.
1987         * src/string-inst.cc (__destroy_aux): Change third parm to be
1988         __false_type instead of _Bool<false>.
1989         * src/misc-inst.cc (__uninitialized_fill_n_aux,
1990         __uninitialized_copy_aux): Likewise.
1991
1992 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
1993
1994         * mkcheck.in (static_fail): Remove older memory limit functionality.
1995         Disable E_TIME due to formatting issues.
1996
1997         * README: Update.
1998
1999 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2000
2001         * include/bits/std_complex.h: Default initialize second argument
2002         of polar to 0, as specified in Library DR #79
2003
2004 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2005
2006         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
2007         _Construct instead of construct.
2008
2009 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2010
2011         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
2012         __n being non-zero, since the standard does not mandate that.
2013         e.g., a search for "" in "" should yield position 0, not npos.
2014         (find_last_not_of): Likewise.
2015
2016 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2017
2018         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
2019         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
2020
2021 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2022
2023         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
2024         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
2025
2026 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2027
2028         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
2029         template parameter _ValueType.
2030
2031 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2032
2033         * include/bits/std_limits.h: Clean up extra semicolons.
2034         * include/bits/locale_facets.h: Likewise.
2035         * include/bits/type_traits.h: Likewise.
2036
2037 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2038
2039         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
2040         * include/bits/locale_facets.tcc (locale::combine): Likewise.
2041
2042 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
2043
2044         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
2045         Declare specializations for char, wchar_t.
2046
2047 2001-10-19  Andreas Jaeger  <aj@suse.de>
2048
2049         * config/cpu/x86-64/bits/limits.h: New file.
2050         * config/cpu/x86-64/bits/atomicity.h: New file.
2051         * configure.target: Add x86-64.
2052
2053 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
2054
2055         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
2056         why).  Add link to recent message.
2057         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
2058         markup.
2059         * docs/html/faq/index.txt:  Regenerate.
2060
2061 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
2062
2063         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
2064         based on Nathan's review.  Use Nathan's words.
2065
2066 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
2067
2068         * docs/html/configopts.html: Quote StyleSheet attribute values.
2069         * docs/html/documentation.html: Likewise.
2070         * docs/html/explanations.html: Likewise.
2071         * docs/html/install.html: Likewise.
2072         * docs/html/17_intro/howto.html: Likewise.
2073         * docs/html/17_intro/license.html: Likewise.
2074         * docs/html/18_support/howto.html: Likewise.
2075         * docs/html/19_diagnostics/howto.html: Likewise.
2076         * docs/html/20_util/howto.html: Likewise.
2077         * docs/html/21_strings/howto.html: Likewise.
2078         * docs/html/22_locale/howto.html: Likewise.
2079         * docs/html/23_containers/howto.html: Likewise.
2080         * docs/html/24_iterators/howto.html: Likewise.
2081         * docs/html/25_algorithms/howto.html: Likewise.
2082         * docs/html/26_numerics/howto.html: Likewise.
2083         * docs/html/27_io/howto.html: Likewise.
2084         * docs/html/ext/howto.html: Likewise.
2085         * docs/html/ext/sgiexts.html: Likewise.
2086         * docs/html/faq/index.html: Likewise.
2087
2088 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
2089
2090         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
2091         * docs/html/23_containers/howto.html (Containers and multithreading):
2092         Update.
2093
2094 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
2095
2096         * docs/html/17_intro/howto.html:  Tweak markup and value type.
2097         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
2098         nonzero arguments, add new note on threading.
2099         * docs/html/faq/index.html:  Update.
2100         * docs/html/faq/index.txt:  Regenerate.
2101
2102 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
2103
2104         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
2105         * docs/html/documentation.html:  Likewise.
2106         * docs/html/explanations.html:  Likewise.
2107         * docs/html/install.html:  Likewise.
2108         * docs/html/17_intro/howto.html:  Likewise.
2109         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
2110         * docs/html/18_support/howto.html:  Likewise.
2111         * docs/html/19_diagnostics/howto.html:  Likewise.
2112         * docs/html/20_util/howto.html:  Likewise.
2113         * docs/html/21_strings/howto.html:  Likewise.
2114         * docs/html/22_locale/howto.html:  Likewise.
2115         * docs/html/23_containers/howto.html:  Likewise.
2116         * docs/html/24_iterators/howto.html:  Likewise.
2117         * docs/html/25_algorithms/howto.html:  Likewise.
2118         * docs/html/26_numerics/howto.html:  Likewise.
2119         * docs/html/27_io/howto.html:  Likewise.
2120         * docs/html/ext/howto.html:  Likewise.
2121         * docs/html/ext/sgiexts.html:  Likewise.
2122         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
2123         * docs/html/faq/index.txt:  Regenerate.
2124
2125 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2126
2127         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
2128         spelling errors of "separate" as "seperate", and corresponding
2129         spelling errors of related words.
2130         * docs/html/faq/index.txt: Regenerate.
2131
2132 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
2133
2134         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
2135         unused function.
2136         * config/cpu/arm/bits/atomicity.h:  Likewise.
2137         * config/cpu/generic/bits/atomicity.h:  Likewise.
2138         * config/cpu/i486/bits/atomicity.h:  Likewise.
2139         * config/cpu/ia64/bits/atomicity.h:  Likewise.
2140         * config/cpu/mips/bits/atomicity.h:  Likewise.
2141         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
2142         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
2143         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
2144
2145 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2146
2147         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
2148         * docs/html/faq/index.txt:  Regenerate.
2149
2150 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2151
2152         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
2153         * docs/html/17_intro/license.html:  New file.  Explain the licenses
2154         in use.
2155
2156         * docs/html/configopts.html:  Link to license.html.
2157         * docs/html/documentation.html:  Likewise.
2158         * docs/html/explanations.html:  Likewise.
2159         * docs/html/install.html:  Likewise.
2160         * docs/html/17_intro/howto.html:  Likewise.
2161         * docs/html/18_support/howto.html:  Likewise.
2162         * docs/html/19_diagnostics/howto.html:  Likewise.
2163         * docs/html/20_util/howto.html:  Likewise.
2164         * docs/html/21_strings/howto.html:  Likewise.
2165         * docs/html/22_locale/howto.html:  Likewise.
2166         * docs/html/23_containers/howto.html:  Likewise.
2167         * docs/html/24_iterators/howto.html:  Likewise.
2168         * docs/html/25_algorithms/howto.html:  Likewise.
2169         * docs/html/26_numerics/howto.html:  Likewise.
2170         * docs/html/27_io/howto.html:  Likewise.
2171         * docs/html/ext/howto.html:  Likewise.
2172         * docs/html/ext/sgiexts.html:  Likewise.
2173         * docs/html/faq/index.html:  Likewise.  New question, linking to
2174         the new license.html.
2175
2176 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2177
2178         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
2179         * docs/html/18_support/howto.html:  Likewise.
2180         * docs/html/19_diagnostics/howto.html:  Likewise.
2181         * docs/html/20_util/howto.html:  Likewise.
2182         * docs/html/21_strings/howto.html:  Likewise.
2183         * docs/html/22_locale/howto.html:  Likewise.
2184         * docs/html/23_containers/howto.html:  Likewise.
2185         * docs/html/24_iterators/howto.html:  Likewise.
2186         * docs/html/25_algorithms/howto.html:  Likewise.
2187         * docs/html/26_numerics/howto.html:  Likewise.
2188         * docs/html/27_io/howto.html:  Likewise.
2189         * docs/html/ext/howto.html:  Likewise.
2190         * docs/html/faq/index.html:  Likewise.  Spacing fix.
2191
2192 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
2193
2194         * include/bits/stl_threads.h (_Atomic_swap): New function.
2195         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2196         * testsuite/ext/rope.cc: New file.
2197
2198 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
2199
2200         * config/locale/time_members_gnu.h: Remove.
2201         * config/locale/time_members_generic.h: Remove.
2202         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2203         * config/locale/time_members_generic.cc: Same.
2204         * include/bits/locale_facets.h: Add data members.
2205         (__timepunct::_M_put_helper): Change signature.
2206         (__timepunct::_M_date_formats): Same.
2207         (__timepunct::_M_time_formats): Same.
2208         (__timepunct::_M_ampm): Add.
2209         (__timepunct::_M_date_time_formats): Add.
2210         (time_get::_M_extract_via_format): Add.
2211         (time_get::_M_extract_time): Change to...
2212         (time_get::_M_extract_num): ... this, modify signature.
2213         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2214         (time_get::do_get_time): Fix.
2215         (time_get::do_get_date): Fix.
2216
2217         * acinclude.m4: Remove CTIME_H.
2218         * aclocal.m4: Regenerate.
2219         * include/Makefile.am: Same.
2220         * include/Makefile.in: Regenerate.
2221         * configure: Regenerate.
2222
2223         * testsuite/22_locale/time_get_members_char.cc: Fix.
2224         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2225         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2226
2227 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
2228
2229         * config/cpu/cris/bits/atomicity.h: Correct file header.
2230
2231 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
2232
2233         * configure.target (LIMITSH): Set for cris.
2234         (cpu_include_dir): Set for cris-*-*.
2235         * config/cpu/cris/bits/atomicity.h: New file.
2236         * config/cpu/cris/bits/limits.h: New file.
2237
2238 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
2239
2240         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2241         (__timepunct::_M_put_helper): Add.
2242         * config/locale/time_members_generic.h: Same.
2243         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2244         (__timepunct): Add data members.
2245         (__timepunct::_M_days): Add.
2246         (__timepunct::_M_days_abbreviated): Add.
2247         (__timepunct::_M_months): Add.
2248         (__timepunct::_M_months_abbreviated): Add.
2249         (__timepunct::_M_initialize_timepunct): Add.
2250         * include/bits/locale_facets.tcc: Same.
2251         * src/locale-inst.cc: Remove instantiations for __match_parallel.
2252         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2253         * aclocal.m4: Regenerate.
2254         * configure: Regenerate.
2255         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2256         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2257         * testsuite/22_locale/time_get.cc: New file.
2258
2259 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2260
2261         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2262         correct multilib builddir.
2263         Properly locate libgcc_s.
2264
2265 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
2266
2267         * include/std/*:  Add Doxygen hooks.
2268         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
2269         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
2270         rather than using a generated index.
2271         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
2272         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
2273         * docs/doxygen/stdheader.cc:  ...this new file.
2274
2275 2001-09-26  Stan Shebs  <shebs@apple.com>
2276
2277         * include/Makefile.am: Remove RCS Id strings.
2278         * src/Makefile.am: Ditto.
2279         * docs/doxygen/run_doxygen: Ditto.
2280         * docs/html/configopts.html: Ditto.
2281         * docs/html/documentation.html: Ditto.
2282         * docs/html/explanations.html: Ditto.
2283         * docs/html/install.html: Ditto.
2284         * docs/html/17_intro/howto.html: Ditto.
2285         * docs/html/18_support/howto.html: Ditto.
2286         * docs/html/19_diagnostics/howto.html: Ditto.
2287         * docs/html/20_util/howto.html: Ditto.
2288         * docs/html/21_strings/howto.html: Ditto.
2289         * docs/html/22_locale/howto.html: Ditto.
2290         * docs/html/23_containers/howto.html: Ditto.
2291         * docs/html/24_iterators/howto.html: Ditto.
2292         * docs/html/25_algorithms/howto.html: Ditto.
2293         * docs/html/26_numerics/howto.html: Ditto.
2294         * docs/html/27_io/howto.html: Ditto.
2295         * docs/html/ext/howto.html: Ditto.
2296         * docs/html/ext/sgiexts.html: Ditto.
2297         * docs/html/faq/index.html: Ditto.
2298         * docs/html/faq/index.txt: Ditto.
2299
2300 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2301
2302         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
2303         `carray' size.
2304
2305 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2306
2307         * docs/html/20_util/howto.html:  Add anchor name.
2308         * docs/html/23_containers/howto.html:  Line wrapping, another link.
2309         * docs/html/25_algorithms/howto.html:  Another note.
2310
2311         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
2312         link to them...
2313         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
2314         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
2315         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
2316         carried over to libstdc++-v3.
2317         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
2318         "missing .." pseudobug.
2319         * docs/html/faq/index.txt:  Regenerate.
2320
2321         * include/bits/ios_base.h:  DR-related comment cleanup.
2322         * include/bits/istream.tcc:  Likewise.
2323         * include/bits/locale_facets.h:  Likewise.
2324         * include/bits/locale_facets.tcc:  Likewise.
2325         * include/bits/ostream.tcc:  Likewise.
2326         * include/bits/std_bitset.h:  Likewise.
2327         * include/bits/std_iosfwd.h:  Likewise.
2328         * include/bits/std_istream.h:  Likewise.
2329         * include/bits/std_ostream.h:  Likewise.
2330         * include/bits/std_streambuf.h:  Likewise.
2331         * include/bits/stl_pair.h:  Likewise.
2332         * include/bits/streambuf_iterator.h:  Likewise.
2333
2334         * include/bits/std_map.h:  Remove unused header inclusion guard
2335         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2336         * include/bits/std_set.h:  Likewise.
2337
2338         * include/bits/stl_function.h:  Doxygen markup.
2339         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
2340         * libsupc++/typeinfo:  Doxygen markup tweak.
2341
2342 2001-09-20  Scott Johnston <scott@accom.com>
2343             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2344
2345         * include/backward/alloc.h: Conditionally define malloc_alloc
2346         * testsuite/backward/header_deque_h.cc: New file.
2347
2348 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2349
2350         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2351         change variable name so that it works with -fno-for-scope.
2352
2353 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
2354
2355         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2356         redundant sanity checks.
2357         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2358         (test02): Same.
2359         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2360         (test02): Same.
2361         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2362         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2363         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2364         (test02): Same.
2365         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2366         (test02): Same.
2367
2368 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
2369
2370         Implement std::time_put.
2371         * include/bits/locale_facets.h: Include time_members.h.
2372         (__timepunct): New.
2373         (time_put): Implement.
2374         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2375         * include/bits/localefwd.h: Bump number of facets.
2376         * config/locale/time_members_generic.h: New file.
2377         * config/locale/time_members_gnu.h: New file.
2378         * config/locale/c_locale_generic.h: Include clocale.
2379         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2380         * src/locale.cc: Add __timepunct initializations.
2381         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2382         * include/Makefile.am (stamp-target): Add time_members.h.
2383         * include/Makefile.in: Regenerate.
2384         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2385         * aclocal.m4: Regenerate.
2386         * configure: Regenerate.
2387         * testsuite/22_locale/time_put.cc: New file.
2388         * testsuite/22_locale/time_put_members_char.cc: New file.
2389
2390         * docs/html/22_locale/locale.html: Add note.
2391
2392 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
2393
2394         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
2395         * docs/html/documentation.html:  Likewise.
2396         * docs/html/explanations.html:  Likewise.
2397         * docs/html/install.html:  Likewise.
2398         * docs/html/17_intro/howto.html:  Likewise.
2399         * docs/html/18_support/howto.html:  Likewise.
2400         * docs/html/19_diagnostics/howto.html:  Likewise.
2401         * docs/html/20_util/howto.html:  Likewise.
2402         * docs/html/21_strings/howto.html:  Likewise.
2403         * docs/html/22_locale/codecvt.html:  Likewise.
2404         * docs/html/22_locale/ctype.html:  Likewise.
2405         * docs/html/22_locale/howto.html:  Likewise.
2406         * docs/html/22_locale/locale.html:  Likewise.
2407         * docs/html/22_locale/messages.html:  Likewise.
2408         * docs/html/23_containers/howto.html:  Likewise.
2409         * docs/html/24_iterators/howto.html:  Likewise.
2410         * docs/html/25_algorithms/howto.html:  Likewise.
2411         * docs/html/26_numerics/howto.html:  Likewise.
2412         * docs/html/27_io/howto.html:  Likewise.
2413         * docs/html/ext/howto.html:  Likewise.
2414         * docs/html/faq/index.html:  Likewise.
2415         * docs/html/faq/index.txt:  Regenerated.
2416
2417 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
2418
2419         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
2420         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
2421         * docs/html/18_support/howto.html:  It won't compile; it's not code.
2422         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
2423         doxygen'd pages.
2424         * docs/html/22_locale/howto.html:  Comment for future work.
2425         * docs/html/23_containers/howto.html:  More comments.
2426         * docs/html/25_algorithms/howto.html:  It's a comment, not a
2427         blunt command to the reader.  (English grammar.)
2428
2429 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2430
2431         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2432         wchar_t members.
2433         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2434         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2435
2436 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2437
2438         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2439
2440 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
2441
2442         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2443         * testsuite/22_locale/money_put_members_char.cc: Likewise.
2444         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2445
2446 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
2447
2448         Implement std::money_get.
2449         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2450         * include/bits/locale_facets.h (money_get): Correct signatures.
2451         * testsuite/22_locale/money_get.cc: New file.
2452         * testsuite/22_locale/money_get_members_char.cc: New file.
2453
2454         * include/bits/locale_facets.tcc (__verify_grouping): New
2455         function. Consolidate num_get and money_get group checking into
2456         one function.
2457         (money_get): Use it.
2458         * src/locale.cc (num_get::_M_extract): Use it.
2459         * src/locale-inst.cc: Add instantiation.
2460
2461 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2462
2463         * include/bits/std_limits.h (numeric_limits<float>::radix,
2464         numeric_limits<float>::epsilon:  Fix thinko.
2465
2466 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2467
2468         * configure.in: Fix cross compiling math routines. Correct
2469         comments for cross compiling and limits. Add floating point math
2470         routines found in newlib.
2471         * configure: Regenerate.
2472         * acconfig.h: Add macros.
2473         * config.h.in: Regenerate.
2474
2475 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2476
2477         * config/locale/moneypunct_members_generic.cc
2478         (money_base::_S_construct_pattern): Remove unused parameters.
2479
2480 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2481
2482         * include/Makefile.am (stamp-target): Remove link to self.
2483         * inclulde/Makefile.in: Regenerate.
2484
2485 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
2486
2487         Implement std::money_put.
2488         * include/bits/locale_facets.h
2489         (moneypunct::_M_initialize_moneypunct): Split up specializations
2490         to account for _Intl.  More grody hacking to get around the
2491         ill-considered use of const bool as a template parameter.
2492         * config/locale/moneypunct_members_gnu.cc: And here.
2493         * config/locale/moneypunct_members_generic.cc: And here.
2494         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2495         * testsuite/22_locale/moneypunct.cc: Add tests.
2496         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2497         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2498
2499         * src/locale.cc (money_base::_S_construct_pattern): Move into
2500         gnu-specific file.
2501         * config/locale/moneypunct_members_gnu.cc: Add here.
2502         * config/locale/moneypunct_members_generic.cc: Add generic version
2503         here.
2504
2505         * include/bits/locale_facets.tcc (money_put::do_put): Move member
2506         function definitions here.
2507         * include/bits/locale_facets.h (money_put): Implement.
2508         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2509         Correct money_get, money_put instantiations.
2510         * src/locale.cc (money_base::_S_construct_pattern): Handle case
2511         where __posn == 0.
2512         * testsuite/22_locale/money_put_members_char.cc: Add tests.
2513
2514 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
2515
2516         * testsuite_flags.in:  No longer need to search testsuite builddir.
2517         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
2518         * Makefile.am:  The testsuite directory never needs to be made here.
2519         * Makefile.in:  Regenerate.
2520         * include/Makefile.in:  Regenerate.
2521         * libio/Makefile.in:  Regenerate.
2522         * libmath/Makefile.in:  Regenerate.
2523         * libsupc++/Makefile.in:  Regenerate.
2524         * po/Makefile.in:  Regenerate.
2525         * src/Makefile.in:  Regenerate.
2526         * testsuite/Makefile.in:  Regenerate.
2527
2528 2001-09-04  Scott Johnston  <scott@accom.com>
2529             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2530
2531         * include/backward/iterator.h: Include <bits/std_iterator.h>,
2532         remove reverse_bidirectional_iterator.
2533         * testsuite/backward: New directory.
2534         * testsuite/backward/header_iterator_h.cc: New file.
2535
2536 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
2537
2538         * include/c_std/bits/std_c*.h: Don't use include_next.
2539
2540 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
2541
2542         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2543         tmp from _Unwind_Ptr to _Unwind_Word.
2544
2545 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
2546
2547         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2548         leb128 handling.
2549
2550 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
2551
2552         * include/Makefile.am: Use toplevel_srcdir to refer to src files
2553         outside this component.
2554         * include/Makefile.in: Regenerate.
2555
2556 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
2557
2558         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2559         * config/locale/c_locale_generic.cc: Same.
2560         * config/locale/moneypunct_members_gnu.cc: New file.
2561         * config/locale/moneypunct_members_generic.cc: New file.
2562         * config/locale/numpunct_members_gnu.cc: New file.
2563         * config/locale/numpunct_members_generic.cc: New file.
2564         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2565         options.
2566         * aclocal.m4: Regenerate.
2567         * configure: Regenerate.
2568         * src/Makefile.am (sources): And here.
2569         * src/Makefile.in: Regenerate.
2570
2571         Rename for consistency with rest of testsuite.
2572         * testsuite/22_locale/codecvt.cc: New file.
2573         * testsuite/22_locale/money_put.cc: New file.
2574         * testsuite/22_locale/money_put_members_char.cc: New file.
2575
2576 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
2577
2578         PR libstdc++/4143
2579         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
2580         correctly for version-specific-runtime-libs.
2581         * aclocal.m4:  Regenerate.
2582         * configure:  Regenerate.
2583
2584 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
2585
2586         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2587         define if not already provided by per-OS file.
2588         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2589         Define.
2590
2591 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
2592
2593         * docs/html/17_intro/C++STYLE:  Fix typo.
2594
2595 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
2596
2597         * docs/html/23_containers/howto.html:  Describe implementation of
2598         insertion with hints.
2599
2600 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
2601
2602         libstdc++/3740
2603         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2604
2605 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2606             Phil Edwards  <pme@sources.redhat.com>
2607
2608         PR libstdc++/3349
2609         * include/bits/stl_tree.h (insert_unique):  Revert last change.
2610         Values inserted at begin() must be less, not greater, than *begin()'s.
2611         * testsuite/23_containers/map_insert.cc:  New file.
2612
2613 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
2614
2615         * config/locale/c_locale_gnu.cc: Minor tweaks.
2616         (moneypunct<wchar_t>): Implement.
2617         * include/bits/locale_facets.h: Same.
2618         * testsuite/22_locale/moneypunct.cc: New file.
2619         * testsuite/22_locale/moneypunct_byname.cc: New file.
2620         * testsuite/22_locale/moneypunct_char_members.cc: New file.
2621
2622 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
2623
2624         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2625         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2626
2627 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
2628
2629         * testsuite_flags.in (build-includes): Re-add backward.
2630
2631 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
2632
2633         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2634         with _GLIBCPP_USE_WCHAR_T.
2635
2636 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
2637
2638         * testsuite/22_locale/collate_byname.cc (test01): Fix.
2639
2640 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
2641
2642         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2643
2644 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
2645
2646         * testsuite/22_locale/operators.cc: Add test.
2647
2648 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
2649
2650         Implement std::collate.
2651         * config/locale/collate_specializations_gnu.cc: Add here, implement in
2652         MT-safe way.
2653         * config/locale/collate_specializations_generic.cc: Add here, but
2654         in a less sophisticated manner.
2655         * include/bits/locale_facets.tcc (collate): Add generic definition.
2656         * include/bits/locale_facets.h (~collate): Mark virtual.
2657         (collate::_M_compare_helper): New.
2658         (collate::_M_transform_helper): New.
2659         * src/locale.cc: Remove unnecessary specializations.
2660         * src/string-inst.cc: Tweak instantiation of ctors.
2661
2662         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2663         * aclocal.m4: Regenerate.
2664         * configure: Regenerate.
2665         * src/Makefile.am (sources): Add collate.cc.
2666         * src/Makefile.in: Regenerate.
2667
2668         * testsuite/22_locale/collate_byname.cc: New.
2669         * testsuite/22_locale/collate.cc: New file.
2670         * testsuite/22_locale/collate_char_members.cc: New file.
2671         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2672
2673 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2674
2675         * configure.target: Set LIMITSH for powerpc-*-*.
2676         * config/cpu/powerpc/bits/limits.h: New file.
2677
2678 2001-08-16  Marc Espie <espie@openbsd.org>
2679
2680         * configure.in:  Check for <sys/types.h>.
2681         * configure:  Rebuild.
2682         * config.h.in:  Rebuild.
2683         * libmath/mathconf.h:  Include <sys/types.h> prior to
2684         <machine/endian.h> if available.
2685
2686 2001-08-15  Andreas Schwab  <schwab@suse.de>
2687
2688         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2689         m68k and m680[246]0.
2690         * config/cpu/m68k/bits/atomicity.h: New file.
2691
2692         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2693         Define appropriate long double limits for m68k extended floating
2694         point.
2695         (__glibcpp_f32_digits10): Corrected, off by one.
2696         (__glibcpp_f80_digits10): Likewise.
2697         (__glibcpp_f128_digits10): Likewise.
2698         * config/os/gnu-linux/bits/os_defines.h
2699         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2700
2701 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2702
2703         * testsuite/18_support/numeric_limits.cc: Add more tests.
2704         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2705         typo.
2706
2707 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
2708
2709         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2710         for s390 and s390x.
2711
2712         * config/cpu/s390/bits/atomicity.h: New.
2713
2714 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
2715
2716         * include/bits/std_limits.h: Fix thinko.
2717
2718 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
2719
2720         * include/Makefile.am: Consolidate target rules. Don't clean stamp
2721         files. Tweak target build directory stamp.
2722         * include/Makefile.in: Regenerate.
2723
2724 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2725
2726         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2727         _GBLICPP_HAVE_LOGL with HAVE_LOGL
2728
2729 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
2730
2731         * configure.in (libtool_VERSION): Add.
2732         (VERSION): Change to
2733         (release_VERSION): This.
2734         * configure: Regenerate.
2735         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2736         libtool_VERSION.
2737         * src/Makefile.in: Regenerate.
2738
2739         * intl/Makefile.am: Remove.
2740         * intl/Makefile.in: Remove.
2741         * intl: Remove.
2742         * Makefile.am (SUBDIRS): Remove intl.
2743         * po/Makefile.am (DISTFILES): Add string_literals.cc
2744         (MSGFMT): Add.
2745         * po/string_literals.cc: Add.
2746         * po/POTFILES.in: Fix path.
2747         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2748         * aclocal.m4: Regenerate.
2749         * configure.in: Remove AC_OUTPUT of intl/Makefile.
2750
2751         * include/backward/backward_warning.h: Clarify message.
2752
2753         * testsuite_flags.in (--cxxflags): Use same debug flags for
2754         library and testsuite.
2755
2756         * include/Makefile.am (c_compatibility): Remove.
2757         * include/Makefile.in: Regenerate.
2758
2759 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
2760
2761         * configure.in (LIMITS_INC_SRCDIR): New variable.
2762         * configure.target (LIMITSH): New variable.
2763         * porting.texi: Discuss numeric limits.
2764         * config/cpu/generic/bits/limits.h: New file.
2765         * config/cpu/i386/bits/limits.h: New file.
2766         * include/Makefile.am: Install bits/limits.h.
2767         * include/bits/c++config: Include bits/limits.h.
2768
2769 2001-08-13  H.J. Lu  (hjl@gnu.org)
2770
2771         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2772         New. Copy files.
2773         (libstdc++-v3-init ): Use it.
2774
2775 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2776
2777         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2778         to '__adjust' to avoid shadowing in nested scope.
2779
2780 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2781
2782         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2783         __CHAR_UNSIGNED__.
2784
2785         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2786         Likewise.
2787         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2788         Remove.
2789
2790 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
2791
2792         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2793         dummy default argument to the non-limit implementation.
2794
2795         bootstrap/3963
2796         * include/Makefile.am: Use relative file path in rule to allow
2797         colon in $(objdir).
2798         * include/Makefile.in: Rebuilt.
2799
2800 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
2801
2802         * include/bits/std_complex.h (complex<long double>::operator*=,
2803         complex<long double>::operator/=): Fix thinko.
2804
2805 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2806
2807         * include/bits/std_limits.h: New file.
2808         * include/Makefile.am (bits_headers): Add std_limits.h
2809         (all-local): std_limits.h is no longer built.
2810         (${target_builddir}/std_limits.h): Remove.
2811         * include/Makefile.in: Regenerate.
2812         * src/limits.cc: New file.
2813         * src/Makefile.am (sources): Add limits.cc in replacement of
2814         limitsMEMBERS.cc.
2815         * src/Makefile.in: Regenerate.
2816
2817 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2818
2819         * src/gen-num-limits.cc (digits10): Fix thinko.
2820
2821 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2822
2823         * po/Makefile.am (check-no): Add.
2824         (check-yes): Same.
2825         * po/Makefile.in: Regenerate.
2826
2827 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2828
2829         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2830         * config.h.in: Regenerate.
2831         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2832         function.
2833         * aclocal.m4: Regenerate.
2834         * configure.in: Remove duplicate AM_CONFIG_HEADER.
2835         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2836         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2837         * configure: Regenerate.
2838         * testsuite_hooks.h.in: Move to...
2839         * testsuite_hooks.h: Here, include c++config.h. Use it.
2840
2841         * Makefile.am (SUBDIRS): Move testsuite to last directory.
2842         * Makefile.in: Regenerate.
2843         * po/Makefile.am (stamp-po): Add.
2844
2845 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
2846
2847         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2848         * config/os/generic/bits/os_defines.h: Likewise.
2849         * config/os/gnu-linux/bits/os_defines.h: Likewise.
2850         * config/os/hpux/bits/os_defines.h: Likewise.
2851         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2852         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2853
2854 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2855
2856         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2857         -version-info, use substituted VERSION info.
2858         * src/Makefile.in: Regenerate.
2859
2860 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
2861
2862         Implement std::messages.
2863         Make config a fully-nested directory.
2864         * config/locale: New directory.
2865         * config/c_locale_generic.cc: Move into locale subdirectory.
2866         * config/c_locale_generic.h: Same.
2867         * config/c_locale_gnu.cc: Same.
2868         * config/c_locale_gnu.h: Same.
2869         * config/c_locale_ieee_1003.1-200x.cc: Same.
2870         * config/c_locale_ieee_1003.1-200x_.h: Same.
2871         * config/codecvt_specializations_generic.h: Same.
2872         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2873         * config/messages_members_gnu.h: Same.
2874         * config/messaages_members_gnu.cc: Same.
2875         * config/messages_members_generic.h: Same.
2876         * config/messaages_members_generic.cc: Same.
2877         * config/messages_members_ieee_1003.1-200x.h: Same.
2878         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2879         * config/io: New directory.
2880         * config/basic_file_libio.h: Move into io subdirectory.
2881         * config/basic_file_libio.cc: Same.
2882         * config/c_io_libio.h: Same.
2883         * config/c_io_libio_codecvt.c: Same.
2884         * config/basic_file_stdio.h: Same.
2885         * config/basic_file_stdio.cc: Same.
2886         * config/c_io_stdio.h: Same.
2887
2888         * po: New directory.
2889         * po/POTFILES.in: New file.
2890         * po/Makefile.am: New file.
2891         * po/Makefile.in: New file.
2892         * po/libstdc++.pot: Generic translation file.
2893         * po/fr.po: Preliminary French translation.
2894         * po/de.po: Preliminary German translation.
2895         * intl: New directory.
2896         * intl/Makefile.am: New file.
2897         * intl/Makefile.in: New file.
2898         * intl/string_literals.cc: New file.
2899         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2900         requisite setup for gettext. Re-arrange.
2901         * aclocal.m4: Regenerate.
2902         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2903         Output Makefile bits for po and intl.
2904         * configure: Regenerate.
2905         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2906         * Makefile.in: Regenerate.
2907         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2908         * config.h.in: Regenerate.
2909
2910         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2911
2912         * include/Makefile.am (install-data-local): Don't install Makefile.
2913         * include/Makefile.in: Regenerate.
2914
2915         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2916         Add member.
2917         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2918         * config/locale/c_locale_generic.cc: Same.
2919         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2920
2921         * include/bits/codecvt.h: Excise non-standard, non-required
2922         bits. This includes __enc_traits, and partial specializations of
2923         codecvt for __enc_traits.
2924         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2925         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2926         * config/codecvt_partials_generic.h: New file.
2927         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2928         (stamp-codecvt_model): Add.
2929         * include/Makefile.in: Regenerate.
2930         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2931         * aclocal.m4: Regenerate.
2932         * configure: Regenerate.
2933         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2934         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2935         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2936
2937         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2938         as a friend for _S_*_c_locale functions.
2939         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2940         argument to default constructor so that CODESET information can be
2941         deduced.
2942         * include/bits/locale_facets.h (messages_byname):
2943         Re-implement. Remove specializations.
2944         * src/locale.cc (messages_byname<char>): Remove specialization.
2945         (messages_byname<wchar_t>): Same.
2946         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2947         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2948         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2949         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2950         * config/locale/messages_members_gnu.cc: New file.
2951         * config/locale/messages_members_gnu.h: New file.
2952         * config/locale/messages_members_generic.cc: New file.
2953         * config/locale/messages_members_generic.h: New file.
2954
2955         * docs/html/configopts.html: Add documentation for new locale
2956         model, ieee_1003.1. Adjust other flags for current defaults.
2957         * docs/html/22_locale/locale.html: Update.
2958         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2959         * docs/html/22_locale/messages.html: New.
2960
2961         * src/Makefile.am (sources): Add messages_virtuals.cc.
2962         * src/Makefile.in: Regenerate.
2963         * include/Makefile.am (allstamps): Add stamp-messages_model.
2964         (stamp-messages_model): Add.
2965         * include/Makefile.in: Regenerate.
2966         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
2967         * aclocal.m4: Regenerate.
2968         * configure: Regenerate.
2969
2970         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
2971         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
2972         bits for Irix.
2973         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
2974         build directories message catalog base directory, and export.
2975         Eventually this should probably be made to deal with build and
2976         install directories. For now, punt on this as the library itself
2977         doesn't use message catalogs (yet).
2978         * testsuite/22_locale/messages.cc: New file.
2979         * testsuite/22_locale/messages_char_members.cc: New file.
2980         * testsuite/22_locale/messages_byname.cc: New file.
2981
2982 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
2983
2984         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
2985         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
2986         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
2987         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
2988         Call GLIBCPP_CONFIGURE_TESTSUITE.
2989         * aclocal.m4:  Regenerate.
2990         * config.h.in:  Regenerate.
2991         * configure:  Regenerate.
2992
2993         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
2994         of old header.
2995
2996         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
2997         * testsuite/debug_assert.h:  Removed; contents merged into...
2998         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
2999         * testsuite/17_intro/header_ciso646.cc:  No longer include
3000         debug_assert.h, include testsuite_hooks.h instead.
3001         * testsuite/17_intro/header_fstream.cc:  Likewise.
3002         * testsuite/17_intro/header_iomanip.cc:  Likewise.
3003         * testsuite/17_intro/header_ios.cc:  Likewise.
3004         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
3005         * testsuite/17_intro/header_iostream.cc:  Likewise.
3006         * testsuite/17_intro/header_istream.cc:  Likewise.
3007         * testsuite/17_intro/header_ostream.cc:  Likewise.
3008         * testsuite/17_intro/header_sstream.cc:  Likewise.
3009         * testsuite/17_intro/header_streambuf.cc:  Likewise.
3010         * testsuite/18_support/numeric_limits.cc:  Likewise.
3011         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
3012         * testsuite/20_util/allocator_members.cc:  Likewise.
3013         * testsuite/20_util/auto_ptr.cc:  Likewise.
3014         * testsuite/20_util/pairs.cc:  Likewise.
3015         * testsuite/21_strings/append.cc:  Likewise.
3016         * testsuite/21_strings/capacity.cc:  Likewise.
3017         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
3018         * testsuite/21_strings/compare.cc:  Likewise.
3019         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
3020         call to (disabled) __set_testsuite_memlimit() wrapper.
3021         * testsuite/21_strings/element_access.cc:  Likewise.
3022         * testsuite/21_strings/find.cc:  Likewise.
3023         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
3024         (disabled) __set_testsuite_memlimit() wrapper.
3025         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
3026         * testsuite/21_strings/invariants.cc:  Likewise.
3027         * testsuite/21_strings/nonmember.cc:  Likewise.
3028         * testsuite/21_strings/operations.cc:  Likewise.
3029         * testsuite/21_strings/replace.cc:  Likewise.
3030         * testsuite/21_strings/rfind.cc:  Likewise.
3031         * testsuite/21_strings/substr.cc:  Likewise.
3032         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
3033         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
3034         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
3035         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
3036         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
3037         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
3038         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
3039         * testsuite/22_locale/facet.cc:  Likewise.
3040         * testsuite/22_locale/global_templates.cc:  Likewise.
3041         * testsuite/22_locale/members.cc:  Likewise.
3042         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
3043         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
3044         * testsuite/22_locale/operators.cc:  Likewise.
3045         * testsuite/22_locale/static_members.cc:  Likewise.
3046         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
3047         * testsuite/23_containers/bitset_members.cc:  Likewise.
3048         * testsuite/23_containers/bitset_shift.cc:  Likewise.
3049         * testsuite/23_containers/vector_capacity.cc:  Likewise.
3050         * testsuite/23_containers/vector_ctor.cc:  Likewise.
3051         * testsuite/23_containers/vector_element_access.cc:  Likewise.
3052         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
3053         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
3054         * testsuite/24_iterators/iterator.cc:  Likewise.
3055         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
3056         * testsuite/25_algorithms/binary_search.cc:  Likewise.
3057         * testsuite/25_algorithms/copy.cc:  Likewise.
3058         * testsuite/25_algorithms/heap.cc:  Likewise.
3059         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
3060         * testsuite/25_algorithms/min_max.cc:  Likewise.
3061         * testsuite/25_algorithms/partition.cc:  Likewise.
3062         * testsuite/25_algorithms/rotate.cc:  Likewise.
3063         * testsuite/25_algorithms/sort.cc:  Likewise.
3064         * testsuite/26_numerics/c_math.cc:  Likewise.
3065         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
3066         * testsuite/26_numerics/complex_value.cc:  Likewise.
3067         * testsuite/27_io/filebuf.cc:  Likewise.
3068         * testsuite/27_io/filebuf_members.cc:  Likewise.
3069         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
3070         * testsuite/27_io/fpos.cc:  Likewise.
3071         * testsuite/27_io/fstream_members.cc:  Likewise.
3072         * testsuite/27_io/ifstream_members.cc:  Likewise.
3073         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
3074         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
3075         * testsuite/27_io/ios_base_storage.cc:  Likewise.
3076         * testsuite/27_io/ios_ctor.cc:  Likewise.
3077         * testsuite/27_io/ios_init.cc:  Likewise.
3078         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
3079         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
3080         * testsuite/27_io/ios_members.cc:  Likewise.
3081         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
3082         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
3083         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
3084         * testsuite/27_io/istream_manip.cc:  Likewise.
3085         * testsuite/27_io/istream_seeks.cc:  Likewise.
3086         * testsuite/27_io/istream_sentry.cc:  Likewise.
3087         * testsuite/27_io/istream_unformatted.cc:  Likewise.
3088         * testsuite/27_io/istringstream_members.cc:  Likewise.
3089         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
3090         * testsuite/27_io/ofstream_members.cc:  Likewise.
3091         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
3092         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
3093         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
3094         * testsuite/27_io/ostream_manip.cc:  Likewise.
3095         * testsuite/27_io/ostream_seeks.cc:  Likewise.
3096         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
3097         * testsuite/27_io/ostringstream_members.cc:  Likewise.
3098         * testsuite/27_io/streambuf.cc:  Likewise.
3099         * testsuite/27_io/stringbuf.cc:  Likewise.
3100         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
3101         * testsuite/27_io/stringstream.cc:  Likewise.
3102         * testsuite/27_io/stringstream_members.cc:  Likewise.
3103         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
3104
3105 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
3106
3107         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
3108
3109 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
3110
3111         * configure.target: Remove mips from cpu table.
3112         * config/cpu/mips/bits/atomicity.h: Remove generic
3113         versions. Comment sgidefs include.
3114
3115 2001-07-25  H.J. Lu <hjl@gnu.org>
3116
3117         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
3118         for mips.
3119
3120         * config/cpu/mips/bits/atomicity.h: New.
3121
3122 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3123
3124         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
3125         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
3126         * aclocal.m4: Regenerate.
3127         * config.h.in: Likewise.
3128         * configure: Likewise.
3129         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
3130         (EXTRA_DIST): Remove hypot.c hypotf.c.
3131         * libmath/Makefile.am: Regenerate.
3132         * libmath/hypotf.c: Remove.
3133         * libmath/hypot.c: Likewise.
3134         * libmath/hypotl.c: Likewise.
3135         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
3136         _GLIBCPP_HAVE_xxx.  Add long double versions.
3137
3138 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
3139
3140         * include/bits/limits_generic.h (int): Set digits and digits10
3141         appropriately for word size.
3142         (unsigned int,long,unsigned long): Likewise.
3143
3144 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3145
3146         * include/bits/stl_algo.h : Fix typos.
3147         * testsuite/25_algorithms/unique.cc: New file.
3148
3149 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
3150             Mark Mitchell <mark@codesourcery.com>
3151
3152         Merge from cp-parser-branch.
3153         * include/bits/basic_string.h:  Qualify symbols with 'template'.
3154         * include/bits/basic_string.tcc:  Likewise.
3155         * include/bits/fstream.tcc:  Likewise.
3156         * include/bits/istream.tcc:  Likewise.
3157         * include/bits/sstream.tcc:  Likewise.
3158         * include/bits/std_istream.h:  Likewise.
3159         * include/bits/stl_iterator.h:  Likewise.
3160         * include/bits/streambuf.tcc:  Likewise.
3161         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
3162         * src/locale.cc:  Likewise.
3163
3164 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3165             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3166
3167         * src/gen-num-limits.cc (set_signals_handler): New function.
3168         Factor out signals setting.  Set signal handler for SIGILL.
3169
3170 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
3171
3172         * docs/html/27_io/howto.html:  Fix typo.
3173         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
3174         * docs/html/faq/index.txt:  Regenerated.
3175
3176 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
3177             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
3178
3179         libstdc++/3599
3180         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3181         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3182
3183 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
3184
3185         All occurrences of the __value_type() and __distance_type()
3186         functions, which were required to support the HP STL, have been
3187         removed along with all the auxiliary forwarding functions that
3188         were required to support their use.
3189
3190         The __iterator_category() function was pretty much left alone
3191         because there was no benefit to removing it and its use made code
3192         just a little more readable.
3193
3194         Incidences of distance() with nonstandard argument list were
3195         replaced by calls to the standard function (only in the files
3196         affected by the removal of the other HP functions).
3197
3198         The signature of the rotate() algorithm was changed to match the
3199         standard.
3200
3201         Headers were reformatted under C++STYLE guidelines (indentation,
3202         linebreaks, typename keyword).
3203
3204         * include/bits/stl_algo.h: replaced __value_type() and
3205         __distance_type() with iterator_traits, eliminated auxiliary
3206         support functions required to support said function usage.
3207         Changed nonstandard distance() call to standard call.
3208
3209         * include/bits/stl_algobase.h: Same.
3210         * include/bits/stl_heap.h: Same.
3211         * include/bits/stl_numeric.h: Same.
3212         * include/bits/stl_uninitialized.h: Same.
3213         * include/bits/stl_iterator_base_types.h (__value_type()):
3214         Removed.
3215         (__distance_type()): Removed.
3216         (value_type()): Gone.
3217         (distance_type()): Done in.
3218         (iterator_category()): Hasta la vista, baby.
3219
3220         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3221         Replaced with __iterator_category().
3222         * include/backward/iterator.h: moved definition of value_type(),
3223         distance_type(), and iterator_category() out of std:: and into
3224         here.
3225         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3226         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3227         * testsuite/25_algorithms/rotate.cc: New testcase.
3228         * testsuite/25_algorithms/copy.cc: New testcase.
3229         * testsuite/25_algorithms/sort.cc: Same.
3230         * testsuite/25_algorithms/heap.cc: Same.
3231         * testsuite/25_algorithms/partition.cc: Same.
3232         * testsuite/25_algorithms/binary_search.cc: Same.
3233         * testsuite/26_numerics/sum_diff.cc: Ditto.
3234
3235 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
3236
3237         * testsuite/README: Add notes on naming test cases.
3238         * testsuite/22_locale/members.cc: Mark as xfail.
3239         * testsuite/22_locale/numpunct_char_members.cc: Same.
3240
3241 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
3242
3243         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
3244         setting C_INCLUDE_DIR.
3245         * configure.in:  Revert yesterday's LN_S change.
3246         * aclocal.m4:  Regenerate.
3247         * configure:  Regenerate.
3248
3249 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
3250
3251         * configure.in:  Temporarily force LN_S to copy instead of symlink.
3252         * configure:  Regenerate.
3253
3254 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
3255
3256         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3257         Initialize _M_string with pointer-and-size constructor, not just
3258         pointer.  Fix some comments.
3259         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
3260         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
3261         (test03):  Add embedded-NUL tests.
3262
3263         * mkcheck.in:  When printing totals, match the order of the tests.
3264         * include/bits/stringfwd.h:  Use same declaration keywords.
3265         * include/bits/std_iosfwd.h:  Cosmetic spacing.
3266
3267 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
3268             Loren J. Rittle  <ljrittle@acm.org>
3269             Phil Edwards  <pme@sources.redhat.com>
3270
3271         * include/Makefile.am:  New file encapsulating header generation rules.
3272         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
3273         * acinclude.m4:  Moved/removed rules for building various headers.
3274         * configure.in (AC_OUTPUT):  Add include/Makefile.
3275         * mkc++config:  Removed.
3276
3277         * testsuite_flags.in:  Changed build-includes to match new scheme.
3278         * mknumeric_limits:  Likewise.
3279         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
3280         * libmath/Makefile.am:  Likewise.
3281         * libsupc++/Makefile.am:  Likewise.
3282         * src/Makefile.am:  Likewise; removed rules to build headers.
3283         * libmath/mathconf.h:  Changed #include'd header names to match.
3284         * libmath/stubs.c:  Likewise.
3285         * src/gen-num-limits.cc:  Likewise.
3286
3287         * configure:  Regenerated.
3288         * config.h.in:  Regenerated.
3289         * aclocal.m4:  Regenerated.
3290         * Makefile.in:  Regenerated.
3291         * include/Makefile.in:  Regenerated.
3292         * libio/Makefile.in:  Regenerated.
3293         * libmath/Makefile.in:  Regenerated.
3294         * libsupc++/Makefile.in:  Regenerated.
3295         * src/Makefile.in:  Regenerated.
3296         * testsuite/Makefile.in:  Regenerated.
3297
3298 2001-07-11   Felix Natter  <fnatter@gmx.net>
3299
3300         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
3301         master copy.
3302         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
3303
3304 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
3305
3306         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
3307         * docs/doxygen/user.cfg.in:  Tweaks.
3308         * include/bits/c++config:  Documentation comments for Doxygen.
3309         * include/bits/char_traits.h:  Likewise.
3310         * include/bits/limits_generic.h:  Likewise.
3311         * include/bits/std_stdexcept.h:  Likewise.
3312         * include/bits/stl_pair.h:  Likewise.
3313         * libsupc++/exception:  Likewise.
3314         * libsupc++/new:  Likewise.
3315         * libsupc++/typeinfo:  Likewise.
3316         * libmath/Makefile.am:  Update and correct copyright.
3317
3318 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3319
3320         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3321         * aclocal.m4: Regenerate.
3322         * configure: Same.
3323
3324 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3325
3326         * docs/html/configopts.html:  Fix thinko.
3327         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
3328         * include/bits/stl_iterator.h:  Fix typo.
3329
3330 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3331
3332         * docs/html/explanations.html:  New file.
3333         * docs/html/configopts.html:  Link to it to provide more notes
3334         on cstdio.  Minor markup and spacing fixes.
3335         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
3336
3337 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3338
3339         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3340         for _Expr template template argument.
3341         (_Expr::operator-): Likewise.
3342         (_Expr::operator~): Likewise.
3343         (_Expr::operator!): Likewise.
3344         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3345
3346 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3347
3348         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3349         * libmath/Makefile.in: Regenerate.
3350         * libmath/expf.c: Remove.
3351         * libmath/atan2f.c: Likewise.
3352
3353 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
3354
3355         * configure.in: Remove NATIVE, NULL_TARGET.
3356         Set CANADIAN only for Canadian crosses.  Set xcompiling
3357         for both Canadian crosses and host-x-host crosses.
3358         * configure: Regenerated.
3359
3360 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3361
3362         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3363
3364 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
3365
3366         * testsuite_flags.in (--build-includes): backward, not backwards.
3367
3368 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
3369
3370         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3371         Replace destroy by _Destroy.
3372         (_Rope_RopeRep::_S_free_string): Likewise.
3373         (rope::c_str()): Likewise.
3374         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3375         (_Slist_base::_M_erase_after): Likewise.
3376         (slist::_M_create_node): Replace construct by _Construct.
3377         (slist::pop_front): Replace destroy by _Destroy.
3378         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3379         construct by _Construct.
3380         (hashtable::_M_delete_node): Replace destroy by _Destroy.
3381         * include/ext/stl_rope.h (rope::rope): Replace construct by
3382         _Construct.
3383         (rope::copy): Replace destroy by _Destroy.
3384
3385 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
3386
3387         * include/bits/localefwd.h: Format.
3388         * include/bits/locale_facts.tcc (locale::combine): Adjust.
3389         * src/locale.cc (locale::locale::(_Impl)): Don't call
3390         _M_add_reference.
3391         (locale::facet::_M_remove_reference): Simplify.
3392         * src/globals.cc (locale_impl_c): New. Format.
3393         (locale_c): New.
3394         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3395
3396 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3397
3398         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3399         expansion (thanks to Alexandre Oliva).
3400         * aclocal.m4: Regenerate.
3401         * configure: Regenerate.
3402
3403 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
3404
3405         * src/locale.cc (locale::locale(const char*)): Make sure global
3406         locales are initialized.
3407         * include/bits/locale_facets.tcc (locale::combine): Refcout should
3408         be zero, not one as it's return-by-value.
3409         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3410         named locales here.
3411         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3412         for it here.
3413         (test02): Add test.
3414         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3415
3416 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3417
3418         libstdc++/3284
3419         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3420         * aclocal.m4: Regenerate.
3421         * configure: Regenerate.
3422
3423 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3424
3425         libstdc++/3243
3426         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3427         staged/installed area to support -I-.  Document.
3428         * aclocal.m4: Regenerate.
3429         * configure: Regenerate.
3430
3431 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3432
3433         libstdc++/2211
3434         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3435         __out_bufsize.  Add __in_bufsize, document it and use it.
3436
3437 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
3438
3439         * include/bits/stl_construct.h (construct): Remove.
3440         (destroy): Remove.
3441         (__destroy): Replaced by use of iterator_traits.
3442         * include/bits/stl_deque.h: replaced HP iterator functions with
3443         iterator_traits.
3444         (construct): changed to _Construct.
3445         (destroy): changed to _Destroy.
3446         * include/bits/stl_tempbuf.h: Same.
3447         * include/bits/stl_tree.h: Same.
3448         * include/bits/stl_vector.h: Same.
3449         * include/backward/iterator.h (construct): moved definition to here.
3450         (destroy): Same.
3451
3452 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
3453
3454         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3455         before replacing facet.
3456         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3457         Correct decrement.
3458         * src/localename.cc (locale::_Impl): Correct ctor initialization
3459         lists. Initialize ref count with one. Simplify.
3460         * src/locale.cc: Add comment.
3461         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3462         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3463         * testsuite/22_locale/members.cc (test02): Fix.
3464
3465 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
3466
3467         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
3468         block, this time for real.
3469         * include/backward/algobase.h:  Likewise.
3470         * include/backward/alloc.h:  Likewise.
3471         * include/backward/bvector.h:  Likewise.
3472         * include/backward/defalloc.h:  Likewise.
3473         * include/backward/deque.h:  Likewise.
3474         * include/backward/function.h:  Likewise.
3475         * include/backward/hash_map.h:  Likewise.
3476         * include/backward/hash_set.h:  Likewise.
3477         * include/backward/hashtable.h:  Likewise.
3478         * include/backward/heap.h:  Likewise.
3479         * include/backward/iterator.h:  Likewise.
3480         * include/backward/list.h:  Likewise.
3481         * include/backward/map.h:  Likewise.
3482         * include/backward/multimap.h:  Likewise.
3483         * include/backward/multiset.h:  Likewise.
3484         * include/backward/pair.h:  Likewise.
3485         * include/backward/rope.h:  Likewise.
3486         * include/backward/set.h:  Likewise.
3487         * include/backward/slist.h:  Likewise.
3488         * include/backward/stack.h:  Likewise.
3489         * include/backward/strstream:  Likewise.
3490         * include/backward/tempbuf.h:  Likewise.
3491         * include/backward/tree.h:  Likewise.
3492         * include/backward/vector.h:  Likewise.
3493         * include/bits/pthread_allocimpl.h:  Likewise.
3494         * include/bits/std_algorithm.h:  Likewise.
3495         * include/bits/std_bitset.h:  Likewise.
3496         * include/bits/std_deque.h:  Likewise.
3497         * include/bits/std_functional.h:  Likewise.
3498         * include/bits/std_iterator.h:  Likewise.
3499         * include/bits/std_list.h:  Likewise.
3500         * include/bits/std_map.h:  Likewise.
3501         * include/bits/std_memory.h:  Likewise.
3502         * include/bits/std_numeric.h:  Likewise.
3503         * include/bits/std_queue.h:  Likewise.
3504         * include/bits/std_set.h:  Likewise.
3505         * include/bits/std_stack.h:  Likewise.
3506         * include/bits/std_utility.h:  Likewise.
3507         * include/bits/std_vector.h:  Likewise.
3508         * include/bits/stl_algo.h:  Likewise.
3509         * include/bits/stl_algobase.h:  Likewise.
3510         * include/bits/stl_alloc.h:  Likewise.
3511         * include/bits/stl_bvector.h:  Likewise.
3512         * include/bits/stl_construct.h:  Likewise.
3513         * include/bits/stl_deque.h:  Likewise.
3514         * include/bits/stl_function.h:  Likewise.
3515         * include/bits/stl_heap.h:  Likewise.
3516         * include/bits/stl_iterator.h:  Likewise.
3517         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3518         * include/bits/stl_iterator_base_types.h:  Likewise.
3519         * include/bits/stl_list.h:  Likewise.
3520         * include/bits/stl_map.h:  Likewise.
3521         * include/bits/stl_multimap.h:  Likewise.
3522         * include/bits/stl_multiset.h:  Likewise.
3523         * include/bits/stl_numeric.h:  Likewise.
3524         * include/bits/stl_pair.h:  Likewise.
3525         * include/bits/stl_pthread_alloc.h:  Likewise.
3526         * include/bits/stl_queue.h:  Likewise.
3527         * include/bits/stl_raw_storage_iter.h:  Likewise.
3528         * include/bits/stl_relops.h:  Likewise.
3529         * include/bits/stl_set.h:  Likewise.
3530         * include/bits/stl_stack.h:  Likewise.
3531         * include/bits/stl_tempbuf.h:  Likewise.
3532         * include/bits/stl_threads.h:  Likewise.
3533         * include/bits/stl_tree.h:  Likewise.
3534         * include/bits/stl_uninitialized.h:  Likewise.
3535         * include/bits/stl_vector.h:  Likewise.
3536         * include/bits/type_traits.h:  Likewise.
3537         * include/ext/hash_map:  Likewise.
3538         * include/ext/hash_set:  Likewise.
3539         * include/ext/rope:  Likewise.
3540         * include/ext/ropeimpl.h:  Likewise.
3541         * include/ext/slist:  Likewise.
3542         * include/ext/stl_hash_fun.h:  Likewise.
3543         * include/ext/stl_hashtable.h:  Likewise.
3544         * include/ext/stl_rope.h:  Likewise.
3545         * src/bitset.cc:  Likewise.
3546         * src/strstream.cc:  Likewise.
3547
3548 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3549                              <vakatov@ncbi.nlm.nih.gov>
3550
3551         libstdc++/3272
3552         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3553         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3554         * testsuite/27_io/istream_extractor_other.cc: Fix.
3555
3556 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
3557
3558         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3559         * aclocal.m4: Regenerate.
3560         * configure: Regenerate.
3561
3562 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3563
3564         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3565         (ostream_iterator): Same.
3566         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3567         Change argument to const_reference.
3568         (back_insert_iterator): Same.
3569
3570 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3571
3572         * include/bits/sbuf_iter.h: Change to..
3573         * include/bits/streambuf_iterator.h: This.
3574         * include/bits/stl_iterator.h: Take out of here...
3575         * include/bits/stream_iterator.h: Add.
3576         * src/Makefile.am (base_headers): Add streambuf_iterator,
3577         stream_iterator.h
3578         * src/Makefile.in: Regenerate.
3579         * include/bits/std_string.h: Adjust includes.
3580         * include/bits/basic_ios.h: Same.
3581         * include/bits/locale_facets.tcc: Same.
3582         * include/bits/std_iosfwd.h: Same.
3583
3584         * include/bits/std_iterator.h: Add istream, ostream includes.
3585         * include/bits/stl_iterator.h: Tweak.
3586         * testsuite/24_iterators/ostream_iterator.cc: Add test.
3587         * testsuite/24_iterators/istream_iterator.cc: Same.
3588         * testsuite/23_containers/multiset.cc: Add iterator include.
3589
3590 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
3591
3592         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
3593         * aclocal.m4:  Regenerate.
3594         * configure:  Regenerate.
3595
3596 2001-06-26  Felix Natter  <f.natter@ndh.net>
3597
3598         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
3599
3600 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3601
3602         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3603         return values.
3604         (istream_iterator::operator*): Same.
3605
3606 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3607             Alexandre Petit-Bianco  <apbianco@redhat.com>
3608
3609         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3610         is on 41st, not 14th.
3611
3612 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3613
3614         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3615
3616         * include/bits/stl_iterator.h (istream_iterator): Inherit from
3617         iterator.
3618         (ostream_iterator): Same.
3619         * testsuite/24_iterators/istream_iterator.cc: New file.
3620         * testsuite/24_iterators/ostream_iterator.cc: New file.
3621
3622         * include/bits/sbuf_iter.h: Remove self typedef.
3623         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3624         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3625
3626         * include/bits/stl_iterator.h (reverse_iterator): Remove
3627         extraneous typedefs. Add typename.
3628         (__normal_iterator): Remove typedefs referring to self. Add typename.
3629         (reverse_bidiretional_iterator): Remove, not longer required.
3630
3631 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3632
3633         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3634         dependent names with `typename'.  Bring in various required
3635         iterator_traits members.  Can't imagine why that used to work.
3636
3637 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
3638             Kurt Garloff <garloff@suse.de>
3639
3640         PR libstdc++/3377
3641         * src/cmath.cc:  New [version of an old] file; instantiate
3642         __cmath_power to start with.
3643         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
3644         * Makefile.in:  Regenerate.
3645         * libio/Makefile.in:  Regenerate.
3646         * libmath/Makefile.in:  Regenerate.
3647         * libsupc++/Makefile.in:  Regenerate.
3648         * src/Makefile.in:  Regenerate.
3649         * testsuite/Makefile.in:  Regenerate.
3650
3651 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3652
3653         * libmath/stubs.c: Fix thinko.
3654
3655 2001-06-24  David Edelsohn <dje@watson.ibm.com>
3656
3657         * libmath/stubs.c (sqrtf): Define.
3658         (tanf): Correct typo.
3659
3660 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
3661
3662         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3663         iterator.
3664         (back_insert_iterator): Same.
3665         (front_insert_iterator): Same.
3666         (insert_iterator): Same.
3667
3668         * testsuite/20_util/raw_storage_iterator.cc: Modify.
3669         * testsuite/24_iterators/reverse_iterator.cc: New file.
3670         * testsuite/24_iterators/back_insert_iterator.cc: New file.
3671         * testsuite/24_iterators/front_insert_iterator.cc: New file.
3672         * testsuite/24_iterators/insert_iterator.cc: New file.
3673
3674 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
3675
3676         * include/*:  Revert comment/license change from yesterday for all
3677         except libsupc++/unwind-cxx.h.
3678         * src/bitset.cc:  Likewise.
3679         * src/strstream.cc:  Likewise.
3680
3681 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3682
3683         * libmath/stubs.c: New file.
3684         (tanhf): Fix typo.
3685         (powf): Likewise.
3686
3687         * libmath/Makefile.am (libmath_la_SOURCES): Add.
3688         * libmath/Makefile.in.  Regenerate.
3689
3690 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
3691
3692         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
3693         * include/backward/algobase.h:  Likewise.
3694         * include/backward/alloc.h:  Likewise.
3695         * include/backward/bvector.h:  Likewise.
3696         * include/backward/defalloc.h:  Likewise.
3697         * include/backward/deque.h:  Likewise.
3698         * include/backward/function.h:  Likewise.
3699         * include/backward/hash_map.h:  Likewise.
3700         * include/backward/hash_set.h:  Likewise.
3701         * include/backward/hashtable.h:  Likewise.
3702         * include/backward/heap.h:  Likewise.
3703         * include/backward/iterator.h:  Likewise.
3704         * include/backward/list.h:  Likewise.
3705         * include/backward/map.h:  Likewise.
3706         * include/backward/multimap.h:  Likewise.
3707         * include/backward/multiset.h:  Likewise.
3708         * include/backward/pair.h:  Likewise.
3709         * include/backward/rope.h:  Likewise.
3710         * include/backward/set.h:  Likewise.
3711         * include/backward/slist.h:  Likewise.
3712         * include/backward/stack.h:  Likewise.
3713         * include/backward/strstream:  Likewise.
3714         * include/backward/tempbuf.h:  Likewise.
3715         * include/backward/tree.h:  Likewise.
3716         * include/backward/vector.h:  Likewise.
3717         * include/bits/pthread_allocimpl.h:  Likewise.
3718         * include/bits/std_algorithm.h:  Likewise.
3719         * include/bits/std_bitset.h:  Likewise.
3720         * include/bits/std_deque.h:  Likewise.
3721         * include/bits/std_functional.h:  Likewise.
3722         * include/bits/std_iterator.h:  Likewise.
3723         * include/bits/std_list.h:  Likewise.
3724         * include/bits/std_map.h:  Likewise.
3725         * include/bits/std_memory.h:  Likewise.
3726         * include/bits/std_numeric.h:  Likewise.
3727         * include/bits/std_queue.h:  Likewise.
3728         * include/bits/std_set.h:  Likewise.
3729         * include/bits/std_stack.h:  Likewise.
3730         * include/bits/std_utility.h:  Likewise.
3731         * include/bits/std_vector.h:  Likewise.
3732         * include/bits/stl_algo.h:  Likewise.
3733         * include/bits/stl_algobase.h:  Likewise.
3734         * include/bits/stl_alloc.h:  Likewise.
3735         * include/bits/stl_bvector.h:  Likewise.
3736         * include/bits/stl_construct.h:  Likewise.
3737         * include/bits/stl_deque.h:  Likewise.
3738         * include/bits/stl_function.h:  Likewise.
3739         * include/bits/stl_heap.h:  Likewise.
3740         * include/bits/stl_iterator.h:  Likewise.
3741         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3742         * include/bits/stl_iterator_base_types.h:  Likewise.
3743         * include/bits/stl_list.h:  Likewise.
3744         * include/bits/stl_map.h:  Likewise.
3745         * include/bits/stl_multimap.h:  Likewise.
3746         * include/bits/stl_multiset.h:  Likewise.
3747         * include/bits/stl_numeric.h:  Likewise.
3748         * include/bits/stl_pair.h:  Likewise.
3749         * include/bits/stl_pthread_alloc.h:  Likewise.
3750         * include/bits/stl_queue.h:  Likewise.
3751         * include/bits/stl_raw_storage_iter.h:  Likewise.
3752         * include/bits/stl_relops.h:  Likewise.
3753         * include/bits/stl_set.h:  Likewise.
3754         * include/bits/stl_stack.h:  Likewise.
3755         * include/bits/stl_tempbuf.h:  Likewise.
3756         * include/bits/stl_threads.h:  Likewise.
3757         * include/bits/stl_tree.h:  Likewise.
3758         * include/bits/stl_uninitialized.h:  Likewise.
3759         * include/bits/stl_vector.h:  Likewise.
3760         * include/bits/type_traits.h:  Likewise.
3761         * include/ext/hash_map:  Likewise.
3762         * include/ext/hash_set:  Likewise.
3763         * include/ext/rope:  Likewise.
3764         * include/ext/ropeimpl.h:  Likewise.
3765         * include/ext/slist:  Likewise.
3766         * include/ext/stl_hash_fun.h:  Likewise.
3767         * include/ext/stl_hashtable.h:  Likewise.
3768         * include/ext/stl_rope.h:  Likewise.
3769         * libsupc++/unwind-cxx.h:  Likewise.
3770         * src/bitset.cc:  Likewise.
3771         * src/strstream.cc:  Likewise.
3772
3773 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3774
3775         * include/bits/indirect_array.h (indirect_array<>::operator=):
3776         Make copy and assignment operator public.  Implement.  Format.
3777
3778         * include/bits/valarray_array.h (__valarray_copy): Add overloads
3779         for copy between index arrays.  Format.
3780
3781 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
3782
3783         * mknumeric_limits: Add static definitions, format.
3784         * testsuite/18_support/numeric_limits.cc (test02): Add test.
3785
3786         * include/c_std/bits/std_cwchar.h: Include ctime.
3787         * testsuite/17_intro/header_cwchar.cc : Check.
3788
3789         * include/c_std/bits/std_cwctype.h: Inject wctype.
3790         * testsuite/17_intro/header_cwctype.cc: Update.
3791
3792 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3793
3794         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3795         * testsuite/20_util/raw_storage_iterator.cc: Same.
3796
3797         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3798         operator new.
3799         (__mem_interface): New typedef for switching between malloc and new.
3800         * testsuite/20_util/allocator_members.cc: New file.
3801
3802         * testsuite/20_util/comparisons.cc: New file.
3803         * testsuite/20_util/pairs.cc: New file.
3804
3805 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
3806
3807         * docs/html/documentation.html:  Point to new doxygen'ed collection.
3808
3809 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
3810
3811         * configure.in (auxdir): Replace by ...
3812         (toprel): ... new variable.
3813         (toplevel_srcdir): Construct from $toprel.
3814         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3815         rather than .. to locate gcc source directory.
3816         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3817         * aclocal.m4, configure: Rebuilt.
3818
3819 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3820
3821         (Approved by Mark and Benjamin.  Applied by Loren.)
3822
3823         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3824         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3825         and _GLIBCPP_mutex_address.
3826         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3827         once-only runtime initialization of _M_lock mutex when
3828         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3829         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3830         for __GTHREAD_