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