OSDN Git Service

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