OSDN Git Service

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