mknumeric_limits: Add static defintions, format.
[platform/upstream/gcc.git] / libstdc++-v3 / ChangeLog
1 2001-06-19  Benjamin Kosnik  <bkoz@redhat.com>
2
3         * mknumeric_limits: Add static defintions, format.
4         * testsuite/18_support/numeric_limits.cc (test02): Add test.
5
6         * include/c_std/bits/std_cwchar.h: Include ctime.
7         * testsuite/17_intro/header_cwchar.cc : Check.
8
9         * include/c_std/bits/std_cwctype.h: Inject wctype.
10         * testsuite/17_intro/header_cwctype.cc: Update.
11
12 2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>
13
14         * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
15         * testsuite/20_util/raw_storage_iterator.cc: Same.
16         
17         * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
18         operator new.
19         (__mem_interface): New typedef for switching between malloc and new.
20         * testsuite/20_util/allocator_members.cc: New file.     
21
22         * testsuite/20_util/comparisons.cc: New file.
23         * testsuite/20_util/pairs.cc: New file. 
24
25 2001-06-15  Phil Edwards  <pme@sources.redhat.com>
26
27         * docs/html/documentation.html:  Point to new doxygen'ed collection.
28
29 2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
30
31         * configure.in (auxdir): Replace by ...
32         (toprel): ... new variable.
33         (toplevel_srcdir): Construct from $toprel.
34         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
35         rather than .. to locate gcc source directory.
36         (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
37         * aclocal.m4, configure: Rebuilt.
38
39 2001-06-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
40
41         (Approved by Mark and Benjamin.  Applied by Loren.)
42
43         * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
44         _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
45         and _GLIBCPP_mutex_address.
46         * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
47         once-only runtime initialization of _M_lock mutex when
48         __GTHREAD_MUTEX_INIT_FUNCTION is defined.
49         (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
50         for __GTHREAD_MUTEX_INIT_FUNCTION case.
51
52 2001-06-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
53
54         * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
55
56         * include/bits/slice_array.h (slice_array<>::operator=): Make
57         public and implement.
58         (slice_array<>::slice_array): Make copy-constructor public.
59
60         * include/bits/valarray_array.h (__valarray_copy): Add another
61         overload to copy between strided arrays.
62
63 2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>
64
65         * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
66         * aclocal.m4: Regenerate.
67         * configure: Regenerate.
68         * include/bits/c++config (__GLIBCPP__): Update date.
69
70 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
71
72         * include/bits/fpos.h (fpos::operator-): Don't return reference,
73         return original, non-modified version.
74         (fpos::operator+): Same.
75         * testsuite/27_io/fpos.cc: Add test.
76         
77 2001-06-12  Loren J. Rittle  <ljrittle@acm.org>
78
79         libstdc++/2071
80         * porting.texi: Add documentation about libstdc++-v3-specific
81         macros that are currently included in os_defines.h files.
82
83         * config/basic_file_stdio.h (sys_getc): New method.
84         (sys_ungetc): New method.
85         * include/bits/basic_file.h: (sys_getc): New method signature.
86         (sys_ungetc): New method signature.
87
88         * include/bits/fstream.tcc (underflow): Add conditional code
89         paths which avoid using short seeks on streams (especially
90         useful when the stream might be interactive or a pipe).  At
91         the moment, this alternate path only avoids seeking when the
92         ``buffer size'' of underflow() is 1 since the C standard only
93         guarantees buffer space for one ungetc (this technique could
94         be extended since *-*-solaris* supports buffering for 4 calls
95         to ungetc and *-*-*bsd* supports buffering limited only by
96         memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
97         in a port's os_defines.h file for this alternate path to even
98         be considered.  As a bonus, the idiom of using getc/ungetc
99         requires no system calls whereas fseek maps to one or two
100         system call(s) on many platforms.
101
102         * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
103         Define it.
104         * config/os/solaris/solaris2.5/bits/os_defines.h
105         (_GLIBCPP_AVOID_FSEEK): Likewise.
106         * config/os/solaris/solaris2.6/bits/os_defines.h
107         (_GLIBCPP_AVOID_FSEEK): Likewise.
108         * config/os/solaris/solaris2.7/bits/os_defines.h
109         (_GLIBCPP_AVOID_FSEEK): Likewise.
110
111 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
112
113         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
114         AC_TRY_COMPILE, so that the built compiler is checked, and
115         bootstraps or cross compiles with an older compile still work.
116         * aclocal.m4: Regenerate.
117         * configure: Regenerate.
118         
119 2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>
120
121         libstdc++/3142
122         * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
123
124         libstdc++/3141
125         * include/bits/istream.tcc (getline, get): Fix as per DR 243.
126
127         libstdc++/3140
128         * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
129
130         libstdc++/3139
131         * include/bits/limits_generic.h: Fix as per DR 184.
132
133 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
134
135         libstdc++/3126
136         * include/bits/basic_string.h (string::compare): Adjust signatures
137         as per DR 5.
138         * include/bits/basic_string.tcc: And here.
139
140         libstdc++/2346
141         * config/c_io_stdio.h: Remove whitespace.
142         * testsuite/27_io/istream_seeks.cc (test03): Add regression.
143         (test02): Add regression.
144         * testsuite/27_io/istream_seeks-3.tst: New file.
145         
146 2001-06-11  Phil Edwards  <pme@sources.redhat.com>
147
148         * README:  Update to reflect reality.
149         * acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
150         * configure.in:  Make certain target_alias is set and subst'd for 2.50.
151         * aclocal.m4:  Regenerate.
152         * configure:  Regenerate (with 2.13).
153
154 2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>
155
156         libstdc++/3114
157         * include/bits/ostream.tcc (ostream::seekp): Add error checking as
158         per DR 129.
159         * include/bits/istream.tcc (istream::seekg): Same.
160         * testsuite/27_io/istream_seeks.cc: Fix.
161         
162         libstdc++/3113
163         * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
164         (binder1st): Same.
165         * include/bits/std_queue.h: Add c++config.h.
166         * testsuite/20_util/binders.cc: New test.
167         
168 2001-06-11  Matthias Klose  <doko@debian.org>
169             Phil Edwards  <pme@sources.redhat.com>
170
171         * docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
172         (main script):  Echo more information.
173
174 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
175
176         * include/c_std/bits/std_cwchar.h: Alphabetize.
177         * include/bits/char_traits.h: Tweak.
178         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
179         everything used by std_cwchar.h.
180         * aclocal.m4: Regenerate.
181         * configure.in: Regenerate.
182         * config.h.in: Regenerate.
183         
184 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
185
186         * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
187         Add checking for strtof, _Exit in stdlib.h
188         * aclocal.m4: Regenerate.
189         * configure.in: Regenerate.
190         * include/c_std/bits/std_cstdio.h: Alphabetize lists. 
191         (snprintf): Put C99 functions into __gnu_cxx namespace.
192         (vfscanf): Same.
193         (vscanf): Same.
194         (vsnprintf): Same.
195         (vsscanf): Same.
196         * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
197         for C99 functions within _GLIBCPP_USE_C99 guard.
198         (_Exit): Same.
199         (strtof): Same.
200         (strtold): Same.
201         * include/bits/locale_facets.tcc: Check if C99 is enabled.
202         * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
203         C99 guard.
204         * include/c_std/bits/cmath.tcc: Formatting tweak.
205         * include/c_std/bits/std_cmath.h: Same.
206         
207 2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>
208
209         * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
210
211 2001-06-09  Alexandre Oliva  <aoliva@redhat.com> 
212             Stephen L Moshier  <moshier@mediaone.net>
213
214         * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
215         nothing, as in autoconf 2.50.
216         * configure: Rebuilt.
217
218 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
219
220         * include/c_std/bits/std_cwchar.h: Remove size_t injection,
221         include std_cstddef.
222         * include/c_std/bits/std_ctime.h: Same.
223         * include/c_std/bits/std_cstring.h: Same.
224         * include/c_std/bits/std_cstdlib.h: Same.
225         
226         * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
227         * include/c_std/bits/std_cctype.h: Remove isblank.
228
229 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
230
231         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
232         fgetws.
233         * aclocal.m4: Regenerate.
234         * configure: Regenerate.
235         * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
236         injection, guard fgetwc, fgetws.
237         * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
238         * include/c_std/bits/std_clocale.h: And here.
239         * include/c_std/bits/std_cctype.h: And here.
240         * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
241
242         * config/basic_file_stdio.h: Don't include unistd.h.
243         * config/c_io_stdio.h: Don't use compatibility headers.
244         * libsupc++/eh_terminate.cc: Qualify abort.
245         (__terminate): And here.
246         * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
247         
248 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
249
250         * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
251
252 2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
253
254         libstdc++/2767
255         libstdc++/2989
256         libstdc++/2992
257         * include/std/*: Add copyright notice.
258         * include/c_std/bits/*: Use using statements instead of extern "C".
259         * include/c_std/bits/std_cmath.h: Don't overload double versions
260         of math functions with __buitin versions, use global version to
261         prevent ambiguities. Remove define hacks.
262         * include/c_std/bits/std_cwchar.h: Using declarations for "C"
263         functions that have changed signatures and std::
264         declarations. Remove define hacks.
265         * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
266         __builtins in std::. Remove define hacks.
267         * testsuite/17_intro/headers_c.cc: Add tests.
268         * testsuite/17_intro/headers_c++.cc: Add test.
269
270 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
271             John David Anglin  <dave@hiauly1.hia.nrc.ca>
272
273         c++/3082
274         * libsupc++/eh_alloc.cc: Ensure that required macros are
275         defined before including gthr.h.  Ensure that we get the
276         version of gthr.h for which we know how to provide a
277         configuration.
278         * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
279         code path into line with the current EH model.  Use std, where
280         appropriate.
281
282 2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
283             John David Anglin  <dave@hiauly1.hia.nrc.ca>
284
285         * config/threads-no.h: Remove file.
286         * config/threads-posix.h: Remove file.
287
288         * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
289         (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
290         (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
291         * config.h.in: Regenerate.
292
293         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
294         setup and use gthr*.h files.  In particular, make gthr.h files
295         namespace-clean in the staging area (they don't have to be for
296         libgcc.a).
297         * aclocal.m4: Regenerate.
298         * configure: Regenerate.
299
300         * src/Makefile.am (build_headers): Remove bits/c++threads.h
301         and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
302         * src/Makefile.in: Regenerate.
303
304         * include/bits/c++config: Cleanup threading configuration macros.
305         In particular, define __STL_GTHREADS macro which controls...
306         * include/bits/stl_threads.h: ...a brand new gthr.h-based
307         configuration here.
308
309         * config/c_io_stdio.h: Include staged gthr.h instead of local
310         thread configuration file.  Always use __gthread_mutex_t
311         instead of __mutext_type (or int).
312         * include/bits/std_fstream.h: Likewise.
313
314         * docs/html/17_intro/howto.html: Remove placeholder comment in
315         case this configuration patch didn't make it.  Add advice that
316         section only applies if configured with --enable-threads.
317         * docs/html/23_containers/howto.html: Reword to make clear
318         that _PTHREADS is no longer required for any port to be
319         correctly using STL with threads.  Add advice that section
320         only applies if configured with --enable-threads.
321
322 2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
323
324         * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
325
326 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
327
328         libstdc++/3045
329         * include/bits/basic_ios.tcc: Formatting tweaks.
330         * include/bits/ios_base.h: Formatting tweaks.
331         * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
332         (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
333         * src/globals.cc: Allocate filebufs for standard streams here.
334         (buf_cout, buf_cin, buf_cerr): Like so.
335         (buf_wcout, buf_wcin, buf_wcerr): And so.
336         * testsuite/27_io/ios_init.cc: Add.
337         
338 2001-06-04  Brendan Kehoe  <brendan@zen.org>
339             Benjamin Kosnik  <bkoz@redhat.com>
340         
341         libstdc++/3017
342         * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
343         for generic ctype virtuals.
344         * src/locale.cc: Minor tweaks, naming consistency.
345         * testsuite/22_locale/ctype.cc: Add test.
346         
347 2001-06-04  Kenny Simpson <theonetruekenny@yahoo.com>
348             Phil Edwards  <pme@sources.redhat.com>
349
350         PR libstdc++/3035 and PR libstdc++/3036
351         * include/bits/stl_pair.h:  Fix pair ctor and make_pair according
352         to LWG DR 181 and 265.
353
354 2001-06-04  Phil Edwards  <pme@sources.redhat.com>
355
356         PR libstdc++/3034
357         * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
358         equal_range):  Add const overloads as per LWG DR 214.
359         * include/bits/stl_set.h:  Likewise.
360
361 2001-06-04  Brendan Kehoe  <brendan@zen.org>
362             Phil Edwards  <pme@sources.redhat.com>
363
364         PR libstdc++/3018
365         * include/bits/std_bitset.h (bitset::test):  Fix __pos >= _Nb
366         comparison; all positions must be < _Nb.
367         * testsuite/23_containers/bitset_members.cc:  New file.
368
369 2001-06-04  Brendan Kehoe  <brendan@zen.org>
370
371         PR libstdc++/3016
372         * include/bits/stl_queue.h (classes queue, priority_queue):  Fix
373         ctors to match the standard.
374
375 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
376
377         * include/bits/char_traits.h (move): Reverse qualification of
378         memmove with std::.
379         (copy): Reverse qualification of memcpy with std::.
380
381 2001-06-04  Jeffrey Oldham  <oldham@codesourcery.com>
382
383         * include/bits/char_traits.h (move): Qualify memmove with std::.
384         (copy): Qualify memcpy with std::.
385         * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
386         strncmp with std::.
387         (test02): Likewise.
388         * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
389
390 2001-06-04  Hans-Peter Nilsson  <hp@axis.com>
391
392         * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
393         uninstall-glibcppinstallHEADERS): Have explicit rules catering to
394         SUN make VPATH peculiarities.
395         * libsupc++/Makefile.in: Regenerate.
396
397 2001-06-01  Hans-Peter Nilsson  <hp@axis.com>
398
399         * src/Makefile.am (VPATH): Delimit with ":", not space.
400         * src/Makefile.in: Regenerate.
401
402         * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
403         make isn't found.
404         * configure: Regenerate.
405
406 2001-05-31  scott snyder  <snyder@fnal.gov>
407
408         libstdc++/2976
409         * include/bits/istream.tcc: Include std_ostream.h.
410
411 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
412
413         libstdc++/2997
414         * src/bitset.cc: Qualify size_t with std::.
415
416 2001-05-30  Benjamin Kosnik  <bkoz@redhat.com>
417
418         * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
419         (_GLIBCPP_BUGGY_COMPLEX): Remove.
420         * config.h.in: Regenerate.
421         * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
422         * aclocal.m4: Regenerate.
423         * configure.in: Don't call it.
424         * configure: Regenerate.
425
426         libstdc++/2970
427         * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
428         * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
429         New test.
430
431         libstdc++/2985
432         * include/bits/std_complex.h: Include sstream. Put definitions for
433         complex inserters and extractors here, and remove them from...
434         * src/complex_io.cc: ...here.
435         * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
436         parameter.
437         (basic_ios::__numget_type): Same.
438         * include/bits/std_istream.h: Same.
439         * include/bits/std_ostream.h: Same.
440         * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
441         class iterator template arguments.
442         * src/locale-inst.cc: Add explicit has_facet instantiations.
443         * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
444         (_M_get_fnumput): Remove.
445         (_M_get_fnumget): Remove.
446         (basic_ios::_M_check_facet): New function.
447         (basic_ios::_M_cache_facets): New function.
448         * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
449         (basic_ios::imbue): Call _M_cache_facets.
450         (basic_ios::init): Same.
451         * include/bits/istream.tcc: Format, use _M_check_facet.
452         * include/bits/ostream.tcc: Same.
453         * include/bits/locale_facets.tcc (__output_float): Change
454         signature, add _Traits.
455         * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
456         New test.
457
458 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
459
460         * include/bits/c++config (__USE_MALLOC): Do not define it.
461         Document why not and give pointers to more information.
462
463         * docs/html/23_containers/howto.html: Update documentation
464         to reflect recent understanding of problem.
465         * docs/html/17_intro/howto.html: Likewise.
466
467 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
468
469         * docs/doxygen/user.cfg.in:  Minor addition.
470         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
471         stuff first.
472         * docs/html/install.html:  Update for 3.0.  HTML fixups.
473         * docs/html/17_intro/howto.html:  Likewise.
474         * docs/html/18_support/howto.html:  Likewise.
475         * docs/html/19_diagnostics/howto.html:  Likewise.
476         * docs/html/20_util/howto.html:  Likewise.
477         * docs/html/23_containers/howto.html:  Likewise.
478         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
479         * docs/html/25_algorithms/howto.html:  Likewise.
480         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
481         * docs/html/27_io/howto.html:  Likewise.
482         * docs/html/ext/howto.html:  Likewise.
483         * docs/html/faq/index.html:  Likewise.
484         * docs/html/faq/index.txt:  Regenerate.
485         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
486         Doxygen-created documentation.
487
488 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
489
490         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
491         get_multilibs to find gcc.
492         
493 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
494
495         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
496         * aclocal.m4:  Regenerate.
497         * configure:  Regenerate.
498
499 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
500  
501        * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::. 
502        * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
503  
504 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
505
506        * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
507        * include/c_std/bits/std_cstdlib.h: Same.
508        * include/c_std/bits/std_cwchar.h: Same.
509
510 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
511
512         * docs/html/17_intro/howto.html: Update link.
513         * docs/html/23_containers/howto.html: Likewise.  Add new link.
514
515 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
516
517         * include/c_std/bits/std_cmath.h (sqrt): #undef.
518         
519 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
520
521         * mknumeric_limits: Stop if gen-num-limits dies.
522
523 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
524
525         other/2931
526         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
527         * aclocal.m4: Regenerate.
528         * configure: Same.
529         
530 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
531             Phil Edwards  <pme@sources.redhat.com>
532             Alexandre Oliva  <aoliva@redhat.com>
533
534         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
535         in an amd-safe manner. Revert glibcpp_prefixdir.
536
537 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
538
539         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
540         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
541         variants. 
542
543 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
544
545         libstdc++/2830
546         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
547         * include/bits/ostream.tcc: Format to match istream.tcc.
548         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
549         
550 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
551
552         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
553         malloc with std:: .
554         (__cxa_free_exception):  Likewise with free.
555
556 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
557
558         * include/c_std/bin/std_cstring.h: #define away all global
559         functions we will redeclare in namespace `std'.
560         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
561         std::memset, instead of memset.
562         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
563         not plain `strcmp'.
564         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
565         plain `strcpy'.
566         
567 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
568
569         libstdc++/2832
570         * include/bits/basic_ios.tcc: Small tweak.
571         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
572         ctors and dtors, and rdbuf settings.
573         (ofstream): Same.
574         (fstream): Same.
575         * include/bits/std_sstream.h: Same, but for stringstream classes.
576         * testsuite/27_io/ostringstream_members.cc: New.
577         * testsuite/27_io/stringstream_members.cc: New. 
578         * testsuite/27_io/fstream_members.cc: New.              
579         * testsuite/27_io/ifstream_members.cc: Add test.
580         * testsuite/27_io/istringstream_members.cc: Add test.
581         * testsuite/27_io/ofstream_members.cc: Add test.
582
583 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
584
585         * include/bits/c++config(__NO_MATH_INLINES): Move to...
586         * config/os/gnu-linux/bits/os_defines.h: ...here.
587
588 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
589
590         * include/bits/c++config (__NO_MATH_INLINES): New macro.
591         * testsuite/26_numerics/fabs_inline.cc (main): New test.
592
593 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
594
595         libstdc++/2841
596         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
597         ld_library_path.  
598         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
599         (libstdc++-v3-finish): Remove.
600         (libstdc++-v3_exit): Remove.
601
602 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
603
604         * docs/html/documentation.html:  Point to doxygen output.
605
606 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
607
608         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
609
610         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
611         arguments to be non-null.
612         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
613         try allocations if allocated size is greater than zero.
614         (filebuf::_M_filebuf_init): Change to
615         (filebuf::_M_allocate_file): Which is what it does now. 
616         (filebuf::_M_allocate_bufers): Change to
617         (filebuf::_M_allocate_internal_buffer): This, and create
618         (filebuf::_M_allocate_pback_buffer): New.
619         (filebuf::_M_destroy_internal_buffer): New.
620         (filebuf::_M_buf_allocated): New data member.
621         (filebuf::setbuf): Use new logic, allow use of external buffer.
622         * testsuite/27_io/stringbuf_virtuals.cc: New file.
623         * testsuite/27_io/filebuf_virtuals.cc: New file.
624
625 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
626
627         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
628         __glibcpp_memchr.
629         (strchr): Same, but to __glibcpp_strchr.
630         (strpbrk): Same.
631         (strrchr): Same.
632         (strstr): Same.  
633         * include/c_std/bits/std_cwchar.h (wcschr): Same.
634         (wcsbrk): Same.
635         (wcsrchr): Same.
636         (wcsstr): Same.
637         (wmemchr): Same.
638
639 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
640
641         * testsuite/21_strings/c_strings.cc (main): Fix.
642
643 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
644
645         * acinclude.m4:  Fix --help spacing, correct comments.
646         * aclocal.m4:  Regenerate.
647         * configure:  Regenerate.
648         * mkcheck.in:  Add usage comments.
649         * docs/html/documentation.html:  Point to doxygen'd tarball.
650
651 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
652
653         * testsuite/README: Add notes.
654
655         * src/Makefile.am (libstdc++.INC): Remove.
656         * src/Makefile.in: Regenerate.
657
658         Phil Edwards <pedwards@disaster.jaj.com>
659         * mkcheck.in: Add missing '#'.
660
661 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
662
663         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
664         appropriately for remote testing and testing installed files without
665         a build dir.
666
667 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
668
669         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
670         amd glibcpp_prefixdir with absolute paths.
671
672         * include/bits/c++config (__GLIBCPP__): Bump.
673         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
674
675 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
676
677         * include/bits/std_valarray.h (valarray<>::operator[] const):
678         Return a const reference. 
679         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
680
681 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
682
683         * configure.target (ATOMICITYH): Actually use AIX-specific code on
684         earlier versions of AIX 4.*.
685
686 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
687
688         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
689         output_file based on the name of the testcase.
690
691 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
692
693         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
694         gluefile and use it if needs_status_wrapper is set.
695
696 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
697
698         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
699         versions of AIX.
700
701 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
702
703         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
704         on earlier versions of AIX.
705
706 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
707
708         * testsuite_flags.in (query): Add backwards, ext directories.
709
710 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
711
712         * porting.texi: Correct documentation about handling
713         _LARRGEFILE_SOURCE and its ilk.
714         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
715         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and 
716         __EXTENSIONS__.
717         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
718         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
719
720 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
721         
722         * testsuite/21_strings/inserters_extractors.cc,
723         testsuite/27_io/istream_unformatted.cc,
724         testsuite/27_io/stringstream.cc:
725         Replace multi-line string constants with C89-style
726         concatenated string constants.
727         
728 2001-05-14  Richard Henderson  <rth@redhat.com>
729
730         * mknumeric_limits: Build with -fno-exceptions.
731
732 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
733
734         Switch over to new harness.
735         * testsuite_flags.in: Tweaks via Gaby.
736         * testsuite/Makefile.am: Change tool to libstdc++-v3.
737         (EXPECT): Quote directly.
738         (RUNTEST): Same.
739         * configure.in: Output testsuite_flags.
740         * acinclude.m4: Substitute src, bld, and prefix dirs.
741         Remove glibcpp_expect, glibcpp_runtestflags.
742         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
743         * mkcheck.in: Port to new interface.
744         
745         * aclocal.m4: Regerate.
746         * configure: Regnerate.
747         * Makefile.in: Regnerate.
748         * */Makefile.in: Regenerate.
749         
750         * tests_flags.in: Remove.
751         * testsuite/lib/libstdc++.exp: Remove.
752         * testsuite/libstdc++.tests/tests.exp: Remove.
753         
754 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
755
756         * configure.target: Remove detection of AIX pthread multilib, now
757         obtained from `gcc -v'.
758
759 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
760
761         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
762         size.  Add hpux case for HP size.
763
764 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
765
766         * testsuite_flags.in: New, simplified interface.
767         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
768         * testsuite/libstdc++-v3.dg: Add.
769         * testsuite/libstdc++-v3.dg/dg.exp: Add.        
770
771 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
772
773         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
774         * testsuite/config/default.exp: Update bugs email address.
775         
776 2001-05-11  Richard Henderson  <rth@redhat.com>
777
778         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
779         all pointer encoding logic.
780         (struct lsda_header_info): Add ttype_base.
781         (get_ttype_entry): Use it instead of a context.
782         (check_exception_spec): Likewise.
783         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
784         the c++ exception header for __cxa_call_unexpected.
785         (__cxa_call_unexpected): Use it.
786
787 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
788
789         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
790         libgloss_link_flags to find crt0.o for targets that use libgloss
791         instead of newlib.
792         Change LDFLAGS to LIBS.
793         Consistently name procedures libstdc++-XXX.
794         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
795         
796 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
797
798         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
799         (strchr): Same.
800         (strpbrk): Same.
801         (strrchr): Same.
802         (strstr): Same.
803         * include/c_std/bits/std_cwchar.h (wcschr): Same.
804         (wcsbrk): Same.
805         (wcsrchr): Same.
806         (wcsstr): Same.
807         (wmemchr): Same.
808         * testsuite/21_strings/c_strings.cc: Add tests.
809         
810 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
811
812         libstdc++/2523
813         * include/bits/std_fstream.h (basic_filebuf): Change signature.
814         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
815         to int_type, pass in buffer size info.
816         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
817         unbuffered situation.
818         (underflow): Remove codecvt bits for the time being.
819         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
820         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
821         values from iterators, clean.
822         * src/locale.cc: Ditto.
823         * include/bits/sbuf_iter.h: Format.
824         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
825         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
826         * testsuite/27_io/filebuf.cc: Tweaks.
827         * testsuite/27_io/filebuf_members.cc: Tweaks.
828         
829 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
830
831         * config/os/solaris/solaris2.7/bits/os_defines.h
832         (_LARGEFILE_SOURCE): Define it.
833
834 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
835
836         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
837         -prefer-non-pic depending on whether libtool has shared libraries
838         enabled or disabled.
839         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
840         $(LIBSUPCXX_PICFLAGS).
841         * configure, */Makefile.in: Rebuilt.
842
843 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
844
845         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
846         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
847
848         * include/bits/std_sstream.h (stringbuf): Leak
849         copied string.
850         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
851         
852 2001-05-01  Tom Browder  <tbrowder@home.com>
853
854         * docs/html/ext/howto.html:  Fix typo.
855
856 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
857
858         * testsuite/libstdc++.tests/tests.exp: Add comment.
859
860 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
861
862         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
863
864 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
865
866         * porting.texi: Use the GFDL.
867
868 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
869
870         libstdc++/2627 
871         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
872         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
873         specializations.
874
875 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
876
877         libstdc++/2964
878         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
879
880 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
881
882         * docs/doxygen/run_doxygen:  Minor tweaks.
883         * docs/doxygen/style.css:  New file.
884         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
885         latest parameters available.  Use style.css.
886
887 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
888
889         * docs/doxygen/mainpage.doxy: New.
890         * docs/doxygen/user.cfg.in: Change default configuration. Single
891         frame, other tweaks.
892
893 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
894
895         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
896         Indicate obsolete nature of thelist for G++ 3.0.
897
898 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
899
900         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
901         target_thread_file with `gcc -v'.
902         * aclocal.m4, configure: Rebuilt.
903
904 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
905
906         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
907         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
908         * include/c_std/bits/std_cwchar.h (std): Same.
909         * acconfig.h (std): Remove c99 injection into std.
910         * config.h.in: Regenerate.
911         
912         * testsuite/README: Fix typo.
913
914         * include/bits/codecvt.h: Remove warnings.
915         
916 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
917
918         * include/ext/slist: Include required header files. 
919
920 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
921
922         * include/c_std/bits/std_cerrno.h (errno): Define macro from
923         identifier declared with external linkage, if needed.
924         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
925         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
926
927 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
928
929         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
930         re-configures find the build compiler.
931         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
932         libstdc++/2609.
933         * aclocal.m4: Regenerate.
934         * configure: Regenerate.
935
936 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
937
938         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
939         support is enabled correctly before long long is activated.
940         * aclocal.m4: Regenerate.
941         * configure: Regenerate.
942         
943         * include/backward/backward_warning.h: Format correctly.
944
945         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
946         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
947         * testsuite/26_numerics/c99_macros.cc: Remove.
948         
949 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
950
951         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
952         __iterator_category.
953
954 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
955
956         * acconfig.h (_GLIBCPP_USE_C99): Add.
957         * config.h.in: Regenerate.
958         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
959         9899: 1999 support.
960         * aclocal.m4: Regenerate.
961         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
962         * configure: Regenerate.
963         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
964         * configure: Regenerate.
965         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
966         into c99.
967         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
968         namespace.
969         * include/c_std/bits/std_cstdlib.h: Same.
970         * docs/html/configopts.html: Update.
971         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
972         math.h
973         (test_c99_classify): Add.
974         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
975         (_ISOC99_SOURCE): Remove.
976
977         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
978         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
979         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
980         * aclocal.m4: Regenerate.
981         * configure: Regenerate.
982         
983 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
984
985         * Makefile.am (doxygen):  Assume script is missing execute perms.
986         * Makefile.in:  Regenerated.
987         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
988
989 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
990
991         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
992
993 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
994
995         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
996         * testsuite/23_containers/set_operators.cc: Same.
997
998         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
999         default.
1000         (__GLIBCPP__): Bump from value of last release.
1001         * include/bits/concept_check.h: Default to off, edit comments.
1002         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1003         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS. 
1004         * src/Makefile.in: Regenerate.
1005         
1006 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
1007
1008         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1009         Properly uglify member.
1010
1011 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
1012
1013         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
1014         of EqualityCo
1015         mparableConcept.
1016
1017 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
1018
1019         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
1020         * include/bits/concept_check.h:  Uglify.
1021         * include/bits/stl_algo.h:  Likewise.
1022         * include/bits/stl_algobase.h:  Likewise.
1023         * include/bits/stl_deque.h:  Likewise.
1024         * include/bits/stl_heap.h:  Likewise.
1025         * include/bits/stl_iterator_base_funcs.h:  Likewise.
1026         * include/bits/stl_list.h:  Likewise.
1027         * include/bits/stl_map.h:  Likewise.
1028         * include/bits/stl_multimap.h:  Likewise.
1029         * include/bits/stl_multiset.h:  Likewise.
1030         * include/bits/stl_numeric.h:  Likewise.
1031         * include/bits/stl_queue.h:  Likewise.
1032         * include/bits/stl_set.h:  Likewise.
1033         * include/bits/stl_stack.h:  Likewise.
1034         * include/bits/stl_vector.h:  Likewise.
1035         * include/ext/hash_map:  Likewise.
1036         * include/ext/hash_set:  Likewise.
1037         * include/ext/slist:  Likewise.
1038
1039 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
1040
1041         * testsuite/23_containers/set_operators.cc: Just try to compile.
1042         Mark as XFAIL.   
1043         * testsuite/23_containers/map_operators.cc: Same.
1044
1045 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
1046
1047         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
1048         output_file.
1049         (dg-test): Revert rth's change.
1050
1051 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
1052
1053         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
1054         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
1055
1056 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
1057
1058         * testsuite/README: Add DejaGnu specific documentation.
1059
1060 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
1061         
1062         * acinclude.m4: AC_CHECK_TOOL for expect.
1063         * aclocal.m4: Regenerate.
1064         * configure: Regenerate.
1065         * testsuite/Makefile.am (RUNTEST): Use substituted.
1066         (EXPECT): Same.
1067
1068         * configure.in: Remove xcompiling substitution.
1069         * tests_flags.in (CROSS_LIB_PATH): Remove.
1070         (xcompiling): Remove.
1071         (CXX): Use substituted CXX.
1072         
1073 2001-04-11  Richard Henderson  <rth@redhat.com>
1074
1075         * testsuite/lib/libstdc++.exp: Specify path for output_file.
1076
1077 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
1078
1079         * include/bits/std_valarray.h(valarray<>::operator[]): Make
1080         inline. 
1081
1082 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
1083   
1084         * testsuite/25_algorithms/equal.cc: New test.
1085
1086 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
1087
1088         * stl_algobase.h (std::equal): avoid use of possibly-undefined
1089         operator != (one line patch).
1090
1091 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
1092
1093         * include/backward/backward_warning.h: Re-enable.
1094
1095 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
1096             Alexandre Oliva  <aoliva@redhat.com>
1097         
1098         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
1099
1100 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
1101
1102         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
1103         * testsuite/26_numerics/c99_macros.cc: Add test.
1104
1105 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
1106
1107         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
1108         * docs/html/faq/index.txt:  Regenerated.
1109
1110 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
1111
1112         * include/backward/backward_warning.h: Temporarily disable until
1113         g++ testsuite changes go in.
1114         * tests_flags.in (CROSS_LIB_PATH): Add.
1115
1116 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
1117
1118         Warn when using backward headers.
1119         * include/backward/algo.h: Include warning file.        
1120         * include/backward/vector.h: Same.
1121         * include/backward/tree.h: Same.
1122         * include/backward/tempbuf.h: Same.
1123         * include/backward/strstream: Same.
1124         * include/backward/streambuf.h: Same.
1125         * include/backward/stream.h: Same.
1126         * include/backward/stack.h: Same.
1127         * include/backward/slist.h: Same.
1128         * include/backward/set.h: Same.
1129         * include/backward/rope.h: 
1130         * include/backward/queue.h: Same.
1131         * include/backward/pair.h: Same.
1132         * include/backward/ostream.h: Same.
1133         * include/backward/new.h: Same.
1134         * include/backward/multiset.h: Same.
1135         * include/backward/multimap.h: Same.
1136         * include/backward/map.h: Same.
1137         * include/backward/list.h: Same.
1138         * include/backward/iterator.h: Same.
1139         * include/backward/istream.h: Same.
1140         * include/backward/iostream.h: 
1141         * include/backward/iomanip.h: 
1142         * include/backward/heap.h: Same.
1143         * include/backward/hashtable.h: 
1144         * include/backward/hash_set.h: 
1145         * include/backward/hash_map.h: 
1146         * include/backward/function.h: 
1147         * include/backward/fstream.h: 
1148         * include/backward/deque.h: 
1149         * include/backward/defalloc.h: Same.
1150         * include/backward/complex.h: Same.
1151         * include/backward/bvector.h: 
1152         * include/backward/alloc.h: 
1153         * include/backward/algobase.h: Same.
1154
1155         * include/backward/backward_warning.h: New file.
1156         * src/Makefile.am (backward_headers): Add backward_warning.h
1157         * src/Makefile.in: Regenerate.
1158
1159 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
1160
1161         * src/Makefile.am (myinstalldirs): Make sure backward directory is
1162         created.
1163         (myinstallheaders): Install backward headers in backward directory.
1164         * src/Makefile.in: Regenerate.
1165         
1166 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
1167
1168         Prepare for libstdc++-2.92.
1169         * docs/html/17_intro/RELEASE-NOTES (New): Update.
1170         * docs/html/configopts.html: Fix formatting.
1171         * README (file): Updates.
1172         * include/bits/c++config (__GLIBCPP__): Update.
1173
1174 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
1175
1176         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
1177
1178 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
1179
1180         * docs/doxygen/user.cfg.in:  Extract all non-private members;
1181           reduce confusing documentation output.
1182
1183 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
1184
1185         * include/backward/fstream.h: Add missing semicolons.
1186
1187 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
1188
1189         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
1190         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
1191         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
1192         (ios_base::Init::_S_ios_create): New.
1193         (ios_base::Init::_S_ios_destroy): New.  
1194         * include/bits/std_fstream.h: Change ctor args.
1195         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
1196         (ios_base::Init::~Init): Use _S_ios_destroy.
1197         (ios_base::sync_with_stdio): Use new members.
1198         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
1199         filebuf ctor.
1200
1201 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1202
1203         * include/backward/fstream.h:  Expose streampos to global
1204           namespace.
1205         
1206 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1207
1208         * include/bits/stl_iterator_base_types.h: Fix typo
1209
1210 2001-04-03  Andreas Schwab  <schwab@suse.de>
1211
1212         * include/backward/fstream.h: Define filebuf and wfilebuf.
1213
1214 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
1215
1216         New concept checking implementation.
1217         * docs/html/19_diagnostics/howto.html:  Document.
1218         * docs/html/17_intro/concept_check.diff:  New file, for reference.
1219         * include/bits/boost_concept_check.h:  New file from Boost.
1220         * include/bits/c++config:  Update comments.
1221
1222         * include/bits/concept_check.h:  New file.
1223         * include/bits/concept_checks.h:  Removed.
1224         * include/bits/container_concepts.h:  Removed.
1225         * include/bits/sequence_concepts.h:  Removed.
1226         * include/bits/stl_iterator_base.h:  Removed; split into...
1227         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
1228         * include/bits/stl_iterator_base_types.h:  ...and this new file.
1229
1230         * include/bits/sbuf_iter.h:  Update to use new implementation.
1231         * include/bits/std_iterator.h:  Likewise.
1232         * include/bits/std_memory.h:  Likewise.
1233         * include/bits/stl_algo.h:  Likewise.
1234         * include/bits/stl_algobase.h:  Likewise.
1235         * include/bits/stl_construct.h:  Likewise.
1236         * include/bits/stl_deque.h:  Likewise.
1237         * include/bits/stl_heap.h:  Likewise.
1238         * include/bits/stl_list.h:  Likewise.
1239         * include/bits/stl_map.h:  Likewise.
1240         * include/bits/stl_multimap.h:  Likewise.
1241         * include/bits/stl_multiset.h:  Likewise.
1242         * include/bits/stl_numeric.h:  Likewise.
1243         * include/bits/stl_queue.h:  Likewise.
1244         * include/bits/stl_set.h:  Likewise.
1245         * include/bits/stl_stack.h:  Likewise.
1246         * include/bits/stl_uninitialized.h:  Likewise.
1247         * include/bits/stl_vector.h:  Likewise.
1248         * include/ext/hash_map:  Likewise.
1249         * include/ext/hash_set:  Likewise.
1250         * include/ext/slist:  Likewise.
1251         * include/ext/stl_hashtable.h:  Likewise.
1252
1253         * src/Makefile.am (base_headers):  Update list of headers.
1254         * Makefile.in:  Regenerated.
1255         * src/Makefile.in:  Regenerated.
1256         * libio/Makefile.in:  Regenerated.
1257         * libmath/Makefile.in:  Regenerated.
1258         * libsupc++/Makefile.in:  Regenerated.
1259         * testsuite/Makefile.in:  Regenerated.
1260
1261         * docs/html/install.html:  Update contact information.
1262         * docs/html/17_intro/howto.html:  Ditto.
1263         * docs/html/18_support/howto.html:  Ditto.
1264         * docs/html/20_util/howto.html:  Ditto.
1265         * docs/html/21_strings/howto.html:  Ditto.
1266         * docs/html/22_locale/howto.html:  Ditto.
1267         * docs/html/23_containers/howto.html:  Ditto.
1268         * docs/html/24_iterators/howto.html:  Ditto.
1269         * docs/html/25_algorithms/howto.html:  Ditto.
1270         * docs/html/26_numerics/howto.html:  Ditto.
1271         * docs/html/27_io/howto.html:  Ditto.
1272         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
1273         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
1274         * docs/html/faq/index.txt:  Regenerated.
1275
1276 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
1277
1278         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
1279         messages with $which_library as well as $tool_flags and
1280         ${dg-extra-tool-flags}.  Factor out annotation text into
1281         a single variable.
1282
1283 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
1284
1285         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
1286         * include/c_std/bits/std_cwchar.h: Same.
1287         * testsuite/21_strings/c_strings.cc: Add.
1288
1289 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
1290
1291         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
1292
1293 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
1294
1295         * tests_flags.in: Use test a = b, not test a == b which is not
1296         portable.
1297
1298 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
1299
1300         * configure.target: Remove duplicate aix entry.
1301
1302 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
1303
1304         * include/ext/stl_bvector.h: Move to...
1305         * include/bits/stl_vector.h: ...here.
1306         * include/ext/bvector: Move to...
1307         * include/backward/bvector.h: ...here.
1308         * include/bits/std_vector.h: Change stl_bvector include.
1309         * include/bits/std_queue.h: Remove bvector include.
1310         * include/ext/tree: Insert using rb_tree, move to...
1311         * include/backward/tree.h: ...here.
1312         * include/backward/hash_map.h: Include ext/hash_map.
1313         * include/backward/hash_set.h: Include ext/hash_set.
1314         * include/backward/queue.h: New file.
1315         * include/backward/stack.h: Edit.
1316         * include/backward/algo.h: Same.
1317         * include/backward/algobase.h: Same.
1318         * include/backward/alloc.h: Same.
1319         * include/backward/function.h: Same.
1320         * include/backward/iomanip.h: Same.
1321         * include/backward/istream.h: Same.
1322         * include/backward/iterator.h: Same.
1323         * include/backward/list.h: Same.
1324         * include/backward/map.h: Same.
1325         * include/backward/multimap.h: Same.
1326         * include/backward/multiset.h: Same.
1327         * include/backward/ostream.h: Same.
1328         * include/backward/pair.h: Same
1329         * include/backward/rope.h: Same.
1330         * include/backward/set.h: Same.
1331         * include/backward/stream.h: Same.
1332         * include/backward/strstream.h: Same.
1333         * include/backward/tempbuf.h: Same.
1334         * src/Makefile.am (ext_headers): Edit.
1335         * src/Makefile.in: Regenerate.
1336         * testsuite/ext/headers.cc (main): Fix.
1337         * mkcheck.in: Fix.
1338
1339 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
1340
1341         * tests_flags.in (LIBS):  Pass correct path for installed testing.
1342
1343 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
1344
1345         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
1346         * tests_flags.in (CXX): Construct here.
1347         (static_fail): Don't remove compile.out. Format with spaces.
1348         (INCLUDES): Deal with xcompiling.
1349         * configure.in (xcompiling): Substitute.
1350         * testsuite/Makefile.am: Snake libjava configury.
1351         * testsuite/Makefile.in: Regenerate.
1352         * testsuite/23_containers/map_operators.cc: Tweaks.
1353         * testsuite/23_containers/set_operators.cc: Tweaks.
1354
1355 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1356
1357         Enable dejagnu testing framework.
1358         * configure.in: Generate testsuite/Makefile.
1359         * configure: Regenerate.
1360         * Makefile.am (check-install): Change rule from this...
1361         (check-script-install): ...to this.
1362         (check): Change rule from this...
1363         (check-script):...to this.
1364         * Makefile.in: Regenerate.
1365
1366 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
1367
1368         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
1369         --tag CXX.
1370         (LIBTOOL): Let automake take care of its definition.
1371         * libsupc++/Makefile.in: Rebuilt.
1372
1373 2001-03-28  Richard Henderson  <rth@redhat.com>
1374
1375         IA-64 ABI Exception Handling:
1376         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
1377         * configure.in: Use it.
1378         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
1379         * libsupc++/Makefile.am (sources): Update files list.
1380         * libsupc++/Makefile.in: Regenerate.
1381         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
1382         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
1383         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
1384         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
1385         * libsupc++/exception_support.cc: Remove.
1386         * libsupc++/exception_support.h: Remove.
1387         * libsupc++/pure.cc: Use std::terminate.
1388         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
1389         (__is_pointer): Remove.
1390         * libsupc++/unwind-cxx.h: New file.
1391         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
1392
1393 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
1394
1395         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
1396         CXX tag explicitly.
1397         * src/Makefile.am (CXXLINK): Likewise.
1398         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
1399
1400 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
1401
1402         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
1403
1404 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1405
1406         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
1407           and libc
1408
1409 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
1410
1411         * include/bits/basic_file.h (get_fileno): Remove.
1412         (_M_fileno): Remove.
1413         (_M_cfile_created): Add.
1414         (basic_file::basic_file(__c_file_type*, openmode): Add.
1415         (basic_file::basic_file(int, const char*, openmode): Remove.
1416         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
1417         const char*, ios_base::openmode): Don't allocate
1418         internal buffers. Turn off internal buffers.
1419         (basic_filebuf::overflow): Remove test for null buffer.
1420         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
1421         * include/bits/streambuf.cc: Tweak.
1422         * include/bits/std_ostream.h: Tweak.
1423         * config/basic_file_libio.h: Same.
1424         * config/basic_file_stdio.h: Same.
1425         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
1426         * testsuite/27_io/filebuf_members.cc: Tweaks.
1427         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
1428
1429 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1430
1431         * Makefile.am:  New targets, doxygen and doxygen-maint.
1432         * Makefile.in:  Regenerated.
1433         * docs/doxygen/run_doxygen:  Finally implemented.
1434         * docs/doxygen/maint.cfg.in:  New file.
1435         * docs/doxygen/user.cfg.in:  New file.
1436
1437 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1438
1439         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
1440         * src/Makefile.am:  Replace leading spaces with tabs on continuation
1441         lines.
1442         * aclocal.m4:  Regenerated.
1443         * configure:  Ditto.
1444         * Makefile.in:  Ditto.
1445         * src/Makefile.in:  Ditto.
1446         * libio/Makefile.in:  Ditto.
1447         * libmath/Makefile.in:  Ditto.
1448         * libsupc++/Makefile.in:  Ditto.
1449
1450 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1451
1452         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
1453         concept-checking code and current status of same.
1454         * docs/html/ext/howto.html:  Ditto.
1455         * docs/html/faq/index.html:  Ditto.
1456         * docs/html/faq/index.txt:  Regenerated.
1457
1458 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
1459
1460         * include/bits/std_bitset.h:  Include ostream and istream headers
1461         instead of iostream.
1462
1463 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
1464
1465         * include/bits/ostream.tcc: Use __builtin_alloca.
1466
1467 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1468
1469         * src/misc-inst.cc (__sink_unused_warning): Move to...
1470         * src/locale-inst.cc (__sink_unused_warning): Move to...
1471         * src/stl-inst.cc: Here.
1472         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1473         commented it out.
1474
1475 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
1476
1477         * intclude/bits/basic_file.h: Fix typos in comments.
1478
1479 2001-03-20  Richard Henderson  <rth@redhat.com>
1480
1481         * src/gen-num-limits.cc: Instantiate for wchar_t.
1482         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1483
1484 2001-03-20  Jason Merrill  <jason@redhat.com>
1485
1486         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1487         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1488         * libsupc++/cxxabi.h: Declare it.
1489
1490 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
1491
1492         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1493         signal_func with an unspecified argument list.
1494
1495 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
1496
1497         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1498
1499 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1500
1501         * include/bits/basic_string.tcc (operator+): Fix thinko.
1502
1503 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
1504
1505         libstdc++/2020
1506         * include/bits/std_streambuf.h: Remove cached locale facets.
1507         (basic_streambuf::_M_buf_fctype): Remove.
1508         (basic_streambuf::~basic_streambuf): Remove here.
1509         (basic_streambuf::basic_streambuf): Same.
1510         (basic_streambuf::imbue): Same.
1511         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1512         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1513         (basic_filebuf::~basic_filebuf()): Remove here.
1514         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1515         (basic_filebuf::imbue): Same.
1516         * include/bits/localefwd.h (_Count_ones): Remove.
1517         (locale::_S_num_categories): Just use 6, since this doesn't
1518         actually change, ever.
1519         * include/bits/locale_facets.tcc (has_facet): Simplify.
1520         (use_facet): Same.
1521         * testsuite/27_io/filebuf.cc (test06): Add tests.
1522
1523 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
1524
1525         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1526         match HP-UX ctype.h header file.
1527
1528 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
1529
1530         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1531         duplicate definitions of __dj_ctype_*
1532
1533 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
1534
1535         * libsupc++/new: Remove pragma interface.
1536         * libsupc++/typeinfo: Same.
1537         * libsupc++/exception: Same.
1538         * libsupc++/new_handler.cc: Remove pragma implementation.
1539         (bad_alloc::~bad_alloc()): Add.
1540         * libsupc++/exception_support.cc: Same.
1541         (exception::~exception): Add.
1542         (bad_exception::~bad_exception): Add.
1543         * libsupc++/tinfo.cc: Same.
1544         (bad_cast::~bad_cast): Add.
1545         (bad_typeid::~bad_typeid): Add.
1546
1547 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
1548
1549         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
1550
1551 2001-03-12  Felix Lee  <flee@redhat.com>
1552
1553         * mkcheck.in: workaround for bash 2.01 IFS bug.
1554
1555 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1556
1557         Fixups for -fno-for-scope
1558         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1559         * src/valarray-inst.cc (__gslice_to_index): Same.
1560
1561 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
1562
1563         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1564         prior to trapping signal (UnixWare 7 workaround).
1565
1566 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
1567
1568         * include/backward/hashtable.h: Same.
1569         * include/backward/rope.h: Fix include.
1570
1571 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1572
1573         * include/backward/vector.h: Include std_vector.h.
1574
1575         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1576         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1577         Fix typo.
1578
1579 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1580
1581         * include/ext/stl_hashtable.h: Change type of __n to size_t
1582         * include/backward/bvector.h: Include <ext/stl_bvector.h>
1583
1584 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1585
1586         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1587         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1588         Use streamsize, not int_type.
1589
1590 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1591
1592         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1593         moment.
1594
1595 2001-03-08  Andreas Schwab  <schwab@suse.de>
1596
1597         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1598         command.
1599         * aclocal.m4, configure: Regenerated.
1600
1601 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
1602
1603         * include/bits/std_iosfwd.h: Remove string forward decls here.
1604         * include/bits/stringfwd.h: Add forward decls for char_traits
1605         specializations.
1606         * config/c_io_libio.h (wstreamoff): Delete.
1607         * config/c_io_stdio.h (wstreamoff): Same.
1608         * include/bits/char_traits.h: Use streamoff not wstreamoff for
1609         char_traits<wchar_t>::off_type.
1610         Remove duplicate typedefs.
1611         * include/bits/fpos.h: Define streampos/wstreampos here.
1612         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1613         values to off_type.
1614         (test05): Same.
1615         Changeup output files.
1616         * testsuite/27_io/istream_unformatted.cc: Change output files.
1617         * testsuite/27_io/istream_seeks-1.txt: Add.
1618         * testsuite/27_io/istream_seeks-2.tst: Add.
1619         * testsuite/27_io/istream_seeks-1.tst: Add.
1620         * testsuite/27_io/istream_unformatted-2.tst: Delete.
1621         * testsuite/27_io/istream_unformatted-3.tst: Delete.
1622         * testsuite/27_io/istream_unformatted-3.txt: Delete.
1623
1624 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
1625
1626         Add Irix 5.2, 6.3 support.
1627         * config/os/irix/bits: Renamed to...
1628         * config/os/irix/irix6.5/bits: this.
1629         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1630         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1631         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1632         * config/os/irix/irix5.2/bits/ctype_noninline.h
1633         (ctype<char>::ctype): Initialize _M_table with __ctype.
1634         * configure.target: Adjust.
1635
1636 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
1637
1638         libstdc++/2181
1639         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1640         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1641         sentry.
1642         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1643         (*__pf)(__ios_type&)): Same.
1644         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1645         (*__pf)(ios_base&))): Same.
1646         * testsuite/27_io/istream_extractor_other.cc: Add tests.
1647         * testsuite/27_io/istream_manip.cc (test01): Fix.
1648
1649 2001-03-06  Nathan Myers  <ncm@cantrip.org>
1650             Benjamin Kosnik  <bkoz@redhat.com>
1651
1652         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1653         * testsuite/17_intro/header_cerrno.cc (test01): New file.
1654         * testsuite/17_intro/header_cassert.cc (test01): New file.
1655         * testsuite/17_intro/header_cstddef.cc (test01): New file.
1656         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1657         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1658
1659 2001-03-05  scott snyder  <snyder@fnal.gov>
1660
1661         libstdc++/2190
1662         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1663         from here...
1664         * include/c_std/bits/std_cstdlib.h: ... to here.
1665         * testsuite/17_intro/header_cstdlib.cc: Add test.
1666
1667 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
1668
1669         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1670
1671 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
1672
1673         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1674         definition. Replace enum with static const variables.
1675
1676         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1677         throw specification, fix typos, use <static_cast>.
1678         (ctype<char>::scan_is): remove throw specification.
1679         (ctype<char>::scan_not): likewise.
1680
1681         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1682         (ctype<char>::do_toupper(char)): use <static_cast>.
1683         (ctype<char>::do_toupper(char *, const char *)): likewise.
1684         (ctype<char>::do_tolower(char)): likewise.
1685         (ctype<char>::do_tolower(char *, const char *)): likewise.
1686
1687 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
1688
1689         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1690         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
1691         macros and "never happens" code.  Adjust to C++STYLE guidelines.
1692         * include/backward/algobase.h:  Likewise.
1693         * include/backward/alloc.h:  Likewise.
1694         * include/backward/bvector.h:  Likewise.
1695         * include/backward/deque.h:  Likewise.
1696         * include/backward/function.h:  Likewise.
1697         * include/backward/hash_map.h:  Likewise.
1698         * include/backward/hash_set.h:  Likewise.
1699         * include/backward/hashtable.h:  Likewise.
1700         * include/backward/heap.h:  Likewise.
1701         * include/backward/iterator.h:  Likewise.
1702         * include/backward/list.h:  Likewise.
1703         * include/backward/map.h:  Likewise.
1704         * include/backward/multimap.h:  Likewise.
1705         * include/backward/multiset.h:  Likewise.
1706         * include/backward/pair.h:  Likewise.
1707         * include/backward/rope.h:  Likewise.
1708         * include/backward/set.h:  Likewise.
1709         * include/backward/slist.h:  Likewise.
1710         * include/backward/stack.h:  Likewise.
1711         * include/backward/strstream:  Likewise.
1712         * include/backward/tempbuf.h:  Likewise.
1713         * include/backward/tree.h:  Likewise.
1714         * include/backward/vector.h:  Likewise.
1715         * include/bits/basic_ios.h:  Likewise.
1716         * include/bits/basic_ios.tcc:  Likewise.
1717         * include/bits/basic_string.h:  Likewise.
1718         * include/bits/c++config:  Likewise.
1719         * include/bits/concept_checks.h:  Likewise.
1720         * include/bits/fpos.h:  Likewise.
1721         * include/bits/fstream.tcc:  Likewise.
1722         * include/bits/functexcept.h:  Likewise.
1723         * include/bits/ios_base.h:  Likewise.
1724         * include/bits/istream.tcc:  Likewise.
1725         * include/bits/mask_array.h:  Likewise.
1726         * include/bits/ostream.tcc:  Likewise.
1727         * include/bits/pthread_allocimpl.h:  Likewise.
1728         * include/bits/sbuf_iter.h:  Likewise.
1729         * include/bits/slice.h:  Likewise.
1730         * include/bits/slice_array.h:  Likewise.
1731         * include/bits/sstream.tcc:  Likewise.
1732         * include/bits/std_bitset.h:  Likewise.
1733         * include/bits/std_fstream.h:  Likewise.
1734         * include/bits/std_iomanip.h:  Likewise.
1735         * include/bits/std_ios.h:  Likewise.
1736         * include/bits/std_istream.h:  Likewise.
1737         * include/bits/std_iterator.h:  Likewise.
1738         * include/bits/std_memory.h:  Likewise.
1739         * include/bits/std_ostream.h:  Likewise.
1740         * include/bits/std_sstream.h:  Likewise.
1741         * include/bits/std_streambuf.h:  Likewise.
1742         * include/bits/std_string.h:  Likewise.
1743         * include/bits/std_valarray.h:  Likewise.
1744         * include/bits/stl_algo.h:  Likewise.
1745         * include/bits/stl_algobase.h:  Likewise.
1746         * include/bits/stl_alloc.h:  Likewise.
1747         * include/bits/stl_construct.h:  Likewise.
1748         * include/bits/stl_deque.h:  Likewise.
1749         * include/bits/stl_function.h:  Likewise.
1750         * include/bits/stl_heap.h:  Likewise.
1751         * include/bits/stl_iterator.h:  Likewise.
1752         * include/bits/stl_iterator_base.h:  Likewise.
1753         * include/bits/stl_list.h:  Likewise.
1754         * include/bits/stl_map.h:  Likewise.
1755         * include/bits/stl_multimap.h:  Likewise.
1756         * include/bits/stl_multiset.h:  Likewise.
1757         * include/bits/stl_numeric.h:  Likewise.
1758         * include/bits/stl_pair.h:  Likewise.
1759         * include/bits/stl_pthread_alloc.h:  Likewise.
1760         * include/bits/stl_queue.h:  Likewise.
1761         * include/bits/stl_raw_storage_iter.h:  Likewise.
1762         * include/bits/stl_relops.h:  Likewise.
1763         * include/bits/stl_set.h:  Likewise.
1764         * include/bits/stl_stack.h:  Likewise.
1765         * include/bits/stl_tempbuf.h:  Likewise.
1766         * include/bits/stl_threads.h:  Likewise.
1767         * include/bits/stl_tree.h:  Likewise.
1768         * include/bits/stl_uninitialized.h:  Likewise.
1769         * include/bits/stl_vector.h:  Likewise.
1770         * include/bits/streambuf.tcc:  Likewise.
1771         * include/bits/type_traits.h:  Likewise.
1772         * include/bits/valarray_meta.h:  Likewise.
1773         * include/ext/bvector:  Likewise.
1774         * include/ext/hash_map:  Likewise.
1775         * include/ext/hash_set:  Likewise.
1776         * include/ext/ropeimpl.h:  Likewise.
1777         * include/ext/slist:  Likewise.
1778         * include/ext/stl_bvector.h:  Likewise.
1779         * include/ext/stl_hash_fun.h:  Likewise.
1780         * include/ext/stl_hashtable.h:  Likewise.
1781         * include/ext/stl_rope.h:  Likewise.
1782         * src/complex_io.cc:  Likewise.
1783         * src/ios.cc:  Likewise.
1784         * src/locale-inst.cc:  Likewise.
1785         * src/locale.cc:  Likewise.
1786         * src/localename.cc:  Likewise.
1787         * src/misc-inst.cc:  Likewise.
1788         * src/stdexcept.cc:  Likewise.
1789         * src/stl-inst.cc:  Likewise.
1790         * src/strstream.cc:  Likewise.
1791         * src/valarray-inst.cc:  Likewise.
1792
1793 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
1794
1795         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1796
1797 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1798
1799         * include/bits/istream.tcc: change type of __extracted to __size_type
1800
1801 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
1802
1803         * src/wstring-inst.cc: New file.
1804         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1805         (libinst_wstring_la_SOURCES): Remove.
1806         (libstdc___la_LIBADD): Remove libinst_wstring_la.
1807         (sources): Add wstring-inst.cc
1808         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1809         libinst_wstring_la.
1810
1811 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1812
1813         * src/locale.cc: initialise __ret with zero
1814         * src/strstream.cc:cast gptr to int_type
1815
1816 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
1817
1818         * docs/html/faq/index.html:  Update broken links.
1819         * docs/html/faq/index.txt:  Regenerated.
1820
1821 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
1822
1823         libstdc++/2064
1824         * configure.target: Change irix* to irix6.5* in target_os table.
1825
1826 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
1827
1828         libstdc++/2103
1829         * include/bits/c++config (__GLIBCPP__): Bump number in
1830         anticipation of 2.92.
1831
1832         * include/bits/codecvt.h: Fix typo.
1833         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1834         stdio model.
1835         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1836         instantiations for stdio model.
1837
1838 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
1839
1840         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
1841           and GLIBCPP_CXXFLAGS as unused variables.
1842         * configure.host:  Likewise.
1843         * configure.target:  Likewise.
1844         * aclocal.m4:  Regenerated.
1845         * configure:  Regenerated.
1846         * Makefile.in:  Regenerated.
1847         * libio/Makefile.in:  Regenerated.
1848         * libmath/Makefile.in:  Regenerated.
1849         * libsupc++/Makefile.in:  Regenerated.
1850         * src/Makefile.in:  Regenerated.
1851
1852 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1853
1854         libstdc++/1886
1855         * include/bits/basic_file.h: Include basic_file_model.h.
1856         * config/c_io_libio.cc: Move to...
1857         * config/basic_file_libio.cc: Here.
1858         * config/basic_file_libio.h: New file.
1859         * config/c_io_stdio.cc: Move to...
1860         * config/basic_file_stdio.cc: Here.
1861         * config/basic_file_stdio.h: New file.
1862         * config/c_io_libio.h: Tweak.
1863         * config/c_io_stdio.h: Tweak.
1864         * src/Makefile.am (build_headers): Add basic_file_model.h.
1865         (sources): Add basic_file.cc, remove c++io.cc.
1866         * src/Makefile.in: Regenerate.
1867         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1868         basic_file_model.h and basic_file.cc.
1869         * aclocal.m4: Regenerate.
1870         * configure: Regenerate.
1871         * testsuite/27_io/filebuf.cc (test05): Add regression.
1872
1873 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1874
1875         Correct license.
1876         * config/cpu/alpha/bits/atomicity.h: Change.
1877         * config/cpu/arm/bits/atomicit3y.h
1878         * config/cpu/generic/bits/atomicity.h
1879         * config/cpu/i386/bits/atomicity.h
1880         * config/cpu/i486/bits/atomicity.h
1881         * config/cpu/ia64/bits/atomicity.h
1882         * config/cpu/powerpc/bits/atomicity.h
1883         * config/cpu/sparc/sparc32/bits/atomicity.h
1884         * config/cpu/sparc/sparc64/bits/atomicity.h
1885         * config/os/aix/bits/atomicity.h
1886         * config/os/irix/bits/atomicity.h
1887
1888 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1889
1890         * include/bits/std_stdexcept.h (runtime_error): Make string
1891         member non-const.
1892         (logic_error): Same.
1893         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1894         (test03): Fix.
1895
1896 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
1897
1898         libstdc++/1972
1899         libstdc++/2089
1900         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1901         string object, not reference.
1902         (runtime_error::runtime_error): Same.
1903         * testsuite/19_diagnostics/stdexceptions.cc: New file.
1904
1905 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
1906
1907         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
1908           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
1909           diagnostics.  Remove WFMT_FLAGS.
1910         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
1911         * libsupc++/Makefile.am:  Likewise.
1912         * src/Makefile.am:  Likewise.
1913         * aclocal.m4:  Regenerated.
1914         * configure:  Regenerated.
1915         * Makefile.in:  Regenerated.
1916         * libio/Makefile.in:  Regenerated.
1917         * libmath/Makefile.in:  Regenerated.
1918         * libsupc++/Makefile.in:  Regenerated.
1919         * src/Makefile.in:  Regenerated.
1920
1921 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
1922
1923         Fixes libstdc++/2079
1924         * include/backward/iomanip.h:  Expose <ios> manipulators to global
1925           namespace.
1926         * include/backward/iostream.h:  Also expose std::ws.
1927
1928 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
1929
1930         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1931
1932 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
1933
1934         * include/bits/codecvt.h: Use __builtin_alloca.
1935         * include/bits/ostream.tcc: Same.
1936         * include/bits/fstream.tcc: Same.
1937
1938 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
1939
1940         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1941
1942 2001-02-23  David Edelsohn <dje@watson.ibm.com>
1943
1944         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1945
1946 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
1947
1948         c++/2052
1949         * include/backward/iostream.h:  Expose std::flush in old headers.
1950
1951 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1952
1953         * mknumeric_limits: Remove special-casing on target.  Use gcc
1954         instead of g++ to build gen-num-limits.cc
1955
1956 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
1957
1958         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1959
1960         * include/bits/codecvt.h: Use alloca instead of __extension__ for
1961         the time being.
1962         * include/bits/ostream.tcc: Same.
1963         * include/bits/std_ostream.h: Same.
1964         * include/bits/fstream.tcc: Same.
1965         * include/bits/locale_facets.tcc: Add typename.
1966         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1967
1968 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
1969
1970         * tests_flags.in:  Remove -n flag from call to echo.
1971
1972 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
1973
1974         * config/c_locale_gnu.h: Add clocale include.
1975
1976 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
1977
1978         * include/bits/stl_config.h:  Remove file.
1979         * src/Makefile.am (base_headers):  Remove from list.
1980         * configure:  Regenerate.
1981         * Makefile.in:  Ditto.
1982         * libio/Makefile.in:  Ditto.
1983         * libmath/Makefile.in:  Ditto.
1984         * libsupc++/Makefile.in:  Ditto.
1985         * src/Makefile.in:  Ditto.
1986
1987         * include/bits/c++config:  Move relevant macros to here.
1988         * include/backward/alloc.h:  Include c++config.h instead.
1989         * include/backward/function.h:  Ditto.
1990         * include/backward/heap.h:  Ditto.
1991         * include/backward/pair.h:  Ditto.
1992         * include/bits/pthread_allocimpl.h:  Ditto.
1993         * include/bits/std_functional.h:  Ditto.
1994         * include/bits/std_iterator.h:  Ditto.
1995         * include/bits/std_numeric.h:  Ditto.
1996         * include/bits/std_utility.h:  Ditto.
1997         * include/bits/stl_algobase.h:  Ditto.
1998         * include/bits/type_traits.h:  Ditto.
1999         * src/stl-inst.cc:  Ditto.
2000
2001 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2002
2003         * include/bits/basic_file.h: Add #pragma system_header
2004         * include/bits/basic_ios.h: Ditto.
2005         * include/bits/basic_string.h: Ditto.
2006         * include/bits/char_traits.h: Ditto.
2007         * include/bits/codecvt.h: Ditto.
2008         * include/bits/cpp_type_traits.h:  Ditto.
2009         * include/bits/fpos.h: Ditto.
2010         * include/bits/gslice.h: Ditto.
2011         * include/bits/gslice_array.h: Ditto.
2012         * include/bits/indirect_array.h: Ditto.
2013         * include/bits/ios_base.h: Ditto.
2014         * include/bits/limits_generic.h: Ditto.
2015         * include/bits/locale_facets.h: Ditto.
2016         * include/bits/localefwd.h: Ditto.
2017         * include/bits/mask_array.h: Ditto.
2018         * include/bits/sbuf_iter.h: Ditto.
2019         * include/bits/sequence_concepts.h: Ditto.
2020         * include/bits/slice.h: Ditto.
2021         * include/bits/slice_array.h: Ditto.
2022         * include/bits/std_algorithm.h: Likewise.
2023         * include/bits/std_bitset.h: Likewise.
2024         * include/bits/std_complex.h: Likewise.
2025         * include/bits/std_deque.h: Likewise.
2026         * include/bits/std_fstream.h: Likewise.
2027         * include/bits/std_functional.h: Likewise.
2028         * include/bits/std_iomanip.h: Likewise.
2029         * include/bits/std_ios.h: Likewise.
2030         * include/bits/std_iosfwd.h: Likewise.
2031         * include/bits/std_iostream.h: Likewise.
2032         * include/bits/std_istream.h: Likewise.
2033         * include/bits/std_iterator.h: Likewise.
2034         * include/bits/std_list.h: Likewise.
2035         * include/bits/std_locale.h: Likewise.
2036         * include/bits/std_map.h: Likewise.
2037         * include/bits/std_memory.h: Likewise.
2038         * include/bits/std_numeric.h: Likewise.
2039         * include/bits/std_ostream.h: Likewise.
2040         * include/bits/std_queue.h: Likewise.
2041         * include/bits/std_set.h: Likewise.
2042         * include/bits/std_sstream.h: Likewise.
2043         * include/bits/std_stack.h: Likewise.
2044         * include/bits/std_stdexcept.h: Likewise.
2045         * include/bits/std_streambuf.h: Likewise.
2046         * include/bits/std_string.h: Likewise.
2047         * include/bits/std_utility.h: Likewise.
2048         * include/bits/std_valarray.h: Likewise.
2049         * include/bits/std_vector.h: Likewise.
2050         * include/bits/stringfwd.h: Likewise.
2051         * include/bits/type_traits.h: Likewise.
2052         * include/bits/valarray_array.h: Likewise.
2053         * include/bits/valarray_meta.h: Likewise.
2054
2055 2001-02-19  Andreas Jaeger  <aj@suse.de>
2056
2057         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
2058         Fix typo.
2059
2060 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
2061
2062         libstdc++/1734
2063         * include/bits/std_ostream.h: Replaced usage of
2064         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
2065         * include/bits/char_traits.h: Removed non-standard
2066         methods that cannot be used elsewhere.
2067
2068         libstdc++/1885
2069         * include/bits/basic_ios.h: Uncommented #include of
2070         bits/basic_ios.tcc
2071
2072         libstdc++/1897
2073         * include/bits/codecvt.h: See next...
2074         * include/bits/fstream.tcc: See next...
2075         * include/bits/ostream.tcc: Add __extension__
2076         to variable-length arrays.
2077
2078         libstdc++/1967
2079         * include/bits/localefwd.h: Changed int counter type to size_t.
2080
2081         libstdc++/1968
2082         * include/bits/std_fstream.h: Added typedef for __ctype_type.
2083
2084 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
2085
2086         * testsuite/21_strings/char_traits.cc: Move to ...
2087         * testsuite/21_strings/char_traits_requirements.cc: ..here.
2088         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
2089         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
2090
2091 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
2092
2093         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
2094         definitions.
2095
2096 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2097
2098         * include/bits/c++config: Revert.
2099
2100 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
2101
2102         * include/bits/istream.tcc: Use ios_base::iostate in place of
2103         iostate throughout.  Insert `typename' keyword where necessary.
2104         * include/bits/ostream.tcc: Insert `typename' keyword where
2105         necessary.
2106
2107 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
2108
2109         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
2110         Define so library is compliant.
2111
2112 2001-02-15  Anthony Green  <green@redhat.com>
2113
2114         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
2115         compilation.
2116         * aclocal.m4: Regenerate.
2117         * configure: Regenerate.
2118
2119 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
2120
2121         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
2122         Include ieeefp.h for fpclass on UnixWare{2,7}.
2123         * aclocal.m4: Regenerate.
2124         * configure: Regenerate.
2125         * mkcheck.in (size_command): Do without GNU-grep when using
2126         size from binutils.
2127
2128 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
2129
2130         Remove old ABI support from libsupc++.
2131         * libsupc++/cxxabi.h: Remove conditionally compiled code.
2132         * libsupc++/exception_support.cc: Likewise.
2133         * libsupc++/pure.cc: Likewise.
2134         * libsupc++/tinfo.cc: Likewise.
2135         * libsupc++/tinfo.h: Likewise.
2136         * libsupc++/tinfo2.cc: Likewise.
2137         * libsupc++/typeinfo: Likewise.
2138         * libsupc++/vec.cc: Likewise.
2139
2140 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
2141
2142         Add support for -fno-exceptions.
2143         * include/bits/exception_support.h: Remove.
2144         * include/bits/basic_string.h: Remove exception_support.
2145         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
2146         (string::at): Same.
2147         (string::substr): Same.
2148         * include/bits/basic_string.tcc (string::reserve): Replace
2149         __LENGTHERROR with __throw_length_error.
2150         (string::_S_create): Same.
2151         (string::resize): Same.
2152         (string::_M_replace): Same.
2153         (string::replace): Same.
2154         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
2155         (string::compare): Same.
2156         * include/bits/stl_vector.h: Remove exception_support.
2157         * src/Makefile.am (base_headers): Remove here.
2158         * src/Makefile.in: Regenerate.
2159
2160         * include/bits/stl_range_errors.h: Remove.
2161         * include/bits/stl_deque.h: Use __throw_range_error.
2162         * include/bits/std_deque.h: Include functexcept.h.
2163         * include/bits/std_vector.h: Same.
2164         * src/Makefile.am (base_headers): Remove here.
2165         * src/Makefile.in: Regenerate.
2166         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
2167         * include/ext/bvector: Remove stl_range_errors.h
2168
2169         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
2170
2171         * include/bits/functexcept.h: New file.
2172         * src/functexcept.cc: New file. Definitions for function-based
2173         exception routines.
2174         * src/Makefile.am (sources): Add functexcept.cc.
2175         * src/Makefile.in: Regenerate.
2176
2177         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
2178         __EXCEPTIONS.
2179
2180         * include/bits/localefwd.h: Include functexcept.h.
2181         * include/bits/std_iosfwd.h: Same.
2182
2183         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
2184         throw basic_ios::failure.
2185         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
2186         Use __throw_exception_again.
2187         (filebuf::_M_filebuf_init): Same.
2188         * include/bits/streambuf.tcc (__copy_streambufs): Same.
2189         * include/bits/ostream.tcc (ostream::operator<<): Same.
2190         * include/bits/istream.tcc (istream::operator>>): Same.
2191         * include/bits/basic_string.tcc (string::_M_mutate): Same.
2192         (string::_S_construct): Same.
2193         (string::_M_clone): Same.
2194         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
2195         __throw_bad_cast.
2196         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
2197         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
2198         __throw_exception_again.
2199         (locale::_Imp::_Imp(string, size_t): Same.
2200         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
2201         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
2202         (locale::locale(const char*)): Use __throw_runtime_error.
2203         (locale::classic): Use __throw_exception_again.
2204         (locale::_S_normalize_category): Use __throw_runtime_error.
2205
2206         * src/stdexcept.cc: Remove cruft.
2207
2208         * libsupc++/exception_defines.h: New file.
2209         * libsupc++/new_opnt.cc: Include exception_defines.h.
2210         * libsupc++/vec.cc: Same.
2211         (__cxa_vec_new2): Use __throw_exception_again.
2212         (__cxa_vec_new3): Same.
2213         (__cxa_vec_ctor): Same.
2214         (__cxa_vec_delete3): Same.
2215         (__cxa_vec_cctor): Same.
2216         (__cxa_vec_delete2): Same.
2217         (__cxa_vec_dtor): Same.
2218         * libsupc++/exception_support.cc: Include exception_defines.h. Only
2219         compile exception-handling bits if __EXCEPTIONS is defined.
2220         Remove old ABI support.
2221         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
2222         std::__throw_bad_alloc() instead of throw bad_alloc.
2223         * libsupc++/Makefile.am: Add exception_defines.h.
2224         * libsupc++/Makefile.in: Reformat.
2225         * libsupc++/*: Format.
2226
2227 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
2228
2229         * docs/html/configopts.html:  Minor updates and typo fixes.
2230         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
2231         * docs/html/faq/index.txt:  Regenerated.
2232
2233 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
2234
2235         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
2236         dejagnu/dg.exp.  Adapt to log options used to run testcases.
2237
2238 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2239
2240         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
2241         dejagnu/dg.exp.
2242
2243 2001-02-13  Dirk Mueller <dmuell@gmx.net>
2244             Phil Edwards  <pme@sources.redhat.com>
2245
2246         * include/backward/function.h:  Do not use rel_ops for older
2247           headers either.
2248         * include/backward/pair.h:  Likewise.
2249
2250 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
2251
2252         * src/locale.cc: Remove bogus locale::id definitions.
2253
2254 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2255
2256         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
2257         not _DEFINE_VALARRAY_OPERATOR which is not existent.
2258
2259         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
2260         thinko in member initialisation.
2261
2262 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
2263
2264         * include/bits/std_valarray.h(valarray<>::shift): Avoid
2265         comparaison between signed and unsigned integer types.
2266         (valarray<>::cshift): Reformat.
2267
2268 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
2269
2270         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
2271         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
2272         * configure.in: Test for sigsetjmp.
2273         * configure, config.h.in: Rebuilt.
2274
2275 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
2276
2277         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
2278         lengths and strides.
2279         (__gslice_to_index): Document.
2280
2281 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
2282
2283         * include/bits/char_traits.h char_traits<char>::int_type: Change
2284         to `int' to match 21.1.3.1/2.
2285
2286         * testsuite/21_strings/char_traits-int_type.C: New test.
2287
2288 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
2289
2290         * testsuite/Makefile.am: New file.
2291
2292 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
2293
2294         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
2295
2296 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
2297
2298         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2299
2300 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
2301
2302         * configure.target (aix4*): Remove extra set of brackets.
2303
2304 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
2305
2306         Clean up stdexcept.
2307         * include/bits/stringfwd.h: New file.
2308         * include/bits/stl_string_fwd.h: Remove.
2309         * include/bits/localefwd.h: Remove declaration for allocator.
2310         * include/bits/std_iosfwd: Same.
2311         * include/bits/std_string.h: Include it.
2312         * include/bits/std_ios.h: Remove include.
2313         * include/bits/basic_string.h: Tweak.
2314         * libsupc++/new: Format.
2315         * src/Makefile.am (base_headers): Add stringfwd.h, remove
2316         stl_string_fwd.h
2317         * src/Makefile.in: Regenerate.
2318         * include/bits/std_stdexcept.h: Rewrite.
2319         * src/stdexcept.cc: Same.
2320
2321 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
2322
2323         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
2324         install locations too.
2325         * aclocal.m4: Regenerate.
2326         * configure.in: Remove USE_LIBDIR.
2327         * configure: Regenerate.
2328         * src/Makefile.am (toolexecdir): Simplify, use
2329         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
2330         * src/Makefile.in: Regenerate.
2331         * libsupc++/Makefile.am: Same.
2332         * libsupc++/Makefile.in: Regenerate.
2333
2334         * src/Makefile.am: Just remove special rules for locale-inst.cc and
2335         misc-inst.cc as no longer necessary.
2336
2337         Follow C++STYLE for naming non-static functions.
2338         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
2339         __pad_char.
2340         * include/bits/streambuf.tcc: Same.
2341         * include/bits/ostream.tcc: Same.
2342         * include/bits/istream.tcc: Same.
2343         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
2344         (_S_output_float): To __output_float.
2345         * include/bits/std_streambuf.h (_S_copy_streambufs): To
2346         __copy_streambufs.
2347         * include/bits/locale_facets.tcc (_S_build_float_format): To
2348         __build_float_format.
2349         (_S_format): To __output_integer.
2350         (_S_fill): To __pad.
2351         * src/locale.cc: Same.
2352         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
2353         names.
2354         * include/bits/locale_facets.tcc (_S_group_digits): To
2355         __group_digits.
2356         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
2357         for collate, numpunct.
2358
2359 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
2360
2361         * docs/html/configopts.html:  Fix HTML markup.
2362         * docs/html/install.html:  Bring up to date.
2363         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
2364         * docs/html/21_strings/howto.html:  More notes.
2365         * docs/html/22_locale/howto.html:  Fix HTML markup.
2366         * docs/html/27_io/howto.html:  More notes.
2367         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
2368         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
2369
2370 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
2371
2372         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
2373         to match header files.
2374         (_S_output_float): Likewise.
2375         (_S_copy_streambufs): Likewise.
2376
2377 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
2378             Phil Edwards  <pme@sources.redhat.com>
2379
2380         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
2381           use reinterpret_cast, not static_cast.
2382
2383 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
2384
2385         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
2386         * aclocal.m4: Regenerate.
2387         * configure: Regenerate.
2388
2389 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2390
2391         * include/bits/locale_facets.h (class moneypunct): Fix typos.
2392         * libsupc++/pure.cc: Revert.
2393
2394 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2395
2396         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2397         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
2398         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
2399         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
2400         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
2401         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
2402         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
2403         * aclocal.m4: Regenerate.
2404         * configure: Regenerate.
2405
2406 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
2407
2408         * include/bits/locale_facets.tcc: Remove `static' keyword on
2409         function definitions.
2410         * include/bits/std_streambuf.h: Likewise.
2411         * src/Makefile.am: Remove use of -fimplicit-templates.
2412         * src/Makefile.in: Regenerated.
2413         * src/locale-inst.cc: Explicitly instantiate more functions.
2414         * src/misc-inst.cc: Likewise.
2415         * src/string-inst.cc: Likewise.
2416
2417 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2418
2419         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
2420         macro. Consolidate all the bits to do with where includes might be
2421         installed.
2422         * aclocal.m4: Regenerate.
2423         * configure.in: Use it.
2424         * configure: Regenerate.
2425         * src/Makefile.am (targetincludep): Use simplified rules.
2426         (targetincludep): Rename gxx_target_include_dir.
2427         (myincludep): Rename gxx_include_dir.
2428         * src/Makefile.in: Regenerate.
2429         * libsupc++/Makefile.am: Use simplified rules.
2430         * libsupc++/Makefile.in: Regenerate.
2431
2432 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
2433
2434         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
2435         * include/c_std/bits/std_cctype.h: Same.
2436         * include/c_std/bits/std_cassert.h: Same.
2437         * include/c_std/bits/std_cstdarg.h: Same.
2438         * include/c_std/bits/std_cstddef.h: Same.
2439
2440         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
2441         namespace std.
2442         * include/c_std/bits/std_ctime.h: Same.
2443         * include/c_std/bits/std_clocale.h: Same.
2444         * include/c_std/bits/std_cmath.h: Same.
2445         * include/c_std/bits/std_csetjmp.h: Same.
2446         * include/c_std/bits/std_csignal.h: Same.
2447         * include/c_std/bits/std_cstring.h: Same.
2448         * include/c_std/bits/std_cstdlib.h: Same.
2449         * include/c_std/bits/std_cwchar.h: Same.
2450
2451 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
2452
2453         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
2454
2455 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
2456
2457         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
2458         (string::_S_construct): Likewise.
2459
2460 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
2461
2462         * testsuite/config/default.exp: New file.
2463         * testsuite/config: New directory.
2464
2465 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
2466
2467         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2468         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2469         whenever !__GXX_MERGED_TYPEINFO_NAMES.
2470         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2471
2472 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
2473             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2474
2475         * Makefile.am (mkinstalldirs): Set.
2476         * src/Makefile.am (mkinstalldirs): Set.
2477         * libmath/Makefile.am (mkinstalldirs): Set.
2478         * libsup++/Makefile.am (mkinstalldirs): Set.
2479         * libio/Makefile.am (mkinstalldirs): Set.
2480         * */Makefile.in: Regenerate.
2481
2482 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
2483
2484         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2485         * include/bits/localefwd.h: More initialization cleanups.
2486
2487 2001-02-03  Jeffrey A Law  <law@cygnus.com>
2488
2489         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2490         correctly targets with 16bit ints.
2491         (_S_ios_openmode_end): Similarly.
2492         (_S_ios_iostate_end): Similarly.
2493         (_S_ios_Seekdir_end): Similarly.
2494
2495 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
2496
2497         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
2498
2499 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
2500
2501         * configure.in (toplevel_srcdir, auxdir): Set.
2502         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2503         * aclocal.m4, configure, Makefile.in: Rebuilt.
2504         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2505         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2506         * libsupc++-v3/Makefile.in: Rebuilt.
2507         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2508         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2509
2510 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
2511
2512         * config/c_locale_generic.cc: Remove langinfo include.
2513
2514 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
2515
2516         Preliminary named locales.
2517         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2518         * aclocal.m4: Regenerate.
2519         * configure.in: Use it.
2520         * configure: Regerate.
2521         * src/Makefile.am (sources): Add c++locale.cc.
2522         (build_headers): Add c++locale.h.
2523         * src/Makefile.in: Regenerate.
2524         * config/c_locale_gnu.h: New file.
2525         * config/c_locale_gnu.cc: New file. Non-inline member functions
2526         for named locales, gnu-specific.
2527         * config/c_locale_generic.h: New file.
2528         * config/c_locale_generic.cc: New file. Non-inline member
2529         functions for named locales, generic version.
2530         * docs/html/configopts.html: Add documentation on new options.
2531
2532         * include/bits/locale_facets.h (class _Messages): Remove.
2533         (class _Moneypunct): Remove.
2534         * src/locale-inst.cc: Remove.
2535
2536         * include/bits/locale_facets.h (class _Collate): Remove.
2537         * src/locale-inst.cc (std): Remove.
2538         * src/locale.cc: And here.
2539
2540         * include/bits/localefwd.h (locale::_M_coalesce): New
2541         function. Correctly put together multi-name locales.
2542         (_Impl(const _Impl&, category, size_t)): Remove.
2543
2544         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2545         member functions.
2546         (_M_normalize_category_names): Remove.
2547         (_M_replace_categories): Fix.
2548
2549         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2550         (locale::_Impl::_M_construct_ctype): Remove.
2551         (locale::_Impl::_M_construct_monetary): Remove.
2552         (locale::_Impl::_M_construct_numeric): Remove.
2553         (locale::_Impl::_M_construct_time): Remove.
2554         (locale::_Impl::_M_construct_messages): Remove.
2555
2556         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2557         (_Use_facet_failure_handle): Remove.
2558         * src/locale.cc: Remove definitions.
2559         * src/locale-inst.cc: And here.
2560
2561         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2562
2563         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2564         create and error-check underlying locale object.
2565         (locale::facet::_S_destroy_c_locale): Add, take care of properly
2566         tearing down underlying locale object.
2567         * include/bits/localefwd.h (locale::facet): Declare.
2568         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2569         correctness, as glibc apparently has incorrect info in it. Test
2570         with it when it works again.....
2571
2572         * include/bits/localefwd.h (locale::_Impl::__vec_string):
2573         Remove. Number of categories is fixed at six, so just simplify and
2574         make this an array of strings.
2575         (locale::_Impl::_M_has_name): Remove.
2576         (locale::_Impl::_M_name): Remove.
2577         (locale::_Impl::_M_category_names): Turns into...
2578         (locale::_Impl::_M_names): ...this.
2579         (locale::_Impl::_M_has_same_name()): New function.
2580         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2581         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2582         signature.
2583         * src/locale.cc (locale::name()): Construct mangled name
2584         accurately reflecting combined locale categories.
2585
2586         * src/locale.cc (locale::classic()): Don't initialize here.
2587         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2588         __refs, bool __has_name, string __str): Do it here.
2589
2590         * include/bits/localefwd.h: _S_categories_num to
2591         _S_num_categories. _S_facets_num to _S_num_facets.
2592         (locale::id::id()): Explicitly set _M_index to zero.
2593         * src/locale.cc: Same.
2594
2595         * src/locale.cc: (locale::locale(const char*)): Construct named
2596         locales uniquely.
2597
2598         * src/locale.cc: Remove numpunct_byname ctors.
2599         * testsuite/22_locale/numpunct_byname.cc: New file.
2600         * testsuite/22_locale/numpunct.cc: New file.
2601
2602         * include/bits/localefwd.h (class locale): Change data members to
2603         protected, from private.
2604         (_Impl::_M_get_c_locale): Add member function.
2605         (locale::facet::_M_get_global_impl()): Add member function.
2606         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2607         a __c_locale pointer.
2608         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2609         named locales.
2610         * testsuite/22_locale/members.cc: New file, test name and combine.
2611
2612         * include/bits/locale_facets.h (class numpunct): Remove class
2613         _Punct and _Numpunct. Rewrite class numpunct to be correct for
2614         named locales.
2615         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2616         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2617         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2618         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2619         * testsuite/22_locale/numpunct_char_members.cc: New file.
2620
2621 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
2622
2623         * testsuite/README: Add more comment.
2624         * testsuite/lib/libstdc++.exp: Tweak comment.
2625
2626 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
2627
2628         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2629
2630 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
2631
2632         * testsuite/21_strings/inserters_extractors.cc: Remove
2633         explicit reference to 'testsuite/'.
2634
2635 2001-01-25  Richard Henderson  <rth@redhat.com>
2636
2637         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2638         bits. Fixes Tru64 build issues.
2639
2640 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2641
2642         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2643         (use ${MAKE-make}, not ${MAKE:-make}).
2644         * aclocal.m4, configure: Regenerate.
2645
2646 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
2647
2648         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2649         checkin.
2650
2651         * src/Makefile.am (sources): Add globals.cc.
2652         * src/Makefile.in: Regenerated.
2653         * src/globals.cc: New file.
2654         * src/ios.cc (cin): Don't define here, just declare extern.
2655         (cout): Likewise.
2656         (cerr): Likewise.
2657         (clog): Likewise.
2658         (wcin): Likewise.
2659         (wcout): Likewise.
2660         (wcerr): Likewise.
2661         (wclog): Likewise.
2662
2663 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
2664
2665         * include/bits/std_iterator.h:  Do not include stl_relops.h.
2666         * include/bits/std_numeric.h:  Ditto.
2667         * include/bits/stl_algobase.h:  Ditto.
2668         * include/bits/stl_relops.h:  Add comment warning about problems.
2669
2670 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
2671
2672         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2673         in testcases.  Prepare for the DejaGnu based framework.
2674         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
2675         directory -- it is now mkcheck working directory.
2676         * tests_flags.in: Remove reference to $(top_srcdir).  Use
2677         ${SRC_DIR} instead.
2678         * Makefile.am (check, check-install): Change mkcheck invocation
2679         logic.
2680         * Makefile.in: Regenerate.
2681
2682 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
2683
2684         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2685         (__always_swap): Likewise.
2686
2687 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
2688
2689         * libsupc++/exception_support.cc (__terminate_func): Remove
2690         declaration.
2691         (__terminate_func_ptr): New typedef.
2692         (__terminate, __terminate_set_func): New extern function
2693         prototypes.
2694         (std::terminate): Use __terminate function.
2695         (std::set_terminate): Use __terminate_set_func function.
2696
2697 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2698
2699         * configure.target: Just use os_include_dir always.
2700         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2701         Link atomicity files and ctype files here.
2702         * configure: Regenerate.
2703         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2704         (GLIBCPP_ENABLE_ATOMICITY): Remove.
2705         * aclocal.m4: Regenerate.
2706
2707 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
2708
2709         * configure.in: Place definition of MULTISUBDIR in
2710         libsupc++/Makefile as is done for src/Makefile.
2711         * configure: Regenerate.
2712
2713 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
2714
2715         * acinclude.m4:  Cosmetic changes only.
2716         * aclocal.m4:  Regenerated.
2717         * configure:  Regenerated.
2718         * configure.target:  Update documented list of changed variables.
2719         * docs/html/install.html:  Fix typo.
2720         * docs/html/20_util/howto.html:  More notes on auto_ptr.
2721         * docs/html/27_io/howto.html:  More notes on streabufs.
2722         * docs/html/faq/index.html:  Add rel_ops problem and mention the
2723           DEC as(1) .subsection difficulty.
2724         * docs/html/faq/index.txt:  Regenerated.
2725
2726 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
2727
2728         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2729         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2730         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2731         its already provided in config.target.
2732         * aclocal.m4: Regenerated.
2733         * configure: Likewise.
2734         * configure.target: Set ctype_include_dir for lots of systems.
2735         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2736         * libsupc++/Makefile.in: Regenerated.
2737
2738 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
2739
2740         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
2741         keyword capability.
2742
2743         * testsuite/README: Add comment.
2744
2745 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
2746
2747         * docs/html/configopts.html:  Update for current status.  Fix HTML.
2748         * docs/html/install.html:  Update for current status.
2749
2750 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2751
2752         * testsuite/libstdc++.tests/tests.exp: New file.
2753         * testsuite/lib/libstdc++.exp: Itou.
2754         * testsuite/README: Itou.
2755
2756 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
2757
2758         * tests_flags.in: Just output the bare minimum to run tests.
2759         Let's the caller do its own arrangement.
2760
2761         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
2762         computations.
2763
2764 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
2765
2766         * testsuite/17_intro: Prepare testcases for new style DejaGnu
2767         framework.
2768
2769 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
2770
2771         * testsuite/libstdc++.tests, testsuite/lib: New directories.
2772
2773 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
2774
2775         * mkcheck.in: Construct file names that match $objdir structure.
2776         * testsuite/27_io/filebuf_members-1.txt: New file.
2777         * testsuite/27_io/ifstream_members-1.txt: New file.
2778         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2779
2780         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2781         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2782
2783 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2784
2785         * testsuite/27_io/istream_sentry.cc (test02): Fix.
2786
2787 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
2788
2789         libstdc++/1605
2790         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2791         * src/ios.cc (ios_base::failure): Make definitions match.
2792         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2793         (class bad_cast): Same.
2794         * libsupc++/exception (class exception): Add throw specs.
2795         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2796         (set_unexpected): Same.
2797         (uncaught_exception): Same.
2798         (what): Same.
2799
2800         * docs/html/17_intro/C++STYLE (classname): Fix.
2801
2802 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
2803
2804         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2805         Use it do explicitly instantiate predicate<T> and value<T> for
2806         all the builtin Ts.
2807
2808 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
2809
2810         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2811         uninitialized thinko in last change.
2812
2813 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
2814
2815         * libsupc++/exception_support.cc (__cp_pop_exception): Change
2816         prototype.
2817
2818 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2819
2820         * docs/html/17_intro/C++STYLE (classname): Add more existing
2821         and stylish patterns.
2822
2823         libstdc++/944
2824         * include/bits/istream.tcc (istream::sentry::sentry()): Set
2825         failbit if the state of the stream is not good.
2826         * testsuite/27_io/istream_sentry.cc (test02): Add test.
2827         * testsuite/27_io/istream_manip.cc (test01): Modify.
2828
2829         libstdc++/1019
2830         reported by Paolo Carlini <pcarlini@unitus.it>
2831         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2832         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2833
2834         libstdc++/1057
2835         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2836         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2837         (xsgetn): Same. Simplify.
2838         * testsuite/27_io/streambuf.cc (test04): Add testcases.
2839
2840         reported by Larry Evans <jcampbell3@prodigy.net>
2841         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2842         equality with eof on returned value from overflow.
2843
2844 2001-01-14  Andreas Jaeger  <aj@suse.de>
2845
2846         * libio/libio.h: Add test for glibc 2.0.
2847
2848 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2849
2850         * config/os/djgpp/bits/*: Fix dates.
2851
2852         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2853         _CharT* __end, _CharT __c): Remove.
2854         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2855         * include/bits/char_traits.h: Tweak.
2856
2857 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
2858
2859         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2860         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2861         bash bug.
2862         * aclocal.m4: regenerated.
2863         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2864         * configure: regenerated.
2865         * config/os/djgpp, config/os/djgpp/bits: new directories.
2866         * config/os/djgpp/bits/ctype_base.h,
2867         config/os/djgpp/bits/ctype_inline.h,
2868         config/os/djgpp/bits/ctype_noninline.h,
2869         config/os/djgpp/bits/os_defines.h: new files.
2870
2871 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
2872
2873         * include/c_std/bits/std_cstdio.h: Undef printf.
2874
2875 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
2876
2877         * src/ios.cc: Fix typo: change cout->wcout.
2878
2879         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2880         * src/Makefile.in: Regenerate.
2881
2882 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2883
2884          * include/bits/std_complex.h: Fix a typo.
2885
2886 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2887                              <kainz@ilm.com>
2888
2889         Fixes for libstdc++/1576
2890         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2891         file, move contents into....
2892         * src/ios.cc: ...Here. Put defines for iostreams objects and
2893         initialization routines into one file to simplify DSO interaction.
2894         * include/bits/std_iostream.h: Touch.
2895         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2896         * src/Makefile.am (sources): Remove stdstreams.cc.
2897         * src/Makefile.in: Regenerate.
2898
2899 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2900
2901         * tests_flags.in (check_directory): Fix typo.
2902
2903 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2904
2905          * include/bits/std_complex.h: Fix a typo.
2906
2907 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
2908
2909         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2910         code path:) Remove magic constants and restructure to handle
2911         ctype.h bit mask layout changes more gracefully.  (Make fast
2912         code path:) Use __maskrune (), if available.
2913         (is): Remove special case for digit and xdigit masks.
2914
2915 2001-01-09  Robert Lipe <robertlipe@usa.net>
2916
2917         * include/c_std/bits/std_ctime.h: Undefine difftime.
2918
2919 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
2920
2921         * src/gen-num-limits.cc (signal_adapter): New template function.
2922         (signal_handler): Use it, instead of signal.
2923         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
2924         require both tests to trap to set trap_flag.
2925
2926 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2927
2928         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2929         initialize mbstate_t member, name offset data members *off, not pos.
2930         * include/bits/fstream.tcc (filebuf::filebuf): Same.
2931
2932 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2933
2934         reported by Chris G. Demetriou <cgd@sibyte.com>
2935         * configure.in: Change -linux-* to -linux*.
2936         * configure: Regenerate.
2937
2938 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
2939
2940         Fix 27_io/filebuf_members.cc
2941         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2942         const string& __name, category __cat, size_t __refs): Set
2943         _M_has_name with _M_name.
2944         * include/bits/localefwd.h (locale::operator!=): Protect member
2945         function call with this->.
2946         * src/locale.cc (locale::operator==): Make fast checks first.
2947         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2948
2949         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2950         to ios_base::Init.
2951         * src/ios.cc (ios_base::Init::Init): Initialize here.
2952         (ios_base::sync_with_stdio): Set here.
2953
2954 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
2955
2956         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2957         systems that support it, call dup() before fdopen().
2958
2959 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
2960
2961         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2962         * testsuite/17_intro/header_cwctype.cc (main): New file.
2963
2964         * src/Makefile.am (base_headers): Change.
2965         * include/bits/std_string.h: And here.
2966         * include/bits/string.tcc: Tweaks, move to...
2967         * include/bits/basic_string.tcc: ...Here.
2968         * src/string-inst.cc: Simplify, just instantiate the whole class,
2969         not member-by-member.
2970
2971 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
2972
2973         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2974         * aclocal.m4: Regenerate.
2975         * configure: Regenerate.
2976
2977         * include/bits/c++config (__GLIBCPP__): Bump version number.
2978
2979         * ChangeLog: Start new log for year 2001
2980         * ChangeLog-2000: New file.
2981
2982         * docs/html/configopts.html: Make sure default values are current,
2983         add commentary.
2984
2985 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
2986
2987         * include/c_std/bits/std_cwchar.h: Same.
2988         * testsuite/17_intro/header_cwchar.cc: Same.
2989         * include/c_std/bits/std_ctime.h: Same.
2990         * testsuite/17_intro/header_ctime.cc: Same.
2991         * include/c_std/bits/std_cstdlib.h: Same.
2992         Clean up undefs, make consistent with cwchar and cmath, etc.
2993         * testsuite/17_intro/header_cstdlib.cc: Same.
2994         * include/c_std/bits/std_cstdio.h: Same here.
2995         * testsuite/17_intro/header_cstring.cc: Same.
2996         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2997         * testsuite/17_intro/header_cstring.cc: New file. Check for
2998         size_t in namespace std.
2999
3000         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3001         * acconfig.h (HAVE_MBSTATE_T): Add.
3002         * config.h.in: Regenerate.
3003         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3004         mbstate_t.
3005         * aclocal.m4: Regenerate.
3006         * configure: Regenerate.
3007         * testsuite/17_intro/headers_c++.cc: New file.
3008         * testsuite/17_intro/headers_c.cc: Small changes.
3009
3010 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
3011
3012         * tests_flags.in: Fix typo in usage.
3013
3014         * tests_flags.in: Set target specific LIBS for cygwin.