OSDN Git Service

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