OSDN Git Service

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