OSDN Git Service

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