OSDN Git Service

e9e3282ad9fe63639c66cc9476eee3f182d60e20
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
2
3         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
4         _GLIBCPP_HAVE_SETENV.
5         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
6         * testsuite/22_locale/collate_members_char.cc (test02): Same.
7         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
8         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
9         * testsuite/22_locale/messages_members_char.cc (test02): Same.
10         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
11         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
12         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
13         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
14         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
15         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
16         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
17         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
18         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
19         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
20         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
21         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
22         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
23         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
24         * aclocal.m4: Regenerate.
25         * configure: Regenerate.
26         * config.h.in: Regenerate.
27         
28 2002-01-23  Loren Rittle <ljrittle@acm.org>
29
30         * testsuite/thread/pthread1.cc: New test.
31         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
32         * testsuite/thread/pthread3.cc: Likewise.
33         * testsuite/thread/pthread4.cc: New test adapted from
34         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
35         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
36         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
37
38 2002-01-23  Richard Henderson  <rth@redhat.com>
39
40         PR libstdc++/5198
41         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
42         CAS on the cpu variants that support it.  Add versions that use
43         TAS and that disable interrupts.
44         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
45
46 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
47
48         * include/bits/locale_facets.tcc: Remove old comments.
49
50 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
51
52         * include/bits/locale_facets.tcc (__convert_to_v): Change template
53         parameter to _Tv.
54         (__convert_from_v): Same.
55         
56 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
57
58         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
59         prototype.
60         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
61         __max_digits checks, adjust arguments.
62         (num_get::do_get(*)): Changeup.
63
64 2002-01-23  Loren Rittle <ljrittle@acm.org>
65
66         * config/locale/c_locale_generic.cc: Fix typename usage.
67
68 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
69
70         * config/locale/c_locale_generic.cc: Fix.
71
72 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
73
74         * docs/html/22_locale/messages.html: Remove angle brackets.
75         * docs/html/17_intro/TODO: Add.
76         
77 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
78
79         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
80         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
81         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
82         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
83
84 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
85
86         Audit for LANG independence.
87         * include/bits/localefwd.h: Tweaks.
88         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
89         Use __convert_to_v.
90         (time_get::do_get_year): Same.
91         (__convert_from_v): Add.
92         (num_put::_M_convert_float): Use.
93         (num_put::_M_convert_int): Same.
94         (money_put::do_put): Same.
95         
96         * src/locale-inst.cc: Add instantiations for __convert_from_v.
97         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
98         * config/locale/time_members_generic.cc: 
99         * config/locale/messages_members_gnu.cc: Same.
100         * config/locale/messages_members_gnu.h: Same.
101         
102         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
103         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
104         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
105         * testsuite/22_locale/collate_members_char.cc (test02): New.
106         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
107         * testsuite/22_locale/ctype_members_char.cc (test03): New.
108         * testsuite/22_locale/messages_members_char.cc (test02): New.
109         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
110         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
111         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
112         * testsuite/22_locale/money_get_members_char.cc (test04): New.
113         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
114         * testsuite/22_locale/money_put_members_char.cc (test04): New.
115         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
116         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
117         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
118         * testsuite/22_locale/time_put_members_char.cc (test03): New.
119         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
120         * testsuite/22_locale/time_get_members_char.cc (test07): New.
121         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
122         * testsuite/22_locale/num_get_members_char.cc (test03): New.
123         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
124         * testsuite/22_locale/num_put_members_char.cc (test03): New.
125
126         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
127         locale issues.
128         * testsuite/22_locale/time_get_members_char.cc: Same.
129         
130 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
131
132         libstdc++/5280
133         * include/bits/localefwd.h: Tweak comments.
134         * include/bits/locale_facets.h (__convert_to_v): Add.
135         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
136         (num_get::do_get(float)): Same.
137         (num_get::do_get(long double)): Same.
138         (num_get::do_get(bool)): Same.
139         (num_get::do_get(long)): Same.
140         (num_get::do_get(long long)): Same.
141         (num_get::do_get(unsigned int)): Same.
142         (num_get::do_get(unsigned short)): Same.
143         (num_get::do_get(unsigned long)): Same.
144         (num_get::do_get(unsigned long long)): Same.
145         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
146         * config/locale/c_locale_generic.cc: Same.
147         
148 2002-01-22  Loren Rittle <ljrittle@acm.org>
149
150         * include/Makefile.am (c_base_builddir): Remove redundant slash.
151         (std_builddir): Likewise.
152         (std_headers_rename): Fix cut-n-paste typo.
153         (install-data-local): Concat path per element instead of once to
154         first element of list.
155         * include/Makefile.in: Rebuilt.
156
157 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
158
159         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
160         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
161         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
162
163 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
164
165         * include/bits/locale_facets.h (ctype<char>::classic_table):
166         Remove definition.
167         (ctype<char>::_S_ctable): Remove.
168         * config/os/gnu-linux/bits/ctype_noninline.h
169         (ctype<char>::_S_table): Remove definition.
170         (ctype<char>::classic_table): Define.
171         (ctype<char>::ctype): Replace _S_ctable with classic_table().
172         * config/os/aix/bits/ctype_noninline.h: Same.
173         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
174         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
175         * config/os/djgpp/bits/ctype_noninline.h: Same.
176         * config/os/generic/bits/ctype_noninline.h: Same.
177         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
178         * config/os/hpux/bits/ctype_noninline.h: Same.
179         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
180         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
181         * config/os/mingw32/bits/ctype_noninline.h: Same.
182         * config/os/newlib/bits/ctype_noninline.h: Same.
183         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
184         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
185         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
186
187 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
188
189         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
190         of _pctype. Use to define _S_ctable.  Add definition for alternate
191         ctor.  Initialise _M_ctable to _S_ctable in ctors.
192         (do_toupper, do_tolower): Use inline code appropriate for C-locale
193         rather than ::toupper, ::tolower.
194
195 2002-01-18  Loren Rittle <ljrittle@acm.org>
196
197         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
198         Add specialization for FreeBSD systems only to avoid losing test
199         only due to extra precision unmentioned in system headers.
200
201 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
202
203         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
204
205 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
206
207         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
208         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
209
210 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
211         
212         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
213
214 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
215
216         * configure.target: Define OPT_LDFLAGS for AIX case.
217
218 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
219
220         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
221         __glibcpp_double_has_quiet_NaN): Correct mispelling.
222
223 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
224
225         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
226
227 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
228
229         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
230         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
231         * aclocal.m4: Regenerate.
232         * configure: Regenerate.
233         
234 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
235
236         * include/Makefile.am (c_base_headers_rename): New.
237         (c_base_headers_extra): New.
238         (stamp-c_base): Modify.
239         (install-data-local): Use both.
240         * include/Makefile.in: Regenerate.
241         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
242         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
243         cstdio ctime cwctype]: Move to..
244         * include/c/std_*: Here.
245         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
246         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
247         cstdio ctime cwctype]: Move to..
248         * include/c_std/std_*: Here.
249
250         Alexandre Oliva  <aoliva@redhat.com>    
251         * include/Makefile.am (.PRECIOUS): Add rule.
252         * include/Makefile.in: Regenerate.
253         
254 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
255             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
256         
257         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
258         Deuglify, should be current.
259         (back_insert_iterator::_M_container): Deuglify, should be container.
260         (front_insert_iterator::_M_container): Same.    
261         (insert_iterator::_M_container): Same.
262         * testsuite/24_iterators/reverse_iterator.cc: Add check.
263         * testsuite/24_iterators/back_insert_iterator.cc: Add check.    
264         * testsuite/24_iterators/front_insert_iterator.cc: Same.
265         * testsuite/24_iterators/insert_iterator.cc: Same.
266         
267 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
268
269         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
270         static.
271         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
272         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
273         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
274         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
275         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
276         * config/os/newlib/bits/ctype_noninline.h: Same.
277         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
278         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
279         * config/os/hpux/bits/ctype_noninline.h: Same.
280         * config/os/djgpp/bits/ctype_noninline.h: Same.
281         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
282         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
283         * config/os/aix/bits/ctype_noninline.h: Same.
284         
285         Testcase by Dietmar Kühl via Peter Schmid 
286         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
287         classic_table().
288
289 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
290
291         * libmath/signbitl.c: Copyright years as list, not range.       
292         * libmath/Makefile.am: Same.
293         * libmath/Makefie.in: Regenerate.
294         * libmath/signbit.c: Same.
295         * libmath/nan.c: Same.
296         * libmath/copysignf.c: Same.
297         * libmath/signbitf.c: Same.
298         * testsuite/22_locale/money_get_members_char.cc: Same.
299         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
300         * testsuite/22_locale/money_put_members_char.cc: Same.
301         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
302         * testsuite/22_locale/time_get_members_char.cc: Same.
303         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
304         * testsuite/22_locale/time_put_members_char.cc: Same.
305         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
306         * testsuite/21_strings/nonmember.cc: Same.
307         * testsuite/21_strings/compare.cc: Same.
308         * testsuite/27_io/stringstream.cc: Same.
309         * testsuite/27_io/stringbuf.cc: Same.
310         * testsuite/27_io/filebuf.cc: Same.
311         * testsuite/27_io/ios_manip_basefield.cc: Same.
312         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
313         * include/bits/cpp_type_traits.h: Same.
314         * include/bits/generic_shadow.h: Same.
315         * include/bits/gslice_array.h: Same.
316         * include/bits/gslice.h: Same.
317         * include/bits/indirect_array.h: Same.
318         * include/bits/slice_array.h: Same.
319         * include/bits/sstream.tcc: Same.
320         * include/bits/streambuf_iterator.h: Same.
321         * include/bits/valarray_array.tcc: Same.
322         * include/bits/valarray_meta.h: Same.
323         * include/bits/valarray_array.h: Same.
324         * config/os/mingw32/bits/ctype_noninline.h: Same.
325         * config/os/mingw32/bits/ctype_base.h: Same.
326         * config/os/hpux/bits/ctype_noninline.h: Same.
327         * config/os/hpux/bits/ctype_base.h: Same.
328         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
329         * config/os/gnu-linux/bits/ctype_base.h: Same.
330         * config/os/generic/bits/ctype_noninline.h: Same.
331         * config/os/generic/bits/ctype_base.h: Same.
332
333         * libsupc++/tinfo.h: Tweaks.
334
335 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
336
337         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
338         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
339         * testsuite/22_locale/ctype_members_char.cc: Tweak.     
340
341 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
342
343         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
344         (num_put::do_put(void*)): Fix.
345         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
346         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
347         * testsuite/22_locale/num_get_members_char.cc (test02): Add
348         long double, void, bool types.
349         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
350         
351 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
352             Alexandre Oliva  <aoliva@redhat.com>
353
354         * libmath/Makefile.am (LINK): Add --tag CC.
355         * libmath/Makefile.in: Regenerate.
356
357 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
358
359         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
360         of character to attribute mapping table.
361
362 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
363
364         * testsuite/26_numerics/c99_classification_macros_c.cc
365         Remove dg-error and dg-excess-errors comments.
366
367 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
368
369         * include/bits/locale_facets.tcc (time_put::put): Correct output
370         iterator positions.
371         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
372         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
373         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
374         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
375
376 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
377
378         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
379
380 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
381             Nathan Myers  <ncm@cantrip.org>
382
383         * include/bits/basic_string.h
384         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
385         temporaries (i.e., call _M_replace_safe) when possible.
386         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
387         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
388         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
389         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
390         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
391         * include/bits/basic_string.tcc
392         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
393         replace(__pos, __n1, __s, __n2).
394         * testsuite/21_strings/replace.cc (test03): New testcases.
395
396         * include/bits/basic_string.h (insert(__pos, __s, __n)):
397         Adjust comparison wrt overflow.
398         
399 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
400
401         * include/Makefile.am (std_headers_rename): New variable.
402         (install-data-local): Use it.
403         * include/Makefile.in: Regenerate.
404         
405 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
406
407         * include/bits/locale_facets.tcc (money_put::do_put(string):
408         Correct output iterator value.
409         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
410         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
411         
412 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
413
414         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
415         previous commit.
416
417 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
418
419         * include/Makefile.am (std_headers):  Update list with new names.
420         (stamp-std):  Link to standardized name.
421         * include/Makefile.in:  Regenerate.
422
423         * include/std/algorithm, include/std/bitset, include/std/complex,
424         include/std/deque, include/std/fstream, include/std/functional,
425         include/std/iomanip, include/std/ios, include/std/iosfwd,
426         include/std/iostream, include/std/istream, include/std/iterator,
427         include/std/limits, include/std/list, include/std/locale,
428         include/std/map, include/std/memory, include/std/numeric,
429         include/std/ostream, include/std/queue, include/std/set,
430         include/std/sstream, include/std/stack, include/std/stdexcept,
431         include/std/streambuf, include/std/string, include/std/utility,
432         include/std/valarray, include/std/vector:  Rename to...
433
434         * include/std/std_algorithm.h, include/std/std_bitset.h,
435         include/std/std_complex.h, include/std/std_deque.h,
436         include/std/std_fstream.h, include/std/std_functional.h,
437         include/std/std_iomanip.h, include/std/std_ios.h,
438         include/std/std_iosfwd.h, include/std/std_iostream.h,
439         include/std/std_istream.h, include/std/std_iterator.h,
440         include/std/std_limits.h, include/std/std_list.h,
441         include/std/std_locale.h, include/std/std_map.h,
442         include/std/std_memory.h, include/std/std_numeric.h,
443         include/std/std_ostream.h, include/std/std_queue.h,
444         include/std/std_set.h, include/std/std_sstream.h,
445         include/std/std_stack.h, include/std/std_stdexcept.h,
446         include/std/std_streambuf.h, include/std/std_string.h,
447         include/std/std_utility.h, include/std/std_valarray.h,
448         include/std/std_vector.h:  ...this.
449
450 2002-01-11  Loren Rittle <ljrittle@acm.org>
451
452         * include/Makefile.am (extra_target_headers): New list of all
453         target files built with ad hoc naming rules.
454         (stamp-*): Handle LN_S failure in manner portable across make
455         implementations.
456         (install-data-local): Install header files from human-maintained
457         file lists and directory components instead of non-robust find.
458         * include/Makefile.in: Rebuilt.
459
460 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
461
462         * include/bits/locale_facets.tcc (money_get::do_get(string)):
463         Check for zero-length negative sign before adding it to output
464         string.
465         (money_get::do_get(long double)): Return beg.
466         * testsuite/22_locale/money_get_members_char.cc (test02): Add
467         iterator checks.
468         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
469         
470 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
471
472         libstdc++/5331
473         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
474         for _M_extract_float and _M_extract_int
475         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
476         (num_get<>::_M_extract_int): Likewise, all callers changed
477         * testsuite/22_locale/num_get_members_char.cc: Testcase
478
479 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
480
481         * libsupc++/exception (bad_exception): Add comment.
482         * libsupc++/new (bad_alloc): Same.
483         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
484
485 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
486
487         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
488         that the destructors should be removed from the descriptions
489         in the standard: writing them explicitly allows the vtable
490         heuristic to work. For additional information see:
491         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
492         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
493         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
494         * libsupc++/exception (bad_exception::~bad_exception()):
495         Reintroduce declaration.
496         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
497         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
498         (bad_typeid::~bad_typeid()): Same.
499         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
500         Reintroduce definition.
501         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
502         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
503         (bad_typeid::~bad_typeid()): Same.
504
505 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
506
507         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
508         * include/Makefile.in: Regenerate.
509         
510 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
511
512         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
513         definition.
514
515 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
516
517         libstdc++/2913
518         libstdc++/4879
519         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
520         return value of _M_file->sync().
521         (filebuf::showmanyc): Check for is_open.
522         * include/std/fstream (filebuf::sync): Tweak.
523         * testsuite/27_io/filebuf.cc: Tweak.
524
525 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
526             Brad Garcia  <garsh@attbi.com>
527         
528         * testsuite/27_io/filebuf_members.cc: Add test.
529         
530 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
531             Craig Rodrigues  <rodrigc@mediaone.net>
532
533         libstdc++/5174
534         * po/Makefile.am (mkinstalldirs): Add.
535         * po/Makefile.in: Regenerate.
536
537 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
538
539         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
540         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
541         compiler output.
542         * testsuite/23_containers/map_operators.cc: Remove
543         dg-excess-errors comment.
544         * testsuite/23_containers/set_operators.cc: Likewise.
545
546 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
547
548         * include/bits/stl_function.h:  Remove two lines of comments;
549         adjust copyright years.
550
551 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
552
553         * include/Makefile.am (std_headers): Remove cXXX from list.
554         (c_base_srcdir): No bits subdirectory.
555         (c_base_builddir): Same.
556         (c_base_headers): Adjust names, add ciso646.
557         (bits_headers): Remove std_xxx.h headers.
558         * include/Makefile.in: Regenerate.
559         
560         * include/ext/iterator: Adjust includes.
561         * include/ext/ropeimpl.h: Same.
562         * include/ext/stl_hash_fun.h: Same.
563         * include/ext/algorithm: Same.
564         
565         * include/backward/bvector.h: Adjust includes.
566         * include/backward/vector.h: Same.
567         * include/backward/strstream: Same.
568         * include/backward/streambuf.h: Same.
569         * include/backward/stack.h: Same.
570         * include/backward/set.h: Same.
571         * include/backward/queue.h: Same.
572         * include/backward/multiset.h: Same.
573         * include/backward/multimap.h: Same.
574         * include/backward/map.h: Same.
575         * include/backward/list.h: Same.
576         * include/backward/iterator.h: Same.
577         * include/backward/iostream.h: Same.
578         * include/backward/iomanip.h: Same.
579         * include/backward/fstream.h: Same.
580         * include/backward/deque.h: Same.
581         * include/backward/complex.h: Same.
582
583         * include/bits/std_algorithm.h: Move to...
584         * include/std/algorithm: ...here.
585         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
586         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
587         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
588         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
589         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
590         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
591         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
592         Same.
593         
594         * include/c_std/bits/std_cassert.h: Move to...
595         * include/c_std/cassert: Here.
596         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
597         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
598         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
599         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
600         std_cwctype.h: Same.
601         * include/c_std/cmath: Adjust cmath.tcc include.
602         * include/c_std/cstdlib: Adjust includes.
603         * include/c_std/cwchar: Same.
604         * include/c_std/ctime: Same.
605         * include/c_std/cstring: Same.
606         * include/c_std/cstdio: Same.
607         * include/c_std/bits: Remove directory.
608         
609         * include/c/bits/std_cassert.h: Move to...
610         * include/c/cassert: Here.
611         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
612         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
613         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
614         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
615         std_cwctype.h: Same.
616         * include/c/bits: Remove directory.
617         
618         * include/std/cwctype: Remove.
619         * include/std/cwchar: Remove.
620         * include/std/ctime: Remove.
621         * include/std/cstring: Remove.
622         * include/std/cstdlib: Remove.
623         * include/std/cstdio: Remove.
624         * include/std/cstddef: Remove.
625         * include/std/cstdarg: Remove.
626         * include/std/csignal: Remove.
627         * include/std/csetjmp: Remove.
628         * include/std/cmath: Remove.
629         * include/std/clocale: Remove.
630         * include/std/climits: Remove.
631         * include/std/ciso646: Remove.
632         * include/std/cfloat: Remove.
633         * include/std/cerrno: Remove.
634         * include/std/cctype: Remove.
635         * include/std/cassert: Remove.
636
637         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
638         files and subsituting <.xxx>
639         * include/bits/valarray_array.h: Same.
640         * include/bits/stl_uninitialized.h: Same.
641         * include/bits/stl_alloc.h: Same.
642         * include/bits/stl_algobase.h: Same.
643         * include/bits/sstream.tcc: Same.
644         * include/bits/pthread_allocimpl.h: Same.
645         * include/bits/ostream.tcc: Same.
646         * include/bits/localefwd.h: Same.
647         * include/bits/locale_facets.tcc: Same.
648         * include/bits/locale_facets.h: Same.
649         * include/bits/istream.tcc: Same.
650         * include/bits/char_traits.h: Same.
651         * include/bits/boost_concept_check.h: Same.
652         * include/bits/basic_file.h: Same.
653         * include/std/bitset: Same.
654         * include/std/complex: Same.
655         * include/std/fstream: Same.
656         * include/std/functional: Same.
657         * include/std/ios: Same.
658         * include/std/iostream: Same.
659         * include/std/ostream: Same.
660         * include/std/sstream: Same.
661         * include/std/streambuf: Same.
662         * include/std/string: Same.
663         * include/std/iterator: Same.
664         * include/std/valarray: Same.
665
666         * src/ios.cc: Adjust includes.
667         * src/valarray-inst.cc: Same.
668         * src/string-inst.cc: Same.
669         * src/stl-inst.cc: Same.
670         * src/stdexcept.cc: Same.
671         * src/misc-inst.cc: Same.
672         * src/localename.cc: Same.
673         * src/locale-inst.cc: Same.
674         * src/locale.cc: Same.
675         * src/limits.cc: Same.
676         * src/concept-inst.cc: Same.
677         * src/complex_io.cc: Same.
678         * src/codecvt.cc: Same.
679         * src/bitset.cc: Same.
680         * src/cmath.cc: Same.
681
682 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
683
684         * include/bits/stl_tree.h (rb_tree):  Move to...
685         * include/ext/rb_tree:  ...here, new file.
686         * include/Makefile.am (ext_headers):  Add new file.
687         * include/Makefile.in:  Regenerate.
688         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
689         return_temporary_buffer, struct temporary_buffer):  Move to...
690         * include/ext/memory:  ...here.
691         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
692         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
693         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
694
695 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
696
697         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
698         * include/ext/numeric:  ...here, new file.
699         * include/bits/stl_function.h (identity_element, unary_compose,
700         binary_compose, compose1, compose2, identity, select1st,
701         select2nd, project1st + helper, project2nd + helper,
702         constant_void_fun + helper, constant_unary_fun + helper,
703         costant_binary_fun + helper, constant0, constant1, constant2,
704         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
705         * include/ext/functional:  ...here, new file.
706         * include/Makefile.am (ext_headers):  Add new files.
707         * include/Makefile.in:  Regenerate.
708         * testsuite/ext/headers.cc:  Include <ext/numeric> and
709         <ext/functional>.
710         * include/backward/algo.h:  Include <ext/numeric>, tweak.
711         * include/backward/function.h:  Include <ext/functional>, tweak.
712         * include/ext/ropeimpl.h:  Include <ext/numeric>.
713
714 2002-01-03  Jeffrey A Law  <law@redhat.com>
715
716         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
717         __strtoull declarations with __extension__.
718
719 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
720
721         * testsuite/lib/prune.exp: Correct regular expression for
722         -ffunction-sections
723
724 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
725
726         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
727         Change concept checks, as with lower_bound and PR 2054.
728         * testsuite/ext/concept_checks.cc:  Expand test to include those.
729
730 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
731
732         * include/bits/boost_concept_check.h:  Import some changes from
733         upsteam (Boost) version.
734
735 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
736
737         * include/bits/stl_algobase.h (copy_n + helpers,
738         lexicographical_compare_3way + helpers):  Move to...
739         * include/ext/algorithm:  ...here.
740         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
741         helpers):  Move to...
742         * include/ext/memory:  ...here, new file.
743         * include/Makefile.am (ext_headers):  Add new file.
744         * include/Makefile.in:  Regenerate.
745         * testsuite/ext/headers.cc:  Include <ext/memory>.
746         * include/backward/algobase.h:  Include <ext/memory> and
747         <ext/algorithm>, tweak.
748         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
749         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
750
751 2002-01-01  Roger Sayle <roger@eyesopen.com>
752
753         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
754         equivalent ___builtin__ versions.
755
756         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
757         are available in libstdc++ as the necessary stub implementations
758         are provided by libmath/stubs.c.
759
760 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
761
762         * configure.in: Add support for NetBSD cross compiles.
763         * configure: Regenerate.
764
765 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
766
767         * include/ext/iterator:  Add #include <bits/std_iterator.h>, tweak.
768         * testsuite/ext/headers.cc:  Add <ext/iterator>.
769
770 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
771
772         * include/backward/algo.h:  Add two more using declarations.
773         * include/backward/iterator.h:  Include <ext/iterator>,
774         add using declaration.
775         * include/ext/algorithm:  Add #pragma GCC system_header.
776
777 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
778
779         * include/bits/stl_bvector.h:  Change calls to 3-argument distance()
780         into standard 2-argument version.
781         * include/bits/stl_deque.h:  Likewise.
782         * include/bits/stl_tempbuf.h:  Likewise.
783         * include/bits/stl_tree.h:  Likewise.
784         * include/bits/stl_vector.h:  Likewise.
785         * include/ext/stl_hashtable.h:  Likewise.
786         * include/bits/stl_iterator_base_funcs.h:  Move distance() extension...
787         * include/ext/iterator:  to here.  New file.
788         * include/Makefile.am (ext_headers):  Add new file, alphabatize.
789         * include/Makefile.in:  Regenerate.
790
791 2001-12-31  Phil Edwards  <pme@gcc.gnu.org>
792
793         * include/bits/stl_deque.h:  Doxygenate with initial/example hooks.
794         Clean up spacing and indentation.
795
796 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
797
798         * include/ext/slist:  Move into __gnu_cxx,
799         tweak, add using declarations.
800
801 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
802
803         * include/ext/hash_map:  Move into __gnu_cxx,
804         tweak, add using declarations.
805         * include/ext/hash_set:  Ditto.
806         * include/ext/ropeimpl.h:  Ditto.
807         * include/ext/stl_hash_fun.h:  Ditto.
808         * include/ext/stl_hashtable.h:  Ditto.
809         * include/ext/stl_rope.h:  Ditto.
810         * src/ext-inst.cc: Tweak.
811         * testsuite/ext/rope.cc: Tweak.
812
813 2001-12-31  Paolo Carlini  <pcarlini@unitus.it>
814
815         * include/backward/algo.h:  Include <ext/algorithm>,
816         tweak using declarations.
817
818 2001-12-29  Richard Henderson  <rth@redhat.com>
819
820         * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
821         * config/os/hpux/bits/cpu_limits.h: New file.
822         * configure.target (CPULIMITSH): Use it.
823
824 2001-12-28  Richard Henderson  <rth@redhat.com>
825
826         * config/cpu/ia64/bits/cpu_limits.h: New file.
827         * config/os/osf/osf5.0/bits/cpu_limits.h: New file.
828         * configure.target (CPULIMITSH): Use them.
829
830 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
831
832         * include/bits/c++config:  Move doxygen hook comment...
833         * docs/doxygen/doxygroups.cc:  ...to here.
834
835 2001-12-28  Phil Edwards  <pme@gcc.gnu.org>
836
837         PR libstdc++/2054
838         * include/bits/stl_algo.h (lower_bound):  Relax concept checks.
839         * testsuite/ext/concept_checks.cc:  New file.
840
841 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
842
843         * include/bits/stl_algo.h (count returning void,
844         count_if returning void, __random_sample, random_sample,
845         random_sample_n, __is_heap, is_heap, is_sorted):  Move to...
846         * include/ext/algorithm:  ...here, new file.
847         * include/Makefile.am (ext_headers):  Add new file.
848         * include/Makefile.in:  Regenerate.
849         * testsuite/ext/headers.cc:  Include <ext/algorithm>.
850
851 2001-12-28  Paolo Carlini  <pcarlini@unitus.it>
852             Nathan Myers  <ncm@cantrip.org>
853
854         * include/bits/basic_string.h (insert(__pos, __s, __n)):
855         Optimize by avoiding temporaries and working in-place when possible.
856         (insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
857         (insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
858         * testsuite/21_strings/insert.cc (test02): New testcases.
859
860 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
861
862         * testsuite/testsuite_hooks.h (gnu_counting_struct):  Add.
863         * testsuite/23_containers/deque_ctor.cc:  New file.
864
865 2001-12-27  Paolo Carlini  <pcarlini@unitus.it>
866
867         * include/bits/locale_facets.tcc (collate::do_transform):
868         Adjust implicit typename.
869         * config/locale/messages_members_generic.h (messages::open,
870         messages::do_open, messages::do_get): Adjust implicit typename.
871         * config/locale/messages_members_gnu.h (messages::open,
872         messages::do_open, messages::do_get): Adjust Implicit typename.
873         * config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
874         messages::do_open, messages::do_get): Adjust implicit typename.
875
876 2001-12-27  Phil Edwards  <pme@gcc.gnu.org>
877
878         PR libstdc++/3829
879         * src/misc-inst.cc:  Many additional I/O-related instantiations.
880         * testsuite/27_io/instantiations.cc:  New file.
881
882 2001-12-26  Benjamin Kosnik  <bkoz@waller.constant.com>
883
884         * testsuite/24_iterators/insert_iterator.cc (test02): Add.
885         * testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
886         * testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
887         * testsuite/24_iterators/reverse_iterator.cc (test02): Add.
888
889         * include/bits/stl_iterator.h (reverse_iterator): Uglify member
890         current to _M_current.
891         (back_insert_iterator): Uglify member container to _M_container.
892         (front_insert_iterator): Same.
893         (insert_iterator): Same.
894
895 2001-12-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
896
897         * include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
898         macros for signed types; default value is true.
899         (numeric_limits<>::is_modulo): Get value from corresponding
900         __glibcpp_xxx_is_modulo macro.
901
902 2001-12-23  Jeffrey A Law  <law@redhat.com>
903
904         * config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
905         Twiddle return types for strtoll and strtoull to avoid using
906         intmax_t and uintmax-t.
907
908 2001-12-22  Richard Henderson  <rth@redhat.com>
909
910         * configure.target (CPULIMITSH): Fix typo in alpha case.
911
912 2001-12-22  Jeffrey A Law  <law@redhat.com>
913
914         * config/os/hpux/bits/os_defines.h: Update to avoid #defines
915         for strtoll and strtoull.
916
917 2001-12-21  Jeffrey A Law  <law@redhat.com>
918
919         * config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
920         Define strtoll and strtoull.  Provide prototypes for
921         __strtoll and __strtoull.  Define _GLIBCPP_USE_LONG_LONG
922         unconditionally.
923
924         * src/locale-inst.cc: Include <bits/std_cstdlib.h>
925
926         * configure.target: Fix typo in hpux case.
927
928 2001-12-21  Paolo Carlini  <pcarlini@unitus.it>
929
930         * include/ext/stl_rope.h (_Rope_iterator):
931         Add local typedef to fix implicit typename problems.
932
933 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
934
935         * docs/doxygen/Intro.3:  New 'Allocators' module.
936         * docs/doxygen/TODO:  Update.
937         * docs/doxygen/doxygroups.cc:  Update.
938         * docs/doxygen/run_doxygen:  Update.
939
940         * include/bits/stl_alloc.h:  Tweak doxygen hooks in comments.
941         * include/bits/std_memory.h:  Doxygenate.
942         * include/bits/stl_iterator_base_types.h:  Likewise.
943         * include/bits/stl_raw_storage_iter.h:  Likewise.
944         * include/bits/stl_tempbuf.h:  Likewise.
945         (get_temporary_buffer):  Remove unused nonstandard overload.
946         * include/bits/stl_uninitialized.h:  Likewise.
947
948         * include/bits/stl_iterator_base_types.h (input_iterator,
949         output_iterator, forward_iterator, bidirectional_iterator,
950         random_access_iterator):  Move old names...
951         * include/backward/iterator.h:  ...to here.
952         * include/bits/stl_bvector.h:  Update.
953         * include/ext/stl_rope.h:  Update.
954
955 2001-12-19  Phil Edwards  <pme@gcc.gnu.org>
956
957         * docs/html/configopts.html:  Describe recent options.
958         * docs/html/documentation.html:  Point to new doxygen tarballs.
959         * docs/html/install.html:  Brief updates.
960         * docs/html/17_intro/RELEASE-NOTES:  Remove weird control character.
961         * docs/html/ext/howto.html:  Fix typos, describe filebuf::fd().
962         * docs/html/faq/index.html:  Update for 3.0.95.
963         * docs/html/faq/index.txt:  Regenerate.
964
965 2001-12-19  David Billinghurst <David.Billinghurst@riotinto.com>
966
967         libstdc++-v3/5148
968         * testsuite/lib/libstdc++-v3-dg.exp:  Append .exe to
969         executable filenames
970
971 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
972
973         * docs/html/17_intro/TODO: Update.
974         * docs/html/17_intro/RELEASE-NOTES: Edits, update.
975         * README: Edit for clarity, update to reflect current directory
976         structure.
977
978 2001-12-18  Benjamin Kosnik  <bkoz@redhat.com>
979
980         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
981         enabling gnu model.
982         * aclocal.m4: Rebuild.
983         * configure: Rebuild.
984
985 2001-12-18  Paolo Carlini  <pcarlini@unitus.it>
986             Nathan Myers  <ncm@cantrip.org>
987
988         * include/bits/basic_string.h (assign(__str, __pos, __n)):
989         Call assign(__s, __n).
990         (assign(__s, __n)): Terminate the string with _S_terminal.
991
992 2001-12-17  Benjamin Kosnik  <bkoz@redhat.com>
993
994         * include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
995         Set to true, like float and double.
996
997 2001-12-17  David Billinghurst <David.Billinghurst@riotinto.com>
998
999         libstdc++/5136
1000         * testsuite/lib/prune.exp: New file
1001         * testsuite/lib/libstdc++-v3-dg.exp: Use it
1002
1003 2001-12-17  Phil Edwards  <pme@gcc.gnu.org>
1004
1005         * include/bits/basic_file.h (__basic_file::fd):  New function.
1006         * config/io/basic_file_stdio.h (__basic_file::fd):  Define.
1007         * include/bits/std_fstream.h (basic_filebuf::fd):  New function.
1008         * include/bits/fstream.tcc (basic_filebuf::fd):  Define.
1009         * testsuite/27_io/filebuf_members.cc (test_02):  New test.
1010
1011 2001-12-16  Nathan Sidwell  <nathan@codesourcery.com>
1012
1013         * po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
1014         * po/Makefile.in: Regenerated.
1015
1016 2001-12-16  Paolo Carlini  <pcarlini@unitus.it>
1017
1018         * testsuite/21_strings/assign.cc (test01): Add tests.
1019
1020 2001-12-15  Paolo Carlini  <pcarlini@unitus.it>
1021             Nathan Myers  <ncm@cantrip.org>
1022
1023         * include/bits/basic_string.h
1024         (assign(__str, __pos, __n), assign(__s, __n)):  Optimize
1025         by avoiding unnecessary temporaries.
1026         (assign(__s)): Call assign(__s, __n).
1027         * include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
1028         * include/bits/std_string.h: include stl_function.h.
1029         * testsuite/21_strings/assign.cc (test02, test03): New tests.
1030
1031 2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
1032
1033         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
1034         on linux by default.
1035         * aclocal.m4: Regenerate.
1036         * configure: Regenerate.
1037
1038 2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
1039
1040         Clean up initialization and simplfy caching of underlying "C"
1041         default locale objects.
1042         * src/localename.cc (locale::_Impl::_Impl(string, size_t):
1043         Unconditionally create __clocale object for all named locales,
1044         including "C" and "POSIX".
1045         * config/locale/c_locale_generic.cc
1046         (locale::facet::_S_create_c_locale): Always set __cloc to zero.
1047         * config/locale/c_locale_gnu.cc: Always delete.
1048         * include/bits/localefwd.h (locale::facet::_S_c_locale): New.
1049         * src/locale.cc (locale::classic()): Initialize
1050         locale::facet::_S_c_locale.
1051         (locale::facet::_S_c_locale): Define.
1052
1053         * include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
1054         specialization.
1055         * src/locale.cc: Add definition here.
1056         * config/os/gnu-linux/bits/ctype_inline.h: Tweak.
1057         * config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
1058         * include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
1059         Adjust ctors, dtors.
1060         (ctype<char>::_M_toupper): Remove const&.
1061         (ctype<char>::_M_tolower): Remove const&.
1062         (ctype<char>::_M_ctable): Remove const&.
1063
1064         * include/bits/locale_facets.h (collate): Clean up initialization
1065         of _M_c_locale_collate in ctors and dtors.
1066         * config/locale/collate_members_gnu.cc: Always use extended
1067         functions.
1068
1069         * include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
1070         (messages_byname): Same.
1071         * config/locale/messages_members_generic.h (messages::~messages):
1072         Remove.
1073         * config/locale/messages_members_gnu.h: Same.
1074
1075         * include/bits/localefwd.h: Clean. Move dtor definitions to
1076         * src/locale.cc: Here.
1077         * testsuite/22_locale/facet.cc: Fix spelling.
1078
1079         Named locale support for ctype<wchar_t>.
1080         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
1081         ctype_members_* bits.
1082         * aclocal.m4: Regenerate.
1083         * configure: Regenerate.
1084         * src/Makefile.am (sources): Add ctype.cc.
1085         * src/Makefile.in: Regenerate.
1086         * config/locale/ctype_members_generic.cc: New file.
1087         * config/locale/ctype_members_gnu.cc: New file.
1088         * src/locale.cc: Remove ctype<wchart_t> definitions.
1089
1090 2001-12-13  Roger Sayle <roger@eyesopen.com>
1091
1092         * acconfig.h: Test for __builtin_sqrt instead of
1093         __builtin_fsqrt.
1094         * acinclude.m4: Same.
1095         * include/c_shadow/bits/std_cmath.h: Same.
1096         * aclocal.m4: Regenerated.
1097         * config.h.in: Regenerated.
1098         * configure: Regenerated.
1099
1100 2001-12-13  Phil Edwards  <pme@gcc.gnu.org>
1101
1102         * docs/html/ext/howto.html:  Fix typos.
1103
1104 2001-12-13  Benjamin Kosnik  <bkoz@redhat.com>
1105
1106         libstdc++/3679
1107         * src/locale.cc (locale::locale(const char*)): Deal with locales
1108         named "".
1109         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
1110
1111 2001-12-12  Paolo Carlini  <pcarlini@unitus.it>
1112
1113         * include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
1114         _S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
1115         _S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
1116         : Adjust implicit typename.
1117         * include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
1118         Adjust implicit typename.
1119         * testsuite/27_io/streambuf.cc: Adjust implicit typename.
1120
1121 2001-12-12  Benjamin Kosnik  <bkoz@redhat.com>
1122
1123         Named locale support for ctype<char>.
1124         * config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
1125         * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
1126         definitions for alternate constructor.
1127         * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
1128         * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1129         * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1130         * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
1131         * config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
1132         * config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
1133         * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
1134         * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1135         * config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
1136         * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
1137         * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
1138         * config/os/aix/bits/ctype_noninline.h (ctype): Same.
1139         * include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
1140         definitions for all virtual functions. These are now explicitly
1141         undefined for non-required factets, ie any non-char, non-wchar_t
1142         instantiations.
1143         * src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
1144         locales use alternate constructor for ctype facet.
1145         * include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
1146         mask*, bool, size_t): Add.
1147         (ctype<wchar_t>::ctype(__c_locale, size_t): Add.
1148         * src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
1149         definition.
1150
1151         * testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
1152         XFAIL for non-gnu locale models.
1153
1154 2001-12-12  Philip Martin  <philip@codematters.co.uk>
1155             Ross Smith     <r-smith@ihug.co.nz>
1156             Paolo Carlini  <pcarlini@unitus.it>
1157
1158         libstdc++/5045
1159         * include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
1160         Fix digits10 values for integral types.
1161         * include/bits/locale_facets.tcc (num_get::do_get for integral types):
1162         Tweak _M_extract_int call.
1163         * testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
1164         Tweak overflowing number of digits.
1165         * testsuite/18_support/numeric_limits.cc (test03): New testcase.
1166
1167 2001-12-11  Benjamin Kosnik  <bkoz@redhat.com>
1168
1169         * config/os/generic/bits/ctype_inline.h: Remove spaces.
1170         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1171         * include/bits/locale_facets.h (__num_base): Move double data
1172         members to first in class.
1173         * include/bits/locale_facets.tcc: Re-arrange, tweak.
1174         * src/locale.cc: Clean.
1175         *include/bits/stl_vector.h: Space typedefs.
1176
1177 2001-12-11  Phil Edwards  <pme@gcc.gnu.org>
1178
1179         * testsuite/ext/allocators.cc:  New file.
1180
1181 2001-12-11  Jason Merrill  <jason@redhat.com>
1182
1183         * include/bits/locale_facets.tcc (_M_extract_int): Avoid
1184         uninitialized warning.
1185
1186 2001-12-11  Loren Rittle <ljrittle@acm.org>
1187
1188         * config/cpu/sparc/sparc32/bits/atomicity.h
1189         (__Atomicity_lock<0>::_S_atomicity_lock): Add.
1190
1191 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
1192
1193         * include/bits/basic_string.tcc (_M_replace_safe):  Fix typos.
1194         * include/bits/basic_string.h:  Fix typos.
1195
1196 2001-12-10  Paolo Carlini  <pcarlini@unitus.it>
1197             Nathan Myers  <ncm@cantrip.org>
1198
1199         * include/bits/basic_string.tcc (_M_replace_safe):  New function.
1200         (_M_replace(input_iterator_tag), append members):  Use it.
1201         (_M_replace(forward_iterator_tag)):  Remove.
1202         * include/bits/basic_string.h:  Adjust declarations.
1203         * src/string-inst.cc:  Adjust declarations.
1204
1205 2001-12-09  Benjamin Kosnik  <bkoz@redhat.com>
1206             Philip Martin <pmartin@uklinux.net>
1207
1208         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
1209         (__num_base::_S_scale_oct): Add.
1210         * include/bits/locale_facets.tcc (_M_extract_int): Use them.
1211         * src/locale.cc: Add definitions.
1212         * testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
1213
1214         * testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
1215
1216 2001-12-07  Nathan Myers  <ncm@cantrip.org>
1217             Loren Rittle <ljrittle@acm.org>
1218
1219         libstdc++/5037
1220         * config/cpu/sparc/sparc32/bits/atomicity.h
1221         (struct __Atomicity_lock<__inst>): Add.
1222         (__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
1223         (__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
1224         instead of lock local to static function.
1225         (__atomic_add): Likewise.
1226
1227 2001-12-07  Phil Edwards  <pme@gcc.gnu.org>
1228
1229         * src/globals.cc:  Remove __GTHREADS guard.
1230
1231 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1232
1233         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1234         Extend comment, reduce __cs_size for non-fixed outputs.
1235
1236 2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
1237
1238         * include/bits/basic_string.tcc (_M_mutate): Fix typo
1239         in the previous check in.
1240
1241 2001-12-06  Paolo Carlini  <pcarlini@unitus.it>
1242             Loren J. Rittle <ljrittle@acm.org>
1243
1244         * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
1245         exponential growth policy to meet linear amortized time
1246         requirements of the standard.
1247         (_S_create): Adjust comment.
1248
1249 2001-12-06  Benjamin Kosnik  <bkoz@redhat.com>
1250
1251         libstdc++/3720
1252         * include/bits/locale_facets.tcc (num_put): Clean.
1253         (num_get::_M_extract_float): Change argument to string.
1254         (num_get::do_get(float)): Fixup.
1255         (num_get::do_get(double)): Same.
1256         (num_get::do_get(long double)): Same.
1257         (num_get::_M_extract_int): Add maximum length parameter, __max.
1258         (num_get::_M_extract_float): Correct zeros, use string.
1259         * include/bits/locale_facets.h (num_get::_M_extract_float): Change
1260         declaration here.
1261         * src/locale.cc (__num_base::_S_atoms): Remove x, X.
1262         * testsuite/27_io/istream_extractor_arith.cc (test13): Add.
1263
1264 2001-12-06  Philip Martin  <pmartin@uklinux.net>
1265
1266         * testsuite/27_io/istream_extractor_arith.cc (test12): Add
1267         tests for excess input digits.
1268
1269 2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
1270
1271         * include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
1272         * include/bits/stl_algo.h:  Likewise.
1273         * include/bits/stl_algobase.h:  Likewise.
1274         * include/bits/stl_bvector.h:  Likewise.
1275         * include/bits/stl_deque.h:  Likewise.
1276         * include/bits/stl_function.h:  Likewise.
1277         * include/bits/stl_iterator.h:  Likewise.
1278         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1279         * include/bits/stl_iterator_base_types.h:  Likewise.
1280         * include/bits/stl_list.h:  Likewise.
1281         * include/bits/stl_multimap.h:  Likewise.
1282         * include/bits/stl_multiset.h:  Likewise.
1283         * include/bits/stl_pair.h:  Likewise.
1284         * include/bits/stl_queue.h:  Likewise.
1285         * include/bits/stl_set.h:  Likewise.
1286         * include/bits/stl_stack.h:  Likewise.
1287         * include/bits/stl_tempbuf.h:  Likewise.
1288         * include/bits/stl_tree.h:  Likewise.
1289         * include/bits/stl_vector.h:  Likewise.
1290
1291         * include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
1292         Doxygenate more comments.  Correct historical artifacts in comments.
1293         (alloc, single_alloc):  Uglify non-standard names.
1294         (__default_alloc_template::_NFREELISTS):  Calculate from other
1295         parameters.
1296         (__default_alloc_template::_S_free_list):  Remove SunPro workaround.
1297         (__default_alloc_template::_Lock):  Mark as "unused".
1298         * include/backward/alloc.h:  Update.
1299         * include/bits/stl_bvector.h:  Likewise.
1300         * include/ext/ropeimpl.h:  Likewise.
1301         * include/ext/stl_hashtable.h:  Likewise.
1302
1303 2001-12-05  Benjamin Kosnik  <bkoz@redhat.com>
1304
1305         DR/282
1306         * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
1307         grouping to floating point types.
1308         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
1309
1310 2001-12-04  Paolo Carlini <pcarlini@unitus.it>
1311
1312         libstdc++/4402
1313         * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase
1314         from the PR.
1315         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
1316         Deal properly with long ios_base::fixed floats.
1317         (num_put::_M_widen_float): use
1318         __len in __builtin_alloca call.
1319
1320 2001-12-04  Benjamin Kosnik  <bkoz@redhat.com>
1321
1322         * src/Makefile.am (sources): Add ext-inst.cc.
1323         * src/Makefile.in: Regenerate.
1324         * src/ext-inst.cc: New file.
1325         * include/bits/stl_threads.h: Format.
1326         * src/globals.cc: Add instantiation for _S_swap_lock.
1327
1328         * testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
1329         instantiation.
1330
1331 2001-12-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1332
1333         * testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
1334         and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
1335         * testsuite/26_numerics/complex_inserters_extractors.cc: Provide
1336         for explicit instantiation of class std::basic_string<char,
1337         gnu_char_traits, std::allocator<char> >.
1338
1339 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1340
1341         * testsuite/22_locale/collate.cc: Compile-only.
1342         * testsuite/22_locale/time_get.cc: Same.
1343         * testsuite/22_locale/time_put.cc: Same.
1344         * testsuite/22_locale/numpunct.cc: Same.
1345         * testsuite/22_locale/num_put.cc: Same.
1346         * testsuite/22_locale/num_get.cc: Same.
1347         * testsuite/22_locale/moneypunct.cc: Same.
1348         * testsuite/22_locale/money_get.cc: Same.
1349         * testsuite/22_locale/messages.cc: Same.
1350         * testsuite/22_locale/ctype.cc: Same.
1351
1352 2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
1353
1354         * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
1355         member instantiations.
1356
1357 2001-12-03  Steve Ellcey  <sje@cup.hp.com>
1358
1359         * libstdc++-v3/configure.in: Add support for hpux cross compiles,
1360         combine common linux/hpux/generic cross compile support to reduce
1361         redundent lines.
1362         * libstdc++-v3/configure: Regenerate.
1363
1364 2001-12-03  Loren J. Rittle  <ljrittle@acm.org>
1365
1366         * docs/html/ext/howto.html: Update commentary.
1367         * include/bits/c++config: Update threading configuration comment.
1368         (__STL_GTHREADS): Remove macro definition.
1369         (__STL_THREADS): Likewise.
1370         * include/bits/stl_threads.h: Leave only the configuration
1371         path which had been guarded by __STL_GTHREADS.  Remove all
1372         guards related to __STL_GTHREADS, __STL_SGI_THREADS,
1373         __STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
1374         * include/bits/stl_alloc.h: Leave only the configuration path
1375         which had been guarded by __STL_THREADS.  Remove configuration
1376         path and guards for __STL_SGI_THREADS.
1377         (__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
1378         (__NODE_ALLOCATOR_LOCK): Likewise.
1379         (__NODE_ALLOCATOR_UNLOCK): Likewise.
1380         (_NOTHREADS): Remove guards related to macro.
1381         * include/ext/stl_rope.h: Remove configuration path and guards
1382         for __STL_SGI_THREADS.
1383         * src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
1384
1385 2001-12-02  Phil Edwards  <pme@gcc.gnu.org>
1386
1387         * docs/html/ext/howto.html:  Update list of implemented DRs.
1388         * docs/html/ext/lwg-active.html:  Import R20 from upstream.
1389         * docs/html/ext/lwg-defects.html:  Import R20 from upstream.
1390
1391 2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>
1392
1393         libstdc++/3150
1394         DR/266
1395         * libsupc++/exception (bad_exception::~bad_exception()): Remove
1396         declaration.
1397         * libsupc++/new (bad_alloc::~bad_alloc()): Remove.
1398         * libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
1399         (bad_typeid::~bad_typeid()): Remove.
1400         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
1401         (bad_typeid::~bad_typeid()): Same.
1402         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
1403         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
1404
1405         * include/bits/std_iomanip.h: Tweak.
1406
1407 2001-11-29  Paolo Carlini  <pcarlini@unitus.it>
1408
1409         libstdc++/3655
1410         * include/bits/locale_facets.tcc (__pad): Add bool parameter to
1411         correctly pad internal-adjusted const char*-type objects.
1412         * include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
1413         * include/bits/ostream.tcc (operator<<(_CharT , char, const
1414         _CharT*, const char*, const basic_string&): Update calls.
1415         * src/locale-inst.tcc: Update declarations.
1416         * testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
1417
1418 2001-11-29  Phil Edwards  <pme@gcc.gnu.org>
1419
1420         * docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).
1421
1422 2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>
1423
1424         * include/bits/locale_facets.tcc (num_get::do_get(long double)):
1425         Fix __traits_type typo.
1426
1427 2001-11-28  Paolo Carlini  <pcarlini@unitus.it>
1428
1429         * include/bits/locale_facets.tcc (__pad): Correctly pad
1430         internal-adjusted hex numbers.
1431         * testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
1432
1433 2001-11-28  Paolo Carlini <pcarlini@unitus.it>
1434             Loren J. Rittle <ljrittle@acm.org>
1435
1436         * include/bits/basic_string.h
1437         (basic_string::_Rep::__default_excess, _S_excess_slop):
1438         Unused, remove.
1439         * include/bits/basic_string.tcc: Remove dead code.
1440         * include/bits/c++config: Remove comment.
1441
1442 2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
1443             Jakub Jelinek  <jakub@redhat.com>
1444
1445         * config/locale/moneypunct_members_gnu.cc
1446         (moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
1447         for ia64, others.
1448         * config/locale/numpunct_members_gnu.cc
1449         (numpunct<wchar_t>::_M_initialize_numpunct): Same.
1450
1451 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1452
1453         * include/bits/locale_facets.tcc: Formatting tweaks.
1454
1455         * testsuite/23_containers/map_operators.cc: Don't xfail.
1456         * testsuite/23_containers/set_operators.cc: Same.
1457         * testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
1458         * testsuite/backward/header_deque_h.cc: Same.
1459
1460 2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
1461             Paolo Carlini  <pcarlini@unitus.it>
1462
1463         * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
1464         Enforce allocation size blocking policy to reduce
1465         fragmentation and enhance performance with common malloc
1466         implementations.
1467
1468 2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
1469
1470         Numeric facets cleanup.
1471         * include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
1472         + and - signs.
1473         (__num_base::_M_zero): Add
1474         (__num_base::_M_e): Add.
1475         (__num_base::_M_E): Add.
1476         * include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
1477         (num_get::_M_extract_float): New.
1478         (num_get::_M_extract_int): New.
1479         * src/locale.cc (num_get::_M_extract): Remove.
1480
1481         * include/bits/locale_facets.tcc (num_put::_M_insert_float):
1482         Simplify, use _M_insert.
1483         (num_put::do_put(bool)): Simplify, remove __pad.
1484         (__pad): Remove.
1485         (__pad_output): Change to __pad.
1486         * include/bits/ostream.tcc: And here.
1487         * src/locale-inst: Remove instantiations.
1488
1489         * include/bits/locale_facets.h: Move helper functions in to class
1490         num_put.
1491         (num_put::_M_insert_float): Same, for __output_integer.
1492         (num_put::_M_insert_int): Same, for __output_float.
1493         (num_put::_M_insert): New.
1494         (__num_base): Add.
1495         (__num_base::_S_format_float): Move
1496         __build_float_format into class __num_base.
1497         (__num_base::_S_format_int): Move __build_int_format into class
1498         __num_base.
1499         * include/bits/locale_facets.tcc (__group_digits): Change to
1500         (__add_grouping): This.
1501         * src/locale-inst.cc: And here. Tweak instantiations.
1502         * src/misc-inst.cc: Remove instantiations.
1503
1504         * include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
1505         for new calling conventions, move to...
1506         * include/bits/locale_facets.tcc (__pad_output): Here. Adjust
1507         signature to make it useful for both ostream and num_put.
1508         (__pad_numeric): Remove.
1509         * src/misc-inst.cc: Remove instantiations.
1510         * src/locale-inst.cc: Same.
1511
1512         * include/bits/locale_facets.h (_Numeric_get): Remove.
1513         (_Numeric_put): Remove.
1514         (num_get::get(short)): Remove.
1515         (num_get::get(int)): Remove.
1516         (num_get::do_get(short)): Remove.
1517         (num_get::do_get(int)): Remove.
1518         * include/bits/istream.tcc (istream::operator>>(short)): Fix as
1519         per DR 118.
1520         (istream::operator>>(int)): Same.
1521
1522         * include/bits/locale_facets.h (_Format_cache): Remove.
1523         * include/bits/locale_facets.tcc: Same.
1524         * src/locale.cc: Same.
1525         * src/locale-inst.cc: Same.
1526         * include/bits/ostream.tcc: Same.
1527         * src/ios.cc (ios_base::imbue): Remove here as well.
1528
1529         * testsuite/22_locale/num_get.cc: New file.
1530         * testsuite/22_locale/num_get_members_char.cc: New file.
1531         * testsuite/22_locale/num_get_members_wchar_t.cc: New.
1532         * testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
1533         * testsuite/22_locale/num_put.cc: New file.
1534         * testsuite/22_locale/num_put_members_char.cc: New file.
1535         * testsuite/22_locale/num_put_members_wchar_t.cc: New file.
1536         * testsuite/27_io/ostream_inserter_arith.cc: Fix.
1537         * testsuite/27_io/istream_extractor_arith.cc: Fix.
1538
1539 2001-11-27  Phil Edwards  <pme@gcc.gnu.org>
1540
1541         * docs/html/explanations.html:  New section, empty for now.
1542         * docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
1543         * docs/html/23_containers/howto.html:  ...to here.  Break up and
1544         rewrap threading discussion to emphasize warning.  Move malloc text...
1545         * docs/html/ext/howto.html:  ...to here.  New section.  Describe
1546         allocators and __USE_MALLOC effects.
1547         * docs/html/ext/sgiexts.html:  Mention their code.
1548
1549 2001-11-24  Joseph S. Myers  <jsm28@cam.ac.uk>
1550
1551         * docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1552         docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
1553         changes.
1554
1555 2001-11-23  Phil Edwards  <pme@gcc.gnu.org>
1556
1557         * Makefile.am (doxygen-maint):  The script isn't executable in CVS.
1558         * Makefile.in:  Regenerated.
1559         * docs/doxygen/TODO:  New file listing doxygen work to be done.
1560         * docs/doxygen/run_doxygen:  Fix up man pages.
1561         * docs/doxygen/user.cfg.in:  Insert maint-only toggles.
1562         * docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
1563         * include/bits/stl_construct.h:  Use new hooks for internal functions.
1564
1565         * docs/html/17_intro/TODO:  Small updates.
1566         * docs/html/faq/index.html:  Likewise.
1567         * docs/html/faq/index.txt:  Regenerated.
1568
1569         * include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
1570         SGI-isms and wrappers.
1571         (simple_alloc, debug_alloc):  Uglify class names.
1572         (__default_alloc_template):  Uglify "threads" template parameter and
1573         update corresponding macros.
1574         * include/backward/alloc.h:  Bring up to date.
1575
1576 2001-11-23  Jason Merrill  <jason@redhat.com>
1577
1578         * src/vterminate.cc (__verbose_terminate_handler): Add leading
1579         underscores.
1580
1581 2001-11-23  Joseph S. Myers  <jsm28@cam.ac.uk>
1582
1583         * ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
1584         docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
1585         docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
1586         docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
1587         docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
1588         docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
1589         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1590         docs/html/21_strings/howto.html,
1591         docs/html/23_containers/howto.html,
1592         docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1593         docs/html/27_io/binary_iostreams_kuehl.txt,
1594         docs/html/ext/sgiexts.html, docs/html/faq/index.html,
1595         docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
1596         include/bits/basic_file.h, include/bits/locale_facets.h,
1597         include/bits/locale_facets.tcc, include/bits/std_sstream.h,
1598         include/ext/ropeimpl.h, include/ext/stl_rope.h,
1599         libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
1600         libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
1601         configure.target, ChangeLog-2000: Fix spelling errors.
1602
1603         * config/locale/moneypunct_members_gnu.cc,
1604         include/bits/locale_facets.h: Fix spelling errors.
1605
1606 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1607
1608         * testsuite/23_containers/list_capacity.cc: New file.
1609         * testsuite/23_containers/list_ctor.cc: New file.
1610         * testsuite/23_containers/list_modifiers.cc: New file.
1611         * testsuite/23_containers/list_operators.cc: New file.
1612
1613 2001-11-22  Stephen M. Webb  <stephen@bregmasoft.com>
1614
1615         * include/bits/stl_list.h: Reformatted according to C++STYLE rules.
1616         (size): Replaced nonstandard distance() call with the standard one.
1617         (transfer): Uglified to _M_transfer.
1618
1619 2001-11-21  Paolo Carlini  <pcarlini@unitus.it>
1620
1621         PR libstdc++/4548
1622         * include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
1623         below the current size.
1624         * testsuite/21_strings/capacity.cc (test02):  Add test.
1625
1626 2001-11-19  Phil Edwards  <pme@gcc.gnu.org>
1627
1628         * docs/doxygen/Intro.3:  More notes.
1629         * docs/doxygen/style.css:  Update to default style from Doxygen 1.2.10.
1630         * include/bits/stl_algobase.h:  Add doxygen hooks for functions.
1631         * include/ext/hash_map:  Add @file hook.
1632         * include/ext/hash_set:  Likewise.
1633         * include/ext/rope:  Likewise.
1634         * include/ext/ropeimpl.h:  Likewise.
1635         * include/ext/slist:  Likewise.
1636         * include/ext/stl_hash_fun.h:  Likewise.
1637         * include/ext/stl_hashtable.h:  Likewise.
1638         * include/ext/stl_rope.h:  Likewise.
1639
1640         * docs/html/17_intro/license.html:  Remove "experimental" sentence.
1641         * docs/html/19_diagnostics/howto.html:  Document new verbose
1642         terminate handler.
1643         * testsuite/27_io/filebuf.cc:  Fix comment, move tweakable parameter
1644         to more visible (closer to description) position.
1645
1646         * libsupc++/eh_type.cc:  Formatting tweak.
1647         * libsupc++/exception:  Likewise.
1648         * src/vterminate.cc:  Likewise.
1649
1650         * docs/html/17_intro/porting.html:  Regenerate.
1651         * docs/html/faq/index.txt:  Regenerate.
1652
1653 2001-11-18  Jason Merrill  <jason@redhat.com>
1654
1655         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
1656         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1657         * libsupc++/unwind-cxx.h: Adjust.
1658         * src/Makefile.am (strstream.o): Pass -Wno-deprecated.
1659
1660         * libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
1661         * libsupc++/cxxabi.h: Declare it.
1662         * libsupc++/Makefile.am (sources): Add it.
1663         * src/vterminate.cc (verbose_terminate_handler): New file.
1664         * libsupc++/exception: Declare it.
1665         * src/Makefile.am (sources): Add it.
1666
1667         * src/Makefile.am (VPATH): Check the src directory before the top one.
1668
1669 2001-11-16  Paolo Carlini  <pcarlini@unitus.it>
1670
1671         * include/bits/stl_deque.h (deque::erase()):  Fix memory leak.
1672
1673 2001-11-16  Loren J. Rittle  <ljrittle@acm.org>
1674
1675         * docs/html/17_intro/howto.html (Thread-safety): Rename
1676         section to ``The Standard C++ library and multithreading'' and
1677         update information based on recent mailing list traffic.  Move
1678         all discussion of __USE_MALLOC to...
1679         * docs/html/23_containers/howto.html (Containers and multithreading):
1680         ...here and rework it based on recent mailing list traffic.
1681
1682 2001-11-15  Loren J. Rittle  <ljrittle@acm.org>
1683
1684         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
1685         wording.
1686
1687 2001-11-15  <bjornw@planetarion.com>
1688             Loren J. Rittle  <ljrittle@acm.org>
1689
1690         libstc++/4219
1691         * include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
1692         (single_client_alloc): Likewise.
1693
1694 2001-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
1695
1696         * configure.target: Add os_include_dir for mingw32* target.
1697         * docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting
1698         from _GLIBCPP_AVOID_FSEEK.
1699         * config/os/mingw32/bits/ctype_base.h: New file.
1700         * config/os/mingw32/bits/ctype_inline.h: New file.
1701         * config/os/mingw32/bits/ctype_noninline.h: New file.
1702         * config/os/mingw32/bits/os_defines.h: New file.
1703
1704 2001-11-07  Nathan Myers  <ncm@cantrip.org>
1705
1706         * docs/html/faq/index.html (5.8):  New entry on ABIs.
1707         * docs/html/faq/index.txt:  Regenerate.
1708
1709 2001-11-07  Phil Edwards  <pme@gcc.gnu.org>
1710
1711         * docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
1712         bugfixes on Solaris.
1713         * docs/html/faq/index.txt:  Regenerate.
1714
1715 2001-11-06  Phil Edwards  <pme@gcc.gnu.org>
1716
1717         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
1718         LANG_CPLUSPLUS mode.
1719         * aclocal.m4:  Regenerate.
1720         * configure:  Regenerate.
1721
1722 2001-11-05  Phil Edwards  <pme@gcc.gnu.org>
1723
1724         * porting.texi:  Move...
1725         * docs/html/17_intro/porting.texi:  ...to here.
1726         * docs/html/Makefile:  Add rule to rebuild...
1727         * docs/html/17_intro/porting.html:  ...this.  New file.
1728
1729 2001-11-05  Felix Natter  <fnatter@gmx.net>
1730
1731         * docs/html/17_intro/porting-howto.xml:  check in v0.9.4
1732         * docs/html/17_intro/porting-howto.html:  regenerate
1733
1734 2001-11-02  Loren J. Rittle  <ljrittle@acm.org>
1735
1736         * include/bits/stl_threads.h (_Atomic_swap): Only enable path
1737         when platform supports __GTHREAD_MUTEX_INIT.
1738
1739 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1740
1741         * acconfig.h:  Update comments.
1742         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
1743         (GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
1744         * aclocal.m4:  Regenerate.
1745         * config.h.in:  Regenerate.
1746         * configure:  Regenerate.
1747
1748         * include/bits/boost_concept_check.h:  Unconditionally compile uses
1749         of 'long long' which require only compiler support, not C lib support.
1750         * include/bits/cpp_type_traits.h:  Likewise.
1751         * include/bits/std_limits.h:  Likewise.
1752         * include/bits/type_traits.h:  Likewise.
1753         * src/concept-inst.cc:  Likewise.
1754         * src/limits.cc:  Likewise.
1755         * include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
1756         instead of _GLIBCPP_USE_LONG_LONG.
1757         * include/c_shadow/bits/std_cstdlib.h:  Likewise.
1758
1759 2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
1760
1761         * config/io/c_io_stdio.h:  Correct grammar in comments.
1762         * docs/doxygen/Intro.3:  Expand "top-level" man page.
1763         * docs/doxygen/doxygroups.cc:  New module definitions (comments).
1764         * docs/doxygen/mainpage.doxy:  Tweaks.
1765         * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
1766
1767         Add @file hooks so that headers are considered to be documented.
1768         * include/bits/basic_ios.h, include/bits/basic_file.h,
1769         include/bits/basic_string.h, include/bits/boost_concept_check.h,
1770         include/bits/char_traits.h, include/bits/codecvt.h,
1771         include/bits/concept_check.h, include/bits/cpp_type_traits.h,
1772         include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
1773         include/bits/indirect_array.h, include/bits/ios_base.h,
1774         include/bits/locale_facets.h, include/bits/localefwd.h,
1775         include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
1776         include/bits/slice.h, include/bits/slice_array.h,
1777         include/bits/std_algorithm.h, include/bits/std_bitset.h,
1778         include/bits/std_complex.h, include/bits/std_deque.h,
1779         include/bits/std_fstream.h, include/bits/std_functional.h,
1780         include/bits/std_iomanip.h, include/bits/std_ios.h,
1781         include/bits/std_iosfwd.h, include/bits/std_iostream.h,
1782         include/bits/std_istream.h, include/bits/std_iterator.h,
1783         include/bits/std_limits.h, include/bits/std_list.h,
1784         include/bits/std_locale.h, include/bits/std_map.h,
1785         include/bits/std_memory.h, include/bits/std_numeric.h,
1786         include/bits/std_ostream.h, include/bits/std_queue.h,
1787         include/bits/std_set.h, include/bits/std_sstream.h,
1788         include/bits/std_stack.h, include/bits/std_streambuf.h,
1789         include/bits/std_string.h, include/bits/std_utility.h,
1790         include/bits/std_valarray.h, include/bits/std_vector.h,
1791         include/bits/stl_algo.h, include/bits/stl_alloc.h,
1792         include/bits/stl_bvector.h, include/bits/stl_construct.h,
1793         include/bits/stl_deque.h, include/bits/stl_heap.h,
1794         include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
1795         include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
1796         include/bits/stl_map.h, include/bits/stl_multimap.h,
1797         include/bits/stl_multiset.h, include/bits/stl_numeric.h,
1798         include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
1799         include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
1800         include/bits/stl_relops.h, include/bits/stl_set.h,
1801         include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
1802         include/bits/stl_threads.h, include/bits/stl_tree.h,
1803         include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
1804         include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
1805         include/bits/stringfwd.h, include/bits/type_traits.h,
1806         include/bits/valarray_array.h, include/bits/valarray_meta.h:
1807         Add hooks, tweak comments only.
1808
1809         * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
1810         document these functions.
1811         * include/bits/stl_function.h:  Tweak link comments.
1812
1813 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
1814             Benjamin Kosnik  <bkoz@redhat.com>
1815
1816         * testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
1817         output.
1818         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
1819
1820 2001-11-01  Egor Duda  <deo@logos-m.ru>
1821
1822         * config/os/newlib/bits/ctype_noninline.h
1823         (ctype<char>::do_toupper(char __c)): Check for proper character class.
1824         (ctype<char>::do_tolower(char __c)): Ditto.
1825
1826 2001-11-01  Phil Edwards  <pme@gcc.gnu.org>
1827
1828         * acinclude.m4:  Fix spacing.
1829         (GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
1830         * configure.in:  Call here.
1831         * acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
1832         * include/bits/boost_concept_check.h:  Fix headers.
1833         (__function_requires):  Make inline.
1834         * include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
1835         * aclocal.m4:  Regenerate.
1836         * config.h.in:  Regenerate.
1837         * configure:  Regenerate.
1838
1839         Move trailing ';' inside macro, PR libstdc++/3666.
1840         * include/bits/concept_check.h:  Add semicolon.
1841         * include/bits/stl_algo.h:  Remove semicolon.
1842         * include/bits/stl_algobase.h:  Likewise.
1843         * include/bits/stl_deque.h:  Likewise.
1844         * include/bits/stl_heap.h:  Likewise.
1845         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1846         * include/bits/stl_list.h:  Likewise.
1847         * include/bits/stl_map.h:  Likewise.
1848         * include/bits/stl_multimap.h:  Likewise.
1849         * include/bits/stl_multiset.h:  Likewise.
1850         * include/bits/stl_numeric.h:  Likewise.
1851         * include/bits/stl_queue.h:  Likewise.
1852         * include/bits/stl_set.h:  Likewise.
1853         * include/bits/stl_stack.h:  Likewise.
1854         * include/bits/stl_vector.h:  Likewise.
1855         * include/ext/hash_map:  Likewise.
1856         * include/ext/hash_set:  Likewise.
1857         * include/ext/slist:  Likewise.
1858
1859         * src/concept-inst.cc:  New file with explicit instantiations.
1860         * src/Makefile.am (sources):  Add here, with special build rules.
1861         * src/Makefile.in:  Regenerate.
1862
1863 2001-11-01  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1864
1865         * include/bits/std_complex.h (_Norm_helper): New class template.
1866         (norm): Tweak.
1867         (abs): Tweak. Fix Thinko.
1868
1869 2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>
1870
1871         libstdc++/4749
1872         * include/bits/codecvt.h: Add virtual member function declarations.
1873         * src/codecvt.cc: Tweaks.
1874         * testsuite/22_locale/codecvt.cc: Test compilation only,
1875         non-required facets not required to have linkage.
1876
1877 2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>
1878
1879         libstdc++/4622
1880         * include/bits/std_complex.h (complex::operator/=): Correct sign.
1881
1882 2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
1883             Benjamin Kosnik  <bkoz@redhat.com>
1884
1885         libstdc++/4354
1886         * include/bits/basic_string.h: Tweaks.
1887         * include/bits/basic_string.tcc (string::_M_replace(iterator,
1888         iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
1889         * src/string-inst.cc: Tweaks, add instantiation.
1890         * testsuite/21_strings/replace.cc (test02): Add test.
1891         * testsuite/21_strings/assign.cc (test01): New file.
1892
1893 2001-10-30  Jakub Jelinek  <jakub@redhat.com>
1894
1895         * include/bits/stl_deque.h (_M_new_elements_at_front): Use
1896         __throw_exception_again.
1897         (_M_new_elements_at_back): Likewise.
1898
1899 2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>
1900
1901         libstdc++/3647
1902         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1903         * testsuite/27_io/filebuf.cc (test07): New test.
1904         (test03): Modify showmanyc test.
1905
1906 2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>
1907
1908         libstdc++/4503
1909         * config/locale/codecvt_specializations_ieee_1003.1-200x.h
1910         (__enc_traits::~__enc_traits): Fix.
1911         (__enc_traits::_M_init): Add error checking.
1912
1913 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1914
1915         libstdc++/4542
1916         * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
1917
1918 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1919
1920         libstdc++/4545
1921         * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
1922         exceptions.
1923         * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
1924         consistent, where possible.
1925         * include/bits/streambuf.tcc: Tweak.
1926
1927 2001-10-25  Brendan Kehoe  <brendan@zen.org>
1928
1929         libstdc++/4536
1930         * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
1931         * bits/istream.tcc (seekg): Likewise.
1932
1933 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1934             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1935             Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1936
1937         * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
1938         __s390x__ only.
1939         * include/bits/std_limits.h: Fix wchar_t issues.
1940         * config/os/aix/bits/os_defines.h: Fix.
1941
1942 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
1943
1944         * include/bits/locale_facets.tcc (collate::do_transform): Fix.
1945
1946 2001-10-25  Phil Edwards  <pme@gcc.gnu.org>
1947
1948         * docs/html/documentation.html:  Fix typo.
1949
1950 2001-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1951
1952         Make -fno-exceptions work.
1953         * config/locale/c_locale_gnu.cc: Use functexcept.
1954         * include/bits/c++config (__stl_assert): Remove.
1955         (__STL_USE_EXCEPTIONS): Same.
1956         (__STL_TRY): Same.
1957         (__STL_CATCH_ALL): Same.
1958         (__STL_THROW): Same.
1959         (__STL_RETHROW): Same.
1960         (__STL_NOTHROW): Same.
1961         (__STL_UNWIND): Same.
1962         * include/bits/pthread_allocimpl.h: Fix.
1963         * include/bits/std_bitset.h: Same.
1964         * include/bits/std_list.h: Same.
1965         * include/bits/std_memory.h: Same.
1966         * include/bits/std_queue.h: Same.
1967         * include/bits/stl_alloc.h: Same.
1968         * include/bits/stl_deque.h: Same.
1969         * include/bits/stl_list.h: Same.
1970         * include/bits/stl_queue.h: Same.
1971         * include/bits/stl_tempbuf.h: Same.
1972         * include/bits/stl_tree.h: Same.
1973         * include/bits/stl_uninitialized.h: Same.
1974         * include/bits/stl_vector.h: Same.
1975         * include/ext/ropeimpl.h: Same.
1976         * include/ext/slist: Same.
1977         * include/ext/stl_hashtable.h: Same.
1978         * include/ext/stl_rope.h: Same.
1979         * libsupc++/new_op.cc: Include cstdlib.
1980         * libsupc++/eh_personality.cc: Add exception_defines include. Use
1981         __throw_exception_again, tweak.
1982         * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
1983         * libsupc++/vec.cc: Tweak.
1984         * src/functexcept.cc: Remove unused arguments.
1985         * testsuite/23_containers/bitset_members.cc: Tweak.
1986
1987 2001-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1988
1989         * config/cpu/i386/bits/limits.h: Move to...
1990         * config/cpu/i386/bits/cpu_limits.h: ...here.
1991         * config/cpu/cris/bits/cpu_limits.h: Same.
1992         * config/cpu/powerpc/bits/cpu_limits.h: Same.
1993         * config/cpu/x86-64/bits/cpu_limits.h: Same.
1994         * config/cpu/alpha/bits/cpu_limits.h: New.
1995         * config/cpu/m68k/bits/cpu_limits.h: New.
1996         * config/cpu/s390/bits/cpu_limits.h: New.
1997         * config/os/aix/bits/os_defines.h: Tweaks.
1998         * config/os/bsd/freebsd/bits/os_defines.h: Same.
1999         * config/os/bsd/netbsd/bits/os_defines.h: Same.
2000         * config/os/djgpp/bits/os_defines.h: Same.
2001         * config/os/generic/bits/os_defines.h: Same.
2002         * config/os/gnu-linux/bits/os_defines.h: Same.
2003         * config/os/hpux/bits/os_defines.h: Same.
2004         * config/os/irix/irix5.2/bits/os_defines.h: Same.
2005         * config/os/irix/irix6.5/bits/os_defines.h: Same.
2006         * config/os/newlib/bits/os_defines.h: Same.
2007         * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
2008         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
2009         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
2010
2011         * include/bits/c++config: Remove include.
2012         * include/bits/limits_generic.h: Remove.
2013         * include/bits/std_limits.h: Include cpu_limits.h.
2014         * include/Makefile.am: Fixup.
2015         * src/limits.cc: Tweak.
2016         * src/limits_generic.cc: Remove.
2017         * src/gen-num-limits.cc: Remove.
2018         * mknumeric_limits: Remove.
2019
2020 2001-10-20  Brendan Kehoe  <brendan@zen.org>
2021
2022         * bits/type_traits.h (_Bool): Removed this type.
2023         (__true_type, __false_type): Change to be plain structs.
2024         * src/string-inst.cc (__destroy_aux): Change third parm to be
2025         __false_type instead of _Bool<false>.
2026         * src/misc-inst.cc (__uninitialized_fill_n_aux,
2027         __uninitialized_copy_aux): Likewise.
2028
2029 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
2030
2031         * mkcheck.in (static_fail): Remove older memory limit functionality.
2032         Disable E_TIME due to formatting issues.
2033
2034         * README: Update.
2035
2036 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2037
2038         * include/bits/std_complex.h: Default initialize second argument
2039         of polar to 0, as specified in Library DR #79
2040
2041 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2042
2043         * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
2044         _Construct instead of construct.
2045
2046 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2047
2048         * include/bits/basic_string.tcc (find_first_not_of): Take out check for
2049         __n being non-zero, since the standard does not mandate that.
2050         e.g., a search for "" in "" should yield position 0, not npos.
2051         (find_last_not_of): Likewise.
2052
2053 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2054
2055         * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
2056         to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
2057
2058 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2059
2060         * include/bits/stl_iterator.h (reverse_iterator::current): Rename
2061         member from _M_current, and change all uses; thus sayeth $24.4.1.1.
2062
2063 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2064
2065         * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
2066         template parameter _ValueType.
2067
2068 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2069
2070         * include/bits/std_limits.h: Clean up extra semicolons.
2071         * include/bits/locale_facets.h: Likewise.
2072         * include/bits/type_traits.h: Likewise.
2073
2074 2001-10-19  Brendan Kehoe  <brendan@zen.org>
2075
2076         * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
2077         * include/bits/locale_facets.tcc (locale::combine): Likewise.
2078
2079 2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>
2080
2081         * include/bits/locale_facets.h (__timepunct::_M_put_helper):
2082         Declare specializations for char, wchar_t.
2083
2084 2001-10-19  Andreas Jaeger  <aj@suse.de>
2085
2086         * config/cpu/x86-64/bits/limits.h: New file.
2087         * config/cpu/x86-64/bits/atomicity.h: New file.
2088         * configure.target: Add x86-64.
2089
2090 2001-10-17  Phil Edwards  <pme@gcc.gnu.org>
2091
2092         * docs/html/17_intro/howto.html:  Remove 1999 links (and explain
2093         why).  Add link to recent message.
2094         * docs/html/faq/index.html (5.6):  Reformat text only; fixup <pre>
2095         markup.
2096         * docs/html/faq/index.txt:  Regenerate.
2097
2098 2001-10-12  Loren J. Rittle  <ljrittle@acm.org>
2099
2100         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
2101         based on Nathan's review.  Use Nathan's words.
2102
2103 2001-10-11  Matt Kraai  <kraai@alumni.carnegiemellon.edu>
2104
2105         * docs/html/configopts.html: Quote StyleSheet attribute values.
2106         * docs/html/documentation.html: Likewise.
2107         * docs/html/explanations.html: Likewise.
2108         * docs/html/install.html: Likewise.
2109         * docs/html/17_intro/howto.html: Likewise.
2110         * docs/html/17_intro/license.html: Likewise.
2111         * docs/html/18_support/howto.html: Likewise.
2112         * docs/html/19_diagnostics/howto.html: Likewise.
2113         * docs/html/20_util/howto.html: Likewise.
2114         * docs/html/21_strings/howto.html: Likewise.
2115         * docs/html/22_locale/howto.html: Likewise.
2116         * docs/html/23_containers/howto.html: Likewise.
2117         * docs/html/24_iterators/howto.html: Likewise.
2118         * docs/html/25_algorithms/howto.html: Likewise.
2119         * docs/html/26_numerics/howto.html: Likewise.
2120         * docs/html/27_io/howto.html: Likewise.
2121         * docs/html/ext/howto.html: Likewise.
2122         * docs/html/ext/sgiexts.html: Likewise.
2123         * docs/html/faq/index.html: Likewise.
2124
2125 2001-10-11  Loren J. Rittle  <ljrittle@acm.org>
2126
2127         * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
2128         * docs/html/23_containers/howto.html (Containers and multithreading):
2129         Update.
2130
2131 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
2132
2133         * docs/html/17_intro/howto.html:  Tweak markup and value type.
2134         * docs/html/27_io/howto.html:  Tweak markup, describe setbuf() for
2135         nonzero arguments, add new note on threading.
2136         * docs/html/faq/index.html:  Update.
2137         * docs/html/faq/index.txt:  Regenerate.
2138
2139 2001-10-09  Phil Edwards  <pme@gcc.gnu.org>
2140
2141         * docs/html/configopts.html:  More HTML->XHTML and lowercasing of tags.
2142         * docs/html/documentation.html:  Likewise.
2143         * docs/html/explanations.html:  Likewise.
2144         * docs/html/install.html:  Likewise.
2145         * docs/html/17_intro/howto.html:  Likewise.
2146         * docs/html/17_intro/license.html:  Likewise.  Tighten up language.
2147         * docs/html/18_support/howto.html:  Likewise.
2148         * docs/html/19_diagnostics/howto.html:  Likewise.
2149         * docs/html/20_util/howto.html:  Likewise.
2150         * docs/html/21_strings/howto.html:  Likewise.
2151         * docs/html/22_locale/howto.html:  Likewise.
2152         * docs/html/23_containers/howto.html:  Likewise.
2153         * docs/html/24_iterators/howto.html:  Likewise.
2154         * docs/html/25_algorithms/howto.html:  Likewise.
2155         * docs/html/26_numerics/howto.html:  Likewise.
2156         * docs/html/27_io/howto.html:  Likewise.
2157         * docs/html/ext/howto.html:  Likewise.
2158         * docs/html/ext/sgiexts.html:  Likewise.
2159         * docs/html/faq/index.html:  Likewise.  Not so many absolute links.
2160         * docs/html/faq/index.txt:  Regenerate.
2161
2162 2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
2163
2164         * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
2165         spelling errors of "separate" as "seperate", and corresponding
2166         spelling errors of related words.
2167         * docs/html/faq/index.txt: Regenerate.
2168
2169 2001-10-05  Phil Edwards  <pme@gcc.gnu.org>
2170
2171         * config/cpu/alpha/bits/atomicity.h (__compare_and_swap):  Remove
2172         unused function.
2173         * config/cpu/arm/bits/atomicity.h:  Likewise.
2174         * config/cpu/generic/bits/atomicity.h:  Likewise.
2175         * config/cpu/i486/bits/atomicity.h:  Likewise.
2176         * config/cpu/ia64/bits/atomicity.h:  Likewise.
2177         * config/cpu/mips/bits/atomicity.h:  Likewise.
2178         * config/cpu/powerpc/bits/atomicity.h:  Likewise.
2179         * config/cpu/sparc/sparc32/bits/atomicity.h:  Likewise.
2180         * config/cpu/sparc/sparc64/bits/atomicity.h:  Likewise.
2181
2182 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2183
2184         * docs/html/faq/index.html:  Describe DR #22, and a workaround.
2185         * docs/html/faq/index.txt:  Regenerate.
2186
2187 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2188
2189         * docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
2190         * docs/html/17_intro/license.html:  New file.  Explain the licenses
2191         in use.
2192
2193         * docs/html/configopts.html:  Link to license.html.
2194         * docs/html/documentation.html:  Likewise.
2195         * docs/html/explanations.html:  Likewise.
2196         * docs/html/install.html:  Likewise.
2197         * docs/html/17_intro/howto.html:  Likewise.
2198         * docs/html/18_support/howto.html:  Likewise.
2199         * docs/html/19_diagnostics/howto.html:  Likewise.
2200         * docs/html/20_util/howto.html:  Likewise.
2201         * docs/html/21_strings/howto.html:  Likewise.
2202         * docs/html/22_locale/howto.html:  Likewise.
2203         * docs/html/23_containers/howto.html:  Likewise.
2204         * docs/html/24_iterators/howto.html:  Likewise.
2205         * docs/html/25_algorithms/howto.html:  Likewise.
2206         * docs/html/26_numerics/howto.html:  Likewise.
2207         * docs/html/27_io/howto.html:  Likewise.
2208         * docs/html/ext/howto.html:  Likewise.
2209         * docs/html/ext/sgiexts.html:  Likewise.
2210         * docs/html/faq/index.html:  Likewise.  New question, linking to
2211         the new license.html.
2212
2213 2001-10-04  Phil Edwards  <pme@gcc.gnu.org>
2214
2215         * docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
2216         * docs/html/18_support/howto.html:  Likewise.
2217         * docs/html/19_diagnostics/howto.html:  Likewise.
2218         * docs/html/20_util/howto.html:  Likewise.
2219         * docs/html/21_strings/howto.html:  Likewise.
2220         * docs/html/22_locale/howto.html:  Likewise.
2221         * docs/html/23_containers/howto.html:  Likewise.
2222         * docs/html/24_iterators/howto.html:  Likewise.
2223         * docs/html/25_algorithms/howto.html:  Likewise.
2224         * docs/html/26_numerics/howto.html:  Likewise.
2225         * docs/html/27_io/howto.html:  Likewise.
2226         * docs/html/ext/howto.html:  Likewise.
2227         * docs/html/faq/index.html:  Likewise.  Spacing fix.
2228
2229 2001-10-03  Dimitris Vyzovitis  <vyzo@media.mit.edu>
2230
2231         * include/bits/stl_threads.h (_Atomic_swap): New function.
2232         (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
2233         * testsuite/ext/rope.cc: New file.
2234
2235 2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>
2236
2237         * config/locale/time_members_gnu.h: Remove.
2238         * config/locale/time_members_generic.h: Remove.
2239         * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
2240         * config/locale/time_members_generic.cc: Same.
2241         * include/bits/locale_facets.h: Add data members.
2242         (__timepunct::_M_put_helper): Change signature.
2243         (__timepunct::_M_date_formats): Same.
2244         (__timepunct::_M_time_formats): Same.
2245         (__timepunct::_M_ampm): Add.
2246         (__timepunct::_M_date_time_formats): Add.
2247         (time_get::_M_extract_via_format): Add.
2248         (time_get::_M_extract_time): Change to...
2249         (time_get::_M_extract_num): ... this, modify signature.
2250         * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
2251         (time_get::do_get_time): Fix.
2252         (time_get::do_get_date): Fix.
2253
2254         * acinclude.m4: Remove CTIME_H.
2255         * aclocal.m4: Regenerate.
2256         * include/Makefile.am: Same.
2257         * include/Makefile.in: Regenerate.
2258         * configure: Regenerate.
2259
2260         * testsuite/22_locale/time_get_members_char.cc: Fix.
2261         * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
2262         * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
2263
2264 2001-10-01  Hans-Peter Nilsson  <hp@axis.com>
2265
2266         * config/cpu/cris/bits/atomicity.h: Correct file header.
2267
2268 2001-09-29  Hans-Peter Nilsson  <hp@axis.com>
2269
2270         * configure.target (LIMITSH): Set for cris.
2271         (cpu_include_dir): Set for cris-*-*.
2272         * config/cpu/cris/bits/atomicity.h: New file.
2273         * config/cpu/cris/bits/limits.h: New file.
2274
2275 2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>
2276
2277         * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
2278         (__timepunct::_M_put_helper): Add.
2279         * config/locale/time_members_generic.h: Same.
2280         * include/bits/locale_facets.h (__match_parallel): Remove. Format.
2281         (__timepunct): Add data members.
2282         (__timepunct::_M_days): Add.
2283         (__timepunct::_M_days_abbreviated): Add.
2284         (__timepunct::_M_months): Add.
2285         (__timepunct::_M_months_abbreviated): Add.
2286         (__timepunct::_M_initialize_timepunct): Add.
2287         * include/bits/locale_facets.tcc: Same.
2288         * src/locale-inst.cc: Remove instantiations for __match_parallel.
2289         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
2290         * aclocal.m4: Regenerate.
2291         * configure: Regenerate.
2292         * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
2293         * testsuite/22_locale/time_put_members_char.cc (test01): New file.
2294         * testsuite/22_locale/time_get.cc: New file.
2295
2296 2001-09-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2297
2298         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2299         correct multilib builddir.
2300         Properly locate libgcc_s.
2301
2302 2001-09-27  Phil Edwards  <pme@gcc.gnu.org>
2303
2304         * include/std/*:  Add Doxygen hooks.
2305         * docs/doxygen/Intro.3:  New file, general intro to the man pages.
2306         * docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
2307         rather than using a generated index.
2308         * docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
2309         * docs/doxygen/run_doxygen:  Massage the generated man pages, using...
2310         * docs/doxygen/stdheader.cc:  ...this new file.
2311
2312 2001-09-26  Stan Shebs  <shebs@apple.com>
2313
2314         * include/Makefile.am: Remove RCS Id strings.
2315         * src/Makefile.am: Ditto.
2316         * docs/doxygen/run_doxygen: Ditto.
2317         * docs/html/configopts.html: Ditto.
2318         * docs/html/documentation.html: Ditto.
2319         * docs/html/explanations.html: Ditto.
2320         * docs/html/install.html: Ditto.
2321         * docs/html/17_intro/howto.html: Ditto.
2322         * docs/html/18_support/howto.html: Ditto.
2323         * docs/html/19_diagnostics/howto.html: Ditto.
2324         * docs/html/20_util/howto.html: Ditto.
2325         * docs/html/21_strings/howto.html: Ditto.
2326         * docs/html/22_locale/howto.html: Ditto.
2327         * docs/html/23_containers/howto.html: Ditto.
2328         * docs/html/24_iterators/howto.html: Ditto.
2329         * docs/html/25_algorithms/howto.html: Ditto.
2330         * docs/html/26_numerics/howto.html: Ditto.
2331         * docs/html/27_io/howto.html: Ditto.
2332         * docs/html/ext/howto.html: Ditto.
2333         * docs/html/ext/sgiexts.html: Ditto.
2334         * docs/html/faq/index.html: Ditto.
2335         * docs/html/faq/index.txt: Ditto.
2336
2337 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2338
2339         * testsuite/21_strings/c_strings.cc (test01, test02):  Increase
2340         `carray' size.
2341
2342 2001-09-25  Phil Edwards  <pme@gcc.gnu.org>
2343
2344         * docs/html/20_util/howto.html:  Add anchor name.
2345         * docs/html/23_containers/howto.html:  Line wrapping, another link.
2346         * docs/html/25_algorithms/howto.html:  Another note.
2347
2348         * docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
2349         link to them...
2350         * docs/html/ext/lwg-active.html:  ...in this new file (from R19),
2351         * docs/html/ext/lwg-defects.html:  and this new file (from R19).
2352         * docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
2353         carried over to libstdc++-v3.
2354         * docs/html/faq/index.html:  Link to SGI extensions.  Mention the
2355         "missing .." pseudobug.
2356         * docs/html/faq/index.txt:  Regenerate.
2357
2358         * include/bits/ios_base.h:  DR-related comment cleanup.
2359         * include/bits/istream.tcc:  Likewise.
2360         * include/bits/locale_facets.h:  Likewise.
2361         * include/bits/locale_facets.tcc:  Likewise.
2362         * include/bits/ostream.tcc:  Likewise.
2363         * include/bits/std_bitset.h:  Likewise.
2364         * include/bits/std_iosfwd.h:  Likewise.
2365         * include/bits/std_istream.h:  Likewise.
2366         * include/bits/std_ostream.h:  Likewise.
2367         * include/bits/std_streambuf.h:  Likewise.
2368         * include/bits/stl_pair.h:  Likewise.
2369         * include/bits/streambuf_iterator.h:  Likewise.
2370
2371         * include/bits/std_map.h:  Remove unused header inclusion guard
2372         _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
2373         * include/bits/std_set.h:  Likewise.
2374
2375         * include/bits/stl_function.h:  Doxygen markup.
2376         * docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
2377         * libsupc++/typeinfo:  Doxygen markup tweak.
2378
2379 2001-09-20  Scott Johnston <scott@accom.com>
2380             Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2381
2382         * include/backward/alloc.h: Conditionally define malloc_alloc
2383         * testsuite/backward/header_deque_h.cc: New file.
2384
2385 2001-09-20  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2386
2387         * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
2388         change variable name so that it works with -fno-for-scope.
2389
2390 2001-09-20  Benjamin Kosnik  <bkoz@redhat.com>
2391
2392         * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
2393         redundant sanity checks.
2394         * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
2395         (test02): Same.
2396         * testsuite/22_locale/money_put_members_char.cc (test01): Same.
2397         (test02): Same.
2398         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
2399         * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
2400         * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
2401         (test02): Same.
2402         * testsuite/22_locale/money_get_members_char.cc (test01): Same.
2403         (test02): Same.
2404
2405 2001-09-19  Benjamin Kosnik  <bkoz@redhat.com>
2406
2407         Implement std::time_put.
2408         * include/bits/locale_facets.h: Include time_members.h.
2409         (__timepunct): New.
2410         (time_put): Implement.
2411         * include/bits/locale_facets.tcc (do_put): Put generic versions here.
2412         * include/bits/localefwd.h: Bump number of facets.
2413         * config/locale/time_members_generic.h: New file.
2414         * config/locale/time_members_gnu.h: New file.
2415         * config/locale/c_locale_generic.h: Include clocale.
2416         * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
2417         * src/locale.cc: Add __timepunct initializations.
2418         * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
2419         * include/Makefile.am (stamp-target): Add time_members.h.
2420         * include/Makefile.in: Regenerate.
2421         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
2422         * aclocal.m4: Regenerate.
2423         * configure: Regenerate.
2424         * testsuite/22_locale/time_put.cc: New file.
2425         * testsuite/22_locale/time_put_members_char.cc: New file.
2426
2427         * docs/html/22_locale/locale.html: Add note.
2428
2429 2001-09-17  Phil Edwards  <pme@gcc.gnu.org>
2430
2431         * docs/html/configopts.html:  HTML to XHTML change.  Lowercase tags.
2432         * docs/html/documentation.html:  Likewise.
2433         * docs/html/explanations.html:  Likewise.
2434         * docs/html/install.html:  Likewise.
2435         * docs/html/17_intro/howto.html:  Likewise.
2436         * docs/html/18_support/howto.html:  Likewise.
2437         * docs/html/19_diagnostics/howto.html:  Likewise.
2438         * docs/html/20_util/howto.html:  Likewise.
2439         * docs/html/21_strings/howto.html:  Likewise.
2440         * docs/html/22_locale/codecvt.html:  Likewise.
2441         * docs/html/22_locale/ctype.html:  Likewise.
2442         * docs/html/22_locale/howto.html:  Likewise.
2443         * docs/html/22_locale/locale.html:  Likewise.
2444         * docs/html/22_locale/messages.html:  Likewise.
2445         * docs/html/23_containers/howto.html:  Likewise.
2446         * docs/html/24_iterators/howto.html:  Likewise.
2447         * docs/html/25_algorithms/howto.html:  Likewise.
2448         * docs/html/26_numerics/howto.html:  Likewise.
2449         * docs/html/27_io/howto.html:  Likewise.
2450         * docs/html/ext/howto.html:  Likewise.
2451         * docs/html/faq/index.html:  Likewise.
2452         * docs/html/faq/index.txt:  Regenerated.
2453
2454 2001-09-14  Phil Edwards  <pme@sources.redhat.com>
2455
2456         * docs/html/17_intro/headers_cc.txt:  "Sync"/copy real file over.
2457         * docs/html/17_intro/howto.html:  Spacing and HTML markup fixes.
2458         * docs/html/18_support/howto.html:  It won't compile; it's not code.
2459         * docs/html/19_diagnostics/howto.html:  Point diagram seekers to
2460         doxygen'd pages.
2461         * docs/html/22_locale/howto.html:  Comment for future work.
2462         * docs/html/23_containers/howto.html:  More comments.
2463         * docs/html/25_algorithms/howto.html:  It's a comment, not a
2464         blunt command to the reader.  (English grammar.)
2465
2466 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2467
2468         * config/locale/moneypunct_members_gnu.cc: Fix initialization of
2469         wchar_t members.
2470         * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
2471         * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
2472
2473 2001-09-14  Benjamin Kosnik  <bkoz@redhat.com>
2474
2475         * include/bits/locale_facets.tcc: Conditionalize use of strtold.
2476
2477 2001-09-13  Alexandre Petit-Bianco  <apbianco@redhat.com>
2478
2479         * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
2480         * testsuite/22_locale/money_put_members_char.cc: Likewise.
2481         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2482
2483 2001-09-13  Benjamin Kosnik  <bkoz@redhat.com>
2484
2485         Implement std::money_get.
2486         * include/bits/locale_facets.tcc (money_get::do_get): Implement.
2487         * include/bits/locale_facets.h (money_get): Correct signatures.
2488         * testsuite/22_locale/money_get.cc: New file.
2489         * testsuite/22_locale/money_get_members_char.cc: New file.
2490
2491         * include/bits/locale_facets.tcc (__verify_grouping): New
2492         function. Consolidate num_get and money_get group checking into
2493         one function.
2494         (money_get): Use it.
2495         * src/locale.cc (num_get::_M_extract): Use it.
2496         * src/locale-inst.cc: Add instantiation.
2497
2498 2001-09-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2499
2500         * include/bits/std_limits.h (numeric_limits<float>::radix,
2501         numeric_limits<float>::epsilon:  Fix thinko.
2502
2503 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2504
2505         * configure.in: Fix cross compiling math routines. Correct
2506         comments for cross compiling and limits. Add floating point math
2507         routines found in newlib.
2508         * configure: Regenerate.
2509         * acconfig.h: Add macros.
2510         * config.h.in: Regenerate.
2511
2512 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2513
2514         * config/locale/moneypunct_members_generic.cc
2515         (money_base::_S_construct_pattern): Remove unused parameters.
2516
2517 2001-09-10  Benjamin Kosnik  <bkoz@redhat.com>
2518
2519         * include/Makefile.am (stamp-target): Remove link to self.
2520         * inclulde/Makefile.in: Regenerate.
2521
2522 2001-09-09  Benjamin Kosnik  <bkoz@redhat.com>
2523
2524         Implement std::money_put.
2525         * include/bits/locale_facets.h
2526         (moneypunct::_M_initialize_moneypunct): Split up specializations
2527         to account for _Intl.  More grody hacking to get around the
2528         ill-considered use of const bool as a template parameter.
2529         * config/locale/moneypunct_members_gnu.cc: And here.
2530         * config/locale/moneypunct_members_generic.cc: And here.
2531         * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
2532         * testsuite/22_locale/moneypunct.cc: Add tests.
2533         * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
2534         * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
2535
2536         * src/locale.cc (money_base::_S_construct_pattern): Move into
2537         gnu-specific file.
2538         * config/locale/moneypunct_members_gnu.cc: Add here.
2539         * config/locale/moneypunct_members_generic.cc: Add generic version
2540         here.
2541
2542         * include/bits/locale_facets.tcc (money_put::do_put): Move member
2543         function definitions here.
2544         * include/bits/locale_facets.h (money_put): Implement.
2545         * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
2546         Correct money_get, money_put instantiations.
2547         * src/locale.cc (money_base::_S_construct_pattern): Handle case
2548         where __posn == 0.
2549         * testsuite/22_locale/money_put_members_char.cc: Add tests.
2550
2551 2001-09-05  Phil Edwards  <pme@sources.redhat.com>
2552
2553         * testsuite_flags.in:  No longer need to search testsuite builddir.
2554         * src/stl-inst.cc (__sink_unused_warning):  Unused, remove.
2555         * Makefile.am:  The testsuite directory never needs to be made here.
2556         * Makefile.in:  Regenerate.
2557         * include/Makefile.in:  Regenerate.
2558         * libio/Makefile.in:  Regenerate.
2559         * libmath/Makefile.in:  Regenerate.
2560         * libsupc++/Makefile.in:  Regenerate.
2561         * po/Makefile.in:  Regenerate.
2562         * src/Makefile.in:  Regenerate.
2563         * testsuite/Makefile.in:  Regenerate.
2564
2565 2001-09-04  Scott Johnston  <scott@accom.com>
2566             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2567
2568         * include/backward/iterator.h: Include <bits/std_iterator.h>,
2569         remove reverse_bidirectional_iterator.
2570         * testsuite/backward: New directory.
2571         * testsuite/backward/header_iterator_h.cc: New file.
2572
2573 2001-09-04  Benjamin Kosnik  <bkoz@redhat.com>
2574
2575         * include/c_std/bits/std_c*.h: Don't use include_next.
2576
2577 2001-09-03  Richard Sandiford  <rsandifo@redhat.com>
2578
2579         * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
2580         tmp from _Unwind_Ptr to _Unwind_Word.
2581
2582 2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
2583
2584         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
2585         leb128 handling.
2586
2587 2001-08-28  Loren J. Rittle  <ljrittle@acm.org>
2588
2589         * include/Makefile.am: Use toplevel_srcdir to refer to src files
2590         outside this component.
2591         * include/Makefile.in: Regenerate.
2592
2593 2001-08-27  Benjamin Kosnik  <bkoz@redhat.com>
2594
2595         * config/locale/c_locale_gnu.cc: Move facet info to separate files...
2596         * config/locale/c_locale_generic.cc: Same.
2597         * config/locale/moneypunct_members_gnu.cc: New file.
2598         * config/locale/moneypunct_members_generic.cc: New file.
2599         * config/locale/numpunct_members_gnu.cc: New file.
2600         * config/locale/numpunct_members_generic.cc: New file.
2601         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
2602         options.
2603         * aclocal.m4: Regenerate.
2604         * configure: Regenerate.
2605         * src/Makefile.am (sources): And here.
2606         * src/Makefile.in: Regenerate.
2607
2608         Rename for consistency with rest of testsuite.
2609         * testsuite/22_locale/codecvt.cc: New file.
2610         * testsuite/22_locale/money_put.cc: New file.
2611         * testsuite/22_locale/money_put_members_char.cc: New file.
2612
2613 2001-08-27  Phil Edwards  <pme@sources.redhat.com>
2614
2615         PR libstdc++/4143
2616         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
2617         correctly for version-specific-runtime-libs.
2618         * aclocal.m4:  Regenerate.
2619         * configure:  Regenerate.
2620
2621 2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
2622
2623         * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
2624         define if not already provided by per-OS file.
2625         * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
2626         Define.
2627
2628 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
2629
2630         * docs/html/17_intro/C++STYLE:  Fix typo.
2631
2632 2001-08-24  Phil Edwards  <pme@sources.redhat.com>
2633
2634         * docs/html/23_containers/howto.html:  Describe implementation of
2635         insertion with hints.
2636
2637 2001-08-24  Kenny Simpson  <kenny.simpson@gs.com>
2638
2639         libstdc++/3740
2640         * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
2641
2642 2001-08-24  Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
2643             Phil Edwards  <pme@sources.redhat.com>
2644
2645         PR libstdc++/3349
2646         * include/bits/stl_tree.h (insert_unique):  Revert last change.
2647         Values inserted at begin() must be less, not greater, than *begin()'s.
2648         * testsuite/23_containers/map_insert.cc:  New file.
2649
2650 2001-08-23  Benjamin Kosnik  <bkoz@redhat.com>
2651
2652         * config/locale/c_locale_gnu.cc: Minor tweaks.
2653         (moneypunct<wchar_t>): Implement.
2654         * include/bits/locale_facets.h: Same.
2655         * testsuite/22_locale/moneypunct.cc: New file.
2656         * testsuite/22_locale/moneypunct_byname.cc: New file.
2657         * testsuite/22_locale/moneypunct_char_members.cc: New file.
2658
2659 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
2660
2661         * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
2662         Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
2663
2664 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
2665
2666         * testsuite_flags.in (build-includes): Re-add backward.
2667
2668 2001-08-22  Benjamin Kosnik  <bkoz@redhat.com>
2669
2670         * testsuite/22_locale/collate_wchar_t_members.cc: Guard
2671         with _GLIBCPP_USE_WCHAR_T.
2672
2673 2001-08-21  Benjamin Kosnik  <bkoz@redhat.com>
2674
2675         * testsuite/22_locale/collate_byname.cc (test01): Fix.
2676
2677 2001-08-18  Vladimir A Merzliakov  <wanderer@rsu.ru>
2678
2679         * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
2680
2681 2001-08-18  Benjamin Kosnik  <bkoz@redhat.com>
2682
2683         * testsuite/22_locale/operators.cc: Add test.
2684
2685 2001-08-17  Benjamin Kosnik  <bkoz@redhat.com>
2686
2687         Implement std::collate.
2688         * config/locale/collate_specializations_gnu.cc: Add here, implement in
2689         MT-safe way.
2690         * config/locale/collate_specializations_generic.cc: Add here, but
2691         in a less sophisticated manner.
2692         * include/bits/locale_facets.tcc (collate): Add generic definition.
2693         * include/bits/locale_facets.h (~collate): Mark virtual.
2694         (collate::_M_compare_helper): New.
2695         (collate::_M_transform_helper): New.
2696         * src/locale.cc: Remove unnecessary specializations.
2697         * src/string-inst.cc: Tweak instantiation of ctors.
2698
2699         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
2700         * aclocal.m4: Regenerate.
2701         * configure: Regenerate.
2702         * src/Makefile.am (sources): Add collate.cc.
2703         * src/Makefile.in: Regenerate.
2704
2705         * testsuite/22_locale/collate_byname.cc: New.
2706         * testsuite/22_locale/collate.cc: New file.
2707         * testsuite/22_locale/collate_char_members.cc: New file.
2708         * testsuite/22_locale/collate_wchar_t_members.cc: New file.
2709
2710 2001-08-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2711
2712         * configure.target: Set LIMITSH for powerpc-*-*.
2713         * config/cpu/powerpc/bits/limits.h: New file.
2714
2715 2001-08-16  Marc Espie <espie@openbsd.org>
2716
2717         * configure.in:  Check for <sys/types.h>.
2718         * configure:  Rebuild.
2719         * config.h.in:  Rebuild.
2720         * libmath/mathconf.h:  Include <sys/types.h> prior to
2721         <machine/endian.h> if available.
2722
2723 2001-08-15  Andreas Schwab  <schwab@suse.de>
2724
2725         * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
2726         m68k and m680[246]0.
2727         * config/cpu/m68k/bits/atomicity.h: New file.
2728
2729         * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
2730         Define appropriate long double limits for m68k extended floating
2731         point.
2732         (__glibcpp_f32_digits10): Corrected, off by one.
2733         (__glibcpp_f80_digits10): Likewise.
2734         (__glibcpp_f128_digits10): Likewise.
2735         * config/os/gnu-linux/bits/os_defines.h
2736         (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
2737
2738 2001-08-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2739
2740         * testsuite/18_support/numeric_limits.cc: Add more tests.
2741         * include/bits/std_limits.h (numeric_limits<char>::max): Fix
2742         typo.
2743
2744 2001-08-14  Ulrich Weigand  <uweigand@de.ibm.com>
2745
2746         * configure.target (cpu_include_dir): Set to `config/cpu/s390'
2747         for s390 and s390x.
2748
2749         * config/cpu/s390/bits/atomicity.h: New.
2750
2751 2001-08-14  Gabriel Dos Reis  <gdr@codesourcery.com>
2752
2753         * include/bits/std_limits.h: Fix thinko.
2754
2755 2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>
2756
2757         * include/Makefile.am: Consolidate target rules. Don't clean stamp
2758         files. Tweak target build directory stamp.
2759         * include/Makefile.in: Regenerate.
2760
2761 2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2762
2763         * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
2764         _GBLICPP_HAVE_LOGL with HAVE_LOGL
2765
2766 2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>
2767
2768         * configure.in (libtool_VERSION): Add.
2769         (VERSION): Change to
2770         (release_VERSION): This.
2771         * configure: Regenerate.
2772         * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
2773         libtool_VERSION.
2774         * src/Makefile.in: Regenerate.
2775
2776         * intl/Makefile.am: Remove.
2777         * intl/Makefile.in: Remove.
2778         * intl: Remove.
2779         * Makefile.am (SUBDIRS): Remove intl.
2780         * po/Makefile.am (DISTFILES): Add string_literals.cc
2781         (MSGFMT): Add.
2782         * po/string_literals.cc: Add.
2783         * po/POTFILES.in: Fix path.
2784         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
2785         * aclocal.m4: Regenerate.
2786         * configure.in: Remove AC_OUTPUT of intl/Makefile.
2787
2788         * include/backward/backward_warning.h: Clarify message.
2789
2790         * testsuite_flags.in (--cxxflags): Use same debug flags for
2791         library and testsuite.
2792
2793         * include/Makefile.am (c_compatibility): Remove.
2794         * include/Makefile.in: Regenerate.
2795
2796 2001-08-13  Mark Mitchell  <mark@codesourcery.com>
2797
2798         * configure.in (LIMITS_INC_SRCDIR): New variable.
2799         * configure.target (LIMITSH): New variable.
2800         * porting.texi: Discuss numeric limits.
2801         * config/cpu/generic/bits/limits.h: New file.
2802         * config/cpu/i386/bits/limits.h: New file.
2803         * include/Makefile.am: Install bits/limits.h.
2804         * include/bits/c++config: Include bits/limits.h.
2805
2806 2001-08-13  H.J. Lu  (hjl@gnu.org)
2807
2808         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
2809         New. Copy files.
2810         (libstdc++-v3-init ): Use it.
2811
2812 2001-08-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2813
2814         * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
2815         to '__adjust' to avoid shadowing in nested scope.
2816
2817 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2818
2819         * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
2820         __CHAR_UNSIGNED__.
2821
2822         * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
2823         Likewise.
2824         * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
2825         Remove.
2826
2827 2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
2828
2829         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
2830         dummy default argument to the non-limit implementation.
2831
2832         bootstrap/3963
2833         * include/Makefile.am: Use relative file path in rule to allow
2834         colon in $(objdir).
2835         * include/Makefile.in: Rebuilt.
2836
2837 2001-08-10  Gunter Winkler  <gunter.winkler@mathematik.tu-chemnitz.de>
2838
2839         * include/bits/std_complex.h (complex<long double>::operator*=,
2840         complex<long double>::operator/=): Fix thinko.
2841
2842 2001-08-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2843
2844         * include/bits/std_limits.h: New file.
2845         * include/Makefile.am (bits_headers): Add std_limits.h
2846         (all-local): std_limits.h is no longer built.
2847         (${target_builddir}/std_limits.h): Remove.
2848         * include/Makefile.in: Regenerate.
2849         * src/limits.cc: New file.
2850         * src/Makefile.am (sources): Add limits.cc in replacement of
2851         limitsMEMBERS.cc.
2852         * src/Makefile.in: Regenerate.
2853
2854 2001-08-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2855
2856         * src/gen-num-limits.cc (digits10): Fix thinko.
2857
2858 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2859
2860         * po/Makefile.am (check-no): Add.
2861         (check-yes): Same.
2862         * po/Makefile.in: Regenerate.
2863
2864 2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
2865
2866         * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2867         * config.h.in: Regenerate.
2868         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
2869         function.
2870         * aclocal.m4: Regenerate.
2871         * configure.in: Remove duplicate AM_CONFIG_HEADER.
2872         (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
2873         Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
2874         * configure: Regenerate.
2875         * testsuite_hooks.h.in: Move to...
2876         * testsuite_hooks.h: Here, include c++config.h. Use it.
2877
2878         * Makefile.am (SUBDIRS): Move testsuite to last directory.
2879         * Makefile.in: Regenerate.
2880         * po/Makefile.am (stamp-po): Add.
2881
2882 2001-08-09  David Edelsohn  <edelsohn@gnu.org>
2883
2884         * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
2885         * config/os/generic/bits/os_defines.h: Likewise.
2886         * config/os/gnu-linux/bits/os_defines.h: Likewise.
2887         * config/os/hpux/bits/os_defines.h: Likewise.
2888         * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
2889         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2890
2891 2001-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2892
2893         * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
2894         -version-info, use substituted VERSION info.
2895         * src/Makefile.in: Regenerate.
2896
2897 2001-08-07  Benjamin Kosnik  <bkoz@redhat.com>
2898
2899         Implement std::messages.
2900         Make config a fully-nested directory.
2901         * config/locale: New directory.
2902         * config/c_locale_generic.cc: Move into locale subdirectory.
2903         * config/c_locale_generic.h: Same.
2904         * config/c_locale_gnu.cc: Same.
2905         * config/c_locale_gnu.h: Same.
2906         * config/c_locale_ieee_1003.1-200x.cc: Same.
2907         * config/c_locale_ieee_1003.1-200x_.h: Same.
2908         * config/codecvt_specializations_generic.h: Same.
2909         * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
2910         * config/messages_members_gnu.h: Same.
2911         * config/messaages_members_gnu.cc: Same.
2912         * config/messages_members_generic.h: Same.
2913         * config/messaages_members_generic.cc: Same.
2914         * config/messages_members_ieee_1003.1-200x.h: Same.
2915         * config/messaages_members_ieee_1003.1-200x.cc: Same.
2916         * config/io: New directory.
2917         * config/basic_file_libio.h: Move into io subdirectory.
2918         * config/basic_file_libio.cc: Same.
2919         * config/c_io_libio.h: Same.
2920         * config/c_io_libio_codecvt.c: Same.
2921         * config/basic_file_stdio.h: Same.
2922         * config/basic_file_stdio.cc: Same.
2923         * config/c_io_stdio.h: Same.
2924
2925         * po: New directory.
2926         * po/POTFILES.in: New file.
2927         * po/Makefile.am: New file.
2928         * po/Makefile.in: New file.
2929         * po/libstdc++.pot: Generic translation file.
2930         * po/fr.po: Preliminary French translation.
2931         * po/de.po: Preliminary German translation.
2932         * intl: New directory.
2933         * intl/Makefile.am: New file.
2934         * intl/Makefile.in: New file.
2935         * intl/string_literals.cc: New file.
2936         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
2937         requisite setup for gettext. Re-arrange.
2938         * aclocal.m4: Regenerate.
2939         * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
2940         Output Makefile bits for po and intl.
2941         * configure: Regenerate.
2942         * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
2943         * Makefile.in: Regenerate.
2944         * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
2945         * config.h.in: Regenerate.
2946
2947         * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
2948
2949         * include/Makefile.am (install-data-local): Don't install Makefile.
2950         * include/Makefile.in: Regenerate.
2951
2952         * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
2953         Add member.
2954         * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
2955         * config/locale/c_locale_generic.cc: Same.
2956         * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
2957
2958         * include/bits/codecvt.h: Excise non-standard, non-required
2959         bits. This includes __enc_traits, and partial specializations of
2960         codecvt for __enc_traits.
2961         * src/codecvt.cc (__enc_traits::_S_max_size): Guard
2962         * config/codecvt_partials_ieee_1003.1-200x.h: New file.
2963         * config/codecvt_partials_generic.h: New file.
2964         * include/Makefile.am (allstamps): Add stamp-codecvt_model.
2965         (stamp-codecvt_model): Add.
2966         * include/Makefile.in: Regenerate.
2967         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
2968         * aclocal.m4: Regenerate.
2969         * configure: Regenerate.
2970         * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
2971         * testsuite/22_locale/codecvt_unicode_char.cc: Same.
2972         * testsuite/22_locale/ctor_copy_dtor.cc: And here.
2973
2974         * include/bits/localefwd.h (class locale::facet): Add __enc_traits
2975         as a friend for _S_*_c_locale functions.
2976         * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
2977         argument to default constructor so that CODESET information can be
2978         deduced.
2979         * include/bits/locale_facets.h (messages_byname):
2980         Re-implement. Remove specializations.
2981         * src/locale.cc (messages_byname<char>): Remove specialization.
2982         (messages_byname<wchar_t>): Same.
2983         * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
2984         * config/locale/c_locale_ieee_1003.1-200x.h: New file.
2985         * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
2986         * config/locale/messages_members_ieee_1003.1-200x.h: New file.
2987         * config/locale/messages_members_gnu.cc: New file.
2988         * config/locale/messages_members_gnu.h: New file.
2989         * config/locale/messages_members_generic.cc: New file.
2990         * config/locale/messages_members_generic.h: New file.
2991
2992         * docs/html/configopts.html: Add documentation for new locale
2993         model, ieee_1003.1. Adjust other flags for current defaults.
2994         * docs/html/22_locale/locale.html: Update.
2995         * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
2996         * docs/html/22_locale/messages.html: New.
2997
2998         * src/Makefile.am (sources): Add messages_virtuals.cc.
2999         * src/Makefile.in: Regenerate.
3000         * include/Makefile.am (allstamps): Add stamp-messages_model.
3001         (stamp-messages_model): Add.
3002         * include/Makefile.in: Regenerate.
3003         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
3004         * aclocal.m4: Regenerate.
3005         * configure: Regenerate.
3006
3007         * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
3008         * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
3009         bits for Irix.
3010         * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
3011         build directories message catalog base directory, and export.
3012         Eventually this should probably be made to deal with build and
3013         install directories. For now, punt on this as the library itself
3014         doesn't use message catalogs (yet).
3015         * testsuite/22_locale/messages.cc: New file.
3016         * testsuite/22_locale/messages_char_members.cc: New file.
3017         * testsuite/22_locale/messages_byname.cc: New file.
3018
3019 2001-08-06  Phil Edwards  <pme@sources.redhat.com>
3020
3021         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  New macro, calls...
3022         (GLIBCPP_CHECK_SETRLIMIT):  ...this new macro, which also uses...
3023         (GLIBCPP_CHECK_SETRLIMIT_ancilliary):  ...this new macro.
3024         * configure.in (AM_CONFIG_HEADER):  Also generate testsuite_hooks.h.
3025         Call GLIBCPP_CONFIGURE_TESTSUITE.
3026         * aclocal.m4:  Regenerate.
3027         * config.h.in:  Regenerate.
3028         * configure:  Regenerate.
3029
3030         * testsuite/lib/libstdc++-v3-dg.exp:  Download new header instead
3031         of old header.
3032
3033         * testsuite_flags.in:  Add build dir's testsuite to INCLUDES.
3034         * testsuite/debug_assert.h:  Removed; contents merged into...
3035         * testsuite/testsuite_hooks.h.in:  ...here.  New file.
3036         * testsuite/17_intro/header_ciso646.cc:  No longer include
3037         debug_assert.h, include testsuite_hooks.h instead.
3038         * testsuite/17_intro/header_fstream.cc:  Likewise.
3039         * testsuite/17_intro/header_iomanip.cc:  Likewise.
3040         * testsuite/17_intro/header_ios.cc:  Likewise.
3041         * testsuite/17_intro/header_iosfwd.cc:  Likewise.
3042         * testsuite/17_intro/header_iostream.cc:  Likewise.
3043         * testsuite/17_intro/header_istream.cc:  Likewise.
3044         * testsuite/17_intro/header_ostream.cc:  Likewise.
3045         * testsuite/17_intro/header_sstream.cc:  Likewise.
3046         * testsuite/17_intro/header_streambuf.cc:  Likewise.
3047         * testsuite/18_support/numeric_limits.cc:  Likewise.
3048         * testsuite/19_diagnostics/stdexceptions.cc:  Likewise.
3049         * testsuite/20_util/allocator_members.cc:  Likewise.
3050         * testsuite/20_util/auto_ptr.cc:  Likewise.
3051         * testsuite/20_util/pairs.cc:  Likewise.
3052         * testsuite/21_strings/append.cc:  Likewise.
3053         * testsuite/21_strings/capacity.cc:  Likewise.
3054         * testsuite/21_strings/char_traits_requirements.cc:  Likewise.
3055         * testsuite/21_strings/compare.cc:  Likewise.
3056         * testsuite/21_strings/ctor_copy_dtor.cc:  Likewise.  Also set up
3057         call to (disabled) __set_testsuite_memlimit() wrapper.
3058         * testsuite/21_strings/element_access.cc:  Likewise.
3059         * testsuite/21_strings/find.cc:  Likewise.
3060         * testsuite/21_strings/insert.cc:  Likewise.  Also set up call to
3061         (disabled) __set_testsuite_memlimit() wrapper.
3062         * testsuite/21_strings/inserters_extractors.cc:  Likewise.
3063         * testsuite/21_strings/invariants.cc:  Likewise.
3064         * testsuite/21_strings/nonmember.cc:  Likewise.
3065         * testsuite/21_strings/operations.cc:  Likewise.
3066         * testsuite/21_strings/replace.cc:  Likewise.
3067         * testsuite/21_strings/rfind.cc:  Likewise.
3068         * testsuite/21_strings/substr.cc:  Likewise.
3069         * testsuite/22_locale/codecvt_char_char.cc:  Likewise.
3070         * testsuite/22_locale/codecvt_unicode_char.cc:  Likewise.
3071         * testsuite/22_locale/codecvt_unicode_wchar_t.cc:  Likewise.
3072         * testsuite/22_locale/codecvt_wchar_t_char.cc:  Likewise.
3073         * testsuite/22_locale/ctor_copy_dtor.cc:  Likewise.
3074         * testsuite/22_locale/ctype_char_members.cc:  Likewise.
3075         * testsuite/22_locale/ctype_wchar_t_members.cc:  Likewise.
3076         * testsuite/22_locale/facet.cc:  Likewise.
3077         * testsuite/22_locale/global_templates.cc:  Likewise.
3078         * testsuite/22_locale/members.cc:  Likewise.
3079         * testsuite/22_locale/numpunct_byname.cc:  Likewise.
3080         * testsuite/22_locale/numpunct_char_members.cc:  Likewise.
3081         * testsuite/22_locale/operators.cc:  Likewise.
3082         * testsuite/22_locale/static_members.cc:  Likewise.
3083         * testsuite/23_containers/bitset_ctor.cc:  Likewise.
3084         * testsuite/23_containers/bitset_members.cc:  Likewise.
3085         * testsuite/23_containers/bitset_shift.cc:  Likewise.
3086         * testsuite/23_containers/vector_capacity.cc:  Likewise.
3087         * testsuite/23_containers/vector_ctor.cc:  Likewise.
3088         * testsuite/23_containers/vector_element_access.cc:  Likewise.
3089         * testsuite/23_containers/vector_modifiers.cc:  Likewise.
3090         * testsuite/24_iterators/istreambuf_iterator.cc:  Likewise.
3091         * testsuite/24_iterators/iterator.cc:  Likewise.
3092         * testsuite/24_iterators/ostreambuf_iterator.cc:  Likewise.
3093         * testsuite/25_algorithms/binary_search.cc:  Likewise.
3094         * testsuite/25_algorithms/copy.cc:  Likewise.
3095         * testsuite/25_algorithms/heap.cc:  Likewise.
3096         * testsuite/25_algorithms/lower_bound.cc:  Likewise.
3097         * testsuite/25_algorithms/min_max.cc:  Likewise.
3098         * testsuite/25_algorithms/partition.cc:  Likewise.
3099         * testsuite/25_algorithms/rotate.cc:  Likewise.
3100         * testsuite/25_algorithms/sort.cc:  Likewise.
3101         * testsuite/26_numerics/c_math.cc:  Likewise.
3102         * testsuite/26_numerics/complex_inserters_extractors.cc:  Likewise.
3103         * testsuite/26_numerics/complex_value.cc:  Likewise.
3104         * testsuite/27_io/filebuf.cc:  Likewise.
3105         * testsuite/27_io/filebuf_members.cc:  Likewise.
3106         * testsuite/27_io/filebuf_virtuals.cc:  Likewise.
3107         * testsuite/27_io/fpos.cc:  Likewise.
3108         * testsuite/27_io/fstream_members.cc:  Likewise.
3109         * testsuite/27_io/ifstream_members.cc:  Likewise.
3110         * testsuite/27_io/ios_base_callbacks.cc:  Likewise.
3111         * testsuite/27_io/ios_base_members_static.cc:  Likewise.
3112         * testsuite/27_io/ios_base_storage.cc:  Likewise.
3113         * testsuite/27_io/ios_ctor.cc:  Likewise.
3114         * testsuite/27_io/ios_init.cc:  Likewise.
3115         * testsuite/27_io/ios_manip_basefield.cc:  Likewise.
3116         * testsuite/27_io/ios_manip_fmtflags.cc:  Likewise.
3117         * testsuite/27_io/ios_members.cc:  Likewise.
3118         * testsuite/27_io/istream_extractor_arith.cc:  Likewise.
3119         * testsuite/27_io/istream_extractor_char.cc:  Likewise.
3120         * testsuite/27_io/istream_extractor_other.cc:  Likewise.
3121         * testsuite/27_io/istream_manip.cc:  Likewise.
3122         * testsuite/27_io/istream_seeks.cc:  Likewise.
3123         * testsuite/27_io/istream_sentry.cc:  Likewise.
3124         * testsuite/27_io/istream_unformatted.cc:  Likewise.
3125         * testsuite/27_io/istringstream_members.cc:  Likewise.
3126         * testsuite/27_io/narrow_stream_objects.cc:  Likewise.
3127         * testsuite/27_io/ofstream_members.cc:  Likewise.
3128         * testsuite/27_io/ostream_inserter_arith.cc:  Likewise.
3129         * testsuite/27_io/ostream_inserter_char.cc:  Likewise.
3130         * testsuite/27_io/ostream_inserter_other.cc:  Likewise.
3131         * testsuite/27_io/ostream_manip.cc:  Likewise.
3132         * testsuite/27_io/ostream_seeks.cc:  Likewise.
3133         * testsuite/27_io/ostream_unformatted.cc:  Likewise.
3134         * testsuite/27_io/ostringstream_members.cc:  Likewise.
3135         * testsuite/27_io/streambuf.cc:  Likewise.
3136         * testsuite/27_io/stringbuf.cc:  Likewise.
3137         * testsuite/27_io/stringbuf_virtuals.cc:  Likewise.
3138         * testsuite/27_io/stringstream.cc:  Likewise.
3139         * testsuite/27_io/stringstream_members.cc:  Likewise.
3140         * testsuite/27_io/wide_stream_objects.cc:  Likewise.
3141
3142 2001-07-31  Loren J. Rittle  <ljrittle@acm.org>
3143
3144         * src/gen-num-limits.cc:  Use __LONG_LONG_MAX__.
3145
3146 2001-07-30  Benjamin Kosnik  <bkoz@redhat.com>
3147
3148         * configure.target: Remove mips from cpu table.
3149         * config/cpu/mips/bits/atomicity.h: Remove generic
3150         versions. Comment sgidefs include.
3151
3152 2001-07-25  H.J. Lu <hjl@gnu.org>
3153
3154         * configure.target (cpu_include_dir): Set to `config/cpu/mips'
3155         for mips.
3156
3157         * config/cpu/mips/bits/atomicity.h: New.
3158
3159 2001-07-25  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3160
3161         * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
3162         hypotl, atan2f, atan2l.  Remove from REPLACE_MATHFUNCS list.
3163         * aclocal.m4: Regenerate.
3164         * config.h.in: Likewise.
3165         * configure: Likewise.
3166         * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
3167         (EXTRA_DIST): Remove hypot.c hypotf.c.
3168         * libmath/Makefile.am: Regenerate.
3169         * libmath/hypotf.c: Remove.
3170         * libmath/hypot.c: Likewise.
3171         * libmath/hypotl.c: Likewise.
3172         * libmath/stubs.c: The macros seen here are HAVE_xxx, not
3173         _GLIBCPP_HAVE_xxx.  Add long double versions.
3174
3175 2001-07-23  David Edelsohn  <edelsohn@gnu.org>
3176
3177         * include/bits/limits_generic.h (int): Set digits and digits10
3178         appropriately for word size.
3179         (unsigned int,long,unsigned long): Likewise.
3180
3181 2001-07-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3182
3183         * include/bits/stl_algo.h : Fix typos.
3184         * testsuite/25_algorithms/unique.cc: New file.
3185
3186 2001-07-19  Phil Edwards  <pme@sources.redhat.com>
3187             Mark Mitchell <mark@codesourcery.com>
3188
3189         Merge from cp-parser-branch.
3190         * include/bits/basic_string.h:  Qualify symbols with 'template'.
3191         * include/bits/basic_string.tcc:  Likewise.
3192         * include/bits/fstream.tcc:  Likewise.
3193         * include/bits/istream.tcc:  Likewise.
3194         * include/bits/sstream.tcc:  Likewise.
3195         * include/bits/std_istream.h:  Likewise.
3196         * include/bits/stl_iterator.h:  Likewise.
3197         * include/bits/streambuf.tcc:  Likewise.
3198         * src/gen-num-limits.cc:  Add 'template<>' to specializations.
3199         * src/locale.cc:  Likewise.
3200
3201 2001-07-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3202             Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3203
3204         * src/gen-num-limits.cc (set_signals_handler): New function.
3205         Factor out signals setting.  Set signal handler for SIGILL.
3206
3207 2001-07-18  Phil Edwards  <pme@sources.redhat.com>
3208
3209         * docs/html/27_io/howto.html:  Fix typo.
3210         * docs/html/faq/index.html:  Minor updates for 3.0 all around.
3211         * docs/html/faq/index.txt:  Regenerated.
3212
3213 2001-07-18  Stephen M. Webb  <stephen@bregmasoft..com>
3214             Roman Sulzhyk  <roman_sulzhyk@yahoo.com>
3215
3216         libstdc++/3599
3217         * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
3218         * testsuite/27_io/streambuf.cc (test07): Added new regression test.
3219
3220 2001-07-17  Stephen M. Webb   <stephen@bregmasoft.com>r
3221
3222         All occurrences of the __value_type() and __distance_type()
3223         functions, which were required to support the HP STL, have been
3224         removed along with all the auxiliary forwarding functions that
3225         were required to support their use.
3226
3227         The __iterator_category() function was pretty much left alone
3228         because there was no benefit to removing it and its use made code
3229         just a little more readable.
3230
3231         Incidences of distance() with nonstandard argument list were
3232         replaced by calls to the standard function (only in the files
3233         affected by the removal of the other HP functions).
3234
3235         The signature of the rotate() algorithm was changed to match the
3236         standard.
3237
3238         Headers were reformatted under C++STYLE guidelines (indentation,
3239         linebreaks, typename keyword).
3240
3241         * include/bits/stl_algo.h: replaced __value_type() and
3242         __distance_type() with iterator_traits, eliminated auxiliary
3243         support functions required to support said function usage.
3244         Changed nonstandard distance() call to standard call.
3245
3246         * include/bits/stl_algobase.h: Same.
3247         * include/bits/stl_heap.h: Same.
3248         * include/bits/stl_numeric.h: Same.
3249         * include/bits/stl_uninitialized.h: Same.
3250         * include/bits/stl_iterator_base_types.h (__value_type()):
3251         Removed.
3252         (__distance_type()): Removed.
3253         (value_type()): Gone.
3254         (distance_type()): Done in.
3255         (iterator_category()): Hasta la vista, baby.
3256
3257         * include/bits/stl_iterator_base_funcs.h (iterator_category()):
3258         Replaced with __iterator_category().
3259         * include/backward/iterator.h: moved definition of value_type(),
3260         distance_type(), and iterator_category() out of std:: and into
3261         here.
3262         * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
3263         * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
3264         * testsuite/25_algorithms/rotate.cc: New testcase.
3265         * testsuite/25_algorithms/copy.cc: New testcase.
3266         * testsuite/25_algorithms/sort.cc: Same.
3267         * testsuite/25_algorithms/heap.cc: Same.
3268         * testsuite/25_algorithms/partition.cc: Same.
3269         * testsuite/25_algorithms/binary_search.cc: Same.
3270         * testsuite/26_numerics/sum_diff.cc: Ditto.
3271
3272 001-07-17  Benjamin Kosnik  <bkoz@redhat.com>
3273
3274         * testsuite/README: Add notes on naming test cases.
3275         * testsuite/22_locale/members.cc: Mark as xfail.
3276         * testsuite/22_locale/numpunct_char_members.cc: Same.
3277
3278 2001-07-16  Stephen M. Webb  <stephen@bregmasoft.com>
3279
3280         * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
3281         setting C_INCLUDE_DIR.
3282         * configure.in:  Revert yesterday's LN_S change.
3283         * aclocal.m4:  Regenerate.
3284         * configure:  Regenerate.
3285
3286 2001-07-15  Phil Edwards  <pme@sources.redhat.com>
3287
3288         * configure.in:  Temporarily force LN_S to copy instead of symlink.
3289         * configure:  Regenerate.
3290
3291 2001-07-13  Phil Edwards  <pme@sources.redhat.com>
3292
3293         * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
3294         Initialize _M_string with pointer-and-size constructor, not just
3295         pointer.  Fix some comments.
3296         * testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
3297         * testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
3298         (test03):  Add embedded-NUL tests.
3299
3300         * mkcheck.in:  When printing totals, match the order of the tests.
3301         * include/bits/stringfwd.h:  Use same declaration keywords.
3302         * include/bits/std_iosfwd.h:  Cosmetic spacing.
3303
3304 2001-07-13  Stephen M. Webb  <stephen@bregmasoft.com>
3305             Loren J. Rittle  <ljrittle@acm.org>
3306             Phil Edwards  <pme@sources.redhat.com>
3307
3308         * include/Makefile.am:  New file encapsulating header generation rules.
3309         * Makefile.am (SUBDIRS):  Prepend 'include' directory.
3310         * acinclude.m4:  Moved/removed rules for building various headers.
3311         * configure.in (AC_OUTPUT):  Add include/Makefile.
3312         * mkc++config:  Removed.
3313
3314         * testsuite_flags.in:  Changed build-includes to match new scheme.
3315         * mknumeric_limits:  Likewise.
3316         * libio/Makefile.am:  Changed INCLUDES to maatch new header scheme.
3317         * libmath/Makefile.am:  Likewise.
3318         * libsupc++/Makefile.am:  Likewise.
3319         * src/Makefile.am:  Likewise; removed rules to build headers.
3320         * libmath/mathconf.h:  Changed #include'd header names to match.
3321         * libmath/stubs.c:  Likewise.
3322         * src/gen-num-limits.cc:  Likewise.
3323
3324         * configure:  Regenerated.
3325         * config.h.in:  Regenerated.
3326         * aclocal.m4:  Regenerated.
3327         * Makefile.in:  Regenerated.
3328         * include/Makefile.in:  Regenerated.
3329         * libio/Makefile.in:  Regenerated.
3330         * libmath/Makefile.in:  Regenerated.
3331         * libsupc++/Makefile.in:  Regenerated.
3332         * src/Makefile.in:  Regenerated.
3333         * testsuite/Makefile.in:  Regenerated.
3334
3335 2001-07-11   Felix Natter  <fnatter@gmx.net>
3336
3337         * docs/html/17_intro/porting-howto.xml:  Initial checkin of
3338         master copy.
3339         * docs/html/17_intro/porting-howto.html:  check in v0.9.3
3340
3341 2001-07-11  Phil Edwards  <pme@sources.redhat.com>
3342
3343         * docs/doxygen/run_doxygen:  Don't keep output from previous run.
3344         * docs/doxygen/user.cfg.in:  Tweaks.
3345         * include/bits/c++config:  Documentation comments for Doxygen.
3346         * include/bits/char_traits.h:  Likewise.
3347         * include/bits/limits_generic.h:  Likewise.
3348         * include/bits/std_stdexcept.h:  Likewise.
3349         * include/bits/stl_pair.h:  Likewise.
3350         * libsupc++/exception:  Likewise.
3351         * libsupc++/new:  Likewise.
3352         * libsupc++/typeinfo:  Likewise.
3353         * libmath/Makefile.am:  Update and correct copyright.
3354
3355 2001-07-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3356
3357         * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
3358         * aclocal.m4: Regenerate.
3359         * configure: Same.
3360
3361 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3362
3363         * docs/html/configopts.html:  Fix thinko.
3364         * docs/html/27_io/howto.html:  Fix thinko and HTML markup.
3365         * include/bits/stl_iterator.h:  Fix typo.
3366
3367 2001-07-09  Phil Edwards  <pme@sources.redhat.com>
3368
3369         * docs/html/explanations.html:  New file.
3370         * docs/html/configopts.html:  Link to it to provide more notes
3371         on cstdio.  Minor markup and spacing fixes.
3372         * docs/html/27_io/howto.html:  Talk about sync_with_stdio.
3373
3374 2001-07-09  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
3375
3376         * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
3377         for _Expr template template argument.
3378         (_Expr::operator-): Likewise.
3379         (_Expr::operator~): Likewise.
3380         (_Expr::operator!): Likewise.
3381         (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
3382
3383 2001-07-06  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3384
3385         * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
3386         * libmath/Makefile.in: Regenerate.
3387         * libmath/expf.c: Remove.
3388         * libmath/atan2f.c: Likewise.
3389
3390 2001-07-06  Daniel Jacobowitz  <drow@mvista.com>
3391
3392         * configure.in: Remove NATIVE, NULL_TARGET.
3393         Set CANADIAN only for Canadian crosses.  Set xcompiling
3394         for both Canadian crosses and host-x-host crosses.
3395         * configure: Regenerated.
3396
3397 2001-07-06  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3398
3399         * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
3400
3401 2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
3402
3403         * testsuite_flags.in (--build-includes): backward, not backwards.
3404
3405 2001-07-04  Jeffrey Oldham  <oldham@codesourcery.com>
3406
3407         * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
3408         Replace destroy by _Destroy.
3409         (_Rope_RopeRep::_S_free_string): Likewise.
3410         (rope::c_str()): Likewise.
3411         * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
3412         (_Slist_base::_M_erase_after): Likewise.
3413         (slist::_M_create_node): Replace construct by _Construct.
3414         (slist::pop_front): Replace destroy by _Destroy.
3415         * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
3416         construct by _Construct.
3417         (hashtable::_M_delete_node): Replace destroy by _Destroy.
3418         * include/ext/stl_rope.h (rope::rope): Replace construct by
3419         _Construct.
3420         (rope::copy): Replace destroy by _Destroy.
3421
3422 2001-07-03  Benjamin Kosnik  <bkoz@redhat.com>
3423
3424         * include/bits/localefwd.h: Format.
3425         * include/bits/locale_facts.tcc (locale::combine): Adjust.
3426         * src/locale.cc (locale::locale::(_Impl)): Don't call
3427         _M_add_reference.
3428         (locale::facet::_M_remove_reference): Simplify.
3429         * src/globals.cc (locale_impl_c): New. Format.
3430         (locale_c): New.
3431         * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
3432
3433 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3434
3435         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
3436         expansion (thanks to Alexandre Oliva).
3437         * aclocal.m4: Regenerate.
3438         * configure: Regenerate.
3439
3440 2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>
3441
3442         * src/locale.cc (locale::locale(const char*)): Make sure global
3443         locales are initialized.
3444         * include/bits/locale_facets.tcc (locale::combine): Refcout should
3445         be zero, not one as it's return-by-value.
3446         * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
3447         named locales here.
3448         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
3449         for it here.
3450         (test02): Add test.
3451         * libsupc++/eh_alloc.cc: Use climits, not limits.h.
3452
3453 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3454
3455         libstdc++/3284
3456         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
3457         * aclocal.m4: Regenerate.
3458         * configure: Regenerate.
3459
3460 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3461
3462         libstdc++/3243
3463         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
3464         staged/installed area to support -I-.  Document.
3465         * aclocal.m4: Regenerate.
3466         * configure: Regenerate.
3467
3468 2001-07-02  Loren J. Rittle  <ljrittle@acm.org>
3469
3470         libstdc++/2211
3471         * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
3472         __out_bufsize.  Add __in_bufsize, document it and use it.
3473
3474 2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>
3475
3476         * include/bits/stl_construct.h (construct): Remove.
3477         (destroy): Remove.
3478         (__destroy): Replaced by use of iterator_traits.
3479         * include/bits/stl_deque.h: replaced HP iterator functions with
3480         iterator_traits.
3481         (construct): changed to _Construct.
3482         (destroy): changed to _Destroy.
3483         * include/bits/stl_tempbuf.h: Same.
3484         * include/bits/stl_tree.h: Same.
3485         * include/bits/stl_vector.h: Same.
3486         * include/backward/iterator.h (construct): moved definition to here.
3487         (destroy): Same.
3488
3489 2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>
3490
3491         * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
3492         before replacing facet.
3493         * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
3494         Correct decrement.
3495         * src/localename.cc (locale::_Impl): Correct ctor initialization
3496         lists. Initialize ref count with one. Simplify.
3497         * src/locale.cc: Add comment.
3498         * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
3499         * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
3500         * testsuite/22_locale/members.cc (test02): Fix.
3501
3502 2001-06-27  Phil Edwards  <pme@sources.redhat.com>
3503
3504         * include/backward/algo.h:  Add "GPL plus runtime exception" comment
3505         block, this time for real.
3506         * include/backward/algobase.h:  Likewise.
3507         * include/backward/alloc.h:  Likewise.
3508         * include/backward/bvector.h:  Likewise.
3509         * include/backward/defalloc.h:  Likewise.
3510         * include/backward/deque.h:  Likewise.
3511         * include/backward/function.h:  Likewise.
3512         * include/backward/hash_map.h:  Likewise.
3513         * include/backward/hash_set.h:  Likewise.
3514         * include/backward/hashtable.h:  Likewise.
3515         * include/backward/heap.h:  Likewise.
3516         * include/backward/iterator.h:  Likewise.
3517         * include/backward/list.h:  Likewise.
3518         * include/backward/map.h:  Likewise.
3519         * include/backward/multimap.h:  Likewise.
3520         * include/backward/multiset.h:  Likewise.
3521         * include/backward/pair.h:  Likewise.
3522         * include/backward/rope.h:  Likewise.
3523         * include/backward/set.h:  Likewise.
3524         * include/backward/slist.h:  Likewise.
3525         * include/backward/stack.h:  Likewise.
3526         * include/backward/strstream:  Likewise.
3527         * include/backward/tempbuf.h:  Likewise.
3528         * include/backward/tree.h:  Likewise.
3529         * include/backward/vector.h:  Likewise.
3530         * include/bits/pthread_allocimpl.h:  Likewise.
3531         * include/bits/std_algorithm.h:  Likewise.
3532         * include/bits/std_bitset.h:  Likewise.
3533         * include/bits/std_deque.h:  Likewise.
3534         * include/bits/std_functional.h:  Likewise.
3535         * include/bits/std_iterator.h:  Likewise.
3536         * include/bits/std_list.h:  Likewise.
3537         * include/bits/std_map.h:  Likewise.
3538         * include/bits/std_memory.h:  Likewise.
3539         * include/bits/std_numeric.h:  Likewise.
3540         * include/bits/std_queue.h:  Likewise.
3541         * include/bits/std_set.h:  Likewise.
3542         * include/bits/std_stack.h:  Likewise.
3543         * include/bits/std_utility.h:  Likewise.
3544         * include/bits/std_vector.h:  Likewise.
3545         * include/bits/stl_algo.h:  Likewise.
3546         * include/bits/stl_algobase.h:  Likewise.
3547         * include/bits/stl_alloc.h:  Likewise.
3548         * include/bits/stl_bvector.h:  Likewise.
3549         * include/bits/stl_construct.h:  Likewise.
3550         * include/bits/stl_deque.h:  Likewise.
3551         * include/bits/stl_function.h:  Likewise.
3552         * include/bits/stl_heap.h:  Likewise.
3553         * include/bits/stl_iterator.h:  Likewise.
3554         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3555         * include/bits/stl_iterator_base_types.h:  Likewise.
3556         * include/bits/stl_list.h:  Likewise.
3557         * include/bits/stl_map.h:  Likewise.
3558         * include/bits/stl_multimap.h:  Likewise.
3559         * include/bits/stl_multiset.h:  Likewise.
3560         * include/bits/stl_numeric.h:  Likewise.
3561         * include/bits/stl_pair.h:  Likewise.
3562         * include/bits/stl_pthread_alloc.h:  Likewise.
3563         * include/bits/stl_queue.h:  Likewise.
3564         * include/bits/stl_raw_storage_iter.h:  Likewise.
3565         * include/bits/stl_relops.h:  Likewise.
3566         * include/bits/stl_set.h:  Likewise.
3567         * include/bits/stl_stack.h:  Likewise.
3568         * include/bits/stl_tempbuf.h:  Likewise.
3569         * include/bits/stl_threads.h:  Likewise.
3570         * include/bits/stl_tree.h:  Likewise.
3571         * include/bits/stl_uninitialized.h:  Likewise.
3572         * include/bits/stl_vector.h:  Likewise.
3573         * include/bits/type_traits.h:  Likewise.
3574         * include/ext/hash_map:  Likewise.
3575         * include/ext/hash_set:  Likewise.
3576         * include/ext/rope:  Likewise.
3577         * include/ext/ropeimpl.h:  Likewise.
3578         * include/ext/slist:  Likewise.
3579         * include/ext/stl_hash_fun.h:  Likewise.
3580         * include/ext/stl_hashtable.h:  Likewise.
3581         * include/ext/stl_rope.h:  Likewise.
3582         * src/bitset.cc:  Likewise.
3583         * src/strstream.cc:  Likewise.
3584
3585 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3586                              <vakatov@ncbi.nlm.nih.gov>
3587
3588         libstdc++/3272
3589         * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
3590         * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
3591         * testsuite/27_io/istream_extractor_other.cc: Fix.
3592
3593 2001-06-26  Zoltan Hidvegi  <hzoli@austin.ibm.com>
3594
3595         * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
3596         * aclocal.m4: Regenerate.
3597         * configure: Regenerate.
3598
3599 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3600
3601         * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
3602         (ostream_iterator): Same.
3603         * include/bits/stl_iterator.h (front_insert_iterator::operator=):
3604         Change argument to const_reference.
3605         (back_insert_iterator): Same.
3606
3607 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3608
3609         * include/bits/sbuf_iter.h: Change to..
3610         * include/bits/streambuf_iterator.h: This.
3611         * include/bits/stl_iterator.h: Take out of here...
3612         * include/bits/stream_iterator.h: Add.
3613         * src/Makefile.am (base_headers): Add streambuf_iterator,
3614         stream_iterator.h
3615         * src/Makefile.in: Regenerate.
3616         * include/bits/std_string.h: Adjust includes.
3617         * include/bits/basic_ios.h: Same.
3618         * include/bits/locale_facets.tcc: Same.
3619         * include/bits/std_iosfwd.h: Same.
3620
3621         * include/bits/std_iterator.h: Add istream, ostream includes.
3622         * include/bits/stl_iterator.h: Tweak.
3623         * testsuite/24_iterators/ostream_iterator.cc: Add test.
3624         * testsuite/24_iterators/istream_iterator.cc: Same.
3625         * testsuite/23_containers/multiset.cc: Add iterator include.
3626
3627 2001-06-26  Phil Edwards  <pme@sources.redhat.com>
3628
3629         * acinclude.m4:  Clean extraneous tabs, rewrap 'test' lines.
3630         * aclocal.m4:  Regenerate.
3631         * configure:  Regenerate.
3632
3633 2001-06-26  Felix Natter  <f.natter@ndh.net>
3634
3635         * docs/html/17_intro/porting-howto.html:  Fixed some errors.
3636
3637 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3638
3639         * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
3640         return values.
3641         (istream_iterator::operator*): Same.
3642
3643 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3644             Alexandre Petit-Bianco  <apbianco@redhat.com>
3645
3646         * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
3647         is on 41st, not 14th.
3648
3649 2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>
3650
3651         * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
3652
3653         * include/bits/stl_iterator.h (istream_iterator): Inherit from
3654         iterator.
3655         (ostream_iterator): Same.
3656         * testsuite/24_iterators/istream_iterator.cc: New file.
3657         * testsuite/24_iterators/ostream_iterator.cc: New file.
3658
3659         * include/bits/sbuf_iter.h: Remove self typedef.
3660         * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
3661         * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
3662
3663         * include/bits/stl_iterator.h (reverse_iterator): Remove
3664         extraneous typedefs. Add typename.
3665         (__normal_iterator): Remove typedefs referring to self. Add typename.
3666         (reverse_bidiretional_iterator): Remove, not longer required.
3667
3668 2001-06-26  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3669
3670         * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
3671         dependent names with `typename'.  Bring in various required
3672         iterator_traits members.  Can't imagine why that used to work.
3673
3674 2001-06-25  Phil Edwards  <pme@sources.redhat.com>
3675             Kurt Garloff <garloff@suse.de>
3676
3677         PR libstdc++/3377
3678         * src/cmath.cc:  New [version of an old] file; instantiate
3679         __cmath_power to start with.
3680         * src/Makefile.am (sources):  Add cmath.cc (and alphabetize).
3681         * Makefile.in:  Regenerate.
3682         * libio/Makefile.in:  Regenerate.
3683         * libmath/Makefile.in:  Regenerate.
3684         * libsupc++/Makefile.in:  Regenerate.
3685         * src/Makefile.in:  Regenerate.
3686         * testsuite/Makefile.in:  Regenerate.
3687
3688 2001-06-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3689
3690         * libmath/stubs.c: Fix thinko.
3691
3692 2001-06-24  David Edelsohn <dje@watson.ibm.com>
3693
3694         * libmath/stubs.c (sqrtf): Define.
3695         (tanf): Correct typo.
3696
3697 2001-06-22  Benjamin Kosnik  <bkoz@redhat.com>
3698
3699         * include/bits/stl_iterator.h (reverse_iterator): Inherit from
3700         iterator.
3701         (back_insert_iterator): Same.
3702         (front_insert_iterator): Same.
3703         (insert_iterator): Same.
3704
3705         * testsuite/20_util/raw_storage_iterator.cc: Modify.
3706         * testsuite/24_iterators/reverse_iterator.cc: New file.
3707         * testsuite/24_iterators/back_insert_iterator.cc: New file.
3708         * testsuite/24_iterators/front_insert_iterator.cc: New file.
3709         * testsuite/24_iterators/insert_iterator.cc: New file.
3710
3711 2001-06-22  Phil Edwards  <pme@sources.redhat.com>
3712
3713         * include/*:  Revert comment/license change from yesterday for all
3714         except libsupc++/unwind-cxx.h.
3715         * src/bitset.cc:  Likewise.
3716         * src/strstream.cc:  Likewise.
3717
3718 2001-06-22  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3719
3720         * libmath/stubs.c: New file.
3721         (tanhf): Fix typo.
3722         (powf): Likewise.
3723
3724         * libmath/Makefile.am (libmath_la_SOURCES): Add.
3725         * libmath/Makefile.in.  Regenerate.
3726
3727 2001-06-21  Phil Edwards  <pme@sources.redhat.com>
3728
3729         * include/backward/algo.h:  Add "GPL plus runtime exception" comment.
3730         * include/backward/algobase.h:  Likewise.
3731         * include/backward/alloc.h:  Likewise.
3732         * include/backward/bvector.h:  Likewise.
3733         * include/backward/defalloc.h:  Likewise.
3734         * include/backward/deque.h:  Likewise.
3735         * include/backward/function.h:  Likewise.
3736         * include/backward/hash_map.h:  Likewise.
3737         * include/backward/hash_set.h:  Likewise.
3738         * include/backward/hashtable.h:  Likewise.
3739         * include/backward/heap.h:  Likewise.
3740         * include/backward/iterator.h:  Likewise.
3741         * include/backward/list.h:  Likewise.
3742         * include/backward/map.h:  Likewise.
3743         * include/backward/multimap.h:  Likewise.
3744         * include/backward/multiset.h:  Likewise.
3745         * include/backward/pair.h:  Likewise.
3746         * include/backward/rope.h:  Likewise.
3747         * include/backward/set.h:  Likewise.
3748         * include/backward/slist.h:  Likewise.
3749         * include/backward/stack.h:  Likewise.
3750         * include/backward/strstream:  Likewise.
3751         * include/backward/tempbuf.h:  Likewise.
3752         * include/backward/tree.h:  Likewise.
3753         * include/backward/vector.h:  Likewise.
3754         * include/bits/pthread_allocimpl.h:  Likewise.
3755         * include/bits/std_algorithm.h:  Likewise.
3756         * include/bits/std_bitset.h:  Likewise.
3757         * include/bits/std_deque.h:  Likewise.
3758         * include/bits/std_functional.h:  Likewise.
3759         * include/bits/std_iterator.h:  Likewise.
3760         * include/bits/std_list.h:  Likewise.
3761         * include/bits/std_map.h:  Likewise.
3762         * include/bits/std_memory.h:  Likewise.
3763         * include/bits/std_numeric.h:  Likewise.
3764         * include/bits/std_queue.h:  Likewise.
3765         * include/bits/std_set.h:  Likewise.
3766         * include/bits/std_stack.h:  Likewise.
3767         * include/bits/std_utility.h:  Likewise.
3768         * include/bits/std_vector.h:  Likewise.
3769         * include/bits/stl_algo.h:  Likewise.
3770         * include/bits/stl_algobase.h:  Likewise.
3771         * include/bits/stl_alloc.h:  Likewise.
3772         * include/bits/stl_bvector.h:  Likewise.
3773         * include/bits/stl_construct.h:  Likewise.
3774         * include/bits/stl_deque.h:  Likewise.
3775         * include/bits/stl_function.h:  Likewise.
3776         * include/bits/stl_heap.h:  Likewise.
3777         * include/bits/stl_iterator.h:  Likewise.
3778         * include/bits/stl_iterator_base_funcs.h:  Likewise.
3779         * include/bits/stl_iterator_base_types.h:  Likewise.
3780         * include/bits/stl_list.h:  Likewise.
3781         * include/bits/stl_map.h:  Likewise.
3782         * include/bits/stl_multimap.h:  Likewise.
3783         * include/bits/stl_multiset.h:  Likewise.
3784         * include/bits/stl_numeric.h:  Likewise.
3785         * include/bits/stl_pair.h:  Likewise.
3786         * include/bits/stl_pthread_alloc.h:  Likewise.
3787         * include/bits/stl_queue.h:  Likewise.
3788         * include/bits/stl_raw_storage_iter.h:  Likewise.
3789         * include/bits/stl_relops.h:  Likewise.
3790         * include/bits/stl_set.h:  Likewise.
3791         * include/bits/stl_stack.h:  Likewise.
3792         * include/bits/stl_tempbuf.h:  Likewise.
3793         * include/bits/stl_threads.h:  Likewise.
3794         * include/bits/stl_tree.h:  Likewise.
3795         * include/bits/stl_uninitialized.h:  Likewise.
3796         * include/bits/stl_vector.h:  Likewise.
3797         * include/bits/type_traits.h:  Likewise.
3798         * include/ext/hash_map:  Likewise.
3799         * include/ext/hash_set:  Likewise.
3800         * include/ext/rope:  Likewise.
3801         * include/ext/ropeimpl.h:  Likewise.
3802         * include/ext/slist:  Likewise.
3803         * include/ext/stl_hash_fun.h:  Likewise.
3804         * include/ext/stl_hashtable.h:  Likewise.
3805         * include/ext/stl_rope.h:  Likewise.
3806         * libsupc++/unwind-cxx.h:  Likewise.
3807         * src/bitset.cc:  Likewise.
3808         * src/strstream.cc:  Likewise.
3809
3810 2001-06-21  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3811
3812         * include/bits/indirect_array.h (indirect_array<>::operator=):
3813         Make copy and assignment operator public.  Implement.  Format.
3814
3815         * include/bits/valarray_array.h (__valarray_copy): Add overloads
3816         for copy between index arrays.  Format.
3817
3818 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
3819
3820         * mknumeric_limits: Add static definitions, format.
3821         * testsuite/18_support/numeric_limits.cc (test02): Add test.
3822
3823         * include/c_std/bits/std_cwchar.h: Include ctime.
3824         * testsuite/17_intro/header_cwchar.cc : Check.
3825
3826         * include/c_std/bits/std_cwctype.h: Inject wctype.
3827         * testsuite/17_intro/header_cwctype.cc: Update.
3828
3829 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
3830
3831         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
3832         * testsuite/20_util/raw_storage_iterator.cc: Same.
3833
3834         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
3835         operator new.
3836         (__mem_interface): New typedef for switching between malloc and new.
3837         * testsuite/20_util/allocator_members.cc: New file.
3838
3839         * testsuite/20_util/comparisons.cc: New file.
3840         * testsuite/20_util/pairs.cc: New file.
3841
3842 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
3843
3844         * docs/html/documentation.html:  Point to new doxygen'ed collection.
3845
3846 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
3847
3848         * configure.in (auxdir): Replace by ...
3849         (toprel): ... new variable.
3850         (toplevel_srcdir): Construct from $toprel.
3851         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
3852         rather than .. to locate gcc source directory.
3853         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
3854         * aclocal.m4, configure: Rebuilt.
3855
3856 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3857
3858         (Approved by Mark and Benjamin.  Applied by Loren.)
3859
3860         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
3861         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
3862         and _GLIBCPP_mutex_address.
3863         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
3864         once-only runtime initialization of _M_lock mutex when
3865         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
3866         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
3867         for __GTHREAD_MUTEX_INIT_FUNCTION case.
3868
3869 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3870
3871         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
3872
3873         * include/bits/slice_array.h (slice_array<>::operator=): Make
3874         public and implement.
3875         (slice_array<>::slice_array): Make copy-constructor public.
3876
3877         * include/bits/valarray_array.h (__valarray_copy): Add another
3878         overload to copy between strided arrays.
3879
3880 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
3881
3882         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
3883         * aclocal.m4: Regenerate.
3884         * configure: Regenerate.
3885         * include/bits/c++config (__GLIBCPP__): Update date.
3886
3887 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3888
3889         * include/bits/fpos.h (fpos::operator-): Don't return reference,
3890         return original, non-modified version.
3891         (fpos::operator+): Same.
3892         * testsuite/27_io/fpos.cc: Add test.
3893
3894 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
3895
3896         libstdc++/2071
3897         * porting.texi: Add documentation about libstdc++-v3-specific
3898         macros that are currently included in os_defines.h files.
3899
3900         * config/basic_file_stdio.h (sys_getc): New method.
3901         (sys_ungetc): New method.
3902         * include/bits/basic_file.h: (sys_getc): New method signature.
3903         (sys_ungetc): New method signature.
3904
3905         * include/bits/fstream.tcc (underflow): Add conditional code
3906         paths which avoid using short seeks on streams (especially
3907         useful when the stream might be interactive or a pipe).  At
3908         the moment, this alternate path only avoids seeking when the
3909         ``buffer size'' of underflow() is 1 since the C standard only
3910         guarantees buffer space for one ungetc (this technique could
3911         be extended since *-*-solaris* supports buffering for 4 calls
3912         to ungetc and *-*-*bsd* supports buffering limited only by
3913         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
3914         in a port's os_defines.h file for this alternate path to even
3915         be considered.  As a bonus, the idiom of using getc/ungetc
3916         requires no system calls whereas fseek maps to one or two
3917         system call(s) on many platforms.
3918
3919         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
3920         Define it.
3921         * config/os/solaris/solaris2.5/bits/os_defines.h
3922         (_GLIBCPP_AVOID_FSEEK): Likewise.
3923         * config/os/solaris/solaris2.6/bits/os_defines.h
3924         (_GLIBCPP_AVOID_FSEEK): Likewise.
3925         * config/os/solaris/solaris2.7/bits/os_defines.h
3926         (_GLIBCPP_AVOID_FSEEK): Likewise.
3927
3928 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3929
3930         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
3931         AC_TRY_COMPILE, so that the built compiler is checked, and
3932         bootstraps or cross compiles with an older compile still work.
3933         * aclocal.m4: Regenerate.
3934         * configure: Regenerate.
3935
3936 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
3937
3938         libstdc++/3142
3939         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
3940
3941         libstdc++/3141
3942         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
3943
3944         libstdc++/3140
3945         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
3946
3947         libstdc++/3139
3948         * include/bits/limits_generic.h: Fix as per DR 184.
3949
3950 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3951
3952         libstdc++/3126
3953         * include/bits/basic_string.h (string::compare): Adjust signatures
3954         as per DR 5.
3955         * include/bits/basic_string.tcc: And here.
3956
3957         libstdc++/2346
3958         * config/c_io_stdio.h: Remove whitespace.
3959         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
3960         (test02): Add regression.
3961         * testsuite/27_io/istream_seeks-3.tst: New file.
3962
3963 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
3964
3965         * README:  Update to reflect reality.
3966         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
3967         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
3968         * aclocal.m4:  Regenerate.
3969         * configure:  Regenerate (with 2.13).
3970
3971 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
3972
3973         libstdc++/3114
3974         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
3975         per DR 129.
3976         * include/bits/istream.tcc (istream::seekg): Same.
3977         * testsuite/27_io/istream_seeks.cc: Fix.
3978
3979         libstdc++/3113
3980         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
3981         (binder1st): Same.
3982         * include/bits/std_queue.h: Add c++config.h.
3983         * testsuite/20_util/binders.cc: New test.
3984
3985 2001-06-11  Matthias Klose  <doko@debian.org>
3986             Phil Edwards  <pme@sources.redhat.com>
3987
3988         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
3989         (main script):  Echo more information.
3990
3991 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
3992
3993         * include/c_std/bits/std_cwchar.h: Alphabetize.
3994         * include/bits/char_traits.h: Tweak.
3995         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
3996         everything used by std_cwchar.h.
3997         * aclocal.m4: Regenerate.
3998         * configure.in: Regenerate.
3999         * config.h.in: Regenerate.
4000
4001 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
4002
4003         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
4004         Add checking for strtof, _Exit in stdlib.h
4005         * aclocal.m4: Regenerate.
4006         * configure.in: Regenerate.
4007         * include/c_std/bits/std_cstdio.h: Alphabetize lists.
4008         (snprintf): Put C99 functions into __gnu_cxx namespace.
4009         (vfscanf): Same.
4010         (vscanf): Same.
4011         (vsnprintf): Same.
4012         (vsscanf): Same.
4013         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
4014         for C99 functions within _GLIBCPP_USE_C99 guard.
4015         (_Exit): Same.
4016         (strtof): Same.
4017         (strtold): Same.
4018         * include/bits/locale_facets.tcc: Check if C99 is enabled.
4019         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
4020         C99 guard.
4021         * include/c_std/bits/cmath.tcc: Formatting tweak.
4022         * include/c_std/bits/std_cmath.h: Same.
4023
4024 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
4025
4026         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
4027
4028 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
4029             Stephen L Moshier  <moshier@mediaone.net>
4030
4031         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
4032         nothing, as in autoconf 2.50.
4033         * configure: Rebuilt.
4034
4035 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
4036
4037         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
4038         include std_cstddef.
4039         * include/c_std/bits/std_ctime.h: Same.
4040         * include/c_std/bits/std_cstring.h: Same.
4041         * include/c_std/bits/std_cstdlib.h: Same.
4042
4043         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
4044         * include/c_std/bits/std_cctype.h: Remove isblank.
4045
4046 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
4047
4048         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
4049         fgetws.
4050         * aclocal.m4: Regenerate.
4051         * configure: Regenerate.
4052         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
4053         injection, guard fgetwc, fgetws.
4054         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
4055         * include/c_std/bits/std_clocale.h: And here.
4056         * include/c_std/bits/std_cctype.h: And here.
4057         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
4058
4059         * config/basic_file_stdio.h: Don't include unistd.h.
4060         * config/c_io_stdio.h: Don't use compatibility headers.
4061         * libsupc++/eh_terminate.cc: Qualify abort.
4062         (__terminate): And here.
4063         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
4064
4065 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
4066
4067         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
4068
4069 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
4070
4071         libstdc++/2767
4072         libstdc++/2989
4073         libstdc++/2992
4074         * include/std/*: Add copyright notice.
4075         * include/c_std/bits/*: Use using statements instead of extern "C".
4076         * include/c_std/bits/std_cmath.h: Don't overload double versions
4077         of math functions with __buitin versions, use global version to
4078         prevent ambiguities. Remove define hacks.
4079         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
4080         functions that have changed signatures and std::
4081         declarations. Remove define hacks.
4082         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
4083         __builtins in std::. Remove define hacks.
4084         * testsuite/17_intro/headers_c.cc: Add tests.
4085         * testsuite/17_intro/headers_c++.cc: Add test.
4086
4087 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
4088             John David Anglin  <dave@hiauly1.hia.nrc.ca>
4089
4090         c++/3082
4091         * libsupc++/eh_alloc.cc: Ensure that required macros are
4092         defined before including gthr.h.  Ensure that we get the
4093         version of gthr.h for which we know how to provide a
4094         configuration.
4095         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
4096         code path into line with the current EH model.  Use std, where
4097         appropriate.
4098
4099 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
4100             John David Anglin  <dave@hiauly1.hia.nrc.ca>
4101
4102         * config/threads-no.h: Remove file.
4103         * config/threads-posix.h: Remove file.
4104
4105         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
4106         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
4107         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
4108         * config.h.in: Regenerate.
4109
4110         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
4111         setup and use gthr*.h files.  In particular, make gthr.h files
4112         namespace-clean in the staging area (they don't have to be for
4113         libgcc.a).
4114         * aclocal.m4: Regenerate.
4115         * configure: Regenerate.
4116
4117         * src/Makefile.am (build_headers): Remove bits/c++threads.h
4118         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
4119         * src/Makefile.in: Regenerate.
4120
4121         * include/bits/c++config: Cleanup threading configuration macros.
4122         In particular, define __STL_GTHREADS macro which controls...
4123         * include/bits/stl_threads.h: ...a brand new gthr.h-based
4124         configuration here.
4125
4126         * config/c_io_stdio.h: Include staged gthr.h instead of local
4127         thread configuration file.  Always use __gthread_mutex_t
4128         instead of __mutext_type (or int).
4129         * include/bits/std_fstream.h: Likewise.
4130
4131         * docs/html/17_intro/howto.html: Remove placeholder comment in
4132         case this configuration patch didn't make it.  Add advice that
4133         section only applies if configured with --enable-threads.
4134         * docs/html/23_containers/howto.html: Reword to make clear
4135         that _PTHREADS is no longer required for any port to be
4136         correctly using STL with threads.  Add advice that section
4137         only applies if configured with --enable-threads.
4138
4139 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
4140
4141         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
4142
4143 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
4144
4145         libstdc++/3045
4146         * include/bits/basic_ios.tcc: Formatting tweaks.
4147         * include/bits/ios_base.h: Formatting tweaks.
4148         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
4149         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
4150         * src/globals.cc: Allocate filebufs for standard streams here.
4151         (buf_cout, buf_cin, buf_cerr): Like so.
4152         (buf_wcout, buf_wcin, buf_wcerr): And so.
4153         * testsuite/27_io/ios_init.cc: Add.
4154
4155 2001-06-04  Brendan Kehoe  <brendan@zen.org>
4156             Benjamin Kosnik  <bkoz@redhat.com>
4157
4158         libstdc++/3017
4159         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
4160         for generic ctype virtuals.
4161         * src/locale.cc: Minor tweaks, naming consistency.
4162         * testsuite/22_locale/ctype.cc: Add test.
4163
4164 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
4165             Phil Edwards  <pme@sources.redhat.com>
4166
4167         PR libstdc++/3035 and PR libstdc++/3036
4168         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
4169         to LWG DR 181 and 265.
4170
4171 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
4172
4173         PR libstdc++/3034
4174         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
4175         equal_range):  Add const overloads as per LWG DR 214.
4176         * include/bits/stl_set.h:  Likewise.
4177
4178 2001-06-04  Brendan Kehoe  <brendan@zen.org>
4179             Phil Edwards  <pme@sources.redhat.com>
4180
4181         PR libstdc++/3018
4182         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
4183         comparison; all positions must be < _Nb.
4184         * testsuite/23_containers/bitset_members.cc:  New file.
4185
4186 2001-06-04  Brendan Kehoe  <brendan@zen.org>
4187
4188         PR libstdc++/3016
4189         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
4190         ctors to match the standard.
4191
4192 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
4193
4194         * include/bits/char_traits.h (move): Reverse qualification of
4195         memmove with std::.
4196         (copy): Reverse qualification of memcpy with std::.
4197
4198 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
4199
4200         * include/bits/char_traits.h (move): Qualify memmove with std::.
4201         (copy): Qualify memcpy with std::.
4202         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
4203         strncmp with std::.
4204         (test02): Likewise.
4205         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
4206
4207 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
4208
4209         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
4210         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
4211         SUN make VPATH peculiarities.
4212         * libsupc++/Makefile.in: Regenerate.
4213
4214 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
4215
4216         * src/Makefile.am (VPATH): Delimit with ":", not space.
4217         * src/Makefile.in: Regenerate.
4218
4219         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
4220         make isn't found.
4221         * configure: Regenerate.
4222
4223 2001-05-31  scott snyder  <snyder@fnal.gov>
4224
4225         libstdc++/2976
4226         * include/bits/istream.tcc: Include std_ostream.h.
4227
4228 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
4229
4230         libstdc++/2997
4231         * src/bitset.cc: Qualify size_t with std::.
4232
4233 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
4234
4235         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
4236         (_GLIBCPP_BUGGY_COMPLEX): Remove.
4237         * config.h.in: Regenerate.
4238         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
4239         * aclocal.m4: Regenerate.
4240         * configure.in: Don't call it.
4241         * configure: Regenerate.
4242
4243         libstdc++/2970
4244         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
4245         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
4246         New test.
4247
4248         libstdc++/2985
4249         * include/bits/std_complex.h: Include sstream. Put definitions for
4250         complex inserters and extractors here, and remove them from...
4251         * src/complex_io.cc: ...here.
4252         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
4253         parameter.
4254         (basic_ios::__numget_type): Same.
4255         * include/bits/std_istream.h: Same.
4256         * include/bits/std_ostream.h: Same.
4257         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
4258         class iterator template arguments.
4259         * src/locale-inst.cc: Add explicit has_facet instantiations.
4260         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
4261         (_M_get_fnumput): Remove.
4262         (_M_get_fnumget): Remove.
4263         (basic_ios::_M_check_facet): New function.
4264         (basic_ios::_M_cache_facets): New function.
4265         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
4266         (basic_ios::imbue): Call _M_cache_facets.
4267         (basic_ios::init): Same.
4268         * include/bits/istream.tcc: Format, use _M_check_facet.
4269         * include/bits/ostream.tcc: Same.
4270         * include/bits/locale_facets.tcc (__output_float): Change
4271         signature, add _Traits.
4272         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
4273         New test.
4274
4275 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
4276
4277         * include/bits/c++config (__USE_MALLOC): Do not define it.
4278         Document why not and give pointers to more information.
4279
4280         * docs/html/23_containers/howto.html: Update documentation
4281         to reflect recent understanding of problem.
4282         * docs/html/17_intro/howto.html: Likewise.
4283
4284 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
4285
4286         * docs/doxygen/user.cfg.in:  Minor addition.
4287         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
4288         stuff first.
4289         * docs/html/install.html:  Update for 3.0.  HTML fixups.
4290         * docs/html/17_intro/howto.html:  Likewise.
4291         * docs/html/18_support/howto.html:  Likewise.
4292         * docs/html/19_diagnostics/howto.html:  Likewise.
4293         * docs/html/20_util/howto.html:  Likewise.
4294         * docs/html/23_containers/howto.html:  Likewise.
4295         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
4296         * docs/html/25_algorithms/howto.html:  Likewise.
4297         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
4298         * docs/html/27_io/howto.html:  Likewise.
4299         * docs/html/ext/howto.html:  Likewise.
4300         * docs/html/faq/index.html:  Likewise.
4301         * docs/html/faq/index.txt:  Regenerate.
4302         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
4303         Doxygen-created documentation.
4304
4305 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4306
4307         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4308         get_multilibs to find gcc.
4309
4310 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
4311
4312         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
4313         * aclocal.m4:  Regenerate.
4314         * configure:  Regenerate.
4315
4316 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4317
4318         * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
4319         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
4320
4321 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4322
4323         * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
4324         * include/c_std/bits/std_cstdlib.h: Same.
4325         * include/c_std/bits/std_cwchar.h: Same.
4326
4327 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
4328
4329         * docs/html/17_intro/howto.html: Update link.
4330         * docs/html/23_containers/howto.html: Likewise.  Add new link.
4331
4332 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
4333
4334         * include/c_std/bits/std_cmath.h (sqrt): #undef.
4335
4336 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4337
4338         * mknumeric_limits: Stop if gen-num-limits dies.
4339
4340 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
4341
4342         other/2931
4343         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
4344         * aclocal.m4: Regenerate.
4345         * configure: Same.
4346
4347 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4348             Phil Edwards  <pme@sources.redhat.com>
4349             Alexandre Oliva  <aoliva@redhat.com>
4350
4351         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4352         in an amd-safe manner. Revert glibcpp_prefixdir.
4353
4354 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
4355
4356         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
4357         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
4358         variants.
4359
4360 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
4361
4362         libstdc++/2830
4363         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
4364         * include/bits/ostream.tcc: Format to match istream.tcc.
4365         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
4366
4367 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
4368
4369         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
4370         malloc with std:: .
4371         (__cxa_free_exception):  Likewise with free.
4372
4373 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
4374
4375         * include/c_std/bin/std_cstring.h: #define away all global
4376         functions we will redeclare in namespace `std'.
4377         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
4378         std::memset, instead of memset.
4379         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
4380         not plain `strcmp'.
4381         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
4382         plain `strcpy'.
4383
4384 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
4385
4386         libstdc++/2832
4387         * include/bits/basic_ios.tcc: Small tweak.
4388         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
4389         ctors and dtors, and rdbuf settings.
4390         (ofstream): Same.
4391         (fstream): Same.
4392         * include/bits/std_sstream.h: Same, but for stringstream classes.
4393         * testsuite/27_io/ostringstream_members.cc: New.
4394         * testsuite/27_io/stringstream_members.cc: New.
4395         * testsuite/27_io/fstream_members.cc: New.
4396         * testsuite/27_io/ifstream_members.cc: Add test.
4397         * testsuite/27_io/istringstream_members.cc: Add test.
4398         * testsuite/27_io/ofstream_members.cc: Add test.
4399
4400 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4401
4402         * include/bits/c++config(__NO_MATH_INLINES): Move to...
4403         * config/os/gnu-linux/bits/os_defines.h: ...here.
4404
4405 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
4406
4407         * include/bits/c++config (__NO_MATH_INLINES): New macro.
4408         * testsuite/26_numerics/fabs_inline.cc (main): New test.
4409
4410 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
4411
4412         libstdc++/2841
4413         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
4414         ld_library_path.
4415         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
4416         (libstdc++-v3-finish): Remove.
4417         (libstdc++-v3_exit): Remove.
4418
4419 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
4420
4421         * docs/html/documentation.html:  Point to doxygen output.
4422
4423 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
4424
4425         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
4426
4427         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
4428         arguments to be non-null.
4429         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
4430         try allocations if allocated size is greater than zero.
4431         (filebuf::_M_filebuf_init): Change to
4432         (filebuf::_M_allocate_file): Which is what it does now.
4433         (filebuf::_M_allocate_bufers): Change to
4434         (filebuf::_M_allocate_internal_buffer): This, and create
4435         (filebuf::_M_allocate_pback_buffer): New.
4436         (filebuf::_M_destroy_internal_buffer): New.
4437         (filebuf::_M_buf_allocated): New data member.
4438         (filebuf::setbuf): Use new logic, allow use of external buffer.
4439         * testsuite/27_io/stringbuf_virtuals.cc: New file.
4440         * testsuite/27_io/filebuf_virtuals.cc: New file.
4441
4442 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
4443
4444         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
4445         __glibcpp_memchr.
4446         (strchr): Same, but to __glibcpp_strchr.
4447         (strpbrk): Same.
4448         (strrchr): Same.
4449         (strstr): Same.
4450         * include/c_std/bits/std_cwchar.h (wcschr): Same.
4451         (wcsbrk): Same.
4452         (wcsrchr): Same.
4453         (wcsstr): Same.
4454         (wmemchr): Same.
4455
4456 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
4457
4458         * testsuite/21_strings/c_strings.cc (main): Fix.
4459
4460 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
4461
4462         * acinclude.m4:  Fix --help spacing, correct comments.
4463         * aclocal.m4:  Regenerate.
4464         * configure:  Regenerate.
4465         * mkcheck.in:  Add usage comments.
4466         * docs/html/documentation.html:  Point to doxygen'd tarball.
4467
4468 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
4469
4470         * testsuite/README: Add notes.
4471
4472         * src/Makefile.am (libstdc++.INC): Remove.
4473         * src/Makefile.in: Regenerate.
4474
4475         Phil Edwards <pedwards@disaster.jaj.com>
4476         * mkcheck.in: Add missing '#'.
4477
4478 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4479
4480         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
4481         appropriately for remote testing and testing installed files without
4482         a build dir.
4483
4484 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
4485
4486         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
4487         amd glibcpp_prefixdir with absolute paths.
4488
4489         * include/bits/c++config (__GLIBCPP__): Bump.
4490         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
4491
4492 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
4493
4494         * include/bits/std_valarray.h (valarray<>::operator[] const):
4495         Return a const reference.
4496         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
4497
4498 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
4499
4500         * configure.target (ATOMICITYH): Actually use AIX-specific code on
4501         earlier versions of AIX 4.*.
4502
4503 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4504
4505         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
4506         output_file based on the name of the testcase.
4507
4508 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
4509
4510         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
4511         gluefile and use it if needs_status_wrapper is set.
4512
4513 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
4514
4515         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
4516         versions of AIX.
4517
4518 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
4519
4520         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
4521         on earlier versions of AIX.
4522
4523 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
4524
4525         * testsuite_flags.in (query): Add backwards, ext directories.
4526
4527 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
4528
4529         * porting.texi: Correct documentation about handling
4530         _LARRGEFILE_SOURCE and its ilk.
4531         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
4532         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
4533         __EXTENSIONS__.
4534         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
4535         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
4536
4537 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
4538
4539         * testsuite/21_strings/inserters_extractors.cc,
4540         testsuite/27_io/istream_unformatted.cc,
4541         testsuite/27_io/stringstream.cc:
4542         Replace multi-line string constants with C89-style
4543         concatenated string constants.
4544
4545 2001-05-14  Richard Henderson  <rth@redhat.com>
4546
4547         * mknumeric_limits: Build with -fno-exceptions.
4548
4549 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
4550
4551         Switch over to new harness.
4552         * testsuite_flags.in: Tweaks via Gaby.
4553         * testsuite/Makefile.am: Change tool to libstdc++-v3.
4554         (EXPECT): Quote directly.
4555         (RUNTEST): Same.
4556         * configure.in: Output testsuite_flags.
4557         * acinclude.m4: Substitute src, bld, and prefix dirs.
4558         Remove glibcpp_expect, glibcpp_runtestflags.
4559         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
4560         * mkcheck.in: Port to new interface.
4561
4562         * aclocal.m4: Regerate.
4563         * configure: Regnerate.
4564         * Makefile.in: Regnerate.
4565         * */Makefile.in: Regenerate.
4566
4567         * tests_flags.in: Remove.
4568         * testsuite/lib/libstdc++.exp: Remove.
4569         * testsuite/libstdc++.tests/tests.exp: Remove.
4570
4571 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
4572
4573         * configure.target: Remove detection of AIX pthread multilib, now
4574         obtained from `gcc -v'.
4575
4576 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
4577
4578         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
4579         size.  Add hpux case for HP size.
4580
4581 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
4582
4583         * testsuite_flags.in: New, simplified interface.
4584         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
4585         * testsuite/libstdc++-v3.dg: Add.
4586         * testsuite/libstdc++-v3.dg/dg.exp: Add.
4587
4588 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
4589
4590         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
4591         * testsuite/config/default.exp: Update bugs email address.
4592
4593 2001-05-11  Richard Henderson  <rth@redhat.com>
4594
4595         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
4596         all pointer encoding logic.
4597         (struct lsda_header_info): Add ttype_base.
4598         (get_ttype_entry): Use it instead of a context.
4599         (check_exception_spec): Likewise.
4600         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
4601         the c++ exception header for __cxa_call_unexpected.
4602         (__cxa_call_unexpected): Use it.
4603
4604 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
4605
4606         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
4607         libgloss_link_flags to find crt0.o for targets that use libgloss
4608         instead of newlib.
4609         Change LDFLAGS to LIBS.
4610         Consistently name procedures libstdc++-XXX.
4611         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
4612
4613 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4614
4615         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
4616         (strchr): Same.
4617         (strpbrk): Same.
4618         (strrchr): Same.
4619         (strstr): Same.
4620         * include/c_std/bits/std_cwchar.h (wcschr): Same.
4621         (wcsbrk): Same.
4622         (wcsrchr): Same.
4623         (wcsstr): Same.
4624         (wmemchr): Same.
4625         * testsuite/21_strings/c_strings.cc: Add tests.
4626
4627 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
4628
4629         libstdc++/2523
4630         * include/bits/std_fstream.h (basic_filebuf): Change signature.
4631         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
4632         to int_type, pass in buffer size info.
4633         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
4634         unbuffered situation.
4635         (underflow): Remove codecvt bits for the time being.
4636         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
4637         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
4638         values from iterators, clean.
4639         * src/locale.cc: Ditto.
4640         * include/bits/sbuf_iter.h: Format.
4641         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
4642         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
4643         * testsuite/27_io/filebuf.cc: Tweaks.
4644         * testsuite/27_io/filebuf_members.cc: Tweaks.
4645
4646 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
4647
4648         * config/os/solaris/solaris2.7/bits/os_defines.h
4649         (_LARGEFILE_SOURCE): Define it.
4650
4651 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
4652
4653         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
4654         -prefer-non-pic depending on whether libtool has shared libraries
4655         enabled or disabled.
4656         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
4657         $(LIBSUPCXX_PICFLAGS).
4658         * configure, */Makefile.in: Rebuilt.
4659
4660 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
4661
4662         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
4663         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
4664
4665         * include/bits/std_sstream.h (stringbuf): Leak
4666         copied string.
4667         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
4668
4669 2001-05-01  Tom Browder  <tbrowder@home.com>
4670
4671         * docs/html/ext/howto.html:  Fix typo.
4672
4673 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
4674
4675         * testsuite/libstdc++.tests/tests.exp: Add comment.
4676
4677 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
4678
4679         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
4680
4681 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
4682
4683         * porting.texi: Use the GFDL.
4684
4685 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4686
4687         libstdc++/2627
4688         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
4689         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
4690         specializations.
4691
4692 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
4693
4694         libstdc++/2964
4695         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
4696
4697 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
4698
4699         * docs/doxygen/run_doxygen:  Minor tweaks.
4700         * docs/doxygen/style.css:  New file.
4701         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
4702         latest parameters available.  Use style.css.
4703
4704 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
4705
4706         * docs/doxygen/mainpage.doxy: New.
4707         * docs/doxygen/user.cfg.in: Change default configuration. Single
4708         frame, other tweaks.
4709
4710 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
4711
4712         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
4713         Indicate obsolete nature of thelist for G++ 3.0.
4714
4715 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
4716
4717         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
4718         target_thread_file with `gcc -v'.
4719         * aclocal.m4, configure: Rebuilt.
4720
4721 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
4722
4723         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
4724         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
4725         * include/c_std/bits/std_cwchar.h (std): Same.
4726         * acconfig.h (std): Remove c99 injection into std.
4727         * config.h.in: Regenerate.
4728
4729         * testsuite/README: Fix typo.
4730
4731         * include/bits/codecvt.h: Remove warnings.
4732
4733 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4734
4735         * include/ext/slist: Include required header files.
4736
4737 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
4738
4739         * include/c_std/bits/std_cerrno.h (errno): Define macro from
4740         identifier declared with external linkage, if needed.
4741         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
4742         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
4743
4744 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
4745
4746         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
4747         re-configures find the build compiler.
4748         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
4749         libstdc++/2609.
4750         * aclocal.m4: Regenerate.
4751         * configure: Regenerate.
4752
4753 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
4754
4755         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
4756         support is enabled correctly before long long is activated.
4757         * aclocal.m4: Regenerate.
4758         * configure: Regenerate.
4759
4760         * include/backward/backward_warning.h: Format correctly.
4761
4762         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
4763         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
4764         * testsuite/26_numerics/c99_macros.cc: Remove.
4765
4766 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
4767
4768         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
4769         __iterator_category.
4770
4771 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
4772
4773         * acconfig.h (_GLIBCPP_USE_C99): Add.
4774         * config.h.in: Regenerate.
4775         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
4776         9899: 1999 support.
4777         * aclocal.m4: Regenerate.
4778         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
4779         * configure: Regenerate.
4780         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
4781         * configure: Regenerate.
4782         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
4783         into c99.
4784         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
4785         namespace.
4786         * include/c_std/bits/std_cstdlib.h: Same.
4787         * docs/html/configopts.html: Update.
4788         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
4789         math.h
4790         (test_c99_classify): Add.
4791         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
4792         (_ISOC99_SOURCE): Remove.
4793
4794         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
4795         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
4796         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
4797         * aclocal.m4: Regenerate.
4798         * configure: Regenerate.
4799
4800 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
4801
4802         * Makefile.am (doxygen):  Assume script is missing execute perms.
4803         * Makefile.in:  Regenerated.
4804         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
4805
4806 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
4807
4808         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
4809
4810 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
4811
4812         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
4813         * testsuite/23_containers/set_operators.cc: Same.
4814
4815         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
4816         default.
4817         (__GLIBCPP__): Bump from value of last release.
4818         * include/bits/concept_check.h: Default to off, edit comments.
4819         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
4820         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
4821         * src/Makefile.in: Regenerate.
4822
4823 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
4824
4825         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
4826         Properly uglify member.
4827
4828 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4829
4830         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
4831         of EqualityCo
4832         mparableConcept.
4833
4834 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
4835
4836         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
4837         * include/bits/concept_check.h:  Uglify.
4838         * include/bits/stl_algo.h:  Likewise.
4839         * include/bits/stl_algobase.h:  Likewise.
4840         * include/bits/stl_deque.h:  Likewise.
4841         * include/bits/stl_heap.h:  Likewise.
4842         * include/bits/stl_iterator_base_funcs.h:  Likewise.
4843         * include/bits/stl_list.h:  Likewise.
4844         * include/bits/stl_map.h:  Likewise.
4845         * include/bits/stl_multimap.h:  Likewise.
4846         * include/bits/stl_multiset.h:  Likewise.
4847         * include/bits/stl_numeric.h:  Likewise.
4848         * include/bits/stl_queue.h:  Likewise.
4849         * include/bits/stl_set.h:  Likewise.
4850         * include/bits/stl_stack.h:  Likewise.
4851         * include/bits/stl_vector.h:  Likewise.
4852         * include/ext/hash_map:  Likewise.
4853         * include/ext/hash_set:  Likewise.
4854         * include/ext/slist:  Likewise.
4855
4856 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
4857
4858         * testsuite/23_containers/set_operators.cc: Just try to compile.
4859         Mark as XFAIL.
4860         * testsuite/23_containers/map_operators.cc: Same.
4861
4862 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
4863
4864         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
4865         output_file.
4866         (dg-test): Revert rth's change.
4867
4868 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
4869
4870         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
4871         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
4872
4873 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
4874
4875         * testsuite/README: Add DejaGnu specific documentation.
4876
4877 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
4878
4879         * acinclude.m4: AC_CHECK_TOOL for expect.
4880         * aclocal.m4: Regenerate.
4881         * configure: Regenerate.
4882         * testsuite/Makefile.am (RUNTEST): Use substituted.
4883         (EXPECT): Same.
4884
4885         * configure.in: Remove xcompiling substitution.
4886         * tests_flags.in (CROSS_LIB_PATH): Remove.
4887         (xcompiling): Remove.
4888         (CXX): Use substituted CXX.
4889
4890 2001-04-11  Richard Henderson  <rth@redhat.com>
4891
4892         * testsuite/lib/libstdc++.exp: Specify path for output_file.
4893
4894 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
4895
4896         * include/bits/std_valarray.h(valarray<>::operator[]): Make
4897         inline.
4898
4899 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4900
4901         * testsuite/25_algorithms/equal.cc: New test.
4902
4903 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
4904
4905         * stl_algobase.h (std::equal): avoid use of possibly-undefined
4906         operator != (one line patch).
4907
4908 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
4909
4910         * include/backward/backward_warning.h: Re-enable.
4911
4912 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4913             Alexandre Oliva  <aoliva@redhat.com>
4914
4915         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
4916
4917 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
4918
4919         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
4920         * testsuite/26_numerics/c99_macros.cc: Add test.
4921
4922 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
4923
4924         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
4925         * docs/html/faq/index.txt:  Regenerated.
4926
4927 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
4928
4929         * include/backward/backward_warning.h: Temporarily disable until
4930         g++ testsuite changes go in.
4931         * tests_flags.in (CROSS_LIB_PATH): Add.
4932
4933 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4934
4935         Warn when using backward headers.
4936         * include/backward/algo.h: Include warning file.
4937         * include/backward/vector.h: Same.
4938         * include/backward/tree.h: Same.
4939         * include/backward/tempbuf.h: Same.
4940         * include/backward/strstream: Same.
4941         * include/backward/streambuf.h: Same.
4942         * include/backward/stream.h: Same.
4943         * include/backward/stack.h: Same.
4944         * include/backward/slist.h: Same.
4945         * include/backward/set.h: Same.
4946         * include/backward/rope.h:
4947         * include/backward/queue.h: Same.
4948         * include/backward/pair.h: Same.
4949         * include/backward/ostream.h: Same.
4950         * include/backward/new.h: Same.
4951         * include/backward/multiset.h: Same.
4952         * include/backward/multimap.h: Same.
4953         * include/backward/map.h: Same.
4954         * include/backward/list.h: Same.
4955         * include/backward/iterator.h: Same.
4956         * include/backward/istream.h: Same.
4957         * include/backward/iostream.h:
4958         * include/backward/iomanip.h:
4959         * include/backward/heap.h: Same.
4960         * include/backward/hashtable.h:
4961         * include/backward/hash_set.h:
4962         * include/backward/hash_map.h:
4963         * include/backward/function.h:
4964         * include/backward/fstream.h:
4965         * include/backward/deque.h:
4966         * include/backward/defalloc.h: Same.
4967         * include/backward/complex.h: Same.
4968         * include/backward/bvector.h:
4969         * include/backward/alloc.h:
4970         * include/backward/algobase.h: Same.
4971
4972         * include/backward/backward_warning.h: New file.
4973         * src/Makefile.am (backward_headers): Add backward_warning.h
4974         * src/Makefile.in: Regenerate.
4975
4976 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4977
4978         * src/Makefile.am (myinstalldirs): Make sure backward directory is
4979         created.
4980         (myinstallheaders): Install backward headers in backward directory.
4981         * src/Makefile.in: Regenerate.
4982
4983 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
4984
4985         Prepare for libstdc++-2.92.
4986         * docs/html/17_intro/RELEASE-NOTES (New): Update.
4987         * docs/html/configopts.html: Fix formatting.
4988         * README (file): Updates.
4989         * include/bits/c++config (__GLIBCPP__): Update.
4990
4991 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
4992
4993         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
4994
4995 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
4996
4997         * docs/doxygen/user.cfg.in:  Extract all non-private members;
4998         reduce confusing documentation output.
4999
5000 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
5001
5002         * include/backward/fstream.h: Add missing semicolons.
5003
5004 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
5005
5006         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
5007         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
5008         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
5009         (ios_base::Init::_S_ios_create): New.
5010         (ios_base::Init::_S_ios_destroy): New.
5011         * include/bits/std_fstream.h: Change ctor args.
5012         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
5013         (ios_base::Init::~Init): Use _S_ios_destroy.
5014         (ios_base::sync_with_stdio): Use new members.
5015         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
5016         filebuf ctor.
5017
5018 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5019
5020         * include/backward/fstream.h:  Expose streampos to global
5021         namespace.
5022
5023 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5024
5025         * include/bits/stl_iterator_base_types.h: Fix typo
5026
5027 2001-04-03  Andreas Schwab  <schwab@suse.de>
5028
5029         * include/backward/fstream.h: Define filebuf and wfilebuf.
5030
5031 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
5032
5033         New concept checking implementation.
5034         * docs/html/19_diagnostics/howto.html:  Document.
5035         * docs/html/17_intro/concept_check.diff:  New file, for reference.
5036         * include/bits/boost_concept_check.h:  New file from Boost.
5037         * include/bits/c++config:  Update comments.
5038
5039         * include/bits/concept_check.h:  New file.
5040         * include/bits/concept_checks.h:  Removed.
5041         * include/bits/container_concepts.h:  Removed.
5042         * include/bits/sequence_concepts.h:  Removed.
5043         * include/bits/stl_iterator_base.h:  Removed; split into...
5044         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
5045         * include/bits/stl_iterator_base_types.h:  ...and this new file.
5046
5047         * include/bits/sbuf_iter.h:  Update to use new implementation.
5048         * include/bits/std_iterator.h:  Likewise.
5049         * include/bits/std_memory.h:  Likewise.
5050         * include/bits/stl_algo.h:  Likewise.
5051         * include/bits/stl_algobase.h:  Likewise.
5052         * include/bits/stl_construct.h:  Likewise.
5053         * include/bits/stl_deque.h:  Likewise.
5054         * include/bits/stl_heap.h:  Likewise.
5055         * include/bits/stl_list.h:  Likewise.
5056         * include/bits/stl_map.h:  Likewise.
5057         * include/bits/stl_multimap.h:  Likewise.
5058         * include/bits/stl_multiset.h:  Likewise.
5059         * include/bits/stl_numeric.h:  Likewise.
5060         * include/bits/stl_queue.h:  Likewise.
5061         * include/bits/stl_set.h:  Likewise.
5062         * include/bits/stl_stack.h:  Likewise.
5063         * include/bits/stl_uninitialized.h:  Likewise.
5064         * include/bits/stl_vector.h:  Likewise.
5065         * include/ext/hash_map:  Likewise.
5066         * include/ext/hash_set:  Likewise.
5067         * include/ext/slist:  Likewise.
5068         * include/ext/stl_hashtable.h:  Likewise.
5069
5070         * src/Makefile.am (base_headers):  Update list of headers.
5071         * Makefile.in:  Regenerated.
5072         * src/Makefile.in:  Regenerated.
5073         * libio/Makefile.in:  Regenerated.
5074         * libmath/Makefile.in:  Regenerated.
5075         * libsupc++/Makefile.in:  Regenerated.
5076         * testsuite/Makefile.in:  Regenerated.
5077
5078         * docs/html/install.html:  Update contact information.
5079         * docs/html/17_intro/howto.html:  Ditto.
5080         * docs/html/18_support/howto.html:  Ditto.
5081         * docs/html/20_util/howto.html:  Ditto.
5082         * docs/html/21_strings/howto.html:  Ditto.
5083         * docs/html/22_locale/howto.html:  Ditto.
5084         * docs/html/23_containers/howto.html:  Ditto.
5085         * docs/html/24_iterators/howto.html:  Ditto.
5086         * docs/html/25_algorithms/howto.html:  Ditto.
5087         * docs/html/26_numerics/howto.html:  Ditto.
5088         * docs/html/27_io/howto.html:  Ditto.
5089         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
5090         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
5091         * docs/html/faq/index.txt:  Regenerated.
5092
5093 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
5094
5095         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
5096         messages with $which_library as well as $tool_flags and
5097         ${dg-extra-tool-flags}.  Factor out annotation text into
5098         a single variable.
5099
5100 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
5101
5102         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
5103         * include/c_std/bits/std_cwchar.h: Same.
5104         * testsuite/21_strings/c_strings.cc: Add.
5105
5106 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
5107
5108         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
5109
5110 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
5111
5112         * tests_flags.in: Use test a = b, not test a == b which is not
5113         portable.
5114
5115 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
5116
5117         * configure.target: Remove duplicate aix entry.
5118
5119 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
5120
5121         * include/ext/stl_bvector.h: Move to...
5122         * include/bits/stl_vector.h: ...here.
5123         * include/ext/bvector: Move to...
5124         * include/backward/bvector.h: ...here.
5125         * include/bits/std_vector.h: Change stl_bvector include.
5126         * include/bits/std_queue.h: Remove bvector include.
5127         * include/ext/tree: Insert using rb_tree, move to...
5128         * include/backward/tree.h: ...here.
5129         * include/backward/hash_map.h: Include ext/hash_map.
5130         * include/backward/hash_set.h: Include ext/hash_set.
5131         * include/backward/queue.h: New file.
5132         * include/backward/stack.h: Edit.
5133         * include/backward/algo.h: Same.
5134         * include/backward/algobase.h: Same.
5135         * include/backward/alloc.h: Same.
5136         * include/backward/function.h: Same.
5137         * include/backward/iomanip.h: Same.
5138         * include/backward/istream.h: Same.
5139         * include/backward/iterator.h: Same.
5140         * include/backward/list.h: Same.
5141         * include/backward/map.h: Same.
5142         * include/backward/multimap.h: Same.
5143         * include/backward/multiset.h: Same.
5144         * include/backward/ostream.h: Same.
5145         * include/backward/pair.h: Same
5146         * include/backward/rope.h: Same.
5147         * include/backward/set.h: Same.
5148         * include/backward/stream.h: Same.
5149         * include/backward/strstream.h: Same.
5150         * include/backward/tempbuf.h: Same.
5151         * src/Makefile.am (ext_headers): Edit.
5152         * src/Makefile.in: Regenerate.
5153         * testsuite/ext/headers.cc (main): Fix.
5154         * mkcheck.in: Fix.
5155
5156 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
5157
5158         * tests_flags.in (LIBS):  Pass correct path for installed testing.
5159
5160 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
5161
5162         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
5163         * tests_flags.in (CXX): Construct here.
5164         (static_fail): Don't remove compile.out. Format with spaces.
5165         (INCLUDES): Deal with xcompiling.
5166         * configure.in (xcompiling): Substitute.
5167         * testsuite/Makefile.am: Snake libjava configury.
5168         * testsuite/Makefile.in: Regenerate.
5169         * testsuite/23_containers/map_operators.cc: Tweaks.
5170         * testsuite/23_containers/set_operators.cc: Tweaks.
5171
5172 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5173
5174         Enable dejagnu testing framework.
5175         * configure.in: Generate testsuite/Makefile.
5176         * configure: Regenerate.
5177         * Makefile.am (check-install): Change rule from this...
5178         (check-script-install): ...to this.
5179         (check): Change rule from this...
5180         (check-script):...to this.
5181         * Makefile.in: Regenerate.
5182
5183 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
5184
5185         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
5186         --tag CXX.
5187         (LIBTOOL): Let automake take care of its definition.
5188         * libsupc++/Makefile.in: Rebuilt.
5189
5190 2001-03-28  Richard Henderson  <rth@redhat.com>
5191
5192         IA-64 ABI Exception Handling:
5193         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
5194         * configure.in: Use it.
5195         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
5196         * libsupc++/Makefile.am (sources): Update files list.
5197         * libsupc++/Makefile.in: Regenerate.
5198         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
5199         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
5200         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
5201         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
5202         * libsupc++/exception_support.cc: Remove.
5203         * libsupc++/exception_support.h: Remove.
5204         * libsupc++/pure.cc: Use std::terminate.
5205         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
5206         (__is_pointer): Remove.
5207         * libsupc++/unwind-cxx.h: New file.
5208         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
5209
5210 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
5211
5212         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
5213         CXX tag explicitly.
5214         * src/Makefile.am (CXXLINK): Likewise.
5215         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
5216
5217 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
5218
5219         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
5220
5221 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5222
5223         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
5224           and libc
5225
5226 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
5227
5228         * include/bits/basic_file.h (get_fileno): Remove.
5229         (_M_fileno): Remove.
5230         (_M_cfile_created): Add.
5231         (basic_file::basic_file(__c_file_type*, openmode): Add.
5232         (basic_file::basic_file(int, const char*, openmode): Remove.
5233         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
5234         const char*, ios_base::openmode): Don't allocate
5235         internal buffers. Turn off internal buffers.
5236         (basic_filebuf::overflow): Remove test for null buffer.
5237         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
5238         * include/bits/streambuf.cc: Tweak.
5239         * include/bits/std_ostream.h: Tweak.
5240         * config/basic_file_libio.h: Same.
5241         * config/basic_file_stdio.h: Same.
5242         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
5243         * testsuite/27_io/filebuf_members.cc: Tweaks.
5244         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
5245
5246 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5247
5248         * Makefile.am:  New targets, doxygen and doxygen-maint.
5249         * Makefile.in:  Regenerated.
5250         * docs/doxygen/run_doxygen:  Finally implemented.
5251         * docs/doxygen/maint.cfg.in:  New file.
5252         * docs/doxygen/user.cfg.in:  New file.
5253
5254 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5255
5256         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
5257         * src/Makefile.am:  Replace leading spaces with tabs on continuation
5258         lines.
5259         * aclocal.m4:  Regenerated.
5260         * configure:  Ditto.
5261         * Makefile.in:  Ditto.
5262         * src/Makefile.in:  Ditto.
5263         * libio/Makefile.in:  Ditto.
5264         * libmath/Makefile.in:  Ditto.
5265         * libsupc++/Makefile.in:  Ditto.
5266
5267 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5268
5269         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
5270         concept-checking code and current status of same.
5271         * docs/html/ext/howto.html:  Ditto.
5272         * docs/html/faq/index.html:  Ditto.
5273         * docs/html/faq/index.txt:  Regenerated.
5274
5275 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
5276
5277         * include/bits/std_bitset.h:  Include ostream and istream headers
5278         instead of iostream.
5279
5280 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
5281
5282         * include/bits/ostream.tcc: Use __builtin_alloca.
5283
5284 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
5285
5286         * src/misc-inst.cc (__sink_unused_warning): Move to...
5287         * src/locale-inst.cc (__sink_unused_warning): Move to...
5288         * src/stl-inst.cc: Here.
5289         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
5290         commented it out.
5291
5292 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
5293
5294         * intclude/bits/basic_file.h: Fix typos in comments.
5295
5296 2001-03-20  Richard Henderson  <rth@redhat.com>
5297
5298         * src/gen-num-limits.cc: Instantiate for wchar_t.
5299         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
5300
5301 2001-03-20  Jason Merrill  <jason@redhat.com>
5302
5303         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
5304         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
5305         * libsupc++/cxxabi.h: Declare it.
5306
5307 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
5308
5309         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
5310         signal_func with an unspecified argument list.
5311
5312 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
5313
5314         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
5315
5316 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5317
5318         * include/bits/basic_string.tcc (operator+): Fix thinko.
5319
5320 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
5321
5322         libstdc++/2020
5323         * include/bits/std_streambuf.h: Remove cached locale facets.
5324         (basic_streambuf::_M_buf_fctype): Remove.
5325         (basic_streambuf::~basic_streambuf): Remove here.
5326         (basic_streambuf::basic_streambuf): Same.
5327         (basic_streambuf::imbue): Same.
5328         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
5329         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
5330         (basic_filebuf::~basic_filebuf()): Remove here.
5331         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
5332         (basic_filebuf::imbue): Same.
5333         * include/bits/localefwd.h (_Count_ones): Remove.
5334         (locale::_S_num_categories): Just use 6, since this doesn't
5335         actually change, ever.
5336         * include/bits/locale_facets.tcc (has_facet): Simplify.
5337         (use_facet): Same.
5338         * testsuite/27_io/filebuf.cc (test06): Add tests.
5339
5340 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
5341
5342         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
5343         match HP-UX ctype.h header file.
5344
5345 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
5346
5347         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
5348         duplicate definitions of __dj_ctype_*
5349
5350 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
5351
5352         * libsupc++/new: Remove pragma interface.
5353         * libsupc++/typeinfo: Same.
5354         * libsupc++/exception: Same.
5355         * libsupc++/new_handler.cc: Remove pragma implementation.
5356         (bad_alloc::~bad_alloc()): Add.
5357         * libsupc++/exception_support.cc: Same.
5358         (exception::~exception): Add.
5359         (bad_exception::~bad_exception): Add.
5360         * libsupc++/tinfo.cc: Same.
5361         (bad_cast::~bad_cast): Add.
5362         (bad_typeid::~bad_typeid): Add.
5363
5364 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
5365
5366         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
5367
5368 2001-03-12  Felix Lee  <flee@redhat.com>
5369
5370         * mkcheck.in: workaround for bash 2.01 IFS bug.
5371
5372 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5373
5374         Fixups for -fno-for-scope
5375         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
5376         * src/valarray-inst.cc (__gslice_to_index): Same.
5377
5378 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
5379
5380         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
5381         prior to trapping signal (UnixWare 7 workaround).
5382
5383 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
5384
5385         * include/backward/hashtable.h: Same.
5386         * include/backward/rope.h: Fix include.
5387
5388 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
5389
5390         * include/backward/vector.h: Include std_vector.h.
5391
5392         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
5393         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5394         Fix typo.
5395
5396 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5397
5398         * include/ext/stl_hashtable.h: Change type of __n to size_t
5399         * include/backward/bvector.h: Include <ext/stl_bvector.h>
5400
5401 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5402
5403         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
5404         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
5405         Use streamsize, not int_type.
5406
5407 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
5408
5409         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
5410         moment.
5411
5412 2001-03-08  Andreas Schwab  <schwab@suse.de>
5413
5414         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
5415         command.
5416         * aclocal.m4, configure: Regenerated.
5417
5418 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
5419
5420         * include/bits/std_iosfwd.h: Remove string forward decls here.
5421         * include/bits/stringfwd.h: Add forward decls for char_traits
5422         specializations.
5423         * config/c_io_libio.h (wstreamoff): Delete.
5424         * config/c_io_stdio.h (wstreamoff): Same.
5425         * include/bits/char_traits.h: Use streamoff not wstreamoff for
5426         char_traits<wchar_t>::off_type.
5427         Remove duplicate typedefs.
5428         * include/bits/fpos.h: Define streampos/wstreampos here.
5429         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
5430         values to off_type.
5431         (test05): Same.
5432         Changeup output files.
5433         * testsuite/27_io/istream_unformatted.cc: Change output files.
5434         * testsuite/27_io/istream_seeks-1.txt: Add.
5435         * testsuite/27_io/istream_seeks-2.tst: Add.
5436         * testsuite/27_io/istream_seeks-1.tst: Add.
5437         * testsuite/27_io/istream_unformatted-2.tst: Delete.
5438         * testsuite/27_io/istream_unformatted-3.tst: Delete.
5439         * testsuite/27_io/istream_unformatted-3.txt: Delete.
5440
5441 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
5442
5443         Add Irix 5.2, 6.3 support.
5444         * config/os/irix/bits: Renamed to...
5445         * config/os/irix/irix6.5/bits: this.
5446         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
5447         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
5448         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
5449         * config/os/irix/irix5.2/bits/ctype_noninline.h
5450         (ctype<char>::ctype): Initialize _M_table with __ctype.
5451         * configure.target: Adjust.
5452
5453 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
5454
5455         libstdc++/2181
5456         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
5457         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
5458         sentry.
5459         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
5460         (*__pf)(__ios_type&)): Same.
5461         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
5462         (*__pf)(ios_base&))): Same.
5463         * testsuite/27_io/istream_extractor_other.cc: Add tests.
5464         * testsuite/27_io/istream_manip.cc (test01): Fix.
5465
5466 2001-03-06  Nathan Myers  <ncm@cantrip.org>
5467             Benjamin Kosnik  <bkoz@redhat.com>
5468
5469         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
5470         * testsuite/17_intro/header_cerrno.cc (test01): New file.
5471         * testsuite/17_intro/header_cassert.cc (test01): New file.
5472         * testsuite/17_intro/header_cstddef.cc (test01): New file.
5473         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
5474         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
5475
5476 2001-03-05  scott snyder  <snyder@fnal.gov>
5477
5478         libstdc++/2190
5479         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
5480         from here...
5481         * include/c_std/bits/std_cstdlib.h: ... to here.
5482         * testsuite/17_intro/header_cstdlib.cc: Add test.
5483
5484 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
5485
5486         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
5487
5488 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
5489
5490         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
5491         definition. Replace enum with static const variables.
5492
5493         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
5494         throw specification, fix typos, use <static_cast>.
5495         (ctype<char>::scan_is): remove throw specification.
5496         (ctype<char>::scan_not): likewise.
5497
5498         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
5499         (ctype<char>::do_toupper(char)): use <static_cast>.
5500         (ctype<char>::do_toupper(char *, const char *)): likewise.
5501         (ctype<char>::do_tolower(char)): likewise.
5502         (ctype<char>::do_tolower(char *, const char *)): likewise.
5503
5504 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
5505
5506         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
5507         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
5508         macros and "never happens" code.  Adjust to C++STYLE guidelines.
5509         * include/backward/algobase.h:  Likewise.
5510         * include/backward/alloc.h:  Likewise.
5511         * include/backward/bvector.h:  Likewise.
5512         * include/backward/deque.h:  Likewise.
5513         * include/backward/function.h:  Likewise.
5514         * include/backward/hash_map.h:  Likewise.
5515         * include/backward/hash_set.h:  Likewise.
5516         * include/backward/hashtable.h:  Likewise.
5517         * include/backward/heap.h:  Likewise.
5518         * include/backward/iterator.h:  Likewise.
5519         * include/backward/list.h:  Likewise.
5520         * include/backward/map.h:  Likewise.
5521         * include/backward/multimap.h:  Likewise.
5522         * include/backward/multiset.h:  Likewise.
5523         * include/backward/pair.h:  Likewise.
5524         * include/backward/rope.h:  Likewise.
5525         * include/backward/set.h:  Likewise.
5526         * include/backward/slist.h:  Likewise.
5527         * include/backward/stack.h:  Likewise.
5528         * include/backward/strstream:  Likewise.
5529         * include/backward/tempbuf.h:  Likewise.
5530         * include/backward/tree.h:  Likewise.
5531         * include/backward/vector.h:  Likewise.
5532         * include/bits/basic_ios.h:  Likewise.
5533         * include/bits/basic_ios.tcc:  Likewise.
5534         * include/bits/basic_string.h:  Likewise.
5535         * include/bits/c++config:  Likewise.
5536         * include/bits/concept_checks.h:  Likewise.
5537         * include/bits/fpos.h:  Likewise.
5538         * include/bits/fstream.tcc:  Likewise.
5539         * include/bits/functexcept.h:  Likewise.
5540         * include/bits/ios_base.h:  Likewise.
5541         * include/bits/istream.tcc:  Likewise.
5542         * include/bits/mask_array.h:  Likewise.
5543         * include/bits/ostream.tcc:  Likewise.
5544         * include/bits/pthread_allocimpl.h:  Likewise.
5545         * include/bits/sbuf_iter.h:  Likewise.
5546         * include/bits/slice.h:  Likewise.
5547         * include/bits/slice_array.h:  Likewise.
5548         * include/bits/sstream.tcc:  Likewise.
5549         * include/bits/std_bitset.h:  Likewise.
5550         * include/bits/std_fstream.h:  Likewise.
5551         * include/bits/std_iomanip.h:  Likewise.
5552         * include/bits/std_ios.h:  Likewise.
5553         * include/bits/std_istream.h:  Likewise.
5554         * include/bits/std_iterator.h:  Likewise.
5555         * include/bits/std_memory.h:  Likewise.
5556         * include/bits/std_ostream.h:  Likewise.
5557         * include/bits/std_sstream.h:  Likewise.
5558         * include/bits/std_streambuf.h:  Likewise.
5559         * include/bits/std_string.h:  Likewise.
5560         * include/bits/std_valarray.h:  Likewise.
5561         * include/bits/stl_algo.h:  Likewise.
5562         * include/bits/stl_algobase.h:  Likewise.
5563         * include/bits/stl_alloc.h:  Likewise.
5564         * include/bits/stl_construct.h:  Likewise.
5565         * include/bits/stl_deque.h:  Likewise.
5566         * include/bits/stl_function.h:  Likewise.
5567         * include/bits/stl_heap.h:  Likewise.
5568         * include/bits/stl_iterator.h:  Likewise.
5569         * include/bits/stl_iterator_base.h:  Likewise.
5570         * include/bits/stl_list.h:  Likewise.
5571         * include/bits/stl_map.h:  Likewise.
5572         * include/bits/stl_multimap.h:  Likewise.
5573         * include/bits/stl_multiset.h:  Likewise.
5574         * include/bits/stl_numeric.h:  Likewise.
5575         * include/bits/stl_pair.h:  Likewise.
5576         * include/bits/stl_pthread_alloc.h:  Likewise.
5577         * include/bits/stl_queue.h:  Likewise.
5578         * include/bits/stl_raw_storage_iter.h:  Likewise.
5579         * include/bits/stl_relops.h:  Likewise.
5580         * include/bits/stl_set.h:  Likewise.
5581         * include/bits/stl_stack.h:  Likewise.
5582         * include/bits/stl_tempbuf.h:  Likewise.
5583         * include/bits/stl_threads.h:  Likewise.
5584         * include/bits/stl_tree.h:  Likewise.
5585         * include/bits/stl_uninitialized.h:  Likewise.
5586         * include/bits/stl_vector.h:  Likewise.
5587         * include/bits/streambuf.tcc:  Likewise.
5588         * include/bits/type_traits.h:  Likewise.
5589         * include/bits/valarray_meta.h:  Likewise.
5590         * include/ext/bvector:  Likewise.
5591         * include/ext/hash_map:  Likewise.
5592         * include/ext/hash_set:  Likewise.
5593         * include/ext/ropeimpl.h:  Likewise.
5594         * include/ext/slist:  Likewise.
5595         * include/ext/stl_bvector.h:  Likewise.
5596         * include/ext/stl_hash_fun.h:  Likewise.
5597         * include/ext/stl_hashtable.h:  Likewise.
5598         * include/ext/stl_rope.h:  Likewise.
5599         * src/complex_io.cc:  Likewise.
5600         * src/ios.cc:  Likewise.
5601         * src/locale-inst.cc:  Likewise.
5602         * src/locale.cc:  Likewise.
5603         * src/localename.cc:  Likewise.
5604         * src/misc-inst.cc:  Likewise.
5605         * src/stdexcept.cc:  Likewise.
5606         * src/stl-inst.cc:  Likewise.
5607         * src/strstream.cc:  Likewise.
5608         * src/valarray-inst.cc:  Likewise.
5609
5610 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
5611
5612         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
5613
5614 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5615
5616         * include/bits/istream.tcc: change type of __extracted to __size_type
5617
5618 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
5619
5620         * src/wstring-inst.cc: New file.
5621         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
5622         (libinst_wstring_la_SOURCES): Remove.
5623         (libstdc___la_LIBADD): Remove libinst_wstring_la.
5624         (sources): Add wstring-inst.cc
5625         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
5626         libinst_wstring_la.
5627
5628 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
5629
5630         * src/locale.cc: initialise __ret with zero
5631         * src/strstream.cc:cast gptr to int_type
5632
5633 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
5634
5635         * docs/html/faq/index.html:  Update broken links.
5636         * docs/html/faq/index.txt:  Regenerated.
5637
5638 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
5639
5640         libstdc++/2064
5641         * configure.target: Change irix* to irix6.5* in target_os table.
5642
5643 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
5644
5645         libstdc++/2103
5646         * include/bits/c++config (__GLIBCPP__): Bump number in
5647         anticipation of 2.92.
5648
5649         * include/bits/codecvt.h: Fix typo.
5650         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
5651         stdio model.
5652         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
5653         instantiations for stdio model.
5654
5655 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
5656
5657         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
5658           and GLIBCPP_CXXFLAGS as unused variables.
5659         * configure.host:  Likewise.
5660         * configure.target:  Likewise.
5661         * aclocal.m4:  Regenerated.
5662         * configure:  Regenerated.
5663         * Makefile.in:  Regenerated.
5664         * libio/Makefile.in:  Regenerated.
5665         * libmath/Makefile.in:  Regenerated.
5666         * libsupc++/Makefile.in:  Regenerated.
5667         * src/Makefile.in:  Regenerated.
5668
5669 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5670
5671         libstdc++/1886
5672         * include/bits/basic_file.h: Include basic_file_model.h.
5673         * config/c_io_libio.cc: Move to...
5674         * config/basic_file_libio.cc: Here.
5675         * config/basic_file_libio.h: New file.
5676         * config/c_io_stdio.cc: Move to...
5677         * config/basic_file_stdio.cc: Here.
5678         * config/basic_file_stdio.h: New file.
5679         * config/c_io_libio.h: Tweak.
5680         * config/c_io_stdio.h: Tweak.
5681         * src/Makefile.am (build_headers): Add basic_file_model.h.
5682         (sources): Add basic_file.cc, remove c++io.cc.
5683         * src/Makefile.in: Regenerate.
5684         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
5685         basic_file_model.h and basic_file.cc.
5686         * aclocal.m4: Regenerate.
5687         * configure: Regenerate.
5688         * testsuite/27_io/filebuf.cc (test05): Add regression.
5689
5690 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5691
5692         Correct license.
5693         * config/cpu/alpha/bits/atomicity.h: Change.
5694         * config/cpu/arm/bits/atomicit3y.h
5695         * config/cpu/generic/bits/atomicity.h
5696         * config/cpu/i386/bits/atomicity.h
5697         * config/cpu/i486/bits/atomicity.h
5698         * config/cpu/ia64/bits/atomicity.h
5699         * config/cpu/powerpc/bits/atomicity.h
5700         * config/cpu/sparc/sparc32/bits/atomicity.h
5701         * config/cpu/sparc/sparc64/bits/atomicity.h
5702         * config/os/aix/bits/atomicity.h
5703         * config/os/irix/bits/atomicity.h
5704
5705 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
5706
5707         * include/bits/std_stdexcept.h (runtime_error): Make string
5708         member non-const.
5709         (logic_error): Same.
5710         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
5711         (test03): Fix.
5712
5713 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
5714
5715         libstdc++/1972
5716         libstdc++/2089
5717         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
5718         string object, not reference.
5719         (runtime_error::runtime_error): Same.
5720         * testsuite/19_diagnostics/stdexceptions.cc: New file.
5721
5722 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5723
5724         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
5725           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
5726           diagnostics.  Remove WFMT_FLAGS.
5727         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
5728         * libsupc++/Makefile.am:  Likewise.
5729         * src/Makefile.am:  Likewise.
5730         * aclocal.m4:  Regenerated.
5731         * configure:  Regenerated.
5732         * Makefile.in:  Regenerated.
5733         * libio/Makefile.in:  Regenerated.
5734         * libmath/Makefile.in:  Regenerated.
5735         * libsupc++/Makefile.in:  Regenerated.
5736         * src/Makefile.in:  Regenerated.
5737
5738 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
5739
5740         Fixes libstdc++/2079
5741         * include/backward/iomanip.h:  Expose <ios> manipulators to global
5742           namespace.
5743         * include/backward/iostream.h:  Also expose std::ws.
5744
5745 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
5746
5747         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
5748
5749 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
5750
5751         * include/bits/codecvt.h: Use __builtin_alloca.
5752         * include/bits/ostream.tcc: Same.
5753         * include/bits/fstream.tcc: Same.
5754
5755 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
5756
5757         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
5758
5759 2001-02-23  David Edelsohn <dje@watson.ibm.com>
5760
5761         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
5762
5763 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
5764
5765         c++/2052
5766         * include/backward/iostream.h:  Expose std::flush in old headers.
5767
5768 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5769
5770         * mknumeric_limits: Remove special-casing on target.  Use gcc
5771         instead of g++ to build gen-num-limits.cc
5772
5773 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
5774
5775         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
5776
5777         * include/bits/codecvt.h: Use alloca instead of __extension__ for
5778         the time being.
5779         * include/bits/ostream.tcc: Same.
5780         * include/bits/std_ostream.h: Same.
5781         * include/bits/fstream.tcc: Same.
5782         * include/bits/locale_facets.tcc: Add typename.
5783         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
5784
5785 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
5786
5787         * tests_flags.in:  Remove -n flag from call to echo.
5788
5789 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
5790
5791         * config/c_locale_gnu.h: Add clocale include.
5792
5793 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
5794
5795         * include/bits/stl_config.h:  Remove file.
5796         * src/Makefile.am (base_headers):  Remove from list.
5797         * configure:  Regenerate.
5798         * Makefile.in:  Ditto.
5799         * libio/Makefile.in:  Ditto.
5800         * libmath/Makefile.in:  Ditto.
5801         * libsupc++/Makefile.in:  Ditto.
5802         * src/Makefile.in:  Ditto.
5803
5804         * include/bits/c++config:  Move relevant macros to here.
5805         * include/backward/alloc.h:  Include c++config.h instead.
5806         * include/backward/function.h:  Ditto.
5807         * include/backward/heap.h:  Ditto.
5808         * include/backward/pair.h:  Ditto.
5809         * include/bits/pthread_allocimpl.h:  Ditto.
5810         * include/bits/std_functional.h:  Ditto.
5811         * include/bits/std_iterator.h:  Ditto.
5812         * include/bits/std_numeric.h:  Ditto.
5813         * include/bits/std_utility.h:  Ditto.
5814         * include/bits/stl_algobase.h:  Ditto.
5815         * include/bits/type_traits.h:  Ditto.
5816         * src/stl-inst.cc:  Ditto.
5817
5818 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
5819
5820         * include/bits/basic_file.h: Add #pragma system_header
5821         * include/bits/basic_ios.h: Ditto.
5822         * include/bits/basic_string.h: Ditto.
5823         * include/bits/char_traits.h: Ditto.
5824         * include/bits/codecvt.h: Ditto.
5825         * include/bits/cpp_type_traits.h:  Ditto.
5826         * include/bits/fpos.h: Ditto.
5827         * include/bits/gslice.h: Ditto.
5828         * include/bits/gslice_array.h: Ditto.
5829         * include/bits/indirect_array.h: Ditto.
5830         * include/bits/ios_base.h: Ditto.
5831         * include/bits/limits_generic.h: Ditto.
5832         * include/bits/locale_facets.h: Ditto.
5833         * include/bits/localefwd.h: Ditto.
5834         * include/bits/mask_array.h: Ditto.
5835         * include/bits/sbuf_iter.h: Ditto.
5836         * include/bits/sequence_concepts.h: Ditto.
5837         * include/bits/slice.h: Ditto.
5838         * include/bits/slice_array.h: Ditto.
5839         * include/bits/std_algorithm.h: Likewise.
5840         * include/bits/std_bitset.h: Likewise.
5841         * include/bits/std_complex.h: Likewise.
5842         * include/bits/std_deque.h: Likewise.
5843         * include/bits/std_fstream.h: Likewise.
5844         * include/bits/std_functional.h: Likewise.
5845         * include/bits/std_iomanip.h: Likewise.
5846         * include/bits/std_ios.h: Likewise.
5847         * include/bits/std_iosfwd.h: Likewise.
5848         * include/bits/std_iostream.h: Likewise.
5849         * include/bits/std_istream.h: Likewise.
5850         * include/bits/std_iterator.h: Likewise.
5851         * include/bits/std_list.h: Likewise.
5852         * include/bits/std_locale.h: Likewise.
5853         * include/bits/std_map.h: Likewise.
5854         * include/bits/std_memory.h: Likewise.
5855         * include/bits/std_numeric.h: Likewise.
5856         * include/bits/std_ostream.h: Likewise.
5857         * include/bits/std_queue.h: Likewise.
5858         * include/bits/std_set.h: Likewise.
5859         * include/bits/std_sstream.h: Likewise.
5860         * include/bits/std_stack.h: Likewise.
5861         * include/bits/std_stdexcept.h: Likewise.
5862         * include/bits/std_streambuf.h: Likewise.
5863         * include/bits/std_string.h: Likewise.
5864         * include/bits/std_utility.h: Likewise.
5865         * include/bits/std_valarray.h: Likewise.
5866         * include/bits/std_vector.h: Likewise.
5867         * include/bits/stringfwd.h: Likewise.
5868         * include/bits/type_traits.h: Likewise.
5869         * include/bits/valarray_array.h: Likewise.
5870         * include/bits/valarray_meta.h: Likewise.
5871
5872 2001-02-19  Andreas Jaeger  <aj@suse.de>
5873
5874         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
5875         Fix typo.
5876
5877 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
5878
5879         libstdc++/1734
5880         * include/bits/std_ostream.h: Replaced usage of
5881         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
5882         * include/bits/char_traits.h: Removed non-standard
5883         methods that cannot be used elsewhere.
5884
5885         libstdc++/1885
5886         * include/bits/basic_ios.h: Uncommented #include of
5887         bits/basic_ios.tcc
5888
5889         libstdc++/1897
5890         * include/bits/codecvt.h: See next...
5891         * include/bits/fstream.tcc: See next...
5892         * include/bits/ostream.tcc: Add __extension__
5893         to variable-length arrays.
5894
5895         libstdc++/1967
5896         * include/bits/localefwd.h: Changed int counter type to size_t.
5897
5898         libstdc++/1968
5899         * include/bits/std_fstream.h: Added typedef for __ctype_type.
5900
5901 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
5902
5903         * testsuite/21_strings/char_traits.cc: Move to ...
5904         * testsuite/21_strings/char_traits_requirements.cc: ..here.
5905         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
5906         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
5907
5908 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
5909
5910         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
5911         definitions.
5912
5913 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5914
5915         * include/bits/c++config: Revert.
5916
5917 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5918
5919         * include/bits/istream.tcc: Use ios_base::iostate in place of
5920         iostate throughout.  Insert `typename' keyword where necessary.
5921         * include/bits/ostream.tcc: Insert `typename' keyword where
5922         necessary.
5923
5924 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
5925
5926         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
5927         Define so library is compliant.
5928
5929 2001-02-15  Anthony Green  <green@redhat.com>
5930
5931         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
5932         compilation.
5933         * aclocal.m4: Regenerate.
5934         * configure: Regenerate.
5935
5936 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
5937
5938         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
5939         Include ieeefp.h for fpclass on UnixWare{2,7}.
5940         * aclocal.m4: Regenerate.
5941         * configure: Regenerate.
5942         * mkcheck.in (size_command): Do without GNU-grep when using
5943         size from binutils.
5944
5945 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
5946
5947         Remove old ABI support from libsupc++.
5948         * libsupc++/cxxabi.h: Remove conditionally compiled code.
5949         * libsupc++/exception_support.cc: Likewise.
5950         * libsupc++/pure.cc: Likewise.
5951         * libsupc++/tinfo.cc: Likewise.
5952         * libsupc++/tinfo.h: Likewise.
5953         * libsupc++/tinfo2.cc: Likewise.
5954         * libsupc++/typeinfo: Likewise.
5955         * libsupc++/vec.cc: Likewise.
5956
5957 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
5958
5959         Add support for -fno-exceptions.
5960         * include/bits/exception_support.h: Remove.
5961         * include/bits/basic_string.h: Remove exception_support.
5962         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
5963         (string::at): Same.
5964         (string::substr): Same.
5965         * include/bits/basic_string.tcc (string::reserve): Replace
5966         __LENGTHERROR with __throw_length_error.
5967         (string::_S_create): Same.
5968         (string::resize): Same.
5969         (string::_M_replace): Same.
5970         (string::replace): Same.
5971         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
5972         (string::compare): Same.
5973         * include/bits/stl_vector.h: Remove exception_support.
5974         * src/Makefile.am (base_headers): Remove here.
5975         * src/Makefile.in: Regenerate.
5976
5977         * include/bits/stl_range_errors.h: Remove.
5978         * include/bits/stl_deque.h: Use __throw_range_error.
5979         * include/bits/std_deque.h: Include functexcept.h.
5980         * include/bits/std_vector.h: Same.
5981         * src/Makefile.am (base_headers): Remove here.
5982         * src/Makefile.in: Regenerate.
5983         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
5984         * include/ext/bvector: Remove stl_range_errors.h
5985
5986         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
5987
5988         * include/bits/functexcept.h: New file.
5989         * src/functexcept.cc: New file. Definitions for function-based
5990         exception routines.
5991         * src/Makefile.am (sources): Add functexcept.cc.
5992         * src/Makefile.in: Regenerate.
5993
5994         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
5995         __EXCEPTIONS.
5996
5997         * include/bits/localefwd.h: Include functexcept.h.
5998         * include/bits/std_iosfwd.h: Same.
5999
6000         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
6001         throw basic_ios::failure.
6002         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
6003         Use __throw_exception_again.
6004         (filebuf::_M_filebuf_init): Same.
6005         * include/bits/streambuf.tcc (__copy_streambufs): Same.
6006         * include/bits/ostream.tcc (ostream::operator<<): Same.
6007         * include/bits/istream.tcc (istream::operator>>): Same.
6008         * include/bits/basic_string.tcc (string::_M_mutate): Same.
6009         (string::_S_construct): Same.
6010         (string::_M_clone): Same.
6011         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
6012         __throw_bad_cast.
6013         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
6014         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
6015         __throw_exception_again.
6016         (locale::_Imp::_Imp(string, size_t): Same.
6017         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
6018         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
6019         (locale::locale(const char*)): Use __throw_runtime_error.
6020         (locale::classic): Use __throw_exception_again.
6021         (locale::_S_normalize_category): Use __throw_runtime_error.
6022
6023         * src/stdexcept.cc: Remove cruft.
6024
6025         * libsupc++/exception_defines.h: New file.
6026         * libsupc++/new_opnt.cc: Include exception_defines.h.
6027         * libsupc++/vec.cc: Same.
6028         (__cxa_vec_new2): Use __throw_exception_again.
6029         (__cxa_vec_new3): Same.
6030         (__cxa_vec_ctor): Same.
6031         (__cxa_vec_delete3): Same.
6032         (__cxa_vec_cctor): Same.
6033         (__cxa_vec_delete2): Same.
6034         (__cxa_vec_dtor): Same.
6035         * libsupc++/exception_support.cc: Include exception_defines.h. Only
6036         compile exception-handling bits if __EXCEPTIONS is defined.
6037         Remove old ABI support.
6038         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
6039         std::__throw_bad_alloc() instead of throw bad_alloc.
6040         * libsupc++/Makefile.am: Add exception_defines.h.
6041         * libsupc++/Makefile.in: Reformat.
6042         * libsupc++/*: Format.
6043
6044 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
6045
6046         * docs/html/configopts.html:  Minor updates and typo fixes.
6047         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
6048         * docs/html/faq/index.txt:  Regenerated.
6049
6050 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
6051
6052         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
6053         dejagnu/dg.exp.  Adapt to log options used to run testcases.
6054
6055 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6056
6057         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
6058         dejagnu/dg.exp.
6059
6060 2001-02-13  Dirk Mueller <dmuell@gmx.net>
6061             Phil Edwards  <pme@sources.redhat.com>
6062
6063         * include/backward/function.h:  Do not use rel_ops for older
6064           headers either.
6065         * include/backward/pair.h:  Likewise.
6066
6067 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
6068
6069         * src/locale.cc: Remove bogus locale::id definitions.
6070
6071 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6072
6073         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
6074         not _DEFINE_VALARRAY_OPERATOR which is not existent.
6075
6076         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
6077         thinko in member initialisation.
6078
6079 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
6080
6081         * include/bits/std_valarray.h(valarray<>::shift): Avoid
6082         comparaison between signed and unsigned integer types.
6083         (valarray<>::cshift): Reformat.
6084
6085 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
6086
6087         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
6088         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
6089         * configure.in: Test for sigsetjmp.
6090         * configure, config.h.in: Rebuilt.
6091
6092 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
6093
6094         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
6095         lengths and strides.
6096         (__gslice_to_index): Document.
6097
6098 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
6099
6100         * include/bits/char_traits.h char_traits<char>::int_type: Change
6101         to `int' to match 21.1.3.1/2.
6102
6103         * testsuite/21_strings/char_traits-int_type.C: New test.
6104
6105 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
6106
6107         * testsuite/Makefile.am: New file.
6108
6109 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
6110
6111         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
6112
6113 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
6114
6115         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
6116
6117 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
6118
6119         * configure.target (aix4*): Remove extra set of brackets.
6120
6121 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
6122
6123         Clean up stdexcept.
6124         * include/bits/stringfwd.h: New file.
6125         * include/bits/stl_string_fwd.h: Remove.
6126         * include/bits/localefwd.h: Remove declaration for allocator.
6127         * include/bits/std_iosfwd: Same.
6128         * include/bits/std_string.h: Include it.
6129         * include/bits/std_ios.h: Remove include.
6130         * include/bits/basic_string.h: Tweak.
6131         * libsupc++/new: Format.
6132         * src/Makefile.am (base_headers): Add stringfwd.h, remove
6133         stl_string_fwd.h
6134         * src/Makefile.in: Regenerate.
6135         * include/bits/std_stdexcept.h: Rewrite.
6136         * src/stdexcept.cc: Same.
6137
6138 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
6139
6140         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
6141         install locations too.
6142         * aclocal.m4: Regenerate.
6143         * configure.in: Remove USE_LIBDIR.
6144         * configure: Regenerate.
6145         * src/Makefile.am (toolexecdir): Simplify, use
6146         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
6147         * src/Makefile.in: Regenerate.
6148         * libsupc++/Makefile.am: Same.
6149         * libsupc++/Makefile.in: Regenerate.
6150
6151         * src/Makefile.am: Just remove special rules for locale-inst.cc and
6152         misc-inst.cc as no longer necessary.
6153
6154         Follow C++STYLE for naming non-static functions.
6155         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
6156         __pad_char.
6157         * include/bits/streambuf.tcc: Same.
6158         * include/bits/ostream.tcc: Same.
6159         * include/bits/istream.tcc: Same.
6160         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
6161         (_S_output_float): To __output_float.
6162         * include/bits/std_streambuf.h (_S_copy_streambufs): To
6163         __copy_streambufs.
6164         * include/bits/locale_facets.tcc (_S_build_float_format): To
6165         __build_float_format.
6166         (_S_format): To __output_integer.
6167         (_S_fill): To __pad.
6168         * src/locale.cc: Same.
6169         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
6170         names.
6171         * include/bits/locale_facets.tcc (_S_group_digits): To
6172         __group_digits.
6173         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
6174         for collate, numpunct.
6175
6176 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
6177
6178         * docs/html/configopts.html:  Fix HTML markup.
6179         * docs/html/install.html:  Bring up to date.
6180         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
6181         * docs/html/21_strings/howto.html:  More notes.
6182         * docs/html/22_locale/howto.html:  Fix HTML markup.
6183         * docs/html/27_io/howto.html:  More notes.
6184         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
6185         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
6186
6187 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
6188
6189         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
6190         to match header files.
6191         (_S_output_float): Likewise.
6192         (_S_copy_streambufs): Likewise.
6193
6194 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
6195             Phil Edwards  <pme@sources.redhat.com>
6196
6197         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
6198           use reinterpret_cast, not static_cast.
6199
6200 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
6201
6202         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
6203         * aclocal.m4: Regenerate.
6204         * configure: Regenerate.
6205
6206 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6207
6208         * include/bits/locale_facets.h (class moneypunct): Fix typos.
6209         * libsupc++/pure.cc: Revert.
6210
6211 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6212
6213         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
6214         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
6215         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
6216         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
6217         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
6218         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
6219         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
6220         * aclocal.m4: Regenerate.
6221         * configure: Regenerate.
6222
6223 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
6224
6225         * include/bits/locale_facets.tcc: Remove `static' keyword on
6226         function definitions.
6227         * include/bits/std_streambuf.h: Likewise.
6228         * src/Makefile.am: Remove use of -fimplicit-templates.
6229         * src/Makefile.in: Regenerated.
6230         * src/locale-inst.cc: Explicitly instantiate more functions.
6231         * src/misc-inst.cc: Likewise.
6232         * src/string-inst.cc: Likewise.
6233
6234 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6235
6236         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
6237         macro. Consolidate all the bits to do with where includes might be
6238         installed.
6239         * aclocal.m4: Regenerate.
6240         * configure.in: Use it.
6241         * configure: Regenerate.
6242         * src/Makefile.am (targetincludep): Use simplified rules.
6243         (targetincludep): Rename gxx_target_include_dir.
6244         (myincludep): Rename gxx_include_dir.
6245         * src/Makefile.in: Regenerate.
6246         * libsupc++/Makefile.am: Use simplified rules.
6247         * libsupc++/Makefile.in: Regenerate.
6248
6249 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
6250
6251         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
6252         * include/c_std/bits/std_cctype.h: Same.
6253         * include/c_std/bits/std_cassert.h: Same.
6254         * include/c_std/bits/std_cstdarg.h: Same.
6255         * include/c_std/bits/std_cstddef.h: Same.
6256
6257         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
6258         namespace std.
6259         * include/c_std/bits/std_ctime.h: Same.
6260         * include/c_std/bits/std_clocale.h: Same.
6261         * include/c_std/bits/std_cmath.h: Same.
6262         * include/c_std/bits/std_csetjmp.h: Same.
6263         * include/c_std/bits/std_csignal.h: Same.
6264         * include/c_std/bits/std_cstring.h: Same.
6265         * include/c_std/bits/std_cstdlib.h: Same.
6266         * include/c_std/bits/std_cwchar.h: Same.
6267
6268 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
6269
6270         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
6271
6272 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
6273
6274         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
6275         (string::_S_construct): Likewise.
6276
6277 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
6278
6279         * testsuite/config/default.exp: New file.
6280         * testsuite/config: New directory.
6281
6282 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
6283
6284         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
6285         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
6286         whenever !__GXX_MERGED_TYPEINFO_NAMES.
6287         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
6288
6289 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
6290             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
6291
6292         * Makefile.am (mkinstalldirs): Set.
6293         * src/Makefile.am (mkinstalldirs): Set.
6294         * libmath/Makefile.am (mkinstalldirs): Set.
6295         * libsup++/Makefile.am (mkinstalldirs): Set.
6296         * libio/Makefile.am (mkinstalldirs): Set.
6297         * */Makefile.in: Regenerate.
6298
6299 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
6300
6301         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
6302         * include/bits/localefwd.h: More initialization cleanups.
6303
6304 2001-02-03  Jeffrey A Law  <law@cygnus.com>
6305
6306         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
6307         correctly targets with 16bit ints.
6308         (_S_ios_openmode_end): Similarly.
6309         (_S_ios_iostate_end): Similarly.
6310         (_S_ios_Seekdir_end): Similarly.
6311
6312 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
6313
6314         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
6315
6316 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
6317
6318         * configure.in (toplevel_srcdir, auxdir): Set.
6319         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
6320         * aclocal.m4, configure, Makefile.in: Rebuilt.
6321         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
6322         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
6323         * libsupc++-v3/Makefile.in: Rebuilt.
6324         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
6325         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
6326
6327 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
6328
6329         * config/c_locale_generic.cc: Remove langinfo include.
6330
6331 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
6332
6333         Preliminary named locales.
6334         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
6335         * aclocal.m4: Regenerate.
6336         * configure.in: Use it.
6337         * configure: Regerate.
6338         * src/Makefile.am (sources): Add c++locale.cc.
6339         (build_headers): Add c++locale.h.
6340         * src/Makefile.in: Regenerate.
6341         * config/c_locale_gnu.h: New file.
6342         * config/c_locale_gnu.cc: New file. Non-inline member functions
6343         for named locales, gnu-specific.
6344         * config/c_locale_generic.h: New file.
6345         * config/c_locale_generic.cc: New file. Non-inline member
6346         functions for named locales, generic version.
6347         * docs/html/configopts.html: Add documentation on new options.
6348
6349         * include/bits/locale_facets.h (class _Messages): Remove.
6350         (class _Moneypunct): Remove.
6351         * src/locale-inst.cc: Remove.
6352
6353         * include/bits/locale_facets.h (class _Collate): Remove.
6354         * src/locale-inst.cc (std): Remove.
6355         * src/locale.cc: And here.
6356
6357         * include/bits/localefwd.h (locale::_M_coalesce): New
6358         function. Correctly put together multi-name locales.
6359         (_Impl(const _Impl&, category, size_t)): Remove.
6360
6361         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
6362         member functions.
6363         (_M_normalize_category_names): Remove.
6364         (_M_replace_categories): Fix.
6365
6366         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
6367         (locale::_Impl::_M_construct_ctype): Remove.
6368         (locale::_Impl::_M_construct_monetary): Remove.
6369         (locale::_Impl::_M_construct_numeric): Remove.
6370         (locale::_Impl::_M_construct_time): Remove.
6371         (locale::_Impl::_M_construct_messages): Remove.
6372
6373         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
6374         (_Use_facet_failure_handle): Remove.
6375         * src/locale.cc: Remove definitions.
6376         * src/locale-inst.cc: And here.
6377
6378         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
6379
6380         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
6381         create and error-check underlying locale object.
6382         (locale::facet::_S_destroy_c_locale): Add, take care of properly
6383         tearing down underlying locale object.
6384         * include/bits/localefwd.h (locale::facet): Declare.
6385         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
6386         correctness, as glibc apparently has incorrect info in it. Test
6387         with it when it works again.....
6388
6389         * include/bits/localefwd.h (locale::_Impl::__vec_string):
6390         Remove. Number of categories is fixed at six, so just simplify and
6391         make this an array of strings.
6392         (locale::_Impl::_M_has_name): Remove.
6393         (locale::_Impl::_M_name): Remove.
6394         (locale::_Impl::_M_category_names): Turns into...
6395         (locale::_Impl::_M_names): ...this.
6396         (locale::_Impl::_M_has_same_name()): New function.
6397         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
6398         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
6399         signature.
6400         * src/locale.cc (locale::name()): Construct mangled name
6401         accurately reflecting combined locale categories.
6402
6403         * src/locale.cc (locale::classic()): Don't initialize here.
6404         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
6405         __refs, bool __has_name, string __str): Do it here.
6406
6407         * include/bits/localefwd.h: _S_categories_num to
6408         _S_num_categories. _S_facets_num to _S_num_facets.
6409         (locale::id::id()): Explicitly set _M_index to zero.
6410         * src/locale.cc: Same.
6411
6412         * src/locale.cc: (locale::locale(const char*)): Construct named
6413         locales uniquely.
6414
6415         * src/locale.cc: Remove numpunct_byname ctors.
6416         * testsuite/22_locale/numpunct_byname.cc: New file.
6417         * testsuite/22_locale/numpunct.cc: New file.
6418
6419         * include/bits/localefwd.h (class locale): Change data members to
6420         protected, from private.
6421         (_Impl::_M_get_c_locale): Add member function.
6422         (locale::facet::_M_get_global_impl()): Add member function.
6423         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
6424         a __c_locale pointer.
6425         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
6426         named locales.
6427         * testsuite/22_locale/members.cc: New file, test name and combine.
6428
6429         * include/bits/locale_facets.h (class numpunct): Remove class
6430         _Punct and _Numpunct. Rewrite class numpunct to be correct for
6431         named locales.
6432         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
6433         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
6434         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
6435         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
6436         * testsuite/22_locale/numpunct_char_members.cc: New file.
6437
6438 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
6439
6440         * testsuite/README: Add more comment.
6441         * testsuite/lib/libstdc++.exp: Tweak comment.
6442
6443 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
6444
6445         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
6446
6447 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
6448
6449         * testsuite/21_strings/inserters_extractors.cc: Remove
6450         explicit reference to 'testsuite/'.
6451
6452 2001-01-25  Richard Henderson  <rth@redhat.com>
6453
6454         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
6455         bits. Fixes Tru64 build issues.
6456
6457 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
6458
6459         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
6460         (use ${MAKE-make}, not ${MAKE:-make}).
6461         * aclocal.m4, configure: Regenerate.
6462
6463 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
6464
6465         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
6466         checkin.
6467
6468         * src/Makefile.am (sources): Add globals.cc.
6469         * src/Makefile.in: Regenerated.
6470         * src/globals.cc: New file.
6471         * src/ios.cc (cin): Don't define here, just declare extern.
6472         (cout): Likewise.
6473         (cerr): Likewise.
6474         (clog): Likewise.
6475         (wcin): Likewise.
6476         (wcout): Likewise.
6477         (wcerr): Likewise.
6478         (wclog): Likewise.
6479
6480 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
6481
6482         * include/bits/std_iterator.h:  Do not include stl_relops.h.
6483         * include/bits/std_numeric.h:  Ditto.
6484         * include/bits/stl_algobase.h:  Ditto.
6485         * include/bits/stl_relops.h:  Add comment warning about problems.
6486
6487 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
6488
6489         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
6490         in testcases.  Prepare for the DejaGnu based framework.
6491         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
6492         directory -- it is now mkcheck working directory.
6493         * tests_flags.in: Remove reference to $(top_srcdir).  Use
6494         ${SRC_DIR} instead.
6495         * Makefile.am (check, check-install): Change mkcheck invocation
6496         logic.
6497         * Makefile.in: Regenerate.
6498
6499 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
6500
6501         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
6502         (__always_swap): Likewise.
6503
6504 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
6505
6506         * libsupc++/exception_support.cc (__terminate_func): Remove
6507         declaration.
6508         (__terminate_func_ptr): New typedef.
6509         (__terminate, __terminate_set_func): New extern function
6510         prototypes.
6511         (std::terminate): Use __terminate function.
6512         (std::set_terminate): Use __terminate_set_func function.
6513
6514 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
6515
6516         * configure.target: Just use os_include_dir always.
6517         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
6518         Link atomicity files and ctype files here.
6519         * configure: Regenerate.
6520         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
6521         (GLIBCPP_ENABLE_ATOMICITY): Remove.
6522         * aclocal.m4: Regenerate.
6523
6524 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
6525
6526         * configure.in: Place definition of MULTISUBDIR in
6527         libsupc++/Makefile as is done for src/Makefile.
6528         * configure: Regenerate.
6529
6530 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
6531
6532         * acinclude.m4:  Cosmetic changes only.
6533         * aclocal.m4:  Regenerated.
6534         * configure:  Regenerated.
6535         * configure.target:  Update documented list of changed variables.
6536         * docs/html/install.html:  Fix typo.
6537         * docs/html/20_util/howto.html:  More notes on auto_ptr.
6538         * docs/html/27_io/howto.html:  More notes on streabufs.
6539         * docs/html/faq/index.html:  Add rel_ops problem and mention the
6540           DEC as(1) .subsection difficulty.
6541         * docs/html/faq/index.txt:  Regenerated.
6542
6543 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
6544
6545         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
6546         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
6547         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
6548         its already provided in config.target.
6549         * aclocal.m4: Regenerated.
6550         * configure: Likewise.
6551         * configure.target: Set ctype_include_dir for lots of systems.
6552         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
6553         * libsupc++/Makefile.in: Regenerated.
6554
6555 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
6556
6557         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
6558         keyword capability.
6559
6560         * testsuite/README: Add comment.
6561
6562 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
6563
6564         * docs/html/configopts.html:  Update for current status.  Fix HTML.
6565         * docs/html/install.html:  Update for current status.
6566
6567 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6568
6569         * testsuite/libstdc++.tests/tests.exp: New file.
6570         * testsuite/lib/libstdc++.exp: Itou.
6571         * testsuite/README: Itou.
6572
6573 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
6574
6575         * tests_flags.in: Just output the bare minimum to run tests.
6576         Let's the caller do its own arrangement.
6577
6578         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
6579         computations.
6580
6581 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
6582
6583         * testsuite/17_intro: Prepare testcases for new style DejaGnu
6584         framework.
6585
6586 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
6587
6588         * testsuite/libstdc++.tests, testsuite/lib: New directories.
6589
6590 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
6591
6592         * mkcheck.in: Construct file names that match $objdir structure.
6593         * testsuite/27_io/filebuf_members-1.txt: New file.
6594         * testsuite/27_io/ifstream_members-1.txt: New file.
6595         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
6596
6597         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
6598         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
6599
6600 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6601
6602         * testsuite/27_io/istream_sentry.cc (test02): Fix.
6603
6604 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
6605
6606         libstdc++/1605
6607         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
6608         * src/ios.cc (ios_base::failure): Make definitions match.
6609         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
6610         (class bad_cast): Same.
6611         * libsupc++/exception (class exception): Add throw specs.
6612         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
6613         (set_unexpected): Same.
6614         (uncaught_exception): Same.
6615         (what): Same.
6616
6617         * docs/html/17_intro/C++STYLE (classname): Fix.
6618
6619 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
6620
6621         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
6622         Use it do explicitly instantiate predicate<T> and value<T> for
6623         all the builtin Ts.
6624
6625 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
6626
6627         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
6628         uninitialized thinko in last change.
6629
6630 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
6631
6632         * libsupc++/exception_support.cc (__cp_pop_exception): Change
6633         prototype.
6634
6635 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
6636
6637         * docs/html/17_intro/C++STYLE (classname): Add more existing
6638         and stylish patterns.
6639
6640         libstdc++/944
6641         * include/bits/istream.tcc (istream::sentry::sentry()): Set
6642         failbit if the state of the stream is not good.
6643         * testsuite/27_io/istream_sentry.cc (test02): Add test.
6644         * testsuite/27_io/istream_manip.cc (test01): Modify.
6645
6646         libstdc++/1019
6647         reported by Paolo Carlini <pcarlini@unitus.it>
6648         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
6649         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
6650
6651         libstdc++/1057
6652         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
6653         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
6654         (xsgetn): Same. Simplify.
6655         * testsuite/27_io/streambuf.cc (test04): Add testcases.
6656
6657         reported by Larry Evans <jcampbell3@prodigy.net>
6658         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
6659         equality with eof on returned value from overflow.
6660
6661 2001-01-14  Andreas Jaeger  <aj@suse.de>
6662
6663         * libio/libio.h: Add test for glibc 2.0.
6664
6665 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
6666
6667         * config/os/djgpp/bits/*: Fix dates.
6668
6669         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
6670         _CharT* __end, _CharT __c): Remove.
6671         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
6672         * include/bits/char_traits.h: Tweak.
6673
6674 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
6675
6676         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
6677         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
6678         bash bug.
6679         * aclocal.m4: regenerated.
6680         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
6681         * configure: regenerated.
6682         * config/os/djgpp, config/os/djgpp/bits: new directories.
6683         * config/os/djgpp/bits/ctype_base.h,
6684         config/os/djgpp/bits/ctype_inline.h,
6685         config/os/djgpp/bits/ctype_noninline.h,
6686         config/os/djgpp/bits/os_defines.h: new files.
6687
6688 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
6689
6690         * include/c_std/bits/std_cstdio.h: Undef printf.
6691
6692 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
6693
6694         * src/ios.cc: Fix typo: change cout->wcout.
6695
6696         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
6697         * src/Makefile.in: Regenerate.
6698
6699 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6700
6701          * include/bits/std_complex.h: Fix a typo.
6702
6703 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
6704                              <kainz@ilm.com>
6705
6706         Fixes for libstdc++/1576
6707         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
6708         file, move contents into....
6709         * src/ios.cc: ...Here. Put defines for iostreams objects and
6710         initialization routines into one file to simplify DSO interaction.
6711         * include/bits/std_iostream.h: Touch.
6712         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
6713         * src/Makefile.am (sources): Remove stdstreams.cc.
6714         * src/Makefile.in: Regenerate.
6715
6716 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
6717
6718         * tests_flags.in (check_directory): Fix typo.
6719
6720 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
6721
6722          * include/bits/std_complex.h: Fix a typo.
6723
6724 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
6725
6726         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
6727         code path:) Remove magic constants and restructure to handle
6728         ctype.h bit mask layout changes more gracefully.  (Make fast
6729         code path:) Use __maskrune (), if available.
6730         (is): Remove special case for digit and xdigit masks.
6731
6732 2001-01-09  Robert Lipe <robertlipe@usa.net>
6733
6734         * include/c_std/bits/std_ctime.h: Undefine difftime.
6735
6736 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
6737
6738         * src/gen-num-limits.cc (signal_adapter): New template function.
6739         (signal_handler): Use it, instead of signal.
6740         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
6741         require both tests to trap to set trap_flag.
6742
6743 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6744
6745         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
6746         initialize mbstate_t member, name offset data members *off, not pos.
6747         * include/bits/fstream.tcc (filebuf::filebuf): Same.
6748
6749 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
6750
6751         reported by Chris G. Demetriou <cgd@sibyte.com>
6752         * configure.in: Change -linux-* to -linux*.
6753         * configure: Regenerate.
6754
6755 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
6756
6757         Fix 27_io/filebuf_members.cc
6758         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
6759         const string& __name, category __cat, size_t __refs): Set
6760         _M_has_name with _M_name.
6761         * include/bits/localefwd.h (locale::operator!=): Protect member
6762         function call with this->.
6763         * src/locale.cc (locale::operator==): Make fast checks first.
6764         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
6765
6766         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
6767         to ios_base::Init.
6768         * src/ios.cc (ios_base::Init::Init): Initialize here.
6769         (ios_base::sync_with_stdio): Set here.
6770
6771 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
6772
6773         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
6774         systems that support it, call dup() before fdopen().
6775
6776 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
6777
6778         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
6779         * testsuite/17_intro/header_cwctype.cc (main): New file.
6780
6781         * src/Makefile.am (base_headers): Change.
6782         * include/bits/std_string.h: And here.
6783         * include/bits/string.tcc: Tweaks, move to...
6784         * include/bits/basic_string.tcc: ...Here.
6785         * src/string-inst.cc: Simplify, just instantiate the whole class,
6786         not member-by-member.
6787
6788 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
6789
6790         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
6791         * aclocal.m4: Regenerate.
6792         * configure: Regenerate.
6793
6794         * include/bits/c++config (__GLIBCPP__): Bump version number.
6795
6796         * ChangeLog: Start new log for year 2001
6797         * ChangeLog-2000: New file.
6798
6799         * docs/html/configopts.html: Make sure default values are current,
6800         add commentary.
6801
6802 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
6803
6804         * include/c_std/bits/std_cwchar.h: Same.
6805         * testsuite/17_intro/header_cwchar.cc: Same.
6806         * include/c_std/bits/std_ctime.h: Same.
6807         * testsuite/17_intro/header_ctime.cc: Same.
6808         * include/c_std/bits/std_cstdlib.h: Same.
6809         Clean up undefs, make consistent with cwchar and cmath, etc.
6810         * testsuite/17_intro/header_cstdlib.cc: Same.
6811         * include/c_std/bits/std_cstdio.h: Same here.
6812         * testsuite/17_intro/header_cstring.cc: Same.
6813         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
6814         * testsuite/17_intro/header_cstring.cc: New file. Check for
6815         size_t in namespace std.
6816
6817         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
6818         * acconfig.h (HAVE_MBSTATE_T): Add.
6819         * config.h.in: Regenerate.
6820         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
6821         mbstate_t.
6822         * aclocal.m4: Regenerate.
6823         * configure: Regenerate.
6824         * testsuite/17_intro/headers_c++.cc: New file.
6825         * testsuite/17_intro/headers_c.cc: Small changes.
6826
6827 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
6828
6829         * tests_flags.in: Fix typo in usage.
6830
6831         * tests_flags.in: Set target specific LIBS for cygwin.