OSDN Git Service

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