OSDN Git Service

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