OSDN Git Service

* configure.in: Define with_target_subdir and with_build_subdir
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2002-12-18  Ulrich Weigand  <uweigand@de.ibm.com>
2
3         * configure.in: Define with_target_subdir and with_build_subdir
4         variables in config-ml.in AC_OUTPUT call.
5         * configure: Regenerate.
6
7 2002-12-16  Paolo Carlini  <pcarlini@unitus.it>
8
9         PR libstdc++/8949
10         * include/std/std_limits.h
11         (struct numeric_limits<short>,
12         struct numeric_limits<unsigned short>,
13         struct numeric_limits<int>,
14         struct numeric_limits<unsigned int>,
15         struct numeric_limits<long>,
16         struct numeric_limits<unsigned long>,
17         struct numeric_limits<long long>,
18         struct numeric_limits<unsigned long long>): According
19         to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
20         * testsuite/18_support/numeric_limits.cc: Add test04.
21
22 2002-12-16  Benjamin Kosnik  <bkoz@redhat.com>
23
24         * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
25         Call GLIBCPP_ENABLE_DEBUG_FLAGS.
26         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
27         conditional if --enable-debug is yes. Rework.
28         (GLIBCPP_ENABLE_DEBUG_FLAGS): New.
29         * aclocal.m4: Regenerate.
30         * libio/Makefile.am: Remove DEBUG_FLAGS.
31         * libio/Makefile.in: Regenerate.        
32         * libsupc++/Makefile.am: Remove DEBUG_FLAGS.
33         * libsupc++/Makefile.in: Regenerate.    
34         * docs/html/configopts.html: Add docs for --enable-debug,
35         --enable-debug-flags.
36
37 2002-12-16  Benjamin Kosnik  <bkoz@redhat.com>
38
39         Correct dependency tracking, build warts.
40         * configure.in: Correct repeated AC_OUTPUT thrashing by
41         config-ml.in
42         * configure: Regenerate.
43         * include/Makefile.am (stamp-target): Stamp in top_builddir.
44         * include/Makefile.in: Regenerate.
45         * src/Makefile.am (codecvt_members.cc): New rule.
46         (collate_members.cc): Same.
47         (ctype_members.cc): Same.       
48         (messages_members.cc): Same.
49         (monetary_members.cc): Same.
50         (numeric_members.cc): Same.
51         (time_members.cc): Same.
52         (c++locale.cc): Same.
53         (basic_file.cc): Same.
54         * src/Makefile.in: Regenerate.
55         * acinclude.m4 (CCTYPE_CHAR_CC): Remove.
56         (CCCODECVT_CC): Don't link, AC_SUBST.
57         (CCOLLATE_CC): Same.
58         (CCTYPE_CC): Same.
59         (CMESSAGES_CC): Same.
60         (CMONEY_CC): Same.
61         (CNUMERIC_CC): Same.
62         (CTIME_CC): Same.
63         (CLOCALE_CC): Same.
64         * aclocal.m4: Regenerate.
65         
66         * src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
67         for convenience libraries.
68         (version_arg): Rename linker.map to libstdc++.ver.
69         (libstdc___la_DEPENDENCIES): Remove linker.map, add
70         libstdc++-symbol.ver as a dependency.
71         (libstdc++-symbol.ver): Add rule.
72         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
73         SYMVER_MAP. Don't link, AC_SUBST.
74
75         * include/Makefile.am (target_headers_noinst): New.
76         (stamp-target): Add CLOCALE_INTERNAL_H.
77         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
78         CLOCALE_INTERNAL_H, AC_SUBST.
79         * config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
80         include.
81         * config/locale/gnu/time_members.cc: Same.
82         * config/locale/gnu/numeric_members.cc: Same.
83         * config/locale/gnu/monetary_members.cc: Same.
84         * config/locale/gnu/messages_members.cc: Same.
85         * config/locale/gnu/ctype_members.cc: Same.
86         * config/locale/gnu/collate_members.cc: Same.
87         * config/locale/gnu/codecvt_members.cc: Same.
88         * config/locale/generic/codecvt_members.cc: Remove.
89
90 2002-12-11  Paolo Carlini  <pcarlini@unitus.it>
91
92         PR libstdc++/8887
93         * config/locale/generic/time_members.cc
94         (__timepunct<char>::_M_initialize_timepunct): Fix typos
95         in _M_date_format and _M_date_era_format string literals.
96
97 2002-12-10  Mark Mitchell  <mark@codesourcery.com>
98
99         * libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
100         (__cxa_bad_typeid): Likewise.
101         (__cxa_atexit): Likewise.
102         (__cxa_finalize): Likewise.
103
104 2002-12-09  Gabriel Dos Reis  <gdr@integrable-solutions.net>
105
106         * include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
107
108 2002-12-09  Mark Mitchell  <mark@codesourcery.com>
109
110         * libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
111
112 2002-12-05  Benjamin Kosnik  <bkoz@redhat.com>
113
114         * testsuite/abi_check.cc: Add GLIBCPP_3.2.2.
115
116 2002-12-04  Paolo Carlini  <pcarlini@unitus.it>
117
118         * config/locale/generic/codecvt_members.cc (codecvt::do_out
119         (state_type&, const intern_type*, const intern_type*,
120         const intern_type*&, extern_type*, extern_type*, extern_type*&),
121         codecvt::do_in(state_type&, const extern_type*, const extern_type*,
122         const extern_type*&, intern_type*, intern_type*, intern_type*&)):
123         Fully qualify min() with std::.
124         * config/locale/gnu/codecvt_members.cc: Ditto.
125         * locale/ieee_1003.1-2001/codecvt_specializations.h
126         (codecvt::do_length(const state_type&, const extern_type*,
127         const extern_type*, size_t): Ditto.
128         * include/bits/deque.tcc
129         (_M_range_initialize(_ForwardIterator, _ForwardIterator,
130         forward_iterator_tag), deque::_M_range_insert_aux(iterator,
131         _ForwardIterator, _ForwardIterator, forward_iterator_tag),
132         deque::_M_reallocate_map(size_type, bool)): Fully qualify
133         distance() and max() with std::.
134         * include/bits/fstream.tcc (basic_filebuf::seekoff(off_type,
135         ios_base::seekdir, ios_base::openmode)): Fully qualify max()
136         with std::.
137         * include/bits/istream.tcc (basic_istream::ignore(streamsize,
138         int_type), basic_istream::readsome(char_type*, streamsize)):
139         Fully qualify min() with std::.
140         * include/bits/locale_facets.tcc (time_get::_M_extract_name
141         (iter_type&, iter_type&, int&, const _CharT**, size_t,
142         ios_base::iostate&)): Ditto.
143         * include/bits/sstream.tcc (basic_stringbuf::overflow(int_type)):
144         Fully qualify max() with std::.
145         * include/bits/stl_algo.h (__inplace_stable_partition(_ForwardIter
146         __first, _ForwardIter, _Predicate, _Distance),
147         __stable_partition_adaptive(_ForwardIter, _ForwardIter, _Predicate,
148         _Distance, _Pointer, _Distance), __merge_sort_loop(_RandomAccessIter1,
149         _RandomAccessIter1, _RandomAccessIter2, _Distance),
150         __merge_sort_loop(_RandomAccessIter1, _RandomAccessIter1,
151         _RandomAccessIter2, _Distance, _Compare), lower_bound(_ForwardIter,
152         _ForwardIter, const _Tp&), lower_bound(_ForwardIter, _ForwardIter,
153         const _Tp&, _Compare), upper_bound(_ForwardIter, _ForwardIter,
154         const _Tp&), upper_bound(_ForwardIter, _ForwardIter, const _Tp&,
155         _Compare), equal_range(_ForwardIter, _ForwardIter, const _Tp&),
156         equal_range(_ForwardIter, _ForwardIter, const _Tp&, _Compare),
157         __merge_without_buffer(_BidirectionalIter, _BidirectionalIter,
158         _BidirectionalIter, _Distance, _Distance), __merge_without_buffer
159         (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
160         _Distance, _Distance, _Compare), __rotate_adaptive(_BidirectionalIter1,
161         _BidirectionalIter1, _BidirectionalIter1, _Distance, _Distance,
162         _BidirectionalIter2, _Distance), __merge_adaptive(_BidirectionalIter,
163         _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
164         _Pointer, _Distance), __merge_adaptive(_BidirectionalIter,
165         _BidirectionalIter, _BidirectionalIter, _Distance, _Distance,
166         _Pointer, _Distance, _Compare), inplace_merge(_BidirectionalIter,
167         _BidirectionalIter, _BidirectionalIter), inplace_merge
168         (_BidirectionalIter, _BidirectionalIter, _BidirectionalIter,
169         _Compare), __find_end(_BidirectionalIter1, _BidirectionalIter1,
170         _BidirectionalIter2, _BidirectionalIter2, bidirectional_iterator_tag,
171         bidirectional_iterator_tag), __find_end(_BidirectionalIter1,
172         _BidirectionalIter1, _BidirectionalIter2, _BidirectionalIter2,
173         bidirectional_iterator_tag, bidirectional_iterator_tag,
174         _BinaryPredicate)): Fully qualify distance() and min() with std::.
175         * include/bits/stl_algobase.h (lexicographical_compare
176         (const unsigned char*, const unsigned char*, const unsigned char*,
177         const unsigned char*)): Fully qualify min() with std::.
178         * include/bits/stl_bvector.h (_M_insert_range(iterator,
179         _ForwardIterator, _ForwardIterator, forward_iterator_tag),
180         _M_assign_aux(_ForwardIterator, _ForwardIterator, forward_iterator_tag),
181         _M_initialize_range(_ForwardIterator, _ForwardIterator,
182         forward_iterator_tag), _M_fill_insert(iterator, size_type, bool)):
183         Fully qualify distance() and max() with std::.
184         * include/bits/stl_deque.h (_Deque_base::_M_initialize_map(size_t),
185         _M_assign_aux(_ForwardIterator, _ForwardIterator, forward_iterator_tag)):
186         Ditto.
187         * include/bits/stl_list.h (size()): Fully qualify distance() with std::.
188         * include/bits/stl_tempbuf.h (_Temporary_buffer::_Temporary_buffer
189         (_ForwardIterator, _ForwardIterator)): Ditto.
190         * include/bits/stl_tree.h (_Rb_tree::erase(const _Key&),
191         _Rb_tree::count(const _Key&)): Ditto.
192         * include/bits/stl_vector.h (_M_range_initialize(_ForwardIterator,
193         _ForwardIterator, forward_iterator_tag)): Ditto.
194         * include/bits/streambuf.tcc (basic_streambuf::xsgetn(char_type*,
195         streamsize), basic_streambuf::xsputn(const char_type*, streamsize)):
196         Fully qualify min() with std::.
197         * include/bits/vector.tcc (_M_assign_aux(_ForwardIter, _ForwardIter,
198         forward_iterator_tag), _M_fill_insert(iterator, size_type,
199         const value_type&), _M_range_insert(iterator, _ForwardIterator,
200         _ForwardIterator, forward_iterator_tag)): Fully qualify max() and
201         distance() with std::.
202         * include/std/std_bitset.h (bitset::_M_copy_from_string
203         (const basic_string&, size_t, size_t)): Fully qualify min() with std::.
204         * include/std/std_streambuf.h (_M_pback_create()): Ditto.
205         * include/std/std_complex.h (abs(const complex<_Tp>&)):
206         Fully qualify max() with std::.
207         * include/std/std_sstream.h (str()): Ditto.
208         * src/codecvt.cc (codecvt::do_out(state_type&, const intern_type*,
209         const intern_type*, const intern_type*&, extern_type*, extern_type*,
210          extern_type*&), codecvt::do_in(state_type&, const extern_type*,
211         const extern_type*, const extern_type*&, intern_type*, intern_type*,
212         intern_type*&), codecvt::do_length(const state_type&,
213         const extern_type*, const extern_type*, size_t), do_length
214         (const state_type&, const extern_type*, const extern_type*,
215         size_t)): Fully qualify min() with std::.
216         * src/strstream.cc (strstreambuf::strstreambuf(streamsize),
217         strstreambuf::overflow(int_type)): Fully qualify max() with std::.
218
219 2002-12-02  Paolo Carlini  <pcarlini@unitus.it>
220
221         * include/bits/basic_string.h (compare(const basic_string&)):
222         Fully qualify min() with std::.
223
224 2002-12-02  Benjamin Kosnik  <bkoz@redhat.com>
225
226         * configure.in (libtool_VERSION): Update to 5:2:0.
227         * configure: Regenerate.
228
229 2002-12-02  Paolo Carlini  <pcarlini@unitus.it>
230
231         * include/bits/basic_string.tcc
232         (basic_string::append(const basic_string&, size_type,
233         size_type), basic_string::compare(size_type, size_type,
234         const basic_string&), basic_string::compare(size_type,
235         size_type, const basic_string&, size_type, size_type),
236         basic_string::compare(const _CharT*), basic_string::
237         compare(size_type, size_type, const _CharT*),
238         basic_string::compare(size_type, size_type, const _CharT*,
239         size_type), _S_string_copy(const basic_string&, _CharT*,
240         typename _Alloc::size_type)): Fully qualify min() with std::.
241
242 2002-12-02  Paolo Carlini  <pcarlini@unitus.it>
243
244         * include/bits/basic_string.tcc
245         (basic_string::_S_construct(_InIter, _InIter, const _Alloc&,
246         forward_iterator_tag)): Delay the declaration of __dnew,
247         fully qualify distance() with std::.
248         (basic_string::_M_replace_safe): Fully qualify distance()
249         with std::.
250
251 2002-11-28  Phil Edwards  <pme@gcc.gnu.org>
252
253         PR libstdc++/8716
254         * testsuite/21_strings/ctor_copy_dtor.cc (test05):  Also test
255         the NULL-pointer, zero-size case.
256
257 2002-11-28  Jonathan Wakely  <redi@gcc.gnu.org>
258
259         * docs/html/faq/index.html: Add tip about a namespace for extensions.
260
261 2002-11-28  Paolo Carlini  <pcarlini@unitus.it>
262             Nathan Myers  <ncm@cantrip.org>
263
264         * src/localename.cc
265         (locale::_Impl::_Impl(const char*, size_t)):
266         Improve previous fix for the strtok vs MT issue.
267
268 2002-11-28  Paolo Carlini  <pcarlini@unitus.it>
269
270         * config/locale/gnu/c_locale.cc (locale::_S_categories):
271         Reorder the categories to match that of glibc's setlocale(LC_ALL, ""))
272         * config/locale/generic/c_locale.cc (locale::_S_categories): Ditto.
273         * testsuite/22_locale/ctor_copy_dtor.cc (test04): Tweak.
274
275 2002-11-25  Benjamin Kosnik  <bkoz@redhat.com>
276
277         * testsuite/abi_check.cc: Add CXXABI_1.2.1 as compatible.
278         * config/linker-map.gnu: Version __cxa_guard_acquire,
279         __cxa_guard_release, __cxa_guard_abort in CXXABI_1.2.1.
280
281 2002-11-25  Paolo Carlini  <pcarlini@unitus.it>
282             Nathan Myers  <ncm@cantrip.org>
283
284         * src/localename.cc
285         (locale::_Impl::_Impl(const char*, size_t)):
286         Avoid strtok for thread safety.
287
288 2002-11-25  Stephen M. Webb  <stephen@bregmasoft.com>
289
290         * testsuite/testsuite_allocator.h: New file.
291         * testsuite/testsuite_allocator.cc: New file.
292         * testsuite/Makefile.am: Added testsuite_allocator to test library.
293         * testsuite/testsuite_hooks.h: Added more detailed tracker objects
294         gnu_copy_constructor, gnu_assignment_operator, and gnu_destructor.
295         * testsuite/testsuite_hooks.cc: Added new static objects definitions.
296         * testsuite/23_containers/vector_capacity.cc: Added reserve() tests.
297         * testsuite/23_containers/vector_ctor.cc: Added a plethora of tests.
298         * testsuite/23_containers/deque_ctor.cc: Added a slew of new tests.
299
300 2002-11-25  Mark Mitchell  <mark@codesourcery.com>
301
302         * libsupc++/Makefile.am (sources): Add guard.cc.
303         * libsupc++/Makefile.in: Regenerated.
304         * libsupc++/cxxabi.h (__cxa_guard_acquire): New function.
305         (__cxa_guard_release): Likewise.
306         (__cxa_guard_abort): Likewise.
307         * libsupc++/guard.cc: New file.
308
309 2002-11-25  Wolfgang Bangerth  <bangerth@ticam.utexas.edu>
310
311         * include/std/std_complex.h
312         (operator<<(basic_ostream&, const complex&)): Prefer 'x'
313         to "x" for efficiency sake.
314         * src/locale.cc (locale::locale(const char*)): Ditto.
315
316 2002-11-24  Paolo Carlini  <pcarlini@unitus.it>
317
318         * src/locale.cc (locale::locale(const char*)):
319         Trivial cosmetic tweaks.
320
321 2002-11-22  Laszlo Ersek  <erseklaszlo@chello.hu>
322             Paolo Carlini  <pcarlini@unitus.it>
323
324         PR libstdc++/8645
325         * include/bits/stl_tree.h (_Rb_tree_rebalance_for_erase):
326         Don't check that __w->_M_left != 0 and __w->_M_right != 0
327         when they can't be otherwise.
328
329 2002-11-21  Phil Edwards  <pme@gcc.gnu.org>
330
331         * docs/html/documentation.html:  Fix broken/thinko'd URL.
332
333 2002-11-21  Phil Edwards  <pme@gcc.gnu.org>
334
335         * docs/doxygen/run_doxygen:  Tighter search expression for sed.
336         * docs/doxygen/stdheader.cc:  Handle the case of good headers.
337
338 2002-11-21  Phil Edwards  <pme@gcc.gnu.org>
339
340         * acinclude.m4:  Uniform formatting.
341         * configure.in:  Warn when generic atomicity.h is used.
342         * configure.target:  Fix comment.
343         * aclocal.m4, configure:  Regenerate.
344
345 2002-11-21  Phil Edwards  <pme@gcc.gnu.org>
346
347         * include/bits/streambuf.tcc (basic_streambuf::sputbackc):  Prefix
348         "this->" to call to pbackfail.
349
350 2002-11-21  Phil Edwards  <pme@gcc.gnu.org>
351
352         * docs/doxygen/style.css:  Update.
353         * docs/doxygen/user.cfg.in:  Update.
354         * docs/html/documentation.html:  Regenerate.
355         * docs/html/17_intro/howto.html:  Tweak I/O sentry entry.
356         * docs/html/27_io/howto.html:  New section on headers.
357         * docs/html/faq/index.html:  Add i386 threading entry.
358         * docs/html/faq/index.txt:  Regenerate.
359
360         * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
361         Import R23.
362
363 2002-11-21  Phil Edwards  <pme@gcc.gnu.org>
364
365         * docs/doxygen/TODO:  Note change in clause 27 docs.
366         * include/bits/basic_ios.h, include/bits/fpos.h,
367         include/bits/ios_base.h, include/bits/stl_deque.h,
368         include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
369         include/std/std_iomanip.h, include/std/std_iosfwd.h,
370         include/std/std_iostream.h, include/std/std_istream.h,
371         include/std/std_ostream.h, include/std/std_sstream.h,
372         include/std/std_streambuf.h:  Doxygenate all I/O entities.
373
374 2002-11-20  Benjamin Kosnik  <bkoz@redhat.com>
375             Jonathan Lennox  <lennox@cs.columbia.edu>
376
377         * include/bits/streambuf.tcc (__copy_streambufs):
378         Revert previous fix for the interactive half of
379         libstdc++/6745, use _M_buf_size_opt to set dynamically
380         the correct buffer size.
381
382 2002-11-20  Jonathan Wakely  <redi@gcc.gnu.org>
383
384         * docs/html/21_strings/howto.html: Fix example code, cite Gaby's
385         explanation of "<unknown type>" error with toupper/tolower.
386         * docs/html/22_locale/howto.html: Be more consistent with
387         example in 21_strings.
388
389 2002-11-19  John Gustafsson  <forgoil@rsn.bth.se>
390
391         * docs/html/20_util/howto.html: Fix typo.
392
393 2002-11-18  Jonathan Lennox  <lennox@cs.columbia.edu>
394
395         * include/bits/streambuf.tcc (__copy_streambufs): verify
396         __sbin->gptr() + __bufsize < __sbin->egptr() before using.
397         * testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add.
398         (test05): Use test_buffer_4.  Delete unused ostringstream
399         variables.
400
401 2002-11-18  Paolo Carlini  <pcarlini@unitus.it>
402
403         PR libstdc++/6745 (continued)
404         * include/bits/streambuf.tcc (__copy_streambufs):
405         Deal with interactive input by using isatty as in the
406         fix for libstdc++/8399.
407
408 2002-11-17  Jakub Jelinek  <jakub@redhat.com>
409
410         * config/linker-map.gnu: Export _S_construct even if size_t is
411         unsigned long.  Collapse std::codecvt<char>::codecvt(size_t)
412         and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.
413
414 2002-11-15  Benjamin Kosnik  <bkoz@redhat.com>
415             Gabriel Dos Reis  <gdr@integrable-solutions.net>
416
417         PR libstdc++/8230
418         * include/bits/stl_alloc.h: Use builtin_expect for the most
419         obvious limit checks.
420         (__default_alloc_template::allocate): Check for null, throw
421         bad_alloc.
422         * include/bits/vector.tcc: Formatting tweaks.
423         * include/bits/stl_vector.h: Same.
424         * testsuite/20_util/allocator_members.cc (test02): Add.
425         * testsuite/23_containers/vector_capacity.cc (test03): Add.
426
427 2002-11-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
428
429         * src/ios.cc [_GLIBCPP_HAVE_UNISTD_H]: Include unistd.h.
430
431 2002-11-15  Paolo Carlini  <pcarlini@unitus.it>
432             Loren J. Rittle  <ljrittle@acm.org>
433
434         PR libstdc++/8399
435         * acinclude.m4
436         (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
437         check for unistd.h functions.
438         (GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
439         in unistd.h.
440         * configure.in: Call here.
441         * src/ios.cc (ios_base::Init::_S_ios_create(bool)):
442         Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
443         input __in_size = 1 even when sync_with_stdio is false;
444         otherwise fall back to __in_size = 1.
445         * aclocal.m4: Regenerate.
446         * config.h.in: Regenerate.
447         * configure: Regenerate.
448
449 2002-11-13  Benjamin Kosnik  <bkoz@redhat.com>
450
451         * acconfig.h (HAVE_DRAND48): Add.
452         (HAVE_GETPAGESIZE): Add.
453         (HAVE_SETENV): Add.
454         (HAVE_SIGSETJMP): Add.
455         * config.h.in: Regenerate.
456         * configure: Regenerate.
457
458 2002-11-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
459
460         * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define
461         on hppa when there is no weak support.
462
463 2002-11-13  Benjamin Kosnik  <bkoz@redhat.com>
464
465         PR libstdc++/8230
466         * include/bits/vector.tcc (vector::reserve): Throw length_error if
467         requested size is bigger than max_size().
468         * include/bits/stl_bvector.h (vector<bool>::reserve): Same.
469         * testsuite/23_containers/vector_capacity.cc (test02): Add.
470
471 2002-11-13  Benjamin Kosnik  <bkoz@redhat.com>
472
473         * config/linker-map.gnu: Export all _S_construct.
474
475 2002-11-13  Loren J. Rittle  <ljrittle@acm.org>
476
477         PR libstdc++/7445
478         * src/locale.cc (std::locale::classic()): Weaken locking protocol.
479
480 2002-11-13  Jonathan Wakely  <redi@gcc.gnu.org>
481
482         * docs/html/install.html, docs/html/22_locale/locale.html: HTML fix.
483
484 2002-11-11  Benjamin Kosnik  <bkoz@redhat.com>
485
486         PR libstdc++/6746
487         * include/bits/fstream.tcc (filebuf::open): Set input pointers.
488         * config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
489         __p_mode as well.
490         (__basic_file::open): Set to non-block for input.
491         * testsuite/27_io/istream_unformatted.cc (test12): Add.
492         (test13): Same.
493
494 2002-11-11  Jonathan Wakely <redi@gcc.gnu.org>
495
496         * docs/html/17_intro/howto.html: Make "chapter 22 notes" a link.
497         * docs/html/faq/index.html: Mention that GCC ships with a newer
498         version of the library than the last snapshot. Make "see below" a
499         link. Add missing <html> tag.
500         * docs/html/faq/index.txt: Regenerate.
501         * docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
502         docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
503         docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
504         docs/html/27_io/howto.html, docs/html/ext/howto.html,
505         docs/html/ext/sgiexts.html: Add missing <html> tag.
506
507 2002-11-07  Phil Edwards  <pme@gcc.gnu.org>
508             Richard Earnshaw  <rearnsha@arm.com>
509
510         * config/cpu/generic/atomicity.h:  Provide atomic __exchange_and_add
511         and __atomic_add.
512
513 2002-11-08  Paolo Carlini  <pcarlini@unitus.it>
514
515         * config/locale/gnu/monetary_members.cc
516         (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale,
517         const char*),
518         moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale,
519         const char*)): Tweak parameters for glibc2.3 systems, thus
520         avoiding unused parameter warnings.
521
522 2002-11-05  Jonathan Wakely  <cow@compsoc.man.ac.uk>
523
524         * include/std/std_sstream.h
525         (basic_stringbuf::str(const __string_type&)):
526         Prefer data() to c_str(), thus avoiding assigning the
527         unnecessary NULL-terminator.
528
529 2002-11-05  Benjamin Kosnik  <bkoz@redhat.com>
530
531         PR libstdc++/8258
532         * include/bits/istream.tcc (istream::readsome): Don't set eofbit
533         for null buffer.
534         (istream::operator>>(_CharT*)): Use traits_type.
535         (istream::ws): Same.
536         (istream::operator>>(string)): Same.
537         * testsuite/27_io/istream_unformatted.cc (test11): Add.
538
539 2002-11-05  Paolo Carlini  <pcarlini@unitus.it>
540
541         PR libstdc++/8466
542         * include/std/std_sstream.h
543         (basic_stringbuf::str(const __string_type&)):
544         Cannot use simple assignment since the COW-nature of v3
545         basic_string is not taken into account in basic_stringbuf.
546         * testsuite/27_io/stringstream_members.cc: Add test04 from PR.
547
548 2002-11-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
549
550         * configure.target (hppa*): Define cpu_include_dir.
551         * config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
552         * src/misc-inst.cc: Instantiate atomicity lock when
553         _GLIBCPP_INST_ATOMICITY_LOCK is defined.
554         * config/cpu/hppa/atomicity.h: New file.
555
556 2002-11-05  Benjamin Kosnik  <bkoz@redhat.com>
557
558         PR libstdc++/8463
559         * include/bits/ios_base.h (~ios_base): Make virtual.
560
561 2002-11-04  Benjamin Kosnik  <bkoz@redhat.com>
562
563         * config/linker-map.gnu: Export string operator+.
564         Export __default_alloc_template::_S_force_new.
565         * testsuite/abi_check.cc: Output tweaks.
566
567 2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>
568
569         PR libstdc++/8172
570         * src/string-inst.cc: Add instantiation.
571
572 2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>
573
574         PR libstdc++/7926
575         * configure.target: Simplify.
576         * config/cpu/i386/atomicity.h: Remove.
577         * config/cpu/i386: Remove.
578         * config/cpu/arm/atomicity.h: Remove.
579         * config/cpu/arm: Remove.
580         * config/cpu/x86-64/atomicity.h: Remove.
581         * config/cpu/x86-64: Remove.
582
583 2002-11-01  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>
584
585         PR libstdc++/8197
586         * config/link-map.gnu: Export math stubbs.
587
588 2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>
589
590         PR libstdc++/8318
591         * include/std/std_iostream.h: Tweak.
592         * include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
593         * include/std/std_iomanip.h: Same.
594         * include/bits/stringfwd.h: Same.
595         * include/bits/basic_string.tcc: Same.
596         * include/bits/sstream.tcc: Same.
597         * include/bits/fstream.tcc: Same.
598         * include/bits/basic_ios.tcc: Same.
599         * include/bits/streambuf.tcc: Same.
600         * include/bits/locale_facets.tcc: Same.
601
602 2002-11-01  John Carter  <john.carter@tait.co.nz>
603
604         PR libstdc++/7961
605         * include/bits/basic_string.tcc
606         (compare(const _CharT* __s)): Don't access __s past its length.
607
608 2002-10-31  Zack Weinberg  <zack@codesourcery.com>
609
610         * libsupc++/eh_globals.cc: Don't call __gthread_key_dtor.
611
612 2002-10-31  Benjamin Kosnik  <bkoz@redhat.com>
613
614         PR libstdc++/8348
615         * include/bits/istream.tcc (istream::tellg): Remove sentry bits.
616         (istream::seekg): Same.
617         * testsuite/27_io/istream_seeks.cc (test06): New.
618
619 2002-10-28  Jason Thorpe  <thorpej@wasabisystems.com>
620
621         * testsuite/thread/pthread5.cc: Include <unistd.h>
622         if _GLIBCPP_HAVE_UNISTD_H is defined.
623         (main): Only use pthread_attr_setscope if
624         _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
625
626 2002-10-28  Jason Thorpe  <thorpej@wasabisystems.com>
627
628         * testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
629         * testsuite/thread/pthread2.cc: Likewise.
630         * testsuite/thread/pthread3.cc: Likewise.
631         * testsuite/thread/pthread4.cc: Likewise.
632         * testsuite/thread/pthread5.cc: Likewise.
633         * testsuite/thread/pthread6.cc: Likewise.
634
635 2002-10-27  Paolo Carlini  <pcarlini@unitus.it>
636
637         PR libstdc++/8347
638         * include/bits/basic_string.tcc
639         (string::_S_construct(_InIter, _InIter, const _Alloc&,
640         forward_iterator_tag)): Do not throw logic error if
641         __beg == NULL && __end == __beg.
642         (string::string(const _CharT*, const _Alloc&)): Tweak.
643         * testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
644
645 2002-10-24  Hans-Peter Nilsson  <hp@bitrange.com>
646
647         PR other/3337
648         PR bootstrap/6763
649         PR bootstrap/8122
650         * testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
651         __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
652
653 2002-10-23  Jakub Jelinek  <jakub@redhat.com>
654
655         * testsuite/22_locale/num_put_members_char.cc (test01): Swap size
656         and decimal_point arguments of find.
657         * testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
658
659 2002-10-22  Jakub Jelinek  <jakub@redhat.com>
660
661         * Makefile.am (check-abi, new-abi-baseline): Use @glibcpp_srcdir@
662         instead of ${top_srcdir}.
663         * Makefile.in: Rebuilt.
664
665 2002-10-22  Loren J. Rittle  <ljrittle@acm.org>
666
667         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
668         Remove specialization for FreeBSD systems.
669
670 2002-10-18  Loren J. Rittle  <ljrittle@acm.org>
671
672         * configure.target (freebsd*): Use abi_baseline_triplet.
673         * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
674         * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
675
676         * testsuite/thread/pthread1.cc: Remove needless workaround
677         for FreeBSD 5.
678
679 2002-10-18  Loren J. Rittle  <ljrittle@acm.org>
680             Brad Spencer  <spencer@infointeractive.com>
681             (provided alternate patch and improvements)
682
683         * docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
684         new environment variable which replaces all uses of __USE_MALLOC
685         macro.
686         * docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
687         (__mem_interface): Remove all references to old internal typedef.
688         * include/backward/alloc.h (__USE_MALLOC): Remove it and all
689         guarded code.
690         * include/bits/c++config (__USE_MALLOC): Update related error
691         message and comment.
692         * include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
693         guarded code.  Update all related comments.
694         (__mem_interface): Unconditionally replace it with __new_alloc.
695         However, leave the typedef around in case anyone used it.
696         (__default_alloc_template<>::_S_force_new): New class static.
697         (__default_alloc_template<>::allocate, deallocate): Add
698         run-time controlled feature similar to what __USE_MALLOC code
699         path had provided.
700         * src/stl-inst.cc (__USE_MALLOC): Remove it and all
701         guarded code.
702         * testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
703         Add documentation on GLIBCPP_FORCE_NEW environment variable.
704         * testsuite/ext/allocators.cc: Likewise.
705
706 2002-10-18  Phil Edwards  <pme@gcc.gnu.org>
707
708         * configure.in:  Use target, not target_alias, when matching triplet
709         patterns.
710         * configure:  Regenerate.
711
712 2002-10-17  Momchil Velikov  <velco@fadata.bg>
713             Loren J. Rittle  <ljrittle@acm.org>
714
715         * configure.in: Add *-freebsd* to cross list.
716         * configure: Rebuilt.
717
718 2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
719
720         * include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
721         _M_name_timepunct.
722         (__timepunct::~__timepunct): Deallocate, remove specialization
723         declarations.
724         (messages::messages): Allocate _M_name_messages.
725         (messages::~messages): Deallocate.
726         (messages_byname): Same.
727         * config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
728         Remove.
729         * config/locale/generic/time_members.cc (__timepunct::~__timepunct):
730         Remove.
731
732         * docs/html/install.html: Add es_MX, en_PH to required locales list.
733
734 2002-10-16  Benjamin Kosnik  <bkoz@redhat.com>
735
736         * config/linker-map.gnu: Add exports for codecvt constructors
737         where size_t == unsigned long.
738
739 2002-10-14  Benjamin Kosnik  <bkoz@redhat.com>
740
741         * src/globals.cc (__gnu_cxx::c_locale_impl_compat): Add, alias to
742         c_locale_impl.
743         * testsuite/abi_check.cc (line_to_symbol_info): Collect size info.
744         * docs/html/abi.txt: Update.
745
746 2002-10-14  Benjamin Kosnik  <bkoz@redhat.com>
747
748         * testsuite/22_locale/static_members.cc (test02): Less provincial.
749
750 2002-10-14  Benjamin Kosnik  <bkoz@redhat.com>
751
752         * testsuite/22_locale/static_members.cc (test02): Disable for
753         systems without named locale support.
754         * testsuite/22_locale/ctor_copy_dtor.cc (test04): Don't assume
755         running the testsuites in "C" environment.
756         Add new tests.
757         * docs/html/22_locale/locale.html: Update.
758
759 2002-10-13  Danny Smith  <dannysmith@users.sourceforge.net>
760
761         * include/bits/stl_threads.h (_GLIBCPP_mutex,
762         _GLIBCPP_mutex_init,_GLIBCPP_mutex_address,
763         _GLIBCPP_mutex_address_init, _GLIBCPP_once):
764         Declare in namespace __gnu_cxx.
765         (_STL_mutex_lock::_M_initialize): Qualify __gnu_cxx
766         names.
767         Adjust copyright.
768
769 2002-10-12  Benjamin Kosnik  <bkoz@redhat.com>
770
771         * testsuite/abi_check.cc (hash<string>): Specialize.
772         Simplify. Check compatible symbol versions.
773         * config/linker-map.gnu: Clarify, explicitly export
774         std::codecvt::c* symbols.
775
776         * testsuite/22_locale/static_members.cc (test02): Avoid null strings.
777
778 2002-10-12  Jonathan Wakely  <jw@kayari.org>
779             Gabriel Dos Reis  <gdr@integrable-solutions.net>
780
781         * docs/html/21_strings/howto.html#5:  Correct nasting of XHTML
782         elements.  Correct allocator-related text.
783
784 2002-10-11  Benjamin Kosnik  <bkoz@redhat.com>
785
786         * testsuite/22_locale/static_members.cc (test02): Fix.
787
788 2002-10-11  Benjamin Kosnik  <bkoz@redhat.com>
789
790         * acconfig.h (_GLIBCPP_SYMVER): Add.
791         (_GLIBCPP_ASM_SYMVER): Add.
792         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Define _GLIBCPP_SYMVER.
793         * aclocal.m4: Regenerate.
794         * config.h.in: Regenerate.
795         * configure: Regenerate.
796         * include/bits/c++config (_GLIBCPP_AT_AT): Define, as an expedient
797         hack around m4 issues with quoting '@'.
798         * src/locale.cc: Use _GLIBCPP_ASM_SYMVER.
799         * src/globals.cc: Same.
800
801         * testsuite/22_locale/ctor_copy_dtor.cc (test04): Fix for
802         non-glibc systems.
803
804 2002-10-10  Benjamin Kosnik  <bkoz@redhat.com>
805
806         * config/linker-map.gnu (GLIBCPP_3.2.1): Add.
807         (GLIBCPP_3.2): Don't export locale::_S_*.
808         * src/ios.cc: Move globals into __gnu_cxx. Make old exported
809         symbols match.
810         * src/locale.cc: Same.
811         * src/localename.cc: Same.
812         * src/globals.cc: Same.
813
814 2002-10-10  Phil Edwards  <pme@gcc.gnu.org>
815
816         * docs/html/21_strings/howto.html:  Write #5, char_traits.
817         * docs/html/17_intro/porting.texi:  Expand on os_include_dir.
818         * docs/html/17_intro/porting.html:  Regenerate.
819
820 2002-10-09  Benjamin Kosnik  <bkoz@redhat.com>
821
822         * src/locale.cc: Fix comments, move ctors together.
823         * testsuite/22_locale/static_members.cc (test03): Add.
824
825 2002-10-08  Jonathan Lennox  <lennox@cs.columbia.edu>
826
827         PR libstdc++/8071, libstdc++/8127, libstdc++/6745
828         * streambuf.tcc (__copy_streambufs): Handle cases where
829         __sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
830         * testsuite/27_io/ostream_inserter_other.cc (test05): Add.
831
832 2002-10-08  Paolo Carlini  <pcarlini@unitus.it>
833             Benjamin Kosnik  <bkoz@redhat.com>
834
835         * include/bits/localefwd.h (class locale): Add static member
836         _S_num_extra_categories, encoding the number of additional
837         categories.
838         Change _S_num_categories to _S_categories_size.
839         (class locale::_Impl): Add _M_c_cats.
840         (class locale::_Impl::_M_names): Change to array of chars.
841         (class locale::_Impl::_M_check_same_name): Use
842         _S_extra_categories_size, tweak.
843         (locale::locale(const locale&, _Facet*)): Ditto.
844         * src/locale.cc (locale::locale(const char* )): Rewrite to deal
845         with the environment in a POSIX-compliant way while being thread
846         safe.
847         (locale::name()): Update to output POSIX environment strings.
848         * src/localename.cc
849         (locale::_Impl::_Impl(const _Impl&, size_t): Use
850         _S_categories_size_*, tweak.
851         (locale::_Impl::_Impl(facet**, size_t, bool)): Ditto.
852         (locale::_Impl::_Impl(const char*, size_t)): Name each category
853         individually.
854         (locale::_Impl::_M_replace_categories): Use strcpy.
855
856         * include/bits/locale_facets.h (numpunct::_M_initialize_numpunct):
857         Change default argument to NULL from _S_c_locale.
858         (timepunct::_M_initialize_timepunct): Same.
859         _S_c_locale cleanups.
860         * src/codecvt.c: _S_c_locale simplification.
861         * src/ctype.c: Same.
862         * src/globals.cc: Add fake_name.
863         * src/locale-inst.cc: Remove extra includes.
864         * src/locale.cc: Remove extra includes.
865         Add _S_extra_categories_size definition.
866         Correct "C" initialization.
867         (locale::facet::facet): Don't initialize _S_c_locale.
868         (locale::facet::_M_remove_reference): Adjust.
869         * src/localename: Use facet_vec, facet_name.
870         (locale::_Impl::_Impl(facet** __f, size_t __refs, bool)): Set
871         facet ref counts to one. Initialize _S_c_locale.
872         (locale::_Impl::_M_install_facet(id*, facet*)): Adjust facet ref
873         counts when installing unilaterally.
874
875         * config/locale/generic/c_locale.cc: Add _S_categories definition.
876         * config/locale/generic/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
877         * config/locale/generic/time_members.cc: _S_c_locale cleanup.
878
879         * config/locale/gnu/c_locale.cc: Add _S_categories definition.
880         (_S_destroy_c_locale): Move checks against _S_c_locale here.
881         * config/locale/gnu/c_locale.h: Add _GLIBCPP_NUM_CATEGORIES macro.
882         * config/locale/gnu/ctype_members.cc: Simplify _S_destroy_c_locale
883         calls, _S_c_locale usage.
884         * config/locale/gnu/monetary_members.cc: Same, tweaks.
885         * config/locale/gnu/monetary_members.cc: Same.
886         * config/locale/gnu/time_members.cc: Same.
887         * config/os/gnu-linux/ctype_noninline.h: Use locale::classic().
888
889         * docs/html/22_locale/locale.html: Add bits about global locales
890         and "C" setlocale.
891
892         * testsuite/22_locale/facet.cc (test02): Add.
893         * testsuite/22_locale/static_members.cc (test02): Add.
894         * testsuite/22_locale/ctor_copy_dtor.cc (test04): Add.
895
896 2002-10-07  Jonathan Wakely  <jw@kayari.org>
897
898         * docs/html/configopts.html, docs/html/documentation.html,
899         docs/html/explanations.html, docs/html/install.html,
900         docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
901         docs/html/17_intro/license.html, docs/html/18_support/howto.html,
902         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
903         docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
904         docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
905         docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
906         docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
907         docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
908         docs/html/27_io/howto.html, docs/html/ext/howto.html,
909         docs/html/ext/sgiexts.html, docs/html/faq/index.html:  Add DOCTYPEs.
910
911 2002-10-03  Richard Earnshaw  <rearnsha@arm.com>
912
913         PR libstdc++/3584
914         * config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
915         ASM sequences that don't give us atomic addition operations.  Instead
916         just add a comment explaining why it doesn't work.
917         (__atomic_add): Just use __exchange_and_add.
918         (__test_and_set, __always_swap): Delete.
919
920 2002-10-02  Andreas Jaeger  <aj@suse.de>
921
922         * config/abi/x86_64-unknown-linux-gnu/baseline_symbols.txt:
923         New file.
924
925 2002-10-01  Phil Edwards  <pme@gcc.gnu.org>
926
927         * Makefile.am (check-abi):  Add @ to rule.
928         * Makefile.in:  Regenerated.
929
930 2002-09-27  Paolo Carlini  <pcarlini@unitus.it>
931
932         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
933         Deal correctly with grouped, showbased (oct or hex) zero.
934         * testsuite/22_locale/num_put_members_char.cc: Add test05.
935         * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
936
937 2002-09-27  Richard Henderson  <rth@redhat.com>
938
939         * config/os/hpux/cpu_limits.h: Remove.
940
941         * include/std/std_limits.h (numeric_limits<T>::is_iec559): False
942         if denormals are not supported.
943
944 2002-09-25  Benjamin Kosnik  <bkoz@redhat.com>
945
946         * include/Makefile.am (target_headers): Remove cpu_limits.h.
947         * include/Makefile.in: Regenerate.
948         * configure.in (CPU_LIMITS_INC_SRCDIR): Remove
949         * configure: Regenerate.
950         * configure.target (CPULIMITS): Remove.
951
952         * include/std/std_limits.h: Remove cpu_limits.h include.
953
954         * config/os/solaris/solaris2.7/os_defines.h (__glibcpp_long_bits):
955         Remove.
956         * config/os/irix/irix6.5/os_defines.h
957         (__glibcpp_long_double_bits): Remove.
958         (__glibcpp_wchar_t_bits): Remove.
959         (__glibcpp_long_bits): Remove.
960         * config/os/irix/irix5.2/os_defines.h
961         (__glibcpp_long_double_bits): Remove.
962         (__glibcpp_long_bits): Remove.
963         * config/os/hpux/os_defines.h (__glibcpp_wchar_t_is_signed): Remove.
964         * config/os/bsd/freebsd/os_defines.h:
965         (__glibcpp_long_double_bits): Remove.
966         * config/os/aix/os_defines.h (__glibcpp_wchar_t_bits): Remove.
967         (__glibcpp_wchar_t_is_signed): Remove.
968         (__glibcpp_long_bits): Remove.
969         * config/os/gnu-linux/os_defines.h (__glibcpp_long_bits): Remove.
970         (__glibcpp_long_double_bits): Remove.
971
972         * config/os/osf/osf5.0/cpu_limits.h: Remove.
973         * config/cpu/alpha/cpu_limits.h: Remove.
974         * config/cpu/arm/cpu_limits.h: Remove.
975         * config/cpu/cris/cpu_limits.h: Remove.
976         * config/cpu/generic/cpu_limits.h: Remove.
977         * config/cpu/generic/limits.h: Remove.
978         * config/cpu/ia64/cpu_limits.h: Remove.
979         * config/cpu/m68k/cpu_limits.h: Remove.
980         * config/cpu/mmix/cpu_limits.h: Remove.
981         * config/cpu/powerpc/cpu_limits.h: Remove.
982         * config/cpu/S390/cpu_limits.h: Remove.
983
984 2002-09-25  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
985
986         * testsuite/18_support/numeric_limits.cc: Check the maximum and
987         minimum values of the wchar_t type.
988
989 2002-09-25  Mark Mitchell  <mark@codesourcery.com>
990
991         * include/std/std_limits.h (numeric_limits<unsigned char>::digits):
992         Fix typo.
993
994 2002-09-23  Richard Henderson  <rth@redhat.com>
995
996         * include/std/std_limits.h (__glibcpp_plain_char_is_signed,
997         __glibcpp_wchar_t_is_signed, __glibcpp_s8_max, __glibcpp_s8_min,
998         __glibcpp_s8_digits, __glibcpp_s8_digits10, __glibcpp_u8_min,
999         __glibcpp_u8_max, __glibcpp_u8_digits, __glibcpp_u8_digits10,
1000         __glibcpp_s16_max, __glibcpp_s16_min, __glibcpp_s16_digits,
1001         __glibcpp_s16_digits10, __glibcpp_u16_min, __glibcpp_u16_max,
1002         __glibcpp_u16_digits, __glibcpp_u16_digits10, __glibcpp_s32_max,
1003         __glibcpp_s32_min, __glibcpp_s32_digits, __glibcpp_s32_digits10,
1004         __glibcpp_u32_min, __glibcpp_u32_max, __glibcpp_u32_digits,
1005         __glibcpp_u32_digits10, __glibcpp_s64_max, __glibcpp_s64_min,
1006         __glibcpp_s64_digits, __glibcpp_s64_digits10, __glibcpp_u64_min,
1007         __glibcpp_u64_max, __glibcpp_u64_digits, __glibcpp_u64_digits10,
1008         __glibcpp_bool_digits, __glibcpp_signed_char_min,
1009         __glibcpp_signed_char_max, __glibcpp_signed_char_digits,
1010         __glibcpp_signed_char_digits10, __glibcpp_unsigned_char_min,
1011         __glibcpp_unsigned_char_max, __glibcpp_unsigned_char_digits,
1012         __glibcpp_unsigned_char_digits10, __glibcpp_char_min,
1013         __glibcpp_char_max, __glibcpp_char_digits, __glibcpp_char_digits10,
1014         __glibcpp_signed_short_min, __glibcpp_signed_short_max,
1015         __glibcpp_signed_short_digits, __glibcpp_signed_short_digits10,
1016         __glibcpp_unsigned_short_min, __glibcpp_unsigned_short_max,
1017         __glibcpp_unsigned_short_digits, __glibcpp_unsigned_short_digits10,
1018         __glibcpp_signed_int_min, __glibcpp_signed_int_max,
1019         __glibcpp_signed_int_digits, __glibcpp_signed_int_digits10,
1020         __glibcpp_unsigned_int_min, __glibcpp_unsigned_int_max,
1021         __glibcpp_unsigned_int_digits, __glibcpp_unsigned_int_digits10,
1022         __glibcpp_signed_long_min, __glibcpp_signed_long_max,
1023         __glibcpp_unsigned_long_digits, __glibcpp_unsigned_long_digits10,
1024         __glibcpp_signed_long_long_min, __glibcpp_signed_long_long_max,
1025         __glibcpp_signed_long_long_digits, __glibcpp_signed_long_long_digits10,
1026         __glibcpp_wchar_t_min, __glibcpp_wchar_t_max, __glibcpp_wchar_t_digits,
1027         __glibcpp_wchar_t_digits10): Remove.
1028         (__glibcpp_byte, __glibcpp_word_bits, __glibcpp_word): Remove.
1029         (__float_storage, __double_storage, __long_double_storage): Remove.
1030         (__glibcpp_signed, __glibcpp_min, __glibcpp_max): New.
1031         (__glibcpp_digits, __glibcpp_digits10): New.
1032         (numeric_limits<T>::min): Use __glibcpp_min or limits.h builtins.
1033         (numeric_limits<T>::max): Use __glibcpp_max or limits.h builtins.
1034         (numeric_limits<T>::is_signed, T=char,wchar_t): Use __glibcpp_signed.
1035         (numeric_limits<T>::digits): Use __glibcpp_digits.
1036         (numeric_limits<T>::digits10): Use __glibcpp_digits10.
1037         * testsuite/18_support/numeric_limits.cc (test03): Don't use
1038         __glibcpp_s8_digits10 et al; check vs the installed versions
1039         of digits10 for particular sizes.
1040
1041         * include/std/std_limits.h (__glibcpp_float_is_modulo,
1042         __glibcpp_double_is_modulo, __glibcpp_long_double_is_modulo): Kill.
1043         (numeric_limits<T>::is_modulo, T floating): Use false.
1044
1045 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1046
1047         * Makefile.am (all-multi): Fix multilib parallel build.
1048
1049 2002-09-22  Richard Henderson  <rth@redhat.com>
1050
1051         * include/std/std_limits.h (__glibcpp_f32_round_error,
1052         __glibcpp_f64_round_error, __glibcpp_f80_round_error,
1053         __glibcpp_f96_round_error, __glibcpp_f128_round_error,
1054         __glibcpp_float_round_error, __glibcpp_double_round_error,
1055         __glibcpp_long_double_round_error, __glibcpp_float_round_style,
1056         __glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
1057         (numeric_limits<char>::epsilon, round_error): Use constant 0.
1058         (numeric_limits<float>::round_error): Use constant 0.5.
1059         (numeric_limits<float>::round_style): Use round_to_nearest.
1060         (numeric_limits<double>, numeric_limits<long double>): Similarly.
1061
1062         * include/std/std_limits.h (__glibcpp_f32_is_iec559,
1063         __glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
1064         __glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
1065         __glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
1066         __glibcpp_long_double_is_iec559): Remove.
1067         (numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
1068         (numeric_limits<double>, numeric_limits<long double>): Similarly.
1069
1070         * include/std/std_limits.h (__glibcpp_integral_traps): New.
1071         (__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
1072         __glibcpp_long_traps, __glibcpp_wchar_t_traps,
1073         __glibcpp_long_long_traps, __glibcpp_plain_char_traps,
1074         __glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
1075         __glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
1076         __glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
1077         __glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
1078         __glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
1079         __glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
1080         __glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
1081         __glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
1082         __glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
1083         __glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
1084         (numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
1085         (numeric_limits<T>::is_modulo, T integral): Use true.
1086         (numeric_limits<T>::is_bounded, T floating): Use true.
1087
1088 2002-09-18  Loren J. Rittle  <ljrittle@acm.org>
1089
1090         * testsuite/18_support/numeric_limits.cc (test_epsilon): New.
1091
1092 2002-09-18  Richard Henderson  <rth@redhat.com>
1093
1094         * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
1095
1096 2002-09-16  Benjamin Kosnik  <bkoz@redhat.com>
1097
1098         * include/c_shadow: Remove.
1099         * include/bits/generic_shadow.h: Remove.
1100         * include/Makefile.am: Remove generic_shadow.h.
1101         * acinclude.m4: Remove c_shadow references.
1102         * aclocal.m4: Regenerate.
1103         * configure: Regenerate.
1104         * mkcshadow: Remove.
1105         * mkinclosure: Remove.
1106
1107 2002-09-16  Loren J. Rittle  <ljrittle@acm.org>
1108
1109         libstdc++/7922
1110         * include/ext/stl_rope.h (rope<>): Qualify dependent names
1111         with `typename'.
1112
1113 2002-09-16  Richard Henderson  <rth@redhat.com>
1114
1115         * include/std/std_limits.h (__glibcpp_f32_QNaN_bytes,
1116         __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1117         __glibcpp_f32_has_SNaN, __glibcpp_f64_QNaN_bytes,
1118         __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1119         __glibcpp_f64_has_SNaN, __glibcpp_f80_QNaN_bytes,
1120         __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1121         __glibcpp_f80_has_SNaN, __glibcpp_f96_QNaN_bytes,
1122         __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1123         __glibcpp_f96_has_SNaN, __glibcpp_f128_QNaN_bytes,
1124         __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1125         __glibcpp_f128_has_SNaN, __glibcpp_float_QNaN_bytes,
1126         __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1127         __glibcpp_float_has_SNaN, __glibcpp_double_QNaN_bytes,
1128         __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1129         __glibcpp_double_has_SNaN, __glibcpp_long_double_QNaN_bytes,
1130         __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1131         __glibcpp_long_double_has_SNaN): Remove.
1132         (__glibcpp_f128_is_iec559): True if IEEE.
1133         (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
1134         (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
1135         (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
1136         (std::numeric_limits<float>::has_quiet_NaN): Use __builtin_nanf.
1137         (std::numeric_limits<float>::has_signaling_NaN): Mirror has_quiet_NaN.
1138         (std::numeric_limits<float>::quiet_NaN): Use __builtin_nanf.
1139         (std::numeric_limits<float>::signaling_NaN): Use __builtin_nansf.
1140         (std::numeric_limits<double>): Similarly.
1141         (std::numeric_limits<long double>): Similarly.
1142         * src/limits.cc (__glibcpp_float_QNaN, __glibcpp_float_SNaN): Remove.
1143         (__glibcpp_double_QNaN, __glibcpp_double_SNaN): Remove.
1144         (__glibcpp_long_double_QNaN, __glibcpp_long_double_SNaN): Remove.
1145
1146         * testsuite/18_support/numeric_limits.cc (test_infinity): New.
1147         (test_denorm_min, test_qnan, test_is_iec559): New.
1148
1149 2002-09-16  Phil Edwards  <pme@gcc.gnu.org>
1150
1151         * testsuite/abi_check.cc:  Pull shell fragments out into...
1152         * config/abi/extract_symvers:  ...here.  New file.
1153         * Makefile.am (check_abi):  Change to match.
1154         (new-abi-baseline):  New target.
1155         * Makefile.in:  Regenerated.
1156
1157 2002-09-16  Richard Henderson  <rth@redhat.com>
1158
1159         * include/std/std_limits.h (__glibcpp_f32_denorm_min_bytes,
1160         __glibcpp_f32_has_denorm, __glibcpp_f64_denorm_min_bytes,
1161         __glibcpp_f64_has_denorm, __glibcpp_f80_denorm_min_bytes,
1162         __glibcpp_f80_has_denorm, __glibcpp_f96_denorm_min_bytes,
1163         __glibcpp_f96_has_denorm, __glibcpp_f128_denorm_min_bytes,
1164         __glibcpp_f128_has_denorm, __glibcpp_float_denorm_min_bytes,
1165         __glibcpp_float_has_denorm, __glibcpp_double_denorm_min_bytes,
1166         __glibcpp_double_has_denorm, __glibcpp_long_double_denorm_min_bytes,
1167         __glibcpp_long_double_has_denorm): Remove.
1168         (__glibcpp_float_denorm_min, __glibcpp_double_denorm_min,
1169         __glibcpp_long_double_denorm_min): Remove.
1170         (std::numeric_limits<float>::has_denorm): Use __FLT_DENORM_MIN__.
1171         (std::numeric_limits<float>::denorm_min): Likewise.
1172         (std::numeric_limits<double>): Similarly.
1173         (std::numeric_limits<long double>): Similarly.
1174         * src/limits.cc (__glibcpp_float_denorm_min,
1175         __glibcpp_double_denorm_min, __glibcpp_long_double_denorm_min): Remove.
1176
1177 2002-09-13  Andy Felt  <afelt@uwsp.edu>
1178
1179         * docs/html/17_intro/howto.html:  Update link.
1180
1181 2002-09-13  Phil Edwards  <pme@gcc.gnu.org>
1182
1183         * docs/doxygen/run_doxygen:  Massage man page for Iterator_types.3.
1184         * docs/html/faq/index.html:  Whitespace fixes.
1185
1186 2002-09-12  Benjamin Kosnik  <bkoz@redhat.com>
1187
1188         * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this
1189         directory.
1190         * libmath/Makefile.in: Regenerate.
1191         * src/Makefile.am: Tweak comment.
1192         * src/Makefile.in: Regenerate.
1193
1194         * config/locale/gnu/c_locale.h: Remove warnings.
1195         Inject __uselocale into __gnu_cxx.
1196         * config/locale/generic/c_locale.h: Match.
1197
1198 2002-09-11  Benjamin Kosnik  <bkoz@redhat.com>
1199
1200         * include/bits/locale_facets.tcc (__convert_from_v): Remove.
1201         * config/locale/gnu/c_locale.h (__convert_from_v): Add.
1202         * config/locale/generic/c_locale.h (__convert_from_v): Add.
1203
1204 2002-09-11  Paolo Carlini  <pcarlini@unitus.it>
1205
1206         * include/bits/locale_facets.tcc (__convert_from_v):
1207         Use __uselocale instead of setlocale for glibc 2.3+.
1208
1209 2002-09-10  Benjamin Kosnik  <bkoz@redhat.com>
1210
1211         * src/Makefile.am (sources): Edit.
1212         (target_sources): New.
1213         (target_sources_extra): New.
1214         * src/Makefile.in: Regenerate.
1215         * acinclude.m4: Set CCODECVT_CC.
1216         * aclocal.m4: Regenerate.
1217         * configure: Regenerate.
1218         * src/locale.cc: Move ctype definitions...
1219         * src/ctype.cc: ...here. New file.
1220         * src/locale.cc: Move codecvt definitions...
1221         * src/codecvt.cc: ...here.
1222         * config/generic/codecvt_members.cc: ...and here.
1223         * config/gnu/codecvt_members.cc: ...and here.
1224         * include/bits/codecvt.h: Tweak.
1225         * include/bits/locale_facets: Tweak.
1226
1227         * src/bitset.cc: Correct license text.
1228         * src/concept-inst.cc: Same.
1229         * src/strstream.cc: Same.
1230         * src/vterminate.cc: Same.
1231
1232 2002-09-10  Gabriel Dos Reis  <gdr@soliton.integrable-solutions.net>
1233
1234         * include/bits/stl_vector.h (vector<>): Don't use a name with
1235         different meanings before and after re-evaluation in the completed
1236         scope.
1237         * include/bits/basic_string.h (basic_string<>): Likewise.
1238         * include/bits/stl_bvector.h (vector<bool>): Likewise.
1239         * include/bits/stl_deque.h (std): Likewise.
1240         * include/bits/stl_list.h (list<>): Likewise.
1241         * include/bits/stl_tree.h (_Rb_tree<>): Likewise.
1242
1243 2002-09-10  Paolo Carlini  <pcarlini@unitus.it>
1244
1245         * include/bits/codecvt.h (class __codecvt_abstract_base):
1246         Add __c_locale type _M_c_locale_codecvt member.
1247         (class codecvt<char, char, mbstate_t>,
1248         class codecvt<wchar_t, char, mbstate_t>): Add new
1249         codecvt(__c_locale, size_t) constructor.
1250         (codecvt_byname::codecvt_byname): Update.
1251         * src/codecvt.cc (class codecvt<char, char, mbstate_t>,
1252         class codecvt<wchar_t, char, mbstate_t>): Update codecvt(size_t)
1253         constructor and ~codecvt() destructor; define
1254         codecvt(__c_locale, size_t) constructor.
1255         (codecvt::do_out): Switch to _M_c_locale_codecvt around wcsrtombs call.
1256         (codecvt::do_in): Ditto for mbsrtowcs call.
1257         * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
1258         Tweak construction of codecvt facets.
1259
1260 2002-09-10  Danny Smith  <dannysmith@users.sourceforge.net>
1261
1262         * include/bits/locale_facets.tcc (__convert_from_v):
1263         Replace strdup with ISO malloc and strcpy.
1264
1265 2002-09-09  Benjamin Kosnik  <bkoz@redhat.com>
1266
1267         * docs/html/configopts.html: Change grouping. Note ABI impacts.
1268         Update information for locale model defaults.
1269         * docs/html/install.html: Update include directory
1270         information.
1271         Update testing information.
1272         Update linux issues for named locales.
1273         * docs/html/abi.txt: Fix typos.
1274         Add more info.
1275
1276         * src/misc-inst.cc: Add missing instantiations.
1277
1278         * testsuite/abi_check.cc: Make output results more verbose.
1279
1280         * config/os/gnu-linux/ctype_base.h: Remove shadow headers injections.
1281
1282 2002-09-07  Jakub Jelinek  <jakub@redhat.com>
1283
1284         * config/locale/generic/messages_members.cc: Add specialization for
1285         messages<wchar_t>.
1286         * config/locale/ieee_1003.1-20021/messages_members.cc: Likewise.
1287
1288 2002-09-06  Benjamin Kosnik  <bkoz@redhat.com>
1289
1290         * include/bits/localefwd.h: Tweak formatting.
1291         * docs/html/abi.txt: Add.
1292
1293 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
1294
1295         * configure.target: Use cpu_include_dir="config/cpu/sparc" for all
1296         sparc targets.
1297         * config/cpu/sparc/atomicity.h: New file.
1298         * config/cpu/sparc/sparc32/atomicity.h: Removed.
1299         * config/cpu/sparc/sparc64/atomicity.h: Removed.
1300
1301 2002-09-06  Jakub Jelinek  <jakub@redhat.com>
1302
1303         * config/os/gnu-linux/ctype_noninline.h
1304         [_GLIBCPP_USE_SHADOW_HEADERS]: Remove using _C_legacy::__ctype_*.
1305         (ctype<char>::classic_table): If _GLIBCPP_C_LOCALE_GNU, return
1306         _S_c_locale->__ctype_b, otherwise temporarily switch to "C" locale
1307         and return __ctype_b.
1308         (ctype<char>::ctype(__c_locale, const mask*, bool, size_t)): If not
1309         _GLIBCPP_C_LOCALE_GNU, temporarily switch to "C" locale and
1310         initialize using __ctype_{b,tolower,toupper}.
1311         (ctype<char>::ctype(const mask*, bool, size_t)): If
1312         _GLIBCPP_C_LOCALE_GNU, initialize using
1313         _S_c_locale->__ctype_{b,tolower,toupper}, otherwise temporarily
1314         switch to "C" locale and initialize using __ctype_{b,tolower,toupper}.
1315
1316 2002-09-05  Paolo Carlini  <pcarlini@unitus.it>
1317             Roland McGrath  <roland@redhat.com>
1318
1319         PR libstdc++/7811
1320         * src/locale.cc (locale::locale(__s)): Use getenv instead
1321         of setenv for the environment locale.
1322         * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
1323
1324 2002-09-05  Jakub Jelinek  <jakub@redhat.com>
1325
1326         * config/abi/ia64-unknown-linux-gnu: Add.
1327         * config/abi/ia64-unknown-linux-gnu/baseline_symbols.txt: New file.
1328         * config/abi/alphaev67-unknown-linux-gnu: Add.
1329         * config/abi/alphaev67-unknown-linux-gnu/baseline_symbols.txt: New file.
1330
1331 2002-09-05  Jonathan Wakely  <jw@kayari.org>
1332
1333         * docs/html/Makefile:  Use more portable shell wildcard.
1334         * docs/html/makedoc.awk:  Nest elements correctly for XHTML conversion.
1335         * docs/html/configopts.html, docs/html/documentation.html,
1336         docs/html/explanations.html, docs/html/install.html,
1337         docs/html/17_intro/contribute.html, docs/html/17_intro/howto.html,
1338         docs/html/17_intro/license.html, docs/html/18_support/howto.html,
1339         docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
1340         docs/html/21_strings/howto.html, docs/html/22_locale/codecvt.html,
1341         docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1342         docs/html/22_locale/locale.html, docs/html/22_locale/messages.html,
1343         docs/html/23_containers/howto.html, docs/html/24_iterators/howto.html,
1344         docs/html/25_algorithms/howto.html, docs/html/26_numerics/howto.html,
1345         docs/html/27_io/howto.html, docs/html/ext/howto.html,
1346         docs/html/ext/sgiexts.html, docs/html/faq/index.html:  Convert
1347         to XHTML.
1348         * docs/html/faq/index.txt:  Regenerate.
1349
1350 2002-09-05  Jakub Jelinek  <jakub@redhat.com>
1351
1352         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)):
1353         Switch to _M_c_locale_ctype around btowc call.
1354         (ctype<wchar_t>::do_widen(const char*, const char *, wchar_t*)):
1355         Switch to _M_c_locale_ctype around mbsrtowcs call.
1356         (ctype<wchar_t>::do_narrow(char)): Switch to _M_c_locale_ctype around
1357         wctob call.
1358         (ctype<wchar_t>::do_narrow(const char*, const char *, wchar_t*)):
1359         Switch to _M_c_locale_ctype around wcsrtombs call.
1360
1361 2002-09-05  Jakub Jelinek  <jakub@redhat.com>
1362
1363         * config/locale/gnu/monetary_members.cc
1364         (moneypunct<wchar_t, true>::_M_initialize_moneypunct,
1365         moneypunct<wchar_t, false>::_M_initialize_moneypunct): Use
1366         __uselocale instead of setlocale for glibc 2.3.
1367
1368 2002-09-05  Jakub Jelinek  <jakub@redhat.com>
1369
1370         * config/locale/generic/c++locale_internal.h: New header.
1371         * config/locale/gnu/c++locale_internal.h: New header.
1372         * config/locale/gnu/c_locale.cc: Include it.
1373         * config/locale/gnu/collate_members.cc: Include it.
1374         * config/locale/gnu/ctype_members.cc: Include it.
1375         * config/locale/gnu/messages_members.cc: Include it.
1376         * config/locale/gnu/monetary_members.cc: Include it.
1377         * config/locale/gnu/numeric_members.cc: Include it.
1378         * config/locale/gnu/time_members.cc: Include it.
1379         (_M_put): Reorder __strftime_l and __wcsftime_l arguments to match
1380         glibc.
1381         (_M_initialize_timepunct): Initialize _M_c_locale_timepunct for
1382         C locale.
1383         * acinclude.m4: Include string.h when testing strcoll_l.
1384         For glibc 2.3 provide __-prefixed prototypes.
1385         (CLOCALE_INTERNAL_H): Set, add AC_LINK_FILES line.
1386         * aclocal.m4, configure: Rebuilt.
1387
1388 2002-09-05  Benjamin Kosnik  <bkoz@redhat.com>
1389
1390         * include/bits/locale_facets.h: Add declaration of specialization
1391         here.
1392         * config/locale/gnu/messages_members.cc: Add specialization for
1393         messages<wchar_t>.
1394         * config/locale/gnu/messages_members.h: Remove generic definition
1395         of do_get.
1396
1397 2002-09-04  Richard Henderson  <rth@redhat.com>
1398
1399         * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1400         __glibcpp_f32_has_infinity, __glibcpp_f64_infinity_bytes,
1401         __glibcpp_f64_has_infinity, __glibcpp_f80_infinity_bytes,
1402         __glibcpp_f80_has_infinity, __glibcpp_f96_infinity_bytes,
1403         __glibcpp_f96_has_infinity, __glibcpp_f128_infinity_bytes,
1404         __glibcpp_f128_has_infinity, __glibcpp_float_infinity_bytes,
1405         __glibcpp_float_has_infinity, __glibcpp_double_infinity_bytes,
1406         __glibcpp_double_has_infinity, __glibcpp_long_double_infinity_bytes,
1407         __glibcpp_long_double_has_infinity): Remove.
1408         (std::numeric_limits<float>, std::numeric_limits<double>,
1409         std::numeric_limits<long double>): Use __builtin_huge_val
1410         to implement has_infinity and infinity().
1411         * src/limits.cc (__glibcpp_float_infinity, __glibcpp_double_infinity,
1412         __glibcpp_long_double_infinity): Remove.
1413
1414 2002-09-03  Richard Henderson  <rth@redhat.com>
1415
1416         * include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
1417         __glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
1418         __glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
1419         __glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
1420         __glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
1421         __glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
1422         __glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
1423         __glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
1424         __glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
1425         __glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
1426         __glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
1427         __glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
1428         __glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
1429         __glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
1430         __glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
1431         __glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
1432         __glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
1433         __glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
1434         __glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
1435         __glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
1436         __glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
1437         __glibcpp_float_digits10, __glibcpp_float_radix,
1438         __glibcpp_float_epsilon, __glibcpp_float_min_exponent,
1439         __glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
1440         __glibcpp_float_max_exponent10, __glibcpp_double_min,
1441         __glibcpp_double_max, __glibcpp_double_digits,
1442         __glibcpp_double_digits10, __glibcpp_double_radix,
1443         __glibcpp_double_epsilon, __glibcpp_double_min_exponent,
1444         __glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
1445         __glibcpp_double_max_exponent10, __glibcpp_long_double_min,
1446         __glibcpp_long_double_max, __glibcpp_long_double_digits,
1447         __glibcpp_long_double_digits10, __glibcpp_long_double_radix,
1448         __glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
1449         __glibcpp_long_double_min_exponent10,
1450         __glibcpp_long_double_max_exponent,
1451         __glibcpp_long_double_max_exponent10): Remove macros.
1452         (std::numeric_limits<float>, std::numeric_limits<double>,
1453         std::numeric_limits<long double>): Use protected float.h macros.
1454
1455 2002-09-01  Phil Edwards  <pme@gcc.gnu.org>
1456
1457         * testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
1458         Fix spelling in comment.
1459         * testsuite/Makefile.in:  Regenerate.
1460         * testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
1461         than 'quote' and 'bslash'.
1462
1463 2002-08-31  Phil Edwards  <pme@gcc.gnu.org>
1464
1465         * acinclude.m4:  Minor comment tweaks.
1466
1467         * docs/html/makedoc.awk:  New file...
1468         * docs/html/Makefile:  ...called from here...
1469         * docs/html/documentation.html:  ...to help generate this.
1470
1471         * docs/html/21_strings/howto.html:  Prepare for new entry.
1472         * include/bits/basic_string.h:  Initial basic_stirng hook for
1473         doxygen.  Remove trailing whitespace.
1474         * include/bits/char_traits.h:  Point to onlinedocs for new entry.
1475         * include/bits/stringfwd.h:  Add doxygen hooks for string and
1476         wstring typedefs.
1477
1478 2002-08-29  Richard Earnshaw  <rearnshaw@arm.com>
1479
1480         * config/cpu/arm/cpu_limits.h: New file.
1481         * configure.target: Use config/cpu/arm for XScale and StrongARM
1482         configurations.
1483
1484 2002-08-28  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1485
1486         * include/std/std_limits.h (__glibcpp_char_bits,
1487         __glibcpp_short_bits, __glibcpp_int_bits, __glibcpp_long_bits,
1488         __glibcpp_long_long_bits, __glibcpp_float_bits,
1489         __glibcpp_double_bits, __glibcpp_long_double_bits): Remove.  Use
1490         compiler predifined macros.
1491         (__glibcpp_wchar_t_is_signed): Define based on compiler predefined
1492         __WCHAR_UNSIGNED__.
1493
1494 2002-08-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1495
1496         * include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
1497         __glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
1498         __glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
1499         __glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
1500         __glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
1501         __glibcpp_f64_infinity_bytes,
1502         __glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
1503         __glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
1504         __glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
1505         __glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
1506         __glibcpp_f80_infinity_bytes,
1507         __glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
1508         __glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
1509         __glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
1510         __glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
1511         __glibcpp_f96_infinity_bytes,
1512         __glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
1513         __glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
1514         __glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
1515         __glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
1516         __glibcpp_f128_infinity_bytes,
1517         __glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
1518         __glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
1519         __glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
1520         __glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
1521         __glibcpp_float_infinity_bytes,
1522         __glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
1523         __glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
1524         __glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
1525         __glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
1526         __glibcpp_double_infinity_bytes,
1527         __glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
1528         __glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
1529         __glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
1530         __glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
1531         __glibcpp_long_double_infinity_bytes,
1532         __glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
1533         __glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
1534         __glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
1535         __glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
1536         New macros.
1537         (__glibcpp_word_bits, __glibcpp_word): Likewise.
1538         (__glibcpp_byte): New typedef.
1539         (__float_storage, __double_storage, __long_double_storage): New types.
1540         (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1541         __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
1542         objects. Declare.
1543         (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1544         __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1545         (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1546         __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1547         Likewise.
1548
1549         * src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
1550         __glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
1551         (__glibcpp_double_infinity, __glibcpp_double_QNaN,
1552         __glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
1553         (__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
1554         __glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
1555         Likewise.
1556
1557 2002-08-25  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1558
1559         * include/std/std_limits.h: Indent conditional macro definitions.
1560
1561 2002-08-23  Phil Edwards  <pme@gcc.gnu.org>
1562
1563         * Makefile.am (check-abi):  Specify current directory.
1564         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE):  Fix shell syntax, use
1565         abi_baseline_triplet in baseline_file.
1566         * Makefile.in, aclocal.m4, configure:  Regenerate.
1567         * configure.target:  Add abi_baseline_triplet with default.
1568         * testsuite/abi_check.cc:  More error checking.
1569
1570 2002-08-23  Phil Edwards  <pme@gcc.gnu.org>
1571
1572         * config/linker-map.gnu:  Verbose comments, clean up spacing.
1573         * include/bits/stl_alloc.h:  Fix indentation of 'if' bodies, return
1574         statements.
1575         __allocator:  Change class declaration to struct.
1576         * docs/html/17_intro/C++STYLE:  Fix typo.
1577         * include/bits/stl_deque.h, include/bits/stl_list.h,
1578         include/bits/stl_map.h, include/bits/stl_multimap.h,
1579         include/bits/stl_vector.h:  Fix fallout from typo.
1580
1581 2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
1582
1583         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Set
1584         GLIBCPP_BUILD_ABI_CHECK based on cross compiling, build, host
1585         variables.
1586         * aclocal.m4: Regenerate.
1587         * testsuite/Makefile.am (noinst_PROGRAMS): Make conditional on
1588         native compiling.
1589         * testsuite/Makefile.in: Regenerate.
1590
1591 2002-08-22  Loren J. Rittle <ljrittle@acm.org>
1592
1593         * testsuite/abi_check.cc: Enhance shell portability.
1594         Support older binutils/readelf.
1595         * config/abi/i386-unknown-freebsd4.6: Add.
1596         * config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.
1597
1598 2002-08-22  Paolo Carlini  <pcarlini@unitus.it>
1599
1600         * docs/html/faq/index.html: Add Loren James Rittle and
1601         Paolo Carlini to the list of v3 maintainers.
1602         * docs/html/faq/index.txt: Ditto.
1603         * docs/html/17_intro/RELEASE-NOTES: Ditto.
1604
1605 2002-08-22  Benjamin Kosnik  <bkoz@redhat.com>
1606             Phil Edwards  <pme@gcc.gnu.org>
1607             Ulrich Drepper  <drepper@redhat.com>
1608
1609         * Makefile.am (check-abi): New rule.
1610         * Makefile.in: Regenerate.
1611         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Export baseline_file.
1612         * aclocal.m4: Regenerate.
1613         * configure: Regenerate.
1614         * testsuite/Makefile.am (noinst_PROGRAMS): Add abi_check.
1615         (abi_check_SOURCES): Add.
1616         * testsuite/Makefile.in: Regenerate.
1617         * testsuite/abi_check.cc: New file.
1618         * config/abi: Add.
1619         * config/abi/i686-pc-linux-gnu: Add.
1620         * config/abi/i686-pc-linux-gnu/baseline_symbols.txt: New file.
1621
1622 2002-08-19  Benjamin Kosnik  <bkoz@redhat.com>
1623
1624         * configure.in (libtool_VERSION): Update to 5:1:0.
1625         * configure: Regenerate.
1626
1627 2002-08-19  Jonathan Wakely  <jw@kayari.org>
1628
1629         * docs/html/configopts.html, docs/html/documentation.html,
1630         docs/html/install.html, docs/html/22_locale/codecvt.html,
1631         docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
1632         docs/html/22_locale/locale.html,
1633         docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
1634
1635 2002-08-15  Benjamin Kosnik  <bkoz@redhat.com>
1636
1637         * include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
1638         _M_buf_size_opt to zero when unbuffering.
1639         * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
1640         Consistency checks for _M_buf_size_opt.
1641
1642         Revert PR libstdc++/7445
1643         * src/locale.cc (locale::classic): Revert.
1644
1645         * docs/html/17_intro/TODO: Add.
1646
1647 2002-08-15  Phil Edwards  <pme@gcc.gnu.org>
1648
1649         * docs/html/documentation.html:  Update doxygen links for 3.2.
1650
1651 2002-08-15  Steve Ellcey  <sje@cup.hp.com>
1652
1653         * libsupc++/unwind-cxx.h (__cxa_exception): Change catchTemp
1654         type from void* to _Unwind_Ptr.
1655         * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
1656         Do not cast landing_pad or base_of_encoded_value to (void *).
1657         * libsupc++/eh_throw.cc (__gxx_exception_cleanup):
1658         Accept _URC_NO_REASON as a valid reason code.
1659
1660 2002-08-14  Jonathan Wakely  <jw@kayari.org>
1661
1662         * docs/html/22_locale/messages.html:  Use HTML entities for
1663         punctuation.
1664
1665 2002-08-13  Jonathan Wakely  <jw@kayari.org>
1666             Phil Edwards  <pme@gcc.gnu.org>
1667
1668         * docs/html/documentation.html:  Use HTML entities for punctuation.
1669
1670 2002-08-09  Phil Edwards  <pme@gcc.gnu.org>
1671
1672         * include/bits/deque.tcc, include/bits/list.tcc,
1673         include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1674         include/bits/stl_list.h, include/bits/stl_map.h,
1675         include/bits/stl_multimap.h, include/bits/stl_queue.h,
1676         include/bits/stl_stack.h, include/bits/stl_vector.h,
1677         include/bits/vector.tcc:  Re-indent contents of namespace std,
1678         re-wrap comment lines as necessary.
1679
1680 2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
1681             Benjamin Kosnik  <bkoz@redhat.com>
1682
1683         * include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
1684         not snextc.
1685         * testsuite/27_io/narrow_stream_objects.cc (test10): Add.
1686
1687 2002-08-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
1688
1689         * libsupc++/Makefile.am (LTCOMPILE): Add LIBSUPCXX_PICFLAGS.
1690         * libsupc++/Makefile.in: Regenerate.
1691
1692 2002-08-05  Gabriel Dos Reis  <gdr@nerim.net>
1693
1694         PR/7491
1695         * include/bits/slice_array.h(_DEFINE_VALARRAY_OPERATOR):
1696         Instantiate with new function objects.
1697         * include/bits/mask_array.h (_DEFINE_VALARRAY_OPERATOR): Likewise.
1698         Reformat.  Uglify.
1699         * include/bits/gslice_array.h: Likewise.
1700         * include/bits/indirect_array.h: Likewise.
1701
1702 2002-08-03  Gabriel Dos Reis  <gdr@nerim.net>
1703
1704         * testsuite/26_numerics/valarray_name_lookup.cc: Rename from
1705         testsuite/26_numerics/valarray_name_lookup.C
1706
1707         * include/bits/valarray_array.h (_DEFINE_ARRAY_FUNCTION): Use our
1708         object function surrogates.
1709         * include/bits/valarray_meta.h (__shift_left): Fix typo.
1710         (_BinFunClos<>): Remove.
1711         (_BinFunBase<>): Likewise.
1712         (_BinFunBase1<>):Likewise.
1713         (_BinFunBase2<>): Likewise.
1714         (_DEFINE_EXPR_RELATIONAL_OPERATOR): Likewise.
1715         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1716         (_DEFINE_EXPR_BINARY_OPERATOR): Likewise.
1717         (_DEFINE_EXPR_BINARY_FUNCTION): Likewise.
1718         * include/std/std_valarray.h: Dont #include <functional> anymore.
1719         (_Bitwise_or<>, _Bitwise_and<>, _Bitwise_xor<>, _Shift_left<>,
1720         _Shift_right<>): Remove.
1721         (_DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT): Adjust instantiation.
1722         (_DEFINE_BINARY_OPERATOR): Tweak definition.
1723         (_DEFINE_LOGICAL_OPERATOR): Remove.
1724         * testsuite/26_numerics/valarray_name_lookup.C (main): Add more tests.
1725
1726 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
1727
1728         * include/bits/valarray_meta.h (_UnFunBase<>): Remove.
1729         (_UnFunClos<>): Same.
1730         (_UnBase<>): Reformat.  Make first template-parameter non
1731         template.
1732         (_UnClos<>): Likewise.
1733         (_Expr<>): Reformate.  Adjust unary member operator return types.
1734         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
1735         (_DEFINE_EXPR_UNARY_FUNCTION): Likewise.
1736         * include/std/std_valarray.h (_UnClos<>): Adjust declaration.
1737         (valarray<>::_UnaryOp<>):  New nested traits. Adjust unary member
1738         operator return types.  Reformat.
1739         (_Bitwise_not): Remove.
1740         (_DEFINE_VALARRAY_UNARY_OPERATOR): Adjust definition.
1741         * testsuite/26_numerics/valarray_name_lookup.C: New test.
1742
1743 2002-08-02  Danny Smith  <dannysmith@users.sourceforge.net>
1744
1745         * config/os/newlib/ctype_inline.h (is): Don't offset _M_table.
1746         (scan_is): Use this->is.
1747         (scan_not): Likewise.
1748
1749 2002-08-02  Benjamin Kosnik  <bkoz@redhat.com>
1750
1751         Revert PR libstdc++/6594
1752         * src/strstream.cc (strstreambuf): Revert.
1753         (strstreambuf::overflow): Same.
1754         (strstreambuf::~strstreambuf): Same.
1755         * testsuite/backward/strstream_members.cc (test02): Add.
1756
1757         * docs/html/abi.txt: Update. Spell check.
1758
1759         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add bool test.
1760
1761         * testsuite/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1762         * testsuite/Makefile.in: Regenerate.
1763         * testsuite/testsuite_hooks.h: Use __throw_exception_again,
1764         include functexcept.h so that -fno-exceptions will build.
1765
1766 2002-08-02  Gabriel Dos Reis  <gdr@nerim.net>
1767
1768         * include/bits/valarray_meta.h (__unary_plus, __negate,
1769         __bitwise_not, __plus, __minus, __multiplies, __divides,
1770         __modulus, __bitwise_xor, __bitwise_or, __bitwise_and,
1771         __shift_left, __shift_right, __logical_and, __logical_or,
1772         __logical_not, __equal_to, __not_equal_to, __less, __less_equal,
1773         __greater_equal, __greater, __atan2, __pow): New function object
1774         classes.
1775         (__fun<>):  New function traits class.
1776
1777 2002-08-01  Rick Danos  <rdanos@hotmail.com>
1778
1779         PR libstdc++/7461
1780         * config/os/newlib/ctype_noninline.h (classic_table): Add offset.
1781         * config/os/newlib/ctype_inline.h (is): Use static_cast.
1782
1783 2002-08-01  Neil Booth  <neil@daikokuya.co.uk>
1784
1785         * libsupc++/Makefile.am (LT_COMPILE): Remove C++ flags.
1786         * libsupc++/Makefile.in: Regenerate.
1787
1788 2002-08-01  Benjamin Kosnik  <bkoz@redhat.com>
1789             Jakub Jelinek  <jakub@redhat.com>
1790
1791         * config/linker-map.gnu: Change CXXABI_1 to CXXABI_1.2,
1792         GLIBCPP_3.1 to GLIBCPP_3.2.
1793
1794 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
1795             Mark Mitchell  <mark@codesourcery.com>
1796
1797         PR libstdc++/7442
1798         * libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
1799         Change to __hwm_bit.
1800         (__class_type_info): And here.
1801
1802 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
1803
1804         PR libstdc++/7442
1805         * libsupc++/cxxabi.h
1806         (__base_class_info): Change to __base_class_type_info. 2.9.5p6c
1807         (__base_class_info::__base): Change to __base_type. 2.9.5p6c
1808         (__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
1809         (__vmi_class_type_info::__base_info): Don't make const, of type
1810         __base_class_type_info, as per 2.9.5p6c
1811         (__pbase_type_info::__qualifier_flags): Change to __flags, as per
1812         2.9.5p7.
1813         (__pbase_type_info::__qualifier_masks): Change to __masks, as per
1814         2.9.5p7.
1815         (__pointer_to_member_type_info::__context_class): Change member to
1816         __context, as per 2.9.5p9.
1817         * libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
1818         __context.
1819         * libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
1820         __flags.
1821         * libsupc++/tinfo.cc (__do_find_public_src): Change __base to
1822         __base_type.
1823         * libsupc++/tinfo.cc (__do_dyncast): Same.
1824         * libsupc++/tinfo.cc (__do_upcast): Same.
1825
1826 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
1827
1828         * src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
1829
1830 2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>
1831
1832         * docs/html/22_locale/howto.html: Fix.
1833
1834 2002-07-31  Alex Kompel  <shurik@sequoiap.com>
1835
1836         PR libstdc++/7445
1837         * src/locale.cc (locale::classic): Move locks inside !_S_classic
1838         block.
1839
1840 2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
1841
1842         * docs/html/abi.txt: Update.
1843
1844 2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
1845             Gabriel Dos Reis  <gdr@nerim.net>
1846
1847         * include/bits/char_traits.h: Remove generic definitions.
1848         * include/bits/streambuf_iterator.h (istreambuf_iterator): Use
1849         eof, not -2.
1850         * include/bits/istream.tcc (istream::readsome): Don't check
1851         against eof, instead use constants.
1852         (istream::sync): Same.
1853         (istream::sentry::sentry): Use eq_int_type.
1854         (istream::get): Same.
1855         * include/bits/ostream.tcc: Change __pad to
1856         __pad<_CharT, _Traits>::_S_pad.
1857         * include/bits/locale_facets.h: Add __pad_traits generic and
1858         ostreambuf_iterator specialization.
1859         * include/bits/locale_facets.tcc: Change __pad into struct __pad
1860         with a _CharT and _Traits template parameter and _S_pad static
1861         member function.
1862         * src/locale-inst.cc: Update __pad instantiations.
1863
1864         * include/std/std_fstream.h: Declare _M_underflow_common
1865         specializations.
1866         * src/fstream.cc: New. Add _M_underflow_common specializations.
1867         * include/bits/fstream.tcc (filebuf::close): Use traits_type.
1868         (filebuf::_M_underflow_common(bool)): Remove generic version, as
1869         sys_ungetc and custom int_types don't get along.
1870         * include/std/std_streambuf.h: Add _M_pos.
1871         * src/Makefile.am (sources): Add fstream.cc.
1872         * src/Makefile.in: Regenerate.
1873
1874         * testsuite/21_strings/capacity.cc: Add char_traits specializations.
1875         * testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
1876         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
1877         * testsuite/22_locale/ctor_copy_dtor.cc: Same.
1878         * testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
1879         * testsuite/27_io/filebuf.cc: ...here.
1880         * testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
1881         specialization for both.
1882         * testsuite/27_io/streambuf.cc: Add instantiation test,
1883         testsuite_hooks include.
1884         * testsuite/27_io/istream.cc: Same.
1885         * testsuite/27_io/ostream.cc: Same.
1886         * testsuite/27_io/fstream.cc: Same.
1887         * testsuite/27_io/stringstream.cc: Same.
1888         * testsuite/27_io/filebuf.cc: Same.
1889         * testsuite/27_io/stringbuf.cc: Same.
1890
1891 2002-07-29  Alan Modra  <amodra@bigpond.net.au>
1892
1893         * config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
1894         * configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
1895         * config/cpu/powerpc/atomicity.h (__always_swap): Remove.
1896         (__test_and_set): Remove.
1897         (_STWCX): Define and use.
1898
1899 2002-07-26  Phil Edwards  <pme@gcc.gnu.org>
1900
1901         * libsupc++/new (placement delete):  Remove unused parameter names.
1902
1903 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
1904
1905         PR libstdc++/7216
1906         * include/std/std_istream.h (basic_iostream): Add typedefs for
1907         char_type, int_type, pos_type, off_type, and traits_type.
1908         * testsuite/27_io/iostream.cc (test01): Add typedef tests.
1909         * testsuite/27_io/istream.cc: Same.
1910         * testsuite/27_io/ostream.cc: Same.
1911         * testsuite/27_io/filebuf.cc: Same.
1912         * testsuite/27_io/stringbuf.cc: Replace content, move to...
1913         * testsuite/27_io/stringbuf_members.cc: ...here.
1914         * testsuite/27_io/streambuf.cc: Replace content, move to...
1915         * testsuite/27_io/streambuf_members.cc: ...here.
1916         * testsuite/27_io/stringstream.cc: Replace content, move to...
1917         * testsuite/27_io/stringstream_members.cc: ...here.
1918         * testsuite/27_io/ios.cc: New file.
1919         * testsuite/27_io/fstream.cc: New file.
1920         * testsuite/27_io/ifstream.cc: New file.
1921         * testsuite/27_io/ofstream.cc: New file.
1922         * testsuite/27_io/istringstream.cc: New file.
1923         * testsuite/27_io/ostringstream.cc: New file.
1924
1925 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
1926
1927         PR libstdc++/7220
1928         * include/bits/istream.tcc (istream::ignore): Don't extract on
1929         zero.
1930         * testsuite/27_io/istream_unformatted.cc (test10): Add.
1931
1932 2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>
1933
1934         * testsuite/27_io/ios_base_type.cc: Move to...
1935         * testsuite/27_io/ios_base_types.cc: ...here.
1936
1937 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
1938
1939         PR libstdc++/7222
1940         * src/locale.cc (locale::locale(const char*)): Use setlocale NULL.
1941         * testsuite/22_locale/ctor_copy_dtor.cc (test02): New.
1942
1943 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
1944
1945         PR libstdc++/7230
1946         * config/linker-map.gnu: Revert strstream patch from 2002-07-01.
1947         * include/Makefile.am (backward_headers): Use strstream, not
1948         strstream.h.
1949         * include/Makefile.in: Regenerate.
1950         * include/backward/strstream: Revert.
1951         * include/backward/strstream.h: Remove.
1952         * src/strstream.cc: Revert.
1953         * testsuite/backward/strstream_members.cc: Change include.
1954
1955 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
1956
1957         PR libstdc++/7219
1958         * include/bits/ios_base.h (ios_base::streampos): Add.
1959         (ios_base::streamoff): Add.
1960         * testsuite/27_io/ios_base_type.cc: New.
1961
1962 2002-07-24  Benjamin Kosnik  <bkoz@redhat.com>
1963
1964         PR libstdc++/7286
1965         * libsupc++/new: Add placement delete.
1966         * testsuite/18_support/new_delete_placement.cc: New.
1967
1968         * docs/html/abi.txt: Fix typos.
1969
1970 2002-07-23  Benjamin Kosnik  <bkoz@redhat.com>
1971
1972         * docs/html/documentation.html: Remove libstdc++-v3.0.86 links,
1973         confusing usage of "latest."
1974         De-tangle contributor information from introductory notes.
1975         Move abi.txt link placement, activate.
1976         Re-organize.
1977         Move chapter info into old FAQ format.
1978         * docs/html/organization.html: Removed, obsoleted by doxygen work.
1979         * docs/html/abi.txt: Add notes on testing ABI changes.
1980
1981 2002-07-20  Phil Edwards  <pme@gcc.gnu.org>
1982
1983         * docs/html/abi.txt:  New file.
1984         * docs/html/23_containers/howto.html:  Tweak vector-overhead text.
1985         * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1986         Import from upstream, R22.
1987
1988         * include/bits/char_traits.h, include/bits/stl_iterator.h,
1989         include/bits/stl_iterator_base_types.h, libsupc++/exception,
1990         libsupc++/new, libsupc++/typeinfo:  Use @brief markup.
1991
1992         * include/bits/deque.tcc, include/bits/stl_alloc.h,
1993         include/bits/stl_deque.h, include/bits/stl_list.h:  Postpone removal
1994         of deprecated functions until 3.4.  (Same timeframe, different text.)
1995         * include/bits/stl_vector.h:  Ditto.  Also do the same cleanups that
1996         the other sequence classes received.
1997
1998 2002-07-18  Brendan Kehoe  <brendan@zen.org>
1999
2000         * bits/slice_array.h (_DEFINE_VALARRAY_OPERATOR): Fix typo of
2001         _Nname to _Name.
2002
2003 2002-07-19  Gabriel Dos Reis  <gdr@nerim.net>
2004
2005         DR/123
2006         * include/bits/slice_array.h
2007         (slice_array<T>::operator=(const T&)): Constify.
2008         * include/bits/gslice_array.h
2009         (gslice_array<T>::operator=(const T&)):  Likewise.
2010         * include/bits/mask_array.h
2011         (mask_array<T>::operator=(const T&)): Likewise.
2012         * include/bits/indirect_array.h
2013         (indirect_array<T>::operator=(const T&): Likewise.
2014
2015 2002-07-17  Phil Edwards  <pme@gcc.gnu.org>
2016
2017         * docs/doxygen/run_doxygen:  Remove template parameter names from
2018         "Compound List" summary page.  Reformat.
2019         * docs/html/documentation.html:  XHTML fixes.
2020
2021 2002-07-16  Andreas Schwab  <schwab@suse.de>
2022
2023         * libsupc++/new (set_new_handler): Declare to not throw any
2024         exceptions.
2025         * libsupc++/new_handler.cc (set_new_handler): Likewise.
2026
2027 2002-07-16  Gabriel Dos Reis  <gdr@nerim.net>
2028
2029         * include/Makefile.am (bits_headers): Remove slice.h
2030         * include/Makefile.in: Regenerate.
2031         * include/bits/slice.h (slice): move to include/bits/slice_array.h
2032         * include/bits/slice.h Remove.
2033         * include/std/std_valarray.h: Don't #include bits/slice.h anymore.
2034         * include/bits/slice_array.h: Comply to official coding styles.
2035         * testsuite/26_numerics/slice.cc: New test.
2036
2037 2002-07-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2038
2039         * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
2040         print to match vendor <ctype.h>.
2041
2042 2002-07-15  Phil Edwards  <pme@gcc.gnu.org>
2043
2044         * docs/html/faq/index.html:  Fix download links.
2045         * docs/html/faq/index.txt:  Regenerate.
2046         * docs/html/17_intro/porting.html:  Regenerate from earlier changes.
2047
2048 2002-07-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2049
2050         * configure.target (target_os switch): Allow for irix6*o32
2051         configurations.
2052
2053 2002-07-10  Gabriel Dos Reis  <gdr@nerim.net>
2054
2055         * include/bits/valarray_meta.h (_UnFunBase): Take a second
2056         template parameter. Remove _M_func data member.
2057         (_UnFunClos): Take a third template parameter.
2058         (__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
2059         __atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
2060         (_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.
2061
2062 2002-07-08  Eric Christopher  <echristo@redhat.com>
2063
2064         * configure.target: Fix comment for mips atomicity. Add
2065         mips*-*-linux* target, enable atomic operations there.
2066         * config/cpu/mips/atomicity.h: Fix comments, remove
2067         #ifndef/#endif. Add push/pop mips2.
2068
2069 2002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2070
2071         * include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
2072         member declarations to avoid compiler warnings and restore 3.1 ABI.
2073
2074 2002-07-08  Phil Edwards  <pme@gcc.gnu.org>
2075
2076         * docs/html/23_containers/howto.html:  Link to dk_std::vector paper
2077         and homepage.
2078
2079 2002-07-07  Paolo Carlini  <pcarlini@unitus.it>
2080
2081         PR libstdc++/7186
2082         * include/bits/stl_deque.h (_Deque_iterator::operator-):
2083         Make non-member, as already happens for the comparison
2084         operators in accord with DR179 (Ready).
2085         * testsuite/23_containers/deque_operators.cc: Add test02.
2086
2087 2002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
2088             Jack Reeves  <jackw_reeves@hotmail.com>
2089
2090         * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
2091         size_t, from int_type.
2092         (basic_streambuf::_M_buf_size_opt): Same.
2093         (basic_streambuf::_S_pback_sizex): Same.
2094         * include/bits/streambuf.tcc: Same.
2095         * include/std/std_streambuf.h (basic_streambuf::snextc): Use
2096         eq_int_type.
2097         (basic_streambuf::uflow): Same.
2098         * include/bits/sstream.tcc (basic_stringbuf::overflow): Use
2099         to_char_type.
2100         * include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
2101         * include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
2102         eq_int_type.
2103         (basic_streambuf::xsputn): Same.
2104         (__copy_streambufs): Same.
2105
2106 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
2107
2108         * include/std/std_memory.h: Fix formatting.
2109         * testsuite/20_util/auto_ptr_neg.cc: New.
2110         * testsuite/20_util/auto_ptr.cc: Tweaks.
2111         * testsuite/23_containers/map_operators.cc (test01): Split into..
2112         * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
2113         * testsuite/23_containers/set_operators.cc: Move to...
2114         * testsuite/23_containers/set_operators_neg.cc: ...here.
2115         * testsuite/README: Add some more naming rules.
2116
2117 2002-07-03  Steev Wilcox  <steev@paradigmds.com>
2118
2119         PR libstdc++/7057
2120         * include/ext/stl_hashtable.h: Fix.
2121         * testsuite/ext/hash_map.cc: New.
2122
2123 2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
2124             Kenny Simpson  <theonetruekenny@yahoo.com>
2125             Phil Edwards  <pme@gcc.gnu.org>
2126
2127         PR libstdc++/3946
2128         * testsuite/20_util/auto_ptr.cc (test08):  New test.
2129         * include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
2130         (auto_ptr::operator auto_ptr_ref):  Fix typo.
2131         General reformatting and doxygenating of the whole file.
2132
2133 2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
2134
2135         PR libstdc++/7097
2136         * include/c/std_cwchar.h: Fix.
2137
2138 2002-07-02  Benjamin Kosnik  <bkoz@redhat.com>
2139
2140         PR libstdc++/6410
2141         * include/bits/locale_facets.h (moneypunct::moneypunct): Add const
2142         char* name parameter.
2143         * config/locale/gnu/monetary_members.cc: Use it.
2144         * config/locale/generic/monetary_members.cc: Same.
2145         * src/localename.cc (_Impl::_Impl(const char*, size_t)): Use it.
2146
2147         * include/backward/strstream.h: Update date.
2148
2149 2002-07-02  Paolo Carlini  <pcarlini@unitus.it>
2150
2151         PR libstdc++/6642
2152         * include/bits/stl_iterator.h
2153         (__normal_iterator::operator-(const __normal_iterator&)):
2154         Make non-member, as already happens for the comparison
2155         operators in accord with DR179 (Ready).
2156         * testsuite/24_iterators/iterator.cc: Add test from the PR.
2157
2158 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
2159
2160         PR libstdc++/7173
2161         * acinclude.m4:  Simplify determination of gcc_version, and move
2162         up to GLIBCPP_CONFIGURE.
2163         * configure.in (release_VERSION):  Really remove.
2164         (AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
2165         * aclocal.m4, configure:  Regenerate.
2166
2167 2002-07-02  Phil Edwards  <pme@gcc.gnu.org>
2168
2169         * docs/html/configopts.html, docs/html/install.html:  Tweaks.
2170         * include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
2171         include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
2172         include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.
2173
2174 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
2175
2176         * include/backward/strstream: Remove namespace std. Transfer to...
2177         * include/backward/strstream.h: ...here. Qualify std names.
2178         * src/strstream.cc: Remove namespace std.
2179         * include/Makefile.am (backward_headers): Remove strstream.h.
2180         * include/Makefile.in: Regenerate.
2181         * config/linker-map.gnu: Export strstream bits.
2182
2183         * src/fstream-inst.cc: Tweak.
2184         * src/io-inst.cc: Same.
2185         * src/istream-inst.cc: Same.
2186         * src/misc-inst.cc: Same.
2187         * src/ostream-inst.cc: Same.
2188         * src/sstream-inst.cc: Same.
2189         * src/valarray-inst.cc: Same.
2190         * src/misc-inst.cc: Remove unused instantiations.
2191
2192 2002-07-01  Benjamin Kosnik  <bkoz@redhat.com>
2193
2194         * configure.in (libtool_VERSION): Bump to 5:0:0.
2195         * configure: Regenerate.
2196
2197 2002-06-28  Phil Edwards  <pme@gcc.gnu.org>
2198
2199         PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
2200         * include/std/std_queue.h:  Include deque.tcc, vector.tcc.
2201         * include/std/std_stack.h:  Include deque.tcc.
2202         * testsuite/23_containers/adaptors.cc:  New file.
2203
2204 2002-06-27  Phil Edwards  <pme@gcc.gnu.org>
2205
2206         * include/bits/stl_alloc.h:  Deprecate all 'reallocate' memfns.
2207         * docs/html/ext/howto.html:  Update allocator notes.
2208
2209 2002-06-26  Benjamin Kosnik  <bkoz@redhat.com>
2210
2211         * configure.in (INTERFACE): Remove.
2212         (release_VERSION): Remove.
2213         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
2214         (libstdcxx_interface): Change. Use gcc methods to determine version.
2215         * configure: Regenerate.
2216         * aclocal.m4: Regenerate.
2217
2218 2002-06-25  DJ Delorie  <dj@redhat.com>
2219
2220         * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
2221         GLIBCPP_TOPREL_CONFIGURE.
2222         * aclocal.m4: Likewise.
2223         * configure.in: Call it before AC_CANONICAL_SYSTEM.
2224         * configure: Regenerate.
2225
2226 2002-06-25  Jessica Han  <jessica@cup.hp.com>
2227
2228         * config/os/hpux/os_defines.h Define _GLIBCPP_VTABLE_PADDING
2229         * libsupc++/tinfo.cc Handle the 8 byte aligned vtable entries when
2230         _GLIBCPP_VTABLE_PADDING is defined.
2231
2232 2002-06-25  Benjamin Kosnik  <bkoz@redhat.com>
2233
2234         * include/bits/stl_alloc.h: Additional formatting.
2235
2236 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
2237
2238         * include/bits/stl_alloc.h:  Reformat as per C++STYLE.
2239
2240 2002-06-24  Phil Edwards  <pme@gcc.gnu.org>
2241
2242         * config/cpu/*/bits/*:  Move header files up a level.  Remove bits.
2243         * config/os/*/bits/*:  Likewise.
2244         * configure.in:  Update.
2245         * configure:  Regenerate.
2246         * configure.target:  Update.
2247         * docs/html/17_intro/porting.texi:  Update.
2248
2249 2002-06-21  Phil Edwards  <pme@gcc.gnu.org>
2250
2251         * include/bits/stl_map.h, include/bits/stl_multimap.h,
2252         include/bits/stl_queue.h, include/bits/stl_stack.h:  Reformat and
2253         complete doxygenation.
2254         * include/bits/boost_concept_check.h:  Minor comment.
2255
2256 2002-06-21  Benjamin Kosnik  <bkoz@redhat.com>
2257
2258         * include/c_compatibility: New.
2259         * include/c_compatibility/assert.h: New.
2260         * include/c_compatibility/ctype.h: New.
2261         * include/c_compatibility/errno.h: New.
2262         * include/c_compatibility/float.h: New.
2263         * include/c_compatibility/iso646.h: New.
2264         * include/c_compatibility/limits.h: New.
2265         * include/c_compatibility/locale.h: New.
2266         * include/c_compatibility/math.h: New.
2267         * include/c_compatibility/setjmp.h: New.
2268         * include/c_compatibility/signal.h: New.
2269         * include/c_compatibility/stdarg.h: New.
2270         * include/c_compatibility/stddef.h: New.
2271         * include/c_compatibility/stdio.h: New.
2272         * include/c_compatibility/stdlib.h: New.
2273         * include/c_compatibility/string.h: New.
2274         * include/c_compatibility/time.h: New.
2275         * include/c_compatibility/wchar.h: New.
2276         * include/c_compatibility/wctype.h: New.
2277
2278         * include/c/std_cerrno.h: Get out of the way... define errno.
2279         * include/c/std_cmath.h: Add abs, modf overloads.
2280         Undefine C99 isms. Still not sure how to deal with this sanely.
2281         * include/c/std_csetjmp.h: Tweak.
2282         * include/c/std_cwchar.h: Include cstddef for size_t.
2283
2284         * include/c_std/std_cmath.h: Remove extra function.
2285
2286         Pendantic std usage in testsuites.
2287         * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
2288         with std.
2289         * testsuite/17_intro/header_cwchar.cc: Tweak.
2290         * testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
2291         std::setlocale.
2292         * testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
2293         * testsuite/22_locale/ctype_to_char.cc (test05): Same.
2294         * testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
2295         * testsuite/22_locale/ctype_is_char.cc (test05): Same.
2296         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
2297         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
2298         * testsuite/22_locale/time_get_members_char.cc (test08): Same.
2299         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
2300         * testsuite/22_locale/time_put_members_char.cc (test04): Same.
2301         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
2302         * testsuite/22_locale/num_put_members_char.cc (test04): Same.
2303         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
2304         * testsuite/22_locale/numpunct_members_char.cc (test03): Same.
2305         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
2306         * testsuite/22_locale/num_get_members_char.cc: Same.
2307         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
2308         * testsuite/22_locale/money_put_members_char.cc (test07): Same.
2309         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
2310         * testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
2311         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
2312         * testsuite/22_locale/money_get_members_char.cc (test08): Same.
2313         * testsuite/22_locale/messages_members_char.cc (test03): Same.
2314         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
2315         * testsuite/22_locale/collate_members_char.cc (test04): Same.
2316         * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
2317         * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
2318         * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
2319
2320 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
2321
2322         * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
2323         c_sources.
2324
2325 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
2326
2327         * src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
2328         Use size_type instead of unsigned long.
2329
2330 2002-06-20  Steve Ellcey  <sje@cup.hp.com>
2331
2332         * src/ext-inst.cc (_S_fetch): Add explicit templates for char and
2333         wchar types.
2334         (_S_min_len): Ditto.
2335
2336 2002-06-20  Benjamin Kosnik  <bkoz@redhat.com>
2337
2338         * include/Makefile.am: Add rules.
2339         * include/Makefile.in: Regenerate.
2340
2341         * acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
2342         * aclocal.m4: Regenerate.
2343         * configure: Regenerate.
2344         * configure.target (c_model, c_compatibility): Add.
2345
2346         * libsupc++/Makefile.am (c_sources): New.
2347         (libsupc___la_SOURCES): Add c_sources.
2348         (LTCOMPILE): Remove INCLUDES.
2349         (GCC_INCLUDES): New.
2350         (C_COMPILE): New, like COMPILE but without INCLUDES.
2351         (cxa_demangle.o): Use C_COMPILE.
2352         (dyn-string.o): Use C_COMPILE.
2353
2354         * include/c/std_cstdarg.h: Define __need___va_list.
2355         * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
2356         need_NULL, need_offsetof.
2357
2358 2002-06-19  Steve Ellcey  <sje@cup.hp.com>
2359
2360         * configure.in (HAVE_FINITE*, HAVE_ISINF*, HAVE_ISNAN*):  Remove
2361         definitions in hpux11 cross-build because these functions do
2362         not exist on hpux11 (but some exist on hpux10); move defaults out
2363         into existing sections.
2364         * configure:  Regenerate.
2365
2366 2002-06-18  Benjamin Kosnik  <bkoz@redhat.com>
2367
2368         * include/c/std_cwchar.h: Guard. Add mbstate_t bits.
2369         * include/c/std_cwctype.h: Guard.
2370
2371         * libsupc++/eh_alloc.cc: Tweak include order.
2372         * libsupc++/pure.cc: Use cstdio.
2373         * libsupc++/new_op.cc: Remove malloc forward declaration, as
2374         cstdlib brings it in. Use std::malloc.
2375
2376         * src/Makefile.am (sources): Remove cmath.cc.
2377         * src/Makefile.in: Regenerate.
2378         * src/cmath.cc: Remove.
2379
2380 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
2381
2382         * configure.target:  Force mips to use the generic cpu routines.
2383
2384 2002-06-18  Phil Edwards  <pme@gcc.gnu.org>
2385
2386         * configure.host:  Delete file.
2387         * configure.target:  More documentation.  Factor out common parts of
2388         script into "intelligent" settings about defaults.  Remove redundancy.
2389
2390         * acinclude.m4:  Update comments.  Do not call configure.host.
2391         (GLIBCPP_ENABLE_SYMVERS):  If disabled, do not bother checking for
2392         libgcc_s.
2393         * configure.in:  Slight reformatting, more comments.  Factor out
2394         "config/" from all the directories.
2395         * docs/html/17_intro/porting.texi:  Update and expand.
2396         * testsuite/Makefile.am (AM_RUNTESTFLAGS):  Move empty setting
2397         from configure.host.
2398
2399         * aclocal.m4, configure, docs/html/17_intro/porting.html,
2400         testsuite/Makefile.in:  Regenerate.
2401
2402 2002-06-16  Phil Edwards  <pme@gcc.gnu.org>
2403
2404         * docs/doxygen/TODO:  Update.
2405         * docs/doxygen/tables.html:  Uncomment magical middle column.
2406         * docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
2407         * include/bits/stl_queue.h:  Doxygenate and reformat.
2408         * include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
2409         for deprecated names required by the standard.
2410
2411 2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>
2412
2413         * configure.in (target_alias): Fix.
2414         * configure: Regenerate.
2415         * aclocal.m4: Regenerate.
2416
2417 2002-06-12  Phil Edwards  <pme@gcc.gnu.org>
2418
2419         * include/Makefile.am:  Add new files.
2420         * include/Makefile.in:  Regenerate.
2421
2422         * include/bits/stl_deque.h, include/bits/stl_list.h,
2423         include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
2424         * include/bits/deque.tcc, include/bits/list.tcc,
2425         include/bits/vector.tcc:  ...to here.  New files.
2426
2427         * include/ext/stl_hashtable.h:  Inclide correct full headers.
2428         * include/std/std_deque.h:  Include .tcc files for now.
2429         * include/std/std_list.h:  Likewise.
2430         * include/std/std_vector.h:  Likewise.
2431
2432 2002-06-12  Daniel Jacobowitz  <drow@mvista.com>
2433
2434         * Makefile.am: Add FLAGS_TO_PASS.
2435         * Makefile.in: Regenerated.
2436
2437 2002-06-11  J.T. Conklin  <jtc@acorntoolworks.com>
2438             Benjamin Kosnik  <bkoz@redhat.com>
2439
2440         * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
2441         under *-qnx6.[12]*.
2442         * configure.in: Add support for *-qnx6.[12]*.
2443         * configure: Regenerate.
2444
2445         * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
2446         New directories.
2447         * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
2448         ctype_noninline.h, os_defines.h: New files.
2449
2450 2002-06-10  Loren J. Rittle <ljrittle@acm.org>
2451
2452         * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
2453         include all required headers for test against older POSIX standard.
2454         (GLIBCPP_CHECK_SETRLIMIT): Likewise.
2455         (ac_setrlimit): Likewise.
2456         * aclocal.m4: Regenerate.
2457         * configure: Regenerate.
2458         * testsuite/testsuite_hooks.cc: Reorder and include all
2459         required headers for use against older POSIX standard.
2460
2461 2002-06-08  Paolo Carlini  <pcarlini@unitus.it>
2462
2463         * testsuite/backwards/strstream_members.cc: New.
2464
2465 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2466
2467         * include/backwards/strstream: Format.
2468         * src/strstream.cc: Format.
2469
2470 2002-06-08  Andreas Schwab  <schwab@suse.de>
2471
2472         * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
2473         _M_buf_size and _M_buf_size_opt to the new buffer and size.
2474
2475 2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2476
2477         * config/os/generic/bits/ctype_noninline.h: Tweak format.
2478
2479 2002-06-07  Steve Ellcey  <sje@cup.hp.com>
2480
2481         * src/locale-inst.cc (__codecvt_abstract_base):
2482         Put inside _GLIBCPP_USE_WCHAR_T ifdef.
2483         * include/bits/istream.tcc (basic_istream): Ditto.
2484         (ws) Ditto.
2485         (operator>>) Ditto.
2486         * include/bits/ostream.tcc (basic_ostream): Ditto.
2487         (endl): Ditto.
2488         (ends): Ditto.
2489         (flush): Ditto.
2490         (operator<<): Ditto.
2491
2492 2002-06-07  Phil Edwards  <pme@gcc.gnu.org>
2493
2494         * mkcheck.in:  Link against local testsuite library.
2495         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
2496         implementation out...
2497         * testsuite/testsuite_hooks.cc:  ...to here.
2498
2499 2002-06-06  Loren J. Rittle <ljrittle@acm.org>
2500
2501         * src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
2502         * include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2503         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
2504         * src/Makefile.in: Regenerate (explicitly with --cygnus option).
2505         * testsuite/Makefile.in: Likewise.
2506
2507 2002-06-05  David Edelsohn  <edelsohn@gnu.org>
2508
2509         * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
2510         Call external symbol.
2511
2512 2002-06-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2513
2514         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2515         Search correct multilib testsuite dir for libv3test.
2516
2517 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
2518             Gaby Dos Reis  <gdr@codesourcery.com>
2519
2520         * include/bits/basic_string.tcc
2521         (basic_string::_S_construct(forward_iterator_tag):
2522         Fix typo in null pointer check.
2523         * testsuite/21_strings/ctor_copy_dtor.cc: Add test04.
2524
2525 2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
2526
2527         * testsuite/22_locale/money_get_members_char.cc
2528         (test02): Add decimal point to long double constants.
2529         * testsuite/22_locale/money_get_members_wchar_t.cc
2530         (test02): Likewise.
2531         * testsuite/22_locale/money_put_members_char.cc
2532         (test02, test03, test06): Likewise.
2533         * testsuite/22_locale/money_put_members_wchar_t.cc:
2534         (test02, test03, test06): Likewise.
2535         * testsuite/22_locale/num_get_members_char.cc:
2536         (test02, test01): Likewise; suffix long long constants with LL.
2537         * testsuite/22_locale/num_get_members_wchar_t.cc:
2538         (test02, test01): Likewise.
2539         * testsuite/22_locale/num_put_members_char.cc:
2540         (test02, test01): Likewise.
2541         * testsuite/22_locale/num_put_members_wchar_t.cc:
2542         (test02, test01): Likewise.
2543
2544 2002-06-03  Marc Espie  <espie@openbsd.org>
2545
2546         * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
2547         assembly for old assemblers.
2548
2549 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
2550
2551         * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
2552         Move/rename...
2553         (vector<bool>::swap(reference,reference)): ...to this.
2554
2555 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
2556
2557         * docs/doxygen/TODO:  Update.
2558         * docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
2559         some class members are in 14882 order.
2560         * docs/html/ext/howto.html:  3.1 is in the past now, not the future.
2561
2562         * include/std/std_bitset.h:  Update comment.
2563         * src/bitset.cc:  Update comments, clean up spacing.
2564
2565         * src/Makefile.am (sources):  Alphabetize for convenience.
2566         * src/Makefile.in:  Regenerate.
2567
2568 2002-06-03  Phil Edwards  <pme@gcc.gnu.org>
2569
2570         * include/bits/stl_deque.h, include/bits/stl_list.h,
2571         include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
2572         Reorder to match 14882.  Doxygen blocks for all public members.
2573
2574 2002-05-31  Marcus Meissner  <meissner@suse.de>
2575
2576         PR libstdc++/6886
2577         * include/bits/stl_bvector.h:  Use UL suffix for unsigned longs.
2578         * testsuite/23_containers/vector_bool.cc (test02):  New test.
2579
2580 2002-05-30  Marc Espie  <espie@openbsd.org>
2581
2582         * configure.in: Always check for sys/types.h
2583         * configure: Regenerate.
2584
2585 2002-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2586
2587         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):
2588         Rebuild the wrapper file every time this proc is called.
2589
2590 2002-05-28  Phil Edwards  <pme@gcc.gnu.org>
2591
2592         * testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
2593         CXX/INCLUDES.
2594         * testsuite/Makefile.in:  Regenerate.
2595         * testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
2596         list_modifiers.cc and rename from 'T'.  Move code bodies...
2597         * testsuite/testsuite_hooks.cc:  ...to here.  New file.
2598         * testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
2599         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
2600         Add libv3test.a to link options.
2601
2602 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2603
2604         * src/misc-inst.cc: Define unnecessary algorithm
2605         instantiations. Break apart instantiations into groupings below.
2606         * src/fstream-inst.cc: New.
2607         * src/io-inst.cc: New.
2608         * src/istream-inst.cc: New.
2609         * src/ostream-inst.cc: New.
2610         * src/streambuf-inst.cc: New.
2611         * src/sstream-inst.cc: New.
2612         * src/Makefile.am (sources): Add files.
2613         * src/Makefile.in: Regenerate.
2614
2615         * acinclude.m4: Work around automake 1.4-p5 bug, change
2616         AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
2617
2618 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2619
2620         PR libstdc++/6795.
2621         * config/os/solaris/solaris2.6/bits/ctype_noninline.h
2622         (classic_table): Fix.
2623         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2624
2625 2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2626
2627         * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
2628         _GLIBCPP_USE_WCHAR_T.
2629         * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
2630         * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
2631         * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
2632
2633 2002-05-26  Carlo Wood  <carlo@alinoe.com>
2634             Paolo Carlini  <pcarlini@unitus.it>
2635
2636         PR libstdc++/6811
2637         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2638         (__enc_traits::operator=): add missing return statement.
2639
2640 2002-05-24  Phil Edwards  <pme@gcc.gnu.org>
2641
2642         PR libstdc++/6282
2643         * include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
2644         (operator>>):  If nothing was extracted, don't fail in the
2645         zero-length case.
2646         * testsuite/23_containers/bitset_ctor.cc (test02):  New test.
2647
2648 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
2649
2650         PR libstdc++/6701
2651         * testsuite/22_locale/ctype_narrow_char.cc: New.
2652         * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
2653         * testsuite/22_locale/ctype_widen_char.cc: New.
2654         * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
2655         * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
2656         * testsuite/22_locale/ctype_is_char.cc: ...this.
2657         * testsuite/22_locale/ctype_to_char.cc: ...and this.
2658         * testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
2659         * testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
2660         * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
2661
2662         * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
2663
2664 2002-05-24  Dale Peakall <dale@peakall.net>
2665
2666         PR libstdc++/6701
2667         * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
2668         * config/locale/generic/ctype_members.cc: Same.
2669
2670 2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>
2671
2672         PR libstdc++/6750
2673         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2674         for empty string literal.
2675         (ostream::operator<<(const _CharT*)): Same.
2676         (ostream<char>::operator<<(const char*)): Same.
2677         (ostream<char>::operator<<(streambuf*)): Same.
2678         * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
2679         * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
2680
2681 2002-05-23  Benjamin Kosnik  <bkoz@redhat.com>
2682
2683         * configure.in (release_VERSION): Update to 3.1.1.
2684         (libtool_VERSION): Update to 4:1:0.
2685         * configure: Regenerate.
2686
2687 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
2688
2689         * include/bits/stl_pair.h:  Tweak comment markup.
2690
2691 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
2692
2693         * include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.
2694
2695 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
2696
2697         * docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.
2698
2699 2002-05-21  Phil Edwards  <pme@gcc.gnu.org>
2700
2701         * include/bits/stl_vector.h:  Reformat to follow C++STYLE.
2702         Doxygenate all public members.  Reorder to follow 14882.
2703         (vector::push_back(void)):  Remove previously-deprecated fn.
2704         (vector::insert(iterator), vector::_M_insert_aux(iterator)):
2705         Deprecate for removal in 3.3.
2706
2707 2002-05-20  Phil Edwards  <pme@gcc.gnu.org>
2708
2709         * docs/html/faq/index.html (5.4):  Recommend against -I options for
2710         finding the ext headers.
2711         * docs/html/faq/index.txt:  Regenerate.
2712
2713 2002-05-19  Paolo Carlini  <pcarlini@unitus.it>
2714
2715         * testsuite/23_containers/deque_operators.cc (test01):
2716         Fix minor typo in last commit.
2717
2718 2002-05-18  Paolo Carlini  <pcarlini@unitus.it>
2719
2720         PR libstdc++/6503
2721         * include/bits/stl_deque.h (_Deque_iterator::operator==,
2722         operator!=, operator<, operator>, operator>=, operator<=):
2723         Make non-member functions, to allow comparing const and
2724         non-const iterators in any order.
2725         * testsuite/23_containers/deque_operators.cc: New testfile.
2726
2727 2002-05-16  Phil Edwards  <pme@gcc.gnu.org>
2728
2729         * docs/html/faq/index.html:  Update not-a-bug list with basic_file.h.
2730         * docs/html/faq/index.txt:  Regenerate.
2731
2732 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2733
2734         * Makefile.am: Allow for PWDCMD to override hardcoded pwd.
2735         * acinclude.m4: Likewise.
2736         * docs/html/Makefile: Likewise.
2737         * aclocal.m4: Regenerate.
2738         * configure: Regenerate.
2739         * Makefile.in: Regenerate.
2740
2741 2002-05-15  Loren J. Rittle <ljrittle@acm.org>
2742
2743         libstdc++/6641
2744         * include/bits/c++config (__USE_MALLOC): Report case where
2745         the user improperly defined it on the command line.
2746
2747 2002-05-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2748
2749         * testsuite/testsuite_hooks.h (__set_testsuite_memlimit):
2750         Retrieve current limits before setting.
2751
2752 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
2753
2754         PR libstdc++/6518
2755         * include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
2756         for null case.
2757         (ostream::operator<<(const _CharT*)): Same.
2758         (ostream<char>::operator<<(const char*)): Same.
2759         * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
2760
2761 2002-05-15  Benjamin Kosnik  <bkoz@redhat.com>
2762
2763         PR libstdc++/6594
2764         * src/strstream.cc (strstreambuf): Fix leak.
2765
2766 2002-05-15  Paolo Carlini  <pcarlini@unitus.it>
2767
2768         PR libstdc++/6648
2769         * include/bits/istream.tcc (istream::getline, ignore):
2770         Upon __idelim (__delim) call sbumpc() not snextc().
2771         * testsuite/27_io/narrow_stream_objects.cc:
2772         Add test08 and test09.
2773
2774 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
2775
2776         * testsuite/22_locale/ctype_scan_char.cc: Tweak.
2777         * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
2778
2779         * docs/html/install.html: Fix.
2780
2781 2002-05-13  Benjamin Kosnik  <bkoz@redhat.com>
2782
2783         * include/bits/fstream.tcc
2784         (basic_filebuf::_M_allocate_internal_buffer): Remove extraneous
2785         try/catch blocks.
2786         * src/localename.cc (locale::_Impl::_M_install_facet): Same.
2787
2788         * docs/html/install.html: Tweak, add bits about required locales
2789         for the 22_locale tests when using the gnu model.
2790
2791         * testsuite/27_io/istream_sentry.cc: Tweak.
2792
2793 2002-05-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2794
2795         * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
2796         Fix typo, use this->is() rather than manually (and perhaps
2797         incorrectly) inlining it.
2798         * config/os/irix/irix6.5/bits/ctype_inline.h (scan_is, scan_not):
2799         Likewise.
2800         * testsuite/22_locale/ctype_scan_char.cc: New file.
2801
2802 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
2803             Jakub Jelinek  <jakub@redhat.com>
2804
2805         * testsuite/22_locale/money_get_members_char.cc
2806         (test01, test02, test04): Use the de_DE@euro named locale
2807         instead of de_DE to allow for an uniform behaviour with
2808         both old and Euro-era localedata; tweak some tests.
2809         * testsuite/22_locale/money_get_members_wchar_t.cc
2810         (test01, test02, test04): Likewise.
2811         * testsuite/22_locale/money_put_members_char.cc
2812         (test01, test02, test04): Likewise.
2813         * testsuite/22_locale/money_put_members_wchar_t.cc
2814         (test01, test02, test04): Likewise.
2815
2816 2002-05-13  Paolo Carlini  <pcarlini@unitus.it>
2817
2818         * testsuite/22_locale/codecvt_members_char_char.cc
2819         (test03): Robustify wrt localedata.
2820         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Likewise.
2821         * testsuite/22_locale/collate_members_char.cc (test04): Likewise.
2822         * testsuite/22_locale/collate_members_wchar_t.cc (test04): Likewise.
2823         * testsuite/22_locale/ctype_members_char.cc (test05): Likewise.
2824         * testsuite/22_locale/ctype_members_wchar_t.cc (test04): Likewise.
2825         * testsuite/22_locale/messages_members_char.cc (test03): Likewise.
2826         * testsuite/22_locale/money_get_members_char.cc (test08): Likewise.
2827         * testsuite/22_locale/money_get_members_wchar_t.cc (test08): Likewise.
2828         * testsuite/22_locale/money_put_members_char.cc (test07): Likewise.
2829         * testsuite/22_locale/money_put_members_wchar_t.cc (test07): Likewise.
2830         * testsuite/22_locale/moneypunct_members_char.cc (test03): Likewise.
2831         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Likewise.
2832         * testsuite/22_locale/num_get_members_char.cc (test06): Likewise.
2833         * testsuite/22_locale/num_get_members_wchar_t.cc (test06): Likewise.
2834         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2835         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2836         * testsuite/22_locale/numpunct_members_char.cc (test03): Likewise.
2837         * testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Likewise.
2838         * testsuite/22_locale/time_get_members_char.cc (test08): Likewise.
2839         * testsuite/22_locale/time_get_members_wchar_t.cc (test08): Likewise.
2840         * testsuite/22_locale/time_put_members_char.cc (test04): Likewise.
2841         * testsuite/22_locale/time_put_members_wchar_t.cc (test04): Likewise.
2842
2843 2002-05-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2844
2845         * config/os/irix/irix5.2/bits/os_defines.h: Revert 2002-05-06
2846         change.
2847
2848 2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
2849
2850         * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
2851         to 64 for hppa 64-bit port.
2852         (__glibcpp_long_double_bits): Define to 64 for all hppa ports.
2853
2854 2002-05-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2855
2856         * acinclude.m4 (enable_symvers): Quote $LD.
2857         * aclocal.m4: Regenerate.
2858         * configure: Likewise.
2859
2860 2002-05-09  Jakub Jelinek  <jakub@redhat.com>
2861
2862         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Append all
2863         multilib dirs containing libgcc_s*.so.1 below gcc object dir to
2864         LD_LIBRARY_PATH.
2865
2866 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
2867
2868         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2869         script entry, and set LD to it when configuring multilibs.
2870         * configure: Rebuilt.
2871
2872 2002-05-07  Mark Mitchell  <mark@codesourcery.com>
2873
2874         * configure.in: Add support for WindISS.
2875         * configure: Regenerated.
2876         * configure.target: Add support for WindISS.
2877         * config/os/windiss/bits/ctype_base.h: New file.
2878         * config/os/windiss/bits/ctype_inline.h: Likewise.
2879         * config/os/windiss/bits/ctype_noninline.h: Likewise.
2880         * config/os/windiss/bits/os_defines.h: Likewise.
2881
2882 2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
2883
2884         Test all the facets for the temporary "C" locale switch issue.
2885         * testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
2886         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
2887         * testsuite/22_locale/collate_members_char.cc: Add test04.
2888         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
2889         * testsuite/22_locale/ctype_members_char.cc: Add test05.
2890         * testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
2891         * testsuite/22_locale/messages_members_char.cc: Add test03.
2892         * testsuite/22_locale/money_get_members_char.cc: Add test08.
2893         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
2894         * testsuite/22_locale/money_put_members_char.cc: Add test07.
2895         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
2896         * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
2897         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
2898         * testsuite/22_locale/num_get_members_char.cc: Add test06.
2899         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
2900         * testsuite/22_locale/numpunct_members_char.cc: Add test03.
2901         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
2902         * testsuite/22_locale/time_get_members_char.cc: Add test08.
2903         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
2904         * testsuite/22_locale/time_put_members_char.cc: Add test04.
2905         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
2906
2907         * testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
2908         * testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
2909
2910 2002-05-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2911
2912         * config/os/irix/irix5.2/bits/os_defines.h (_SGI_SOURCE,
2913         __EXTENSIONS__): Ensure they are always defined.
2914
2915 2002-05-06  Phil Edwards  <pme@gcc.gnu.org>
2916
2917         * docs/html/documentation.html:  Fix broken link.
2918
2919 2002-05-04  Benjamin Kosnik  <bkoz@redhat.com>
2920             Paolo Carlini  <pcarlini@unitus.it>
2921
2922         * testsuite/22_locale/num_put_members_char.cc: Add test04(),
2923         testing for the locale_facets.tcc entry of the previous commit.
2924         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
2925
2926 2002-05-04  Takeshi Kobayakawa  <tskoba@mte.biglobe.ne.jp>
2927
2928         * config/locale/generic/c_locale.cc
2929         (__convert_to_v(float, double, long double)):
2930         Fix the temporary switch to the "C" locale, saving and
2931         restoring in the proper way the current locale.
2932         * config/locale/generic/time_members.cc
2933         (__timepunct<char, wchar_t>::_M_put): Likewise.
2934         * config/locale/gnu/messages_members.cc
2935         (messages<char>::do_get): Likewise.
2936         * config/locale/gnu/messages_members.h
2937         (messages<_CharT>::do_get): Likewise.
2938         * config/locale/gnu/time_members.cc
2939         (__timepunct<char, wchar_t>::_M_put): Likewise.
2940         * include/bits/locale_facets.tcc (__convert_from_v): Likewise.
2941
2942 2002-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2943
2944         * configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
2945         * libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
2946
2947         * Makefile.in, config.h.in, configure: Regenerate.
2948
2949 2002-05-03  Benjamin Kosnik  <bkoz@redhat.com>
2950
2951         PR libstdc++/6549.
2952         * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
2953         * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
2954
2955 2002-05-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2956
2957         * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
2958         Return __ctype + 1.
2959         (ctype:_M_table): Initialize to classic_table(), not __ctype.
2960
2961 2002-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2962
2963         * configure.in: Update local install.html, configopts.html paths.
2964         * configure: Regenerate.
2965
2966 2002-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2967
2968         * config/os/irix/irix5.2/bits/os_defines.h
2969         (__glibcpp_long_double_bits, __glibcpp_long_bits): Define.
2970
2971         * config/os/irix/irix5.2/bits/ctype_inline.h: Cast to unsigned
2972         char.
2973
2974 2002-05-02  Phil Edwards  <pme@gcc.gnu.org>
2975
2976         * docs/html/faq/index.html:  Update list in #4.1.
2977         * docs/html/faq/index.txt:  Regenerated.
2978
2979 2002-05-02  Benjamin Kosnik  <bkoz@redhat.com>
2980
2981         * docs/html/17_intro/RELEASE-NOTES (New): Update.
2982
2983 2002-05-01  Phil Edwards  <pme@gcc.gnu.org>
2984
2985         * include/std/std_bitset.h:  Fix doxygen comments.
2986         * docs/html/documentation.html:  Minor tweaks for 3.1.
2987         * docs/html/27_io/howto.html:  Likewise.
2988         * docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
2989         * docs/html/faq/index.html:  Likewise.
2990         * docs/html/faq/index.txt:  Regenerated.
2991
2992 2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2993
2994         PR libstdc++/6533
2995         * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
2996         (istreambuf_iterator::equal): Use it.
2997         (istreambuf_iterator::operator*): Use it.
2998
2999 2002-05-01  Paolo Carlini  <pcarlini@unitus.it>
3000
3001         PR libstdc++/6513
3002         * include/bits/stl_uninitialized.h
3003         (uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
3004         Fix typo in 2001-07-17 commit: typedef _ValueType to
3005         iterator_traits<_ForwardIter> not <_InputIter>.
3006         * testsuite/23_containers/vector_ctor.cc: Add test04.
3007
3008 2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>
3009
3010         PR libstdc++/6501
3011         * include/c_std/std_cctype.h: Include bits/c++config.h.
3012         * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
3013
3014 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
3015
3016         * include/ext/stdio_filebuf.h: New file.
3017         * include/ext/enc_filebuf.h: New file.
3018         * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
3019         * config/io/basic_file_stdio.cc: Same.
3020         * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
3021         Remove _M_unbuf hacks.
3022         (filebuf::_M_destroy_internal_buffer): Same.
3023         (filebuf::filebuf(cfile, openmode, int_type): Remove definition.
3024         (filebuf::fd): Remove.
3025         * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
3026         (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
3027         (filebuf::fd): Remove.
3028         * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
3029         filebufs.
3030         (ios_base::_S_ios_destroy): Same.
3031         * src/misc-inst.cc (file_filebuf<char>): Add instantiation.
3032         * include/Makefile.am (ext_headers): Add ext_filebuf.h,
3033         stdio_filebuf.h.  * include/Makefile.in: Regenerate.
3034
3035 2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>
3036
3037         PR libstdc++/6511
3038         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.
3039
3040 2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>
3041
3042         PR libstdc++/5820
3043         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
3044         Check for eof.
3045         * include/bits/streambuf_iterator.h: Match stream_iterator.h.
3046         (istreambuf_iterator::operator++): Invalidate on eof.
3047         (istreambuf_iterator::operator++(int)): Same.
3048         (istreambuf_iterator::operator*): Same.
3049
3050 2002-04-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3051
3052         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
3053         of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
3054         LD_LIBRARY64_PATH.
3055
3056 2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>
3057
3058         PR libstdc++/5820
3059         * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
3060         (__basic_file::sys_ungetc): Take int.
3061         * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
3062         * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
3063         Use sys_getc for unbuffered input.
3064         * testsuite/27_io/narrow_stream_objects.cc (test06): New.
3065
3066         * src/ios.cc (_M_grow_words): Adjust error checking.
3067         * testsuite/27_io/ios_base_storage.cc: Same.
3068
3069 2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3070
3071         * include/ext/stl_hashtable.h: Import __iterator_category
3072
3073 2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
3074             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3075
3076         * testsuite/ext/hash_set.cc: New testfile.
3077
3078 2002-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3079
3080         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
3081         _G_USING_THUNKS.
3082         * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
3083         * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
3084
3085 2002-04-26  Paolo Carlini  <pcarlini@unitus.it>
3086
3087         * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2):
3088         Fix and tighten __throw_length_error check.
3089         * testsuite/21_strings/replace.cc (test05): New.
3090         * testsuite/21_strings/replace.cc (test02, test03, test04): Tweak.
3091
3092 2002-04-23  Loren J. Rittle <ljrittle@acm.org>
3093
3094         * include/std/std_fstream.h (basic_filebuf::sync): Hoist
3095         unconditional flush on lower-layer handle to here...
3096         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow):
3097         ...from here.  Optimize remaining _M_file.sync() call pattern.
3098         * testsuite/27_io/narrow_stream_objects.cc (test04): New test.
3099         (test05): Likewise.
3100
3101 2002-04-23  Jason Merrill  <jason@redhat.com>
3102
3103         * include/bits/fstream.tcc (basic_filebuf::seekoff): Fix for
3104         output-only filebufs.
3105         * include/std/std_fstream.h (basic_filebuf::_M_set_indeterminate):
3106         Likewise.
3107         (basic_filebuf::_M_set_determinate): Likewise.
3108
3109         PR libstdc++/6414
3110         * include/bits/fstream.tcc (basic_filebuf::seekoff): Adjust return
3111         value properly in the trivial case.
3112         * testsuite/27_io/istream_seeks.cc (test04): Make sure that
3113         tellg() returns the right value after a read.
3114
3115 2002-04-23  Hans-Peter Nilsson  <hp@bitrange.com>
3116
3117         * config/cpu/mmix/bits/cpu_limits.h: New file.
3118         * configure.target (CPULIMITSH): Use it.
3119
3120 2002-04-22  Loren J. Rittle <ljrittle@acm.org>
3121
3122         * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
3123         * docs/html/17_intro/porting.html: Rebuilt.
3124
3125 2002-04-20  Jason Merrill  <jason@redhat.com>
3126
3127         PR libstdc++/4150
3128         * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
3129         Move to filebuf.
3130         (basic_streambuf::_M_set_determinate): Likewise.
3131         (basic_streambuf::_M_is_indeterminate): Likewise.
3132         * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
3133         non-static data member.
3134         (basic_filebuf::_M_underflow_common): New non-static member function.
3135         (basic_filebuf::_M_underflow, _M_uflow): Call it.
3136         (basic_filebuf::sync): Avoid useless seeking.
3137         (basic_filebuf::_M_set_indeterminate): Move here from streambuf.
3138         Set _M_filepos.
3139         (basic_filebuf::_M_set_determinate): Likewise.
3140         (basic_filebuf::_M_is_indeterminate): Likewise.
3141         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
3142         back to _M_out_beg if necessary.
3143         (basic_filebuf::seekoff): Likewise.
3144         (basic_filebuf::_M_underflow_common): Generalization of old
3145         underflow().  Don't seek back to _M_in_beg.
3146         * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
3147         * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
3148         * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
3149         * config/os/mingw32/bits/os_defines.h: Likewise.
3150         * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
3151         ungetc test.
3152
3153 2002-04-22  Benjamin Kosnik  <bkoz@redhat.com>
3154
3155         * include/bits/istream.tcc (istream::read): Fix.
3156         * testsuite/27_io/istream_unformatted.cc (main): Add.
3157
3158 2002-04-20  Benjamin Kosnik  <bkoz@redhat.com>
3159
3160         PR libstdc++/6360
3161         * include/bits/istream.tcc (istream::ignore): Streamline, use
3162         delimiter as is.
3163         * include/bits/streambuf.tcc: Use this->gptr.
3164         * testsuite/27_io/istream_unformatted.cc (test08): Add test.
3165
3166 2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>
3167
3168         * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
3169         as type safety is important, especially on solaris.
3170         * include/bits/istream.tcc (istream::read): Clean.
3171         (istream::readsome): Same.
3172         * locale.cc: Wrap lines.
3173
3174         * testsuite/21_strings/inserters_extractors.cc: Tweaks.
3175         * testsuite/27_io/instantiations.cc (test): Add bool variable...
3176         * testsuite/21_strings/capacity.cc: Clean.
3177
3178 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
3179
3180         * docs/doxygen/doxygroups.cc:  New group on binary searching.
3181         * include/bits/stl_algo.h:  Document binary searches and merges.
3182         * include/bits/stl_deque.h:  The 'map' member is not the 'map' class.
3183
3184 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
3185
3186         * docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
3187         * docs/doxygen/run_doxygen:  Bump required version.
3188         * docs/doxygen/user.cfg.in:  Revert accidental change.
3189         * docs/html/faq/index.html:  Reindent a block of links.
3190         (4.4):  New note on using dlsym.
3191         * docs/html/faq/index.txt:  Regenerated.
3192
3193 2002-04-17  Phil Edwards  <pme@gcc.gnu.org>
3194
3195         * testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.
3196
3197 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
3198
3199         * config/linker-map.gnu (__malloc_alloc_template): Add.
3200         (__default_alloc_template): Same.
3201         * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
3202         template.
3203         (__default_alloc_template): Same.
3204
3205 2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>
3206
3207         * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
3208
3209 2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>
3210
3211         * src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
3212         * src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
3213         (__malloc_alloc_template): Conditionalize.
3214
3215         * include/bits/istream.tcc: Remove sputbackc calls.
3216
3217         * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
3218
3219 2002-04-16  Paolo Carlini <pcarlini@unitus.it>
3220
3221         * testsuite/24_iterators/rel_ops.cc: New test.
3222
3223 2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
3224
3225         * include/bits/type_traits.h (__normal_iterator): Declare in
3226         __gnu_cxx.  Adjust use at global namespace.
3227         * include/bits/stl_iterator.h (__normal_iterator): Move definition
3228         into __gnu_cxx::. Add more operator overloads.  Tidy existing ones.
3229         * include/bits/basic_string.h (basic_string): Adjust use of
3230         __normal_iterator.
3231         * include/bits/stl_vector.h (_Alloc>): Likewise.
3232         * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now here.
3233         * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.
3234
3235 2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>
3236
3237         PR libstdc++/4164
3238         Valgrind fixes.
3239         * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
3240         Call close.
3241         (__basic_file::close): Call fflush. Correct return if fclose ok.
3242         (__basic_file::is_open): Make const.
3243         Change __c_file_type to __c_file.
3244         * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
3245         (__basic_file::is_open): Make const.
3246         * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
3247         * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
3248         (filebuf::_M_unbuf): Add.
3249         (filebuf::_M_file): Change to non-pointer.
3250         (filebuf::_M_allocate_pback_buffer): Remove.
3251         * include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
3252         (filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
3253         Change initialization list for _M_file change.
3254         (filebuf::_M_allocate_pback_buffer): Remove.
3255         Change _M_file usage to reflect non-pointer data member.
3256
3257         * config/locale/generic/c_locale.cc
3258         (locale::facet::_S_create_c_locale): Add parameter.
3259         * config/locale/generic/collate_members.cc: Change
3260         _M_compare_helper to _M_compare.
3261         Change _M_transform_helper to _M_transform.
3262         * config/locale/generic/monetary_members.cc: Changeup data types.
3263         Add dtors.
3264         * config/locale/generic/numeric_members.cc: Add dtors.
3265         * config/locale/generic/time_members.cc: Add dtors.
3266         * config/locale/gnu/c_locale.cc: Add parameter.
3267         * config/locale/gnu/collate_members.cc:Change
3268         _M_compare_helper to _M_compare.
3269         Change _M_transform_helper to _M_transform.
3270         * config/locale/gnu/ctype_members.cc: Better error checking.
3271         * config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
3272         * config/locale/gnu/messages_members.cc: Tweak comment.
3273         * config/locale/gnu/monetary_members.cc: Change data types.
3274         Add dtors.
3275         * config/locale/gnu/numeric_members.cc: Add dtors, better error
3276         checking.
3277         * config/locale/gnu/time_members.cc: Same.
3278         * config/locale/ieee_1003.1-2001/c_locale.cc
3279         (locale::facet::_S_create_c_locale): Add parameter.
3280         * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
3281         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
3282         bogus ctor.
3283
3284         * include/bits/locale_facets.h (moneypunct): Use string literals.
3285         Don't define dtor.
3286         (numpunct): Same.
3287         (__timepunct): Same.
3288         (locale::_Impl::_M_facets): Change from vector to array.
3289         (locale::_Impl::_M_names): Change from array of strings to array
3290         of string literals.
3291         (locale::facet::_S_create_c_locale): Add parameter.
3292         (locale::locale::_S_num_facets): Move to...
3293         (locale::_Impl::_M_facets_size): Here.
3294         * include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
3295         changes.
3296         * include/bits/localefwd.h: (locale::id::_M_id): Add member function.
3297         (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
3298         (locale::_Impl::_Impl(string, size_t)): Change to
3299         (locale::_Impl::_Impl(const char*, size_t)): This.
3300
3301         * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
3302         * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
3303         (streambuf::_S_pback_size): This.
3304
3305         * src/globals.cc: Add pre-allocations for "C" facets.
3306         * src/locale-inst.cc: Remove vector instantiations.
3307         * src/locale.cc: Remove vector include. Fixups for _M_names,
3308         _M_facets changes.
3309         * src/localename.cc: Same.
3310
3311         * include/bits/stl_vector.h: Fix odd formatting.
3312
3313         * include/bits/basic_string.tcc: Tweak comment.
3314
3315         * libsupc++/new: Make sure parameters are uglified.
3316         * libsupc++/typeinfo: Same.
3317
3318         * testsuite/22_locale/num_get_members_char.cc: Fixup.
3319         * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
3320         * testsuite/27_io/filebuf_members.cc: Same.
3321
3322 2002-04-12  Steve Ellcey  <sje@cup.hp.com>
3323
3324         * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
3325         (strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
3326         does not define strtoll or strtoull, but does define strtol
3327         and strtoul which are the same since in 64 bit mode
3328         sizeof(long) == sizeof(long long).
3329
3330 2002-04-12  Phil Edwards  <pme@gcc.gnu.org>
3331
3332         * include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
3333         trailing spaces, indentation, and macro names.  Make exception
3334         messages more informative.
3335
3336 2002-04-11  Richard Henderson  <rth@redhat.com>
3337
3338         * include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
3339         * include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
3340         (basic_ostream<>::operator<<(long long)): Same.
3341
3342 2002-04-11  Richard Henderson  <rth@redhat.com>
3343
3344         * config/linker-map.gnu: Add __gxx_personality_sj0.
3345
3346 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
3347
3348         libstdc++/1072
3349         * include/bits/localefwd.h (locale::_Impl::_M_facets): Change from
3350         pointer to vector.
3351         Remove forward declaration of vector.
3352         Include vector.
3353         * include/bits/locale_facets.tcc: Remove vector include.
3354         (use_locale): Adjust.
3355         (has_locale): Adjust.
3356         * src/locale.cc: Adjust.
3357         * src/localename.cc: Same.
3358
3359 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
3360             Richard Henderson  <rth@redhat.com>
3361
3362         * include/bits/sstream.tcc: Clean up bit ops.
3363         * include/bits/fstream.tcc: Same.
3364
3365 2002-04-09  Jakub Jelinek  <jakub@redhat.com>
3366
3367         * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
3368         (__num_base::_S_scale_oct): Remove.
3369         * src/locale.cc (__num_base::_S_scale_hex): Remove.
3370         (__num_base::_S_scale_oct): Remove.
3371
3372 2002-04-09  Benjamin Kosnik  <bkoz@redhat.com>
3373
3374         libstdc++/6124
3375         * testsuite/23_containers/bitset_members.cc: New test.
3376         * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move..
3377         (_S_bit_count): Here.
3378         (_First_one::_S_first_one): Move...
3379         (_S_first_one): Here.
3380         Format.
3381         * src/bitset.cc: Adjust.
3382         * config/linker-map.gnu: Export.
3383
3384 2002-04-08  Benjamin Kosnik  <bkoz@redhat.com>
3385
3386         libstdc++/5180
3387         * include/bits/fstream.tcc (filebuf::seekpos): Fix.
3388         * include/std/std_fstream.h: Clean.
3389         * include/bits/ostream.tcc: Remove extraneous variables.
3390         * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about
3391         open modes and which modes.
3392         (stringbuf::seekpos): Same.
3393         * testsuite/27_io/stringbuf_virtuals.cc: New tests.
3394
3395 2002-04-05  Jonathan Wakely <jw@kayari.org>
3396
3397         * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
3398         random_shuffle, partition, stable_partition, sort, stable_sort,
3399         partial_sort, partial_sort_copy, nth_element):  Doxygenate.
3400
3401 2002-04-05  David S. Miller  <davem@redhat.com>
3402
3403         * config/os/gnu-linux/bits/os_defines.h
3404         (__glibcpp_long_double_bits): Set to 64 on 32-bit Sparc.
3405
3406 2002-04-04  Benjamin Kosnik  <bkoz@redhat.com>
3407
3408         libstdc++/3457
3409         via gawrilow@math.tu-berlin.de
3410         * acinclude.m4 (version_specific_libs): Fix combo usage with
3411         --with-gxx-include-dir.
3412         * aclocal.m4: Regenerate.
3413         * configure: Same.
3414
3415 2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
3416
3417         As per DR 184, libstdc++/3139
3418         * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
3419         (numeric_limits<bool>::is_iec559): False.
3420         (numeric_limits<bool>::is_modulo): False.
3421
3422         * testsuite/27_io/ios_init.cc: Add instantiations.
3423
3424 2002-04-02  Benjamin Kosnik  <bkoz@redhat.com>
3425
3426         libstdc++/5268
3427         * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
3428         * testsuite/27_io/ios_init.cc (tests04): Add test.
3429
3430         libstdc++/3983
3431         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
3432         (basic_ios::_M_ios_fctype): Consistently name to _M_fctype.
3433         * include/bits/basic_ios.tcc: Same. Remove outdated comments.
3434         * include/bits/istream.tcc: Use _M_fctype, make consistent with
3435         ostream.
3436         * testsuite/27_io/ios_init.cc (tests03): Add test.
3437
3438 2002-04-02  Phil Edwards  <pme@gcc.gnu.org>
3439
3440         * include/Makefile.am (install-data-local):  Use mkinstalldirs.
3441         * include/Makefile.in:  Regenerate.
3442
3443 2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
3444             Nathan Myers  <ncm@cantrip.org>
3445             Philip Martin  <philip@codematters.co.uk>
3446
3447         * include/bits/basic_string.h
3448         (replace(i1, i2, _CharT* k1, _CharT* k2),
3449         replace(i2, i2, const _CharT* k1, const _CharT* k2),
3450         replace(i1, i2, iterator k1, iterator k2,
3451         replace(i1, i2, const_iterator k1, const_iterator k2):
3452         New specializations to optimize for the common cases of
3453         pointers and iterators.
3454         (replace(pos, n1, s, n2)): Tweak.
3455         * include/bits/basic_string.tcc: Tweak comments.
3456         * testsuite/21_strings/replace.cc (test04): New tests.
3457
3458 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
3459
3460         libstdc++/5542
3461         * acinclude: More extensive checks for msgfmt, --enable-nls.
3462         * aclocal.m4: Regenerate.
3463         * configure: Regenerate.
3464
3465 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
3466
3467         * libsupc++/exception (__verbose_terminate_handler):  Point to docs.
3468         * docs/doxygen/doxygroups.cc:  Doxygen hooks for abi::__cxa_demangle.
3469         * docs/html/18_support/howto.html:  Document the demangler.
3470         * docs/html/17_intro/howto.html:  And link to it.
3471
3472         * docs/doxygen/mainpage.html:  Describe user-vs-maintainer docs.
3473         * docs/doxygen/run_doxygen:  Print user-vs-maintainer.
3474
3475 2002-04-01  Phil Edwards  <pme@gcc.gnu.org>
3476
3477         * config/linker-map.gnu:  Export __verbose_terminate_handler.
3478         * libsupc++/Makefile.am (sources):  Add cxa_demangle.c, dyn-string.c.
3479         Make new LTCOMPILE variable, use it in new special build rules.
3480         * libsupc++/Makefile.in:  Rebuild.
3481         * src/vterminate.cc (__verbose_terminate_handler):  Enable use of
3482         runtime __cxa_demangle.
3483
3484         * docs/html/install.html:  Update prereqs and instructions.
3485         * docs/html/19_diagnostics/howto.html:  Bring naming for
3486         verbose_terminate_handler into line with reality.
3487
3488 2002-04-01  Benjamin Kosnik  <bkoz@redhat.com>
3489
3490         libstdc++/3129
3491         * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
3492         (basic_ios::_M_streambuf_state): Move.
3493         * include/bits/ios_base (ios_base): To here.
3494         * include/bits/ios_base.h (ios_base::_S_local_words): To
3495         _S_local_word_size.
3496         (ios_base::_M_word_array): To _M_local_word.
3497         (ios_base::_M_words_limit): To _M_word_size.
3498         (ios_base::_M_words): To _M_word.
3499         Comment.
3500         * include/bits/basic_ios.tcc: Adjust.
3501         * src/ios.cc (ios_base::_M_grow_words): Tweak.
3502         * testsuite/27_io/ios_base_storage.cc: Add tests.
3503
3504         libstdc++/5207
3505         Kenny Simpson <theonetruekenny@yahoo.com>
3506         * include/bits/ios_base.h: Fix.
3507
3508         Richard Henderson  <rth@redhat.com>
3509         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
3510         last change.
3511
3512         * include/bits/basic_string.h: Tweak formatting.
3513
3514 2002-04-01  Paolo Carlini  <pcarlini@unitus.it>
3515
3516         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3517         (codecvt::do_out, codecvt::do_unshift, codecvt::do_in):
3518         By definition, sizeof(char) == 1.
3519         * include/bits/locale_facets.tcc (money_get::do_get,
3520         money_put::do_put): Ditto.
3521         * testsuite/21_strings/inserters_extractors.cc
3522         (test04): Ditto.
3523
3524 2002-03-30  Richard Henderson  <rth@redhat.com>
3525
3526         PR c++/3719
3527         * libsupc++/eh_personality.cc (__cxa_call_unexpected): Copy handler
3528         data out of the exception struct before calling unexpectedHandler.
3529
3530 2002-03-28  Roger Sayle  <roger@eyesopen.com>
3531
3532         * include/c_std/std_cmath.h:  To prevent problems overloading
3533         g++ builtins, use the double variants from the global namespace
3534         before defining float and long double variants in std::.
3535
3536 2002-03-28  Loren J. Rittle <ljrittle@acm.org>
3537
3538         * testsuite/18_support/numeric_limits.cc (test_extrema): Fix typo.
3539
3540 2002-03-28  Paolo Carlini  <pcarlini@unitus.it>
3541
3542         * testsuite/24_iterators/istream_iterator.cc
3543         (test02): New tests.
3544
3545 2002-03-28  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3546             Paolo Carlini  <pcarlini@unitus.it>
3547
3548         * testsuite/22_locale/codecvt_members_unicode_wchar_t.cc
3549         (test01): Protect the test with _GLIBCPP_USE_WCHAR_T;
3550         fix i_lit_base e_lit_base arrays, making them independent
3551         from the endianness of the platform; tweak UCS4 to UCS-4BE.
3552
3553 2002-03-27  Benjamin Kosnik  <bkoz@redhat.com>
3554
3555         * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Always
3556         allocate at least a byte.
3557
3558         * testsuite/18_support/numeric_limits.cc (test_extrema): Make
3559         debugger-friendly.
3560         * testsuite/27_io/streambuf.cc (test07): Fix.
3561         (test06): Enable.
3562
3563 2002-03-27  Phil Edwards  <pme@gcc.gnu.org>
3564
3565         * docs/doxygen/Intro.3:  Date tweak.
3566         * docs/doxygen/TODO:  Update.
3567         * docs/doxygen/doxygroups.cc:  Point to tables.html.
3568         * docs/doxygen/mainpage.html:  Date tweak.
3569         * docs/doxygen/run_doxygen:  Version tweak.  Copy tables.html over.
3570         * docs/doxygen/tables.html:  Fill in the blanks.
3571
3572         * docs/doxygen/user.cfg.in (ALIASES):  Remove maint and endmaint.
3573         * include/bits/stl_algo.h:  Likewise; use expanded form.
3574         * include/bits/stl_alloc.h:  Likewise.
3575         * include/bits/stl_construct.h:  Likewise.
3576         * include/bits/stl_deque.h:  Likewise.
3577         * include/bits/stl_iterator_base_types.h:  Likewise.
3578         * include/bits/stl_list.h:  Likewise.
3579         * include/bits/stl_relops.h:  Likewise.
3580         * include/bits/stl_tempbuf.h:  Likewise.
3581         * include/bits/stl_vector.h:  Likewise.
3582         * include/std/std_memory.h:  Likewise.
3583
3584         * include/bits/stl_deque.h:  Point into tables.html and add @ingroup.
3585         * include/bits/stl_list.h:  Likewise.
3586         * include/bits/stl_vector.h:  Likewise.
3587
3588 2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
3589
3590         * include/c/: Guard with _CPP_.
3591         * include/c_std/: Same.
3592         * include/Makefile.am: Fixup install, link routines for null
3593         c_base_headers_extra scenarios.
3594         * include/Makefile.in: Regerate.
3595
3596 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
3597             Richard Henderson  <rth@redhat.com>
3598
3599         * testsuite/22_locale/codecvt_members_unicode_char.cc
3600         (test01, test02): make sure that the i_lit_base array
3601         is sufficiently aligned.
3602
3603 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
3604
3605         * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
3606         _ctype_.
3607
3608 2002-03-25  Paolo Carlini  <pcarlini@unitus.it>
3609
3610         * testsuite/22_locale/collate_byname.cc
3611         (test01): compare the result of collate::compare with
3612         that of collate::transform + string::compare, not with
3613         that of collate::transform + collate::compare; values
3614         returned by collate::compare are normalized, therefore
3615         test against +-1.
3616
3617 2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
3618             Jakub Jelinek  <jakub@redhat.com>
3619
3620         * config/locale/gnu/messages_members.h: Correct conditional.
3621         * config/locale/gnu/messages_members.cc: Same.
3622         * config/locale/gnu/time_members.cc: Same.
3623
3624 2002-03-25  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3625             Paolo Carlini  <pcarlini@unitus.it>
3626
3627         * testsuite/22_locale/codecvt_members_unicode_char.cc
3628         (test01, test02): Fix i_lit_base arrays, making them
3629         independent from the endianness of the platform.
3630
3631 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
3632
3633         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
3634         signbit and __signbit directly.
3635         * aclocal.m4: Regenerate.
3636         * configure: Regenerate.
3637         * config.h.in: Regenerate.
3638         * libmath/Makefile.am: Simplify.
3639         * libmath/Makefile.in: Regenerate.
3640         * include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
3641
3642         * include/Makefile.am: Clean up handling of extra "C" header files.
3643         Add hooks for "C" compatibility headers.
3644         * include/Makefile.in: Regenerate.
3645
3646         * include/c/*: Formatting tweaks, cleanups.
3647         * include/c_std/*: Same.
3648
3649 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
3650
3651         * config/locale/gnu/messages_members.h: Add __uselocale bits.
3652         * config/locale/gnu/messages_members.cc: Same.
3653         * config/locale/gnu/time_members.cc: Same.
3654
3655 2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>
3656
3657         * src/vterminate.cc: Format, -fno-exceptions cleanup.
3658
3659 2002-03-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3660
3661         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
3662         (GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
3663         * aclocal.m4: Regenerate.
3664         * configure: Likewise.
3665
3666 2002-03-19  Paolo Carlini  <pcarlini@unitus.it>
3667             Ulrich Drepper  <drepper@redhat.com>
3668
3669         * src/locale-inst.cc (__convert_from_v): Add an additional
3670         __size parameter in the declarations.
3671         * include/bits/locale_facets.tcc
3672         (__convert_from_v): When available (that is,
3673         _GLIBCPP_USE_C99 defined) use snprintf instead of sprintf.
3674         (num_put::_M_convert_float): Depending on _GLIBCPP_USE_C99
3675         being defined or not, call and use __convert_from_v in the
3676         appropriate way.
3677         (num_put::_M_convert_int): Same here.
3678         (money_put::do_put(long double)): Same here.
3679
3680 2002-03-19  Phil Edwards  <pme@gcc.gnu.org>
3681
3682         * docs/html/faq/index.html (#3.6):  Rewrap and close <a href> tags.
3683         * docs/html/faq/index.txt:  Regenerate.
3684
3685 2002-03-19  Steve Ellcey  <sje@cup.hp.com>
3686
3687         * acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
3688         GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
3689         --enable-libunwind-exceptions is set.
3690         * configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
3691         macro to check for libunwind.
3692         * configure: Regenerate.
3693         * src/Makefile.am (libstdc___la_LDFLAGS): Add
3694         LIBUNWIND_FLAG to libstdc link line.
3695         * src/Makefile.in: Regenerate.
3696
3697 2002-03-19  Benjamin Kosnik  <bkoz@redhat.com>
3698
3699         * docs/html/faq/index.html: Add OS X workaround.
3700         * docs/html/17_intro/TODO: Update.
3701
3702 2002-03-18  Paolo Carlini  <pcarlini@unitus.it>
3703
3704         * include/bits/locale_facets.tcc
3705         (money_put::do_put(long double)): Fix dimensioning of
3706         temporary buffers to avoid risk of overruns.
3707         (money_put::do_put(string)): Same for the buffer used to
3708         add the grouping chars.
3709         * testsuite/22_locale/money_put_members_char.cc: Add test06.
3710         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
3711
3712         * include/bits/locale_facets.tcc
3713         (collate::do_transform): Simplify.
3714
3715 2002-03-18  Phil Edwards  <pme@gcc.gnu.org>
3716
3717         * acinclude.m4 (GLIBCPP_CONFIGURE):  Make indentation/spacing uniform.
3718         * configure.in:  Add comments pointing the way for autoconf 2.5x.
3719         * aclocal.m4, config.h.in, configure:  Regenerate.
3720
3721 2002-03-18  Philipp Thomas  <pthomas@suse.de>
3722
3723         * include/backward/hash_map.h: hash, hashtable, hash_map and
3724         hash_multimap are in namespace __gnu_cxx.
3725         include/backward/hash_set.h: hash, hashtable, hash_set and
3726         hash_multiset are in namespace __gnu_cxx.
3727         include/backward/hashtable.h: hash and hashtable are in
3728         namespace __gnu_cxx.
3729         include/backward/rope.h: char_producer, sequence_buffer,
3730         rope, crope and wrope are in namespace __gnu_cxx.
3731         include/backward/slist.h: slist is in namespace __gnu_cxx.
3732         * testsuite/backward/header_hash_map_h.cc
3733         testsuite/backward/header_hash_set_h.cc
3734         testsuite/backward/header_hashtable_h.cc
3735         testsuite/backward/header_rope_h.cc
3736         testsuite/backward/header_slist_h.cc
3737         testsuite/backward/header_tempbuf_h.cc: New tests for
3738         checking that we're using the correct namespace.
3739
3740 2002-03-17  Jason Merrill  <jason@redhat.com>
3741
3742         PR c++/4381
3743         * libsupc++/eh_personality.cc (get_adjusted_ptr): New static fn.
3744         (check_exception_spec): Call it.  Take the thrown pointer.
3745         (__cxa_call_unexpected): Pass it.
3746         (PERSONALITY_FUNCTION): Likewise.  Use get_adjusted_ptr.
3747
3748 2002-03-15  Anthony Green  <green@redhat.com>
3749
3750         * configure.in: Remove useless is_mingw32.
3751         * configure: Rebuilt.
3752
3753 2002-03-15  Paolo Carlini  <pcarlini@unitus.it>
3754
3755         * testsuite/22_locale/collate_members_char.cc
3756         (test01): compare the result of collate::compare with
3757         that of collate::transform + string::compare, not with
3758         that of collate::transform + collate::compare.
3759         (test01): values returned by collate::compare are
3760         normalized, therefore test against +-1.
3761         * testsuite/22_locale/collate_members_wchar_t.cc: Ditto.
3762
3763 2002-03-12  Loren Rittle  <ljrittle@acm.org>
3764
3765         reported by Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3766         * testsuite/thread/pthread4.cc: Lower nominal iteration counter.
3767
3768 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3769             Per Liboriussen  <liborius@stofanet.dk>
3770
3771         * config/os/gnu-linux/bits/ctype_noninline.h: Cast to
3772         unsigned char.
3773         * config/os/gnu-linux/bits/ctype_inline.h: Same.
3774
3775         * config/os/irix/irix6.5/bits/ctype_inline.h: Same.
3776
3777         * config/os/solaris/solaris2.5/bits/ctype_inline.h: Same.
3778         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
3779
3780         * config/os/solaris/solaris2.6/bits/ctype_inline.h: Same.
3781         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
3782
3783         * config/os/solaris/solaris2.7/bits/ctype_inline.h: Same.
3784         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
3785
3786         * testsuite/22_locale/ctype_members_char.cc (main): Add tests.
3787
3788 2002-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3789
3790         * include/bits/basic_string.tcc (string::_S_construct(_InIter,
3791         _InIter, const _Alloc&, forward_iterator_tag): Check for null.
3792         (string::basic_string(const _CharT* __s, const _Alloc& __a)): Same.
3793         * testsuite/21_strings/ctor_copy_dtor.cc (test01): Re-enable, now
3794         that memory limits are in place.
3795         (test03): Add tests.
3796
3797 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
3798
3799         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
3800         * aclocal.m4: Regenerate.
3801         * config.h.in: Regenerate.
3802         * configure: Regenerate.
3803         * include/c_std/std_cwctype.h: Guard.
3804
3805 2002-03-11  Chris Demetriou  <cgd@broadcom.com>
3806
3807         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
3808         whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
3809         * aclocal.m4: Regenerate.
3810         * configure: Regenerate.
3811
3812 2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>
3813
3814         * include/bits/stl_bvector.h: Fix warning.
3815
3816 2002-03-11  Richard Henderson  <rth@redhat.com>
3817
3818         * include/bits/stl_bvector.h (_Bit_type): New.  Use throughout.
3819
3820 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
3821
3822         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
3823         New function.  Build the list of tests to run in testsuite_files.
3824         * testsuite/libstdc++-v3.dg/dg.exp:  Use it.
3825
3826 2002-03-11  Phil Edwards  <pme@gcc.gnu.org>
3827
3828         * testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
3829         platforms with no weak support.
3830         * testsuite/27_io/ios_init.cc:  Likewise.
3831
3832 2002-03-10  Paolo Carlini  <pcarlini@unitus.it>
3833
3834         * include/bits/locale_facets.tcc (time_put::do_put):
3835         Consider sizeof(char_type) in allocating the buffer.
3836
3837         * include/bits/locale_facets.tcc (collate::do_tranform):
3838         Remove redundant variable.
3839
3840 2002-03-10  Ulrich Drepper  <drepper@redhat.com>
3841             Paolo Carlini  <pcarlini@unitus.it>
3842
3843         * config/locale/generic/collate_members.cc
3844         (collate<char,wchar_t>::_M_compare_helper): normalize
3845         values returned by strcoll and wcscoll.
3846         * config/locale/gnu/collate_members.cc
3847         (collate<char,wchar_t>::_M_compare_helper): ditto
3848         for __strcoll_l and __wcscoll_l.
3849
3850 2002-03-10  Anthony Green  <green@redhat.com>
3851
3852         * configure.in: Support cross builds to mingw32 target.
3853         * configure: Rebuilt.
3854
3855 2002-03-09  Paolo Carlini  <pcarlini@unitus.it>
3856
3857         * include/bits/locale_facets.tcc (collate::do_transform):
3858         Rewrite to fix problems with long transformed strings.
3859
3860 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
3861
3862         * c_locale_generic.cc: Move to...
3863         * generic/c_locale.cc
3864         * c_locale_generic.h: Move to...
3865         * generic/c_locale.h
3866         * codecvt_specializations_generic.h: Move to...
3867         * generic/codecvt_specializations.h
3868         * collate_members_generic.cc: Move to...
3869         * generic/collate_members.cc
3870         * ctype_members_generic.cc: Move to...
3871         * generic/ctype_members.cc
3872         * messages_members_generic.cc: Move to...
3873         * generic/messages_members.cc
3874         * messages_members_generic.h: Move to...
3875         * generic/messages_members.h
3876         * moneypunct_members_generic.cc: Move to...
3877         * generic/monetary_members.cc
3878         * numpunct_members_generic.cc: Move to...
3879         * generic/numeric_members.cc
3880         * time_members_generic.cc: Move to...
3881         * generic/time_members.cc
3882         * c_locale_gnu.cc: Move to...
3883         * gnu/c_locale.cc
3884         * c_locale_gnu.h: Move to...
3885         * gnu/c_locale.h
3886         * collate_members_gnu.cc: Move to...
3887         * gnu/collate_members.cc
3888         * ctype_members_gnu.cc: Move to...
3889         * gnu/ctype_members.cc
3890         * messages_members_gnu.cc: Move to...
3891         * gnu/messages_members.cc
3892         * messages_members_gnu.h: Move to...
3893         * gnu/messages_members.h
3894         * moneypunct_members_gnu.cc: Move to...
3895         * gnu/monetary_members.cc
3896         * numpunct_members_gnu.cc: Move to...
3897         * gnu/numeric_members.cc
3898         * time_members_gnu.cc: Move to...
3899         * gnu/time_members.cc
3900         * c_locale_ieee_1003.1-200x.cc: Move to...
3901         * ieee_1003.1-2001/c_locale.cc
3902         * c_locale_ieee_1003.1-200x.h: Move to...
3903         * ieee_1003.1-2001/c_locale.h
3904         * codecvt_specializations_ieee_1003.1-200x.h: Move to...
3905         * ieee_1003.1-2001/codecvt_specializations.h
3906         * messages_members_ieee_1003.1-200x.cc: Move to...
3907         * ieee_1003.1-2001/messages_members.cc
3908         * messages_members_ieee_1003.1-200x.h: Move to...
3909         * ieee_1003.1-2001/messages_members.h
3910
3911         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
3912         * aclocal.m4: Regenerate.
3913         * configure: Regenerate.
3914         * src/Makefile.am (sources): Change to monetary and numeric.
3915         * src/Makefile.in: Regenerate.
3916         * docs/html/configopts.html: Update to ieee_1003.1-2001.
3917
3918 2002-03-08  scott snyder  <snyder@fnal.gov>
3919
3920         libstdc++/5875
3921         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3922         Allow one more digit of precision.
3923         * testsuite/27_io/ostream_inserter_arith.cc: Test that we can
3924         write a double and read back in the same value.
3925
3926 2002-03-08  Benjamin Kosnik  <bkoz@redhat.com>
3927
3928         * include/std/std_limits.h: Move static const data members out of
3929         generic template, into base class __numeric_limits_base.
3930         * src/limits.cc: Add definitions.
3931         * config/linker-map.gnu: Add __numeric_limits_base.
3932         * testsuite/18_support/numeric_limits.cc: Declare test in scope.
3933
3934 2002-03-07  Benjamin Kosnik  <bkoz@redhat.com>
3935
3936         * include/bits/stl_alloc.h: Add extern implicit allocator
3937         instantiations.
3938         * include/bits/basic_string.tcc: Tweak.
3939         * include/bits/locale_facets.tcc: Remove default args. Add
3940         has_facet, use_facet extern instantiations.
3941         * src/stl-inst.cc: Add explicit instantiation.
3942         * src/locale-inst.cc: Clean. Remove locale member template
3943         instantiations.
3944
3945         * testsuite/22_locale/operators.cc (test02): Enable.
3946
3947 2002-03-06  Benjamin Kosnik  <bkoz@redhat.com>
3948             Stephen M. Webb  <stephen.webb@bregmasoft.com>
3949
3950         * include/bits/stl_tree.h (_S_rb_tree_red): Make enum.
3951         (_S_rb_tree_black): Make enum.
3952         Clean. Format.
3953         * include/bits/stl_bvector.h (__WORD_BIT): To _M_word_bit, enum.
3954         * include/bits/stl_algo.h (__stl_chunk_size): _M_chunk_size, enum.
3955         (__stl_threshold): _M_threshold, enum.
3956         * src/stl-inst.cc: Same.
3957         * config/linker-map.gnu: Remove.
3958
3959         * testsuite/23_containers/vector_bool.cc: New.
3960
3961 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
3962
3963         * docs/doxygen/user.cfg.in:  Also document deprecated entries.
3964         * docs/html/Makefile:  Example rule to rebuild porting-howto.html.
3965         * docs/html/17_intro/howto.html:  "gcc"->"GCC" changes, when
3966         referring to the collection as a whole.  New section on which macros
3967         can be redefined by the user.
3968         * docs/html/19_diagnostics/howto.html:  Update note for concepts.
3969         * docs/html/20_util/howto.html:  Update link to SGI.
3970         * docs/html/faq/index.html:  Update snapshot versions.  New entry
3971         on why g++ (but not gcc) must currently predefine certain macros.
3972         * docs/html/faq/index.txt:  Regenerated.
3973
3974         * include/bits/basic_string.h (basic_string::_S_construct):  Fix
3975         names in declaration.
3976         (basic_string::compare):  These are no longer optional.
3977         * include/bits/ostream.tcc:  Tweak closing brace placement.
3978         * include/bits/stl_algo.h:  Lots of initial doxygen comment hooks.
3979         * include/std/std_sstream.h:  Fix typo in comment.
3980         * include/bits/locale_facets.tcc:  Remove unneeded header inclusion.
3981         * src/locale.cc:  Likewise.
3982
3983 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
3984
3985         PR libstdc++/5734
3986         * include/bits/stl_vector.h (vector::push_back()):  Guard with
3987         _GLIBCPP_DEPRECATED.
3988
3989 2002-03-06  Phil Edwards  <pme@gcc.gnu.org>
3990
3991         * include/bits/c++config:  Fix misplaced leading blanks on first line.
3992
3993 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
3994
3995         * docs/html/17_intro/RELEASE-NOTES: Fix usage.
3996         * README (libmath): Make clear.
3997
3998 2002-03-05  Jakub Jelinek  <jakub@redhat.com>
3999
4000         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
4001         script globbing in ld.
4002         * aclocal.m4: Rebuilt.
4003         * configure: Rebuilt.
4004
4005 2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>
4006
4007         * docs/html/17_intro/RELEASE-NOTES: Update.
4008         * README: Format subdirectories.
4009
4010 2002-03-05  Paolo Carlini  <pcarlini@unitus.it>
4011
4012         libstdc++/5816
4013         * include/bits/locale_facets.tcc
4014         (num_get::_M_extract_float): Fix the parsing of __dec, since
4015         the standard prescribes that if no grouping characters are
4016         seen, no grouping check is applied.
4017         * testsuite/22_locale/num_get_members_char.cc: Add test05
4018         distilled from the PR.
4019         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
4020
4021 2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>
4022
4023         * docs/html/17_intro/porting-howto.xml: Refer to
4024         http://www.oasis-open.org for docbookx.dtd.
4025         * docs/html/17_intro/porting-howto.html: Regenerated.
4026
4027 2002-03-03  Phil Edwards  <pme@gcc.gnu.org>
4028
4029         PR libstdc++/3955
4030         * include/std/std_sstream.h:  Remove trailing spaces.
4031         (basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
4032         * testsuite/27_io/stringbuf.cc (test05, test06):  New tests.
4033
4034 2002-03-02  Paolo Carlini  <pcarlini@unitus.it>
4035
4036         * testsuite/22_locale/num_get_members_char.cc (test04):
4037         Use a named locale expecting grouping (de_DE).
4038         * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
4039         Ditto.
4040         * testsuite/27_io/ios_manip_basefield.cc (test01):
4041         Extend coverage, uniform treatment of hexs and octs.
4042
4043 2002-02-28  Richard Henderson  <rth@redhat.com>
4044
4045         * config/linker-map.gnu: Export operator new with unsigned long,
4046         and with std::nothrow_t.  Likewise operator delete.
4047
4048 2002-02-28  Paolo Carlini  <pcarlini@unitus.it>
4049
4050         * include/bits/locale_facets.tcc (num_get::_M_extract_int):
4051         Admit grouping for octals and hexadecimals too.
4052         * testsuite/22_locale/num_get_members_char.cc: Add test04.
4053         (test01): Tweak "." -> "," in void* test.
4054         * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.
4055
4056         * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
4057         * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.
4058
4059 2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
4060
4061         * testsuite/27_io/ios_manip_basefield.cc (test01):
4062         Fix for 64 bit machines.
4063
4064 2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>
4065
4066         libstdc++/3983
4067         * include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
4068         Adjust comment.
4069         * include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
4070         (basic_ios::_M_fill_init): New.
4071         (basic_ios::fill()): Delay dealing with _M_fill.
4072         Adjust comment.
4073         * ios.cc (ios_base::ios_base()): Initialize _M_callbacks, _M_words.
4074         (ios_base::_M_call_callbacks): Adjust.
4075         * testsuite/27_io/ios_init.cc (test02): Adjust testcase.
4076
4077 2002-02-26  Loren Rittle  <ljrittle@acm.org>
4078
4079         * include/Makefile.am (thread_target_headers): Unconditionally
4080         stage and install gthr-posix.h.
4081         (${target_builddir}/gthr-posix.h): New rule cloned off
4082         ${target_builddir}/gthr-default.h.
4083         (${target_builddir}/gthr-default.h): Support chained inclusion
4084         of gthr support headers.
4085         * include/Makefile.in: Rebuilt.
4086
4087 2002-02-26  Paolo Carlini  <pcarlini@unitus.it>
4088
4089         * include/bits/locale_facets.tcc (num_put::_M_widen_int):
4090         Group all the integral types, not only decs.
4091         * testsuite/27_io/ios_manip_basefield.cc (test01): Tweak existing
4092         tests, add a few more.
4093
4094 2002-02-25  Benjamin Kosnik  <bkoz@redhat.com>
4095
4096         * src/ios.cc (ios_base::~ios_base): Tweak.
4097         (ios_base::_M_call_callbacks): Deal with null __p.
4098         (ios_base::ios_base): Set _M_callbacks.
4099         * include/bits/basic_ios.tcc (basic_ios::init): Adjust comment.
4100         * testsuite/27_io/ios_init.cc (test02): Fix.
4101
4102         * mkcheck.in (static_fail): Failed links go to output file.
4103
4104 2002-02-25  Phil Edwards  <pme@gcc.gnu.org>
4105
4106         * docs/html/faq/index.html:  Update.
4107         * docs/html/faq/index.txt:  Regenerate.
4108
4109 2002-02-22  Phil Edwards  <pme@gcc.gnu.org>
4110
4111         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  Fix comment.
4112         * aclocal.m4:  Regenerate.
4113         * docs/html/configopts.html:  Document --enable-symvers.
4114         * config/linker-map.gnu:  Break libsupc++ symbols out to their own tag.
4115
4116 2002-02-22  Philipp Thomas  <pthomas@suse.de>
4117
4118         * include/backward/tempbuf.h: get_temporary_buffer and
4119         return_temporary_buffer are in namespace std, not in __gnu_cxx.
4120
4121 2002-02-21  Benjamin Kosnik  <bkoz@redhat.com>
4122
4123         * configure.in (target_alias): Default to yes.
4124         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
4125         libgcc to default case.
4126
4127 2002-02-20  Phil Edwards  <pme@gcc.gnu.org>
4128
4129         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES):  Also check version.
4130         (GLIBCPP_ENABLE_SYMVERS):  Redo logic, use linker version.
4131         * configure.in (GLIBCPP_ENABLE_SYMVERS):  Move later in the script.
4132         * aclocal.m4:  Regenerate.
4133         * configure:  Regenerate.
4134         * config/linker-map.dummy:  New file.  Contains nothing useful.
4135
4136 2002-02-20  Benjamin Kosnik  <bkoz@redhat.com>
4137
4138         * testsuite/22_locale/money_put_members_char.cc: Fix.
4139         * testsuite/22_locale/money_put_members_wchar_t.cc: Fix.
4140
4141         * testsuite/27_io/standard_manipulators.cc: New file.
4142
4143         * testsuite/27_io/ios_manip_basefield.cc: Check results, now failing.
4144         * testsuite/27_io/ios_manip_fmtflags.cc: Use locale::classic().
4145
4146 2002-02-20  Danny Smith  <dannysmith@users.sourceforge.net>
4147
4148         * config/os/mingw32/bits/ctype_noninline.h
4149         (ctype<char>::ctype): Remove default args from parm list.
4150         * config/os/djgpp/bits/ctype_noninline.h: Same.
4151
4152 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
4153
4154         * include/std/std_iomanip.h: Inline, tweaks.
4155         * config/linker-map.gnu: Remove hacks.
4156
4157         * testsuite/21_strings/capacity.cc: Add explicit instantiations.
4158         * testsuite/27_io/ios_init.cc: Same.
4159         * testsuite/22_locale/money_get_members_char.cc (test07): Fix.
4160         * testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
4161
4162 2002-02-19  Benjamin Kosnik  <bkoz@redhat.com>
4163
4164         * config/linker-map.gnu: Export global vtable, typeinfo, guard
4165         variable, and thunk info as per CXXABI docs.
4166
4167 2002-02-19  Loren Rittle <ljrittle@acm.org>
4168
4169         * include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
4170         * include/Makefile.in: Rebuilt.
4171
4172 2002-02-18  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4173
4174         * testsuite/22_locale/collate_byname.cc (test01): Replace size4
4175           with size3 for the string collations of str5.
4176
4177 2002-02-18  Paolo Carlini  <pcarlini@unitus.it>
4178
4179         libstdc++/5708
4180         * include/bits/locale_facets.tcc (money_put::do_put):
4181         For the space field use __fill instead of ' ', uniformly.
4182         * testsuite/22_locale/money_put_members_char.cc:
4183         Add test05 distilled from PR.
4184         (test01-02-03): Trim some '*' to ' '.
4185         * testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
4186
4187 2002-02-18  Loren Rittle <ljrittle@acm.org>
4188
4189         libstdc++/5697
4190         * include/Makefile.am (thread_builddir): Remove (map all
4191         existing uses to target_builddir).
4192         (thread_headers): Rename to...
4193         (thread_target_headers): ...this.
4194         (stamp-thread): Remove.
4195         (stamp-target): Correctly state the position as built.
4196         Update all dependencies to match the new reality.  Remove all
4197         dependency calculations on directories.
4198         * include/Makefile.in: Rebuilt.
4199
4200 2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>
4201
4202         * include/bits/locale_facets.tcc: Add pragma GCC system_header.
4203         * include/bits/fstream.tcc: Same.
4204         * include/bits/sstream.tcc: Same.
4205         * include/bits/ostream.tcc: Same.
4206         * include/bits/istream.tcc: Same.
4207         * include/bits/streambuf.tcc: Same.
4208         * include/bits/basic_ios.tcc: Same.
4209         * include/bits/basic_string.tcc: Same.
4210
4211 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
4212
4213         * include/std/std_iosfwd.h: Don't guard typedefs with
4214         _GLIBCPP_USE_WCHAR_T
4215         * include/bits/stringfwd.h: Same.
4216
4217 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
4218
4219         * src/locale.cc (moneypunct_byname): Remove definitions.
4220         * include/std/std_streambuf.h (streambuf::operator=): Return.
4221
4222 2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>
4223
4224         Tune for size.
4225         * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
4226         explicit instantiation.
4227         (string::_Rep::_S_max_size): Same.
4228         * include/bits/basic_string.tcc: Add extern explicit
4229         instantiations for string, wstring.
4230         * include/bits/basic_ios.tcc: Add extern explicit instantiations
4231         for ios, wios.
4232         * include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
4233         * include/bits/istream.tcc: Same, for istream, wistream.
4234         * include/bits/ostream.tcc: Same for ostream, wostream, iostream,
4235         wiostream.
4236         * include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
4237         istringstream, wistringstream, ostringstream, wostringstream,
4238         stringstream, wstringstream.
4239         * include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
4240         wifstream, ofstream, wofstream, fstream, wfstream.
4241         * src/misc-inst.cc: Correct comments.
4242         Add iomanip instantiations for wide streams.
4243         * include/std/std_iomanip.h: Same.
4244         * include/bits/locale_facets.tcc: Same.
4245
4246         * include/std/std_streambuf.h: Correct
4247         _GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
4248         * include/std/std_sstream.h: Same.
4249         * include/std/std_ostream.h: Same.
4250         * include/std/std_istream.h: Same.
4251         * include/std/std_fstream.h: Same.
4252
4253         * include/std/std_streambuf.h: Add definitions for private copy
4254         ctor and assignment operator.
4255         * include/std/std_istream.h: Remove declared but undefined copy
4256         ctor and assignment operator. This is taken care of in ios_base,
4257         so adding it in the derived class as well is superfluous.
4258         * include/std/std_ostream.h: Same.
4259
4260         * include/bits/basic_ios.h (basic_ios::clear): Don't inline.
4261         * include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
4262
4263 2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>
4264
4265         * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
4266         Add typeinfo bits. Smooth.
4267         * aclocal.m4: Regenerate.
4268         * configure: Same.
4269         * src/Makefile.in: Same.
4270
4271 2001-02-14  Joel Sherrill  <joel@OARcorp.com>
4272
4273         * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
4274         which do not have a CAS instruction.
4275
4276 2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
4277
4278         * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
4279         * configure.in:  Call it.
4280         * config/linker-map.gnu:  New file, initial incomplete revision.
4281         * src/Makefile.am:  Optionally pass version script to the linker.
4282         * aclocal.m4:  Regenerate.
4283         * configure:  Regenerate.
4284         * src/Makefile.in:  Regenerate.
4285
4286 2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>
4287
4288         * src/localename.cc: Remove stdexcept include.
4289         * src/locale-inst.cc: Same.
4290         * src/locale.cc: Same.
4291         * src/functexcept.cc: Remove string includes.
4292         * include/std/std_bitset.h: Remove stdexcept include.
4293         * testsuite/23_containers/bitset_members.cc: Add stdexcept.
4294         * testsuite/23_containers/bitset_ctor.cc: Same.
4295
4296 2002-02-11  Benjamin Kosnik  <bkoz@redhat.com>
4297
4298         * include/bits/stl_algo (__stl_threshold): Declare external.
4299         (__stl_chunk_size): Same.
4300         * include/bits/stl_bvector.h (__WORD_BIT): Same.
4301         * include/bits/stl_tree.h (_S_rb_tree_red): Same.
4302         (_S_rb_tree_black): Same.
4303         * src/stl-inst.cc (__stl_threshold): Define.
4304         (__stl_chunk_size): Same.
4305         (__WORD_BIT): Same.
4306         (_S_rb_tree_red): Same.
4307         (_S_rb_tree_black): Same.
4308
4309         * config/io/basic_file_libio.h (__basic_file): Add declarations.
4310         * include/bits/basic_file.h: Remove.
4311         * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
4312         Declare generic types, specialization.
4313         * config/io/basic_file_stdio.cc: Definitions.
4314         * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
4315         Declare generic types.
4316         * include/Makefile.am (bits_headers): Remove basic_file.h.
4317         (extra_target_headers): Change basic_file_model.h to basic_file.h.
4318         (stamp-target): Same.
4319
4320         * include/bits/stl_alloc.h: Tweaks.
4321         * include/bits/localefwd.h: Same.
4322
4323 2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>
4324
4325         * include/bits/locale_facets.tcc (collate::do_hash): Fix.
4326         * testsuite/22_locale/collate_members_char.cc (test03): New test.
4327         * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
4328
4329 2002-02-10  Phil Edwards  <pme@gcc.gnu.org>
4330
4331         * include/bits/stl_algo.h (transform (both signatures), generate_n):
4332         Use __typeof__ in concept checks.
4333
4334 2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>
4335
4336         * include/bits/stl_algo.h (__median, for_each, find, find_if,
4337         adjacent_find, count, count_if, search, search_n, swap_ranges,
4338         transform, replace, replace_if, replace_copy, replace_copy_if,
4339         generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
4340         unique, unique_copy, reverse, reverse_copy):  Doxygenate.
4341
4342 2002-02-08  Benjamin Kosnik  <bkoz@redhat.com>
4343
4344         * include/bits/locale_facets.h
4345         (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
4346         (__timepunct<_CharT>::_M_initialize_timepunct): Same.
4347         (__timepunct<_CharT>::_M_put_helper): Same.
4348         (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
4349
4350         * include/bits/fstream.tcc (filebuf::underflow): Remove
4351         __codecvt_type typedef.
4352         (filebuf::_M_convert_to_external): Same.
4353
4354 2002-02-08  Phil Edwards  <pme@gcc.gnu.org>
4355
4356         * docs/doxygen/TODO:  Update.
4357         * docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
4358         * docs/doxygen/mainpage.html:  Add TODO list link.
4359         * docs/doxygen/user.cfg.in:  Add @doctodo hook.
4360         * docs/doxygen/tables.html:  New file, emoty structure only.
4361
4362         * include/bits/stl_iterator.h:  Doxygenate just about everything.
4363         * include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
4364         * include/bits/stl_iterator_base_types.h:  Add notes.
4365
4366 2002-02-07  Stephan Buys  <sbproxy@icon.co.za>
4367
4368         * include/bits/stl_map.h:  Tweak doxygen markup.
4369         * include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
4370         * include/bits/stl_vector.h:  Likewise.
4371
4372 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
4373
4374         libstdc++/5286
4375         libstdc++/3860
4376         * include/std/std_fstream.h (filebuf::__file_type): Change to
4377         __basic_file<char>.
4378         (filebuf::_M_convert_to_external): Declare.
4379         * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
4380         codecvt bits for wide streams.
4381         (filebuf::_M_really_overflow): Use it.
4382         (filebuf::underflow): Use codecvt.
4383         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4384         (codecvt<__enc_traits>::do_out): Deal with partial.
4385         (codecvt<__enc_traits>::do_encoding): Return something useful.
4386         * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
4387         wchar_t.
4388         * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
4389         Change expected encoding output.
4390         (test02): Same.
4391         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
4392         (test02): Same.
4393
4394 2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
4395             Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>
4396
4397         * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
4398         (basic_ios::widen): Same.
4399
4400 2002-02-07  Paolo Carlini  <pcarlini@unitus.it>
4401
4402         * testsuite/22_locale/money_get_members_char.cc:
4403         Add comment, tidy up.
4404         (test01): more "en_HK" tests (without showbase).
4405         * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
4406
4407 2002-02-06  Loren Rittle <ljrittle@acm.org>
4408
4409         * config/locale/c_locale_generic.cc: Do not trust
4410         _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
4411         set by configure.
4412
4413 2002-02-06  Loren Rittle <ljrittle@acm.org>
4414
4415         * acinclude.m4: Add C++ linkage check for strtof.
4416         * aclocal.m4: Rebuilt.
4417         * config.h.in: Rebuilt.
4418         * configure: Rebuilt.
4419         * config/locale/c_locale_generic.cc: Conditionally include
4420         <ieeefp.h>.  Improve handling and error checking of float
4421         and long double input for non-C99 configurations.
4422
4423 2002-02-06  Paolo Carlini  <pcarlini@unitus.it>
4424
4425         * include/bits/locale_facets.tcc (money_get::do_get(string)):
4426         In case money_base::symbol deal properly with multi-char sign
4427         for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
4428         * testsuite/22_locale/money_get_members_char.cc: Add test07.
4429         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
4430
4431 2002-02-05  Paolo Carlini  <pcarlini@unitus.it>
4432
4433         * include/bits/locale_facets.tcc (money_get::do_get(string)):
4434         First construct a tentative returned string, then, only if the
4435         parsing succeeds, copy it into the string passed by reference.
4436         * testsuite/22_locale/money_get_members_char.cc: Add test06.
4437         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
4438
4439 2002-02-04  Phil Edwards  <pme@gcc.gnu.org>
4440
4441         * docs/doxygen/TODO:  Impl-defined behavior now documented...
4442         * docs/html/17_intro/howto.html:  ...here.
4443         * docs/doxygen/mainpage.doxy:  Remove, rename...
4444         * docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
4445         * docs/doxygen/style.css:  Add small text.
4446         * docs/doxygen/run_doxygen:  Adjust for new mainpage.
4447         * docs/doxygen/user.cfg.in:  Likewise.
4448
4449 2002-02-04  Stephan Buys  <sbproxy@icon.co.za>
4450
4451         * include/bits/stl_map.h:  Initial doxygen markup.
4452         * include/std/std_fstream.h:  Initial doxygen markup.
4453
4454 2002-02-04  Paolo Carlini  <pcarlini@unitus.it>
4455
4456         libstdc++/5579
4457         * include/bits/locale_facets.tcc (money_get::do_get(string)):
4458         Deal correctly with !(__io.flags() & ios_base::showbase)
4459         for case money_base::symbol.
4460         * testsuite/22_locale/money_get_members_char.cc: Add test05.
4461         * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
4462
4463 2002-02-02  Paolo Carlini  <pcarlini@unitus.it>
4464
4465         * testsuite/22_locale/operators.cc
4466         (gnu_collate::do_compare()): Add return statement to
4467         suppress "no return statement" warning.
4468
4469 2002-02-01  Paolo Carlini  <pcarlini@unitus.it>
4470
4471         * testsuite/27_io/ostream_manip.cc: Enable test02.
4472
4473 2002-02-01  Phil Edwards  <pme@gcc.gnu.org>
4474
4475         * docs/html/documentation.html:  Update for 3.0.96.
4476         * docs/html/faq/index.html:  Update for 3.0.96.
4477         * docs/html/faq/index.txt:  Regenerated.
4478         * docs/doxygen/TODO:  Update notes.
4479         * docs/html/17_intro/howto.html:  Initial impl-specific listing.
4480
4481 2002-01-31  Benjamin Kosnik  <bkoz@redhat.com>
4482
4483         * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
4484         Initialize all data members in copy ctor. Make ctors explicit.
4485         (__enc_traits::__enc_traits()): Default ctor does nothing.
4486         (__enc_traits::_M_init): Guard against multiple iconv_opens.
4487         * include/std/std_sstream.h (basic_stringbuf): Make data members
4488         protected.
4489         * include/std/std_fstream.h (basic_filebuf): Same.
4490         * include/std/std_streambuf.h: Tweak.
4491         * include/bits/streambuf.tcc: Same.
4492         * include/bits/sstream.tcc: Same.
4493         * include/bits/fstream.tcc: Same.
4494
4495 2002-01-31  Loren Rittle <ljrittle@acm.org>
4496
4497         * testsuite/22_locale/codecvt_members_char_char.cc: Do not
4498         allow NULL argument to be passed to setenv().
4499         * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
4500         * testsuite/22_locale/collate_members_char.cc: Likewise.
4501         * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
4502         * testsuite/22_locale/ctype_members_char.cc: Likewise.
4503         * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
4504         * testsuite/22_locale/messages_members_char.cc: Likewise.
4505         * testsuite/22_locale/money_get_members_char.cc: Likewise.
4506         * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
4507         * testsuite/22_locale/money_put_members_char.cc: Likewise.
4508         * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
4509         * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
4510         * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
4511         * testsuite/22_locale/num_get_members_char.cc: Likewise.
4512         * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
4513         * testsuite/22_locale/num_put_members_char.cc: Likewise.
4514         * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
4515         * testsuite/22_locale/numpunct_members_char.cc: Likewise.
4516         * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
4517         * testsuite/22_locale/time_get_members_char.cc: Likewise.
4518         * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
4519         * testsuite/22_locale/time_put_members_char.cc: Likewise.
4520         * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
4521
4522 2002-01-30  Benjamin Kosnik  <bkoz@redhat.com>
4523
4524         * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
4525
4526         * ChangeLog-2001: Fix spelling errors...
4527         * docs/html/17_intro/RELEASE-NOTES: Update.
4528         * docs/html/17_intro/TODO: Update.
4529         * README (file): Update.
4530
4531 2002-01-30  Loren Rittle <ljrittle@acm.org>
4532
4533         * config/locale/c_locale_generic.cc: Check errno for ERANGE
4534         instead of non-zero to aid portability.
4535
4536 2002-01-30  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4537
4538         * docs/html/22_locale/messages.html: Fix example code.
4539
4540 2002-01-30  Richard Henderson  <rth@redhat.com>
4541
4542         * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
4543         out from test03 and templatize.
4544         (test03): Use it.
4545
4546 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
4547
4548         * config/locale/numpunct_members_gnu.cc
4549         (numpunct<char, wchar_t>::_M_initialize_numpunct()):
4550         Fix initialization of _M_grouping for locales which have
4551         _M_thousands_sep == '\0'(L'\0', respectively).
4552         * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
4553
4554 2002-01-30  Paolo Carlini  <pcarlini@unitus.it>
4555
4556         * testsuite/27_io/ostream_inserter_arith.cc (test03):
4557         Better fix for 32/64 bit architectures, avoiding the
4558         implicit assumption that CHAR_BIT == 8.
4559
4560 2002-01-28  Phil Edwards  <pme@gcc.gnu.org>
4561
4562         * Makefile.am (doxygen, doxygen-maint, doxygen-man):  Tweak targets.
4563         * Makefile.in:  Regenerate.
4564
4565         * docs/doxygen/run_doxygen:  Update, mostly for man pages.
4566         * docs/doxygen/Intro.3:  Update.
4567         * docs/doxygen/TODO:  Update.
4568         * docs/doxygen/doxygroups.cc:  Add namespace hook for __gnu_cxx.
4569         * docs/doxygen/mainpage.doxy:  Update.
4570         * docs/doxygen/user.cfg.in:  Update for header rename.  Also
4571         regenerate comments and variables with 1.2.12.
4572         * docs/doxygen/maint.cfg.in:  Remove file.
4573
4574         * include/bits/stl_relops.h:  Doxygenate.
4575         * include/bits/stl_tempbuf.h (std::_Temporary_buffer):  Likewise.
4576
4577         * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
4578         include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
4579         include/c_std/std_ciso646.h, include/c_std/std_climits.h,
4580         include/c_std/std_clocale.h, include/c_std/std_cmath.h,
4581         include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
4582         include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
4583         include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
4584         include/c_std/std_cstring.h, include/c_std/std_ctime.h,
4585         include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
4586         include/ext/algorithm, include/ext/functional, include/ext/hash_map,
4587         include/ext/hash_set, include/ext/iterator, include/ext/memory,
4588         include/ext/numeric, include/ext/rb_tree, include/ext/rope,
4589         include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
4590         include/ext/stl_hashtable.h, include/ext/stl_rope.h,
4591         include/std/std_algorithm.h, include/std/std_bitset.h,
4592         include/std/std_complex.h, include/std/std_deque.h,
4593         include/std/std_fstream.h, include/std/std_functional.h,
4594         include/std/std_iomanip.h, include/std/std_ios.h,
4595         include/std/std_iosfwd.h, include/std/std_iostream.h,
4596         include/std/std_istream.h, include/std/std_iterator.h,
4597         include/std/std_limits.h, include/std/std_list.h,
4598         include/std/std_locale.h, include/std/std_map.h,
4599         include/std/std_memory.h, include/std/std_numeric.h,
4600         include/std/std_ostream.h, include/std/std_queue.h,
4601         include/std/std_set.h, include/std/std_sstream.h,
4602         include/std/std_stack.h, include/std/std_stdexcept.h,
4603         include/std/std_streambuf.h, include/std/std_string.h,
4604         include/std/std_utility.h, include/std/std_valarray.h,
4605         include/std/std_vector.h:  Add/correct @file doxygen hook.
4606
4607         * include/ext/memory:  Doxygenate most of rest of file.
4608         * libsupc++/exception:  Doxygen output formatting.
4609         * libsupc++/new:  Say which header it is.
4610
4611         * testsuite/lib/libstdc++-v3-dg.exp:  Fix spacing.
4612         * docs/html/19_diagnostics/howto.html:  Describe concept-checks switch.
4613         * docs/html/23_containers/howto.html:  Describe O(n) list::size().
4614         * docs/html/27_io/howto.html:  Also link to Langer and Kreft text.
4615
4616 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
4617             Charles Leggett <CGLeggett@lbl.gov>
4618
4619         * testsuite/27_io/filebuf_members.cc (test_05): Add test.
4620
4621 2002-01-28  Paolo Carlini  <pcarlini@unitus.it>
4622
4623         * testsuite/27_io/ostream_inserter_arith.cc (test03):
4624         Fix to deal correctly with both 32 bit and 64 bit architectures
4625
4626 2002-01-25  Loren Rittle <ljrittle@acm.org>
4627
4628         * testsuite/thread/pthread1.cc: Use one condition variable
4629         per predicate instead of tricky use of one condition variable.
4630
4631 2002-01-25  Benjamin Kosnik  <bkoz@redhat.com>
4632
4633         * include/bits/fstream.tcc (filebuf::close()): Fix close for input
4634         streams.
4635         (filebuf::_M_really_overflow): Match indeterminate and sync calls.
4636         * testsuite/27_io/filebuf.cc: Compile only.
4637         * testsuite/27_io/filebuf_members.cc: Move tests to here.
4638         * testsuite/27_io/filebuf_virtuals.cc: And here.
4639         Revert sungetc, sync changes for expected values.
4640         * testsuite/27_io/filebuf-*: Move to...
4641         * testsuite/27_io/filebuf_virtuals-*: ...here.
4642         * testsuite/27_io/istream.cc: Compile only, activate.
4643         * testsuite/27_io/ostream.cc: Same.
4644         * testsuite/27_io/iostream.cc: New.
4645         * testsuite/27_io/iostream_members.cc: New.
4646
4647 2002-01-25  David Billinghurst <David.Billinghurst@riotinto.com>
4648
4649         * testsuite/thread/pthread1.cc: Enable on cygwin.
4650         * testsuite/thread/pthread2.cc: Likewise.
4651         * testsuite/thread/pthread3.cc: Likewise.
4652         * testsuite/thread/pthread4.cc: Likewise.
4653         * testsuite/thread/pthread5.cc: Likewise.
4654         * testsuite/thread/pthread6.cc: Likewise.
4655
4656 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
4657
4658         * testsuite/27_io/ostream_inserter_char.cc (test07): New.
4659
4660 2002-01-24  Benjamin Kosnik  <bkoz@redhat.com>
4661
4662         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
4663         const, tweak.
4664         (basic_ios::fill(char_type)): Use fill().
4665         * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
4666         (basic_ios::narrow): Same.
4667         (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
4668         if they are invalid.
4669         (basic_ios::init): Comment.
4670         * testsuite/27_io/ios_init.cc (test02): New.
4671
4672 2002-01-24  Phil Edwards  <pme@gcc.gnu.org>
4673
4674         * include/bits/stl_tempbuf.h (_Temporary_buffer):  Add doxygen hook.
4675         * include/bits/stl_algo.h:  Include stl_tempbuf.h.
4676         * include/ext/memory:  Do not include stl_tempbuf.h.
4677         (temporary_buffer):  Add doxygen hook.
4678         (__get_temporary_buffer, get_temporary_buffer,
4679         return_temporary_buffer):  Move back to std:: header...
4680         * include/std/std_memory.h:  ...here.  Do not include stl_tempbuf.h.
4681         * include/ext/rope:  Do not include stl_tempbuf.h.
4682         * include/ext/stl_hashtable.h:  Likewise.
4683         * include/std/std_algorithm.h:  Likewise.
4684         * testsuite/20_util/temporary_buffer.cc:  New file.
4685
4686 2002-01-24  andrew@andypo.net
4687             (tweaks, test and commit by Loren J. Rittle  <ljrittle@acm.org>)
4688
4689         libstdc++/5432
4690         * include/bits/ios_base.h: Use _Atomic_word for reference counts.
4691         * include/bits/localefwd.h: Likewise.
4692         Also use for std::locale::id::_S_highwater.
4693         * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
4694         * src/locale.cc: Support new usage of _Atomic_word.
4695         (std::locale::classic): Guard entire function against reentry.
4696         * src/localename.cc: Support new usage of _Atomic_word.
4697
4698 2002-01-24   Benjamin Kosnik  <bkoz@redhat.com>
4699
4700         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
4701         _GLIBCPP_HAVE_SETENV.
4702         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
4703         * testsuite/22_locale/collate_members_char.cc (test02): Same.
4704         * testsuite/22_locale/ctype_members_char.cc (test03): Same.
4705         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
4706         * testsuite/22_locale/messages_members_char.cc (test02): Same.
4707         * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
4708         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
4709         * testsuite/22_locale/money_put_members_char.cc (test04): Same.
4710         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
4711         * testsuite/22_locale/num_get_members_char.cc (test03): Same.
4712         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
4713         * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
4714         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
4715         * testsuite/22_locale/time_get_members_char.cc (test07): Same.
4716         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
4717         * testsuite/22_locale/time_put_members_char.cc (test03): Same.
4718         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
4719         * testsuite/22_locale/num_put_members_char.cc (test03): Same.
4720         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
4721         * aclocal.m4: Regenerate.
4722         * configure: Regenerate.
4723         * config.h.in: Regenerate.
4724
4725 2002-01-23  Loren Rittle <ljrittle@acm.org>
4726
4727         * testsuite/thread/pthread1.cc: New test.
4728         * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
4729         * testsuite/thread/pthread3.cc: Likewise.
4730         * testsuite/thread/pthread4.cc: New test adapted from
4731         http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
4732         * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
4733         * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
4734
4735 2002-01-23  Richard Henderson  <rth@redhat.com>
4736
4737         PR libstdc++/5198
4738         * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
4739         CAS on the cpu variants that support it.  Add versions that use
4740         TAS and that disable interrupts.
4741         (__atomic_add): Use __exchange_and_add to guarantee atomicity.
4742
4743 2002-01-23  Matt Kraai  <kraai@alumni.cmu.edu>
4744
4745         * include/bits/locale_facets.tcc: Remove old comments.
4746
4747 2002-01-23  Andreas Tobler  <toa@pop.agri.ch>
4748
4749         * include/bits/locale_facets.tcc (__convert_to_v): Change template
4750         parameter to _Tv.
4751         (__convert_from_v): Same.
4752
4753 2002-01-23  Benjamin Kosnik  <bkoz@redhat.com>
4754
4755         * include/bits/locale_facets.h (num_get::_M_extract_int): Change
4756         prototype.
4757         * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
4758         __max_digits checks, adjust arguments.
4759         (num_get::do_get(*)): Changeup.
4760
4761 2002-01-23  Loren Rittle <ljrittle@acm.org>
4762
4763         * config/locale/c_locale_generic.cc: Fix typename usage.
4764
4765 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
4766
4767         * config/locale/c_locale_generic.cc: Fix.
4768
4769 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
4770
4771         * docs/html/22_locale/messages.html: Remove angle brackets.
4772         * docs/html/17_intro/TODO: Add.
4773
4774 2002-01-22  Paolo Carlini  <pcarlini@unitus.it>
4775
4776         * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
4777         * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
4778         * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
4779         * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
4780
4781 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
4782
4783         Audit for LANG independence.
4784         * include/bits/localefwd.h: Tweaks.
4785         * include/bits/locale_facets.tcc (money_get::do_get(long double)):
4786         Use __convert_to_v.
4787         (time_get::do_get_year): Same.
4788         (__convert_from_v): Add.
4789         (num_put::_M_convert_float): Use.
4790         (num_put::_M_convert_int): Same.
4791         (money_put::do_put): Same.
4792
4793         * src/locale-inst.cc: Add instantiations for __convert_from_v.
4794         * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
4795         * config/locale/time_members_generic.cc:
4796         * config/locale/messages_members_gnu.cc: Same.
4797         * config/locale/messages_members_gnu.h: Same.
4798
4799         * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
4800         * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
4801         * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
4802         * testsuite/22_locale/collate_members_char.cc (test02): New.
4803         * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
4804         * testsuite/22_locale/ctype_members_char.cc (test03): New.
4805         * testsuite/22_locale/messages_members_char.cc (test02): New.
4806         * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
4807         * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
4808         * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
4809         * testsuite/22_locale/money_get_members_char.cc (test04): New.
4810         * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
4811         * testsuite/22_locale/money_put_members_char.cc (test04): New.
4812         * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
4813         * testsuite/22_locale/numpunct_members_char.cc (test02): New.
4814         * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
4815         * testsuite/22_locale/time_put_members_char.cc (test03): New.
4816         * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
4817         * testsuite/22_locale/time_get_members_char.cc (test07): New.
4818         * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
4819         * testsuite/22_locale/num_get_members_char.cc (test03): New.
4820         * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
4821         * testsuite/22_locale/num_put_members_char.cc (test03): New.
4822
4823         * testsuite/22_locale/time_get_members_char.cc: Fixups for global
4824         locale issues.
4825         * testsuite/22_locale/time_get_members_char.cc: Same.
4826
4827 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
4828
4829         libstdc++/5280
4830         * include/bits/localefwd.h: Tweak comments.
4831         * include/bits/locale_facets.h (__convert_to_v): Add.
4832         * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
4833         (num_get::do_get(float)): Same.
4834         (num_get::do_get(long double)): Same.
4835         (num_get::do_get(bool)): Same.
4836         (num_get::do_get(long)): Same.
4837         (num_get::do_get(long long)): Same.
4838         (num_get::do_get(unsigned int)): Same.
4839         (num_get::do_get(unsigned short)): Same.
4840         (num_get::do_get(unsigned long)): Same.
4841         (num_get::do_get(unsigned long long)): Same.
4842         * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
4843         * config/locale/c_locale_generic.cc: Same.
4844
4845 2002-01-22  Loren Rittle <ljrittle@acm.org>
4846
4847         * include/Makefile.am (c_base_builddir): Remove redundant slash.
4848         (std_builddir): Likewise.
4849         (std_headers_rename): Fix cut-n-paste typo.
4850         (install-data-local): Concat path per element instead of once to
4851         first element of list.
4852         * include/Makefile.in: Rebuilt.
4853
4854 2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>
4855
4856         * config/os/aix/bits/ctype_noninline.h: Fix formatting.
4857         * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
4858         * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
4859
4860 2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>
4861
4862         * include/bits/locale_facets.h (ctype<char>::classic_table):
4863         Remove definition.
4864         (ctype<char>::_S_ctable): Remove.
4865         * config/os/gnu-linux/bits/ctype_noninline.h
4866         (ctype<char>::_S_table): Remove definition.
4867         (ctype<char>::classic_table): Define.
4868         (ctype<char>::ctype): Replace _S_ctable with classic_table().
4869         * config/os/aix/bits/ctype_noninline.h: Same.
4870         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4871         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4872         * config/os/djgpp/bits/ctype_noninline.h: Same.
4873         * config/os/generic/bits/ctype_noninline.h: Same.
4874         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
4875         * config/os/hpux/bits/ctype_noninline.h: Same.
4876         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4877         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4878         * config/os/mingw32/bits/ctype_noninline.h: Same.
4879         * config/os/newlib/bits/ctype_noninline.h: Same.
4880         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4881         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4882         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4883
4884 2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
4885
4886         * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
4887         of _pctype. Use to define _S_ctable.  Add definition for alternate
4888         ctor.  Initialise _M_ctable to _S_ctable in ctors.
4889         (do_toupper, do_tolower): Use inline code appropriate for C-locale
4890         rather than ::toupper, ::tolower.
4891
4892 2002-01-18  Loren Rittle <ljrittle@acm.org>
4893
4894         * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
4895         Add specialization for FreeBSD systems only to avoid losing test
4896         only due to extra precision unmentioned in system headers.
4897
4898 2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>
4899
4900         * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
4901
4902 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
4903
4904         * testsuite/testsuite_hooks.h: Fix comment typo.  Memory
4905         limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
4906
4907 2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4908
4909         * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
4910
4911 2002-01-17  David Edelsohn  <edelsohn@gnu.org>
4912
4913         * configure.target: Define OPT_LDFLAGS for AIX case.
4914
4915 2002-01-17  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
4916
4917         * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
4918         __glibcpp_double_has_quiet_NaN): Correct mispelling.
4919
4920 2002-01-17  Andreas Tobler  <toa@pop.agri.ch>
4921
4922         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
4923
4924 2002-01-16  David Edelsohn  <dje@watson.ibm.com>
4925
4926         * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
4927         SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
4928         * aclocal.m4: Regenerate.
4929         * configure: Regenerate.
4930
4931 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4932
4933         * include/Makefile.am (c_base_headers_rename): New.
4934         (c_base_headers_extra): New.
4935         (stamp-c_base): Modify.
4936         (install-data-local): Use both.
4937         * include/Makefile.in: Regenerate.
4938         * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4939         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4940         cstdio ctime cwctype]: Move to..
4941         * include/c/std_*: Here.
4942         * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
4943         csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
4944         cstdio ctime cwctype]: Move to..
4945         * include/c_std/std_*: Here.
4946
4947         Alexandre Oliva  <aoliva@redhat.com>
4948         * include/Makefile.am (.PRECIOUS): Add rule.
4949         * include/Makefile.in: Regenerate.
4950
4951 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4952             Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
4953
4954         * include/bits/stl_iterator.h (reverse_iterator::_M_current):
4955         Deuglify, should be current.
4956         (back_insert_iterator::_M_container): Deuglify, should be container.
4957         (front_insert_iterator::_M_container): Same.
4958         (insert_iterator::_M_container): Same.
4959         * testsuite/24_iterators/reverse_iterator.cc: Add check.
4960         * testsuite/24_iterators/back_insert_iterator.cc: Add check.
4961         * testsuite/24_iterators/front_insert_iterator.cc: Same.
4962         * testsuite/24_iterators/insert_iterator.cc: Same.
4963
4964 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4965
4966         * include/bits/locale_facets.h (ctype<char>::classic_table): Make
4967         static.
4968         (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
4969         * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
4970         * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
4971         * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
4972         * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
4973         * config/os/newlib/bits/ctype_noninline.h: Same.
4974         * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
4975         * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
4976         * config/os/hpux/bits/ctype_noninline.h: Same.
4977         * config/os/djgpp/bits/ctype_noninline.h: Same.
4978         * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
4979         * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
4980         * config/os/aix/bits/ctype_noninline.h: Same.
4981
4982         Testcase by Dietmar Kühl via Peter Schmid
4983         * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
4984         classic_table().
4985
4986 2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
4987
4988         * libmath/signbitl.c: Copyright years as list, not range.
4989         * libmath/Makefile.am: Same.
4990         * libmath/Makefie.in: Regenerate.
4991         * libmath/signbit.c: Same.
4992         * libmath/nan.c: Same.
4993         * libmath/copysignf.c: Same.
4994         * libmath/signbitf.c: Same.
4995         * testsuite/22_locale/money_get_members_char.cc: Same.
4996         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
4997         * testsuite/22_locale/money_put_members_char.cc: Same.
4998         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
4999         * testsuite/22_locale/time_get_members_char.cc: Same.
5000         * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
5001         * testsuite/22_locale/time_put_members_char.cc: Same.
5002         * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
5003         * testsuite/21_strings/nonmember.cc: Same.
5004         * testsuite/21_strings/compare.cc: Same.
5005         * testsuite/27_io/stringstream.cc: Same.
5006         * testsuite/27_io/stringbuf.cc: Same.
5007         * testsuite/27_io/filebuf.cc: Same.
5008         * testsuite/27_io/ios_manip_basefield.cc: Same.
5009         * testsuite/27_io/ios_manip_fmtflags.cc: Same.
5010         * include/bits/cpp_type_traits.h: Same.
5011         * include/bits/generic_shadow.h: Same.
5012         * include/bits/gslice_array.h: Same.
5013         * include/bits/gslice.h: Same.
5014         * include/bits/indirect_array.h: Same.
5015         * include/bits/slice_array.h: Same.
5016         * include/bits/sstream.tcc: Same.
5017         * include/bits/streambuf_iterator.h: Same.
5018         * include/bits/valarray_array.tcc: Same.
5019         * include/bits/valarray_meta.h: Same.
5020         * include/bits/valarray_array.h: Same.
5021         * config/os/mingw32/bits/ctype_noninline.h: Same.
5022         * config/os/mingw32/bits/ctype_base.h: Same.
5023         * config/os/hpux/bits/ctype_noninline.h: Same.
5024         * config/os/hpux/bits/ctype_base.h: Same.
5025         * config/os/gnu-linux/bits/ctype_noninline.h: Same.
5026         * config/os/gnu-linux/bits/ctype_base.h: Same.
5027         * config/os/generic/bits/ctype_noninline.h: Same.
5028         * config/os/generic/bits/ctype_base.h: Same.
5029
5030         * libsupc++/tinfo.h: Tweaks.
5031
5032 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
5033
5034         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
5035         * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
5036         * testsuite/22_locale/ctype_members_char.cc: Tweak.
5037
5038 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
5039
5040         * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5041         (num_put::do_put(void*)): Fix.
5042         * testsuite/22_locale/num_put_members_char.cc (test02): Add.
5043         * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
5044         * testsuite/22_locale/num_get_members_char.cc (test02): Add
5045         long double, void, bool types.
5046         * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
5047
5048 2002-01-15  Benjamin Kosnik  <bkoz@redhat.com>
5049             Alexandre Oliva  <aoliva@redhat.com>
5050
5051         * libmath/Makefile.am (LINK): Add --tag CC.
5052         * libmath/Makefile.in: Regenerate.
5053
5054 2002-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5055
5056         * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
5057         of character to attribute mapping table.
5058
5059 2002-01-15  David Billinghurst <David.Billinghurst@riotinto.com>
5060
5061         * testsuite/26_numerics/c99_classification_macros_c.cc
5062         Remove dg-error and dg-excess-errors comments.
5063
5064 2002-01-14  Benjamin Kosnik  <bkoz@redhat.com>
5065
5066         * include/bits/locale_facets.tcc (time_put::put): Correct output
5067         iterator positions.
5068         * testsuite/22_locale/time_put_members_char.cc (test02): Add.
5069         * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
5070         * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
5071         * testsuite/22_locale/time_get_members_char.cc (test06): Add.
5072
5073 2002-01-14  Craig Rodrigues  <rodrigc@gcc.gnu.org>
5074
5075         * docs/html/17_intro/porting-howto.xml: Update filebuf section.
5076
5077 2002-01-14  Paolo Carlini  <pcarlini@unitus.it>
5078             Nathan Myers  <ncm@cantrip.org>
5079
5080         * include/bits/basic_string.h
5081         (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
5082         temporaries (i.e., call _M_replace_safe) when possible.
5083         (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
5084         (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
5085         (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
5086         (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
5087         (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
5088         * include/bits/basic_string.tcc
5089         (replace(__pos1, __n1, __str, __pos2, __n2)): Call
5090         replace(__pos, __n1, __s, __n2).
5091         * testsuite/21_strings/replace.cc (test03): New testcases.
5092
5093         * include/bits/basic_string.h (insert(__pos, __s, __n)):
5094         Adjust comparison wrt overflow.
5095
5096 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
5097
5098         * include/Makefile.am (std_headers_rename): New variable.
5099         (install-data-local): Use it.
5100         * include/Makefile.in: Regenerate.
5101
5102 2002-01-12  Benjamin Kosnik  <bkoz@redhat.com>
5103
5104         * include/bits/locale_facets.tcc (money_put::do_put(string):
5105         Correct output iterator value.
5106         * testsuite/22_locale/money_put_members_char.cc (test03): Add.
5107         * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
5108
5109 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
5110
5111         * include/Makefile.am, include/Makefile.in (stamp-std):  Fix typo from
5112         previous commit.
5113
5114 2002-01-11  Phil Edwards  <pme@gcc.gnu.org>
5115
5116         * include/Makefile.am (std_headers):  Update list with new names.
5117         (stamp-std):  Link to standardized name.
5118         * include/Makefile.in:  Regenerate.
5119
5120         * include/std/algorithm, include/std/bitset, include/std/complex,
5121         include/std/deque, include/std/fstream, include/std/functional,
5122         include/std/iomanip, include/std/ios, include/std/iosfwd,
5123         include/std/iostream, include/std/istream, include/std/iterator,
5124         include/std/limits, include/std/list, include/std/locale,
5125         include/std/map, include/std/memory, include/std/numeric,
5126         include/std/ostream, include/std/queue, include/std/set,
5127         include/std/sstream, include/std/stack, include/std/stdexcept,
5128         include/std/streambuf, include/std/string, include/std/utility,
5129         include/std/valarray, include/std/vector:  Rename to...
5130
5131         * include/std/std_algorithm.h, include/std/std_bitset.h,
5132         include/std/std_complex.h, include/std/std_deque.h,
5133         include/std/std_fstream.h, include/std/std_functional.h,
5134         include/std/std_iomanip.h, include/std/std_ios.h,
5135         include/std/std_iosfwd.h, include/std/std_iostream.h,
5136         include/std/std_istream.h, include/std/std_iterator.h,
5137         include/std/std_limits.h, include/std/std_list.h,
5138         include/std/std_locale.h, include/std/std_map.h,
5139         include/std/std_memory.h, include/std/std_numeric.h,
5140         include/std/std_ostream.h, include/std/std_queue.h,
5141         include/std/std_set.h, include/std/std_sstream.h,
5142         include/std/std_stack.h, include/std/std_stdexcept.h,
5143         include/std/std_streambuf.h, include/std/std_string.h,
5144         include/std/std_utility.h, include/std/std_valarray.h,
5145         include/std/std_vector.h:  ...this.
5146
5147 2002-01-11  Loren Rittle <ljrittle@acm.org>
5148
5149         * include/Makefile.am (extra_target_headers): New list of all
5150         target files built with ad hoc naming rules.
5151         (stamp-*): Handle LN_S failure in manner portable across make
5152         implementations.
5153         (install-data-local): Install header files from human-maintained
5154         file lists and directory components instead of non-robust find.
5155         * include/Makefile.in: Rebuilt.
5156
5157 2002-01-11  Benjamin Kosnik  <bkoz@redhat.com>
5158
5159         * include/bits/locale_facets.tcc (money_get::do_get(string)):
5160         Check for zero-length negative sign before adding it to output
5161         string.
5162         (money_get::do_get(long double)): Return beg.
5163         * testsuite/22_locale/money_get_members_char.cc (test02): Add
5164         iterator checks.
5165         * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
5166
5167 2002-01-10  David Seymour  <seymour_dj@yahoo.com>
5168
5169         libstdc++/5331
5170         * include/bits/locale_facets.h (num_get<>): Return advanced iterator
5171         for _M_extract_float and _M_extract_int
5172         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
5173         (num_get<>::_M_extract_int): Likewise, all callers changed
5174         * testsuite/22_locale/num_get_members_char.cc: Testcase
5175
5176 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
5177
5178         * libsupc++/exception (bad_exception): Add comment.
5179         * libsupc++/new (bad_alloc): Same.
5180         * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
5181
5182 2002-01-09  Paolo Carlini <pcarlini@unitus.it>
5183
5184         libstdc++/3150: revert 2001-11-30 commit. DR266 only means
5185         that the destructors should be removed from the descriptions
5186         in the standard: writing them explicitly allows the vtable
5187         heuristic to work. For additional information see:
5188         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
5189         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
5190         http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
5191         * libsupc++/exception (bad_exception::~bad_exception()):
5192         Reintroduce declaration.
5193         * libsupc++/new (bad_alloc::~bad_alloc()): Same.
5194         * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
5195         (bad_typeid::~bad_typeid()): Same.
5196         * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
5197         Reintroduce definition.
5198         * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
5199         * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
5200         (bad_typeid::~bad_typeid()): Same.
5201
5202 2002-01-09  Benjamin Kosnik  <bkoz@redhat.com>
5203
5204         * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
5205         * include/Makefile.in: Regenerate.
5206
5207 2002-01-09  Bo Thorsen  <bo@suse.co.uk>
5208
5209         * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
5210         definition.
5211
5212 2002-01-08  Benjamin Kosnik  <bkoz@redhat.com>
5213
5214         libstdc++/2913
5215         libstdc++/4879
5216         * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
5217         return value of _M_file->sync().
5218         (filebuf::showmanyc): Check for is_open.
5219         * include/std/fstream (filebuf::sync): Tweak.
5220         * testsuite/27_io/filebuf.cc: Tweak.
5221
5222 2002-01-08  John Fardo  <jfardo@laurelnetworks.com>
5223             Brad Garcia  <garsh@attbi.com>
5224
5225         * testsuite/27_io/filebuf_members.cc: Add test.
5226
5227 2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
5228             Craig Rodrigues  <rodrigc@mediaone.net>
5229
5230         libstdc++/5174
5231         * po/Makefile.am (mkinstalldirs): Add.
5232         * po/Makefile.in: Regenerate.
5233
5234 2002-01-07  David Billinghurst  <David.Billinghurst@riotinto.com>
5235
5236         * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
5237         testsuite/lib/prune.exp: Delete lines ":In function ..."  from
5238         compiler output.
5239         * testsuite/23_containers/map_operators.cc: Remove
5240         dg-excess-errors comment.
5241         * testsuite/23_containers/set_operators.cc: Likewise.
5242
5243 2002-01-06  Paolo Carlini  <pcarlini@unitus.it>
5244
5245         * include/bits/stl_function.h:  Remove two lines of comments;
5246         adjust copyright years.
5247
5248 2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>
5249
5250         * include/Makefile.am (std_headers): Remove cXXX from list.
5251         (c_base_srcdir): No bits subdirectory.
5252         (c_base_builddir): Same.
5253         (c_base_headers): Adjust names, add ciso646.
5254         (bits_headers): Remove std_xxx.h headers.
5255         * include/Makefile.in: Regenerate.
5256
5257         * include/ext/iterator: Adjust includes.
5258         * include/ext/ropeimpl.h: Same.
5259         * include/ext/stl_hash_fun.h: Same.
5260         * include/ext/algorithm: Same.
5261
5262         * include/backward/bvector.h: Adjust includes.
5263         * include/backward/vector.h: Same.
5264         * include/backward/strstream: Same.
5265         * include/backward/streambuf.h: Same.
5266         * include/backward/stack.h: Same.
5267         * include/backward/set.h: Same.
5268         * include/backward/queue.h: Same.
5269         * include/backward/multiset.h: Same.
5270         * include/backward/multimap.h: Same.
5271         * include/backward/map.h: Same.
5272         * include/backward/list.h: Same.
5273         * include/backward/iterator.h: Same.
5274         * include/backward/iostream.h: Same.
5275         * include/backward/iomanip.h: Same.
5276         * include/backward/fstream.h: Same.
5277         * include/backward/deque.h: Same.
5278         * include/backward/complex.h: Same.
5279
5280         * include/bits/std_algorithm.h: Move to...
5281         * include/std/algorithm: ...here.
5282         * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
5283         std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
5284         std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
5285         std_deque.h, std_istream.h, std_numeric.h, std_string.h,
5286         std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
5287         std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
5288         std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
5289         Same.
5290
5291         * include/c_std/bits/std_cassert.h: Move to...
5292         * include/c_std/cassert: Here.
5293         * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
5294         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5295         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5296         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5297         std_cwctype.h: Same.
5298         * include/c_std/cmath: Adjust cmath.tcc include.
5299         * include/c_std/cstdlib: Adjust includes.
5300         * include/c_std/cwchar: Same.
5301         * include/c_std/ctime: Same.
5302         * include/c_std/cstring: Same.
5303         * include/c_std/cstdio: Same.
5304         * include/c_std/bits: Remove directory.
5305
5306         * include/c/bits/std_cassert.h: Move to...
5307         * include/c/cassert: Here.
5308         * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
5309         std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
5310         std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
5311         std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
5312         std_cwctype.h: Same.
5313         * include/c/bits: Remove directory.
5314
5315         * include/std/cwctype: Remove.
5316         * include/std/cwchar: Remove.
5317         * include/std/ctime: Remove.
5318         * include/std/cstring: Remove.
5319         * include/std/cstdlib: Remove.
5320         * include/std/cstdio: Remove.
5321         * include/std/cstddef: Remove.
5322         * include/std/cstdarg: Remove.
5323         * include/std/csignal: Remove.
5324         * include/std/csetjmp: Remove.
5325         * include/std/cmath: Remove.
5326         * include/std/clocale: Remove.
5327         * include/std/climits: Remove.
5328         * include/std/ciso646: Remove.
5329         * include/std/cfloat: Remove.
5330         * include/std/cerrno: Remove.
5331         * include/std/cctype: Remove.
5332         * include/std/cassert: Remove.
5333
5334         * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
5335         files and subsituting <xxx>.
5336         * include/bits/valarray_array.h: Same.
5337         * include/bits/stl_uninitialized.h: Same.
5338         * include/bits/stl_alloc.h: Same.
5339         * include/bits/stl_algobase.h: Same.
5340         * include/bits/sstream.tcc: Same.
5341         * include/bits/pthread_allocimpl.h: Same.
5342         * include/bits/ostream.tcc: Same.
5343         * include/bits/localefwd.h: Same.
5344         * include/bits/locale_facets.tcc: Same.
5345         * include/bits/locale_facets.h: Same.
5346         * include/bits/istream.tcc: Same.
5347         * include/bits/char_traits.h: Same.
5348         * include/bits/boost_concept_check.h: Same.
5349         * include/bits/basic_file.h: Same.
5350         * include/std/bitset: Same.
5351         * include/std/complex: Same.
5352         * include/std/fstream: Same.
5353         * include/std/functional: Same.
5354         * include/std/ios: Same.
5355         * include/std/iostream: Same.
5356         * include/std/ostream: Same.
5357         * include/std/sstream: Same.
5358         * include/std/streambuf: Same.
5359         * include/std/string: Same.
5360         * include/std/iterator: Same.
5361         * include/std/valarray: Same.
5362
5363         * src/ios.cc: Adjust includes.
5364         * src/valarray-inst.cc: Same.
5365         * src/string-inst.cc: Same.
5366         * src/stl-inst.cc: Same.
5367         * src/stdexcept.cc: Same.
5368         * src/misc-inst.cc: Same.
5369         * src/localename.cc: Same.
5370         * src/locale-inst.cc: Same.
5371         * src/locale.cc: Same.
5372         * src/limits.cc: Same.
5373         * src/concept-inst.cc: Same.
5374         * src/complex_io.cc: Same.
5375         * src/codecvt.cc: Same.
5376         * src/bitset.cc: Same.
5377         * src/cmath.cc: Same.
5378
5379 2002-01-04  Paolo Carlini  <pcarlini@unitus.it>
5380
5381         * include/bits/stl_tree.h (rb_tree):  Move to...
5382         * include/ext/rb_tree:  ...here, new file.
5383         * include/Makefile.am (ext_headers):  Add new file.
5384         * include/Makefile.in:  Regenerate.
5385         * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
5386         return_temporary_buffer, struct temporary_buffer):  Move to...
5387         * include/ext/memory:  ...here.
5388         * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
5389         * include/backward/tempbuf.h:  Include <ext/memory>, tweak.
5390         * include/backward/tree.h:  Include <ext/rb_tree), tweak.
5391
5392 2002-01-03  Paolo Carlini  <pcarlini@unitus.it>
5393
5394         * include/bits/stl_numeric.h (power + helpers, iota):  Move to...
5395         * include/ext/numeric:  ...here, new file.
5396         * include/bits/stl_function.h (identity_element, unary_compose,
5397         binary_compose, compose1, compose2, identity, select1st,
5398         select2nd, project1st + helper, project2nd + helper,
5399         constant_void_fun + helper, constant_unary_fun + helper,
5400         costant_binary_fun + helper, constant0, constant1, constant2,
5401         subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
5402         * include/ext/functional:  ...here, new file.
5403         * include/Makefile.am (ext_headers):  Add new files.
5404         * include/Makefile.in:  Regenerate.
5405         * testsuite/ext/headers.cc:  Include <ext/numeric> and
5406         <ext/functional>.
5407         * include/backward/algo.h:  Include <ext/numeric>, tweak.
5408         * include/backward/function.h:  Include <ext/functional>, tweak.
5409         * include/ext/ropeimpl.h:  Include <ext/numeric>.
5410
5411 2002-01-03  Jeffrey A Law  <law@redhat.com>
5412
5413         * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
5414         __strtoull declarations with __extension__.
5415
5416 2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
5417
5418         * testsuite/lib/prune.exp: Correct regular expression for
5419         -ffunction-sections
5420
5421 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
5422
5423         * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
5424         Change concept checks, as with lower_bound and PR 2054.
5425         * testsuite/ext/concept_checks.cc:  Expand test to include those.
5426
5427 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
5428
5429         * include/bits/boost_concept_check.h:  Import some changes from
5430         upsteam (Boost) version.
5431
5432 2002-01-02  Paolo Carlini  <pcarlini@unitus.it>
5433
5434         * include/bits/stl_algobase.h (copy_n + helpers,
5435         lexicographical_compare_3way + helpers):  Move to...
5436         * include/ext/algorithm:  ...here.
5437         * include/bits/stl_uninitialized.h (uninitialized_copy_n +
5438         helpers):  Move to...
5439         * include/ext/memory:  ...here, new file.
5440         * include/Makefile.am (ext_headers):  Add new file.
5441         * include/Makefile.in:  Regenerate.
5442         * testsuite/ext/headers.cc:  Include <ext/memory>.
5443         * include/backward/algobase.h:  Include <ext/memory> and
5444         <ext/algorithm>, tweak.
5445         * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
5446         * include/ext/stl_rope.h:  Include <ext/memory>, tweak.
5447
5448 2002-01-01  Roger Sayle <roger@eyesopen.com>
5449
5450         * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
5451         equivalent ___builtin__ versions.
5452
5453         * include/c_shadow/bits/std_cmath.h: All __builtin math functions
5454         are available in libstdc++ as the necessary stub implementations
5455         are provided by libmath/stubs.c.
5456
5457 2002-01-01  Jason Thorpe  <thorpej@wasabisystems.com>
5458
5459         * configure.in: Add support for NetBSD cross compiles.
5460         * configure: Regenerate.