OSDN Git Service

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