OSDN Git Service

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