2003-09-04 Eric Christopher <echristo@redhat.com>
[official-gcc.git] / libstdc++-v3 / ChangeLog
blobeaca30d41cc82e4401fa2c3a9a50bbbeb9967ea2
1 2003-09-03  Petur Runolfsson  <peturr02@ru.is>
3         PR libstdc++/12048
4         * include/ext/stdio_sync_filebuf.h
5         (stdio_sync_filebuf::_M_unget_buf): Declare it.
6         (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
7         (stdio_sync_filebuf::uflow): Store the returned character in
8         _M_unget_buf.
9         (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
10         _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
11         (stdio_sync_filebuf<char>::xsgetn): Store last read character in
12         _M_unget_buf, if any, else eof().
13         (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
14         _M_unget_buf, if any, else eof().
15         * testsuite/27_io/objects/char/12048.cc: Rename to...
16         * testsuite/27_io/objects/char/12048-1.cc: ...this.
17         * testsuite/27_io/objects/char/12048-2.cc: New test.
18         * testsuite/27_io/objects/char/12048-3.cc: New test.
19         * testsuite/27_io/objects/char/12048-4.cc: New test.
20         * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
21         * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
22         * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
23         * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
24         * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
25         * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
26         * testsuite/ext/stdio_sync_filebuf_char.cc
27         (test02, test03, test04, test05): New tests.
28         * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
29         (test02, test03, test04, test05): New tests.
31 2003-09-03  Petur Runolfsson  <peturr02@ru.is>
33         * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
34         stringbuf or strstreambuf. Fix typos.
36 2003-09-02  Phil Edwards  <phil@codesourcery.com>
38         * acinclude.m4 (GLIBCXX_ENABLE_HOSTED):  #define _GLIBCXX_HOSTED
39         appropriately.
40         * config.h.in:  Add _GLIBCXX_HOSTED.
41         * libsupc++/eh_term_handler.cc:  Test it here; initialize
42         __terminate_handler to std::abort if freestanding.
43         * aclocal.m4, configure:  Regenerated.
44         * docs/html/configopts.html:  Document --disable-hosted-libstdcxx.
46 2003-08-29  Nathan Myers  <ncm@cantrip.org>
47         
48         PR libstdc++/11990      
49         * include/bits/locale_facets.tcc (__pad): delete dead code.
51 2003-08-28  Alan Modra  <amodra@bigpond.net.au>
53         * configure.ac: Test $with_cross_host against $build_alias, not $build.
54         * configure: Regenerate.
56 2003-08-27  Petur Runolfsson  <peturr02@ru.is>
58         * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
59         * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
61 2003-08-27  Phil Edwards  <pme@gcc.gnu.org>
63         * Makefile.am:  Remove trailing whitespace.  Remove needless
64         "foo = @foo@" assignments.  Replace direct uses of @foo@ with $(foo).
65         * include/Makefile.am:  Likewise.
66         * libmath/Makefile.am:  Likewise.
67         * libsupc++/Makefile.am:  Likewise.
68         * po/Makefile.am:  Likewise.
69         * src/Makefile.am:  Likewise.
70         * testsuite/Makefile.am:  Likewise.
72         * Makefile.in, include/Makefile.in, libmath/Makefile.in,
73         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
74         testsuite/Makefile.in:  Regenerated.
76 2003-08-27  Phil Edwards  <pme@gcc.gnu.org>
78         * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES):  Change quoting of
79         includedir.
80         * aclocal.m4, configure:  Regenerate.
82 2003-08-27  Daniel Jacobowitz  <drow@mvista.com>
84         * acinclude.m4: Include no-executables.m4.
85         * configure.ac: Uncomment GCC_NO_EXECUTABLES.
86         * aclocal.m4: Regenerated.
87         * configure: Regenerated.
89 2003-08-27  Daniel Jacobowitz  <drow@mvista.com>
91         * acinclude.m4: Don't call AC_ISC_POSIX.
92         * aclocal.m4: Regenerated.
93         * configure: Regenerated.
95 2003-08-27  Phil Edwards  <pme@gcc.gnu.org>
97         * acinclude.m4 (GLIBCXX_CONDITIONAL):  New macro.  Wrap
98         AM_CONDITIONAL.  Replace all calls to AM_CONDITIONAL with this one.
99         (GLIBCXX_ENABLE_HOSTED):  New macro, sets new variable is_hosted,
100         used elsewhere in this file.
101         (GLIBCXX_EVALUATE_CONDITIONALS):  New macro...
102         * configure.ac:  ...called here to expand all conditionals.
103         * Makefile.am:  Conditionalize SUBDIRS on GLIBCXX_HOSTED.
104         * include/Makefile.am:  Remove redundant gxx_include_dir assignment.
105         (install-freestanding-headers):  New target, a subset of
106         install-headers.  Conditionalize install-data-local on GLIBCXX_HOSTED.
108         * aclocal.m4, configure, Makefile.in, include/Makefile.in,
109         libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
110         src/Makefile.in, testsuite/Makefile.in:  Regenerated.
112 2003-08-26  Phil Edwards  <pme@gcc.gnu.org>
114         * docs/doxygen/run_doxygen:  Shell fixes.  Remove hardcoded local
115         pathnames from generated tag file.
117 2003-08-26  Phil Edwards  <pme@gcc.gnu.org>
119         * Makefile.am:  Add comment.
120         * acinclude.m4 (GLIBCXX_CONFIGURE):  Set new glibcxx_SUBDIRS and
121         SUBDIRS variables.
122         * configure.ac:  Use them both here, instead of hardcoded lists.
124         * fragment.am:  Add STAMP varaible.
125         * include/Makefile.am:  Cosmetic whitespace cleanup.  Use $(LN_S)
126         instead of @LN_S@.
127         (stamp-*):  Move file creation rule outside of 'if' branches to
128         ensure the stamp-* files are actually updated.  Use $(STAMP).
129         * src/Makefile.am:  Remove now-nonexistant variable.
130         * libsupc++/Makefile.am:  Likewise.  Snap the assignment chain
131         for -prefer-pic.
132         * po/Makefile.am:  Include same fragment as all the others.
134         * aclocal.m4, configure, Makefile.in, include/Makefile.in,
135         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in:  Regenerated.
137 2003-08-26  Loren J. Rittle  <ljrittle@acm.org>
139         * testsuite/data/cin_unget-1.txt: New.
140         * testsuite/27_io/objects/char/12048.cc: New.
142 2003-08-25  Zack Weinberg  <zack@codesourcery.com>
144         * config/os/hpux/os_defines.h: Unconditionally define
145         _GLIBCXX_GTHREAD_USE_WEAK to 0.
147 2003-08-19  Geoffrey Keating  <geoffk@apple.com>
149         * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
150         crosses to Darwin targets.
151         * configure: Regenerate.
153 2003-08-19  Petur Runolfsson  <peturr02@ru.is>
155         * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
157 2003-08-17  Phil Edwards  <pme@gcc.gnu.org>
159         * configure.ac:  GCC_NO_EXECUTABLES was supposed to be commented
160         in the patch from 3 minutes ago.  Boy, is my face red.
161         * configure:  At least I remembered to regenerate this.
163 2003-08-17  Phil Edwards  <pme@gcc.gnu.org>
165         * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES):  Remove LIBMATH_INCLUDES
166         and LIBSUPCXX_INCLUDES.  Re-purpose TOPLEVEL_INCLUDES to refer to
167         things from the top level.
168         * configure.ac (GLIBCXX_IS_NATIVE):  Determine earlier and re-order.
169         Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
170         (currently unused).  Strip the fake-VPATH shell fragment from
171         automake-generated rules, if present.
172         * linkage.m4:  Add comment.
174         * fragment.am:  New file, containing factored-out common settings.
175         (AM_CPPFLAGS):  Absorb the deprecated INCLUDES variable contents.
176         * Makefile.am:  Include fragment.am.  Remove common variables.
177         * include/Makefile.am:  Likewise.
178         * libmath/Makefile.am:  Likewise.
179         * libsupc++/Makefile.am:  Likewise.
180         * po/Makefile.am:  Likewise.  Print rules during check.
181         * src/Makefile.am:  Likewise.
182         * testsuite/Makefile.am:  Likewise.
184         * aclocal.m4, configure, Makefile.in, include/Makefile.in,
185         libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
186         src/Makefile.in, testsuite/Makefile.in:  Regenerate.
188 2003-08-11  John Levon  <levon@movementarian.org>
190         * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
191         remaining places for the name change from GLIBCPP_FORCE_NEW
192         to GLIBCXX_FORCE_NEW
194 2003-08-11  Benjamin Kosnik  <bkoz@redhat.com>
196         * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
197         typedefs to num_*.
198         * include/bits/basic_ios.tcc: Same.
199         * include/bits/istream.tcc: Same.
200         * include/bits/locale_facets.h: Same.
201         * include/bits/ostream.tcc: Same.
202         * include/std/std_istream.h: Same.
203         * include/std/std_ostream.h: Same.
204         * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
206         * include/ext/rope: Remove build warning.
208 2003-08-11  Andreas Jaeger  <aj@suse.de>
210         * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
211         to make SMP-safe.
212         * include/Makefile.in: Regenerated.
214 2003-08-11  Phil Edwards  <pme@gcc.gnu.org>
216         * acinclude.m4 (GLIBCXX_CONFIGURE):  Unprecious CC and CFLAGS
217         when calling AC_PROG_CC.
218         * aclocal.m4, configure:  Regenerate.
220 2003-08-11  Phil Edwards  <pme@gcc.gnu.org>
222         * acinclude.m4:  Properly quote variable which will be expanded
223         inside makefiles.  Use CXX instead of CC to extract compiler info.
224         * configure.ac (AC_INIT):  Use the new 4-arg form to finally get the
225         correct form in PACKAGE.
226         * aclocal.m4, configure:  Regenerate.
228 2003-08-08  Benjamin Kosnik  <bkoz@redhat.com>
230         * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
231         (check-abi-verbose): Same.
232         * testsuite/testsuite_performance.h (report_performance): Same.
234 2003-08-08  Loren J. Rittle  <ljrittle@acm.org>
236         * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
238 2003-08-07  Doug Gregor  <dgregor@apple.com>
240         * include/bits/char_traits.h (char_traits::not_eof): Match operand
241         types in ? :.
243 2003-08-07  Bernardo Innocenti  <bernie@develer.com>
245         PR libstdc++/11784
246         * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
247         Replace variants with new BSET-based version.
249 2003-08-07  Carlo Wood  <carlo@alinoe.com>
251         * include/bits/demangle.h: Do not use cctype functions that depend
252         on locale.
254 2003-08-05  Phil Edwards  <pme@gcc.gnu.org>
256         * configure.in:  Rename...
257         * configure.ac:  ...to this.
258         * docs/html/17_intro/porting.texi:  Update name.
260         * docs/html/17_intro/porting.html:  Regenerate.
261         * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
262         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
263         testsuite/Makefile.in:  Regenerate (picks up new dependancy).
265 2003-08-05  Phil Edwards  <pme@gcc.gnu.org>
267         * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS):  Put down the crack
268         pipe, open the window to let out the fumes, redo the option-handling
269         logic to properly execute the detection test.
270         * aclocal.m4, configure:  Regenerate.
272 2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
274         Convert to new autotools.
275         * acconfig.h:  Update with correct names.
276         * configure.host (ATOMICITYH):  Rename to atomicity_include_dir.
277         (qnx6.[12]*):  'q' comes before 's', not after 'w'.
278         * configure.in:  Update.  Split hardcoded cross-configury settings
279         out to...
280         * crossconfig.m4:  ...here.  New file.  Contents untouched.
281         * acinclude.m4:  Reorganize and rewrite as needed.  Split large
282         chunks out to...
283         * linkage.m4:  ...here.  New file.  Math and stdlib linkage tests.
284         Contents untouched.
285         * scripts/testsuite_flags.in:  Update.
287         * Makefile.am:  Remove unneeded AUTOMAKE_OPTIONS settings and other
288         variables (already generated by automake).
289         * include/Makefile.am:  Ditto.
290         * libmath/Makefile.am:  Ditto.
291         * libsupc++/Makefile.am:  Ditto.
292         * po/Makefile.am:  Ditto.
293         * src/Makefile.am:  Ditto.
295         * aclocal.m4:  Regenerate using new versions.
296         * config.h.in:  Ditto.
297         * configure:  Ditto.
298         * Makefile.in:  Ditto.
299         * include/Makefile.in:  Ditto.
300         * libmath/Makefile.in:  Ditto.
301         * libsupc++/Makefile.in:  Ditto.
302         * po/Makefile.in:  Ditto.
303         * src/Makefile.in:  Ditto.
304         * testsuite/Makefile.in:  Ditto.
306 2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
308         * po/libstdc++.pot:  Re-extract/regenerate.
310 2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
312         * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
313         Remove unneeded variable assignments.  Leave them for automake.
314         * testsuite/lib/libstdc++-v3.exp:  Rename...
315         * testsuite/lib/libstdc++.exp:  ...to this.  Adjust function names
316         accordingly.
317         * testsuite/libstdc++-v3.dg/dg.exp:  Rename...
318         * testsuite/libstdc++-dg/normal.exp:  ...to this.  Adjust function
319         names accordingly.
321 2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
323         * docs/doxygen/guide.html:  run_doxygen uses bash.
324         * docs/doxygen/mainpage.html:  We'll be shipping tag files.
325         * docs/doxygen/run_doxygen:  Tweaks and improvements.
326         * docs/doxygen/user.cfg.in:  Set GENERATE_TAGFILE.
327         * docs/html/install.html:  Update autoconf/automake requirements.
328         * docs/html/test.html:  Add section describing DejaGNU support.
329         * docs/html/17_intro/confdeps.dot:  New file, generates...
330         * docs/html/17_intro/confdeps.png:  ...this new file.
331         * docs/html/Makefile:  Generated here.
332         * docs/html/17_intro/configury.html:  New file.
334 2003-07-31  Phil Edwards  <pme@gcc.gnu.org>
336         * testsuite/lib/libstdc++-v3-dg.exp:  Rename...
337         * testsuite/lib/libstdc++-v3.exp:  ...to this.
338         * testsuite/libstdc++-v3.dg/dg.exp:  No special case needed now.
340 2003-07-31  Doug Gregor  <dgregor@apple.com>
342         Add user specialization tests.
343         * testsuite/23_containers/deque/1.cc: New.
344         * testsuite/23_containers/list/1.cc: New.
345         * testsuite/23_containers/map/1.cc: New.
346         * testsuite/23_containers/multimap/1.cc: New.
347         * testsuite/23_containers/multiset/1.cc: New.
348         * testsuite/23_containers/set/1.cc: New.
349         * testsuite/23_containers/vector/1.cc: New.
351 2003-07-31  Benjamin Kosnik  <bkoz@redhat.com>
353         Reshuffle 23_containers testsuite.
354         * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
355         bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
356         list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
357         map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
358         set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
359         vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
360         vector_resize.cc: Split into...
361         * 23_containers/bitset/cons/1.cc: New.
362         * 23_containers/bitset/cons/6282.cc: New.
363         * 23_containers/bitset/count/6124.cc: New.
364         * 23_containers/bitset/operations/1.cc: New.
365         * 23_containers/bitset/operations/2.cc: New.
366         * 23_containers/bitset/test/1.cc: New.
367         * 23_containers/bitset/to_ulong/1.cc: New.
368         * 23_containers/deque/cons/1.cc: New.
369         * 23_containers/deque/cons/2.cc: New.
370         * 23_containers/deque/operators/1.cc: New.
371         * 23_containers/list/capacity/1.cc: New.
372         * 23_containers/list/cons/1.cc: New.
373         * 23_containers/list/cons/2.cc: New.
374         * 23_containers/list/cons/3.cc: New.
375         * 23_containers/list/cons/4.cc: New.
376         * 23_containers/list/cons/5.cc: New.
377         * 23_containers/list/cons/6.cc: New.
378         * 23_containers/list/cons/7.cc: New.
379         * 23_containers/list/cons/8.cc: New.
380         * 23_containers/list/cons/9.cc: New.
381         * 23_containers/list/modifiers/1.cc: New.
382         * 23_containers/list/modifiers/2.cc: New.
383         * 23_containers/list/modifiers/3.cc: New.
384         * 23_containers/list/operators/1.cc: New.
385         * 23_containers/list/operators/2.cc: New.
386         * 23_containers/list/operators/3.cc: New.
387         * 23_containers/list/operators/4.cc: New.
388         * 23_containers/map/insert/1.cc: New.
389         * 23_containers/map/operators/1.cc: New.
390         * 23_containers/map/operators/1_neg.cc: New.
391         * 23_containers/multiset/insert/1.cc: New.
392         * 23_containers/priority_queue/members/7161.cc: New.
393         * 23_containers/queue/members/7157.cc: New.
394         * 23_containers/set/operators/1_neg.cc: New.
395         * 23_containers/stack/members/7158.cc: New.
396         * 23_containers/vector/bool/1.cc: New.
397         * 23_containers/vector/bool/6886.cc: New.
398         * 23_containers/vector/capacity/1.cc: New.
399         * 23_containers/vector/capacity/2.cc: New.
400         * 23_containers/vector/capacity/8230.cc: New.
401         * 23_containers/vector/cons/1.cc: New.
402         * 23_containers/vector/cons/2.cc: New.
403         * 23_containers/vector/cons/3.cc: New.
404         * 23_containers/vector/cons/4.cc: New.
405         * 23_containers/vector/cons/6513.cc: New.
406         * 23_containers/vector/element_access/1.cc: New.
407         * 23_containers/vector/modifiers/1.cc: New.
408         * 23_containers/vector/modifiers/2.cc: New.
409         * 23_containers/vector/resize/1.cc: New.
411 2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
413         * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
414         dg-options.
415         * testsuite/thread/pthread2.cc: Likewise.
416         * testsuite/thread/pthread3.cc: Likewise.
417         * testsuite/thread/pthread4.cc: Likewise.
418         * testsuite/thread/pthread5.cc: Likewise.
419         * testsuite/thread/pthread6.cc: Likewise.
420         * testsuite/thread/pthread7-rope.cc: Likewise.
422 2003-07-30  Phil Edwards  <pme@gcc.gnu.org>
424         * include/bits/c++config:  Partial reversion (comment placement) of
425         previous patch.
427 2003-07-30  Benjamin Kosnik  <bkoz@redhat.com>
429         * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
430         (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
431         (_GLIBCXX_AT_AT): Remove.
432         (__USE_MALLOC): Remove.
433         * include/std/std_fstream.h: Modify.
434         * include/bits/basic_ios.h: Same.
435         * include/bits/valarray_array.h: Same.
436         * include/c_std/std_cmath.h: Same.
437         * include/c_std/cmath.tcc: Same.
438         * include/std/std_vector.h: Same.
439         * include/std/std_string.h: Same.
440         * include/std/std_stack.h: Same.
441         * include/std/std_queue.h: Same.
442         * include/std/std_list.h: Same.
443         * include/std/std_deque.h: Same.
444         * include/std/std_streambuf.h: Same.
445         * include/std/std_sstream.h: Same.
446         * include/std/std_ostream.h: Same.
447         * include/std/std_istream.h: Same.
448         * include/bits/valarray_array.tcc: Same, format.
450         * include/c/std_cctype.h: Fix include guards.
451         * include/c/std_cerrno.h: Same.
452         * include/c/std_cfloat.h: Same.
453         * include/c/std_climits.h: Same.
454         * include/c/std_clocale.h: Same.
455         * include/c/std_cmath.h: Same.
456         * include/c/std_csetjmp.h: Same.
457         * include/c/std_csignal.h: Same.
458         * include/c/std_cstdarg.h: Same.
459         * include/c/std_cstddef.h: Same.
460         * include/c/std_cstdio.h: Same.
461         * include/c/std_cstdlib.h: Same.
462         * include/c/std_cstring.h: Same.
463         * include/c/std_ctime.h: Same.
464         * include/c/std_cwchar.h: Same.
465         * include/c/std_cwctype.h: Same.
466         * include/c_std/cmath.tcc: Same.
467         * include/c_std/std_cmath.h: Same.
469 2003-07-30  Gawain Bolton  <gp.bolton@computer.org>
471         PR libstdc++/11504.
472         * include/bits/stl_tree.h: Replace C-style casts with C++-style
473         casts.  Changes to avoid casting away constness.  Eliminate
474         _Rb_tree_base_iterator class.  Change _Rb_tree_iterator to use
475         initialization lists.  Move out implementation of __black_count()
476         to...
477         * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
478         Rename_Rb_tree_base_iterator::_M_increment() to
479         _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
480         _Rb_tree_decrement.
481         * config/linker-map.gnu: Add and change symbols here.
483 2003-07-30  Jonathan Wakely  <redi@gcc.gnu.org>
485         * docs/html/22_locale/howto.html: Use locale::classic() instead
486         of locale("C").
488 2003-07-28  Benjamin Kosnik  <bkoz@redhat.com>
490         * testsuite/testsuite_hooks.h: Remove list include.
491         (func_callback): Define as unique type, not std::list.
492         Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
493         * testsuite/libstdc++-v3.dg/dg.exp: Same.
494         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
495         * testsuite/23_containers/bitset_ctor.cc:
496         * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
497         * testsuite/18_support/numeric_limits.cc: Same.
498         * testsuite/21_strings/basic_string/append/char/1.cc: Same.
499         * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
500         * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
501         * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
502         * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
503         * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
504         * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
505         * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
506         * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
507         * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
508         * testsuite/21_strings/basic_string/find/char/1.cc: Same.
509         * testsuite/21_strings/basic_string/find/char/2.cc: Same.
510         * testsuite/21_strings/basic_string/find/char/3.cc: Same.
511         * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
512         * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
513         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
514         * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
515         * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
516         * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
517         * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
518         * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
519         * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
520         * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
521         * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
522         * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
523         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
524         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
525         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
526         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
527         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
528         * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
529         * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
530         * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
531         * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
532         * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
533         * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
534         * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
535         * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
536         * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
537         * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
538         * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
539         * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
540         * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
541         * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
542         * testsuite/23_containers/bitset_ctor.cc: Same.
543         * testsuite/23_containers/bitset_shift.cc: Same.
544         * testsuite/23_containers/vector_ctor.cc: Same.
545         * testsuite/23_containers/vector_element_access.cc: Same.
546         * testsuite/24_iterators/istreambuf_iterator.cc: Same.
547         * testsuite/24_iterators/iterator.cc: Same.
548         * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
549         * testsuite/25_algorithms/lower_bound.cc: Same.
550         * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
551         * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
552         * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
553         * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
554         * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
555         * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
556         * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
557         * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
558         * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
559         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
560         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
561         Same.
563 2003-07-28  Phil Edwards  <pme@gcc.gnu.org>
565         * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
566         docs/html/test.html, docs/html/17_intro/headers_cc.txt,
567         docs/html/17_intro/howto.html, docs/html/ext/howto.html:  Change
568         GLIBCPP to GLIBCXX (and explain as needed).
570 2003-07-28  Phil Edwards  <pme@gcc.gnu.org>
572         * README:  Update.
574 2003-07-28  Phil Edwards  <pme@gcc.gnu.org>
576         * testsuite/22_locale/messages/members/char/1.cc,
577         testsuite/22_locale/messages/members/char/2.cc,
578         testsuite/22_locale/messages/members/char/3.cc,
579         testsuite/22_locale/messages_byname/1.cc:  Update comment regarding
580         the origin of LOCALEDIR.
581         * testsuite/lib/libstdc++-v3.exp:  New file.
583 2003-07-25  Benjamin Kosnik  <bkoz@redhat.com>
585         * include/bits/char_traits.h: Update copyright, tweak.
586         * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
587         std types.
589 2003-07-24  Matt Austern  <austern@apple.com>
591         * /include/bits/char_traits.h (class char_traits): Put all the
592         real work into the new class template __gnu_cxx::char_traits.
593         Gave generic definitions for member functions.  Types are taken
594         from the new class template __gnu_cxx::_Char_types.
595         * testsuite/21_strings/char_traits/requirements/short/1.cc: New
596         file.  Test of std::char_traits<short>, which serves as a test of
597         the char_traits primary template.
599 2003-07-24  Benjamin Kosnik  <bkoz@redhat.com>
601         * testsuite/*: Change __gnu_cxx_test to __gnu_test.
603 2003-07-24  Nathan Myers  <ncm-nospam@cantrip.org>
605         * testsuite/23_containers/map_operators.cc: Conform to
606         container requirement as value must be Assignable.
608 2003-07-23  Alexandre Oliva  <aoliva@redhat.com>
610         * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
611         tests not only generation of pch files, but also their use.
612         * aclocal.m4, configure: Rebuilt.
614 2003-07-23  Steve Ellcey  <sje@cup.hp.com>
616         * config/cpu/hppa/atomicity.h: Change
617         _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
618         to match misc-inst.cc
620 2003-07-23  Steve Ellcey  <sje@cup.hp.com>
622         * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
623         * include/c_std/std_cctype.h: Ditto.
624         * include/c_std/std_cerrno.h: Ditto.
625         * include/c_std/std_cfloat.h: Ditto.
626         * include/c_std/std_climits.h: Ditto.
627         * include/c_std/std_clocale.h: Ditto.
628         * include/c_std/std_cmath.h: Ditto.
629         * include/c_std/std_csetjmp.h: Ditto.
630         * include/c_std/std_csignal.h: Ditto.
631         * include/c_std/std_cstdarg.h: Ditto.
632         * include/c_std/std_cstddef.h: Ditto.
633         * include/c_std/std_cstdio.h: Ditto.
634         * include/c_std/std_cstdlib.h: Ditto.
635         * include/c_std/std_cstring.h: Ditto.
636         * include/c_std/std_ctime.h: Ditto.
637         * include/c_std/std_cwchar.h: Ditto.
638         * include/c_std/std_cwctype.h: Ditto.
639         * include/std/std_algorithm.h: Ditto.
640         * include/std/std_bitset.h: Ditto.
641         * include/std/std_complex.h: Ditto.
642         * include/std/std_deque.h: Ditto.
643         * include/std/std_fstream.h: Ditto.
644         * include/std/std_functional.h: Ditto.
645         * include/std/std_iomanip.h: Ditto.
646         * include/std/std_ios.h: Ditto.
647         * include/std/std_iosfwd.h: Ditto.
648         * include/std/std_iostream.h: Ditto.
649         * include/std/std_istream.h: Ditto.
650         * include/std/std_iterator.h: Ditto.
651         * include/std/std_limits.h: Ditto.
652         * include/std/std_list.h: Ditto.
653         * include/std/std_locale.h: Ditto.
654         * include/std/std_map.h: Ditto.
655         * include/std/std_memory.h: Ditto.
656         * include/std/std_numeric.h: Ditto.
657         * include/std/std_ostream.h: Ditto.
658         * include/std/std_queue.h: Ditto.
659         * include/std/std_set.h: Ditto.
660         * include/std/std_sstream.h: Ditto.
661         * include/std/std_stack.h: Ditto.
662         * include/std/std_stdexcept.h: Ditto.
663         * include/std/std_streambuf.h: Ditto.
664         * include/std/std_string.h: Ditto.
665         * include/std/std_utility.h: Ditto.
666         * include/std/std_valarray.h: Ditto.
667         * include/std/std_vector.h: Ditto.
669 2003-07-22  Doug Gregor  <dgregor@apple.com>
671         * include/bits/basic_string.h (basic_string::insert): Deprecate
672         GNU extension.
674 2003-07-21  Benjamin Kosnik  <bkoz@redhat.com>
676         * scripts/testsuite_flags.in (--build-includes): Remove extraneous
677         paths for libio.
678         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
679         (test03): Include typeinfo for bad_cast.
680         * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
681         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
682         * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
684 2003-07-21  Doug Gregor  <dgregor@apple.com>
686         * include/bits/boost_concept_check.h:
687         (_EqualityComparableConcept::__constraints): Remove != from the
688         list of constraints; it is not listed in Table 28 of the C++98
689         standard.
691 2003-07-18  Andreas Jaeger  <aj@suse.de>
693         * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
694         * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
695         * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
696         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
698 2003-07-17  Benjamin Kosnik  <bkoz@redhat.com>
700         * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
701         * config/locale/generic/messages_members.h: Tweaks.
702         * config/locale/generic/monetary_members.cc
703         (moneypunct::_M_initialize_moneypunct): Use cache.
704         (moneypunct::~moneypunct): Delete cache.
705         * config/locale/generic/time_members.cc:
706         (__timepunct::_M_initialize_timepunct): Use cache.
707         * config/locale/generic/time_members.h:
708         (__timepunct::~__timepunct): Delete cache.
709         (__timepunct::__timepunct): Set cache.
710         * config/locale/gnu/messages_members.h: Tweaks.
711         * config/locale/gnu/monetary_members.cc:
712         (moneypunct::_M_initialize_moneypunct): Use cache.
713         (moneypunct::~moneypunct): Delete cache.
714         * config/locale/gnu/time_members.cc:
715         (__timepunct::_M_initialize_timepunct): Use cache.
716         * config/locale/gnu/time_members.h:
717         (__timepunct::~__timepunct): Delete cache.
718         (__timepunct::__timepunct): Set cache.
719         * include/bits/locale_facets.h (__timepunct_cache): New.
720         (__moneypunct_cache): New.
721         * include/bits/locale_facets.tcc: Tweak.
722         * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
723         * src/locale-inst.cc: Instantiate caches.
724         * src/globals.cc: Add "C" caches.
725         * src/localename.cc: Use external "C" caches.
727 2003-07-17  Phil Edwards  <pme@gcc.gnu.org>
729         * docs/doxygen/guide.html:  Fix typo.
731 2003-07-16  Benjamin Kosnik  <bkoz@redhat.com>
733         * include/ext/pod_char_traits.h: Add state template argument.
735 2003-07-16  Benjamin Kosnik  <bkoz@redhat.com>
737         * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
738         (num_get::_M_convert_int): To _M_insert_int.
739         (num_get::_M_convert_float): To _M_insert_float.
740         * include/bits/locale_facets.tcc (num_get::_M_extract_float):
741         Use caches for ctype, num_get.
742         (num_get::_M_extract_int): Same.
743         (num_get::get(bool)): Same.
744         (__verify_grouping): Use size_t.
745         * src/locale-inst.cc: Update.
746         * src/locale.cc: Adjust _S_atoms_in.
748 2003-07-16  Phil Edwards  <pme@gcc.gnu.org>
750         * docs/doxygen/mainpage.html:  Move building/writing instructions...
751         * docs/doxygen/guide.html:  ...to here.  New file.
753 2003-07-16  Jonathan Wakely  <redi@gcc.gnu.org>
755         * docs/html/ext/howto.html: Update URL for SGI STL docs.
756         * docs/html/faq/index.html: Same.
757         * docs/html/faq/index.txt: Regenerate.
759 2003-07-16  Paolo Carlini  <pcarlini@unitus.it>
761         PR libstdc++/11528
762         * include/bits/locale_facets.tcc (money_get::do_get):
763         Strip only _leading_ zeros.
764         * testsuite/22_locale/money_get/get/char/11528.cc: Add.
765         * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
767 2003-07-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
769         * include/ext/hash_map (class hash_multimap): Remove extra
770         semicolons from __glibcxx_class_requires3 entries.
771         * include/ext/hash_set (class hash_set): Ditto.
772         (class hash_multiset): Ditto.
774 2003-07-15  Petur Runolfsson  <peturr02@ru.is>
776         * include/bits/char_traits.h (char_traits<wchar_t>::move):
777         Change last parameter from int_type to size_t.
779 2003-07-15  Jerry Quinn  <jlquinn@optonline.net>
781         * include/bits/stl_algo.h (includes, set_union, set_intersection,
782         set_difference, set_symmetric_difference, max_element, min_element,
783         next_permutation, prev_permutation, find_first_of, find_end):
784         Document.
785         * include/bits/stl_algobase.h (copy,copy_backward):  Clarify overlap
786         restrictions in docs.
787         * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
788         Document.
789         * docs/doxygen/doxygroups.cc (setoperations):  New group.
791 2003-07-15  Jerry Quinn  <jlquinn@optonline.net>
793         * include/bits/basic_string.h:  Document public functions.
794         * docs/doxygen/TODO:  Update c21 todo.
796 2003-07-15  Jerry Quinn  <jlquinn@optonline.net>
798         * include/bits/stl_list.h:  Document more functions.
799         * docs/doxygen/TODO:  Update c23 todo.
801 2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
803         * config/locale/gnu/c_locale.h (__convert_from_v): One more
804         qualification.
806 2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
808         * include/bits/stl_tempbuf.h: Qualify free with std::.
809         * src/locale.cc: Include <cstdlib>, qualify getenv.
811 2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
813         * config/locale/gnu/c_locale.h (__convert_from_v): Include
814         <cstdio>. Qualify names.
815         * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
817 2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
818             Nathan C. Myers  <ncm-nospam@cantrip.org>
820         PR libstdc++/11378
821         * include/std/std_fstream.h (xsputn): Declare only.
822         * include/bits/fstream.tcc (xsputn): Define, optimize for the
823         always_noconv() case: when __n is sufficiently large flush
824         the buffer and issue a direct write, if possible combining the
825         two with writev in __basic_file<>::xsputn_2.
826         * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
827         New, declare.
828         * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
829         Define.
830         * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
831         the availability of writev in <sys/uio.h>.
832         * configure.in: Call here.
833         * acconfig.h: Add undef for the corresponding symbol.
834         * aclocal.m4: Regenerate.
835         * configure: Regenerate.
836         * config.h.in: Regenerate.
837         * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
839         * include/std/std_fstream.h (sync): Constify a variable.
841 2003-07-14  Benjamin Kosnik  <bkoz@redhat.com>
843         * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
844         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
846 2003-07-14  Gabriel Dos Reis  <gcc@integrable-solutions.net>
848         * config/locale/gnu/c_locale.h (__convert_from_v): Include
849         <cstring> and <cstdlib>. Qualify names.
851 2003-07-13  Mark Mitchell  <mark@codesourcery.com>
853         * config/locale/generic/c_locale.h: Include <cstdlib> and
854         <cstring>.
855         * include/bits/boost_concept_check.h: Add this-> to unqualified
856         method calls.
857         * include/bits/deque.tcc: Likewise.
858         * include/bits/locale_facets.h : Likewise.
859         * include/bits/ostream.tcc: Likewise.
860         * include/bits/stl_algo.h: Likewise.
861         * include/bits/stl_bvector.h: Likewise.
862         * include/bits/stl_deque.h: Likewise.
863         * include/bits/stl_list.h: Likewise.
864         * include/bits/stl_tree.h: Likewise.
865         * include/bits/stl_vector.h: Likewise.
866         * include/bits/vector.tcc: Likewise.
867         * include/ext/rope: Likewise.
868         * include/ext/ropeimpl.h: Likewise.
869         * include/ext/stdio_filebuf.h: Likewise.
871 2003-07-11  Jerry Quinn  <jlquinn@optonline.net>
873         * include/bits/basic_ios.h (copyfmt): Document.
874         * include/bits/ios_base.h (event, event_callback, register_callback,
875         xalloc, iword, pword):  Document.
876         (imbue, ~ios_base): Update docs on callbacks.
878 2003-07-11  Phil Edwards  <pme@gcc.gnu.org>
880         * acinclude.m4 (GLIBCC_ENABLE_SYMVERS):  Tweak comments.  Add
881         warning messages if the environment cannot support symbol versioning.
882         (port_specific_symbol_file):  It's plural, add an 's' on the end.
883         * configure.host:  Likewise.
884         * src/Makefile.am:  Likewise.
885         * config/linker-map.gnu:  Remove one semicolon, heh.
886         * scripts/extract_symvers:  Don't assume useful 'export' syntax.
887         Set LANG as well as LC_ALL for possibly-broken sort(1)s.
888         * aclocal.m4, configure, src/Makefile.in:  Regenerated.
890 2003-07-09  Benjamin Kosnik  <bkoz@redhat.com>
892         * include/bits/locale_facets.tcc: Use function object for
893         __use_cache instead of template function. Partially specialize for
894         __numpunct<_CharT>.
895         * include/bits/locale_classes.h: Update friend declaration for
896         __use_cache.
897         (_M_install_cache): No throw exception specs.
898         * src/locale.cc: Remove __use_cache specializations.
899         * include/ext/pod_char_traits.h (length): Tweak.
900         * include/bits/locale_facets.h (__numpunct_cache): Remove
901         char_type typedef.
902         * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
903         (pod_long): Remove.
904         * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
905         * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
906         * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
907         * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
908         * testsuite/22_locale/numpunct/members/pod/1.cc: New.
909         * testsuite/22_locale/numpunct/members/pod/2.cc: New.
911 2003-07-09  Jerry Quinn  <jlquinn@optonline.net>
913         * src/ios.cc (_M_grow_words):  Fix spelling.
915 2003-07-09  Gawain Bolton  <gp.bolton@computer.org>
917         * include/bits/stl_tree.h: Move larger member functions in
918         _Rb_tree_base_iterator and _Rb_tree_node to...
919         * src/stl_tree.cc: Here.
920         * src/Makefile.in: Add stl_tree.cc.
921         * src/Makefile.in: Regenerated.
922         * config/linker-map.gnu: Add symbols here.
924 2003-07-08  Benjamin Kosnik  <bkoz@redhat.com>
926         * testsuite/ext/pod_char_traits.cc: New.
927         * include/ext/pod_char_traits.h: New.
928         * include/Makefile.am (ext_headers): Add pod_char_traits.h.
929         * include/Makefile.in: Regenerate.
930         * docs/html/21_strings/howto.html: Update.
932 2003-07-08  Gawain Bolton  <gp.bolton@computer.org>
934         * testsuite/performance/list_create_fill_sort.cc: New.
936 2003-07-08  Benjamin Kosnik  <bkoz@redhat.com>
938         * config/locale/generic/numeric_members.cc: Correct type info.
939         * config/locale/gnu/numeric_members.cc: Same.
940         * include/bits/locale_facets.h: Same.
942         * include/bits/char_traits.h: Correct spacing.
944         * src/locale.cc: Wrap to 80 col.
946 2003-07-07  Paolo Carlini  <pcarlini@unitus.it>
948         * include/std/std_complex.h: Partially revert last
949         changes: cmath functions must not be qualified.
951 2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
953         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS):  Do not test for binutils
954         2.11 with globbing backport fix.
955         * aclocal.m4, configure:  Regenerated.
957 2003-07-06  Paolo Carlini  <pcarlini@unitus.it>
959         * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
960         if output is at all possible (!_M_reading), cannot be active.
962         * include/std/std_fstream.h: Tweak comments to doxygen style.
964 2003-07-06  Paolo Carlini  <pcarlini@unitus.it>
966         * include/bits/locale_classes.h: Fully qualify standard
967         functions with std::, thus avoiding Koenig lookup.
968         * include/bits/locale_facets.tcc: Likewise.
969         * src/locale.cc: Likewise.
970         * src/localename.cc: Likewise.
972 2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
974         * include/bits/allocator_traits.h:  Fix doxygen markup.
975         * include/ext/mt_allocator.h:  Likewise.
977 2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
979         * testsuite/testsuite_hooks.h:  Guard against a missing unlink().
981 2003-07-05  Phil Edwards  <pme@gcc.gnu.org>
983         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS):  Bump minimal version
984         requirement.  Add port_specific_symbol_file variable.
985         * configure.host:  Add docs for port_specific_symbol_file.
986         Clean up try_cpu block for x86.
987         * config/linker-map.gnu:  No more "last symbol can't have a
988         semicolon" kaka.  Add hook for port-specific symbols.
989         * src/Makefile.am:  Remove trailing whitespace.
990         (libstdc++-symbol.ver):  Detect the presence of port-specific
991         symbols, and add them accordingly.
993         * docs/html/17_intro/porting.texi:  Bring up to date.
995         * src/Makefile.in, aclocal.m4, configure,
996         docs/html/17_intro/porting.html:  Regenerated.
998 2003-07-05  Phil Edwards  <pme@gcc.gnu.org>
1000         * scripts/create_testsuite_files:  New file.
1001         * testsuite/Makefile.am (all-local, check-performance):  Use it.
1002         * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests):  Remove.
1003         * testsuite/Makefile.in:  Regenerated.
1005         * testsuite/performance/filebuf_sputc.cc:  Remove the temporary
1006         files at the end.
1007         * testsuite/performance/fstream_seek_write.cc:  Likewise.
1008         * testsuite/performance/ofstream_insert_float.cc:  Likewise.
1009         * testsuite/performance/ofstream_insert_int.cc:  Likewise.
1010         * testsuite/abi_check.cc (main):  Nicer spacing in usage output.
1012 2003-07-05  Gawain Bolton  <gp.bolton@computer.org>
1014         * include/bits/stl_list.h: Performance and memory usage
1015         improvements. In particular, the behaviour of the constructor and
1016         destructor as the list header node is no longer dynamically
1017         allocated/de-allocated.
1018         * include/bits/list.tcc: Likewise.
1020 2003-07-05  Paolo Carlini  <pcarlini@unitus.it>
1022         * include/std/std_complex.h: Fully qualify standard
1023         functions with std::, thus avoiding Koenig lookup.
1024         * include/std/std_memory.h: Likewise.
1025         * include/std/std_valarray.h: Likewise.
1027 2003-07-05  Gawain Bolton  <gp.bolton@computer.org>
1029         * include/bits/stl_tree.h: _Rb_tree_rebalance():  Add local
1030           variable for grandparent and use const
1032 2003-07-05  David Billinghurst <David.Billinghurst@riotinto.com>
1034         * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1035         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1036         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1037         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1038         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1039         * testsuite/27_io/objects/char/7.cc: Ditto
1040         * testsuite/27_io/objects/char/9661-1.cc: Ditto
1042 2003-07-05  Paolo Carlini  <pcarlini@unitus.it>
1044         * include/std/std_bitset.h: Fully qualify standard
1045         functions with std::, thus avoiding Koenig lookup.
1047         * include/std/std_fstream.h: Change comment to doxygen style.
1049 2003-07-05  Phil Edwards  <pme@gcc.gnu.org>
1051         * include/std/std_limits.h:  More CPP->CXX changes.
1052         * scripts/check_survey.in:  Likewise.
1054 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
1056         Move from CPP to CXX.
1057         * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1058         * testsuite/Makefile.am: Same.
1059         * testsuite/Makefile.in: Regenerate.
1060         * po/Makefile.am: Same.
1061         * po/Makefile.in: Regenerate.
1062         * libsupc++/Makefile.am: Same.
1063         * libsupc++/Makefile.in: Regenerate.
1064         * libmath/Makefile.am: Same.
1065         * libmath/Makefile.in: Regenerate.
1066         * include/Makefile.am: Same.
1067         * include/Makefile.in: Regenerate.
1068         * src/Makefile.am: Same.
1069         * src/Makefile.in: Regenerate.
1070         * acconfig.h: Same.
1071         * configure.host: Same.
1072         * configure.in: Same.
1073         * configure: Regenerate.
1074         * acinclude.m4: Same.
1075         * aclocal.m4: Same.
1076         * src: Change all files in this directory.
1077         * testsuite: Same.
1078         * include: Same, standardize include guards.
1079         * config: Same.
1080         * libsupc++: Same.
1082 2003-07-04  Zack Weinberg  <zack@codesourcery.com>
1084         * testsuite/22_locale/collate/compare/wchar_t/2.cc
1085         * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1086         * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1087         * testsuite/22_locale/collate/hash/wchar_t/2.cc
1088         * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1089         * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1090         * testsuite/22_locale/collate/transform/wchar_t/2.cc
1091         * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1092         * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1093         XFAIL on all targets.
1095 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
1097         * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1098         * aclocal.m4: Regenerate.
1099         * configure: Regenerate.
1101 2003-07-04  Jerry Quinn  <jlquinn@optonline.net>
1103         * include/bits/locale_facets.tcc (__int_to_char): Move common case
1104         to the top.
1106 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
1107             Petur Runolfsson  <peturr02@ru.is>
1109         * config/io/basic_file_stdio.cc: Revert.
1111 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
1113         * include/bits/deque.tcc: Fully qualify standard
1114         functions with std::, thus avoiding Koenig lookup.
1115         * include/bits/gslice_array.h: Likewise.
1116         * include/bits/indirect_array.h: Likewise.
1117         * include/bits/list.tcc: Likewise.
1118         * include/bits/mask_array.h: Likewise.
1119         * include/bits/slice_array.h: Likewise.
1121 2003-07-04  Gawain Bolton  <gbolton@free.fr>
1123         * include/bits/stl_tree.h: Performance and memory usage
1124         improvements.
1126 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
1128         * Makefile.am: Replace PWD with PWD_COMMAND.
1129         * Makefile.in: Regenerated.
1130         * docs/html/Makefile: Likewise.
1132 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
1134         * include/bits/valarray_array.h: Fully qualify standard
1135         functions with std::, thus avoiding Koenig lookup.
1136         * include/bits/vector.tcc: Likewise.
1138 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
1140         * include/Makefile.am: Update target_ to host_.
1141         * include/Makefile.in: Regenerate.
1142         * src/Makefile.am: Same.
1143         * src/Makefile.in: Regenerate.
1145         * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1147 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
1149         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1150         --enable-libstdcxx-debug-flags.
1151         (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1152         (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1153         * aclocal.m4: Regenerate.
1154         * configure: Same.
1155         * docs/html/configopts.html: Update.
1157 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
1159         Revert the fix for libstdc++/11378.
1161 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
1163         PR libstdc++/11378
1164         * include/std/std_fstream.h (xsputn): In the unbuffered case,
1165         provided always_noconv(), issue directly _M_file.xsputn.
1166         * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1168 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
1170         * include/bits/stl_list.h: Fully qualify standard
1171         functions with std::, thus avoiding Koenig lookup.
1172         * include/bits/stl_queue.h: Likewise.
1173         * include/bits/stl_raw_storage_iter.h: Likewise.
1174         * include/bits/stl_tempbuf.h: Likewise.
1175         * include/bits/stl_tree.h: Likewise.
1176         * include/bits/stl_uninitialized.h: Likewise.
1177         * include/bits/stl_vector.h: Likewise.
1178         * include/ext/rope: Change includes order.
1180 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
1182         * configure.host (fpos_include_dir): Fix.
1184 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
1186         * include/bits/stl_heap.h: Fully qualify standard
1187         functions with std::, thus avoiding Koenig lookup.
1188         * include/bits/stl_iterator_base_funcs.h: Likewise.
1190         * include/bits/stl_algo.h: Qualify __iterator_category too.
1191         * include/bits/stl_algobase.h: Likewise.
1192         * include/bits/stl_bvector.h: Likewise.
1194         * include/bits/stl_algo.h: Don't qualify the pair type.
1196 2003-07-03  Benjamin Kosnik  <bkoz@redhat.com>
1198         * include/Makefile.am (target_headers): Add fpos.h
1199         (bits_headers): Remove.
1200         * include/Makefile.in: Regenerate.
1201         * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1202         * configure: Regenerate.
1203         * configure.host: Add fpos_include_dir.
1204         * config/os/gnu-linux/fpos.h: New.
1205         * config/os/generic/fpos.h: Add.
1206         * include/bits/fpos.h: Remove.
1208         * config/io/c_io_stdio.h: Remove fpos_t typedef.
1210         * include/bits/fstream.tcc: Tweaks.
1211         * include/std/std_fstream.h: Same.
1213         * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1214         * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1215         * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1216         * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1217         * testsuite/27_io/fpos/1.cc: New.
1219 2003-07-03  Benjamin Kosnik  <bkoz@redhat.com>
1220             Petur Runolfsson  <peturr02@ru.is>
1222         * include/std/std_streambuf.h: Remove _M_pos.
1223         * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1224         * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1225         use fread/fwrite instead of read/write.
1226         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1227         * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1228         before reading again.
1229         * testsuite/27_io/objects/char/6.cc: Tweak.
1231 2003-07-03  David Edelsohn  <edelsohn@gnu.org>
1233         * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1234         _GLIBCPP_USE_WCHAR_T.
1236 2003-07-02  Paolo Carlini  <pcarlini@unitus.it>
1238         * include/bits/basic_string.tcc (_M_replace_aux): Constify
1239         __n1 and __off1.
1241 2003-07-02  Paolo Carlini  <pcarlini@unitus.it>
1243         * include/bits/stl_bvector.h: Fully qualify standard
1244         functions with std::, thus avoiding Koenig lookup.
1245         * include/bits/stl_construct.h: Likewise.
1246         * include/bits/stl_deque.h: Likewise.
1248 2003-07-02  Paolo Carlini  <pcarlini@unitus.it>
1250         * testsuite/22_locale/num_put/put/char/7.cc: Include
1251         <testsuite_hooks.h>, tweak.
1252         * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1254 2003-07-01  Phil Edwards  <pme@gcc.gnu.org>
1256         * testsuite/Makefile.am (AM_MAKEFLAGS):  Set to -j1 (affects
1257         check* targets, but not libs/programs).
1258         * testsuite/Makefile.in:  Regenerate.
1260 2003-07-01  Roger Sayle  <roger@eyesopen.com>
1262         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1263         (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1264         * aclocal.m4: Regenerate.
1265         * configure: Regenerate.
1267 2003-07-01  Benjamin Kosnik  <bkoz@redhat.com>
1269         * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1270         * aclocal.m4: Regenerated.
1271         * configure: Regenerated.
1273 2003-07-01  Paolo Carlini  <pcarlini@unitus.it>
1275         PR libstdc++/11389
1276         * include/bits/fstream.tcc (underflow): For encoding() == 0
1277         don't read more than __buflen chars.
1278         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1279         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1280         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1281         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1283 2003-07-01  Jerry Quinn  <jlquinn@optonline.net>
1285         * 22_locale/num_put/put/char/7.cc: New.
1286         * 22_locale/num_put/put/wchar_t/7.cc: New.
1288 2003-06-30  Jerry Quinn  <jlquinn@optonline.net>
1290         * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1291         * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1293 2003-06-30  Benjamin Kosnik  <bkoz@redhat.com>
1295         * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1296         * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1297         * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1298         * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1299         * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1300         * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1301         * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1302         * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1303         * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1304         * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1305         * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1306         * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1307         * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1308         * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1309         * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1310         * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1311         * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1312         * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1313         * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1314         * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1315         * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1316         * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1317         * data/seekoff-1.tst: Remove.
1318         * data/seekoff-1io.tst: New.
1319         * data/seekoff-1out.tst: New.
1320         * data/seekoff-2.tst: Remove.
1321         * data/seekoff-2io.tst: New.
1322         * data/seekoff-2out.tst: New.
1323         * data/seekoff.txt
1324         * data/seekpos-1.tst: Remove.
1325         * data/seekpos-1io.tst: New.
1326         * data/seekpos-1out.tst: New.
1327         * data/seekpos-2.tst: Remove.
1328         * data/seekpos-2io.tst: New.
1329         * data/seekpos-2out.tst: New.
1330         * data/seekpos.txt: New.
1332 2003-06-30  Jerry Quinn  <jlquinn@optonline.net>
1334         * src/locale.cc (__use_cache<numpunct>): Move from here ...
1335         * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1336         here.
1338 2003-06-30  Paolo Carlini  <pcarlini@unitus.it>
1340         * include/bits/stl_algobase.h: Fully qualify standard
1341         functions with std::, thus avoiding Koenig lookup.
1343 2003-06-30  Doug Gregor <dgregor@apple.com>
1345         * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1346         subscripting empty string.
1348 2003-06-30  Phil Edwards  <pme@gcc.gnu.org>
1350         * testsuite/Makefile.am (check-am):  Do not override.
1351         (baseline_symbols):  Declare as PHONY, so no need to 'touch' it.
1352         * testsuite/Makefile.in:  Regenerate.
1354 2003-06-30  Doug Gregor <dgregor@apple.com>
1356         * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1357         Don't initialize an insert_iterator with a singular iterator.
1359 2003-06-30  Benjamin Kosnik  <bkoz@redhat.com>
1361         * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1362         * aclocal.m4: Regenerate.
1363         * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1364         GLIBCPP_ENABLE_PCH, default to yes.
1365         * configure: Regenerate.
1366         * docs/html/configopts.html: Add --enable-pch.
1368 2003-06-30  Phil Edwards  <pme@gcc.gnu.org>
1370         * testsuite/lib/libstdc++-v3-dg.exp:  Add comments.
1371         (libstdc++-v3-init):  Also set LD_RUN_PATH.
1373 2003-06-30  Paolo Carlini  <pcarlini@unitus.it>
1375         * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1376         from here to filebuf and stringbuf.
1377         (~basic_streambuf()): Don't set _M_mode.
1378         (basic_streambuf()): Don't set _M_mode.
1379         * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1380         (~basic_filebuf()): Clean up.
1381         * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1382         * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1383         * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1384         * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1385         * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1386         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1387         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1389 2003-06-30  Paolo Carlini  <pcarlini@unitus.it>
1391         * include/std/std_fstream.h (_M_underflow): Remove.
1392         (uflow): Remove, inherited from streambuf.
1393         (underflow): Only declare.
1394         * include/bits/fstream.tcc (_M_underflow): Rename to
1395         underflow, to which is equivalent for __bump == false,
1396         simplify.
1397         * include/std/std_sstream.h (_M_underflow): Remove.
1398         (uflow): Remove, inherited from streambuf.
1399         (underflow): Only declare.
1400         * include/bits/sstream.tcc (_M_underflow): Rename to
1401         underflow, to which is equivalent for __bump == false,
1402         simplify.
1404 2003-06-29  Paolo Carlini  <pcarlini@unitus.it>
1406         * include/bits/stl_algo.h: Fully qualify standard functions
1407         with std::, thus avoiding Koenig lookup.
1409 2003-06-29  Paolo Carlini  <pcarlini@unitus.it>
1411         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1412         Improve type correctness-wise.
1413         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1414         Likewise.
1415         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1416         Likewise.
1417         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1418         Likewise.
1420 2003-06-29  Paolo Carlini  <pcarlini@unitus.it>
1422         * include/std/std_streambuf.h (uflow): According to
1423         27.5.2.4.3,p16, don't check gptr() < egptr().
1425 2003-06-28  Paolo Carlini  <pcarlini@unitus.it>
1427         PR libstdc++/9875
1428         * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1429         (seekpos): Likewise.
1430         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1431         New test.
1432         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1433         New test.
1435 2003-06-27  Benjamin Kosnik  <bkoz@redhat.com>
1437         * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1438         output name to libstdc++-v3-performance.sum.
1439         * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1440         * testsuite/Makefile.in: Regenerate.
1442 2003-06-27  Matthias Klose  <doko@debian.org>
1444         * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1445         output of abi-check in libstdc++-v3-abi.sum.
1446         * testsuite/Makefile.in: Regenerate.
1448 2003-06-27  Krister Walfridsson  <cato@df.lth.se>
1450         * config/os/bsd/netbsd/ctype_noninline.h
1451         (_C_ctype_): Declare.
1452         (ctype<char>::classic_table): Return _C_ctype_ + 1.
1453         (ctype<char>::ctype): Use classic_table.
1455 2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
1456             Nathan C. Myers  <ncm-nospam@cantrip.org>
1458         PR libstdc++/9178
1459         * include/bits/fstream.tcc (_M_underflow): Properly estimate
1460         the worst-case number of external bytes for a given get area.
1461         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
1463 2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
1464             Petur Runolfsson  <peturr02@ru.is>
1466         PR libstdc++/11305
1467         * include/bits/fstream.tcc (overflow): Properly estimate the
1468         worst-case number of external bytes for a given put area
1469         (by using codecvt::max_length()).
1470         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
1471         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
1472         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
1473         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
1475 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
1477         * config/linker-map.gnu: Remove ; after __numpunct_cache.
1479 2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1481         * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
1482         to the imbued locale.
1483         * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
1484         _M_getloc.
1485         (num_put::_M_convert_float): Use.
1487 2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1488             Jerry Quinn  <jlquinn@optonline.net>
1490         * config/linker-map.gnu: Add __numpunct_cache.
1491         * config/locale/gnu/numeric_members.cc
1492         (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
1493         all elements for "C" locale.
1494         (numpunct::~numpunct): Delete _M_data.
1495         * config/locale/generic/numeric_members.cc: Same.
1496         * include/bits/basic_ios.tcc
1497         (basic_ios::init): Remove __locale_cache bits.
1498         (basic_ios::_M_cache_locale): Same.
1499         * include/bits/ios_base.h: Same. Tweaks.
1500         * include/bits/locale_classes.h: Tweaks. Reorder classes.
1501         (__use_cache): Make friends with _Impl, locale.
1502         (_Impl::_M_caches): Add.
1503         (_Impl::_M_install_cache): Add.
1504         * include/bits/locale_facets.h (__numpunct_cache): New.
1505         (numpunct): Encapsulate data members in __numpunct_cache member,
1506         _M_data. Adjust virtuals.
1507         (numpunct::numpunct): New ctor for the same.
1508         (__locale_cache_base): Remove.
1509         (__locale_cache): Remove.
1510         * include/bits/locale_facets.tcc (__use_cache): New function,
1511         specializations.
1512         (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
1513         * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
1514         * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
1515         * src/locale-inst.cc: Same. Add __numpunct_cache.
1516         * src/locale.cc: Tweak inlines.
1517         (__use_cache): Define specializations.
1518         * src/localename.cc: Use global bits.
1519         (_Impl::~Impl): Deal with __numpunct_cache destruction.
1520         (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
1521         (_Impl::_M_init_facet): Take into account __numpunct_cache.
1522         * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
1523         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1525 2003-06-26  Nathan C. Myers  <ncm-nospam@cantrip.org>
1526             Paolo Carlini  <pcarlini@unitus.it>
1528         * testsuite/performance/filebuf_copy.cc: New, testing char
1529         by char file copy.
1531 2003-06-26  Paolo Carlini  <pcarlini@unitus.it>
1532             Nathan C. Myers  <ncm-nospam@cantrip.org>
1534         * include/bits/fstream.tcc (_M_underflow): When the actual
1535         end of file is reached, set 'uncommitted' mode to allow a
1536         next write without an intervening seek (see C++98 27.8.1.1,2
1537         and C89 7.9.5.3).
1538         * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
1540 2003-06-25  Nathan C. Myers  <ncm-nospam@cantrip.org>
1542         * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1543         sputc): Move inline, from here...
1544         * include/std/std_streambuf.h: ... to here.
1546         * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
1547         sputbackc, sungetc, sputc): Use __builtin_expect.
1549 2003-06-24  Phil Edwards  <pme@gcc.gnu.org>
1551         * docs/doxygen/mainpage.html:  Use a useful title.
1553 2003-06-24  Benjamin Kosnik  <bkoz@redhat.com>
1555         * docs/html/documentation.html: Remove assignment info.
1556         * docs/html/17_intro/contribute.html: Edits.
1557         * docs/html/17_intro/libstdc++-assign.tx: Remove.
1559         * docs/html/test.html: Update.
1561         * README: Update.
1563 2003-06-24  Benjamin Kosnik  <bkoz@redhat.com>
1564             Ulrich Drepper  <drepper@redhat.com>
1566         * testsuite/testsuite_performance.h: Tweak mallinfo.
1568 2003-06-24  Paolo Carlini  <pcarlini@unitus.it>
1569             Nathan C. Myers  <ncm-nospam@cantrip.org>
1571         * include/std/std_fstream.h (_M_filepos): Remove.
1572         (_M_reading, _M_writing): New, encode the various I/O modes:
1573         'read', 'write' and 'uncommitted'.
1574         (sync): If there is something to flush, do it, then go to
1575         'uncommitted' mode.
1576         * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
1577         with three different cases: __off > 0 (upon underflow),
1578         __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
1579         seekoff/pos).
1580         (_M_underflow): Don't call overflow, set _M_reading to true
1581         on success, tweak.
1582         (pbackfail): Set _M_reading to true on pback creation, tweak.
1583         (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
1584         set _M_writing to true on success, tweak.
1585         (seekoff): Simplify, set _M_reading, _M_writing to false, call
1586         _M_set_buffer(-1) ('uncommitted').
1587         (open, close, setbuf): Set _M_reading, _M_writing to false and
1588         call _M_set_buffer(-1), tweak.
1589         (basic_filebuf): Don't set _M_buf_unified.
1590         (_M_destroy_internal_buffer): Don't call setg and setp.
1591         * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
1592         _M_writing and _M_set_buffer(-1).
1593         * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
1594         _M_out_lim, _M_buf_unified): Remove.
1595         (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
1596         (setp): Don't set _M_out_lim.
1597         * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
1598         the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
1599         upon open the mode is 'uncommitted' and therefore the put area
1600         pointers are null.
1601         * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
1602         * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
1603         * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
1604         * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
1605         * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
1606         * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
1607         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1608         * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
1609         * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
1610         * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
1611         * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
1612         * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
1613         * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
1614         * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
1615         * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
1616         * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
1617         * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
1618         * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
1619         * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
1620         * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
1622         * include/bits/fstream.tcc (showmanyc): Use only the
1623         documented derivation interface to basic_streambuf (gptr(),
1624         setg(), etc.) to work right with user specializations.
1625         * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1626         sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
1627         * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
1628         Likewise.
1629         * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
1630         xsgetn): Likewise.
1632 2003-06-23  Loren J. Rittle  <ljrittle@acm.org>
1634         * configure.host (freebsd*): Set abi_baseline_pair.
1635         * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
1636         (at or near first release) to 3.3.
1637         * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
1638         * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
1639         * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
1641         * include/ext/mt_allocator.h: Portability.
1642         * testsuite/testsuite_performance.h: Likewise.
1644 2003-06-23  Benjamin Kosnik  <bkoz@redhat.com>
1646         * docs/html/17_intro/libstdc++-assign.txt: Update address.
1648         * testsuite/performance/ifstream_getline.cc: Fix.
1650 2003-06-23  Doug Gregor <dgregor@apple.com>
1652         * include/bits/boost_concept_check.h: Don't use _D or _R for type
1653         names.
1655 2003-06-22  Paolo Carlini  <pcarlini@unitus.it>
1656             Nathan C. Myers  <ncm-nospam@cantrip.org>
1658         * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
1659         is now used only for filebuf, when _M_buf_unified is true.
1660         epgtr() plays the role of _M_out_lim but it's only updated
1661         upon overflow, underflow, uflow, seekoff/pos.
1662         * include/bits/sstream.tcc (_M_underflow): New, implements
1663         stringbuf::underflow and uflow.
1664         (seekoff, seekpos): Tweak, use  _M_update_egptr.
1665         * include/std/std_sstream.h (str): Rewrote, deal correctly
1666         with the new logic, in particular, when pptr() > egptr().
1667         (_M_sync): When __testout && !__testin set all the get area
1668         pointers to the current string end.
1669         (_M_update_egptr): New, internal function updating egptr()
1670         to the actual string end.
1671         (_M_underflow): New, declare.
1672         (underflow): Dispatch to _M_underflow(false).
1673         (uflow): Dispatch to _M_underflow(true).
1675         * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
1676         seekpos): Use only the documented derivation interface to
1677         basic_streambuf (gptr(), setg(), etc.) to work right with
1678         user specializations.
1679         * include/std/std_sstream.h (str, _M_sync): Likewise.
1681 2003-06-20  Doug Gregor <dgregor@apple.com>
1683         * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
1684         * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
1685         dereference end iterator.
1686         * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
1687         * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
1688         index equal to the length of a string.
1689         * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
1690         * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
1691         * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
1692         * testsuite/22_locale/ctype/widen/char/1.cc: Same.
1693         * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
1694         * testsuite/23_containers/list_modifiers.cc: Don't dereference
1695         singular reverse iterator.
1696         * testsuite/23_containers/vector_bool.cc: Don't increment singular
1697         iterator.
1698         * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
1700 2003-06-20  Doug Gregor <dgregor@apple.com>
1702         * include/bits/basic_string.h (basic_string::replace): Dispatch
1703         _InputIterator version based on _Is_integer.
1704         * include/bits/basic_string.tcc (basic_string::replace):
1705         Renamed replace(iterator, iterator, size_type, _CharT) to
1706         _M_replace_aux.
1707         * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
1708         Test basic_string::assign(_InputIterator, _InputIterator),
1709         which calls basic_string::replace(iterator, iterator,
1710         _Input_iterator, _InputIterator).
1712 2003-06-20  Benjamin Kosnik  <bkoz@redhat.com>
1714         * testsuite/testsuite_performance.h (resource_counter): Don't use
1715         mallinfo at the moment.
1717 2003-06-20  Matthias Klose  <doko@debian.org>
1719         * configure.host: Set try_cpu to target_cpu for existing
1720         baseline files.
1722 2003-06-19  Andreas Jaeger  <aj@suse.de>
1724         * testsuite/Makefile.am (extract_symvers): Revert accidental
1725         change.
1726         * testsuite/Makefile.in: Regenerate.
1728         * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
1729         * configure: Regenerated.
1731 2003-06-19  Paolo Carlini  <pcarlini@unitus.it>
1733         * include/std/std_sstream.h (_M_sync): Make non virtual.
1735 2003-06-18  Benjamin Kosnik  <bkoz@redhat.com>
1737         * testsuite/testsuite_performance.h (time_counter): New.
1738         (resource_counter): New.
1739         (report_performance): New.
1740         (start_counters): New.
1741         (stop_counters): New.
1742         (clear_counters): New.
1743         * testsuite/performance/allocator.cc: Instrument.
1744         * testsuite/performance/cout_insert_int.cc: Same.
1745         * testsuite/performance/complex_norm.cc: Same.
1746         * testsuite/performance/filebuf_sputc.cc: New.
1747         * testsuite/performance/fstream_seek_write.cc: Same.
1748         * testsuite/performance/ifstream_getline.cc: Same.
1749         * testsuite/performance/map_create_fill.cc: Same.
1750         * testsuite/performance/ofstream_insert_float.cc: Same.
1751         * testsuite/performance/ofstream_insert_int.cc: Same.
1752         * testsuite/performance/string_append.cc: Convert.
1753         * scripts/check_performance: New.
1754         * testsuite/Makefile.am (check-performance): New.
1755         (CLEANFILES): Add.
1757 2003-06-18  Paolo Carlini  <pcarlini@unitus.it>
1758             Benjamin Kosnik  <bkoz@redhat.com>
1760         * include/std/std_sstream.h (setbuf): Check __n >= 0.
1761         * include/bits/fstream.tcc (setbuf): Tweak.
1763 2003-06-18  Paolo Carlini  <pcarlini@unitus.it>
1765         * include/bits/sstream.tcc (seekoff): We can't seek beyond
1766         _M_out_lim, therefore _M_move_out_cur boils down to simply
1767         updating _M_out_cur.
1768         (seekpos): Likewise, clean up.
1770 2003-06-18  Nathan C. Myers  <ncm-nospam@cantrip.org>
1771             Paolo Carlini  <pcarlini@unitus.it>
1773         * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
1774         simply equivalent to the unbuffered case (0, 0) as far as
1775         _M_buf_size is concerned.
1777 2003-06-18  Andreas Jaeger  <aj@suse.de>
1779         * testsuite/Makefile.am (new-abi-baseline): Create baseline
1780         directory.
1781         (baseline_file): Use baseline_dir.
1782         (baseline_dir): New.
1783         (mkinstalldirs): New.
1785         * acinclude.m4: Rename baseline_file to baseline_dir, strip
1786         filename from baseline_dir.
1788         * testsuite/Makefile.in: Regenerated.
1789         * Makefile.in: Regenerated.
1790         * aclocal.m4: Regenerated.
1791         * configure: Regenerated.
1793 2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
1795         * configure.in: Missed check_survey bit.
1796         * configure: Regenerated.
1798 2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
1800         * scripts: New.
1801         * config/abi/extract_symvers: Move to...
1802         * scripts/extract_symvers: ...here.
1803         * mkcheck.in: Move to..
1804         * scripts/check_survey.in: ...here.
1805         * testsuite_flags.in: Move to..
1806         * scripts/testsuite_flags.in: ...here.
1807         * configure.in: Change check and testsuite_flags locations.
1808         * configure: Regenerate.
1809         * testsuite/Makefile.am (current_symbols.txt): Change location.
1810         * testsuite/Makefile.in: Regenerate.
1811         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1812         location of testsuite_flags.
1813         * Makefile.am (check-script): Move..
1814         (check-script-install): Move...
1815         * testsuite/Makefile.am: ... here.
1816         * testsuite/Makefile.in: Regenerate.
1817         * Makefile.in: Regenerate.
1819 2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
1821         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
1823 2003-06-16  Benjamin Kosnik  <bkoz@redhat.com>
1825         * Makefile.am (check-abi): Move...
1826         (new-abi-baseline): Move...
1827         * testsuite/Makefile.am: ...here.
1828         (new-abi-baseline): Conditionalize.
1829         (check-abi): Conditionalize.
1830         (check-abi-verbose): New.
1831         * Makefile.in: Regenerate.
1832         * testsuite/Makefile.in: Regenerate.
1833         * configure.in: Consolidate testsuite configure bits.
1834         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
1835         * configure: Regenerate.
1836         * aclocal.m4: Regenerate.
1837         * testsuite/abi_check.cc: Add --check-verbose.
1838         Only output detailed information if --check-verbose.
1840 2003-06-16  Andreas Jaeger  <aj@suse.de>
1842         * testsuite/abi_check.cc: Create summary report.
1844 2003-06-16  Paolo Carlini  <pcarlini@unitus.it>
1846         * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
1847         for systems with BUFSIZ != 8192.
1848         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1849         * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
1850         Minor tweaks.
1852 2003-06-16  Andreas Jaeger  <aj@suse.de>
1854         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
1855         check-abi multilib aware.
1856         * aclocal.m4: Regenerate.
1857         * configure: Regenerate.
1859 2003-06-16  Benjamin Kosnik  <bkoz@redhat.com>
1860             Andreas Jaeger  <aj@suse.de>
1862         * configure.host: Set x86_64 abi_baseline pair correctly.
1864 2003-06-16  Paolo Carlini  <pcarlini@unitus.it>
1866         * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
1867         fix for missing seeks between gets and puts into...
1868         * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
1869         * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
1870         * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
1871         * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
1872         * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
1873         * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
1875 2003-06-15  Richard Henderson  <rth@redhat.com>
1877         * config/linker-map.gnu: Export virtual function thunks for
1878         64-bit systems too.
1880 2003-06-13  Benjamin Kosnik  <bkoz@redhat.com>
1882         * config/abi/i686-pc-linux-gnu: To..
1883         * config/abi/i486-linux-gnu: ...this.
1884         * config/abi/alphaev67-unknown-linux-gnu: To..
1885         * config/abi/alpha-linux-gnu: ...this.
1886         * config/abi/ia64-unknown-linux-gnu: To...
1887         * config/abi/ia64-linux-gnu: ...this.
1888         * config/abi/x86_64-unknown-linux-gnu: To...
1889         * config/abi/x86_64-linux-gnu: ...this.
1890         * config/abi/i386-unknown-freebsd4: To...
1891         * config/abi/i386-freebsd4: ...this.
1892         * config/linker-map.gnu: Cleanups, move libsupc++ bits into
1893         CXXABI.
1894         * configure.host: abi_baseline_triplet to abi_baseline_pair.
1895         Simplify cpu bits so that abi_baseline_pair can use the same
1896         cpu configuration.
1897         * acinclude.m4: Same.
1898         * aclocal.m4: Regenerate.
1899         * configure.in: Can't get enable_abi_check to yes unless native.
1900         * configure: Regenerate.
1902 2003-06-13  Paolo Carlini  <pcarlini@unitus.it>
1904         * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
1905         fix for missing seeks between gets and puts into...
1906         * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
1907         * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
1908         * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
1909         * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
1910         * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
1911         * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
1912         for missing seeks between gets and puts.
1913         * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
1914         * testsuite/data/seekoff-1.tst: New.
1915         * testsuite/data/seekoff-2.tst: New.
1916         * testsuite/data/seekpos-1.tst: New.
1917         * testsuite/data/seekpos-2.tst: New.
1919 2003-06-13  Nathan C. Myers <ncm-nospam@cantrip.org>
1921         Avoid multi-processor bus contention on increment/decrement-and-
1922         test of the reference count in the empty-string object, by comparing
1923         addresses first, and never touching the reference count of the empty-
1924         string object.
1925         * include/bits/basic_string.h:
1926         (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
1927         members.
1928         (_Rep::_S_empty_rep()): New accessor.
1929         (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
1930         a base class _Rep_base.
1931         (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
1932         (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
1933         since no longer must increment its refcount.
1934         * include/bits/basic_string.tcc:
1935         (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
1936         return immediately.  The former might be unnecessary.  The latter
1937         prevents begin() and end() from cloning it unnecessarily.
1938         (_S_construct(_InIterator, _InIterator, const _Alloc&,
1939         input_iterator_tag), _S_construct(_InIterator, _InIterator,
1940         const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
1941         const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
1942         (_M_mutate): Check for the empty string and treat it as shared.
1943         This is necessary here because _M_mutate is sometimes called with
1944         all-zero arguments; in all other uses of _M_is_shared, the test comes
1945         out right anyhow.
1947 2003-06-12  Benjamin Kosnik  <bkoz@redhat.com>
1949         * src/allocator-inst.cc: Explicitly instantiate.
1950         * include/ext/pool_allocator.h: Inhibit implicit instantiations.
1951         Tweaks.
1952         * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
1954 2003-06-11  Benjamin Kosnik  <bkoz@redhat.com>
1956         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
1957         * aclocal.m4: Regenerate.
1958         * Makefile.am (SUBDIRS): Remove libio.
1959         * Makefile.in: Regenerate.
1960         * configure.in: Same.
1961         * configure: Regenerate.
1962         * config/io/basic_file_libio.cc: Remove.
1963         * config/io/basic_file_libio.h: Remove.
1964         * config/io/c_io_libio_codecvt.c: Remove.
1965         * config/io/c_io_libio.h: Remove.
1966         * libio/*: Remove.
1967         * src/Makefile.am: Same.
1968         * src/Makefile.in: Regenerate.
1969         * docs/html/configopts.html: Edits.
1970         * docs/html/explanations.html: Edits.
1972 2003-06-11  Benjamin Kosnik  <bkoz@redhat.com>
1974         * include/bits/stl_alloc.h (__debug_alloc): Move out.
1975         (__malloc_alloc): Same.
1976         (__pool_alloc): Same.
1977         (__new_alloc): Same.
1978         Rename to..
1979         * include/bits/allocator.h: ...this.
1980         * include/bits/stl_deque.h: Modify comment.
1981         * include/bits/stl_tree.h: Modify include.
1982         * include/std/std_memory.h: Same.
1983         * include/ext/rope: Same.
1984         * include/ext/slist: Same.
1985         * include/std/std_vector.h: Same.
1986         * include/std/std_stack.h: Same.
1987         * include/std/std_queue.h: Same.
1988         * include/std/std_list.h: Same.
1989         * include/std/std_deque.h: Same.
1990         * include/backward/alloc.h: Same.
1991         * include/ext/debug_allocator.h: New.
1992         * include/ext/malloc_allocator.h: New.
1993         * include/ext/pool_allocator.h: New.
1994         * include/ext/new_allocator.h: New.
1995         * include/bits/pthread_allocimpl.h: Remove.
1996         * include/bits/stl_pthread_alloc.h: Remove.
1997         * include/Makefile.am (ext_headers): Add.
1998         * include/Makefile.in: Regenerate.
1999         * src/stl-inst.cc: Use __gnu_cxx namespace.
2000         * src/stl-inst.cc: Move to...
2001         * src/allocator-inst.cc: Here.
2002         * src/Makefile.am (sources): Update.
2003         * src/Makefile.in: Regenerate.
2004         * config/linker-map.gnu: Remove __pool_alloc bits.
2005         * testsuite/ext/headers.cc: Add.
2006         * testsuite/ext/allocators.cc: Fixup.
2008 2003-06-11  Stefan Olsson  <stefan@snon.net>
2009             Ola Rönnerup  <fnolis@home.se>
2011         * include/Makefile.am (ext_headers): Add.
2012         * include/Makefile.in: Regenerate.
2013         * include/ext/mt_allocator.h: New file.
2015 2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
2017         * include/bits/fstream.tcc (close): Clean up a bit.
2019         * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
2021         * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
2022         - the saved _M_in_cur, that is - cannot be null.
2023         (sync): Constify a variable.
2025         * include/std/std_streambuf.h: Tweak a comment.
2026         (in_avail): Constify a variable.
2028 2003-06-10  Phil Edwards  <pme@gcc.gnu.org>
2030         * docs/html/17_intro/BUGS:  Update from 2.90.8 snapshot.
2031         * docs/html/17_intro/CHECKLIST:  Bring up to date with respect to
2032         correctness of container::iterator typedefs.  Fix whitespace.
2033         * docs/html/20_util/howto.html, docs/html/ext/howto.html:  Add links
2034         to allocator docs.
2035         * docs/html/documentation.html:  Regenerate.
2037         * include/bits/basic_string.h, include/bits/basic_string.tcc,
2038         include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
2039         include/bits/stl_algobase.h, include/bits/stl_bvector.h,
2040         include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
2041         include/bits/stl_list.h, include/bits/stl_uninitialized.h,
2042         include/bits/stl_vector.h, include/bits/vector.tcc,
2043         include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
2044         Change _Iter names to _Iterator, and __pos to __position.
2046         * include/bits/stl_relops.h, include/bits/stl_numeric.h,
2047         include/bits/stl_multiset.h, include/bits/stl_set.h:
2048         Remove emacs markers.
2050         * include/bits/stl_threads.h (_STL_auto_lock):  Add __unused__.
2052 2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
2054         * include/bits/fstream.tcc (overflow): According to
2055         27.5.2.4.5, overflow() returns not_eof(eof()).
2056         * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
2057         * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2059 2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
2061         * include/bits/fstream.tcc (_M_underflow): Check overflow return
2062         value; tweak slightly.
2064 2003-06-09  Paolo Carlini  <pcarlini@unitus.it>
2066         * include/bits/fstream.tcc (_M_underflow): Do not special
2067         case the unbuffered case, which really means simply a one char
2068         get area.
2069         (basic_filebuf): Initialize _M_buf_size.
2070         (setbuf): Unbuffered means _M_buf_size == 1, since only
2071         _M_buf_size - 1 == 0 chars are going to be used for the
2072         put area and 1 for the get area.
2073         * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
2074         (~basic_streambuf): Tweak.
2075         (basic_streambuf): Do not initialize _M_buf_size.
2076         * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
2077         (~basic_filebuf): Tweak.
2078         (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
2079         unbuffered situation (i.e., put area pointers NULL).
2080         * include/bits/streambuf.tcc (sbumpc): Clean up.
2081         * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2082         * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2083         * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2084         * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2085         * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2086         * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2087         * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2089 2003-06-09  Phil Edwards  <pme@gcc.gnu.org>
2091         * acinclude.m4:  Move all AM_CONDITIONAL calls out.
2092         (GLIBCPP_CONFIGURE):  Set defaults for variables used in AM_CONDITIONAL
2093         statements.
2094         * configure.in:  Centralize AM_CONDITIONALs so that they are always
2095         run.  Make use of GLIBCPP_IS_CROSS_COMPILING.
2096         * aclocal.m4, configure:  Regenerated.
2098 2003-06-09  Paolo Carlini  <pcarlini@unitus.it>
2100         * docs/html/ext/howto.html ('LWG Issues'):  Add issue 235.
2102 2003-06-06  Nathan Myers  <ncm-nospam@cantrip.org>
2104         * include/bits/stl_iterator.h
2105         (reverse_iterator::reverse_iterator()): Apply DR235: default
2106         constructor default-initializes data member.  Instantiated on a
2107         pointer type, the member has to end up equal to zero.
2109 2003-06-06  Benjamin Kosnik  <bkoz@redhat.com>
2111         * include/bits/stl_alloc.h: Cleanups.
2112         * include/ext/functional: Same.
2113         * include/ext/hash_map: Same.
2114         * include/ext/hash_set: Same.
2115         * include/ext/iterator: Same.
2116         * include/ext/memory: Same.
2117         * include/ext/numeric: Same.
2118         * include/ext/rb_tree: Same.
2119         * include/ext/ropeimpl.h: Same.
2120         * include/ext/slist: Same.
2121         * include/ext/stdio_filebuf.h: Same.
2122         * include/ext/stdio_sync_filebuf.h: Same.
2123         * include/ext/stl_rope.h: Move to...
2124         * include/ext/rope: ...here.
2125         * include/ext/stl_hash_fun.h: Move to...
2126         * include/ext/hash_fun.h: ...here.
2127         * include/ext/stl_hashtable.h: Move to...
2128         * include/ext/hashtable.h: ...here.
2129         * include/backward/hashtable.h: Reflect new names.
2130         * include/Makefile.am: Same.
2131         * include/Makefile.in: Regenerated.
2133 2003-06-05  Benjamin Kosnik  <bkoz@redhat.com>
2135         PR libstdc++/9024
2136         * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2137         * include/bits/stl_algobase.h: Tweak.
2138         * include/std/std_fstream.h: Move _M_buf_size to...
2139         * include/std/std_streambuf.h: ...here. Modify.
2140         * include/bits/streambuf.tcc: Same.
2141         * testsuite/testsuite_hooks.h: Tweak.
2142         * testsuite/testsuite_io.h (constraint_filebuf): New.
2143         * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2144         * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2145         * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2146         * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2147         * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2148         * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2149         * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2150         * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2151         * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2152         * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2153         * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2154         * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2155         * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2156         * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2157         * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2158         * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2159         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2160         * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2161         * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2162         * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2163         * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2164         * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2165         * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2166         * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2167         * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2168         * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2169         * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2170         * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2171         * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2172         * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2173         * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2174         * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2175         * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2176         * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2177         * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2178         * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2179         * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2180         * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2181         * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2182         * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2183         * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2184         * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2185         * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2186         * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2187         * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2188         * testsuite/data/sgetc.txt: New.
2189         * testsuite/data/sgetn.txt: New.
2191 2003-06-05  Paolo Carlini  <pcarlini@unitus.it>
2193         PR libstdc++/11095
2194         * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2195         Deal with width() smaller than zero.
2196         * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2197         operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2198         _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2199         char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2200         operator<<(basic_ostream, const basic_string&)): Likewise.
2202         * testsuite/27_io/basic_istream/extractors_character/char/
2203         (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2204         * testsuite/27_io/basic_ostream/inserters_character/char/
2205         (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2206         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2207         (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2209 2003-06-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2211         * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2212         .gch compilation works.
2213         * aclocal.m4, configure: Regenerate.
2214         * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2215         initialize PCHFLAGS.
2217 2003-06-04  Paolo Carlini  <pcarlini@unitus.it>
2219         * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2220         erase(iterator), erase(iterator, iterator), c_str,
2221         compare(const basic_string&)): Constify various variables.
2222         * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2223         const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2224         _S_create, resize, _M_replace, _M_replace_safe,
2225         append(const basic_string&), append(const basic_string&, size_type,
2226         size_type), append(const _CharT*, size_type), append(size_type,
2227         _CharT), operator+(const _CharT*, const basic_string&),
2228         operator+(_CharT, const basic_string&), replace(iterator, iterator,
2229         size_type, _CharT), find(const _CharT*, size_type, size_type),
2230         find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2231         rfind(_CharT, size_type), compare(size_type, size_type,
2232         const basic_string&), compare(size_type, size_type,
2233         const basic_string&, size_type, size_type), compare(const _CharT*),
2234         compare(size_type, size_type, const _CharT*), compare(size_type,
2235         size_type, const _CharT*, size_type)): Likewise.
2237 2003-06-03  Benjamin Kosnik  <bkoz@redhat.com>
2239         * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2240         'if' branch less obscure.
2242 2003-06-02  Andrew Pinski  <pinskia@physics.uc.edu>
2244         PR libstdc++/9815
2245         * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2246         asm case to asm.
2247         * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2248         (__atomic_add): likewise.
2250 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2252         * include/bits/sstream.tcc (pbackfail): Minor clean up and
2253         reformatting, consistent with basic_filebuf::pbackfail.
2255 2003-06-02  Richard Kreckel  <Richard.Kreckel@GiNaC.DE>
2257         PR libstdc++/11062
2258         * config/cpu/mips/atomicity.h:  Change __attribute__ ((unused)) to
2259         __attribute__ ((__unused__)).
2260         * config/os/aix/atomicity.h:  Likewise.
2262 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2264         PR libstdc++/9761
2265         * include/bits/fstream.tcc (pbackfail): If the pback buffer
2266         is already active don't try to store in it a second char.
2267         * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2269         * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2271 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2273         * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2274         line spacing.
2276 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2278         * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2279         instead of unnecessarily taking the address of _M_pback.
2280         (xsgetn): Simplify slightly for a single char pback buffer.
2282 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2284         * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2285         variables and two 'if', clean up.
2287 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2289         * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2290         not _M_out_end, since the former actually points to the string
2291         end (vs buffer end).
2292         * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2294 2003-05-30  Phil Edwards  <pme@gcc.gnu.org>
2296         * docs/doxygen/filter:  New file.
2297         * docs/doxygen/filter.sed:  New file.
2298         * docs/doxygen/run_doxygen:  Add g flag to sed substitutions.  Duh.
2299         * docs/doxygen/user.cfg.in (INPUT_FILTER):  Point to new filter.
2300         * docs/html/documentation.html:  Fix links to doxygen pages.
2302 2003-05-30  Paolo Carlini  <pcarlini@unitus.it>
2304         * include/bits/fstream.tcc (_M_convert_to_external): Don't
2305         check for __ilen > 0.
2307 2003-05-29  Sylvain Pion  <Sylvain.Pion@mpi-sb.mpg.de>
2309         PR libstdc++/10783
2310         * include/bits/stl_iterator.h (class __normal_iterator):
2311         Don't inherit from iterator, add missing typedefs.
2313 2003-05-29  Paolo Carlini <pcarlini@unitus.it>
2315         * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2316         * testsuite/24_iterators/reverse_iterator/1.cc: New.
2317         * testsuite/24_iterators/reverse_iterator/2.cc: New.
2318         * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2319         PR libstdc++/10783.
2321 2003-05-27  Steve Ellcey  <sje@cup.hp.com>
2323         * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2324         on IA64 HP-UX.
2325         * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2326         _LIBUNWIND_STD_ABI is set.
2328 2003-05-26  Brendan Kehoe  <brendan@zen.org>
2330         * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2331         make sure the number of digits required after the decimal-point
2332         (if any) is exactly the value returned by frac_digits().
2333         * testsuite/22_locale/money_get/get/char/9.cc: New.
2334         * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2336 2003-05-27  Jonathan Wakely  <redi@gcc.gnu.org>
2338         * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2339         comment.
2341 2003-05-26  Benjamin Kosnik  <bkoz@redhat.com>
2343         PR libstdc++/9339
2344         * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2345         (_M_pback): No array necessary.
2346         * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2347         unbuffered case, coalesec into ...
2348         (basic_filebuf::overflow): ...this.
2349         * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2350         * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2352 2003-05-24  Nathanael Nerode  <neroden@gcc.gnu.org>
2354         * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2355         libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2356         libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2357         libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2358         libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2359         libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2360         libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2361         libsupc++/eh_unex_handler.cc, libsupc++/exception,
2362         libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2363         libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2364         libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2365         libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2366         Replace "GNU CC" with "GCC".
2368         * include/backward/new.h: Replace "GNU CC" with "GCC".
2370 2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2372         PR libstdc++/3066.
2373         * configure.in: Switch target to host, don't assume newlib.
2374         (target_alias): Remove.
2375         * configure: Regenerate.
2376         * acinclude.m4: Same.
2377         * aclocal.m4: Regenerate.
2378         * configure.target: Same. Rename to...
2379         * configure.host: This.
2381 2003-05-22  Paolo Carlini  <pcarlini@unitus.it>
2383         * include/std/std_fstream.h (_S_pback_size): Remove definition.
2384         (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
2385         pback buffer.
2386         * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
2387         * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
2388         of _S_pback_size for systems with no COMDAT or weak support.
2389         * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
2390         * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
2391         * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
2392         * testsuite/27_io/basic_fstream/3.cc: Likewise.
2393         * testsuite/27_io/basic_ifstream/3.cc: Likewise.
2394         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
2395         * testsuite/27_io/basic_ofstream/3.cc: Likewise.
2396         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
2397         * testsuite/27_io/basic_streambuf/3.cc: Likewise.
2399 2003-05-22  Paolo Carlini  <pcarlini@unitus.it>
2401         * include/bits/fstream.tcc (_M_underflow): Simplify:
2402         !__testout implies _M_filepos == _M_in_end, therefore
2403         the first _M_file.seekoff call is never issued.
2405 2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2407         * configure.in: Sort cross table.
2408         * configure: Regenerate.
2410 2003-05-22  Brad Spencer  <spencer@infointeractive.com>
2412         PR libstdc++/10106
2413         * configure.in: Add Solaris cross bits.
2415 2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
2417         * libstdc++-v3/config/os/mingw32/os_defines.h
2418         (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
2419         (NOMINMAX): Define.  Update copyright year.
2421 2003-05-21  Paolo Carlini  <pcarlini@unitus.it>
2423         * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
2425 2003-05-21  Jonathan Wakely  <redi@gcc.gnu.org>
2427         * docs/html/faq/index.html: Fix typo.
2428         * docs/html/faq/index.txt: Regenerate.
2430 2003-05-21  Jonathan Wakely  <redi@gcc.gnu.org>
2432         * docs/html/test.html: Fix markup.
2434 2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
2436         * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
2437         zero.
2438         Update copyright year.
2440 2003-05-20  Paolo Carlini  <pcarlini@unitus.it>
2442         * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
2444 2003-05-20  Paolo Carlini  <pcarlini@unitus.it>
2446         * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
2447         further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
2449 2003-05-20  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2451         * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
2452         Cast via void* to avoid -Wcast-align warnings.
2453         (__default_alloc_template::_S_refill): Likewise.
2455 2003-05-20  Benjamin Kosnik  <bkoz@redhat.com>
2457         * testsuite/README: Move to...
2458         * docs/html/test.html: ...here. Add documentation.
2459         * docs/html/install.html: Move testing bits out..
2460         * docs/html/documentation.html: Add separate testing link.
2461         * testsuite/performance: Add.
2462         * testsuite/performance/allocator.cc: New.
2463         * testsuite/performance/complex_norm.cc: New.
2464         * testsuite/performance/cout_insert_int.cc: New.
2465         * testsuite/performance/fstream_seek_write.cc: New.
2466         * testsuite/performance/ifstream_getline.cc: New.
2467         * testsuite/performance/map_create_fill.cc: New.
2468         * testsuite/performance/ofstream_insert_float.cc: New.
2469         * testsuite/performance/ofstream_insert_int.cc: New.
2470         * testsuite/performance/string_append.cc: New.
2471         * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
2472         performance tests.
2474 2003-05-20  Gabriel Dos Reis <gdr@integrable-solutions.net>
2476         PR libstdc++/10689
2477         * include/std/std_complex.h (pow): Tidy.
2479 2003-05-19  Paolo Carlini  <pcarlini@unitus.it>
2481         * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
2482         that upon filebuf::close() 27.8.1.1,3 is enforced.
2484 2003-05-15  Loren J. Rittle  <ljrittle@acm.org>
2486         * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
2488 2003-05-15  Paolo Carlini  <pcarlini@unitus.it>
2489             Nathan Myers  <ncm@cantrip.org>
2491         * include/bits/fstream.tcc (_M_overflow): Rewrote to call
2492         _M_convert_to_external only once (_M_buf_size is now the size of
2493         the put area + 1 for the overflow char of a full area); call
2494         _M_set_buffer instead of _M_set_indeterminate.
2495         (setbuf): Don't accept a buffer smaller than 2 chars.
2496         (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
2497         instead of _M_set_determinate.
2498         (open): Call _M_set_buffer, instead of _M_set_indeterminate.
2499         (seekoff): Likewise.
2500         * include/ext/stdio_filebuf.h (stdio_filebuf(int,
2501         std::ios_base::openmode, bool, size_t),
2502         stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
2503         Likewise.
2504         * include/std/std_fstream.h (_M_set_indeterminate): Remove.
2505         (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
2506         _M_buf_size - 1.
2507         * include/std/std_streambuf.h: Tweak _M_out_lim comment.
2508         * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
2509         into account that, for _M_buf_size == BUFSIZ == 8192, the size of
2510         the put area is now BUFSIZ - 1.
2511         * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
2512         that now the smallest _M_buf_size is 2 (still fails, for the same
2513         reason, with 3.2.3)
2515 2003-05-14  Loren J. Rittle  <ljrittle@acm.org>
2517         * testsuite/thread/pthread4.cc: Tweak test.
2519 2003-05-13  Benjamin Kosnik  <bkoz@redhat.com>
2521         * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
2522         excess errors dg marker, use dg-errors instead.
2523         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2524         * testsuite/20_util/auto_ptr_neg.cc: Same.
2526 2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
2528         * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
2529         cached member.
2530         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
2531         Initialize _M_codecvt.
2532         (basic_filebuf::imbue): Same.
2533         (basic_filebuf::showmanyc): Use it.
2534         (basic_filebuf::underflow): Use it.
2535         (basic_filebuf::_M_convert_to_external): Use it.
2536         (basic_filebuf::seekoff): Use it.
2537         (basic_filebuf::imbue): Use it, tweaks.
2538         * include/bits/localefwd.h (__check_facet): New.
2539         * include/bits/locale_classes.h: Tweaks.
2540         * include/bits/locale_facets.tcc: Tweaks.
2541         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
2542         _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
2543         _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
2544         * include/bits/basic_ios.tcc: Same.
2545         * include/bits/istream.tcc: Same.
2546         * include/bits/ostream.tcc: Same.
2547         * include/std/std_streambuf.h: Same.
2548         * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
2549         * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
2550         * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
2551         * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
2552         * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
2553         * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
2555 2003-05-12  Paolo Carlini  <pcarlini@unitus.it>
2557         * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
2558         unnecessary includes and unused string literals.
2559         * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
2560         * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
2561         * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
2562         * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
2564 2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
2566         * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
2568 2003-05-12  Paolo Carlini  <pcarlini@unitus.it>
2570         * include/std/std_fstream.h (_M_convert_to_external): Change
2571         to return bool, take two less streamsize parameters.
2572         * include/bits/fstream.tcc (_M_convert_to_external): Tweak
2573         consistently definition.
2574         (_M_overflow): Adjust call points.
2576 2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
2578         * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
2580 2003-05-11  Phil Edwards  <pme@gcc.gnu.org>
2582         * testsuite/Makefile.am:  Properly quote /both/ LD_RUN_PATHs.
2583         * testsuite/Makefile.in:  Regenerate.
2585 2003-05-11  Phil Edwards  <pme@gcc.gnu.org>
2587         * testsuite/Makefile.am:  Properly quote LD_RUN_PATH.
2588         * testsuite/Makefile.in:  Regenerate.
2590 2003-05-11  Gabriel Dos Reis <gdr@integrable-solutions.net>
2592         PR libstdc++/3181
2593         * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
2594         (acos): Handle integer argument.
2595         (asin): Likewise.
2596         (atan): Likewise.
2597         (atan2): Likewise.
2598         (ceil): Likewise.
2599         (cos): Likewise.
2600         (cosh): Likewise.
2601         (exp): Likewise.
2602         (fabs): Likewise.
2603         (floor): Likewise.
2604         (frexp): Likewise.
2605         (ldexp): Likewise.
2606         (log): Likewise.
2607         (log10): Likewise.
2608         (sin): Likewise.
2609         (sinh): Likewise.
2610         (sqrt): Likewise.
2611         (tan): Likewise.
2612         (tanh): Likewise.
2613         * include/bits/cpp_type_traits.h (__are_same<>): New traits.
2614         (__enable_if): Likewise.
2615         * testsuite/26_numerics/cmath/overloads.C: New test.
2617 2003-05-10  Petur Runolfsson  <peturr02@ru.is>
2619         PR libstdc++/9027
2620         PR libstdc++/9520
2621         PR libstdc++/10096
2622         * include/bits/fstream.tcc (basic_file::_M_underflow):  Add generic
2623         implementation, based on old wchar_t specialization, add support
2624         for codecvt::in() return value of codecvt_base::noconv, remove
2625         _M_file.sys_ungetc() call.
2626         * include/std/std_fstream.h (basic_file::underflow,
2627         basic_file::uflow, basic_file::_M_underflow):  Remove
2628         specialization declarations, call _M_underflow from generic versions
2629         of underflow and uflow.
2630         * src/fstream.cc (basic_file::underflow, basic_file::uflow,
2631         basic_file::_M_underflow):  Remove specializations.
2632         * src/Makefile.am (sources):  Remove fstream.cc.
2633         * src/Makefile.in:  Regenerated.
2634         * testsuite/27_io/basic_filebuf/underflow/10096.cc:  New test.
2635         * testsuite/27_io/basic_filebuf/underflow/char/1.cc:  New test.
2636         * testsuite/27_io/basic_filebuf/underflow/char/9027.cc:  New test.
2637         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc:  New test.
2639 2003-05-10  Benjamin Kosnik  <bkoz@redhat.com>
2641         * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
2642         buffer.
2643         * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
2644         unbuffered bits.
2645         (__basic_file::xsputn): Same.
2646         (__basic_file::seekoff): Same.
2647         (__basic_file::seekpos): Same.
2648         (__basic_file::showmanyc): Same.
2649         * config/io/basic_file_stdio.cc: Same.
2650         * include/std/std_fstream.h: Same.
2651         * include/bits/fstream.tcc: Same.
2652         * src/fstream.cc: Same.
2653         * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
2655 2003-05-10  Petur Runolfsson  <peturr02@ru.is>
2657         PR libstdc++/9520
2658         PR libstdc++/9661
2659         PR libstdc++/9662
2660         * include/ext/stdio_sync_filebuf.h:  New file.
2661         (basic_stdiobuf):  New.
2662         * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
2663         * include/Makefile.in: Regenerate.
2664         * include/bits/ios_base.h (Init::_S_create_buffers,
2665         Init::_S_destroy_buffers):  Remove declarations.
2666         * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
2667         buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync):  Define.
2668         * src/ios.cc (Init::_S_create_buffers,
2669         Init::_S_destroy_buffers):  Remove.
2670         (Init::Init):  Create and use syncronized buffers.
2671         (ios_base::sync_with_stdio):  Destroy syncronized buffers,
2672         create and install unsyncronized buffers.
2673         * testsuite/27_io/objects/char/10.cc:  New test.
2674         * testsuite/27_io/objects/char/9.cc:  New test.
2675         * testsuite/27_io/objects/char/9661-1.cc:  New test.
2676         * testsuite/27_io/objects/char/9661-2_xin.cc:  New test.
2677         * testsuite/27_io/objects/char/9661-2_xin.in:  New.
2678         * testsuite/27_io/objects/wchar_t/1.cc:  New test.
2679         * testsuite/27_io/objects/wchar_t/10.cc:  New test.
2680         * testsuite/27_io/objects/wchar_t/2.cc:  New test.
2681         * testsuite/27_io/objects/wchar_t/2523-1_xin.cc:  New test.
2682         * testsuite/27_io/objects/wchar_t/2523-1_xin.in:  New.
2683         * testsuite/27_io/objects/wchar_t/2523-2_xin.cc:  New test.
2684         * testsuite/27_io/objects/wchar_t/2523-2_xin.in:  New.
2685         * testsuite/27_io/objects/wchar_t/3045.cc:  New test.
2686         * testsuite/27_io/objects/wchar_t/3647.cc:  New test.
2687         * testsuite/27_io/objects/wchar_t/3_xin.cc:  New test.
2688         * testsuite/27_io/objects/wchar_t/3_xin.in:  New.
2689         * testsuite/27_io/objects/wchar_t/4_xin.cc:  New test.
2690         * testsuite/27_io/objects/wchar_t/4_xin.in:  New.
2691         * testsuite/27_io/objects/wchar_t/5.cc:  New test.
2692         * testsuite/27_io/objects/wchar_t/5268.cc:  New test.
2693         * testsuite/27_io/objects/wchar_t/5280_xin.cc:  New test.
2694         * testsuite/27_io/objects/wchar_t/5280_xin.in:  New.
2695         * testsuite/27_io/objects/wchar_t/6.cc:  New test.
2696         * testsuite/27_io/objects/wchar_t/6548_xin.cc:  New test.
2697         * testsuite/27_io/objects/wchar_t/6548_xin.in:  New.
2698         * testsuite/27_io/objects/wchar_t/6648-1_xin.cc:  New test.
2699         * testsuite/27_io/objects/wchar_t/6648-1_xin.in:  New.
2700         * testsuite/27_io/objects/wchar_t/6648-2_xin.cc:  New test.
2701         * testsuite/27_io/objects/wchar_t/6648-2_xin.in:  New.
2702         * testsuite/27_io/objects/wchar_t/7.cc:  New test.
2703         * testsuite/27_io/objects/wchar_t/7744_xin.cc:  New test.
2704         * testsuite/27_io/objects/wchar_t/7744_xin.in:  New.
2705         * testsuite/27_io/objects/wchar_t/8.cc:  New test.
2706         * testsuite/27_io/objects/wchar_t/9_xin.cc:  New test.
2707         * testsuite/27_io/objects/wchar_t/9_xin.in:  New.
2708         * testsuite/27_io/objects/wchar_t/9520.cc:  New test.
2709         * testsuite/27_io/objects/wchar_t/9661-1.cc:  New test.
2710         * testsuite/27_io/objects/wchar_t/9661-2_xin.cc:  New test.
2711         * testsuite/27_io/objects/wchar_t/9661-2_xin.in:  New.
2712         * testsuite/27_io/objects/wchar_t/9662.cc:  New test.
2713         * testsuite/ext/stdiobuf_char.cc:  New test.
2714         * testsuite/ext/stdiobuf_wchar_t.cc:  New test.
2716 2003-05-10  Paolo Carlini  <pcarlini@unitus.it>
2718         * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
2719         unnecessary includes and unused string literals.
2720         * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
2722 2003-05-08  Paolo Carlini  <pcarlini@unitus.it>
2724         * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
2726 2003-05-07  Richard Henderson  <rth@redhat.com>
2728         PR c++/10570
2729         * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
2730         (__cxa_end_catch): Likewise.
2731         * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise.  Use
2732         _Unwind_Resume_or_Rethrow.
2733         * libsupc++/eh_personality.cc (empty_exception_spec): New.
2734         (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
2735         for _UA_FORCE_UNWIND.  Honor empty filter spec for foreign
2736         exceptions.  Don't push terminate/unexpected to cxa functions.
2737         (__cxa_call_unexpected): Remove foreign exception fixmes.
2739 2003-05-07  Benjamin Kosnik  <bkoz@redhat.com>
2741         * testsuite/27_io/ios_base/cons: New.
2742         * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
2743         * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
2745 2003-05-07  Paolo Carlini  <pcarlini@unitus.it>
2747         * include/std/std_fstream.h (_M_is_indeterminate): Remove.
2748         * src/fstream.cc
2749         (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
2750         there is no buffer or __testget == !__testinit.
2752         * src/fstream.cc
2753         (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
2754         automatically sets, if appropriate, _M_out_cur == _M_in_cur.
2756         * include/std/std_fstream.h (_M_destroy_pback): Don't set
2757         unnecessarily _M_pback_cur_save and _M_pback_end_save.
2759         * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
2761         * include/std/std_sstream.h (_M_sync): Minor tweak.
2763         * include/bits/fstream.tcc (close): No need to call
2764         _M_destroy_pback, setting _M_pback_init to false suffices
2765         to clean up.
2767 2003-05-06  Benjamin Kosnik  <bkoz@redhat.com>
2769         * include/bits/stl_algo.h: Enums as _S_.
2770         * include/bits/stl_tree.h: Same.
2771         * include/bits/stl_bvector.h: Same.
2772         * include/bits/ios_base.h: Same.
2773         * include/bits/stl_alloc.h: Same.
2774         * include/ext/stl_hashtable.h: Same.
2775         * src/ios.cc: And here.
2777         * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
2778         * include/bits/sstream.tcc: Same.
2780         * include/bits/basic_ios.h: Correct spacing for '< ctype'.
2782         * include/bits/locale_facets.tcc: Replace __temp to __tmp.
2784         * include/bits/locale_facets.h (__num_base): Remove protected.
2785         Use _S_[io]* names for enumerations.
2786         (_S_format_int): Remove.
2787         * include/bits/locale_facets.tcc: Same.
2788         * src/locale.cc: Same.
2790         * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
2792 2003-05-06  Phil Edwards  <pme@gcc.gnu.org>
2794         * docs/html/faq/index.html (3.10):  Add note about mips atomicity.h.
2795         * docs/html/faq/index.txt:  Regenerated.
2797 2003-05-06  Michael Ritzert <Ritzert@t-online.de>
2798             Matt Kraai <kraai@alumni.cmu.edu>
2800         * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
2801         And retweak.
2803 2003-05-06  Richard Sandiford  <rsandifo@redhat.com>
2805         * configure.target (mips*): Use the generic atomicity.h by default.
2807 2003-05-05  Loren J. Rittle  <ljrittle@acm.org>
2808             (Inspired by an alternate patch from Danny Smith.)
2810         * include/bits/stl_threads.h (_Atomic_swap): Kill it...
2811         (_Swap_lock_struct<>): ...and the horse it rode in on.
2812         * src/globals.cc (_Swap_lock_struct<>): Likewise.
2813         * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
2814         member to support...
2815         * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
2816         visibility rules related to POSIX threads.
2817         * testsuite/thread/pthread7-rope.cc: New test.
2819 2003-05-04  Paolo Carlini  <pcarlini@unitus.it>
2821         * testsuite/21_strings/basic_string/find/char/3.cc: New
2822         file, testing basic_string<char>::find_first_not_of.
2823         * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
2824         Likewise for basic_string<wchar_t>.
2826 2003-05-03  Loren J. Rittle  <ljrittle@acm.org>
2828         * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
2830 2003-05-02  Benjamin Kosnik  <bkoz@redhat.com>
2832         * include/Makefile.am (CLEANFILES): Remove PCH files in target
2833         directory.
2834         * include/Makefile.in: Regenerate.
2836 2003-05-02  Paolo Carlini  <pcarlini@unitus.it>
2838         * include/std/std_sstream.h (str()): Tidy.
2840 2003-05-02  Nathan Myers  <ncm@cantrip.org>
2841             Paolo Carlini  <pcarlini@unitus.it>
2843         * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
2845 2003-05-02  Jonathan Wakely  <redi@gcc.gnu.org>
2847         * include/bits/basic_string.h (swap): Remove redundant template
2848         parameters from declaration of non-template member function.
2850 2003-05-01  Phil Edwards  <pme@gcc.gnu.org>
2852         * acconfig.h (_GLIBCPP_USE_NLS):  New symbol.
2853         * configure.in:  Move libintl.h header test...
2854         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE):  ...to here.  Gather all
2855         the NLS-related test results into one symbol.
2856         * src/functexcept.cc:  Use it here.
2857         * aclocal.m4, config.h.in, configure:  Regenerated.
2859 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2861         * include/bits/sstream.tcc (overflow): Instead of calling
2862         str(), then _M_string.reserve, thus copying the contents
2863         of the current buffer two times, just copy the latter in
2864         a temporary, then use the 'swap trick'.
2866 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2868         * include/std/std_sstream.h (str()): Revert the best of the
2869         previous 'improvement', incorrect due to the COW nature of
2870         v3 basic_string; simplify.
2872 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2874         * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
2875         type of __avail to ptrdiff_t to avoid signed-unsigned warning.
2877 2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2879         * testsuite/abi_check.cc (check_version): Update known versions.
2880         Check added symbols for version_name != base version. Add missing
2881         symbols to incompatible list.
2883 2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2885         * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
2886         * aclocal.m4: Regenerated.
2887         * configure: Regenerated.
2889 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2891         * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
2892         Const-ify some variables.
2893         (basic_streambuf::xsputn): Likewise; change the type of some
2894         variables to size_t.
2895         (__copy_streambufs): Change some variables to size_t.
2897 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2899         * include/std/std_sstream.h (str()): Avoid constructing
2900         a basic_string temporary not only when it would turn out
2901         to be zero-sized but also when identical to the current
2902         _M_string buffer.
2904 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2906         * include/ext/stdio_filebuf.h
2907         (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
2908         stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
2909         Shorten a bit (-10 lines) by factoring out some code.
2911 2003-04-30  Phil Edwards  <pme@gcc.gnu.org>
2913         * acinclude.m4:  Add bit missing from previous patch.
2914         * aclocal.m4, configure:  Regenerated.
2916 2003-04-29  Phil Edwards  <pme@gcc.gnu.org>
2918         * docs/doxygen/mainpage.html:  Bring up to date.
2919         * docs/doxygen/run_doxygen:  Cosmetic tweaks.  Work around a bug
2920         in Doxygen.
2921         * docs/doxygen/user.cfg.in:  Scanning the precompiled headers
2922         breaks everything.  Don't scan them.
2923         * docs/html/documentation.html:  Point to "Write after approval"
2924         notes.
2926 2003-04-29  Phil Edwards  <pme@gcc.gnu.org>
2928         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE):  Search for gettext outside
2929         of libc if message translations are being used.  Fix info text in
2930         xieee_1003.1-2001 case.
2931         * aclocal.m4, configure:  Regenerate.
2933 2003-04-29 Joel Sherrill  <joel.sherrill@OARcorp.com>
2934            Loren J. Rittle <ljrittle@acm.org>
2935            Martin v. Loewis  <martin@v.loewis.de>
2937         * config/cpu/i386/atomicity.h: New file.
2939 2003-04-29  Paolo Carlini  <pcarlini@unitus.it>
2941         * include/bits/fstream.tcc (open): Change to single return.
2943 2003-04-29  Paolo Carlini  <pcarlini@unitus.it>
2945         * include/std/std_sstream.h (underflow): Change to single return.
2947 2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
2949         * include/std/std_streambuf.h (_M_buf): is currently
2950         used only for basic_filebuf, therefore move it there.
2951         (basic_streambuf(), ~basic_streambuf()): Adjust.
2952         * include/std/std_fstream.h (_M_buf): Moved here.
2953         * include/std/std_sstream.h (setbuf): Don't set _M_buf,
2954         is actually redundant for basic_stringbuf.
2955         (_M_really_sync): Likewise.
2956         * include/bits/fstream.tcc (basic_filebuf()): Adjust.
2957         * include/bits/sstream.tcc (seekoff): Adjust.
2959 2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
2961         * src/localename.cc: Standardize exception strings.
2962         * src/locale.cc: Same.
2963         * src/ios.cc: Same.
2964         * include/bits/basic_string.tcc: Same.
2965         * include/bits/basic_ios.tcc: Same.
2966         * include/std/std_bitset.h: Same.
2967         * include/ext/ropeimpl.h: Same.
2968         * include/bits/stl_vector.h: Same.
2969         * include/bits/stl_deque.h: Same.
2970         * include/bits/stl_bvector.h: Same.
2971         * config/locale/generic/c_locale.cc: Same.
2972         * config/locale/gnu/c_locale.cc: Same.
2973         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
2975         * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
2977 2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
2979         * include/std/std_streambuf.h (_M_buf_size): is currently
2980         used only for basic_filebuf, therefore move it there.
2981         (basic_streambuf(), ~basic_streambuf()): Adjust.
2982         * include/std/std_fstream.h (_M_buf_size): Moved here.
2983         * include/bits/fstream.tcc (basic_filebuf()): Adjust.
2985 2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
2987         * include/bits/streambuf.tcc (__copy_streambufs): Don't use
2988         _M_buf_size (synced input is now correctly dealt with
2989         elsewhere); when the output buffer is full don't fall back
2990         to a snextc-sputc loop, call overflow instead.
2992 2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
2994         * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
2995         the innermost 'if' by factoring out some code.
2997 2003-04-28  Phil Edwards  <pme@gcc.gnu.org>
2999         * configure.in:  Test for libintl.h.
3000         * include/bits/c++config:  Define __N for everybody.
3001         * include/bits/basic_string.h, include/bits/stl_bvector.h,
3002         include/bits/stl_deque.h, include/bits/stl_vector.h,
3003         include/std/std_bitset.h:  Wrap all __throw* text with __N.
3004         * po/Makefile.am (pot):  New rule, mostly working.
3005         * src/functexcept.cc:  Call gettext on all __throw* arguments when
3006         -fexceptions is in effect.
3007         * po/Makefile.in, config.h.in, configure:  Regenerate.
3009 2003-04-28  Petur Runolfsson  <peturr02@ru.is>
3011         PR libstdc++/9523
3012         * include/bits/ios_base.h (Init::_S_ios_create,
3013         Init::_S_ios_destroy):  Remove declarations.
3014         (Init::_S_create_buffers,
3015         Init::_S_destroy_buffers):  Declare
3016         * src/ios.cc (Init::_S_ios_create):  Remove
3017         (Init::_S_create_buffers):  Create buffers and add to streams.
3018         (Init::_S_ios_destroy):  Rename to...
3019         (Init::_S_destroy_buffers):  this.
3020         (Init::Init):  Only construct streams once.
3021         (Init::~Init):  Flush streams, don't destroy them.
3022         (ios_base::sync_with_stdio):  Don't destroy streams, only buffers.
3023         * testsuite/27_io/ios_base/sync_with_stdio/9523.cc:  New test.
3024         * testsuite/27_io/objects/char/5.cc:  New test.
3025         * testsuite/27_io/objects/char/5268.cc:  Avoid undefined behavior.
3026         * testsuite/27_io/objects/char/6.cc:  New test.
3027         * testsuite/27_io/objects/char/7.cc:  New test.
3029 2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
3031         * testsuite/27_io/objects/char/8.cc:  New test.
3033 2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
3035         * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
3036         * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
3038 2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3040         * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
3041         _M_destroy_pback. _M_pback_create to
3042         _M_create_pback. _M_underflow_common to
3043         _M_underflow. _M_really_overflow to _M_overflow.
3044         * include/bits/fstream.tcc: Same.
3045         * src/fstream.cc: Same.
3046         * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
3047         _M_move_in_cur.  _M_out_cur_move to _M_move_out_cur.
3048         * include/bits/streambuf.tcc: Same.
3049         * include/bits/fstream.tcc: Same.
3050         * include/bits/sstream.tcc: Same.
3052 2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>
3054         * include/bits/locale_classes.h (locale::_Impl): Change _M_names
3055         from fixed size array.
3056         (locale): Change _S_categories as well.
3057         Formatting tweaks.
3058         * include/bits/locale_facets.tcc: Tweak.
3059         * config/locale/gnu/c_locale.cc: Assign _S_categories.
3060         * config/locale/generic/c_locale.cc: Same.
3061         * src/locale.cc: Tweak.
3062         * src/globals.cc: Change facet_name to name_vec, add names_c.
3063         * src/localename.cc: Use them.
3064         (locale::_Impl::~_Impl): Destroy _M_names.
3065         (locale::_Impl::_Impl): Create _M_names.
3067 2003-04-27  Andreas Schwab  <schwab@suse.de>
3069         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3070         (__enc_traits): Use __ibom and __ebom instead of ignoring them.
3072 2003-04-27  Nathan Myers  <ncm@cantrip.org>
3074         Move some basic_string members out of line because
3075         they are too big to reasonably be inline.
3076         * include/bits/basic_string.h
3077         (assign(const basic_string&, size_type, size_type),
3078         assign(const _CharT*, size_type),
3079         insert(size_type, const basic_string&, size_type, size_type),
3080         insert(size_type, const _CharT*, size_type),
3081         replace(size_type, size_type, const _CharT*, size_type)):
3082         Move from here to...
3083         * include/bits/basic_string.tcc: ...here.
3085 2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
3087         * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3088         the innermost 'if' by factoring out some code.
3090 2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
3092         * include/bits/streambuf.tcc (__copy_streambufs): Don't
3093         use in_avail(), simplify.
3095 2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
3097         * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3098         in basic_stringbuf it's unused.
3100         * include/std/std_sstream.h (underflow): consistently use
3101         _M_in_cur, not gptr().
3103 2003-04-25  Ranjit Mathew  <rmathew@hotmail.com>
3104             Phil Edwards  <pme@gcc.gnu.org>
3106         * testsuite_flags.in: Guard against the possibility
3107         of having "xgcc" as a part of a folder name in the
3108         path to the GCC build folder.
3109         * testsuite/Makefile.am: Likewise.
3110         * testsuite/Makefile.in: Regenerated.
3112 2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>
3114         PR libstdc++/10132
3115         * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3116         exception specifications.
3117         (basic_filebuf::close): Same.
3118         (basic_filebuf::_M_pback_destroy): Same.
3119         (basic_filebuf::_M_destroy_internal_buffer): Same.
3120         (basic_filebuf): Remove __res_type typedef.
3121         * src/fstream.cc: Same.
3122         * include/bits/fstream.tcc
3123         (basic_filebuf::_M_convert_to_external): Simplify.
3124         (basic_filebuf::seekoff): Use has_facet before use_facet.
3125         (basic_filebuf::close): Add exception specification of throw().
3126         * testsuite/27_io/basic_filebuf/cons: New.
3127         * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3128         * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3129         * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3130         * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3132 2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>
3134         * include/bits/locale_classes.h
3135         (locale::_S_extra_categories_size): Remove.
3136         * src/locale.cc: Remove _S_extra_categories_size.
3137         * src/localename.cc: Same.
3138         * config/locale/gnu/c_locale.cc: Same.
3139         * config/locale/generic/c_locale.cc: Same.
3141 2003-04-24  Richard Sandiford  <rsandifo@redhat.com>
3143         * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3145 2003-04-24  Phil Edwards  <pme@gcc.gnu.org>
3147         * docs/html/17_intro/howto.html:  Update some links.
3148         * docs/html/18_support/howto.html:  Link doxygen numeric_limits notes.
3149         * docs/html/27_io/howto.html:  Link doxygen stdio_filebuf notes.
3150         * docs/html/ext/howto.html:  Link to demangler notes and API.
3151         * docs/html/faq/index.html:  Remove trailing whitespace.
3152         (1.4, 2.4, 3.8, 4.1):  Bring up to date.
3153         (5.6):  Change to a bulleted list.
3155         * docs/html/faq/index.txt, docs/html/documentation.html,
3156         docs/html/17_intro/porting.html:  Regenerate.
3158 2003-04-23  Paolo Carlini  <pcarlini@unitus.it>
3160         * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3161         belongs to basic_filebuf.
3162         * testsuite/27_io/basic_fstream/3.cc: Likewise.
3163         * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3164         * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3165         instantiation (now belongs to basic_filebuf).
3166         * testsuite/27_io/basic_iostream/3.cc: Likewise.
3167         * testsuite/27_io/basic_istream/3.cc: Likewise.
3168         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3169         _S_pback_size now belongs to basic_filebuf.
3170         * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3171         instantiation (now belongs to basic_filebuf).
3172         * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3173         belongs to basic_filebuf.
3174         * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3175         instantiation (now belongs to basic_filebuf).
3176         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3177         _S_pback_size now belongs to basic_filebuf.
3178         * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3179         instantiation (now belongs to basic_filebuf).
3180         * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3181         to basic_filebuf.
3182         * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3183         instantiation (now belongs to basic_filebuf).
3184         * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3186 2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
3188         * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3189         * configure: Regenerated.
3191 2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
3193         * config/locale/generic/c_locale.h (__convert_from_v): Use
3194         attribute unused.
3196 2003-04-23  Phil Edwards  <pme@gcc.gnu.org>
3198         * docs/html/ext/howto.html ('LWG Issues'):  Add issue 60, partial
3199         implementation only.
3200         * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3201         Comment and change to comply with DR 60 and the effect on gcount().
3202         * include/std/std_istream.h:  Update comments.
3203         * testsuite/27_io/basic_istream/putback/char/1.cc (test01):  Add
3204         comments about reasons for tests.  Test sync() against gcount().
3205         * testsuite/27_io/basic_istream/seekg/char/2.cc:  New file, test
3206         for effect on gcount().
3207         * testsuite/27_io/basic_istream/tellg/char/2.cc:  New file, test
3208         for effect on gcount().
3210 2003-04-22  Loren J. Rittle  <ljrittle@acm.org>
3212         * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3213         Adjust timing.
3215 2003-04-22  Paolo Carlini  <pcarlini@unitus.it>
3217         * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3218         _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3219         _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3220         (basic_streambuf::basic_streambuf()): Adjust.
3221         * include/std/std_fstream.h (_S_pback_size, _M_pback,
3222         _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3223         _M_pback_create(), _M_pback_destroy()): Moved here
3224         from basic_streambuf.
3225         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3226         Adjust.
3227         (basic_filebuf::_S_pback_size): Add declaration.
3228         * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3229         Remove declaration.
3231 2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
3233         Consistently use _M_in_beg instead of eback(), _M_in_cur
3234         instead of gptr(), and so on.
3235         * include/bits/fstream.tcc (pbackfail, imbue): Here.
3236         * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3237         * include/bits/streambuf.tcc (sbumpc, sputbackc,
3238         __copy_streambufs): Ditto.
3239         * include/std/std_streambuf.h (sgetc): Ditto.
3241 2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
3243         * include/bits/sstream.tcc (pbackfail, overflow):
3244         Formatting fixes.
3246 2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
3248         * include/std/std_streambuf.h (uflow()): It's used only by
3249         basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3250         therefore do not consider the _M_buf_unified == true case.
3252         * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3254 2003-04-20  Paolo Carlini  <pcarlini@unitus.it>
3256         * docs/html/ext/howto.html ('LWG Issues'):
3257         Add issues 19, 90, 171, 231, 271.
3259 2003-04-20  Paolo Carlini  <pcarlini@unitus.it>
3261         * include/bits/sstream.tcc (pbackfail): Remove redundant
3262         NULL pointer check from test involving _M_in_*.
3263         (overflow, seekoff, seekpos): Const qualify bool variables.
3264         * include/std/std_sstream.h (underflow): Remove redundant
3265         NULL pointer check from test involving _M_in_*.
3266         (_M_really_sync): Const qualify bool variables.
3267         * src/fstream.cc (_M_underflow_common): Remove redundant
3268         NULL pointer check from test involving _M_in_*, const qualify
3269         bool variables.
3271         * include/std/std_streambuf.h (sgetc): Remove redundant
3272         variable.
3274 2003-04-18  Paolo Carlini  <pcarlini@unitus.it>
3276         According to 5.9 para 2 (second bullet) for pointers p, q
3277         pointing to the same type, with  p == 0 and q == 0, (p < q)
3278         is false.
3279         * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3280         seekoff): Remove redundant NULL pointer checks from tests
3281         involving _M_out_* and _M_in_*, const qualify bool variables.
3282         (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3283         qualify bool variables.
3284         * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3285         Remove redundant NULL pointer checks from tests involving
3286         _M_out_* and _M_in_*, const qualify bool variables.
3287         * include/std/std_fstream.h (sync): Likewise.
3288         (_M_is_indeterminate): Const qualify bool variables.
3289         * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3290         NULL pointer checks from tests involving _M_out_* and _M_in_*,
3291         const qualify bool variables.
3292         (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3293         variables.
3295 2003-04-18  Loren J. Rittle  <ljrittle@acm.org>
3297         * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3298         C99 FP macros, if actually captured.
3300         * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3301         (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3302         (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3303         (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3304         * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3305         New macro.
3306         (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3307         (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3308         (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3309         * include/c_std/std_cstdlib.h: Use new macros.
3310         * include/c_std/std_cstdio.h: Use new macros.
3311         * include/c_std/std_cwchar.h: Use new macros.
3313 2003-04-17  Benjamin Kosnik  <bkoz@redhat.com>
3315         PR libstdc++/9555
3316         * include/bits/ostream.tcc: Catch all exceptions for formatted
3317         output, instead of std::exception and derivatives.
3318         * include/bits/istream.tcc: Same.
3319         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3320         * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3321         * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3322         * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3323         * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3324         * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3325         New.
3327 2003-04-17  Phil Edwards  <pme@gcc.gnu.org>
3329         * include/bits/c++config:  Minor cosmetic tweaks.
3331 2003-04-17  Loren J. Rittle  <ljrittle@acm.org>
3333         * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3334         * include/Makefile.am (pch_input): Find in ${target_builddir}.
3335         (pch_output): Rename to...
3336         (pch_output_builddir): ..this.  Find in ${target_builddir}.
3337         (pch_source): Tweak.
3338         (pch_build): Key off a built file.
3339         (pch_output rule): Rename to...
3340         (pch_input rule): ...this.  Produce ${pch_output_builddir}
3341         instead of ${pch_output}.
3342         (install-pch rule): Install ${pch_output_builddir}.
3343         * include/Makefile.in: Regenerated.
3345 2003-04-17  Paolo Carlini  <pcarlini@unitus.it>
3347         * include/std/std_streambuf.h (setp): _M_out_lim, being
3348         the end limit of used put area, is set equal to _M_out_beg.
3350 2003-04-16  Benjamin Kosnik  <bkoz@redhat.com>
3352         * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3353         * aclocal.m4: Regenerated.
3354         * configure.in: Remove old demangler bits.
3355         Call pch checks.
3356         * configure: Regenerate.
3357         * config.h.in: Regenerate.
3358         * include/Makefile.am (allstamps): Now allstamped.
3359         (allcreated): Define this.
3360         (all-local): Use 'em.
3361         Conditionally define pch_build, pch_install based on
3362         GLIBCPP_BUILD_PCH.
3363         (${pch_output}): New rule.
3364         (install-pch): New rule.
3365         (install-headers): New rule.
3366         (install-data-local): Install headers and conditionally pch.
3367         * include/Makefile.in: Regenerate.
3368         * testsuite_flags.in (--build-cxx): Use pch file.
3370 2003-04-16  Jonathan Wakely  <redi@gcc.gnu.org>
3372         * docs/html/ext/sgiexts.html: Fix path to stylesheet.
3374 2003-04-15  Benjamin Kosnik  <bkoz at redhat dot com>
3375             Paolo Carlini  <pcarlini at unitus dot it>
3377         PR libstdc++/9423
3378         * docs/html/27_io/howto.html
3379         ('The buffering is screwing up my program!'): Explain that
3380         opening counts as an I/O operation.
3382 2003-04-15  Andreas Tobler  <a.tobler@schweiz.ch>
3384         * testsuite/thread/pthread1.cc: Enable for darwin test.
3385         * testsuite/thread/pthread2.cc: Same.
3386         * testsuite/thread/pthread3.cc: Same.
3387         * testsuite/thread/pthread4.cc: Same.
3388         * testsuite/thread/pthread5.cc: Same.
3389         * testsuite/thread/pthread6.cc: Same.
3391 2003-04-15  Loren J. Rittle  <ljrittle@acm.org>
3393         libstdc++/7680
3394         * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
3395         Populate it with multiple legal ways to obtain the C99 float
3396         transcendentals.  Use them instead of direct global reference.
3397         (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
3398         * docs/html/17_intro/porting.texi
3399         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3400         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3401         (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
3402         * config/os/bsd/freebsd/os_defines.h
3403         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3404         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3405         * testsuite/26_numerics/c_math_dynamic.cc: New file.
3407 2003-04-14  Andreas Tobler  <toa@pop.agri.ch>
3408             Benjamin Kosnik  <bkoz@redhat.com>
3410         * config/os/generic/ctype_inline.h: Fix.
3412 2003-04-14  Benjamin Kosnik  <bkoz@redhat.com>
3414         * testsuite/testsuite_hooks.h
3415         (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
3416         Change to try_named_locale.
3417         * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
3419         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
3420         try_named_locale.
3421         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
3422         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
3423         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
3424         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
3425         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
3426         * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
3427         * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
3428         * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
3429         * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
3430         * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
3431         * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
3432         * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
3433         * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
3434         * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
3435         * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
3436         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
3437         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
3438         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
3439         * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
3440         * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
3441         * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
3442         * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
3443         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
3444         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
3445         * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
3446         * testsuite/22_locale/collate/compare/char/1.cc: Same.
3447         * testsuite/22_locale/collate/compare/char/2.cc: Same.
3448         * testsuite/22_locale/collate/compare/char/3.cc: Same.
3449         * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
3450         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
3451         * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
3452         * testsuite/22_locale/collate/hash/char/2.cc: Same.
3453         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
3454         * testsuite/22_locale/collate/transform/char/2.cc: Same.
3455         * testsuite/22_locale/collate/transform/char/3.cc: Same.
3456         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
3457         * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
3458         * testsuite/22_locale/collate_byname/1.cc: Same.
3459         * testsuite/22_locale/ctype/is/char/2.cc: Same.
3460         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
3461         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
3462         * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
3463         * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
3464         * testsuite/22_locale/facet/2.cc: Same.
3465         * testsuite/22_locale/locale/cons/2.cc: Same.
3466         * testsuite/22_locale/locale/cons/4.cc: Same.
3467         * testsuite/22_locale/locale/cons/5.cc: Same.
3468         * testsuite/22_locale/locale/cons/7.cc: Same.
3469         * testsuite/22_locale/locale/cons/7222-c.cc: Same.
3470         * testsuite/22_locale/locale/cons/7222-env.cc: Same.
3471         * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
3472         * testsuite/22_locale/messages/members/char/1.cc: Same.
3473         * testsuite/22_locale/messages/members/char/2.cc: Same.
3474         * testsuite/22_locale/messages/members/char/3.cc: Same.
3475         * testsuite/22_locale/messages_byname/1.cc: Same.
3476         * testsuite/22_locale/money_get/get/char/1.cc: Same.
3477         * testsuite/22_locale/money_get/get/char/2.cc: Same.
3478         * testsuite/22_locale/money_get/get/char/3.cc: Same.
3479         * testsuite/22_locale/money_get/get/char/4.cc: Same.
3480         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
3481         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
3482         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
3483         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
3484         * testsuite/22_locale/money_put/put/char/1.cc: Same.
3485         * testsuite/22_locale/money_put/put/char/2.cc: Same.
3486         * testsuite/22_locale/money_put/put/char/3.cc: Same.
3487         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
3488         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
3489         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
3490         * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
3491         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
3492         * testsuite/22_locale/moneypunct_byname/1.cc: Same.
3493         * testsuite/22_locale/num_get/get/char/1.cc: Same.
3494         * testsuite/22_locale/num_get/get/char/2.cc: Same.
3495         * testsuite/22_locale/num_get/get/char/3.cc: Same.
3496         * testsuite/22_locale/num_get/get/char/5.cc: Same.
3497         * testsuite/22_locale/num_get/get/char/6.cc: Same.
3498         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
3499         * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
3500         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
3501         * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
3502         * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
3503         * testsuite/22_locale/num_put/put/char/1.cc: Same.
3504         * testsuite/22_locale/num_put/put/char/2.cc: Same.
3505         * testsuite/22_locale/num_put/put/char/3.cc: Same.
3506         * testsuite/22_locale/num_put/put/char/5.cc: Same.
3507         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
3508         * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
3509         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
3510         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
3511         * testsuite/22_locale/numpunct/members/char/1.cc: Same.
3512         * testsuite/22_locale/numpunct/members/char/2.cc: Same.
3513         * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
3514         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
3515         * testsuite/22_locale/numpunct_byname/1.cc: Same.
3516         * testsuite/22_locale/numpunct_byname/2.cc: Same.
3517         * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
3518         * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
3519         * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
3520         * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
3521         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
3522         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
3523         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
3524         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
3525         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
3526         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
3527         * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
3528         * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
3529         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
3530         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
3531         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
3532         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
3533         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
3534         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
3535         * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
3536         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
3537         * testsuite/22_locale/time_put/put/char/1.cc: Same.
3538         * testsuite/22_locale/time_put/put/char/2.cc: Same.
3539         * testsuite/22_locale/time_put/put/char/3.cc: Same.
3540         * testsuite/22_locale/time_put/put/char/4.cc: Same.
3541         * testsuite/22_locale/time_put/put/char/5.cc: Same.
3542         * testsuite/22_locale/time_put/put/char/6.cc: Same.
3543         * testsuite/22_locale/time_put/put/char/7.cc: Same.
3544         * testsuite/22_locale/time_put/put/char/8.cc: Same.
3545         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
3546         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
3547         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
3548         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
3549         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
3550         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
3551         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
3552         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
3553         * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
3554         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
3555         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
3556         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
3557         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
3559 2003-04-14  Andreas Tobler  <toa@pop.agri.ch>
3561         * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
3562         solaris includes, not generic.
3564 2003-04-14  Loren J. Rittle  <ljrittle@acm.org>
3566         * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
3568         * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
3569         * include/bits/concept_check.h: Fix multi-line comment.
3570         * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
3571         when target is *-*-freebsd*.
3573 2003-04-14  Nathan Myers  <ncm@cantrip.org>
3574             Paolo Carlini  <pcarlini@unitus.it>
3576         PR libstdc++/9701 (in_avail())
3577         * include/std/std_streambuf.h (in_avail): Simplify, in_avail
3578         doesn't care if there is anything in some putback cell.
3579         * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
3581         * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
3582         unused string literals.
3584 2003-04-14  Paolo Carlini  <pcarlini@unitus.it>
3586         * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
3587         _M_out_end, _M_set_indeterminate() does it.
3589 2003-04-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3591         * os/hpux/ctype_inline.h: Replace with gnu-linux version.
3593 2003-04-12  David Edelsohn  <edelsohn@gnu.org>
3595         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3596         Change basic_streambuf instantiation to "unsigned char".
3597         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3599 2003-04-12  Paolo Carlini  <pcarlini@unitus.it>
3601         Remove _M_buf_size_opt, use directly _M_buf_size instead.
3602         * include/bits/fstream.tcc
3603         (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
3604         references to _M_buf_size_opt.
3605         * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
3606         * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
3607         __bufsize to __in_avail and __size_opt to __buf_size.
3608         * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
3609         * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
3610         * include/std/std_streambuf.h (~basic_streambuf(),
3611         basic_streambuf()): Likewise, remove _M_buf_size_opt member.
3612         * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
3613         * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3614         * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
3615         * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
3616         * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
3617         * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
3618         * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
3619         * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
3620         * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3621         * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3622         * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3623         * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3625 2003-04-12  Paolo Carlini  <pcarlini at unitus dot it>
3627         * include/ext/stdio_filebuf.h
3628         (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
3629         stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
3630         _M_buf_size_opt == 0 only means "not to use an allocated buffer"
3631         since a stack-based buffer is used for small values of the size_t
3632         parameter.
3633         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
3634         If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
3635         * testsuite/ext/stdio_filebuf_2.cc: New testfile.
3637 2003-04-12  Paolo Carlini  <pcarlini@unitus.it>
3639         PR libstdc++/9533
3640         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
3641         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
3643 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3645         * testsuite/22_locale/locale/cons/3.cc: Split.
3646         * testsuite/22_locale/locale/cons/7222-c.cc: New.
3647         * testsuite/22_locale/locale/cons/7222-env.cc: New.
3648         Check before trying to create a locale from the environment.
3649         * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
3650         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
3651         Adjust includes.
3653 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3655         * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
3656         locale to construct this hybrid locale, not the global locale.
3658 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3660         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
3661         instantiation for AIX.
3662         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3663         * testsuite/25_algorithms/min_max.cc: Same.
3665 2003-04-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3667         * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
3668         twice.  Always set _M_cfile to 0 when stream was open.
3670 2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
3672         Reshuffle 27_io testsuite.  * testsuite/27_io/filebuf.cc,
3673         filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
3674         filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
3675         filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
3676         filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
3677         ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
3678         ifstream_members.cc, instantiations.cc, ios.cc,
3679         ios_base_callbacks.cc, ios_base_members_static-1.tst,
3680         ios_base_members_static.cc, ios_base_storage.cc,
3681         ios_base_types.cc, ios_ctor.cc, ios_init.cc,
3682         ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
3683         iostream.cc, iostream_members.cc, istream.cc,
3684         istream_exception.cc, istream_extractor_char.cc,
3685         istream_extractor_other-1.tst, istream_extractor_other-1.txt,
3686         istream_extractor_other-2.tst, istream_extractor_other.cc,
3687         istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
3688         istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
3689         istream_sentry.cc, istream_unformatted-1.tst,
3690         istream_unformatted-1.txt, istream_unformatted.cc,
3691         istringstream.cc, istringstream_members.cc,
3692         narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
3693         ofstream_members.cc, ostream.cc, ostream_exception.cc,
3694         ostream_fail.cc, ostream_inserter_arith.cc,
3695         ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
3696         ostream_inserter_char.cc, ostream_inserter_other-1.tst,
3697         ostream_inserter_other-2.tst, ostream_inserter_other.cc,
3698         ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
3699         ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
3700         ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
3701         streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
3702         stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
3703         wide_stream_objects.cc, istream_extractor_arith/01.cc,
3704         istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
3705         istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
3706         istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
3707         istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
3708         istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
3709         Split into...
3710         * 27_io/basic_filebuf/1.cc: New.
3711         * 27_io/basic_filebuf/2.cc: New.
3712         * 27_io/basic_filebuf/3.cc: New.
3713         * 27_io/basic_filebuf/4.cc: New.
3714         * 27_io/basic_filebuf/close/char/1.cc: New.
3715         * 27_io/basic_filebuf/close/char/2.cc: New.
3716         * 27_io/basic_filebuf/close/char/3.cc: New.
3717         * 27_io/basic_filebuf/close/char/4879.cc: New.
3718         * 27_io/basic_filebuf/close/char/9964.cc: New.
3719         * 27_io/basic_filebuf/imbue/char/1.cc: New.
3720         * 27_io/basic_filebuf/imbue/char/9322.cc: New.
3721         * 27_io/basic_filebuf/in_avail/char/1.cc: New.
3722         * 27_io/basic_filebuf/is_open/char/1.cc: New.
3723         * 27_io/basic_filebuf/open/char/1.cc: New.
3724         * 27_io/basic_filebuf/open/char/2.cc: New.
3725         * 27_io/basic_filebuf/open/char/3.cc: New.
3726         * 27_io/basic_filebuf/open/char/9507.cc: New.
3727         * 27_io/basic_filebuf/overflow/char/1.cc: New.
3728         * 27_io/basic_filebuf/overflow/char/3599.cc: New.
3729         * 27_io/basic_filebuf/overflow/char/9169.cc: New.
3730         * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
3731         * 27_io/basic_filebuf/overflow/char/9988.cc: New.
3732         * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
3733         * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
3734         * 27_io/basic_filebuf/seekoff/char/1.cc: New.
3735         * 27_io/basic_filebuf/seekoff/char/2.cc: New.
3736         * 27_io/basic_filebuf/seekpos/char/1.cc: New.
3737         * 27_io/basic_filebuf/seekpos/char/2.cc: New.
3738         * 27_io/basic_filebuf/setbuf/char/1.cc: New.
3739         * 27_io/basic_filebuf/setbuf/char/2.cc: New.
3740         * 27_io/basic_filebuf/setbuf/char/3.cc: New.
3741         * 27_io/basic_filebuf/sgetc/char/1.cc: New.
3742         * 27_io/basic_filebuf/sgetn/char/1.cc: New.
3743         * 27_io/basic_filebuf/sgetn/char/2.cc: New.
3744         * 27_io/basic_filebuf/snextc/char/1.cc: New.
3745         * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
3746         * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
3747         * 27_io/basic_filebuf/sputc/char/1.cc: New.
3748         * 27_io/basic_filebuf/sputc/char/1057.cc: New.
3749         * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
3750         * 27_io/basic_filebuf/sputn/char/1.cc: New.
3751         * 27_io/basic_filebuf/sputn/char/1057.cc: New.
3752         * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
3753         * 27_io/basic_filebuf/sungetc/char/1.cc: New.
3754         * 27_io/basic_filebuf/sync/char/1057.cc: New.
3755         * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
3756         * 27_io/basic_filebuf/underflow/char/10097.cc: New.
3757         * 27_io/basic_fstream/1.cc: New.
3758         * 27_io/basic_fstream/2.cc: New.
3759         * 27_io/basic_fstream/3.cc: New.
3760         * 27_io/basic_fstream/4.cc: New.
3761         * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
3762         * 27_io/basic_ifstream/1.cc: New.
3763         * 27_io/basic_ifstream/2.cc: New.
3764         * 27_io/basic_ifstream/3.cc: New.
3765         * 27_io/basic_ifstream/4.cc: New.
3766         * 27_io/basic_ifstream/cons/char/1.cc: New.
3767         * 27_io/basic_ifstream/open/char/1.cc: New.
3768         * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
3769         * 27_io/basic_ios/1.cc: New.
3770         * 27_io/basic_ios/2.cc: New.
3771         * 27_io/basic_ios/3.cc: New.
3772         * 27_io/basic_ios/4.cc: New.
3773         * 27_io/basic_ios/clear/char/1.cc: New.
3774         * 27_io/basic_ios/cons/char/1.cc: New.
3775         * 27_io/basic_ios/cons/char/2.cc: New.
3776         * 27_io/basic_ios/cons/char/3.cc: New.
3777         * 27_io/basic_ios/copyfmt/char/1.cc: New.
3778         * 27_io/basic_ios/copyfmt/char/2.cc: New.
3779         * 27_io/basic_ios/exceptions/char/1.cc: New.
3780         * 27_io/basic_ios/locales/char/1.cc: New.
3781         * 27_io/basic_iostream/1.cc: New.
3782         * 27_io/basic_iostream/2.cc: New.
3783         * 27_io/basic_iostream/3.cc: New.
3784         * 27_io/basic_iostream/4.cc: New.
3785         * 27_io/basic_istream/1.cc: New.
3786         * 27_io/basic_istream/2.cc: New.
3787         * 27_io/basic_istream/3.cc: New.
3788         * 27_io/basic_istream/4.cc: New.
3789         * 27_io/basic_istream/exceptions/char/9561.cc: New.
3790         * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
3791         * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
3792         * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
3793         * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
3794         * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
3795         * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
3796         * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
3797         * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
3798         * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
3799         * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
3800         * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
3801         * 27_io/basic_istream/extractors_character/char/1.cc: New.
3802         * 27_io/basic_istream/extractors_character/char/2.cc: New.
3803         * 27_io/basic_istream/extractors_character/char/3.cc: New.
3804         * 27_io/basic_istream/extractors_character/char/9826.cc: New.
3805         * 27_io/basic_istream/extractors_other/char/1.cc: New.
3806         * 27_io/basic_istream/extractors_other/char/2.cc: New.
3807         * 27_io/basic_istream/extractors_other/char/3.cc: New.
3808         * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
3809         * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
3810         * 27_io/basic_istream/get/char/1.cc: New.
3811         * 27_io/basic_istream/get/char/2.cc: New.
3812         * 27_io/basic_istream/getline/char/1.cc: New.
3813         * 27_io/basic_istream/getline/char/2.cc: New.
3814         * 27_io/basic_istream/getline/char/3.cc: New.
3815         * 27_io/basic_istream/ignore/char/1.cc: New.
3816         * 27_io/basic_istream/ignore/char/6360.cc: New.
3817         * 27_io/basic_istream/ignore/char/7220.cc: New.
3818         * 27_io/basic_istream/peek/char/1.cc: New.
3819         * 27_io/basic_istream/peek/char/6414.cc: New.
3820         * 27_io/basic_istream/putback/char/1.cc: New.
3821         * 27_io/basic_istream/read/char/1.cc: New.
3822         * 27_io/basic_istream/read/char/2.cc: New.
3823         * 27_io/basic_istream/read/char/3.cc: New.
3824         * 27_io/basic_istream/readsome/char/6746-1.cc: New.
3825         * 27_io/basic_istream/readsome/char/6746-2.cc: New.
3826         * 27_io/basic_istream/readsome/char/8258.cc: New.
3827         * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
3828         * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
3829         * 27_io/basic_istream/seekg/char/8348-1.cc: New.
3830         * 27_io/basic_istream/seekg/char/8348-2.cc: New.
3831         * 27_io/basic_istream/seekg/char/fstream.cc: New.
3832         * 27_io/basic_istream/seekg/char/sstream.cc: New.
3833         * 27_io/basic_istream/sentry/char/1.cc: New.
3834         * 27_io/basic_istream/sentry/char/2.cc: New.
3835         * 27_io/basic_istream/sentry/char/3.cc: New.
3836         * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
3837         * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
3838         * 27_io/basic_istream/tellg/char/1.cc: New.
3839         * 27_io/basic_istream/tellg/char/8348.cc: New.
3840         * 27_io/basic_istream/tellg/char/fstream.cc: New.
3841         * 27_io/basic_istream/tellg/char/sstream.cc: New.
3842         * 27_io/basic_istream/ws/char/1.cc: New.
3843         * 27_io/basic_istringstream/1.cc: New.
3844         * 27_io/basic_istringstream/2.cc: New.
3845         * 27_io/basic_istringstream/3.cc: New.
3846         * 27_io/basic_istringstream/4.cc: New.
3847         * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
3848         * 27_io/basic_istringstream/str/char/1.cc: New.
3849         * 27_io/basic_ofstream/1.cc: New.
3850         * 27_io/basic_ofstream/2.cc: New.
3851         * 27_io/basic_ofstream/3.cc: New.
3852         * 27_io/basic_ofstream/4.cc: New.
3853         * 27_io/basic_ofstream/cons/char/2.cc: New.
3854         * 27_io/basic_ofstream/open/char/1.cc: New.
3855         * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
3856         * 27_io/basic_ostream/1.cc: New.
3857         * 27_io/basic_ostream/2.cc: New.
3858         * 27_io/basic_ostream/3.cc: New.
3859         * 27_io/basic_ostream/4.cc: New.
3860         * 27_io/basic_ostream/cons/char/9827.cc: New.
3861         * 27_io/basic_ostream/endl/char/1.cc: New.
3862         * 27_io/basic_ostream/ends/char/1.cc: New.
3863         * 27_io/basic_ostream/ends/char/2.cc: New.
3864         * 27_io/basic_ostream/exceptions/char/9561.cc: New.
3865         * 27_io/basic_ostream/flush/char/1.cc: New.
3866         * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
3867         * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
3868         * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
3869         * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
3870         * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
3871         * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
3872         * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
3873         * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
3874         * 27_io/basic_ostream/inserters_character/char/1.cc: New.
3875         * 27_io/basic_ostream/inserters_character/char/2.cc: New.
3876         * 27_io/basic_ostream/inserters_character/char/3.cc: New.
3877         * 27_io/basic_ostream/inserters_character/char/4.cc: New.
3878         * 27_io/basic_ostream/inserters_character/char/5.cc: New.
3879         * 27_io/basic_ostream/inserters_character/char/6.cc: New.
3880         * 27_io/basic_ostream/inserters_character/char/8.cc: New.
3881         * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
3882         * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
3883         * 27_io/basic_ostream/inserters_other/char/1.cc: New.
3884         * 27_io/basic_ostream/inserters_other/char/2.cc: New.
3885         * 27_io/basic_ostream/inserters_other/char/3.cc: New.
3886         * 27_io/basic_ostream/inserters_other/char/4.cc: New.
3887         * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
3888         * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
3889         * 27_io/basic_ostream/sentry/char/1.cc: New.
3890         * 27_io/basic_ostream/sentry/char/2.cc: New.
3891         * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
3892         * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
3893         * 27_io/basic_ostream/tellp/char/1.cc: New.
3894         * 27_io/basic_ostream/tellp/char/2.cc: New.
3895         * 27_io/basic_ostringstream/1.cc: New.
3896         * 27_io/basic_ostringstream/2.cc: New.
3897         * 27_io/basic_ostringstream/3.cc: New.
3898         * 27_io/basic_ostringstream/4.cc: New.
3899         * 27_io/basic_ostringstream/cons/char/3.cc: New.
3900         * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
3901         * 27_io/basic_ostringstream/str/char/1.cc: New.
3902         * 27_io/basic_ostringstream/str/char/2.cc: New.
3903         * 27_io/basic_streambuf/1.cc: New.
3904         * 27_io/basic_streambuf/2.cc: New.
3905         * 27_io/basic_streambuf/3.cc: New.
3906         * 27_io/basic_streambuf/cons/char/1.cc: New.
3907         * 27_io/basic_streambuf/imbue/char/1.cc: New.
3908         * 27_io/basic_streambuf/imbue/char/9322.cc: New.
3909         * 27_io/basic_streambuf/overflow/char/1.cc: New.
3910         * 27_io/basic_streambuf/overflow/char/2.cc: New.
3911         * 27_io/basic_streambuf/overflow/char/3599.cc: New.
3912         * 27_io/basic_streambuf/sgetc/char/1.cc: New.
3913         * 27_io/basic_streambuf/sgetn/char/1.cc: New.
3914         * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
3915         * 27_io/basic_streambuf/sputc/char/1057.cc: New.
3916         * 27_io/basic_streambuf/sputn/char/1.cc: New.
3917         * 27_io/basic_streambuf/sputn/char/1057.cc: New.
3918         * 27_io/basic_streambuf/sync/char/1057.cc: New.
3919         * 27_io/basic_stringbuf/1.cc: New.
3920         * 27_io/basic_stringbuf/2.cc: New.
3921         * 27_io/basic_stringbuf/3.cc: New.
3922         * 27_io/basic_stringbuf/4.cc: New.
3923         * 27_io/basic_stringbuf/5.cc: New.
3924         * 27_io/basic_stringbuf/imbue/char/1.cc: New.
3925         * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
3926         * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
3927         * 27_io/basic_stringbuf/overflow/char/2.cc: New.
3928         * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
3929         * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
3930         * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
3931         * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
3932         * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
3933         * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
3934         * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
3935         * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
3936         * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
3937         * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
3938         * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
3939         * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
3940         * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
3941         * 27_io/basic_stringbuf/snextc/char/1.cc: New.
3942         * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
3943         * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
3944         * 27_io/basic_stringbuf/sputc/char/1.cc: New.
3945         * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
3946         * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
3947         * 27_io/basic_stringbuf/sputn/char/1.cc: New.
3948         * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
3949         * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
3950         * 27_io/basic_stringbuf/str/char/1.cc: New.
3951         * 27_io/basic_stringbuf/str/char/2.cc: New.
3952         * 27_io/basic_stringbuf/str/char/3.cc: New.
3953         * 27_io/basic_stringbuf/str/char/3955.cc: New.
3954         * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
3955         * 27_io/basic_stringbuf/sync/char/1057.cc: New.
3956         * 27_io/basic_stringstream/1.cc: New.
3957         * 27_io/basic_stringstream/2.cc: New.
3958         * 27_io/basic_stringstream/3.cc: New.
3959         * 27_io/basic_stringstream/4.cc: New.
3960         * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
3961         * 27_io/basic_stringstream/str/char/1.cc: New.
3962         * 27_io/basic_stringstream/str/char/2.cc: New.
3963         * 27_io/basic_stringstream/str/char/3.cc: New.
3964         * 27_io/basic_stringstream/str/char/4.cc: New.
3965         * 27_io/fpos/1.cc: New.
3966         * 27_io/fpos/2.cc: New.
3967         * 27_io/fpos/3.cc: New.
3968         * 27_io/ios_base/callbacks/1.cc: New.
3969         * 27_io/ios_base/state/1.cc: New.
3970         * 27_io/ios_base/storage/1.cc: New.
3971         * 27_io/ios_base/storage/2.cc: New.
3972         * 27_io/ios_base/storage/3.cc: New.
3973         * 27_io/ios_base/sync_with_stdio/1.cc: New.
3974         * 27_io/ios_base/sync_with_stdio/2.cc: New.
3975         * 27_io/manipulators/adjustfield/char/1.cc: New.
3976         * 27_io/manipulators/adjustfield/char/2.cc: New.
3977         * 27_io/manipulators/basefield/char/1.cc: New.
3978         * 27_io/manipulators/standard/char/1.cc: New.
3979         * 27_io/manipulators/standard/char/2.cc: New.
3980         * 27_io/objects/char/1.cc: New.
3981         * 27_io/objects/char/2.cc: New.
3982         * 27_io/objects/char/2523-1_xin.cc: New.
3983         * 27_io/objects/char/2523-1_xin.in: New.
3984         * 27_io/objects/char/2523-2_xin.cc: New.
3985         * 27_io/objects/char/2523-2_xin.in: New.
3986         * 27_io/objects/char/3045.cc: New.
3987         * 27_io/objects/char/3647.cc: New.
3988         * 27_io/objects/char/3_xin.cc: New.
3989         * 27_io/objects/char/3_xin.in: New.
3990         * 27_io/objects/char/4_xin.cc: New.
3991         * 27_io/objects/char/4_xin.in: New.
3992         * 27_io/objects/char/5268.cc: New.
3993         * 27_io/objects/char/5280_xin.cc: New.
3994         * 27_io/objects/char/5280_xin.in: New.
3995         * 27_io/objects/char/6548_xin.cc: New.
3996         * 27_io/objects/char/6548_xin.in: New.
3997         * 27_io/objects/char/6648-1_xin.cc: New.
3998         * 27_io/objects/char/6648-1_xin.in: New.
3999         * 27_io/objects/char/6648-2_xin.cc: New.
4000         * 27_io/objects/char/6648-2_xin.in: New.
4001         * 27_io/objects/char/7744_xin.cc: New.
4002         * 27_io/objects/char/7744_xin.in: New.
4003         * 27_io/objects/wchar_t/1.cc: New.
4004         * 27_io/types/1.cc: New.
4005         * 27_io/types/2.cc: New.
4006         * data/filebuf_members-1.tst: New.
4007         * data/filebuf_members-1.txt: New.
4008         * data/filebuf_virtuals-1.tst: New.
4009         * data/filebuf_virtuals-1.txt: New.
4010         * data/filebuf_virtuals-2.tst: New.
4011         * data/filebuf_virtuals-3.tst: New.
4012         * data/ifstream_members-1.tst: New.
4013         * data/ifstream_members-1.txt: New.
4014         * data/ios_base_members_static-1.tst: New.
4015         * data/istream_extractor_other-1.tst: New.
4016         * data/istream_extractor_other-1.txt: New.
4017         * data/istream_extractor_other-2.tst: New.
4018         * data/istream_seeks-1.tst: New.
4019         * data/istream_seeks-1.txt: New.
4020         * data/istream_seeks-2.tst: New.
4021         * data/istream_seeks-3.tst: New.
4022         * data/istream_unformatted-1.tst: New.
4023         * data/istream_unformatted-1.txt: New.
4024         * data/ofstream_members-1.tst: New.
4025         * data/ostream_inserter_char-1.tst: New.
4026         * data/ostream_inserter_char-1.txt: New.
4027         * data/ostream_inserter_other-1.tst: New.
4028         * data/ostream_inserter_other-2.tst: New.
4029         * data/ostream_seeks-1.tst: New.
4031 2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
4033         * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
4034         requirement that __mode must be strict input or output.
4036         * include/std/std_streambuf.h (basic_streambuf::setp): Set
4037         _M_out_lim.
4039         * include/std/std_sstream.h (basic_strinbuf::str): Zero length
4040         output string shouldn't core.
4041         (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
4042         type.
4043         * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
4045         * include/bits/istream.tcc (basic_istream::putback): Set gcount to
4046         zero.
4048 2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
4050         * testsuite/data: New directory.
4051         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4052         to copy files from the testsuite data directory.
4053         (libstdc++-v3-list-sourcefiles): Add another test list filter, for
4054         testfiles containing _xin, which now means this is an interactive
4055         test and should be run with the interactive dejagnu hooks.
4056         * testsuite/Makefile.am: Remove testsuite_* files.
4057         * testsuite/Makefile.in: Regenerate.
4059 2003-04-09  Zack Weinberg  <zack@codesourcery.com>
4061         * docs/html/install.html: Document complete list of locales
4062         required by test suite.  Document procedure for installing
4063         said locales under Debian.  Solicit instructions for other
4064         operating systems.
4066 2003-04-08  Alexandre Oliva  <aoliva@redhat.com>
4068         * include/bits/sstream.tcc (overflow): Make sure operands of min
4069         and max have the same type.
4071 2003-04-04  Jerry Quinn  <jlquinn@optonline.net>
4073         PR libstdc++/10276
4074         * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
4075         initialization.
4077 2003-03-31  Paolo Carlini  <pcarlini@unitus.it>
4079         * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
4080         * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4081         Don't set _M_out_end.
4082         (basic_filebuf::overflow): Replace _M_out_buf_size() with
4083         this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4084         * include/bits/sstream.tcc (basic_stringbuf::overflow):
4085         Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4086         * include/bits/streambuf.tcc (basic_streambuf::sputc):
4087         Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4088         (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4089         _M_out_end - _M_out_cur.
4090         (__copy_streambufs): Likewise.
4091         * include/std/std_fstream.h (_M_set_determinate): Set
4092         _M_out_end here.
4094 2003-03-30  Paolo Carlini  <pcarlini@unitus.it>
4096         * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4097         _M_convert_to_external, _M_really_overflow, seekoff): Fix
4098         test for synced buffer.
4099         * include/std/std_fstream.h (sync): Likewise.
4100         * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4101         basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4103 2003-03-28  Benjamin Kosnik  <bkoz@redhat.com>
4105         * include/std/std_sstream.h (basic_istringstream): Adjust
4106         initialization.
4107         (basic_ostringstream): Same.
4108         (basic_stringstream): Same.
4109         * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4110         (basic_ofstream): Same.
4111         (basic_fstream): Same.
4112         * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4113         that does not call init.
4114         * include/std/std_istream.h (basic_istream): Same.
4115         (basic_iostream): Construct istream, ostream uninitialized, use
4116         init to initialize just once. Add protected ctor that does not
4117         call init.
4119 2003-03-28  Paolo Carlini  <pcarlini@unitus.it>
4120             Nathan Myers  <ncm@cantrip.org>
4122         PR libstdc++/9533
4123         * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4124         call underflow().
4125         (basic_filebuf<>::showmanyc): Use the information provided
4126         by codecvt and __basic_file<>::showmanyc_helper to implement
4127         a non-trivial showmanyc.
4128         * config/io/basic_file_stdio.h
4129         (__basic_file<>::showmanyc_helper): New, declare.
4130         * config/io/basic_file_stdio.cc
4131         (__basic_file<>::showmanyc_helper): Define.
4132         (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4133         (__basic_file<char>::open): Don't call fcntl().
4134         * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4135         GLIBCPP_CHECK_POLL): New macros.
4136         * configure.in: Call here.
4137         * acconfig.h: Add #undefs for the corresponding symbols.
4138         * aclocal.m4: Regenerate.
4139         * configure: Regenerate.
4140         * config.h.in: Regenerate.
4142 2003-03-24  Benjamin Kosnik  <bkoz@redhat.com>
4144         * config/linker-map.gnu: Remove string export restrictions.
4146 2003-03-24  Paolo Carlini  <pcarlini@unitus.it>
4148         * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4149         find_first_of, find_last_of and find_last_not_of tests.
4150         * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4151         tests here, new file.
4152         * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4153         remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4154         * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4155         wchar_t find_first_of tests here, new file.
4156         * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4157         tests here.
4158         * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4159         tests here.
4160         * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4161         wchar_t find_last_of tests here.
4162         * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4163         wchar_t find_last_not_of tests here.
4165 2003-03-22  Loren J. Rittle  <ljrittle@acm.org>
4167         * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4168         Correct return value.
4170 2003-03-21  Jerry Quinn  <jlquinn@optonline.net>
4172         PR libstdc++/5730
4173         * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4174         * include/std/std_complex.h (norm):  Use faster,
4175         less accurate computation for builtin float types under --fast-math.
4177 2003-03-21  Magnus Fromreide  <gnats@magfr.user.lysator.liu.se>
4179         * testsuite/testsuite_hooks.h: Fix warning nits.
4181 2003-03-19  Alexandre Oliva  <aoliva@redhat.com>
4183         * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4184         Only .set mips2 for the o32 ABI.
4186 2003-03-19  Paolo Carlini  <pcarlini@unitus.it>
4188         * testsuite/21_strings/char_traits/requirements/char/1.cc:
4189         Test char not wchar_t.
4191 2003-03-18  Paolo Carlini  <pcarlini@unitus.it>
4193         * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4194         Correct size, taking into account sizeof(wchar_t).
4196 2003-03-18  Paolo Carlini  <pcarlini@unitus.it>
4198         Reshuffle 21_strings testsuite.
4199         * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4200         assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4201         element_access.cc, operations.cc, char_traits_requirements.cc,
4202         find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4203         compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4204         wchar_t tests as follows.
4205         * 21_strings/basic_string/append/char/1.cc: New.
4206         * 21_strings/basic_string/append/wchar_t/1.cc: New.
4207         * 21_strings/basic_string/assign/char/1.cc: New.
4208         * 21_strings/basic_string/assign/char/2.cc: New.
4209         * 21_strings/basic_string/assign/char/3.cc: New.
4210         * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4211         * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4212         * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4213         * 21_strings/basic_string/capacity/1.cc: New.
4214         * 21_strings/basic_string/capacity/char/1.cc: New.
4215         * 21_strings/basic_string/capacity/char/2.cc: New.
4216         * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4217         * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4218         * 21_strings/basic_string/compare/char/1.cc: New.
4219         * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4220         * 21_strings/basic_string/cons/char/1.cc: New.
4221         * 21_strings/basic_string/cons/char/2.cc: New.
4222         * 21_strings/basic_string/cons/char/3.cc: New.
4223         * 21_strings/basic_string/cons/char/4.cc: New.
4224         * 21_strings/basic_string/cons/char/5.cc: New.
4225         * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4226         * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4227         * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4228         * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4229         * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4230         * 21_strings/basic_string/element_access/char/1.cc: New.
4231         * 21_strings/basic_string/element_access/char/2.cc: New.
4232         * 21_strings/basic_string/element_access/char/3.cc: New.
4233         * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4234         * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4235         * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4236         * 21_strings/basic_string/find/char/1.cc: New.
4237         * 21_strings/basic_string/find/wchar_t/1.cc: New.
4238         * 21_strings/basic_string/insert/char/1.cc: New.
4239         * 21_strings/basic_string/insert/char/2.cc: New.
4240         * 21_strings/basic_string/insert/wchar_t/1.cc: New.
4241         * 21_strings/basic_string/insert/wchar_t/2.cc: New.
4242         * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
4243         * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
4244         * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
4245         * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
4246         * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
4247         * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
4248         * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
4249         * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
4250         * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
4251         * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
4252         * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
4253         * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
4254         * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
4255         * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
4256         * 21_strings/basic_string/operators/char/1.cc: New.
4257         * 21_strings/basic_string/operators/char/2.cc: New.
4258         * 21_strings/basic_string/operators/wchar_t/1.cc: New.
4259         * 21_strings/basic_string/operators/wchar_t/2.cc: New.
4260         * 21_strings/basic_string/replace/char/1.cc: New.
4261         * 21_strings/basic_string/replace/char/2.cc: New.
4262         * 21_strings/basic_string/replace/char/3.cc: New.
4263         * 21_strings/basic_string/replace/char/4.cc: New.
4264         * 21_strings/basic_string/replace/char/5.cc: New.
4265         * 21_strings/basic_string/replace/wchar_t/1.cc: New.
4266         * 21_strings/basic_string/replace/wchar_t/2.cc: New.
4267         * 21_strings/basic_string/replace/wchar_t/3.cc: New.
4268         * 21_strings/basic_string/replace/wchar_t/4.cc: New.
4269         * 21_strings/basic_string/replace/wchar_t/5.cc: New.
4270         * 21_strings/basic_string/rfind/char/1.cc: New.
4271         * 21_strings/basic_string/rfind/char/2.cc: New.
4272         * 21_strings/basic_string/rfind/char/3.cc: New.
4273         * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
4274         * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
4275         * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
4276         * 21_strings/basic_string/substr/char/1.cc: New.
4277         * 21_strings/basic_string/substr/wchar_t/1.cc: New.
4278         * 21_strings/c_strings/char/1.cc: New.
4279         * 21_strings/c_strings/char/2.cc: New.
4280         * 21_strings/c_strings/wchar_t/1.cc: New.
4281         * 21_strings/c_strings/wchar_t/2.cc: New.
4282         * 21_strings/char_traits/requirements/char/1.cc: New.
4283         * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
4284         * 21_strings/char_traits/typedefs/char/1.cc: New.
4286 2003-03-17  Paolo Carlini  <pcarlini@unitus.it>
4287             Petur Runolfsson  <peturr02@ru.is>
4289         PR libstdc++/10097
4290         * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4291         basic_filebuf<wchar_t>::_M_underflow_common):
4292         if (gptr() < egptr()) return *gptr().
4293         * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
4295         * testsuite/27_io/filebuf_members.cc (test_04): Minor
4296         changes: unlink fifo before making it, fix spelling error.
4298 2003-03-17  Benjamin Kosnik  <bkoz@redhat.com>
4300         * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4301         * testsuite/Makefile.in: Regenerate.
4302         * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
4303         Cleanups.
4305 2003-03-17  Petur Runolfsson  <peturr02@ru.is>
4307         PR libstdc++/9964
4308         * include/bits/fstream.tcc (basic_filebuf::close):
4309         Always close file, even when write fails.
4310         * testsuite/27_io/filebuf_members.cc (test_07):  New test.
4312 2003-03-17  Danny Smith  <dannysmith@users.sourceforge.net>
4314         * libsupc++/Makefile.am (C_COMPILE): Remove.
4315         (LTCOMPILE): Likewise.
4316         * libsupc++/Makefile.in: Regenerate.
4318 2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>
4320         * testsuite/23_containers/bitset_members.cc: Add test variable.
4321         * testsuite/23_containers/map_insert.cc: Same.
4322         * testsuite/22_locale/ctype/cons/char/1.cc: Same.
4323         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
4324         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4325         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4326         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4327         * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
4328         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
4329         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4330         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4331         * testsuite/27_io/istream_exception.cc: Same.
4332         * testsuite/27_io/filebuf_virtuals.cc: Same.
4333         * testsuite/27_io/stringbuf_virtuals.cc: Same.
4334         * testsuite/27_io/ostream_inserter_arith.cc: Same.
4335         * testsuite/26_numerics/valarray_operators.cc: Same.
4336         * testsuite/26_numerics/slice.cc: Same.
4337         * testsuite/26_numerics/slice_array_assignment.cc: Same.
4338         * testsuite/24_iterators/istream_iterator.cc: Same.
4339         * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
4341 2003-03-14  Petur Runolfsson  <peturr02@ru.is>
4343         PR libstdc++/9581
4344         PR libstdc++/9870
4345         * config/locale/generic/ctype_members.cc,
4346         * config/locale/gnu/ctype_members.cc
4347         (ctype<wchar_t>::do_widen(char)):  Cast argument to
4348         unsigned char before passing to btowc.
4349         (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
4350         Convert characters with btowc instead of mbsrtowcs.
4351         (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
4352         char, char*):
4353         Convert characters with wctob instead of wcsrtombs.
4354         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc:  New test.
4355         * testsuite/22_locale/ctype/widen/wchar_t/2.cc:  New test.
4356         * testsuite/22_locale/ctype/widen/wchar_t/3.cc:  New test.
4358 2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>
4360         * include/stdc++.h: New.
4361         * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
4362         * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
4363         * include/Makefile.in: Regenerate.
4364         * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
4365         (--cxxflags): Put -g -O2 here.
4366         * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
4368 2003-03-14  Loren J. Rittle  <ljrittle@acm.org>
4370         * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
4371         missing named locale.
4373 2003-03-14  Andreas Schwab  <schwab@suse.de>
4375         * configure.in: Only append to makefiles that are newly created to
4376         avoid multiple multi-do/multi-clean rules.
4377         * configure: Rebuilt.
4379 2003-03-13  Jonathan Wakely  <redi@gcc.gnu.org>
4381         * docs/html/configopts.html, docs/html/documentation.html,
4382         docs/html/explanations.html, docs/html/install.html,
4383         docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
4384         invalid XHTML and make page header style consistent.
4386 2003-03-12  Jonathan Wakely  <redi@gcc.gnu.org>
4388         * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
4389         * docs/html/faq/index.txt: Regenerate.
4390         * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
4392 2003-03-12  Andreas Schwab  <schwab@suse.de>
4394         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
4395         glibcpp_toolexeclibdir.
4396         * aclocal.m4, configure: Rebuilt.
4398 2003-03-11  Jonathan Wakely  <redi@gcc.gnu.org>
4400         * docs/html/faq/index.html: Update text about location of headers.
4401         * docs/html/faq/index.txt: Regenerate.
4403 2003-03-11  Carlo Wood  <carlo@alinoe.com>
4405         * include/bits/demangle.h: Prepend accessors of
4406         class qualifier with 'get_' in order to fix warnings
4407         when compiling with -Wshadow.
4409 2003-03-11  Loren J. Rittle  <ljrittle@acm.org>
4411         * config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
4412         when so installed.
4413         * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
4415         * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
4416         report lack of setenv().
4418 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
4420         * config/io/basic_file_stdio.cc: include <unistd.h>.
4422 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
4423             Nathan Myers  <ncm@cantrip.org>
4425         PR libstdc++/7744
4426         * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
4427         seekoff, seekpos): Add a boolean parameter __stdio.
4428         * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
4429         seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
4430         fseek/ftell, respectively), otherwise read (write, lseek, lseek,
4431         respectively).
4432         * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
4433         _M_really_overflow, seekoff): Use the boolean parameter in the calls.
4434         * include/std/std_fstream.h (sync): Likewise.
4435         * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
4436         * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
4437         libstdc++/8399 commit involving isatty(0).
4438         * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
4439         (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
4440         * configure.in: Remove call.
4441         * aclocal.m4: Regenerate.
4442         * config.h.in: Regenerate.
4443         * configure: Regenerate.
4444         * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
4446 2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
4448         PR libstdc++/9988
4449         * include/bits/fstream.tcc (overflow): don't write EOF to file.
4450         * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
4452 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
4454         PR libstdc++/9561
4455         * include/bits/basic_ios.h (_M_setstate): New.
4456         * include/bits/ostream.tcc (operator<<): Use it.
4457         * include/bits/istream.tcc (operator>>): Use it.
4458         * include/std/std_ostream.h (operator<<): Make friends.
4459         * include/std/std_istream.h (operator>>): Make friends.
4460         * testsuite/27_io/ostream_exception.cc,
4461         testsuite/27_io/istream_exception.cc: New tests.
4463 2003-03-08  Benjamin Kosnik  <bkoz@redhat.com>
4465         * include/bits/locale_facets.tcc: Fix typo.
4467 2003-03-08  Loren J. Rittle  <ljrittle@acm.org>
4469         * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
4471         * config/locale/generic/c_locale.cc
4472         (locale::facet::_S_create_c_locale): Throw runtime exception when
4473         unsupported language is specified.
4474         * testsuite/testsuite_hooks.h
4475         (run_test_wrapped_generic_locale_exception_catcher): New function.
4476         * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
4477         Suppress runtime exception thrown by generic implementation.
4478         (run_tests_wrapped_env): Likewise.
4479         (run_test_wrapped_generic_locale_exception_catcher): New function.
4480         * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
4481         * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
4482         * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
4483         * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
4484         * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
4485         * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
4486         * testsuite/22_locale/collate_byname/1.cc: New test wrap.
4487         * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
4488         * testsuite/22_locale/facet/2.cc: New test wrap.
4489         * testsuite/22_locale/locale/cons/4.cc: New test wrap.
4490         * testsuite/22_locale/locale/cons/5.cc: New test wrap.
4491         * testsuite/22_locale/locale/cons/7.cc: New test wrap.
4492         * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
4493         * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
4494         * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
4495         * testsuite/22_locale/messages_byname/1.cc: New test wrap.
4496         * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
4497         * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
4498         * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
4499         * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
4500         * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
4501         * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
4502         * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
4503         * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
4504         * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
4505         * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
4506         * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
4507         * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
4508         * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
4509         * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
4510         * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
4511         * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
4512         * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
4513         * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
4514         * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
4515         * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
4516         * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
4517         * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
4518         * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
4519         * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
4520         * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
4521         * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
4522         * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
4523         * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
4524         * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
4525         * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
4526         * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
4527         * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
4528         * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
4529         * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
4530         * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
4531         * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
4532         * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
4533         * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
4534         * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
4535         * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
4536         * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
4537         * testsuite/27_io/ios_members.cc: New test wrap.
4538         * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
4539         New test wrap.
4540         * testsuite/27_io/streambuf_members.cc: New test wrap.
4541         * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
4543 2003-03-08  Paolo Carlini <pcarlini@unitus.it>
4544             Petur Runolfsson  <peturr02@ru.is>
4546         PR libstdc++/9424
4547         * include/bits/streambuf.tcc (__copy_streambufs): Use
4548         sgetn-sputn only when sputn cannot fail, otherwise fall back
4549         to safe snextc-sputc.
4550         * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
4552 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
4554         * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
4555         locale cache for truename and falsename.
4557 2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
4559         * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
4560         _M_word_size initialization.
4562 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
4564         * include/bits/fstream.tcc (_M_convert_to_external):
4565         Set __elen to zero if codecvt::out eventually fails.
4567 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
4569         PR libstdc++/9182
4570         * include/bits/fstream.tcc (_M_really_overflow): Check
4571         for _M_convert_to_external possible failures.
4572         * include/std/std_fstream.h (sync): Check _M_really_overflow
4573         return value and return -1 in case of failure.
4574         * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
4576 2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
4578         PR libstdc++/9826
4579         * include/bits/istream.tcc (operator>>(_CharT*),
4580         operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
4581         * testsuite/27_io/stringstream.cc (test02): Add.
4583         * include/bits/istream.tcc (operator>>(_CharT*)):
4584         Assign a char_type to *__s.
4586 2003-03-07  Petur Runolfsson  <peturr02@ru.is>
4588         PR libstdc++/9817
4589         * include/bits/locale_facets.tcc
4590         (collate::do_compare, collate::do_transform):
4591         Handle nul characters in input.
4592         * testsuite/22_locale/collate/compare/char/3.cc:  New test.
4593         * testsuite/22_locale/collate/compare/wchar_t/3.cc:  New test.
4594         * testsuite/22_locale/collate/transform/char/3.cc:  New test.
4595         * testsuite/22_locale/collate/transform/wchar_t/3.cc:  New test.
4597 2003-03-07  Jerry Quinn  <jlquinn@optonline.net>
4599         * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
4600         sputn fails.
4601         * testsuite/27_io/ostream_fail.cc: New test.
4603 2003-03-07  Matthias Klose  <doko@debian.org>
4605         * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
4606         FLAGS_TO_PASS: Set to AM_MAKEFLAGS
4607         * Makefile.in: Regenerate.
4608         * libsupc++/Makefile.am: Express glibcppinstalldir in terms
4609         of gxx_include_dir.
4610         AM_MAKEFLAGS: Pass gxx_include_dir.
4611         * libsupc++/Makefile.in: Regenerate.
4613 2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
4615         * testsuite/27_io/ios_base_storage.cc (test02): Set exception
4616         mask.  Test setting small-numbered pword and iword slots.  Test
4617         behavior at limit of numeric_limits::max.  Check that values are
4618         still good after failures.
4620 2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
4622         * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
4623         (ios_base::ios_base): Set _M_word, _M_word_size.
4624         (ios_base::~ios_base): Remove redundant test.
4625         * testsuite/27_io/ios_base_storage.cc (test03): New.
4627 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
4629         * src/strstream.cc, include/bits/basic_string.tcc: Remove
4630         incorrect whitespace added in my previous change.
4632 2003-03-05  Carlo Wood  <carlo@alinoe.com>
4634         * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
4635         _S_initialized() in order to allow debugging libraries to detect
4636         when the std streams are initialized from an overloaded operator
4637         new.
4639 2003-03-05  Benjamin Kosnik  <bkoz@redhat.com>
4641         * libsupc++/demangle.h: Move to..
4642         * include/bits/demangle.h: ...here.
4643         * src/demangle.cc: Adjust include.
4644         * include/Makefile.am (bits_headers): Add.
4645         * include/Makefile.in: Regenerate.
4647 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
4649         * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
4651         * config/linker-map.gnu: Filter typeinfo and vtable info.
4653 2003-03-04  Jerry Quinn  <jlquinn@optonline.net>
4655         * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
4656         new failure.  Throw exception if badbit and exception mask when ix
4657         >= numeric_limits<int>::max().
4659 2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
4661         * src/strstream.cc (strstreambuf::overflow): Make sure operands of
4662         min and max have the same type.
4663         * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
4665 2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
4667         * include/Makefile.am (allstamps): Remove stamp-std-precompile.
4668         * include/Makefile.in: Regenerate.
4670 2003-03-03  Benjamin Kosnik  <bkoz@redhat.com>
4672         * testsuite/abi_check.cc (report_symbol_info): Add version info.
4674         * config/linker-map.gnu: Hide more stuff.
4675         * include/Makefile.am: Cleanups.
4676         * include/Makefile.in: Regenerate.
4678 2003-02-27  Jerry Quinn  <jlquinn@optonline.net>
4680         * config/locale/generic/messages_members.h (messages::messages):
4681         Remove name from unused parameter.
4683 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4685         * src/Makefile.am (sources): Add demangle.cc.
4686         (demangle.o): Add.
4687         (demangle.lo): Add.
4688         * src/Makefile.in: Regenerate.
4689         * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
4690         * libsupc++/Makefile.in: Regenerate.
4692         * testsuite/testsuite_hooks.h
4693         (__gnu_cxx_test::verify_demangle): New.
4694         * testsuite/testsuite_hooks.cc: Define.
4696 2003-02-27  Carlo Wood  <carlo@alinoe.com>
4698         * src/demangle.cc: New.
4699         * libsupc++/demangle.h: New.
4701 2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
4702             Carlo Wood  <carlo@alinoe.com>
4704         * testsuite/demangle/abi_examples/01.cc: New.
4705         * testsuite/demangle/abi_examples/02.cc: New.
4706         * testsuite/demangle/abi_examples/03.cc: New.
4707         * testsuite/demangle/abi_examples/04.cc: New.
4708         * testsuite/demangle/abi_examples/05.cc: New.
4709         * testsuite/demangle/abi_examples/06.cc: New.
4710         * testsuite/demangle/abi_examples/07.cc: New.
4711         * testsuite/demangle/abi_examples/08.cc: New.
4712         * testsuite/demangle/abi_examples/09.cc: New.
4713         * testsuite/demangle/abi_examples/10.cc: New.
4714         * testsuite/demangle/abi_examples/11.cc: New.
4715         * testsuite/demangle/abi_examples/12.cc: New.
4716         * testsuite/demangle/abi_examples/13.cc: New.
4717         * testsuite/demangle/abi_examples/14.cc: New.
4718         * testsuite/demangle/abi_examples/15.cc: New.
4719         * testsuite/demangle/abi_examples/16.cc: New.
4720         * testsuite/demangle/abi_examples/17.cc: New.
4721         * testsuite/demangle/abi_examples/18.cc: New.
4722         * testsuite/demangle/abi_examples/19.cc: New.
4723         * testsuite/demangle/abi_examples/20.cc: New.
4724         * testsuite/demangle/abi_examples/21.cc: New.
4725         * testsuite/demangle/abi_examples/22.cc: New.
4726         * testsuite/demangle/abi_examples/23.cc: New.
4727         * testsuite/demangle/abi_examples/24.cc: New.
4728         * testsuite/demangle/abi_examples/25.cc: New.
4729         * testsuite/demangle/abi_examples/26.cc: New.
4730         * testsuite/demangle/abi_text/01.cc: New.
4731         * testsuite/demangle/abi_text/02.cc: New.
4732         * testsuite/demangle/abi_text/03.cc: New.
4733         * testsuite/demangle/abi_text/04.cc: New.
4734         * testsuite/demangle/abi_text/05.cc: New.
4735         * testsuite/demangle/abi_text/06.cc: New.
4736         * testsuite/demangle/abi_text/07.cc: New.
4737         * testsuite/demangle/abi_text/08.cc: New.
4738         * testsuite/demangle/abi_text/09.cc: New.
4739         * testsuite/demangle/abi_text/10.cc: New.
4740         * testsuite/demangle/abi_text/11.cc: New.
4741         * testsuite/demangle/abi_text/12.cc: New.
4742         * testsuite/demangle/abi_text/13.cc: New.
4743         * testsuite/demangle/abi_text/14.cc: New.
4744         * testsuite/demangle/regression/3111-1.cc: New.
4745         * testsuite/demangle/regression/3111-2.cc: New.
4746         * testsuite/demangle/regression/7986-01.cc: New.
4747         * testsuite/demangle/regression/7986-02.cc: New.
4748         * testsuite/demangle/regression/7986-03.cc: New.
4749         * testsuite/demangle/regression/7986-04.cc: New.
4750         * testsuite/demangle/regression/7986-05.cc: New.
4751         * testsuite/demangle/regression/7986-06.cc: New.
4752         * testsuite/demangle/regression/7986-07.cc: New.
4753         * testsuite/demangle/regression/7986-08.cc: New.
4754         * testsuite/demangle/regression/7986-09.cc: New.
4755         * testsuite/demangle/regression/7986-10.cc: New.
4756         * testsuite/demangle/regression/7986-11.cc: New.
4757         * testsuite/demangle/regression/7986-12.cc: New.
4758         * testsuite/demangle/regression/7986.cc: New.
4759         * testsuite/demangle/regression/8897.cc: New.
4760         * testsuite/demangle/regression/cw-01.cc: New.
4761         * testsuite/demangle/regression/cw-02.cc: New.
4762         * testsuite/demangle/regression/cw-03.cc: New.
4763         * testsuite/demangle/regression/cw-04.cc: New.
4764         * testsuite/demangle/regression/cw-05.cc: New.
4765         * testsuite/demangle/regression/cw-06.cc: New.
4766         * testsuite/demangle/regression/cw-07.cc: New.
4767         * testsuite/demangle/regression/cw-08.cc: New.
4768         * testsuite/demangle/regression/cw-09.cc: New.
4769         * testsuite/demangle/regression/cw-10.cc: New.
4770         * testsuite/demangle/regression/cw-11.cc: New.
4771         * testsuite/demangle/regression/cw-12.cc: New.
4772         * testsuite/demangle/regression/cw-13.cc: New.
4773         * testsuite/demangle/regression/cw-14.cc: New.
4774         * testsuite/demangle/regression/old.cc: New.
4776 2003-02-25  Phil Edwards  <pme@gcc.gnu.org>
4778         * docs/doxygen/Intro.3:  Update with new (proper) names.
4779         * docs/doxygen/TODO:  Update.
4780         * docs/doxygen/run_doxygen:  More comments, fix up man pages.
4781         Fake entries for standard typedefs.
4782         * docs/doxygen/user.cfg.in:  Turn INLINE_INHERITED_MEMB back on.
4783         * docs/html/documentation.html:  Top-level man page is now called
4784         C++Intro.
4785         * include/std/std_limits.h:  Doxygenate.
4787 2003-02-25  Scott Snyder  <snyder@fnal.gov>
4789         PR libstdc++/9811
4790         * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
4791         Correct documentation.
4792         * include/bits/stl_multimap.h (lower_bound, upper_bound,
4793         equal_range): Likewise.
4795 2003-02-24  Paolo Carlini  <pcarlini@unitus.it>
4797         PR libstdc++/9825
4798         * src/fstream.cc
4799         (basic_filebuf<char/wchar_t>::_M_underflow_common): When
4800         __bump is true (uflow), always increment the read pointer
4801         (_M_in_cur) before returning successfully.
4802         * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
4804 2003-02-24  Paolo Carlini <pcarlini@unitus.it>
4805             Nathan Myers <ncm@cantrip.org>
4807         PR libstdc++/9404, PR libstdc++/9701 (partial)
4808         (aka pptr == epptr implies overflow)
4809         * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4810         Consistently, _M_out_end points to the end of the buffer just
4811         created.
4812         (overflow): Tweak to use _M_out_buf_size().
4813         (_M_convert_to_external): The role of the old _M_out_end is
4814         now played by _M_out_lim.
4815         (_M_really_overflow): Likewise.
4816         (seekoff): Likewise.
4817         (setbuf): _M_out_end points to the end of the external buffer.
4818         * include/bits/sstream.tcc (overflow): Rewrote, taking into
4819         account the resolution of DR 169 (TC).
4820         (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
4821         (seekpos): Use _M_string.capacity(); tweak.
4822         * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
4823         * include/std/std_fstream.h (sync): The role of the old
4824         _M_out_end is now played by _M_out_lim.
4825         (_M_set_indeterminate): Use _M_set_determinate.
4826         (_M_set_determinate): _M_out_end is now _M_out_lim.
4827         (_M_is_indeterminate): Likewise.
4828         * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
4829         (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
4830         which have the information readily available as _M_string.capacity();
4831         for ate and app modes, pass the string size to _M_really_sync.
4832         (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
4833         point to the end of the buffer (i.e., epptr) and to the string end,
4834         respectively.
4835         * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
4836         which points to the right limit of the used put area.
4837         (_M_out_cur_move): The role of the old _M_out_end is now played
4838         by _M_out_lim.
4839         (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
4840         _M_out_end  - _M_out_cur (i.e., pptr), _very_ close to the letter
4841         of the standard.
4842         (basic_streambuf()): Initialize _M_out_lim too.
4843         * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
4844         * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
4845         * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
4847 2003-02-24  Benjamin Kosnik  <bkoz@redhat.com>
4849         * testsuite/27_io/ios_base_storage.cc (main): Call
4850         set_memory_limits.
4852 2003-02-21  Jerry Quinn  <jlquinn@optonline.net>
4854         * include/bits/locale_facets.tcc (_M_convert_float): Replace
4855         numpunct facet accesses with data from __locale_cache.
4857 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
4859         * docs/html/faq/index.html (3.9):  New note, wchar_t on FreeBSD.
4860         * docs/html/faq/index.txt:  Regenerate.
4862 2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
4864         * config/linker-map.gnu:  Also export locking symbols needed for the
4865         generic atomicity.h case.
4867 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
4869         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4870         config.status.
4871         * configure: Rebuilt.
4873 2003-02-19  Paolo Carlini  <pcarlini@unitus.it>
4875         * include/bits/sstream.tcc (overflow): According to
4876         27.7.1.3, p5, actual output is performed by sputc(c).
4878 2003-02-19  Phil Edwards  <pme@gcc.gnu.org>
4880         PR libstdc++/9582
4881         * include/bits/stl_alloc.h:  Remove all traces of assert().
4883 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
4885         * include/std/std_sstream.h (str()): the size of the
4886         current string may be different from the initial one
4887         whenever _M_out_end > _M_out_beg.
4888         * testsuite/27_io/stringbuf_members.cc (test07): Add.
4890 2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
4892         PR libstdc++/9582
4893         * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
4895 2003-02-17  Benjamin Kosnik  <bkoz@redhat.com>
4897         * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
4898         * testsuite/27_io/ios_members.cc (test03): New.
4900 2003-02-17  Jerry Quinn  <jlquinn@optonline.net>
4902         * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
4903         (basic_ios::_M_cache_facets): Move into above.
4904         * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
4905         cache.
4906         (basic_ios::imbue): Force locale cache to be built.
4907         (basic_ios::_M_init): Create and initialize locale cache.
4908         * include/bits/ios_base.h (__locale_cache_base): Declare.
4909         (ios_base::_M_locale_cache): New.
4910         (ios_base::_M_cache): Define.
4911         * include/bits/locale_facets.h: (__num_base): Fix comment.  Add
4912         _S_end.
4913         (__locale_cache_base,__locale_cache<_CharT>):  New classes.
4914         (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
4915         * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
4916         cache literal string, grouping flag, thousands separator.
4917         (__locale_cache<_CharT>::__locale_cache): New.
4918         (__locale_cache<_CharT>::_M_init): New.
4919         * src/ios.cc: Clear _M_locale_cache in constructor.
4920         * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
4921         New.
4923 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
4925         * src/locale-inst.cc: Do not include <cassert>.
4926         * src/locale.cc: Likewise.
4928 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
4930         PR libstdc++/9580
4931         * include/std/std_fstream.h: Declare underflow and uflow
4932         specializations, change generic definitions to do nothing.
4933         * src/fstream.cc: Add underflow and uflow specializations.
4935 2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
4937         PR libstdc++/9169
4938         * include/bits/fstream.tcc (_M_convert_to_external):
4939         Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
4940         * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
4942 2003-02-13  Benjamin Kosnik  <bkoz@redhat.com>
4944         * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
4945         * include/bits/basic_ios.tcc: Guard use of extern template.
4946         * include/std/std_iomanip.h: Same.
4947         * include/bits/streambuf.tcc: Same.
4948         * include/bits/stl_alloc.h: Same.
4949         * include/bits/locale_facets.tcc: Same.
4950         * include/bits/ostream.tcc: Same.
4951         * include/bits/istream.tcc: Same.
4952         * include/bits/fstream.tcc: Same.
4953         * include/bits/basic_string.tcc: Same.
4955 2003-02-13  Paolo Carlini  <pcarlini@unitus.it>
4957         * include/bits/ostream.tcc (sentry::sentry): Improve
4958         performance-wise the fix for libstdc++/9563.
4960 2003-02-12  Phil Edwards  <pme@gcc.gnu.org>
4962         * config/cpu/generic/atomicity.h (_Atomic_add_mutex):  Fix declaration.
4963         (_GLIBCPP_NEED_GENERIC_MUTEX):  Define for this file.
4964         (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once):  Declare
4965         when we don't have static mutex initialization.
4966         (__exchange_and_add):  Use _Atomic_add_mutex_once.
4967         * src/misc-inst.cc:  Definitions of all the above.
4969 2003-02-12  Paolo Carlini  <pcarlini@unitus.it>
4971         PR libstdc++/9563
4972         * include/bits/ostream.tcc (sentry::sentry): Check
4973         the state of the stream after the preparation.
4974         * testsuite/27_io/ostream_sentry.cc (test02): Add.
4976 2003-02-11  Benjamin Kosnik  <bkoz@redhat.com>
4978         * include/Makefile.am (stamp-std-precompile): Add rule.
4979         * include/Makefile.in: Regenerated.
4981 2003-02-11 Jerry Quinn  <jlquinn@optonline.net>
4982            Benjamin Kosnik  <benjamin@redhat.com>
4984         * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
4985         Add indexes into this array.
4986         (__num_base::_S_atoms): To _S_atoms_in.
4987         (num_put::_M_insert): Rename to _M_pad.
4988         (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
4989         (num_put::_M_widen_int): Rename to _M_group_int.
4990         (num_put::_M_widen_float): Rename to _M_group_float.
4991         * include/bits/locale_facets.tcc (__int_to_char): New inline
4992         function and adapter functions.
4993         (num_put::_M_group_int): Streamline.
4994         (num_put::_M_group_float): Streamline.
4995         (num_put::_M_convert_int): Remove unused parameter names. Choose
4996         large enough buffer for text.  Use __int_to_char instead of
4997         __convert_from_v.  Formatted text is now at the end of the buffer.
4998         (num_put::_M_convert_float): Preliminary fixups.
4999         * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
5000         (__int_to_char<unsigned long long>): Same.
5001         (__int_to_char<char, unsigned long>): New.
5002         (__int_to_char<char, unsigned long long>): New.
5003         (__int_to_char<wchar_t, unsigned long>): New.
5004         (__int_to_char<wchar_t, unsigned long long>): New.
5006 2003-02-11  Scott Snyder  <snyder@fnal.gov>
5008         PR libstdc++/9659
5009         * include/bits/fstream.tcc (seekoff): Avoid operator+
5010         for pos_type.
5012 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
5014         PR libstdc++/9320
5015         * include/ext/stdio_filebuf.h
5016         (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
5017         stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
5018         Change to take a __size parameter of type size_t, not
5019         of type (template parameter dependent) int_type.
5020         * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
5021         size vars to size_t.
5022         * testsuite/ext/stdio_filebuf.cc: Add.
5024 2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
5025             Petur Runolfsson  <peturr02@ru.is>
5027         PR libstdc++/9318
5028         * include/bits/streambuf.tcc (__copy_streambufs):
5029         Don't conditionalize the copy to __testput.
5030         * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
5032 2002-02-11  DJ Delorie  <dj@redhat.com>
5034         * acinclude.m4: Check for native targets that can't link at
5035         this point in the build.
5036         * aclocal.m4: Regenerate.
5037         * configure: Regenerate.
5039 2003-02-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5041         * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
5042         Correct alignment.
5043         (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
5044         lock.
5046 2003-02-07  Paolo Carlini  <pcarlini@unitus.it>
5048         * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
5049         unsigned char platforms.
5051 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
5053         PR libstdc++/9562
5054         * include/std/std_istream.h
5055         (basic_istream::sentry::operator bool()): Make const.
5056         * include/std/std_ostream.h
5057         (basic_ostream::sentry::operator bool()): Likewise.
5058         * testsuite/27_io/istream_sentry.cc (test03): Add.
5059         * testsuite/27_io/ostream_sentry.cc: Add.
5061 2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
5063         PR libstdc++/9548
5064         Implement resolution of DR 231 (Ready)
5065         * include/bits/locale_facets.h (__num_base::_S_format_float):
5066         Change declaration: return void, remove __prec parameter.
5067         * src/locale.cc (__num_base::_S_format_float): Implement
5068         resolution of DR 231.
5069         * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5070         Tweak uses. Check for negative precision.
5071         * testsuite/22_locale/num_put/put/char/6.cc: Add
5072         * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
5074 2003-02-06  Peter Soetens  <peter.soetens@mech.kuleuven.ac.be>
5076         * config/io/basic_file_libio.h: Fixups.
5077         * config/io/c_io_libio.h: Same.
5078         * libio/Makefile.am: Same.
5079         * libio/Makefile.in: Regenerated.
5081 2003-02-06  Benjamin Kosnik  <bkoz@redhat.com>
5083         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5084         Explicitly use the "C" locale.
5085         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5087 2003-02-06  Petur Runolfsson  <peturr02@ru.is>
5089         DR 75
5090         DR 305
5091         PR libstdc++/9028 (partial)
5092         PR libstdc++/9224
5093         PR libstdc++/9246
5094         PR libstdc++/9247
5096         * src/codecvt.cc
5097         (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5098         codecvt<wchar_t, char, mbstate_t>::do_length,
5099         codecvt<wchar_t, char, mbstate_t>::do_max_length):
5100         Move...
5101         * config/locale/generic/codecvt_members.cc:  ...here.
5102         * config/locale/gnu/codecvt_members.cc:  ...and here.
5104         * config/locale/generic/codecvt_members.cc,
5105         * config/locale/gnu/codecvt_members.cc
5106         (codecvt<wchar_t, char, mbstate_t>::do_encoding
5107         codecvt<wchar_t, char, mbstate_t>::do_in,
5108         codecvt<wchar_t, char, mbstate_t>::do_length,
5109         codecvt<wchar_t, char, mbstate_t>::do_max_length,
5110         codecvt<wchar_t, char, mbstate_t>::do_out):
5111         New implementation that handles stateless encodings,
5112         including UTF-8.
5114         * config/locale/generic/codecvt_members.cc,
5115         * config/locale/gnu/codecvt_members.cc,
5116         * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5117         * include/bits/codecvt.h,
5118         * src/codecvt.cc
5119         (codecvt::length, codecvt::do_length):
5120         Change type of first argument of length and do_length from
5121         'const state_type&' to 'state_type&' according to DR 75.
5123         * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc:  Cleanup.
5124         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc:  New test.
5125         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc:  New test.
5126         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc:  New test.
5127         * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5128         Cleanup and check for correct return value from encoding
5129         for "C" locale.
5130         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc:  New test.
5131         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc:  New test.
5132         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc:  New test.
5133         * testsuite/22_locale/codecvt/in/wchar_t/1.cc:  Cleanup.
5134         * testsuite/22_locale/codecvt/in/wchar_t/2.cc:  New test.
5135         * testsuite/22_locale/codecvt/in/wchar_t/3.cc:  New test.
5136         * testsuite/22_locale/codecvt/in/wchar_t/4.cc:  New test.
5137         * testsuite/22_locale/codecvt/in/wchar_t/5.cc:  New test.
5138         * testsuite/22_locale/codecvt/in/wchar_t/6.cc:  New test.
5139         * testsuite/22_locale/codecvt/in/wchar_t/7.cc:  New test.
5140         * testsuite/22_locale/codecvt/in/wchar_t/8.cc:  New test.
5141         * testsuite/22_locale/codecvt/in/wchar_t/9.cc:  New test.
5142         * testsuite/22_locale/codecvt/length/char/1.cc:  Cleanup.
5143         * testsuite/22_locale/codecvt/length/char/2.cc:  New test.
5144         * testsuite/22_locale/codecvt/length/wchar_t/1.cc:  Cleanup.
5145         * testsuite/22_locale/codecvt/length/wchar_t/2.cc:  New test.
5146         * testsuite/22_locale/codecvt/length/wchar_t/3.cc:  New test.
5147         * testsuite/22_locale/codecvt/length/wchar_t/4.cc:  New test.
5148         * testsuite/22_locale/codecvt/length/wchar_t/5.cc:  New test.
5149         * testsuite/22_locale/codecvt/length/wchar_t/6.cc:  New test.
5150         * testsuite/22_locale/codecvt/length/wchar_t/7.cc:  New test.
5151         * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc:  Cleanup.
5152         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc:  New test.
5153         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc:  New test.
5154         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc:  New test.
5155         * testsuite/22_locale/codecvt/out/wchar_t/1.cc:  Cleanup.
5156         * testsuite/22_locale/codecvt/out/wchar_t/2.cc:  New test.
5157         * testsuite/22_locale/codecvt/out/wchar_t/3.cc:  New test.
5158         * testsuite/22_locale/codecvt/out/wchar_t/4.cc:  New test.
5159         * testsuite/22_locale/codecvt/out/wchar_t/5.cc:  New test.
5160         * testsuite/22_locale/codecvt/out/wchar_t/6.cc:  New test.
5161         * testsuite/22_locale/codecvt/out/wchar_t/7.cc:  New test.
5162         * testsuite/22_locale/codecvt/unicode/1.cc:  New test.
5163         * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc:  Cleanup.
5164         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc:  New test.
5165         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc:  New test.
5166         * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc:  New test.
5168 2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
5170         * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5171         (money_put::do_put): Same.
5173 2003-02-05  Jerry Quinn  <jlquinn@optonline.net>
5175         * include/bits/ios_base.h (ios_base): Document reserved storage.
5177         * include/bits/locale_facets.h: (struct __pad): Comment on
5178         implementation.
5179         (__verify_grouping): Same.
5180         (__add_grouping): Same.
5181         * include/bits/locale_facets.tcc (__verify_grouping): Move
5182         comments to declaration.
5183         (__add_grouping): Same.
5185         * include/bits/locale_facets.tcc:
5186         (__write<_CharT, _OutIter>): New function.
5187         (__write<_CharT>): New function specialization.
5188         (num_put::_M_insert): Remove explicit loop over iterator.  Use
5189         __write.
5190         (num_put::_M_widen_float): Remove __basefield.
5191         (num_put::_M_widen_int): Move __basefield to within grouping block.
5193         * include/bits/streambuf_iterator.h: Include <streambuf>.
5194         (ostreambuf_iterator::_M_put): Add.
5196 2003-02-05  Paolo Carlini  <pcarlini@unitus.it>
5198         * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5200 2003-02-04  Nathan Myers  <ncm@cantrip.org>
5202         * testsuite/25_algorithms/min_max.cc (test02): Add.
5204 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
5206         PR libstdc++/9439, PR libstdc++/9425
5207         * config/io/basic_file_stdio.cc
5208         (__basic_file<char>::seekoff, seekpos): Return -1L if
5209         fseek fails.
5210         * include/bits/fstream.tcc (basic_filebuf::seekoff):
5211         Check _M_file.seekoff return value; always return
5212         pos_type(off_type(-1)) in case of failure.
5213         (basic_filebuf::pbackfail): Check this->seekoff return
5214         value and return traits_type::eof() in case of failure.
5215         * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5217 2003-02-04  Jerry Quinn  <jlquinn@optonline.net>
5219         * include/std/std_ostream.h (ostream::_M_write): Declare.
5220         * ostream.tcc (ostream::_M_write): Define.
5221         (basic_ostream::write): Use it.
5222         (operator<<(basic_ostream, _CharT)): Ditto.
5223         (operator<<(basic_ostream, char)): Ditto.
5224         (operator<<(basic_ostream, _CharT*)): Ditto.
5225         (operator<<(basic_ostream, char*)): Ditto.
5226         (operator<<(basic_ostream, basic_string)): Ditto.
5228 2003-02-04  Benjamin Kosnik  <bkoz@redhat.com>
5230         * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5232 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
5234         * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5235         add HTML comment about updating links if numbering changes.
5237 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
5239         PR libstdc++/9538
5240         * include/bits/streambuf.tcc (sputbackc): Access
5241         this->gptr()[-1] only if _M_in_beg < _M_in_cur.
5242         * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5244 2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
5246         PR libstdc++/9507
5247         * include/bits/fstream.tcc (open): If the 'ate' repositioning
5248         operation fails, calls close _and_ returns a null pointer
5249         to indicate failure (27.8.1.3,4).
5250         * testsuite/27_io/filebuf_members.cc (test_06): Add.
5252 2003-02-04  Petur Runolfsson  <peturr02@ru.is>
5254         * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
5256 2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
5258         * docs/html/27_io/howto.html: New section on stdio_filebuf.
5259         * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
5260         * docs/html/documentation.html: Regenerate.
5262 2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
5264         * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
5265         * docs/html/17_intro/porting.html: Regenerate.
5267 2003-02-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
5268             Phil Edwards  <pme@gcc.gnu.org>
5270         * include/std/std_bitset.h:  Replace CHAR_BIT with __CHAR_BIT__, use
5271         numeric_limits for bits-per-word values.
5272         (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
5273         Use __builtin_popcountl instead.
5274         (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
5275         _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
5276         Use __builtin_ctzl instead.
5277         (_S_bit_count, _S_first_one):  Remove.
5278         * config/linker-map.gnu (GLIBCPP_3.4):  Remove std::_S_bit_count.
5279         * src/Makefile.am (sources):  Remove bitset.cc.
5280         * src/bitset.cc:  Delete file.
5281         * src/Makefile.in:  Regenerate.
5283 2003-02-03  Phil Edwards  <pme@gcc.gnu.org>
5285         PR libstdc++/9527, PR libstdc++/8713
5286         * docs/html/install.html:  Mention glibc version requirement.
5287         * docs/html/faq/index.html (3.8):  New note, glibc 2.2.5+ is needed
5288         with 3.2.1+ (formatting bugfixes).
5289         * docs/html/faq/index.txt:  Regenerate.
5291 2003-02-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
5293         PR libstdc++/9234
5294         * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
5295         operator.
5297         * include/bits/valarray_before.h (__not_equal_to): Use != instead
5298         of ==.
5300         * testsuite/26_numerics/valarray_operators.cc: New test.
5302 2003-02-01  Phil Edwards  <pme@gcc.gnu.org>
5304         * docs/html/faq/index.html:  Correct link to libg++ information.
5305         * docs/html/faq/index.txt:  Regenerated.
5307 2003-02-01  Paolo Carlini  <pcarlini@unitus.it>
5308             Benjamin Kosnik  <bkoz@redhat.com>
5310         Const correctness issue:
5311         http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
5312         * include/bits/locale_classes.h
5313         (locale::_Impl::_M_facets): Change type to const facet**.
5314         (locale::_Impl::_M_install_facet): Change declaration to
5315         take const facet*.
5316         (locale::facet::_M_references): Make mutable.
5317         (locale::facet::_M_add_reference): Declare const.
5318         (locale::facet::_M_remove_reference): Likewise.
5319         * include/bits/locale_facets.tcc
5320         (use_facet(const locale&)): Tweak for const facet** _M_facets.
5321         (has_facet(const locale&)): Likewise.
5322         * src/locale.cc
5323         (locale::facet::_M_add_reference): Adjust definition.
5324         (locale::facet::_M_remove_reference): Likewise.
5325         * src/localename.cc
5326         (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
5327         const facet** _M_facets.
5328         (locale::_Impl::_Impl(const char*, size_t)): Likewise.
5329         (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
5330         (locale::_Impl::_M_install_facet): Adjust definition to take
5331         const facet* and for const facet** _M_facets.
5332         * testsuite/22_locale/locale/cons/8.cc: Add.
5334 2003-01-29  Mark Mitchell  <mark@codesourcery.com>
5336         * include/std/std_limits.h (numeric_limits<float>::has_infinity):
5337         Use __FLT_HAS_INIFINITY__ to initialize.
5338         (numeric_limits<float>::has_quiet_NaN): Likewise.
5339         (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
5340         to initialize.
5341         (numeric_limits<double>::has_quiet_NaN): Likewise.
5342         (numeric_limits<long double>::has_infinity): Use
5343         __LDBL_HAS_INIFINITY__ to initialize.
5344         (numeric_limits<long_double>::has_quiet_NaN): Likewise.
5346 2003-01-28  Nathan Sidwell  <nathan@codesourcery.com>
5348         PR c++/9433
5349         * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
5350         with bases which are very ambiguous.
5352 2003-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
5354         * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
5355         @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
5356         * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
5357         * src/Makefile.in: Regenerate.
5358         * libsupc++/Makefile.in: Regenerate.
5360 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
5362         * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
5363         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
5364         version_specific_libs is enabled.
5365         * aclocal.m4, configure: Rebuilt.
5367 2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
5369         * include/bits/valarray_meta.h: Remove, split into ...
5370         * include/bits/valarray_before.h: ... this, and ...
5371         * include/bits/valarray_after.h: ... this.
5372         * include/std/std_valarray.h: Adjust.
5373         * include/Makefile.am (bits_headers): Adjust.
5374         * include/Makefile.in: Regenerate.
5376 2003-01-24  Andreas Schwab  <schwab@suse.de>
5378         * config/linker-map.gnu: Fix for size_t variance.
5380 2003-01-23  Petur Runolfsson  <peturr02@ru.is>
5382         PR libstdc++/9322
5383         * include/std/std_streambuf.h
5384         (basic_streambuf::basic_streambuf,
5385         basic_streambuf::~basic_streambuf,
5386         basic_streambuf::getloc, basic_streambuf::imbue):
5387         Remove _M_buf_locale_init
5388         * include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
5389         * testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
5390         * testsuite/27_io/streambuf_members.cc (test08):  Add.
5391         * testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.
5393 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
5395         Revert include ordering.
5396         * config/locale/generic/c_locale.h: Add include guards.
5397         * config/locale/gnu/c_locale.h: Same.
5398         * include/bits/locale_classes.h: Remove cctype include.
5399         * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
5400         * include/std/std_fstream.h: Remove streambuf include.
5401         * include/std/std_sstream.h: Remove streambuf include.
5403 2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
5405         * configure.in (libtool_VERSION): To 6:0:0.
5406         * configure: Regenerated.
5407         * config/linker-map.gnu: Clean.
5409         * src/misc-inst.cc: Remove instantiations.
5411         * include/bits/stl_alloc.h (__malloc_alloc_template):
5412         To __malloc_alloc.
5413         (__default_alloc_template): To __pool_alloc.
5414         * src/stl-inst.cc: Same.
5415         * include/backward/alloc.h: Update.
5416         * testsuite/ext/allocators.cc: Update.
5418         * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
5419         really try to remove these if possible.
5420         * src/locale.cc (std): Same.
5422         * testsuite/abi_check.cc (check_version): Add.
5424 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
5425             Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
5426             Mark Mitchell  <mark@codesourcery.com>
5428         PR libstdc++/9269
5429         * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
5430         (basic_filebuf::underflow): Declare.
5431         Move definitions.
5433 2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
5435         * include/bits/locale_facets.h: Move non-facet classes requiring
5436         <string> to...
5437         * include/bits/locale_classes.h: New.
5438         * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
5439         * include/bits/Makefile.in: Regenerate.
5441         * include/bits/locale_facets.tcc (__convert_from_v): Move to...
5442         * config/locale/gnu/c_locale.h: ...here.
5443         * config/locale/generic/c_locale.h: Same.
5445         * include/bits/locale_facets.tcc: Move declarations to...
5446         * include/bits/locale_facets.h: ...here.
5447         * include/bits/basic_ios.h: Tweak includes accordingly.
5448         * include/std/std_sstream.h: Add streambuf include.
5449         * include/std/std_fstream.h: Ditto.
5450         * include/std/std_locale.h: Add locale_classes.h include.
5451         * include/std/std_iosfwd.h: Tweak.
5452         * src/concept-inst.cc: Add iterator include.
5454         * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
5455         bits as unexported in the future.
5457 2003-01-21  Benjamin Kosnik  <bkoz@redhat.com>
5459         Reshuffle 22_locale testsuite.
5460         * 22_locale/(codecvt.cc money_get.cc
5461         codecvt_members_char_char.cc money_get_members_char.cc
5462         codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
5463         codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
5464         codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
5465         moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
5466         collate_members_char.cc money_put.cc collate_members_wchar_t.cc
5467         money_put_members_char.cc ctor_copy_dtor.cc
5468         money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
5469         num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
5470         ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
5471         numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
5472         ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
5473         num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
5474         ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
5475         operators.cc ctype_widen_char.cc static_members.cc
5476         ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
5477         global_templates.cc time_get_members_wchar_t.cc, members.cc,
5478         time_put.cc, messages_byname.cc, time_put_members_char.cc,
5479         messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
5480         Split up into individual test cases...
5481         * 22_locale/codecvt/1.cc: New.
5482         * 22_locale/codecvt/2.cc: New.
5483         * 22_locale/codecvt/always_noconv/char/1.cc: New.
5484         * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
5485         * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
5486         * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
5487         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
5488         * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
5489         * 22_locale/codecvt/encoding/char/1.cc: New.
5490         * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
5491         * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
5492         * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
5493         * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
5494         * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
5495         * 22_locale/codecvt/in/char/1.cc: New.
5496         * 22_locale/codecvt/in/char/wrapped_env.cc: New.
5497         * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
5498         * 22_locale/codecvt/in/wchar_t/1.cc: New.
5499         * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
5500         * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
5501         * 22_locale/codecvt/length/char/1.cc: New.
5502         * 22_locale/codecvt/length/char/wrapped_env.cc: New.
5503         * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
5504         * 22_locale/codecvt/length/wchar_t/1.cc: New.
5505         * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
5506         * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
5507         * 22_locale/codecvt/max_length/char/1.cc: New.
5508         * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
5509         * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
5510         * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
5511         * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
5512         * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
5513         * 22_locale/codecvt/out/char/1.cc: New.
5514         * 22_locale/codecvt/out/char/wrapped_env.cc: New.
5515         * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
5516         * 22_locale/codecvt/out/wchar_t/1.cc: New.
5517         * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
5518         * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
5519         * 22_locale/codecvt/unicode/char.cc: New.
5520         * 22_locale/codecvt/unicode/wchar_t.cc: New.
5521         * 22_locale/codecvt/unshift/char/1.cc: New.
5522         * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
5523         * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
5524         * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
5525         * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
5526         * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
5527         * 22_locale/collate/1.cc: New.
5528         * 22_locale/collate/2.cc: New.
5529         * 22_locale/collate/compare/char/1.cc: New.
5530         * 22_locale/collate/compare/char/2.cc: New.
5531         * 22_locale/collate/compare/char/wrapped_env.cc: New.
5532         * 22_locale/collate/compare/char/wrapped_locale.cc: New.
5533         * 22_locale/collate/compare/wchar_t/1.cc: New.
5534         * 22_locale/collate/compare/wchar_t/2.cc: New.
5535         * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
5536         * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
5537         * 22_locale/collate/hash/char/1.cc: New.
5538         * 22_locale/collate/hash/char/2.cc: New.
5539         * 22_locale/collate/hash/char/wrapped_env.cc: New.
5540         * 22_locale/collate/hash/char/wrapped_locale.cc: New.
5541         * 22_locale/collate/hash/wchar_t/1.cc: New.
5542         * 22_locale/collate/hash/wchar_t/2.cc: New.
5543         * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
5544         * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
5545         * 22_locale/collate/transform/char/2.cc: New.
5546         * 22_locale/collate/transform/char/wrapped_env.cc: New.
5547         * 22_locale/collate/transform/char/wrapped_locale.cc: New.
5548         * 22_locale/collate/transform/wchar_t/2.cc: New.
5549         * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
5550         * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
5551         * 22_locale/collate_byname/1.cc: New.
5552         * 22_locale/ctype/1.cc: New.
5553         * 22_locale/ctype/2.cc: New.
5554         * 22_locale/ctype/cons/char/1.cc: New.
5555         * 22_locale/ctype/cons/char/wrapped_env.cc: New.
5556         * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
5557         * 22_locale/ctype/is/char/1.cc: New.
5558         * 22_locale/ctype/is/char/2.cc: New.
5559         * 22_locale/ctype/is/char/3.cc: New.
5560         * 22_locale/ctype/is/char/wrapped_env.cc: New.
5561         * 22_locale/ctype/is/char/wrapped_locale.cc: New.
5562         * 22_locale/ctype/is/wchar_t/1.cc: New.
5563         * 22_locale/ctype/is/wchar_t/2.cc: New.
5564         * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
5565         * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
5566         * 22_locale/ctype/narrow/char/1.cc: New.
5567         * 22_locale/ctype/narrow/char/2.cc: New.
5568         * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
5569         * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
5570         * 22_locale/ctype/narrow/wchar_t/1.cc: New.
5571         * 22_locale/ctype/narrow/wchar_t/2.cc: New.
5572         * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
5573         * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
5574         * 22_locale/ctype/scan/char/1.cc: New.
5575         * 22_locale/ctype/scan/char/wrapped_env.cc: New.
5576         * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
5577         * 22_locale/ctype/scan/wchar_t/1.cc: New.
5578         * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
5579         * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
5580         * 22_locale/ctype/to/char/1.cc: New.
5581         * 22_locale/ctype/to/char/wrapped_env.cc: New.
5582         * 22_locale/ctype/to/char/wrapped_locale.cc: New.
5583         * 22_locale/ctype/to/wchar_t/1.cc: New.
5584         * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
5585         * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
5586         * 22_locale/ctype/widen/char/1.cc: New.
5587         * 22_locale/ctype/widen/char/wrapped_env.cc: New.
5588         * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
5589         * 22_locale/ctype/widen/wchar_t/1.cc: New.
5590         * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
5591         * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
5592         * 22_locale/facet/1.cc: New.
5593         * 22_locale/facet/2.cc: New.
5594         * 22_locale/global_templates/1.cc: New.
5595         * 22_locale/locale/cons/1.cc: New.
5596         * 22_locale/locale/cons/2.cc: New.
5597         * 22_locale/locale/cons/3.cc: New.
5598         * 22_locale/locale/cons/4.cc: New.
5599         * 22_locale/locale/cons/5.cc: New.
5600         * 22_locale/locale/cons/6.cc: New.
5601         * 22_locale/locale/cons/7.cc: New.
5602         * 22_locale/locale/global_locale_objects/1.cc: New.
5603         * 22_locale/locale/global_locale_objects/2.cc: New.
5604         * 22_locale/locale/global_locale_objects/3.cc: New.
5605         * 22_locale/locale/operations/1.cc: New.
5606         * 22_locale/locale/operations/2.cc: New.
5607         * 22_locale/messages/1.cc: New.
5608         * 22_locale/messages/2.cc: New.
5609         * 22_locale/messages/members/char/1.cc: New.
5610         * 22_locale/messages/members/char/2.cc: New.
5611         * 22_locale/messages/members/char/3.cc: New.
5612         * 22_locale/messages/members/char/wrapped_env.cc: New.
5613         * 22_locale/messages/members/char/wrapped_locale.cc: New.
5614         * 22_locale/messages_byname/1.cc: New.
5615         * 22_locale/money_get/1.cc: New.
5616         * 22_locale/money_get/2.cc: New.
5617         * 22_locale/money_get/get/char/1.cc: New.
5618         * 22_locale/money_get/get/char/2.cc: New.
5619         * 22_locale/money_get/get/char/3.cc: New.
5620         * 22_locale/money_get/get/char/4.cc: New.
5621         * 22_locale/money_get/get/char/5.cc: New.
5622         * 22_locale/money_get/get/char/6.cc: New.
5623         * 22_locale/money_get/get/char/7.cc: New.
5624         * 22_locale/money_get/get/char/8.cc: New.
5625         * 22_locale/money_get/get/char/wrapped_env.cc: New.
5626         * 22_locale/money_get/get/char/wrapped_locale.cc: New.
5627         * 22_locale/money_get/get/wchar_t/1.cc: New.
5628         * 22_locale/money_get/get/wchar_t/2.cc: New.
5629         * 22_locale/money_get/get/wchar_t/3.cc: New.
5630         * 22_locale/money_get/get/wchar_t/4.cc: New.
5631         * 22_locale/money_get/get/wchar_t/5.cc: New.
5632         * 22_locale/money_get/get/wchar_t/6.cc: New.
5633         * 22_locale/money_get/get/wchar_t/7.cc: New.
5634         * 22_locale/money_get/get/wchar_t/8.cc: New.
5635         * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
5636         * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
5637         * 22_locale/money_put/1.cc: New.
5638         * 22_locale/money_put/2.cc: New.
5639         * 22_locale/money_put/put/char/1.cc: New.
5640         * 22_locale/money_put/put/char/2.cc: New.
5641         * 22_locale/money_put/put/char/3.cc: New.
5642         * 22_locale/money_put/put/char/4.cc: New.
5643         * 22_locale/money_put/put/char/5.cc: New.
5644         * 22_locale/money_put/put/char/6.cc: New.
5645         * 22_locale/money_put/put/char/wrapped_env.cc: New.
5646         * 22_locale/money_put/put/char/wrapped_locale.cc: New.
5647         * 22_locale/money_put/put/wchar_t/1.cc: New.
5648         * 22_locale/money_put/put/wchar_t/2.cc: New.
5649         * 22_locale/money_put/put/wchar_t/3.cc: New.
5650         * 22_locale/money_put/put/wchar_t/4.cc: New.
5651         * 22_locale/money_put/put/wchar_t/5.cc: New.
5652         * 22_locale/money_put/put/wchar_t/6.cc: New.
5653         * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
5654         * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
5655         * 22_locale/moneypunct/1.cc: New.
5656         * 22_locale/moneypunct/2.cc: New.
5657         * 22_locale/moneypunct/3.cc: New.
5658         * 22_locale/moneypunct/members/char/1.cc: New.
5659         * 22_locale/moneypunct/members/char/2.cc: New.
5660         * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
5661         * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
5662         * 22_locale/moneypunct/members/wchar_t/1.cc: New.
5663         * 22_locale/moneypunct/members/wchar_t/2.cc: New.
5664         * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
5665         * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
5666         * 22_locale/moneypunct_byname/1.cc: New.
5667         * 22_locale/num_get/1.cc: New.
5668         * 22_locale/num_get/2.cc: New.
5669         * 22_locale/num_get/get/char/1.cc: New.
5670         * 22_locale/num_get/get/char/2.cc: New.
5671         * 22_locale/num_get/get/char/3.cc: New.
5672         * 22_locale/num_get/get/char/4.cc: New.
5673         * 22_locale/num_get/get/char/5.cc: New.
5674         * 22_locale/num_get/get/char/6.cc: New.
5675         * 22_locale/num_get/get/char/wrapped_env.cc: New.
5676         * 22_locale/num_get/get/char/wrapped_locale.cc: New.
5677         * 22_locale/num_get/get/wchar_t/1.cc: New.
5678         * 22_locale/num_get/get/wchar_t/2.cc: New.
5679         * 22_locale/num_get/get/wchar_t/3.cc: New.
5680         * 22_locale/num_get/get/wchar_t/4.cc: New.
5681         * 22_locale/num_get/get/wchar_t/5.cc: New.
5682         * 22_locale/num_get/get/wchar_t/6.cc: New.
5683         * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
5684         * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
5685         * 22_locale/num_put/1.cc: New.
5686         * 22_locale/num_put/2.cc: New.
5687         * 22_locale/num_put/put/char/1.cc: New.
5688         * 22_locale/num_put/put/char/2.cc: New.
5689         * 22_locale/num_put/put/char/3.cc: New.
5690         * 22_locale/num_put/put/char/4.cc: New.
5691         * 22_locale/num_put/put/char/5.cc: New.
5692         * 22_locale/num_put/put/char/wrapped_env.cc: New.
5693         * 22_locale/num_put/put/char/wrapped_locale.cc: New.
5694         * 22_locale/num_put/put/wchar_t/1.cc: New.
5695         * 22_locale/num_put/put/wchar_t/2.cc: New.
5696         * 22_locale/num_put/put/wchar_t/3.cc: New.
5697         * 22_locale/num_put/put/wchar_t/4.cc: New.
5698         * 22_locale/num_put/put/wchar_t/5.cc: New.
5699         * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
5700         * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
5701         * 22_locale/numpunct/1.cc: New.
5702         * 22_locale/numpunct/2.cc: New.
5703         * 22_locale/numpunct/members/char/1.cc: New.
5704         * 22_locale/numpunct/members/char/2.cc: New.
5705         * 22_locale/numpunct/members/char/wrapped_env.cc: New.
5706         * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
5707         * 22_locale/numpunct/members/wchar_t/1.cc: New.
5708         * 22_locale/numpunct/members/wchar_t/2.cc: New.
5709         * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
5710         * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
5711         * 22_locale/numpunct_byname/1.cc: New.
5712         * 22_locale/numpunct_byname/2.cc: New.
5713         * 22_locale/time_get/1.cc: New.
5714         * 22_locale/time_get/2.cc: New.
5715         * 22_locale/time_get/date_order/char/1.cc: New.
5716         * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
5717         * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
5718         * 22_locale/time_get/date_order/wchar_t/1.cc: New.
5719         * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
5720         * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
5721         * 22_locale/time_get/get_date/char/1.cc: New.
5722         * 22_locale/time_get/get_date/char/2.cc: New.
5723         * 22_locale/time_get/get_date/char/3.cc: New.
5724         * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
5725         * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
5726         * 22_locale/time_get/get_date/wchar_t/1.cc: New.
5727         * 22_locale/time_get/get_date/wchar_t/2.cc: New.
5728         * 22_locale/time_get/get_date/wchar_t/3.cc: New.
5729         * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
5730         * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
5731         * 22_locale/time_get/get_monthname/char/1.cc: New.
5732         * 22_locale/time_get/get_monthname/char/2.cc: New.
5733         * 22_locale/time_get/get_monthname/char/3.cc: New.
5734         * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
5735         * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
5736         * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
5737         * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
5738         * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
5739         * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
5740         * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
5741         * 22_locale/time_get/get_time/char/1.cc: New.
5742         * 22_locale/time_get/get_time/char/2.cc: New.
5743         * 22_locale/time_get/get_time/char/3.cc: New.
5744         * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
5745         * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
5746         * 22_locale/time_get/get_time/wchar_t/1.cc: New.
5747         * 22_locale/time_get/get_time/wchar_t/2.cc: New.
5748         * 22_locale/time_get/get_time/wchar_t/3.cc: New.
5749         * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
5750         * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
5751         * 22_locale/time_get/get_weekday/char/1.cc: New.
5752         * 22_locale/time_get/get_weekday/char/2.cc: New.
5753         * 22_locale/time_get/get_weekday/char/3.cc: New.
5754         * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
5755         * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
5756         * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
5757         * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
5758         * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
5759         * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
5760         * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
5761         * 22_locale/time_get/get_year/char/1.cc: New.
5762         * 22_locale/time_get/get_year/char/3.cc: New.
5763         * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
5764         * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
5765         * 22_locale/time_get/get_year/wchar_t/1.cc: New.
5766         * 22_locale/time_get/get_year/wchar_t/3.cc: New.
5767         * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
5768         * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
5769         * 22_locale/time_put/1.cc: New.
5770         * 22_locale/time_put/2.cc: New.
5771         * 22_locale/time_put/put/char/1.cc: New.
5772         * 22_locale/time_put/put/char/10.cc: New.
5773         * 22_locale/time_put/put/char/2.cc: New.
5774         * 22_locale/time_put/put/char/3.cc: New.
5775         * 22_locale/time_put/put/char/4.cc: New.
5776         * 22_locale/time_put/put/char/5.cc: New.
5777         * 22_locale/time_put/put/char/6.cc: New.
5778         * 22_locale/time_put/put/char/7.cc: New.
5779         * 22_locale/time_put/put/char/8.cc: New.
5780         * 22_locale/time_put/put/char/9.cc: New.
5781         * 22_locale/time_put/put/char/wrapped_env.cc: New.
5782         * 22_locale/time_put/put/char/wrapped_locale.cc: New.
5783         * 22_locale/time_put/put/wchar_t/1.cc: New.
5784         * 22_locale/time_put/put/wchar_t/10.cc: New.
5785         * 22_locale/time_put/put/wchar_t/2.cc: New.
5786         * 22_locale/time_put/put/wchar_t/3.cc: New.
5787         * 22_locale/time_put/put/wchar_t/4.cc: New.
5788         * 22_locale/time_put/put/wchar_t/5.cc: New.
5789         * 22_locale/time_put/put/wchar_t/6.cc: New.
5790         * 22_locale/time_put/put/wchar_t/7.cc: New.
5791         * 22_locale/time_put/put/wchar_t/8.cc: New.
5792         * 22_locale/time_put/put/wchar_t/9.cc: New.
5793         * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
5794         * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
5796 2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>
5798         * config/locale/generic/messages_members.h
5799         (messages_byname<_CharT>::messages_byname): Use this-> to refer to
5800         unqualified members of base clasess.
5802 2003-01-16  Mark Mitchell  <mark@codesourcery.com>
5803             Jeffrey Oldham <oldham@codesourcery.com>
5805         * config/locale/gnu/messages_members.h: Use this-> to refer to
5806         unqualified members of base clasess.
5807         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
5808         * include/bits/codecvt.h: Likewise.
5809         * include/bits/deque.tcc: Likewise.
5810         * include/bits/fstream.tcc: Likewise.
5811         * include/bits/istream.tcc: Likewise.
5812         * include/bits/list.tcc: Likewise.
5813         * include/bits/locale_facets.h: Likewise.
5814         * include/bits/ostream.tcc: Likewise.
5815         * include/bits/sstream.tcc: Likewise.
5816         * include/bits/stl_bvector.h: Likewise.
5817         * include/bits/stl_deque.h: Likewise.
5818         * include/bits/stl_list.h: Likewise.
5819         * include/bits/stl_tree.h: Likewise.
5820         * include/bits/stl_vector.h: Likewise.
5821         * include/bits/vector.tcc: Likewise.
5822         * include/ext/ropeimpl.h: Likewise.
5823         * include/ext/stdio_filebuf.h: Likewise.
5824         * include/ext/stl_rope.h: Likewise.
5825         * include/std/std_fstream.h: Likewise.
5826         * include/std/std_sstream.h: Likewise.
5828 2003-01-15  Phil Edwards  <pme@gcc.gnu.org>
5830         * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
5832 2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>
5834         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
5835         GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
5836         * aclocal.m4: Regenerate.
5837         * configure: Regenerate.
5838         * testsuite/Makefile.am (all-local): Add conditional rule to
5839         generate testsuite_wchar_t.
5840         * testsuite/Makefile.in: Regenerate.
5841         * testsuite/lib/libstdc++-v3-dg.exp
5842         (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
5843         testsuite_wchar_t is not present in the build directory.
5844         * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
5845         Remove setulimit bits.
5846         * testsuite/26_numerics/complex_value.cc: Set to noopts.
5847         * testsuite/Makefile.am (CLEANFILES): Add.
5848         * testsuite/Makefile.in: Regenerate.
5850 2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
5852         * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
5853         __hppa__.
5855 2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>
5857         Further conform g++'s __vmi_class_type_info to the C++ ABI
5858         specification.
5859         * libsupc++/cxxabi.h
5860         (__vmi_class_type_info::__flags_masks): Remove enumerations not
5861         required by the specification.
5863 2003-01-12  Benjamin Kosnik  <bkoz@redhat.com>
5865         Renames, namespaces for testsuite utilities.
5866         * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
5867         (gnu_allocator_tracker): Rename to allocation_tracker.
5868         (gnu_new_allocator): Rename to tracker_alloc.
5869         (__set_testsuite_memlimit): Rename to set_memory_limits.
5870         (gnu_assignment_operator): Rename to assignment_operator.
5871         (gnu_destructor): Rename to destructor.
5872         (gnu_copy_tracker): Rename to copy_tracker.
5873         (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
5874         (run_tests_wrapped_locale): New.
5875         (run_tests_wrapped_env): New.
5876         * testsuite/testsuite_hooks.cc: Same.
5877         (class locale_data): Add.
5878         (class enviornment_variable): Add.
5879         (class not_found): Add.
5880         * testsuite/testsuite_allocator.h: Same.
5881         * testsuite/testsuite_allocator.cc: Same.
5882         * testsuite/23_containers/deque_ctor.cc
5883         (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
5884         allocation_tracker.
5885         Change gnu_new_allocator to tracker_alloc.
5886         Change gnu_counting_struct to counter.
5887         Change gnu_copy_tracker to copy_tracker.
5888         Change gnu_copy_constructor to copy_constructor.
5889         Change gnu_assignment_operator to assignment_operator.
5890         Inject.
5891         * testsuite/23_containers/vector_capacity.cc: Same.
5892         * testsuite/23_containers/vector_ctor.cc (test01): Same.
5893         * testsuite/23_containers/list_modifiers.cc: Change
5894         gnu_copy_tracker to copy_tracker.
5895         * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
5896         __set_testsuite_memlimit to set_memory_limits.
5897         * testsuite/21_strings/insert.cc (main): Same.
5898         * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
5899         * testsuite/27_io/stringstream.cc: Same.
5900         * testsuite/27_io/stringbuf.cc: Same.
5901         * testsuite/27_io/streambuf.cc: Same.
5902         * testsuite/27_io/ostream.cc: Same.
5903         * testsuite/27_io/istream.cc: Same.
5904         * testsuite/27_io/fstream.cc: Same.
5905         * testsuite/lib/libstdc++-v3-dg.exp
5906         (libstdc++-v3-list-sourcefiles): Additionally handle files two and
5907         three levels deeper in glob patterns.
5909 2003-01-11  Phil Edwards  <pme@gcc.gnu.org>
5911         * docs/doxygen/tables.html:  Finished now.
5912         * docs/doxygen/user.cfg.in:  Update to latest version of Doxygen.
5913         * include/bits/basic_ios.h (basic_ios::rdbuf):  Add example to
5914         comments.
5916         * include/bits/deque.tcc, include/bits/stl_alloc.h,
5917         include/bits/stl_deque.h, include/bits/stl_list.h,
5918         include/bits/stl_vector.h:  Remove _GLIBCPP_DEPRECATED bits scheduled
5919         for 3.4 removal.
5921 2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>
5923         * configure.in: Revert.
5924         * configure: Regenerate.
5926 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
5928         * include/Makefile.am (install-data-local): Prepend
5929         $(DESTDIR) to destination paths in all (un)installation
5930         commands.  Use ${c_base_builddir} and ${std_builddir}
5931         as destination subdirectories to achieve consistency with
5932         preceding mkinstalldirs commands.  No effect because both
5933         variables contain "." only.
5934         * include/Makefile.in: Regenerate.
5936 2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>
5938         * include/Makefile.am (stamp-*): Add checks for existing stamps.
5939         * include/Makefile.in: Regenerate.
5941         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
5942         * aclocal.m4: Regenerate.
5944         * configure.in: Don't add new multi-do rules every time the
5945         directory is reconfigured.
5946         * configure: Regenerate.
5948 2003-01-08  Brad Spencer  <spencer@infointeractive.com>
5949             Nathan Myers  <ncm@cantrip.org>
5951         * src/Makefile.am (stamp-debug): Clean.
5952         * src/Makefile.in: Regenerate.
5954 2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
5956         PR libstdc++/8707
5957         * Makefile.am (distclean-multi): Fix.
5958         * Makefile.in: Regenerate.
5960 2003-01-06  Benjamin Kosnik  <bkoz@redhat.com>
5962         * include/bits/locale_facets.h (messages): Move ctor, dtor
5963         definitions to..
5964         (__timepunct): Same.
5965         * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
5966         definitions. Conditionalize for GNU systems.
5967         * config/locale/generic/messages_members.h (messages): Add dtor, ctor
5968         definitions.
5969         * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
5970         definitions. Conditionalize for GNU systems.
5971         * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
5972         definitions.
5973         * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
5974         * src/locale.cc: Define.
5975         * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
5976         Use it.
5977         * config/locale/gnu/time_members.h: Use it.
5978         * config/locale/gnu/messages_members.h: Use it.
5979         * config/linker-map.gnu: Add locale::facets details.
5980         * include/Makefile.am (target_headers_extra): Add time_members.h.
5981         * include/Makefile.in: Regenerate.
5982         * acinclude.m4: Export CTIME_H.
5983         * aclocal.m4: Regenerate.
5984         * configure: Regnerate.
5986 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
5988         * src/codecvt.cc
5989         (codecvt<char, char, mbstate_t>::do_in, do_out):
5990         Tweak parameters to avoid unused parameter warnings.
5992 2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
5994         PR libstdc++/9151
5995         * include/bits/locale_facets.cc (num_put::_M_convert_float):
5996         Limit __prec to digits10 + 2, not digits10 + 1, taking into
5997         account the possibility of %{g,G} conversion specifiers
5998         inside _S_format_float.
5999         * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
6001 2003-01-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6003         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
6004         libstdc++-v3-list-sourcefiles): Additionally handle files one
6005         level deeper in glob patterns.
6007         * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
6008         * testsuite/27_io/istream_extractor_arith/01.cc,
6009         testsuite/27_io/istream_extractor_arith/02.cc,
6010         testsuite/27_io/istream_extractor_arith/03.cc,
6011         testsuite/27_io/istream_extractor_arith/06.cc,
6012         testsuite/27_io/istream_extractor_arith/07.cc,
6013         testsuite/27_io/istream_extractor_arith/08.cc,
6014         testsuite/27_io/istream_extractor_arith/09.cc,
6015         testsuite/27_io/istream_extractor_arith/10.cc,
6016         testsuite/27_io/istream_extractor_arith/11.cc,
6017         testsuite/27_io/istream_extractor_arith/12.cc,
6018         testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
6019         * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
6020         sparc*-*-solaris2*.
6022 2003-01-05  Paolo Carlini <pcarlini@unitus.it>
6024         PR libstdc++/9168
6025         * src/codecvt.cc
6026         (codecvt<char, char, mbstate_t>::do_in, do_out):
6027         Implement the resolution of DR19 (TC).
6028         * testsuite/22_locale/codecvt_members_char_char.cc
6029         (test01): Tweak.
6031 2003-01-02  Jason Merrill  <jason@redhat.com>
6033         * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
6034         *__mem is also an output.
6035         * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.