OSDN Git Service

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