OSDN Git Service

2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2         
3         PR libstdc++/6501
4         * include/c_std/std_cctype.h: Include bits/c++config.h.
5         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
6
7 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
8
9         * include/ext/stdio_filebuf.h: New file.
10         * include/ext/enc_filebuf.h: New file.  
11         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
12         * config/io/basic_file_stdio.cc: Same.  
13         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
14         Remove _M_unbuf hacks.
15         (filebuf::_M_destroy_internal_buffer): Same.
16         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
17         (filebuf::fd): Remove.
18         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
19         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
20         (filebuf::fd): Remove.  
21         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
22         filebufs.
23         (ios_base::_S_ios_destroy): Same.
24         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
25         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
26         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
27
28 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
29
30         PR libstdc++/6511
31         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
32
33 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
34
35         PR libstdc++/5820
36         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
37         Check for eof.
38         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
39         (istreambuf_iterator::operator++): Invalidate on eof.
40         (istreambuf_iterator::operator++(int)): Same.
41         (istreambuf_iterator::operator*): Same.
42         
43 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
44
45         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
46         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
47         LD_LIBRARY64_PATH. 
48
49 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
50
51         PR libstdc++/5820
52         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
53         (__basic_file::sys_ungetc): Take int.
54         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
55         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
56         Use sys_getc for unbuffered input.
57         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
58         
59         * src/ios.cc (_M_grow_words): Adjust error checking.
60         * testsuite/27_io/ios_base_storage.cc: Same.
61
62 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
63
64         * include/ext/stl_hashtable.h: Import __iterator_category
65
66 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
67             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
68
69         * testsuite/ext/hash_set.cc: New testfile.
70
71 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
72
73         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
74         _G_USING_THUNKS.
75         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
76         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
77
78 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
79
80         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
81         Fix and tighten __throw_length_error check.
82         * testsuite/21_strings/replace.cc (test05): New.
83         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
84
85 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
86
87         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
88         unconditional flush on lower-layer handle to here...
89         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
90         ...from here.  Optimize remaining _M_file.sync() call pattern.
91         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
92         (test05): Likewise.
93
94 2002-04-23  Jason Merrill  <jason@redhat.com>
95
96         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
97         output-only filebufs.
98         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
99         Likewise.
100         (basic_filebuf::_M_set_determinate): Likewise.
101
102         PR libstdc++/6414
103         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
104         value properly in the trivial case.
105         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
106         tellg() returns the right value after a read.
107
108 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
109
110         * config/cpu/mmix/bits/cpu_limits.h: New file.
111         * configure.target (CPULIMITSH): Use it.
112
113 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
114
115         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
116         * docs/html/17_intro/porting.html: Rebuilt.
117
118 2002-04-20  Jason Merrill  <jason@redhat.com>
119
120         PR libstdc++/4150
121         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): 
122         Move to filebuf.
123         (basic_streambuf::_M_set_determinate): Likewise.
124         (basic_streambuf::_M_is_indeterminate): Likewise.
125         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New 
126         non-static data member.
127         (basic_filebuf::_M_underflow_common): New non-static member function.
128         (basic_filebuf::_M_underflow, _M_uflow): Call it.
129         (basic_filebuf::sync): Avoid useless seeking.
130         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
131         Set _M_filepos.
132         (basic_filebuf::_M_set_determinate): Likewise.
133         (basic_filebuf::_M_is_indeterminate): Likewise.
134         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
135         back to _M_out_beg if necessary.
136         (basic_filebuf::seekoff): Likewise.
137         (basic_filebuf::_M_underflow_common): Generalization of old 
138         underflow().  Don't seek back to _M_in_beg.
139         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
140         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
141         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
142         * config/os/mingw32/bits/os_defines.h: Likewise.
143         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify 
144         ungetc test.
145
146 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
147
148         * include/bits/istream.tcc (istream::read): Fix.
149         * testsuite/27_io/istream_unformatted.cc (main): Add.
150
151 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
152
153         PR libstdc++/6360
154         * include/bits/istream.tcc (istream::ignore): Streamline, use
155         delimiter as is.
156         * include/bits/streambuf.tcc: Use this->gptr.
157         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
158         
159 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
160
161         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
162         as type safety is important, especially on solaris.
163         * include/bits/istream.tcc (istream::read): Clean.
164         (istream::readsome): Same.
165         * locale.cc: Wrap lines.
166
167         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
168         * testsuite/27_io/instantiations.cc (test): Add bool variable...
169         * testsuite/21_strings/capacity.cc: Clean.
170                 
171 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
172
173         * docs/doxygen/doxygroups.cc:  New group on binary searching.
174         * include/bits/stl_algo.h:  Document binary searches and merges.
175         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
176
177 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
178
179         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
180         * docs/doxygen/run_doxygen:  Bump required version.
181         * docs/doxygen/user.cfg.in:  Revert accidental change.
182         * docs/html/faq/index.html:  Reindent a block of links.
183         (4.4):  New note on using dlsym.
184         * docs/html/faq/index.txt:  Regenerated.
185
186 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
187
188         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
189
190 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
191
192         * config/linker-map.gnu (__malloc_alloc_template): Add.
193         (__default_alloc_template): Same.       
194         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
195         template.
196         (__default_alloc_template): Same.
197         
198 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
199
200         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
201
202 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
203
204         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
205         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
206         (__malloc_alloc_template): Conditionalize.
207
208         * include/bits/istream.tcc: Remove sputbackc calls.
209
210         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
211         
212 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
213
214         * testsuite/24_iterators/rel_ops.cc: New test.
215         
216 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
217
218         * include/bits/type_traits.h (__normal_iterator): Declare in
219         __gnu_cxx.  Adjust use at global namespace.
220         * include/bits/stl_iterator.h (__normal_iterator): Move definition
221         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
222         * include/bits/basic_string.h (basic_string): Adjust use of
223         __normal_iterator.
224         * include/bits/stl_vector.h (_Alloc>): Likewise.
225         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
226         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
227
228 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
229
230         PR libstdc++/4164
231         Valgrind fixes.
232         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
233         Call close.
234         (__basic_file::close): Call fflush. Correct return if fclose ok. 
235         (__basic_file::is_open): Make const.
236         Change __c_file_type to __c_file.
237         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
238         (__basic_file::is_open): Make const.    
239         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
240         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
241         (filebuf::_M_unbuf): Add.
242         (filebuf::_M_file): Change to non-pointer.
243         (filebuf::_M_allocate_pback_buffer): Remove.
244         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
245         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
246         Change initialization list for _M_file change.
247         (filebuf::_M_allocate_pback_buffer): Remove.
248         Change _M_file usage to reflect non-pointer data member.
249         
250         * config/locale/generic/c_locale.cc
251         (locale::facet::_S_create_c_locale): Add parameter.
252         * config/locale/generic/collate_members.cc: Change
253         _M_compare_helper to _M_compare.
254         Change _M_transform_helper to _M_transform.
255         * config/locale/generic/monetary_members.cc: Changeup data types.
256         Add dtors.
257         * config/locale/generic/numeric_members.cc: Add dtors.
258         * config/locale/generic/time_members.cc: Add dtors.
259         * config/locale/gnu/c_locale.cc: Add parameter.
260         * config/locale/gnu/collate_members.cc:Change
261         _M_compare_helper to _M_compare.
262         Change _M_transform_helper to _M_transform.
263         * config/locale/gnu/ctype_members.cc: Better error checking.
264         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
265         * config/locale/gnu/messages_members.cc: Tweak comment.
266         * config/locale/gnu/monetary_members.cc: Change data types.
267         Add dtors.
268         * config/locale/gnu/numeric_members.cc: Add dtors, better error
269         checking.
270         * config/locale/gnu/time_members.cc: Same.
271         * config/locale/ieee_1003.1-2001/c_locale.cc
272         (locale::facet::_S_create_c_locale): Add parameter.
273         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
274         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
275         bogus ctor.
276         
277         * include/bits/locale_facets.h (moneypunct): Use string literals.
278         Don't define dtor.
279         (numpunct): Same.
280         (__timepunct): Same.
281         (locale::_Impl::_M_facets): Change from vector to array.
282         (locale::_Impl::_M_names): Change from array of strings to array
283         of string literals.
284         (locale::facet::_S_create_c_locale): Add parameter.
285         (locale::locale::_S_num_facets): Move to...
286         (locale::_Impl::_M_facets_size): Here.
287         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
288         changes.
289         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
290         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
291         (locale::_Impl::_Impl(string, size_t)): Change to
292         (locale::_Impl::_Impl(const char*, size_t)): This.
293         
294         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
295         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
296         (streambuf::_S_pback_size): This.
297
298         * src/globals.cc: Add pre-allocations for "C" facets.
299         * src/locale-inst.cc: Remove vector instantiations.
300         * src/locale.cc: Remove vector include. Fixups for _M_names,
301         _M_facets changes.
302         * src/localename.cc: Same.
303
304         * include/bits/stl_vector.h: Fix odd formatting.
305         
306         * include/bits/basic_string.tcc: Tweak comment.
307
308         * libsupc++/new: Make sure parameters are uglified.
309         * libsupc++/typeinfo: Same.
310                 
311         * testsuite/22_locale/num_get_members_char.cc: Fixup.
312         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
313         * testsuite/27_io/filebuf_members.cc: Same.
314
315 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
316
317         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
318         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
319         does not define strtoll or strtoull, but does define strtol
320         and strtoul which are the same since in 64 bit mode
321         sizeof(long) == sizeof(long long).
322
323 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
324
325         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
326         trailing spaces, indentation, and macro names.  Make exception
327         messages more informative.
328
329 2002-04-11  Richard Henderson  <rth@redhat.com>
330
331         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
332         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
333         (basic_ostream<>::operator<<(long long)): Same.
334
335 2002-04-11  Richard Henderson  <rth@redhat.com>
336
337         * config/linker-map.gnu: Add __gxx_personality_sj0.
338
339 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
340
341         libstdc++/1072
342         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
343         pointer to vector.
344         Remove forward declaration of vector.
345         Include vector.
346         * include/bits/locale_facets.tcc: Remove vector include.
347         (use_locale): Adjust.
348         (has_locale): Adjust.
349         * src/locale.cc: Adjust.
350         * src/localename.cc: Same.
351         
352 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
353             Richard Henderson  <rth@redhat.com>
354
355         * include/bits/sstream.tcc: Clean up bit ops.
356         * include/bits/fstream.tcc: Same.
357         
358 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
359
360         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
361         (__num_base::_S_scale_oct): Remove.
362         * src/locale.cc (__num_base::_S_scale_hex): Remove.
363         (__num_base::_S_scale_oct): Remove.
364
365 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
366
367         libstdc++/6124
368         * testsuite/23_containers/bitset_members.cc: New test.
369         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
370         (_S_bit_count): Here.
371         (_First_one::_S_first_one): Move...
372         (_S_first_one): Here.
373         Format.
374         * src/bitset.cc: Adjust.
375         * config/linker-map.gnu: Export.
376         
377 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
378
379         libstdc++/5180
380         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
381         * include/std/std_fstream.h: Clean.
382         * include/bits/ostream.tcc: Remove extraneous variables.
383         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
384         open modes and which modes.
385         (stringbuf::seekpos): Same.
386         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
387         
388 2002-04-05  Jonathan Wakely <jw@kayari.org>
389
390         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
391         random_shuffle, partition, stable_partition, sort, stable_sort,
392         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
393
394 2002-04-05  David S. Miller  <davem@redhat.com>
395
396         * config/os/gnu-linux/bits/os_defines.h
397         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
398
399 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
400
401         libstdc++/3457 
402         via gawrilow@math.tu-berlin.de
403         * acinclude.m4 (version_specific_libs): Fix combo usage with
404         --with-gxx-include-dir.
405         * aclocal.m4: Regenerate.
406         * configure: Same.
407         
408 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
409
410         As per DR 184, libstdc++/3139
411         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
412         (numeric_limits<bool>::is_iec559): False.
413         (numeric_limits<bool>::is_modulo): False.       
414
415         * testsuite/27_io/ios_init.cc: Add instantiations.
416
417 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
418         
419         libstdc++/5268
420         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
421         * testsuite/27_io/ios_init.cc (tests04): Add test.
422
423         libstdc++/3983
424         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
425         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
426         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
427         * include/bits/istream.tcc: Use _M_fctype, make consistent with
428         ostream.
429         * testsuite/27_io/ios_init.cc (tests03): Add test.
430         
431 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
432
433         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
434         * include/Makefile.in:  Regenerate.
435
436 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
437             Nathan Myers  <ncm@cantrip.org>
438             Philip Martin  <philip@codematters.co.uk>
439
440         * include/bits/basic_string.h
441         (replace(i1, i2, _CharT* k1, _CharT* k2),
442         replace(i2, i2, const _CharT* k1, const _CharT* k2),
443         replace(i1, i2, iterator k1, iterator k2,
444         replace(i1, i2, const_iterator k1, const_iterator k2):
445         New specializations to optimize for the common cases of
446         pointers and iterators.
447         (replace(pos, n1, s, n2)): Tweak.
448         * include/bits/basic_string.tcc: Tweak comments.
449         * testsuite/21_strings/replace.cc (test04): New tests.
450
451 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
452
453         libstdc++/5542
454         * acinclude: More extensive checks for msgfmt, --enable-nls.
455         * aclocal.m4: Regenerate.
456         * configure: Regenerate.
457
458 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
459
460         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
461         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
462         * docs/html/18_support/howto.html:  Document the demangler.
463         * docs/html/17_intro/howto.html:  And link to it.
464
465         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
466         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
467
468 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
469
470         * config/linker-map.gnu:  Export __verbose_terminate_handler.
471         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
472         Make new LTCOMPILE variable, use it in new special build rules.
473         * libsupc++/Makefile.in:  Rebuild.
474         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
475         runtime __cxa_demangle.
476
477         * docs/html/install.html:  Update prereqs and instructions.
478         * docs/html/19_diagnostics/howto.html:  Bring naming for
479         verbose_terminate_handler into line with reality.
480
481 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
482         
483         libstdc++/3129
484         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
485         (basic_ios::_M_streambuf_state): Move.  
486         * include/bits/ios_base (ios_base): To here.
487         * include/bits/ios_base.h (ios_base::_S_local_words): To
488         _S_local_word_size.
489         (ios_base::_M_word_array): To _M_local_word.
490         (ios_base::_M_words_limit): To _M_word_size.    
491         (ios_base::_M_words): To _M_word.               
492         Comment.
493         * include/bits/basic_ios.tcc: Adjust.   
494         * src/ios.cc (ios_base::_M_grow_words): Tweak.
495         * testsuite/27_io/ios_base_storage.cc: Add tests.
496
497         libstdc++/5207
498         Kenny Simpson <theonetruekenny@yahoo.com>
499         * include/bits/ios_base.h: Fix.
500         
501         Richard Henderson  <rth@redhat.com>
502         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
503         last change.
504
505         * include/bits/basic_string.h: Tweak formatting.
506         
507 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
508
509         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
510         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
511         By definition, sizeof(char) == 1.
512         * include/bits/locale_facets.tcc (money_get::do_get,
513         money_put::do_put): Ditto.
514         * testsuite/21_strings/inserters_extractors.cc
515         (test04): Ditto.
516
517 2002-03-30  Richard Henderson  <rth@redhat.com>
518
519         PR c++/3719
520         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
521         data out of the exception struct before calling unexpectedHandler.
522
523 2002-03-28  Roger Sayle  <roger@eyesopen.com>
524
525         * include/c_std/std_cmath.h:  To prevent problems overloading
526         g++ builtins, use the double variants from the global namespace
527         before defining float and long double variants in std::.
528
529 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
530
531         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
532
533 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
534
535         * testsuite/24_iterators/istream_iterator.cc
536         (test02): New tests.
537
538 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
539             Paolo Carlini  <pcarlini@unitus.it>
540
541         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
542         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
543         fix i_lit_base e_lit_base arrays, making them independent
544         from the endianness of the platform; tweak UCS4 to UCS-4BE.
545
546 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
547
548         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
549         allocate at least a byte.
550
551         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
552         debugger-friendly.
553         * testsuite/27_io/streambuf.cc (test07): Fix.
554         (test06): Enable.
555
556 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
557
558         * docs/doxygen/Intro.3:  Date tweak.
559         * docs/doxygen/TODO:  Update.
560         * docs/doxygen/doxygroups.cc:  Point to tables.html.
561         * docs/doxygen/mainpage.html:  Date tweak.
562         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
563         * docs/doxygen/tables.html:  Fill in the blanks.
564
565         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
566         * include/bits/stl_algo.h:  Likewise; use expanded form.
567         * include/bits/stl_alloc.h:  Likewise.
568         * include/bits/stl_construct.h:  Likewise.
569         * include/bits/stl_deque.h:  Likewise.
570         * include/bits/stl_iterator_base_types.h:  Likewise.
571         * include/bits/stl_list.h:  Likewise.
572         * include/bits/stl_relops.h:  Likewise.
573         * include/bits/stl_tempbuf.h:  Likewise.
574         * include/bits/stl_vector.h:  Likewise.
575         * include/std/std_memory.h:  Likewise.
576
577         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
578         * include/bits/stl_list.h:  Likewise.
579         * include/bits/stl_vector.h:  Likewise.
580
581 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
582
583         * include/c/: Guard with _CPP_.
584         * include/c_std/: Same.
585         * include/Makefile.am: Fixup install, link routines for null
586         c_base_headers_extra scenarios.
587         * include/Makefile.in: Regerate.
588
589 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
590             Richard Henderson  <rth@redhat.com>
591
592         * testsuite/22_locale/codecvt_members_unicode_char.cc
593         (test01, test02): make sure that the i_lit_base array
594         is sufficiently aligned.
595
596 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
597
598         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
599         _ctype_.
600
601 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
602
603         * testsuite/22_locale/collate_byname.cc
604         (test01): compare the result of collate::compare with
605         that of collate::transform + string::compare, not with
606         that of collate::transform + collate::compare; values
607         returned by collate::compare are normalized, therefore
608         test against +-1.
609
610 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
611             Jakub Jelinek  <jakub@redhat.com>
612
613         * config/locale/gnu/messages_members.h: Correct conditional.
614         * config/locale/gnu/messages_members.cc: Same.
615         * config/locale/gnu/time_members.cc: Same.
616
617 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
618             Paolo Carlini  <pcarlini@unitus.it>
619
620         * testsuite/22_locale/codecvt_members_unicode_char.cc
621         (test01, test02): Fix i_lit_base arrays, making them
622         independent from the endianness of the platform.
623
624 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
625
626         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
627         signbit and __signbit directly.
628         * aclocal.m4: Regenerate.
629         * configure: Regenerate.
630         * config.h.in: Regenerate.
631         * libmath/Makefile.am: Simplify.
632         * libmath/Makefile.in: Regenerate.
633         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
634
635         * include/Makefile.am: Clean up handling of extra "C" header files.
636         Add hooks for "C" compatibility headers.
637         * include/Makefile.in: Regenerate.
638
639         * include/c/*: Formatting tweaks, cleanups.
640         * include/c_std/*: Same.
641
642 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
643
644         * config/locale/gnu/messages_members.h: Add __uselocale bits.
645         * config/locale/gnu/messages_members.cc: Same.
646         * config/locale/gnu/time_members.cc: Same.
647
648 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
649
650         * src/vterminate.cc: Format, -fno-exceptions cleanup.
651
652 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
653
654         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
655         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
656         * aclocal.m4: Regenerate.
657         * configure: Likewise.
658
659 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
660             Ulrich Drepper  <drepper@redhat.com>
661
662         * src/locale-inst.cc (__convert_from_v): Add an additional
663         __size parameter in the declarations.
664         * include/bits/locale_facets.tcc
665         (__convert_from_v): When available (that is,
666         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
667         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
668         being defined or not, call and use __convert_from_v in the
669         appropriate way.
670         (num_put::_M_convert_int): Same here.
671         (money_put::do_put(long double)): Same here.
672
673 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
674
675         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
676         * docs/html/faq/index.txt:  Regenerate.
677
678 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
679
680         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
681         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
682         --enable-libunwind-exceptions is set.
683         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
684         macro to check for libunwind.
685         * configure: Regenerate.
686         * src/Makefile.am (libstdc___la_LDFLAGS): Add
687         LIBUNWIND_FLAG to libstdc link line.
688         * src/Makefile.in: Regenerate.
689
690 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
691
692         * docs/html/faq/index.html: Add OS X workaround.
693         * docs/html/17_intro/TODO: Update.
694
695 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
696
697         * include/bits/locale_facets.tcc
698         (money_put::do_put(long double)): Fix dimensioning of
699         temporary buffers to avoid risk of overruns.
700         (money_put::do_put(string)): Same for the buffer used to
701         add the grouping chars.
702         * testsuite/22_locale/money_put_members_char.cc: Add test06.
703         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
704
705         * include/bits/locale_facets.tcc
706         (collate::do_transform): Simplify.
707
708 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
709
710         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
711         * configure.in:  Add comments pointing the way for autoconf 2.5x.
712         * aclocal.m4, config.h.in, configure:  Regenerate.
713
714 2002-03-18  Philipp Thomas  <pthomas@suse.de>
715
716         * include/backward/hash_map.h: hash, hashtable, hash_map and
717         hash_multimap are in namespace __gnu_cxx.
718         include/backward/hash_set.h: hash, hashtable, hash_set and
719         hash_multiset are in namespace __gnu_cxx.
720         include/backward/hashtable.h: hash and hashtable are in
721         namespace __gnu_cxx.
722         include/backward/rope.h: char_producer, sequence_buffer,
723         rope, crope and wrope are in namespace __gnu_cxx.
724         include/backward/slist.h: slist is in namespace __gnu_cxx.
725         * testsuite/backward/header_hash_map_h.cc
726         testsuite/backward/header_hash_set_h.cc
727         testsuite/backward/header_hashtable_h.cc
728         testsuite/backward/header_rope_h.cc
729         testsuite/backward/header_slist_h.cc
730         testsuite/backward/header_tempbuf_h.cc: New tests for
731         checking that we're using the correct namespace.
732
733 2002-03-17  Jason Merrill  <jason@redhat.com>
734
735         PR c++/4381
736         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
737         (check_exception_spec): Call it.  Take the thrown pointer.
738         (__cxa_call_unexpected): Pass it.
739         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
740
741 2002-03-15  Anthony Green  <green@redhat.com>
742
743         * configure.in: Remove useless is_mingw32.
744         * configure: Rebuilt.
745
746 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
747
748         * testsuite/22_locale/collate_members_char.cc
749         (test01): compare the result of collate::compare with
750         that of collate::transform + string::compare, not with
751         that of collate::transform + collate::compare.
752         (test01): values returned by collate::compare are
753         normalized, therefore test against +-1.
754         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
755
756 2002-03-12  Loren Rittle  <ljrittle@acm.org>
757
758         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
759         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
760
761 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
762             Per Liboriussen  <liborius@stofanet.dk>
763
764         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
765         unsigned char.
766         * config/os/gnu-linux/bits/ctype_inline.h: Same.
767
768         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
769
770         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
771         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
772
773         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
774         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
775
776         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
777         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
778
779         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
780
781 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
782
783         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
784         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
785         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
786         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
787         that memory limits are in place.
788         (test03): Add tests.
789
790 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
791
792         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
793         * aclocal.m4: Regenerate.
794         * config.h.in: Regenerate.
795         * configure: Regenerate.
796         * include/c_std/std_cwctype.h: Guard.
797
798 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
799
800         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
801         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
802         * aclocal.m4: Regenerate.
803         * configure: Regenerate.
804
805 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
806
807         * include/bits/stl_bvector.h: Fix warning.
808
809 2002-03-11  Richard Henderson  <rth@redhat.com>
810
811         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
812
813 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
814
815         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
816         New function.  Build the list of tests to run in testsuite_files.
817         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
818
819 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
820
821         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
822         platforms with no weak support.
823         * testsuite/27_io/ios_init.cc:  Likewise.
824
825 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
826
827         * include/bits/locale_facets.tcc (time_put::do_put):
828         Consider sizeof(char_type) in allocating the buffer.
829
830         * include/bits/locale_facets.tcc (collate::do_tranform):
831         Remove redundant variable.
832
833 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
834             Paolo Carlini  <pcarlini@unitus.it>
835
836         * config/locale/generic/collate_members.cc
837         (collate<char,wchar_t>::_M_compare_helper): normalize
838         values returned by strcoll and wcscoll.
839         * config/locale/gnu/collate_members.cc
840         (collate<char,wchar_t>::_M_compare_helper): ditto
841         for __strcoll_l and __wcscoll_l.
842
843 2002-03-10  Anthony Green  <green@redhat.com>
844
845         * configure.in: Support cross builds to mingw32 target.
846         * configure: Rebuilt.
847
848 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
849
850         * include/bits/locale_facets.tcc (collate::do_transform):
851         Rewrite to fix problems with long transformed strings.
852
853 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
854
855         * c_locale_generic.cc: Move to...
856         * generic/c_locale.cc
857         * c_locale_generic.h: Move to...
858         * generic/c_locale.h
859         * codecvt_specializations_generic.h: Move to...
860         * generic/codecvt_specializations.h
861         * collate_members_generic.cc: Move to...
862         * generic/collate_members.cc
863         * ctype_members_generic.cc: Move to...
864         * generic/ctype_members.cc
865         * messages_members_generic.cc: Move to...
866         * generic/messages_members.cc
867         * messages_members_generic.h: Move to...
868         * generic/messages_members.h
869         * moneypunct_members_generic.cc: Move to...
870         * generic/monetary_members.cc
871         * numpunct_members_generic.cc: Move to...
872         * generic/numeric_members.cc
873         * time_members_generic.cc: Move to...
874         * generic/time_members.cc
875         * c_locale_gnu.cc: Move to...
876         * gnu/c_locale.cc
877         * c_locale_gnu.h: Move to...
878         * gnu/c_locale.h
879         * collate_members_gnu.cc: Move to...
880         * gnu/collate_members.cc
881         * ctype_members_gnu.cc: Move to...
882         * gnu/ctype_members.cc
883         * messages_members_gnu.cc: Move to...
884         * gnu/messages_members.cc
885         * messages_members_gnu.h: Move to...
886         * gnu/messages_members.h
887         * moneypunct_members_gnu.cc: Move to...
888         * gnu/monetary_members.cc
889         * numpunct_members_gnu.cc: Move to...
890         * gnu/numeric_members.cc
891         * time_members_gnu.cc: Move to...
892         * gnu/time_members.cc
893         * c_locale_ieee_1003.1-200x.cc: Move to...
894         * ieee_1003.1-2001/c_locale.cc
895         * c_locale_ieee_1003.1-200x.h: Move to...
896         * ieee_1003.1-2001/c_locale.h
897         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
898         * ieee_1003.1-2001/codecvt_specializations.h
899         * messages_members_ieee_1003.1-200x.cc: Move to...
900         * ieee_1003.1-2001/messages_members.cc
901         * messages_members_ieee_1003.1-200x.h: Move to...
902         * ieee_1003.1-2001/messages_members.h
903
904         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
905         * aclocal.m4: Regenerate.
906         * configure: Regenerate.
907         * src/Makefile.am (sources): Change to monetary and numeric.
908         * src/Makefile.in: Regenerate.
909         * docs/html/configopts.html: Update to ieee_1003.1-2001.
910
911 2002-03-08  scott snyder  <snyder@fnal.gov>
912
913         libstdc++/5875
914         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
915         Allow one more digit of precision.
916         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
917         write a double and read back in the same value.
918
919 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
920
921         * include/std/std_limits.h: Move static const data members out of
922         generic template, into base class __numeric_limits_base.
923         * src/limits.cc: Add definitions.
924         * config/linker-map.gnu: Add __numeric_limits_base.
925         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
926
927 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
928
929         * include/bits/stl_alloc.h: Add extern implicit allocator
930         instantiations.
931         * include/bits/basic_string.tcc: Tweak.
932         * include/bits/locale_facets.tcc: Remove default args. Add
933         has_facet, use_facet extern instantiations.
934         * src/stl-inst.cc: Add explicit instantiation.
935         * src/locale-inst.cc: Clean. Remove locale member template
936         instantiations.
937
938         * testsuite/22_locale/operators.cc (test02): Enable.
939
940 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
941             Stephen M. Webb  <stephen.webb@bregmasoft.com>
942
943         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
944         (_S_rb_tree_black): Make enum.
945         Clean. Format.
946         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
947         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
948         (__stl_threshold): _M_threshold, enum.
949         * src/stl-inst.cc: Same.
950         * config/linker-map.gnu: Remove.
951
952         * testsuite/23_containers/vector_bool.cc: New.
953
954 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
955
956         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
957         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
958         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
959         referring to the collection as a whole.  New section on which macros
960         can be redefined by the user.
961         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
962         * docs/html/20_util/howto.html:  Update link to SGI.
963         * docs/html/faq/index.html:  Update snapshot versions.  New entry
964         on why g++ (but not gcc) must currently predefine certain macros.
965         * docs/html/faq/index.txt:  Regenerated.
966
967         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
968         names in declaration.
969         (basic_string::compare):  These are no longer optional.
970         * include/bits/ostream.tcc:  Tweak closing brace placement.
971         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
972         * include/std/std_sstream.h:  Fix typo in comment.
973         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
974         * src/locale.cc:  Likewise.
975
976 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
977
978         PR libstdc++/5734
979         * include/bits/stl_vector.h (vector::push_back()):  Guard with
980         _GLIBCPP_DEPRECATED.
981
982 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
983
984         * include/bits/c++config:  Fix misplaced leading blanks on first line.
985
986 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
987
988         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
989         * README (libmath): Make clear.
990
991 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
992
993         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
994         script globbing in ld.
995         * aclocal.m4: Rebuilt.
996         * configure: Rebuilt.
997
998 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
999
1000         * docs/html/17_intro/RELEASE-NOTES: Update.
1001         * README: Format subdirectories.
1002
1003 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
1004
1005         libstdc++/5816
1006         * include/bits/locale_facets.tcc
1007         (num_get::_M_extract_float): Fix the parsing of __dec, since
1008         the standard prescribes that if no grouping characters are
1009         seen, no grouping check is applied.
1010         * testsuite/22_locale/num_get_members_char.cc: Add test05
1011         distilled from the PR.
1012         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1013
1014 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
1015
1016         * docs/html/17_intro/porting-howto.xml: Refer to
1017         http://www.oasis-open.org for docbookx.dtd.
1018         * docs/html/17_intro/porting-howto.html: Regenerated.
1019
1020 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
1021
1022         PR libstdc++/3955
1023         * include/std/std_sstream.h:  Remove trailing spaces.
1024         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
1025         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
1026
1027 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
1028
1029         * testsuite/22_locale/num_get_members_char.cc (test04):
1030         Use a named locale expecting grouping (de_DE).
1031         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
1032         Ditto.
1033         * testsuite/27_io/ios_manip_basefield.cc (test01):
1034         Extend coverage, uniform treatment of hexs and octs.
1035
1036 2002-02-28  Richard Henderson  <rth@redhat.com>
1037
1038         * config/linker-map.gnu: Export operator new with unsigned long,
1039         and with std::nothrow_t.  Likewise operator delete.
1040
1041 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
1042
1043         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
1044         Admit grouping for octals and hexadecimals too.
1045         * testsuite/22_locale/num_get_members_char.cc: Add test04.
1046         (test01): Tweak "." -> "," in void* test.
1047         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
1048
1049         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
1050         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
1051
1052 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
1053
1054         * testsuite/27_io/ios_manip_basefield.cc (test01):
1055         Fix for 64 bit machines.
1056
1057 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
1058
1059         libstdc++/3983
1060         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
1061         Adjust comment.
1062         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
1063         (basic_ios::_M_fill_init): New.
1064         (basic_ios::fill()): Delay dealing with _M_fill.
1065         Adjust comment.
1066         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
1067         (ios_base::_M_call_callbacks): Adjust.
1068         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
1069
1070 2002-02-26  Loren Rittle  <ljrittle@acm.org>
1071
1072         * include/Makefile.am (thread_target_headers): Unconditionally
1073         stage and install gthr-posix.h.
1074         (${target_builddir}/gthr-posix.h): New rule cloned off
1075         ${target_builddir}/gthr-default.h.
1076         (${target_builddir}/gthr-default.h): Support chained inclusion
1077         of gthr support headers.
1078         * include/Makefile.in: Rebuilt.
1079
1080 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
1081
1082         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
1083         Group all the integral types, not only decs.
1084         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
1085         tests, add a few more.
1086
1087 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
1088
1089         * src/ios.cc (ios_base::~ios_base): Tweak.
1090         (ios_base::_M_call_callbacks): Deal with null __p.
1091         (ios_base::ios_base): Set _M_callbacks.
1092         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
1093         * testsuite/27_io/ios_init.cc (test02): Fix.
1094
1095         * mkcheck.in (static_fail): Failed links go to output file.
1096
1097 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
1098
1099         * docs/html/faq/index.html:  Update.
1100         * docs/html/faq/index.txt:  Regenerate.
1101
1102 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
1103
1104         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
1105         * aclocal.m4:  Regenerate.
1106         * docs/html/configopts.html:  Document --enable-symvers.
1107         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
1108
1109 2002-02-22  Philipp Thomas  <pthomas@suse.de>
1110
1111         * include/backward/tempbuf.h: get_temporary_buffer and
1112         return_temporary_buffer are in namespace std, not in __gnu_cxx.
1113
1114 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
1115
1116         * configure.in (target_alias): Default to yes.
1117         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
1118         libgcc to default case.
1119
1120 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
1121
1122         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
1123         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
1124         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
1125         * aclocal.m4:  Regenerate.
1126         * configure:  Regenerate.
1127         * config/linker-map.dummy:  New file.  Contains nothing useful.
1128
1129 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
1130
1131         * testsuite/22_locale/money_put_members_char.cc: Fix.
1132         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
1133
1134         * testsuite/27_io/standard_manipulators.cc: New file.
1135
1136         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
1137         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
1138
1139 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
1140
1141         * config/os/mingw32/bits/ctype_noninline.h
1142         (ctype<char>::ctype): Remove default args from parm list.
1143         * config/os/djgpp/bits/ctype_noninline.h: Same.
1144
1145 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1146
1147         * include/std/std_iomanip.h: Inline, tweaks.
1148         * config/linker-map.gnu: Remove hacks.
1149
1150         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
1151         * testsuite/27_io/ios_init.cc: Same.
1152         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
1153         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
1154
1155 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
1156
1157         * config/linker-map.gnu: Export global vtable, typeinfo, guard
1158         variable, and thunk info as per CXXABI docs.
1159
1160 2002-02-19  Loren Rittle <ljrittle@acm.org>
1161
1162         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
1163         * include/Makefile.in: Rebuilt.
1164
1165 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1166
1167         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
1168           with size3 for the string collations of str5.
1169
1170 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
1171
1172         libstdc++/5708
1173         * include/bits/locale_facets.tcc (money_put::do_put):
1174         For the space field use __fill instead of ' ', uniformly.
1175         * testsuite/22_locale/money_put_members_char.cc:
1176         Add test05 distilled from PR.
1177         (test01-02-03): Trim some '*' to ' '.
1178         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
1179
1180 2002-02-18  Loren Rittle <ljrittle@acm.org>
1181
1182         libstdc++/5697
1183         * include/Makefile.am (thread_builddir): Remove (map all
1184         existing uses to target_builddir).
1185         (thread_headers): Rename to...
1186         (thread_target_headers): ...this.
1187         (stamp-thread): Remove.
1188         (stamp-target): Correctly state the position as built.
1189         Update all dependencies to match the new reality.  Remove all
1190         dependency calculations on directories.
1191         * include/Makefile.in: Rebuilt.
1192
1193 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
1194
1195         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
1196         * include/bits/fstream.tcc: Same.
1197         * include/bits/sstream.tcc: Same.
1198         * include/bits/ostream.tcc: Same.
1199         * include/bits/istream.tcc: Same.
1200         * include/bits/streambuf.tcc: Same.
1201         * include/bits/basic_ios.tcc: Same.
1202         * include/bits/basic_string.tcc: Same.
1203
1204 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1205
1206         * include/std/std_iosfwd.h: Don't guard typedefs with
1207         _GLIBCPP_USE_WCHAR_T
1208         * include/bits/stringfwd.h: Same.
1209
1210 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1211
1212         * src/locale.cc (moneypunct_byname): Remove definitions.
1213         * include/std/std_streambuf.h (streambuf::operator=): Return.
1214
1215 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1216
1217         Tune for size.
1218         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
1219         explicit instantiation.
1220         (string::_Rep::_S_max_size): Same.
1221         * include/bits/basic_string.tcc: Add extern explicit
1222         instantiations for string, wstring.
1223         * include/bits/basic_ios.tcc: Add extern explicit instantiations
1224         for ios, wios.
1225         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
1226         * include/bits/istream.tcc: Same, for istream, wistream.
1227         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
1228         wiostream.
1229         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
1230         istringstream, wistringstream, ostringstream, wostringstream,
1231         stringstream, wstringstream.
1232         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
1233         wifstream, ofstream, wofstream, fstream, wfstream.
1234         * src/misc-inst.cc: Correct comments.
1235         Add iomanip instantiations for wide streams.
1236         * include/std/std_iomanip.h: Same.
1237         * include/bits/locale_facets.tcc: Same.
1238
1239         * include/std/std_streambuf.h: Correct
1240         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
1241         * include/std/std_sstream.h: Same.
1242         * include/std/std_ostream.h: Same.
1243         * include/std/std_istream.h: Same.
1244         * include/std/std_fstream.h: Same.
1245
1246         * include/std/std_streambuf.h: Add definitions for private copy
1247         ctor and assignment operator.
1248         * include/std/std_istream.h: Remove declared but undefined copy
1249         ctor and assignment operator. This is taken care of in ios_base,
1250         so adding it in the derived class as well is superfluous.
1251         * include/std/std_ostream.h: Same.
1252
1253         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
1254         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
1255
1256 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
1257
1258         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
1259         Add typeinfo bits. Smooth.
1260         * aclocal.m4: Regenerate.
1261         * configure: Same.
1262         * src/Makefile.in: Same.
1263
1264 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
1265
1266         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
1267         which do not have a CAS instruction.
1268
1269 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
1270
1271         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
1272         * configure.in:  Call it.
1273         * config/linker-map.gnu:  New file, initial incomplete revision.
1274         * src/Makefile.am:  Optionally pass version script to the linker.
1275         * aclocal.m4:  Regenerate.
1276         * configure:  Regenerate.
1277         * src/Makefile.in:  Regenerate.
1278
1279 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
1280
1281         * src/localename.cc: Remove stdexcept include.
1282         * src/locale-inst.cc: Same.
1283         * src/locale.cc: Same.
1284         * src/functexcept.cc: Remove string includes.
1285         * include/std/std_bitset.h: Remove stdexcept include.
1286         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
1287         * testsuite/23_containers/bitset_ctor.cc: Same.
1288
1289 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
1290
1291         * include/bits/stl_algo (__stl_threshold): Declare external.
1292         (__stl_chunk_size): Same.
1293         * include/bits/stl_bvector.h (__WORD_BIT): Same.
1294         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
1295         (_S_rb_tree_black): Same.
1296         * src/stl-inst.cc (__stl_threshold): Define.
1297         (__stl_chunk_size): Same.
1298         (__WORD_BIT): Same.
1299         (_S_rb_tree_red): Same.
1300         (_S_rb_tree_black): Same.
1301
1302         * config/io/basic_file_libio.h (__basic_file): Add declarations.
1303         * include/bits/basic_file.h: Remove.
1304         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
1305         Declare generic types, specialization.
1306         * config/io/basic_file_stdio.cc: Definitions.
1307         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
1308         Declare generic types.
1309         * include/Makefile.am (bits_headers): Remove basic_file.h.
1310         (extra_target_headers): Change basic_file_model.h to basic_file.h.
1311         (stamp-target): Same.
1312
1313         * include/bits/stl_alloc.h: Tweaks.
1314         * include/bits/localefwd.h: Same.
1315
1316 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
1317
1318         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
1319         * testsuite/22_locale/collate_members_char.cc (test03): New test.
1320         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
1321
1322 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
1323
1324         * include/bits/stl_algo.h (transform (both signatures), generate_n):
1325         Use __typeof__ in concept checks.
1326
1327 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
1328
1329         * include/bits/stl_algo.h (__median, for_each, find, find_if,
1330         adjacent_find, count, count_if, search, search_n, swap_ranges,
1331         transform, replace, replace_if, replace_copy, replace_copy_if,
1332         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
1333         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
1334
1335 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
1336
1337         * include/bits/locale_facets.h
1338         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
1339         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
1340         (__timepunct<_CharT>::_M_put_helper): Same.
1341         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
1342
1343         * include/bits/fstream.tcc (filebuf::underflow): Remove
1344         __codecvt_type typedef.
1345         (filebuf::_M_convert_to_external): Same.
1346
1347 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
1348
1349         * docs/doxygen/TODO:  Update.
1350         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
1351         * docs/doxygen/mainpage.html:  Add TODO list link.
1352         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
1353         * docs/doxygen/tables.html:  New file, emoty structure only.
1354
1355         * include/bits/stl_iterator.h:  Doxygenate just about everything.
1356         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
1357         * include/bits/stl_iterator_base_types.h:  Add notes.
1358
1359 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
1360
1361         * include/bits/stl_map.h:  Tweak doxygen markup.
1362         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
1363         * include/bits/stl_vector.h:  Likewise.
1364
1365 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1366
1367         libstdc++/5286
1368         libstdc++/3860
1369         * include/std/std_fstream.h (filebuf::__file_type): Change to
1370         __basic_file<char>.
1371         (filebuf::_M_convert_to_external): Declare.
1372         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
1373         codecvt bits for wide streams.
1374         (filebuf::_M_really_overflow): Use it.
1375         (filebuf::underflow): Use codecvt.
1376         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1377         (codecvt<__enc_traits>::do_out): Deal with partial.
1378         (codecvt<__enc_traits>::do_encoding): Return something useful.
1379         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
1380         wchar_t.
1381         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
1382         Change expected encoding output.
1383         (test02): Same.
1384         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
1385         (test02): Same.
1386
1387 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1388             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
1389
1390         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
1391         (basic_ios::widen): Same.
1392
1393 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
1394
1395         * testsuite/22_locale/money_get_members_char.cc:
1396         Add comment, tidy up.
1397         (test01): more "en_HK" tests (without showbase).
1398         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
1399
1400 2002-02-06  Loren Rittle <ljrittle@acm.org>
1401
1402         * config/locale/c_locale_generic.cc: Do not trust
1403         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
1404         set by configure.
1405
1406 2002-02-06  Loren Rittle <ljrittle@acm.org>
1407
1408         * acinclude.m4: Add C++ linkage check for strtof.
1409         * aclocal.m4: Rebuilt.
1410         * config.h.in: Rebuilt.
1411         * configure: Rebuilt.
1412         * config/locale/c_locale_generic.cc: Conditionally include
1413         <ieeefp.h>.  Improve handling and error checking of float
1414         and long double input for non-C99 configurations.
1415
1416 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
1417
1418         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1419         In case money_base::symbol deal properly with multi-char sign
1420         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
1421         * testsuite/22_locale/money_get_members_char.cc: Add test07.
1422         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
1423
1424 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
1425
1426         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1427         First construct a tentative returned string, then, only if the
1428         parsing succeeds, copy it into the string passed by reference.
1429         * testsuite/22_locale/money_get_members_char.cc: Add test06.
1430         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
1431
1432 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
1433
1434         * docs/doxygen/TODO:  Impl-defined behavior now documented...
1435         * docs/html/17_intro/howto.html:  ...here.
1436         * docs/doxygen/mainpage.doxy:  Remove, rename...
1437         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
1438         * docs/doxygen/style.css:  Add small text.
1439         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
1440         * docs/doxygen/user.cfg.in:  Likewise.
1441
1442 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
1443
1444         * include/bits/stl_map.h:  Initial doxygen markup.
1445         * include/std/std_fstream.h:  Initial doxygen markup.
1446
1447 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
1448
1449         libstdc++/5579
1450         * include/bits/locale_facets.tcc (money_get::do_get(string)):
1451         Deal correctly with !(__io.flags() & ios_base::showbase)
1452         for case money_base::symbol.
1453         * testsuite/22_locale/money_get_members_char.cc: Add test05.
1454         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
1455
1456 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
1457
1458         * testsuite/22_locale/operators.cc
1459         (gnu_collate::do_compare()): Add return statement to
1460         suppress "no return statement" warning.
1461
1462 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
1463
1464         * testsuite/27_io/ostream_manip.cc: Enable test02.
1465
1466 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
1467
1468         * docs/html/documentation.html:  Update for 3.0.96.
1469         * docs/html/faq/index.html:  Update for 3.0.96.
1470         * docs/html/faq/index.txt:  Regenerated.
1471         * docs/doxygen/TODO:  Update notes.
1472         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
1473
1474 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
1475
1476         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
1477         Initialize all data members in copy ctor. Make ctors explicit.
1478         (__enc_traits::__enc_traits()): Default ctor does nothing.
1479         (__enc_traits::_M_init): Guard against multiple iconv_opens.
1480         * include/std/std_sstream.h (basic_stringbuf): Make data members
1481         protected.
1482         * include/std/std_fstream.h (basic_filebuf): Same.
1483         * include/std/std_streambuf.h: Tweak.
1484         * include/bits/streambuf.tcc: Same.
1485         * include/bits/sstream.tcc: Same.
1486         * include/bits/fstream.tcc: Same.
1487
1488 2002-01-31  Loren Rittle <ljrittle@acm.org>
1489
1490         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
1491         allow NULL argument to be passed to setenv().
1492         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
1493         * testsuite/22_locale/collate_members_char.cc: Likewise.
1494         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
1495         * testsuite/22_locale/ctype_members_char.cc: Likewise.
1496         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
1497         * testsuite/22_locale/messages_members_char.cc: Likewise.
1498         * testsuite/22_locale/money_get_members_char.cc: Likewise.
1499         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
1500         * testsuite/22_locale/money_put_members_char.cc: Likewise.
1501         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
1502         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
1503         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
1504         * testsuite/22_locale/num_get_members_char.cc: Likewise.
1505         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
1506         * testsuite/22_locale/num_put_members_char.cc: Likewise.
1507         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
1508         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
1509         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
1510         * testsuite/22_locale/time_get_members_char.cc: Likewise.
1511         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
1512         * testsuite/22_locale/time_put_members_char.cc: Likewise.
1513         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
1514
1515 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
1516
1517         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
1518
1519         * ChangeLog-2001: Fix spelling errors...
1520         * docs/html/17_intro/RELEASE-NOTES: Update.
1521         * docs/html/17_intro/TODO: Update.
1522         * README (file): Update.
1523
1524 2002-01-30  Loren Rittle <ljrittle@acm.org>
1525
1526         * config/locale/c_locale_generic.cc: Check errno for ERANGE
1527         instead of non-zero to aid portability.
1528
1529 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1530
1531         * docs/html/22_locale/messages.html: Fix example code.
1532
1533 2002-01-30  Richard Henderson  <rth@redhat.com>
1534
1535         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
1536         out from test03 and templatize.
1537         (test03): Use it.
1538
1539 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1540
1541         * config/locale/numpunct_members_gnu.cc
1542         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
1543         Fix initialization of _M_grouping for locales which have
1544         _M_thousands_sep == '\0'(L'\0', respectively).
1545         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
1546
1547 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
1548
1549         * testsuite/27_io/ostream_inserter_arith.cc (test03):
1550         Better fix for 32/64 bit architectures, avoiding the
1551         implicit assumption that CHAR_BIT == 8.
1552
1553 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
1554
1555         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
1556         * Makefile.in:  Regenerate.
1557
1558         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
1559         * docs/doxygen/Intro.3:  Update.
1560         * docs/doxygen/TODO:  Update.
1561         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
1562         * docs/doxygen/mainpage.doxy:  Update.
1563         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
1564         regenerate comments and variables with 1.2.12.
1565         * docs/doxygen/maint.cfg.in:  Remove file.
1566
1567         * include/bits/stl_relops.h:  Doxygenate.
1568         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
1569
1570         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
1571         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
1572         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
1573         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
1574         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
1575         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
1576         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
1577         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
1578         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
1579         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
1580         include/ext/hash_set, include/ext/iterator, include/ext/memory,
1581         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
1582         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
1583         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
1584         include/std/std_algorithm.h, include/std/std_bitset.h,
1585         include/std/std_complex.h, include/std/std_deque.h,
1586         include/std/std_fstream.h, include/std/std_functional.h,
1587         include/std/std_iomanip.h, include/std/std_ios.h,
1588         include/std/std_iosfwd.h, include/std/std_iostream.h,
1589         include/std/std_istream.h, include/std/std_iterator.h,
1590         include/std/std_limits.h, include/std/std_list.h,
1591         include/std/std_locale.h, include/std/std_map.h,
1592         include/std/std_memory.h, include/std/std_numeric.h,
1593         include/std/std_ostream.h, include/std/std_queue.h,
1594         include/std/std_set.h, include/std/std_sstream.h,
1595         include/std/std_stack.h, include/std/std_stdexcept.h,
1596         include/std/std_streambuf.h, include/std/std_string.h,
1597         include/std/std_utility.h, include/std/std_valarray.h,
1598         include/std/std_vector.h:  Add/correct @file doxygen hook.
1599
1600         * include/ext/memory:  Doxygenate most of rest of file.
1601         * libsupc++/exception:  Doxygen output formatting.
1602         * libsupc++/new:  Say which header it is.
1603
1604         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
1605         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
1606         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
1607         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
1608
1609 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
1610             Charles Leggett <CGLeggett@lbl.gov>
1611
1612         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
1613
1614 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
1615
1616         * testsuite/27_io/ostream_inserter_arith.cc (test03):
1617         Fix to deal correctly with both 32 bit and 64 bit architectures
1618
1619 2002-01-25  Loren Rittle <ljrittle@acm.org>
1620
1621         * testsuite/thread/pthread1.cc: Use one condition variable
1622         per predicate instead of tricky use of one condition variable.
1623
1624 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
1625
1626         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
1627         streams.
1628         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
1629         * testsuite/27_io/filebuf.cc: Compile only.
1630         * testsuite/27_io/filebuf_members.cc: Move tests to here.
1631         * testsuite/27_io/filebuf_virtuals.cc: And here.
1632         Revert sungetc, sync changes for expected values.
1633         * testsuite/27_io/filebuf-*: Move to...
1634         * testsuite/27_io/filebuf_virtuals-*: ...here.
1635         * testsuite/27_io/istream.cc: Compile only, activate.
1636         * testsuite/27_io/ostream.cc: Same.
1637         * testsuite/27_io/iostream.cc: New.
1638         * testsuite/27_io/iostream_members.cc: New.
1639
1640 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
1641
1642         * testsuite/thread/pthread1.cc: Enable on cygwin.
1643         * testsuite/thread/pthread2.cc: Likewise.
1644         * testsuite/thread/pthread3.cc: Likewise.
1645         * testsuite/thread/pthread4.cc: Likewise.
1646         * testsuite/thread/pthread5.cc: Likewise.
1647         * testsuite/thread/pthread6.cc: Likewise.
1648
1649 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
1650
1651         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
1652
1653 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
1654
1655         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
1656         const, tweak.
1657         (basic_ios::fill(char_type)): Use fill().
1658         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
1659         (basic_ios::narrow): Same.
1660         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
1661         if they are invalid.
1662         (basic_ios::init): Comment.
1663         * testsuite/27_io/ios_init.cc (test02): New.
1664
1665 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
1666
1667         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
1668         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
1669         * include/ext/memory:  Do not include stl_tempbuf.h.
1670         (temporary_buffer):  Add doxygen hook.
1671         (__get_temporary_buffer, get_temporary_buffer,
1672         return_temporary_buffer):  Move back to std:: header...
1673         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
1674         * include/ext/rope:  Do not include stl_tempbuf.h.
1675         * include/ext/stl_hashtable.h:  Likewise.
1676         * include/std/std_algorithm.h:  Likewise.
1677         * testsuite/20_util/temporary_buffer.cc:  New file.
1678
1679 2002-01-24  andrew@andypo.net
1680             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
1681
1682         libstdc++/5432
1683         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
1684         * include/bits/localefwd.h: Likewise.
1685         Also use for std::locale::id::_S_highwater.
1686         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
1687         * src/locale.cc: Support new usage of _Atomic_word.
1688         (std::locale::classic): Guard entire function against reentry.
1689         * src/localename.cc: Support new usage of _Atomic_word.
1690
1691 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
1692
1693         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
1694         _GLIBCPP_HAVE_SETENV.
1695         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
1696         * testsuite/22_locale/collate_members_char.cc (test02): Same.
1697         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
1698         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
1699         * testsuite/22_locale/messages_members_char.cc (test02): Same.
1700         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
1701         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
1702         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
1703         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
1704         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
1705         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
1706         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
1707         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
1708         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
1709         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
1710         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
1711         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
1712         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
1713         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
1714         * aclocal.m4: Regenerate.
1715         * configure: Regenerate.
1716         * config.h.in: Regenerate.
1717
1718 2002-01-23  Loren Rittle <ljrittle@acm.org>
1719
1720         * testsuite/thread/pthread1.cc: New test.
1721         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
1722         * testsuite/thread/pthread3.cc: Likewise.
1723         * testsuite/thread/pthread4.cc: New test adapted from
1724         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
1725         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
1726         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
1727
1728 2002-01-23  Richard Henderson  <rth@redhat.com>
1729
1730         PR libstdc++/5198
1731         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
1732         CAS on the cpu variants that support it.  Add versions that use
1733         TAS and that disable interrupts.
1734         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
1735
1736 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
1737
1738         * include/bits/locale_facets.tcc: Remove old comments.
1739
1740 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
1741
1742         * include/bits/locale_facets.tcc (__convert_to_v): Change template
1743         parameter to _Tv.
1744         (__convert_from_v): Same.
1745
1746 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
1747
1748         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
1749         prototype.
1750         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
1751         __max_digits checks, adjust arguments.
1752         (num_get::do_get(*)): Changeup.
1753
1754 2002-01-23  Loren Rittle <ljrittle@acm.org>
1755
1756         * config/locale/c_locale_generic.cc: Fix typename usage.
1757
1758 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1759
1760         * config/locale/c_locale_generic.cc: Fix.
1761
1762 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1763
1764         * docs/html/22_locale/messages.html: Remove angle brackets.
1765         * docs/html/17_intro/TODO: Add.
1766
1767 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
1768
1769         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
1770         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
1771         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
1772         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
1773
1774 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1775
1776         Audit for LANG independence.
1777         * include/bits/localefwd.h: Tweaks.
1778         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
1779         Use __convert_to_v.
1780         (time_get::do_get_year): Same.
1781         (__convert_from_v): Add.
1782         (num_put::_M_convert_float): Use.
1783         (num_put::_M_convert_int): Same.
1784         (money_put::do_put): Same.
1785
1786         * src/locale-inst.cc: Add instantiations for __convert_from_v.
1787         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
1788         * config/locale/time_members_generic.cc:
1789         * config/locale/messages_members_gnu.cc: Same.
1790         * config/locale/messages_members_gnu.h: Same.
1791
1792         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
1793         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
1794         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
1795         * testsuite/22_locale/collate_members_char.cc (test02): New.
1796         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
1797         * testsuite/22_locale/ctype_members_char.cc (test03): New.
1798         * testsuite/22_locale/messages_members_char.cc (test02): New.
1799         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
1800         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
1801         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
1802         * testsuite/22_locale/money_get_members_char.cc (test04): New.
1803         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
1804         * testsuite/22_locale/money_put_members_char.cc (test04): New.
1805         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
1806         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
1807         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
1808         * testsuite/22_locale/time_put_members_char.cc (test03): New.
1809         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
1810         * testsuite/22_locale/time_get_members_char.cc (test07): New.
1811         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
1812         * testsuite/22_locale/num_get_members_char.cc (test03): New.
1813         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
1814         * testsuite/22_locale/num_put_members_char.cc (test03): New.
1815
1816         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
1817         locale issues.
1818         * testsuite/22_locale/time_get_members_char.cc: Same.
1819
1820 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1821
1822         libstdc++/5280
1823         * include/bits/localefwd.h: Tweak comments.
1824         * include/bits/locale_facets.h (__convert_to_v): Add.
1825         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
1826         (num_get::do_get(float)): Same.
1827         (num_get::do_get(long double)): Same.
1828         (num_get::do_get(bool)): Same.
1829         (num_get::do_get(long)): Same.
1830         (num_get::do_get(long long)): Same.
1831         (num_get::do_get(unsigned int)): Same.
1832         (num_get::do_get(unsigned short)): Same.
1833         (num_get::do_get(unsigned long)): Same.
1834         (num_get::do_get(unsigned long long)): Same.
1835         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
1836         * config/locale/c_locale_generic.cc: Same.
1837
1838 2002-01-22  Loren Rittle <ljrittle@acm.org>
1839
1840         * include/Makefile.am (c_base_builddir): Remove redundant slash.
1841         (std_builddir): Likewise.
1842         (std_headers_rename): Fix cut-n-paste typo.
1843         (install-data-local): Concat path per element instead of once to
1844         first element of list.
1845         * include/Makefile.in: Rebuilt.
1846
1847 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
1848
1849         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
1850         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
1851         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
1852
1853 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
1854
1855         * include/bits/locale_facets.h (ctype<char>::classic_table):
1856         Remove definition.
1857         (ctype<char>::_S_ctable): Remove.
1858         * config/os/gnu-linux/bits/ctype_noninline.h
1859         (ctype<char>::_S_table): Remove definition.
1860         (ctype<char>::classic_table): Define.
1861         (ctype<char>::ctype): Replace _S_ctable with classic_table().
1862         * config/os/aix/bits/ctype_noninline.h: Same.
1863         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1864         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1865         * config/os/djgpp/bits/ctype_noninline.h: Same.
1866         * config/os/generic/bits/ctype_noninline.h: Same.
1867         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
1868         * config/os/hpux/bits/ctype_noninline.h: Same.
1869         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1870         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1871         * config/os/mingw32/bits/ctype_noninline.h: Same.
1872         * config/os/newlib/bits/ctype_noninline.h: Same.
1873         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1874         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1875         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1876
1877 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
1878
1879         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
1880         of _pctype. Use to define _S_ctable.  Add definition for alternate
1881         ctor.  Initialise _M_ctable to _S_ctable in ctors.
1882         (do_toupper, do_tolower): Use inline code appropriate for C-locale
1883         rather than ::toupper, ::tolower.
1884
1885 2002-01-18  Loren Rittle <ljrittle@acm.org>
1886
1887         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
1888         Add specialization for FreeBSD systems only to avoid losing test
1889         only due to extra precision unmentioned in system headers.
1890
1891 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
1892
1893         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
1894
1895 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1896
1897         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
1898         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
1899
1900 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1901
1902         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
1903
1904 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
1905
1906         * configure.target: Define OPT_LDFLAGS for AIX case.
1907
1908 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1909
1910         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
1911         __glibcpp_double_has_quiet_NaN): Correct mispelling.
1912
1913 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
1914
1915         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
1916
1917 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
1918
1919         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
1920         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
1921         * aclocal.m4: Regenerate.
1922         * configure: Regenerate.
1923
1924 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1925
1926         * include/Makefile.am (c_base_headers_rename): New.
1927         (c_base_headers_extra): New.
1928         (stamp-c_base): Modify.
1929         (install-data-local): Use both.
1930         * include/Makefile.in: Regenerate.
1931         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1932         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1933         cstdio ctime cwctype]: Move to..
1934         * include/c/std_*: Here.
1935         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
1936         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
1937         cstdio ctime cwctype]: Move to..
1938         * include/c_std/std_*: Here.
1939
1940         Alexandre Oliva  <aoliva@redhat.com>
1941         * include/Makefile.am (.PRECIOUS): Add rule.
1942         * include/Makefile.in: Regenerate.
1943
1944 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1945             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1946
1947         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
1948         Deuglify, should be current.
1949         (back_insert_iterator::_M_container): Deuglify, should be container.
1950         (front_insert_iterator::_M_container): Same.
1951         (insert_iterator::_M_container): Same.
1952         * testsuite/24_iterators/reverse_iterator.cc: Add check.
1953         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
1954         * testsuite/24_iterators/front_insert_iterator.cc: Same.
1955         * testsuite/24_iterators/insert_iterator.cc: Same.
1956
1957 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1958
1959         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
1960         static.
1961         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
1962         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
1963         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
1964         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
1965         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
1966         * config/os/newlib/bits/ctype_noninline.h: Same.
1967         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
1968         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
1969         * config/os/hpux/bits/ctype_noninline.h: Same.
1970         * config/os/djgpp/bits/ctype_noninline.h: Same.
1971         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
1972         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
1973         * config/os/aix/bits/ctype_noninline.h: Same.
1974
1975         Testcase by Dietmar Kühl via Peter Schmid
1976         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
1977         classic_table().
1978
1979 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
1980
1981         * libmath/signbitl.c: Copyright years as list, not range.
1982         * libmath/Makefile.am: Same.
1983         * libmath/Makefie.in: Regenerate.
1984         * libmath/signbit.c: Same.
1985         * libmath/nan.c: Same.
1986         * libmath/copysignf.c: Same.
1987         * libmath/signbitf.c: Same.
1988         * testsuite/22_locale/money_get_members_char.cc: Same.
1989         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
1990         * testsuite/22_locale/money_put_members_char.cc: Same.
1991         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
1992         * testsuite/22_locale/time_get_members_char.cc: Same.
1993         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
1994         * testsuite/22_locale/time_put_members_char.cc: Same.
1995         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
1996         * testsuite/21_strings/nonmember.cc: Same.
1997         * testsuite/21_strings/compare.cc: Same.
1998         * testsuite/27_io/stringstream.cc: Same.
1999         * testsuite/27_io/stringbuf.cc: Same.
2000         * testsuite/27_io/filebuf.cc: Same.
2001         * testsuite/27_io/ios_manip_basefield.cc: Same.
2002         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
2003         * include/bits/cpp_type_traits.h: Same.
2004         * include/bits/generic_shadow.h: Same.
2005         * include/bits/gslice_array.h: Same.
2006         * include/bits/gslice.h: Same.
2007         * include/bits/indirect_array.h: Same.
2008         * include/bits/slice_array.h: Same.
2009         * include/bits/sstream.tcc: Same.
2010         * include/bits/streambuf_iterator.h: Same.
2011         * include/bits/valarray_array.tcc: Same.
2012         * include/bits/valarray_meta.h: Same.
2013         * include/bits/valarray_array.h: Same.
2014         * config/os/mingw32/bits/ctype_noninline.h: Same.
2015         * config/os/mingw32/bits/ctype_base.h: Same.
2016         * config/os/hpux/bits/ctype_noninline.h: Same.
2017         * config/os/hpux/bits/ctype_base.h: Same.
2018         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
2019         * config/os/gnu-linux/bits/ctype_base.h: Same.
2020         * config/os/generic/bits/ctype_noninline.h: Same.
2021         * config/os/generic/bits/ctype_base.h: Same.
2022
2023         * libsupc++/tinfo.h: Tweaks.
2024
2025 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2026
2027         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
2028         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
2029         * testsuite/22_locale/ctype_members_char.cc: Tweak.
2030
2031 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2032
2033         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
2034         (num_put::do_put(void*)): Fix.
2035         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
2036         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
2037         * testsuite/22_locale/num_get_members_char.cc (test02): Add
2038         long double, void, bool types.
2039         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
2040
2041 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
2042             Alexandre Oliva  <aoliva@redhat.com>
2043
2044         * libmath/Makefile.am (LINK): Add --tag CC.
2045         * libmath/Makefile.in: Regenerate.
2046
2047 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2048
2049         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
2050         of character to attribute mapping table.
2051
2052 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
2053
2054         * testsuite/26_numerics/c99_classification_macros_c.cc
2055         Remove dg-error and dg-excess-errors comments.
2056
2057 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
2058
2059         * include/bits/locale_facets.tcc (time_put::put): Correct output
2060         iterator positions.
2061         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
2062         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
2063         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
2064         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
2065
2066 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
2067
2068         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
2069
2070 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
2071             Nathan Myers  <ncm@cantrip.org>
2072
2073         * include/bits/basic_string.h
2074         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
2075         temporaries (i.e., call _M_replace_safe) when possible.
2076         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
2077         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
2078         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
2079         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
2080         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
2081         * include/bits/basic_string.tcc
2082         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
2083         replace(__pos, __n1, __s, __n2).
2084         * testsuite/21_strings/replace.cc (test03): New testcases.
2085
2086         * include/bits/basic_string.h (insert(__pos, __s, __n)):
2087         Adjust comparison wrt overflow.
2088
2089 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2090
2091         * include/Makefile.am (std_headers_rename): New variable.
2092         (install-data-local): Use it.
2093         * include/Makefile.in: Regenerate.
2094
2095 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2096
2097         * include/bits/locale_facets.tcc (money_put::do_put(string):
2098         Correct output iterator value.
2099         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
2100         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
2101
2102 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2103
2104         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
2105         previous commit.
2106
2107 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
2108
2109         * include/Makefile.am (std_headers):  Update list with new names.
2110         (stamp-std):  Link to standardized name.
2111         * include/Makefile.in:  Regenerate.
2112
2113         * include/std/algorithm, include/std/bitset, include/std/complex,
2114         include/std/deque, include/std/fstream, include/std/functional,
2115         include/std/iomanip, include/std/ios, include/std/iosfwd,
2116         include/std/iostream, include/std/istream, include/std/iterator,
2117         include/std/limits, include/std/list, include/std/locale,
2118         include/std/map, include/std/memory, include/std/numeric,
2119         include/std/ostream, include/std/queue, include/std/set,
2120         include/std/sstream, include/std/stack, include/std/stdexcept,
2121         include/std/streambuf, include/std/string, include/std/utility,
2122         include/std/valarray, include/std/vector:  Rename to...
2123
2124         * include/std/std_algorithm.h, include/std/std_bitset.h,
2125         include/std/std_complex.h, include/std/std_deque.h,
2126         include/std/std_fstream.h, include/std/std_functional.h,
2127         include/std/std_iomanip.h, include/std/std_ios.h,
2128         include/std/std_iosfwd.h, include/std/std_iostream.h,
2129         include/std/std_istream.h, include/std/std_iterator.h,
2130         include/std/std_limits.h, include/std/std_list.h,
2131         include/std/std_locale.h, include/std/std_map.h,
2132         include/std/std_memory.h, include/std/std_numeric.h,
2133         include/std/std_ostream.h, include/std/std_queue.h,
2134         include/std/std_set.h, include/std/std_sstream.h,
2135         include/std/std_stack.h, include/std/std_stdexcept.h,
2136         include/std/std_streambuf.h, include/std/std_string.h,
2137         include/std/std_utility.h, include/std/std_valarray.h,
2138         include/std/std_vector.h:  ...this.
2139
2140 2002-01-11  Loren Rittle <ljrittle@acm.org>
2141
2142         * include/Makefile.am (extra_target_headers): New list of all
2143         target files built with ad hoc naming rules.
2144         (stamp-*): Handle LN_S failure in manner portable across make
2145         implementations.
2146         (install-data-local): Install header files from human-maintained
2147         file lists and directory components instead of non-robust find.
2148         * include/Makefile.in: Rebuilt.
2149
2150 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
2151
2152         * include/bits/locale_facets.tcc (money_get::do_get(string)):
2153         Check for zero-length negative sign before adding it to output
2154         string.
2155         (money_get::do_get(long double)): Return beg.
2156         * testsuite/22_locale/money_get_members_char.cc (test02): Add
2157         iterator checks.
2158         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
2159
2160 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
2161
2162         libstdc++/5331
2163         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
2164         for _M_extract_float and _M_extract_int
2165         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
2166         (num_get<>::_M_extract_int): Likewise, all callers changed
2167         * testsuite/22_locale/num_get_members_char.cc: Testcase
2168
2169 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2170
2171         * libsupc++/exception (bad_exception): Add comment.
2172         * libsupc++/new (bad_alloc): Same.
2173         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
2174
2175 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
2176
2177         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
2178         that the destructors should be removed from the descriptions
2179         in the standard: writing them explicitly allows the vtable
2180         heuristic to work. For additional information see:
2181         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
2182         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
2183         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
2184         * libsupc++/exception (bad_exception::~bad_exception()):
2185         Reintroduce declaration.
2186         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
2187         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
2188         (bad_typeid::~bad_typeid()): Same.
2189         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
2190         Reintroduce definition.
2191         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
2192         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
2193         (bad_typeid::~bad_typeid()): Same.
2194
2195 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2196
2197         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
2198         * include/Makefile.in: Regenerate.
2199
2200 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
2201
2202         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
2203         definition.
2204
2205 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2206
2207         libstdc++/2913
2208         libstdc++/4879
2209         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
2210         return value of _M_file->sync().
2211         (filebuf::showmanyc): Check for is_open.
2212         * include/std/fstream (filebuf::sync): Tweak.
2213         * testsuite/27_io/filebuf.cc: Tweak.
2214
2215 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
2216             Brad Garcia  <garsh@attbi.com>
2217
2218         * testsuite/27_io/filebuf_members.cc: Add test.
2219
2220 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
2221             Craig Rodrigues  <rodrigc@mediaone.net>
2222
2223         libstdc++/5174
2224         * po/Makefile.am (mkinstalldirs): Add.
2225         * po/Makefile.in: Regenerate.
2226
2227 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
2228
2229         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
2230         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
2231         compiler output.
2232         * testsuite/23_containers/map_operators.cc: Remove
2233         dg-excess-errors comment.
2234         * testsuite/23_containers/set_operators.cc: Likewise.
2235
2236 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
2237
2238         * include/bits/stl_function.h:  Remove two lines of comments;
2239         adjust copyright years.
2240
2241 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
2242
2243         * include/Makefile.am (std_headers): Remove cXXX from list.
2244         (c_base_srcdir): No bits subdirectory.
2245         (c_base_builddir): Same.
2246         (c_base_headers): Adjust names, add ciso646.
2247         (bits_headers): Remove std_xxx.h headers.
2248         * include/Makefile.in: Regenerate.
2249
2250         * include/ext/iterator: Adjust includes.
2251         * include/ext/ropeimpl.h: Same.
2252         * include/ext/stl_hash_fun.h: Same.
2253         * include/ext/algorithm: Same.
2254
2255         * include/backward/bvector.h: Adjust includes.
2256         * include/backward/vector.h: Same.
2257         * include/backward/strstream: Same.
2258         * include/backward/streambuf.h: Same.
2259         * include/backward/stack.h: Same.
2260         * include/backward/set.h: Same.
2261         * include/backward/queue.h: Same.
2262         * include/backward/multiset.h: Same.
2263         * include/backward/multimap.h: Same.
2264         * include/backward/map.h: Same.
2265         * include/backward/list.h: Same.
2266         * include/backward/iterator.h: Same.
2267         * include/backward/iostream.h: Same.
2268         * include/backward/iomanip.h: Same.
2269         * include/backward/fstream.h: Same.
2270         * include/backward/deque.h: Same.
2271         * include/backward/complex.h: Same.
2272
2273         * include/bits/std_algorithm.h: Move to...
2274         * include/std/algorithm: ...here.
2275         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
2276         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
2277         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
2278         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
2279         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
2280         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
2281         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
2282         Same.
2283
2284         * include/c_std/bits/std_cassert.h: Move to...
2285         * include/c_std/cassert: Here.
2286         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
2287         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2288         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2289         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2290         std_cwctype.h: Same.
2291         * include/c_std/cmath: Adjust cmath.tcc include.
2292         * include/c_std/cstdlib: Adjust includes.
2293         * include/c_std/cwchar: Same.
2294         * include/c_std/ctime: Same.
2295         * include/c_std/cstring: Same.
2296         * include/c_std/cstdio: Same.
2297         * include/c_std/bits: Remove directory.
2298
2299         * include/c/bits/std_cassert.h: Move to...
2300         * include/c/cassert: Here.
2301         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
2302         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
2303         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
2304         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
2305         std_cwctype.h: Same.
2306         * include/c/bits: Remove directory.
2307
2308         * include/std/cwctype: Remove.
2309         * include/std/cwchar: Remove.
2310         * include/std/ctime: Remove.
2311         * include/std/cstring: Remove.
2312         * include/std/cstdlib: Remove.
2313         * include/std/cstdio: Remove.
2314         * include/std/cstddef: Remove.
2315         * include/std/cstdarg: Remove.
2316         * include/std/csignal: Remove.
2317         * include/std/csetjmp: Remove.
2318         * include/std/cmath: Remove.
2319         * include/std/clocale: Remove.
2320         * include/std/climits: Remove.
2321         * include/std/ciso646: Remove.
2322         * include/std/cfloat: Remove.
2323         * include/std/cerrno: Remove.
2324         * include/std/cctype: Remove.
2325         * include/std/cassert: Remove.
2326
2327         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
2328         files and subsituting <xxx>.
2329         * include/bits/valarray_array.h: Same.
2330         * include/bits/stl_uninitialized.h: Same.
2331         * include/bits/stl_alloc.h: Same.
2332         * include/bits/stl_algobase.h: Same.
2333         * include/bits/sstream.tcc: Same.
2334         * include/bits/pthread_allocimpl.h: Same.
2335         * include/bits/ostream.tcc: Same.
2336         * include/bits/localefwd.h: Same.
2337         * include/bits/locale_facets.tcc: Same.
2338         * include/bits/locale_facets.h: Same.
2339         * include/bits/istream.tcc: Same.
2340         * include/bits/char_traits.h: Same.
2341         * include/bits/boost_concept_check.h: Same.
2342         * include/bits/basic_file.h: Same.
2343         * include/std/bitset: Same.
2344         * include/std/complex: Same.
2345         * include/std/fstream: Same.
2346         * include/std/functional: Same.
2347         * include/std/ios: Same.
2348         * include/std/iostream: Same.
2349         * include/std/ostream: Same.
2350         * include/std/sstream: Same.
2351         * include/std/streambuf: Same.
2352         * include/std/string: Same.
2353         * include/std/iterator: Same.
2354         * include/std/valarray: Same.
2355
2356         * src/ios.cc: Adjust includes.
2357         * src/valarray-inst.cc: Same.
2358         * src/string-inst.cc: Same.
2359         * src/stl-inst.cc: Same.
2360         * src/stdexcept.cc: Same.
2361         * src/misc-inst.cc: Same.
2362         * src/localename.cc: Same.
2363         * src/locale-inst.cc: Same.
2364         * src/locale.cc: Same.
2365         * src/limits.cc: Same.
2366         * src/concept-inst.cc: Same.
2367         * src/complex_io.cc: Same.
2368         * src/codecvt.cc: Same.
2369         * src/bitset.cc: Same.
2370         * src/cmath.cc: Same.
2371
2372 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
2373
2374         * include/bits/stl_tree.h (rb_tree):  Move to...
2375         * include/ext/rb_tree:  ...here, new file.
2376         * include/Makefile.am (ext_headers):  Add new file.
2377         * include/Makefile.in:  Regenerate.
2378         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
2379         return_temporary_buffer, struct temporary_buffer):  Move to...
2380         * include/ext/memory:  ...here.
2381         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
2382         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
2383         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
2384
2385 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
2386
2387         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
2388         * include/ext/numeric:  ...here, new file.
2389         * include/bits/stl_function.h (identity_element, unary_compose,
2390         binary_compose, compose1, compose2, identity, select1st,
2391         select2nd, project1st + helper, project2nd + helper,
2392         constant_void_fun + helper, constant_unary_fun + helper,
2393         costant_binary_fun + helper, constant0, constant1, constant2,
2394         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
2395         * include/ext/functional:  ...here, new file.
2396         * include/Makefile.am (ext_headers):  Add new files.
2397         * include/Makefile.in:  Regenerate.
2398         * testsuite/ext/headers.cc:  Include <ext/numeric> and
2399         <ext/functional>.
2400         * include/backward/algo.h:  Include <ext/numeric>, tweak.
2401         * include/backward/function.h:  Include <ext/functional>, tweak.
2402         * include/ext/ropeimpl.h:  Include <ext/numeric>.
2403
2404 2002-01-03  Jeffrey A Law  <law@redhat.com>
2405
2406         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
2407         __strtoull declarations with __extension__.
2408
2409 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
2410
2411         * testsuite/lib/prune.exp: Correct regular expression for
2412         -ffunction-sections
2413
2414 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2415
2416         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
2417         Change concept checks, as with lower_bound and PR 2054.
2418         * testsuite/ext/concept_checks.cc:  Expand test to include those.
2419
2420 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
2421
2422         * include/bits/boost_concept_check.h:  Import some changes from
2423         upsteam (Boost) version.
2424
2425 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
2426
2427         * include/bits/stl_algobase.h (copy_n + helpers,
2428         lexicographical_compare_3way + helpers):  Move to...
2429         * include/ext/algorithm:  ...here.
2430         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
2431         helpers):  Move to...
2432         * include/ext/memory:  ...here, new file.
2433         * include/Makefile.am (ext_headers):  Add new file.
2434         * include/Makefile.in:  Regenerate.
2435         * testsuite/ext/headers.cc:  Include <ext/memory>.
2436         * include/backward/algobase.h:  Include <ext/memory> and
2437         <ext/algorithm>, tweak.
2438         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
2439         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
2440
2441 2002-01-01  Roger Sayle <roger@eyesopen.com>
2442
2443         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
2444         equivalent ___builtin__ versions.
2445
2446         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
2447         are available in libstdc++ as the necessary stub implementations
2448         are provided by libmath/stubs.c.
2449
2450 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
2451
2452         * configure.in: Add support for NetBSD cross compiles.
2453         * configure: Regenerate.