OSDN Git Service

dab571de43bd3e29d7d20f97e6fdfba629b56979
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2003-08-11  John Levon  <levon@movementarian.org>
2
3         * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
4         remaining places for the name change from GLIBCPP_FORCE_NEW
5         to GLIBCXX_FORCE_NEW
6
7
8 2003-08-11  Benjamin Kosnik  <bkoz@redhat.com>
9
10         * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
11         typedefs to num_*.      
12         * include/bits/basic_ios.tcc: Same.
13         * include/bits/istream.tcc: Same.
14         * include/bits/locale_facets.h: Same.
15         * include/bits/ostream.tcc: Same.
16         * include/std/std_istream.h: Same.
17         * include/std/std_ostream.h: Same.
18         * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
19
20         * include/ext/rope: Remove build warning.
21         
22 2003-08-11  Andreas Jaeger  <aj@suse.de>
23
24         * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
25         to make SMP-safe.
26         * include/Makefile.in: Regenerated.
27
28 2003-08-11  Phil Edwards  <pme@gcc.gnu.org>
29
30         * acinclude.m4 (GLIBCXX_CONFIGURE):  Unprecious CC and CFLAGS
31         when calling AC_PROG_CC.
32         * aclocal.m4, configure:  Regenerate.
33
34 2003-08-11  Phil Edwards  <pme@gcc.gnu.org>
35
36         * acinclude.m4:  Properly quote variable which will be expanded
37         inside makefiles.  Use CXX instead of CC to extract compiler info.
38         * configure.ac (AC_INIT):  Use the new 4-arg form to finally get the
39         correct form in PACKAGE.
40         * aclocal.m4, configure:  Regenerate.
41
42 2003-08-08  Benjamin Kosnik  <bkoz@redhat.com>
43
44         * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
45         (check-abi-verbose): Same.
46         * testsuite/testsuite_performance.h (report_performance): Same.
47         
48 2003-08-08  Loren J. Rittle  <ljrittle@acm.org>
49
50         * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
51
52 2003-08-07  Doug Gregor  <dgregor@apple.com>
53
54         * include/bits/char_traits.h (char_traits::not_eof): Match operand 
55         types in ? :.
56
57 2003-08-07  Bernardo Innocenti  <bernie@develer.com>
58
59         PR libstdc++/11784
60         * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
61         Replace variants with new BSET-based version.
62         
63 2003-08-07  Carlo Wood  <carlo@alinoe.com>
64
65         * include/bits/demangle.h: Do not use cctype functions that depend
66         on locale.
67         
68 2003-08-05  Phil Edwards  <pme@gcc.gnu.org>
69
70         * configure.in:  Rename...
71         * configure.ac:  ...to this.
72         * docs/html/17_intro/porting.texi:  Update name.
73
74         * docs/html/17_intro/porting.html:  Regenerate.
75         * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
76         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
77         testsuite/Makefile.in:  Regenerate (picks up new dependancy).
78
79 2003-08-05  Phil Edwards  <pme@gcc.gnu.org>
80
81         * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS):  Put down the crack
82         pipe, open the window to let out the fumes, redo the option-handling
83         logic to properly execute the detection test.
84         * aclocal.m4, configure:  Regenerate.
85
86 2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
87
88         Convert to new autotools.
89         * acconfig.h:  Update with correct names.
90         * configure.host (ATOMICITYH):  Rename to atomicity_include_dir.
91         (qnx6.[12]*):  'q' comes before 's', not after 'w'.
92         * configure.in:  Update.  Split hardcoded cross-configury settings
93         out to...
94         * crossconfig.m4:  ...here.  New file.  Contents untouched.
95         * acinclude.m4:  Reorganize and rewrite as needed.  Split large
96         chunks out to...
97         * linkage.m4:  ...here.  New file.  Math and stdlib linkage tests.
98         Contents untouched.
99         * scripts/testsuite_flags.in:  Update.
100
101         * Makefile.am:  Remove unneeded AUTOMAKE_OPTIONS settings and other
102         variables (already generated by automake).
103         * include/Makefile.am:  Ditto.
104         * libmath/Makefile.am:  Ditto.
105         * libsupc++/Makefile.am:  Ditto.
106         * po/Makefile.am:  Ditto.
107         * src/Makefile.am:  Ditto.
108
109         * aclocal.m4:  Regenerate using new versions.
110         * config.h.in:  Ditto.
111         * configure:  Ditto.
112         * Makefile.in:  Ditto.
113         * include/Makefile.in:  Ditto.
114         * libmath/Makefile.in:  Ditto.
115         * libsupc++/Makefile.in:  Ditto.
116         * po/Makefile.in:  Ditto.
117         * src/Makefile.in:  Ditto.
118         * testsuite/Makefile.in:  Ditto.
119
120 2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
121
122         * po/libstdc++.pot:  Re-extract/regenerate.
123
124 2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
125
126         * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
127         Remove unneeded variable assignments.  Leave them for automake.
128         * testsuite/lib/libstdc++-v3.exp:  Rename...
129         * testsuite/lib/libstdc++.exp:  ...to this.  Adjust function names
130         accordingly.
131         * testsuite/libstdc++-v3.dg/dg.exp:  Rename...
132         * testsuite/libstdc++-dg/normal.exp:  ...to this.  Adjust function
133         names accordingly.
134
135 2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
136
137         * docs/doxygen/guide.html:  run_doxygen uses bash.
138         * docs/doxygen/mainpage.html:  We'll be shipping tag files.
139         * docs/doxygen/run_doxygen:  Tweaks and improvements.
140         * docs/doxygen/user.cfg.in:  Set GENERATE_TAGFILE.
141         * docs/html/install.html:  Update autoconf/automake requirements.
142         * docs/html/test.html:  Add section describing DejaGNU support.
143         * docs/html/17_intro/confdeps.dot:  New file, generates...
144         * docs/html/17_intro/confdeps.png:  ...this new file.
145         * docs/html/Makefile:  Generated here.
146         * docs/html/17_intro/configury.html:  New file.
147
148 2003-07-31  Phil Edwards  <pme@gcc.gnu.org>
149
150         * testsuite/lib/libstdc++-v3-dg.exp:  Rename...
151         * testsuite/lib/libstdc++-v3.exp:  ...to this.
152         * testsuite/libstdc++-v3.dg/dg.exp:  No special case needed now.
153
154 2003-07-31  Doug Gregor  <dgregor@apple.com>
155
156         Add user specialization tests.
157         * testsuite/23_containers/deque/1.cc: New.
158         * testsuite/23_containers/list/1.cc: New.
159         * testsuite/23_containers/map/1.cc: New.
160         * testsuite/23_containers/multimap/1.cc: New.
161         * testsuite/23_containers/multiset/1.cc: New.
162         * testsuite/23_containers/set/1.cc: New.
163         * testsuite/23_containers/vector/1.cc: New.
164         
165 2003-07-31  Benjamin Kosnik  <bkoz@redhat.com>
166
167         Reshuffle 23_containers testsuite.
168         * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc, 
169         bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
170         list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
171         map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
172         set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
173         vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
174         vector_resize.cc: Split into...
175         * 23_containers/bitset/cons/1.cc: New.
176         * 23_containers/bitset/cons/6282.cc: New.
177         * 23_containers/bitset/count/6124.cc: New.
178         * 23_containers/bitset/operations/1.cc: New.
179         * 23_containers/bitset/operations/2.cc: New.
180         * 23_containers/bitset/test/1.cc: New.
181         * 23_containers/bitset/to_ulong/1.cc: New.
182         * 23_containers/deque/cons/1.cc: New.
183         * 23_containers/deque/cons/2.cc: New.
184         * 23_containers/deque/operators/1.cc: New.
185         * 23_containers/list/capacity/1.cc: New.
186         * 23_containers/list/cons/1.cc: New.
187         * 23_containers/list/cons/2.cc: New.
188         * 23_containers/list/cons/3.cc: New.
189         * 23_containers/list/cons/4.cc: New.
190         * 23_containers/list/cons/5.cc: New.
191         * 23_containers/list/cons/6.cc: New.
192         * 23_containers/list/cons/7.cc: New.
193         * 23_containers/list/cons/8.cc: New.
194         * 23_containers/list/cons/9.cc: New.
195         * 23_containers/list/modifiers/1.cc: New.
196         * 23_containers/list/modifiers/2.cc: New.
197         * 23_containers/list/modifiers/3.cc: New.
198         * 23_containers/list/operators/1.cc: New.
199         * 23_containers/list/operators/2.cc: New.
200         * 23_containers/list/operators/3.cc: New.
201         * 23_containers/list/operators/4.cc: New.
202         * 23_containers/map/insert/1.cc: New.
203         * 23_containers/map/operators/1.cc: New.
204         * 23_containers/map/operators/1_neg.cc: New.
205         * 23_containers/multiset/insert/1.cc: New.
206         * 23_containers/priority_queue/members/7161.cc: New.
207         * 23_containers/queue/members/7157.cc: New.
208         * 23_containers/set/operators/1_neg.cc: New.
209         * 23_containers/stack/members/7158.cc: New.
210         * 23_containers/vector/bool/1.cc: New.
211         * 23_containers/vector/bool/6886.cc: New.
212         * 23_containers/vector/capacity/1.cc: New.
213         * 23_containers/vector/capacity/2.cc: New.
214         * 23_containers/vector/capacity/8230.cc: New.
215         * 23_containers/vector/cons/1.cc: New.
216         * 23_containers/vector/cons/2.cc: New.
217         * 23_containers/vector/cons/3.cc: New.
218         * 23_containers/vector/cons/4.cc: New.
219         * 23_containers/vector/cons/6513.cc: New.
220         * 23_containers/vector/element_access/1.cc: New.
221         * 23_containers/vector/modifiers/1.cc: New.
222         * 23_containers/vector/modifiers/2.cc: New.
223         * 23_containers/vector/resize/1.cc: New.
224         
225 2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
226
227         * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
228         dg-options.
229         * testsuite/thread/pthread2.cc: Likewise.
230         * testsuite/thread/pthread3.cc: Likewise.
231         * testsuite/thread/pthread4.cc: Likewise.
232         * testsuite/thread/pthread5.cc: Likewise.
233         * testsuite/thread/pthread6.cc: Likewise.
234         * testsuite/thread/pthread7-rope.cc: Likewise.
235
236 2003-07-30  Phil Edwards  <pme@gcc.gnu.org>
237
238         * include/bits/c++config:  Partial reversion (comment placement) of
239         previous patch.
240
241 2003-07-30  Benjamin Kosnik  <bkoz@redhat.com>
242
243         * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
244         (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
245         (_GLIBCXX_AT_AT): Remove.
246         (__USE_MALLOC): Remove.
247         * include/std/std_fstream.h: Modify.
248         * include/bits/basic_ios.h: Same.
249         * include/bits/valarray_array.h: Same.
250         * include/c_std/std_cmath.h: Same.
251         * include/c_std/cmath.tcc: Same.
252         * include/std/std_vector.h: Same.
253         * include/std/std_string.h: Same.
254         * include/std/std_stack.h: Same.
255         * include/std/std_queue.h: Same.
256         * include/std/std_list.h: Same.
257         * include/std/std_deque.h: Same.
258         * include/std/std_streambuf.h: Same.
259         * include/std/std_sstream.h: Same.
260         * include/std/std_ostream.h: Same.
261         * include/std/std_istream.h: Same.
262         * include/bits/valarray_array.tcc: Same, format.
263
264         * include/c/std_cctype.h: Fix include guards.
265         * include/c/std_cerrno.h: Same.
266         * include/c/std_cfloat.h: Same.
267         * include/c/std_climits.h: Same.
268         * include/c/std_clocale.h: Same.
269         * include/c/std_cmath.h: Same.
270         * include/c/std_csetjmp.h: Same.
271         * include/c/std_csignal.h: Same.
272         * include/c/std_cstdarg.h: Same.
273         * include/c/std_cstddef.h: Same.
274         * include/c/std_cstdio.h: Same.
275         * include/c/std_cstdlib.h: Same.
276         * include/c/std_cstring.h: Same.
277         * include/c/std_ctime.h: Same.
278         * include/c/std_cwchar.h: Same.
279         * include/c/std_cwctype.h: Same.
280         * include/c_std/cmath.tcc: Same.
281         * include/c_std/std_cmath.h: Same.
282         
283 2003-07-30  Gawain Bolton  <gp.bolton@computer.org>
284
285         PR libstdc++/11504.  
286         * include/bits/stl_tree.h: Replace C-style casts with C++-style
287         casts.  Changes to avoid casting away constness.  Eliminate
288         _Rb_tree_base_iterator class.  Change _Rb_tree_iterator to use
289         initialization lists.  Move out implementation of __black_count()
290         to...
291         * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
292         Rename_Rb_tree_base_iterator::_M_increment() to
293         _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
294         _Rb_tree_decrement.
295         * config/linker-map.gnu: Add and change symbols here.
296
297 2003-07-30  Jonathan Wakely  <redi@gcc.gnu.org>
298
299         * docs/html/22_locale/howto.html: Use locale::classic() instead
300         of locale("C").
301
302 2003-07-28  Benjamin Kosnik  <bkoz@redhat.com>
303
304         * testsuite/testsuite_hooks.h: Remove list include.
305         (func_callback): Define as unique type, not std::list.
306         Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
307         * testsuite/libstdc++-v3.dg/dg.exp: Same.
308         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
309         * testsuite/23_containers/bitset_ctor.cc: 
310         * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
311         * testsuite/18_support/numeric_limits.cc: Same.
312         * testsuite/21_strings/basic_string/append/char/1.cc: Same.
313         * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
314         * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
315         * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
316         * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
317         * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
318         * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
319         * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
320         * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
321         * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
322         * testsuite/21_strings/basic_string/find/char/1.cc: Same.
323         * testsuite/21_strings/basic_string/find/char/2.cc: Same.
324         * testsuite/21_strings/basic_string/find/char/3.cc: Same.
325         * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
326         * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
327         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
328         * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
329         * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
330         * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
331         * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
332         * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc: 
333         * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc: 
334         * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: 
335         * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc: 
336         * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc: 
337         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc: 
338         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc: 
339         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc: 
340         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc: 
341         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc: 
342         * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
343         * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
344         * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
345         * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
346         * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
347         * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
348         * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
349         * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
350         * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
351         * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
352         * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
353         * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
354         * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
355         * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
356         * testsuite/23_containers/bitset_ctor.cc: Same.
357         * testsuite/23_containers/bitset_shift.cc: Same.
358         * testsuite/23_containers/vector_ctor.cc: Same.
359         * testsuite/23_containers/vector_element_access.cc: Same.
360         * testsuite/24_iterators/istreambuf_iterator.cc: Same.
361         * testsuite/24_iterators/iterator.cc: Same.
362         * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
363         * testsuite/25_algorithms/lower_bound.cc: Same.
364         * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
365         * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
366         * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
367         * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
368         * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
369         * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
370         * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
371         * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
372         * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
373         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
374         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: 
375         Same.
376         
377 2003-07-28  Phil Edwards  <pme@gcc.gnu.org>
378
379         * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
380         docs/html/test.html, docs/html/17_intro/headers_cc.txt,
381         docs/html/17_intro/howto.html, docs/html/ext/howto.html:  Change
382         GLIBCPP to GLIBCXX (and explain as needed).
383
384 2003-07-28  Phil Edwards  <pme@gcc.gnu.org>
385
386         * README:  Update.
387
388 2003-07-28  Phil Edwards  <pme@gcc.gnu.org>
389
390         * testsuite/22_locale/messages/members/char/1.cc,
391         testsuite/22_locale/messages/members/char/2.cc,
392         testsuite/22_locale/messages/members/char/3.cc,
393         testsuite/22_locale/messages_byname/1.cc:  Update comment regarding
394         the origin of LOCALEDIR.
395         * testsuite/lib/libstdc++-v3.exp:  New file.
396
397 2003-07-25  Benjamin Kosnik  <bkoz@redhat.com>
398
399         * include/bits/char_traits.h: Update copyright, tweak.
400         * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
401         std types.
402
403 2003-07-24  Matt Austern  <austern@apple.com>
404
405         * /include/bits/char_traits.h (class char_traits): Put all the
406         real work into the new class template __gnu_cxx::char_traits.
407         Gave generic definitions for member functions.  Types are taken
408         from the new class template __gnu_cxx::_Char_types.
409         * testsuite/21_strings/char_traits/requirements/short/1.cc: New
410         file.  Test of std::char_traits<short>, which serves as a test of
411         the char_traits primary template.
412
413 2003-07-24  Benjamin Kosnik  <bkoz@redhat.com>
414
415         * testsuite/*: Change __gnu_cxx_test to __gnu_test.
416
417 2003-07-24  Nathan Myers  <ncm-nospam@cantrip.org>
418
419         * testsuite/23_containers/map_operators.cc: Conform to 
420         container requirement as value must be Assignable.
421
422 2003-07-23  Alexandre Oliva  <aoliva@redhat.com>
423
424         * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
425         tests not only generation of pch files, but also their use.
426         * aclocal.m4, configure: Rebuilt.
427
428 2003-07-23  Steve Ellcey  <sje@cup.hp.com>
429
430         * config/cpu/hppa/atomicity.h: Change
431         _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
432         to match misc-inst.cc
433
434 2003-07-23  Steve Ellcey  <sje@cup.hp.com>
435
436         * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
437         * include/c_std/std_cctype.h: Ditto.
438         * include/c_std/std_cerrno.h: Ditto.
439         * include/c_std/std_cfloat.h: Ditto.
440         * include/c_std/std_climits.h: Ditto.
441         * include/c_std/std_clocale.h: Ditto.
442         * include/c_std/std_cmath.h: Ditto.
443         * include/c_std/std_csetjmp.h: Ditto.
444         * include/c_std/std_csignal.h: Ditto.
445         * include/c_std/std_cstdarg.h: Ditto.
446         * include/c_std/std_cstddef.h: Ditto.
447         * include/c_std/std_cstdio.h: Ditto.
448         * include/c_std/std_cstdlib.h: Ditto.
449         * include/c_std/std_cstring.h: Ditto.
450         * include/c_std/std_ctime.h: Ditto.
451         * include/c_std/std_cwchar.h: Ditto.
452         * include/c_std/std_cwctype.h: Ditto.
453         * include/std/std_algorithm.h: Ditto.
454         * include/std/std_bitset.h: Ditto.
455         * include/std/std_complex.h: Ditto.
456         * include/std/std_deque.h: Ditto.
457         * include/std/std_fstream.h: Ditto.
458         * include/std/std_functional.h: Ditto.
459         * include/std/std_iomanip.h: Ditto.
460         * include/std/std_ios.h: Ditto.
461         * include/std/std_iosfwd.h: Ditto.
462         * include/std/std_iostream.h: Ditto.
463         * include/std/std_istream.h: Ditto.
464         * include/std/std_iterator.h: Ditto.
465         * include/std/std_limits.h: Ditto.
466         * include/std/std_list.h: Ditto.
467         * include/std/std_locale.h: Ditto.
468         * include/std/std_map.h: Ditto.
469         * include/std/std_memory.h: Ditto.
470         * include/std/std_numeric.h: Ditto.
471         * include/std/std_ostream.h: Ditto.
472         * include/std/std_queue.h: Ditto.
473         * include/std/std_set.h: Ditto.
474         * include/std/std_sstream.h: Ditto.
475         * include/std/std_stack.h: Ditto.
476         * include/std/std_stdexcept.h: Ditto.
477         * include/std/std_streambuf.h: Ditto.
478         * include/std/std_string.h: Ditto.
479         * include/std/std_utility.h: Ditto.
480         * include/std/std_valarray.h: Ditto.
481         * include/std/std_vector.h: Ditto.
482
483 2003-07-22  Doug Gregor  <dgregor@apple.com>
484
485         * include/bits/basic_string.h (basic_string::insert): Deprecate
486         GNU extension.
487
488 2003-07-21  Benjamin Kosnik  <bkoz@redhat.com>
489
490         * scripts/testsuite_flags.in (--build-includes): Remove extraneous
491         paths for libio.
492         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
493         (test03): Include typeinfo for bad_cast.
494         * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
495         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
496         * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
497
498 2003-07-21  Doug Gregor  <dgregor@apple.com>
499
500         * include/bits/boost_concept_check.h:
501         (_EqualityComparableConcept::__constraints): Remove != from the 
502         list of constraints; it is not listed in Table 28 of the C++98 
503         standard.
504
505 2003-07-18  Andreas Jaeger  <aj@suse.de>
506
507         * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
508         * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
509         * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
510         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
511
512 2003-07-17  Benjamin Kosnik  <bkoz@redhat.com>
513         
514         * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
515         * config/locale/generic/messages_members.h: Tweaks.
516         * config/locale/generic/monetary_members.cc
517         (moneypunct::_M_initialize_moneypunct): Use cache.
518         (moneypunct::~moneypunct): Delete cache.
519         * config/locale/generic/time_members.cc:
520         (__timepunct::_M_initialize_timepunct): Use cache.
521         * config/locale/generic/time_members.h:
522         (__timepunct::~__timepunct): Delete cache.
523         (__timepunct::__timepunct): Set cache.
524         * config/locale/gnu/messages_members.h: Tweaks.
525         * config/locale/gnu/monetary_members.cc:
526         (moneypunct::_M_initialize_moneypunct): Use cache.
527         (moneypunct::~moneypunct): Delete cache.
528         * config/locale/gnu/time_members.cc:
529         (__timepunct::_M_initialize_timepunct): Use cache.
530         * config/locale/gnu/time_members.h:
531         (__timepunct::~__timepunct): Delete cache.
532         (__timepunct::__timepunct): Set cache.
533         * include/bits/locale_facets.h (__timepunct_cache): New.
534         (__moneypunct_cache): New.
535         * include/bits/locale_facets.tcc: Tweak.
536         * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
537         * src/locale-inst.cc: Instantiate caches.
538         * src/globals.cc: Add "C" caches.
539         * src/localename.cc: Use external "C" caches.
540
541 2003-07-17  Phil Edwards  <pme@gcc.gnu.org>
542
543         * docs/doxygen/guide.html:  Fix typo.
544
545 2003-07-16  Benjamin Kosnik  <bkoz@redhat.com>
546
547         * include/ext/pod_char_traits.h: Add state template argument.
548
549 2003-07-16  Benjamin Kosnik  <bkoz@redhat.com>
550
551         * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
552         (num_get::_M_convert_int): To _M_insert_int.
553         (num_get::_M_convert_float): To _M_insert_float.        
554         * include/bits/locale_facets.tcc (num_get::_M_extract_float):
555         Use caches for ctype, num_get.
556         (num_get::_M_extract_int): Same.
557         (num_get::get(bool)): Same.
558         (__verify_grouping): Use size_t.
559         * src/locale-inst.cc: Update.
560         * src/locale.cc: Adjust _S_atoms_in.
561
562 2003-07-16  Phil Edwards  <pme@gcc.gnu.org>
563
564         * docs/doxygen/mainpage.html:  Move building/writing instructions...
565         * docs/doxygen/guide.html:  ...to here.  New file.
566
567 2003-07-16  Jonathan Wakely  <redi@gcc.gnu.org>
568
569         * docs/html/ext/howto.html: Update URL for SGI STL docs.
570         * docs/html/faq/index.html: Same.
571         * docs/html/faq/index.txt: Regenerate.
572
573 2003-07-16  Paolo Carlini  <pcarlini@unitus.it>
574
575         PR libstdc++/11528
576         * include/bits/locale_facets.tcc (money_get::do_get):
577         Strip only _leading_ zeros.
578         * testsuite/22_locale/money_get/get/char/11528.cc: Add.
579         * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
580
581 2003-07-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
582
583         * include/ext/hash_map (class hash_multimap): Remove extra
584         semicolons from __glibcxx_class_requires3 entries.
585         * include/ext/hash_set (class hash_set): Ditto.
586         (class hash_multiset): Ditto.
587
588 2003-07-15  Petur Runolfsson  <peturr02@ru.is>
589
590         * include/bits/char_traits.h (char_traits<wchar_t>::move):
591         Change last parameter from int_type to size_t.
592
593 2003-07-15  Jerry Quinn  <jlquinn@optonline.net>
594
595         * include/bits/stl_algo.h (includes, set_union, set_intersection,
596         set_difference, set_symmetric_difference, max_element, min_element,
597         next_permutation, prev_permutation, find_first_of, find_end):
598         Document.
599         * include/bits/stl_algobase.h (copy,copy_backward):  Clarify overlap
600         restrictions in docs.
601         * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
602         Document.
603         * docs/doxygen/doxygroups.cc (setoperations):  New group.
604
605 2003-07-15  Jerry Quinn  <jlquinn@optonline.net>
606
607         * include/bits/basic_string.h:  Document public functions.
608         * docs/doxygen/TODO:  Update c21 todo.
609
610 2003-07-15  Jerry Quinn  <jlquinn@optonline.net>
611
612         * include/bits/stl_list.h:  Document more functions.
613         * docs/doxygen/TODO:  Update c23 todo.
614
615 2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
616
617         * config/locale/gnu/c_locale.h (__convert_from_v): One more
618         qualification.
619
620 2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
621
622         * include/bits/stl_tempbuf.h: Qualify free with std::.
623         * src/locale.cc: Include <cstdlib>, qualify getenv.
624
625 2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
626
627         * config/locale/gnu/c_locale.h (__convert_from_v): Include
628         <cstdio>. Qualify names.
629         * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
630
631 2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
632             Nathan C. Myers  <ncm-nospam@cantrip.org>
633
634         PR libstdc++/11378
635         * include/std/std_fstream.h (xsputn): Declare only.
636         * include/bits/fstream.tcc (xsputn): Define, optimize for the
637         always_noconv() case: when __n is sufficiently large flush 
638         the buffer and issue a direct write, if possible combining the
639         two with writev in __basic_file<>::xsputn_2.
640         * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
641         New, declare.
642         * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
643         Define.
644         * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
645         the availability of writev in <sys/uio.h>.
646         * configure.in: Call here.
647         * acconfig.h: Add undef for the corresponding symbol.
648         * aclocal.m4: Regenerate.
649         * configure: Regenerate.
650         * config.h.in: Regenerate.
651         * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
652
653         * include/std/std_fstream.h (sync): Constify a variable.
654
655 2003-07-14  Benjamin Kosnik  <bkoz@redhat.com>
656
657         * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
658         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
659         
660 2003-07-14  Gabriel Dos Reis  <gcc@integrable-solutions.net>
661
662         * config/locale/gnu/c_locale.h (__convert_from_v): Include
663         <cstring> and <cstdlib>. Qualify names.
664
665 2003-07-13  Mark Mitchell  <mark@codesourcery.com>
666
667         * config/locale/generic/c_locale.h: Include <cstdlib> and
668         <cstring>.
669         * include/bits/boost_concept_check.h: Add this-> to unqualified
670         method calls.
671         * include/bits/deque.tcc: Likewise.
672         * include/bits/locale_facets.h : Likewise.
673         * include/bits/ostream.tcc: Likewise.
674         * include/bits/stl_algo.h: Likewise.
675         * include/bits/stl_bvector.h: Likewise.
676         * include/bits/stl_deque.h: Likewise.
677         * include/bits/stl_list.h: Likewise.
678         * include/bits/stl_tree.h: Likewise.
679         * include/bits/stl_vector.h: Likewise.
680         * include/bits/vector.tcc: Likewise.
681         * include/ext/rope: Likewise.
682         * include/ext/ropeimpl.h: Likewise.
683         * include/ext/stdio_filebuf.h: Likewise.
684
685 2003-07-11  Jerry Quinn  <jlquinn@optonline.net>
686
687         * include/bits/basic_ios.h (copyfmt): Document.
688         * include/bits/ios_base.h (event, event_callback, register_callback,
689         xalloc, iword, pword):  Document.
690         (imbue, ~ios_base): Update docs on callbacks.
691
692 2003-07-11  Phil Edwards  <pme@gcc.gnu.org>
693
694         * acinclude.m4 (GLIBCC_ENABLE_SYMVERS):  Tweak comments.  Add
695         warning messages if the environment cannot support symbol versioning.
696         (port_specific_symbol_file):  It's plural, add an 's' on the end.
697         * configure.host:  Likewise.
698         * src/Makefile.am:  Likewise.
699         * config/linker-map.gnu:  Remove one semicolon, heh.
700         * scripts/extract_symvers:  Don't assume useful 'export' syntax.
701         Set LANG as well as LC_ALL for possibly-broken sort(1)s.
702         * aclocal.m4, configure, src/Makefile.in:  Regenerated.
703
704 2003-07-09  Benjamin Kosnik  <bkoz@redhat.com>
705
706         * include/bits/locale_facets.tcc: Use function object for
707         __use_cache instead of template function. Partially specialize for 
708         __numpunct<_CharT>.
709         * include/bits/locale_classes.h: Update friend declaration for
710         __use_cache.
711         (_M_install_cache): No throw exception specs.
712         * src/locale.cc: Remove __use_cache specializations.
713         * include/ext/pod_char_traits.h (length): Tweak.
714         * include/bits/locale_facets.h (__numpunct_cache): Remove
715         char_type typedef.
716         * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
717         (pod_long): Remove.
718         * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
719         * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
720         * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
721         * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
722         * testsuite/22_locale/numpunct/members/pod/1.cc: New.
723         * testsuite/22_locale/numpunct/members/pod/2.cc: New.
724         
725 2003-07-09  Jerry Quinn  <jlquinn@optonline.net>
726
727         * src/ios.cc (_M_grow_words):  Fix spelling.
728
729 2003-07-09  Gawain Bolton  <gp.bolton@computer.org>
730
731         * include/bits/stl_tree.h: Move larger member functions in
732         _Rb_tree_base_iterator and _Rb_tree_node to...
733         * src/stl_tree.cc: Here.
734         * src/Makefile.in: Add stl_tree.cc.
735         * src/Makefile.in: Regenerated.
736         * config/linker-map.gnu: Add symbols here.
737
738 2003-07-08  Benjamin Kosnik  <bkoz@redhat.com>
739
740         * testsuite/ext/pod_char_traits.cc: New.
741         * include/ext/pod_char_traits.h: New.
742         * include/Makefile.am (ext_headers): Add pod_char_traits.h.
743         * include/Makefile.in: Regenerate.
744         * docs/html/21_strings/howto.html: Update.
745                 
746 2003-07-08  Gawain Bolton  <gp.bolton@computer.org>
747
748         * testsuite/performance/list_create_fill_sort.cc: New.
749
750 2003-07-08  Benjamin Kosnik  <bkoz@redhat.com>
751
752         * config/locale/generic/numeric_members.cc: Correct type info.
753         * config/locale/gnu/numeric_members.cc: Same.
754         * include/bits/locale_facets.h: Same.
755         
756         * include/bits/char_traits.h: Correct spacing.
757
758         * src/locale.cc: Wrap to 80 col.
759         
760 2003-07-07  Paolo Carlini  <pcarlini@unitus.it>
761
762         * include/std/std_complex.h: Partially revert last
763         changes: cmath functions must not be qualified.
764
765 2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
766
767         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS):  Do not test for binutils
768         2.11 with globbing backport fix.
769         * aclocal.m4, configure:  Regenerated.
770
771 2003-07-06  Paolo Carlini  <pcarlini@unitus.it>
772
773         * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
774         if output is at all possible (!_M_reading), cannot be active.
775
776         * include/std/std_fstream.h: Tweak comments to doxygen style.
777
778 2003-07-06  Paolo Carlini  <pcarlini@unitus.it>
779
780         * include/bits/locale_classes.h: Fully qualify standard
781         functions with std::, thus avoiding Koenig lookup.
782         * include/bits/locale_facets.tcc: Likewise.
783         * src/locale.cc: Likewise.
784         * src/localename.cc: Likewise.
785
786 2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
787
788         * include/bits/allocator_traits.h:  Fix doxygen markup.
789         * include/ext/mt_allocator.h:  Likewise.
790
791 2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
792
793         * testsuite/testsuite_hooks.h:  Guard against a missing unlink().
794
795 2003-07-05  Phil Edwards  <pme@gcc.gnu.org>
796
797         * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS):  Bump minimal version
798         requirement.  Add port_specific_symbol_file variable.
799         * configure.host:  Add docs for port_specific_symbol_file.
800         Clean up try_cpu block for x86.
801         * config/linker-map.gnu:  No more "last symbol can't have a
802         semicolon" kaka.  Add hook for port-specific symbols.
803         * src/Makefile.am:  Remove trailing whitespace.
804         (libstdc++-symbol.ver):  Detect the presence of port-specific
805         symbols, and add them accordingly.
806
807         * docs/html/17_intro/porting.texi:  Bring up to date.
808
809         * src/Makefile.in, aclocal.m4, configure,
810         docs/html/17_intro/porting.html:  Regenerated.
811
812 2003-07-05  Phil Edwards  <pme@gcc.gnu.org>
813
814         * scripts/create_testsuite_files:  New file.
815         * testsuite/Makefile.am (all-local, check-performance):  Use it.
816         * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests):  Remove.
817         * testsuite/Makefile.in:  Regenerated.
818
819         * testsuite/performance/filebuf_sputc.cc:  Remove the temporary
820         files at the end.
821         * testsuite/performance/fstream_seek_write.cc:  Likewise.
822         * testsuite/performance/ofstream_insert_float.cc:  Likewise.
823         * testsuite/performance/ofstream_insert_int.cc:  Likewise.
824         * testsuite/abi_check.cc (main):  Nicer spacing in usage output.
825
826 2003-07-05  Gawain Bolton  <gp.bolton@computer.org>
827
828         * include/bits/stl_list.h: Performance and memory usage
829         improvements. In particular, the behaviour of the constructor and
830         destructor as the list header node is no longer dynamically
831         allocated/de-allocated.
832         * include/bits/list.tcc: Likewise.
833
834 2003-07-05  Paolo Carlini  <pcarlini@unitus.it>
835
836         * include/std/std_complex.h: Fully qualify standard
837         functions with std::, thus avoiding Koenig lookup.
838         * include/std/std_memory.h: Likewise.
839         * include/std/std_valarray.h: Likewise.
840
841 2003-07-05  Gawain Bolton  <gp.bolton@computer.org>
842
843         * include/bits/stl_tree.h: _Rb_tree_rebalance():  Add local
844           variable for grandparent and use const
845
846 2003-07-05  David Billinghurst <David.Billinghurst@riotinto.com>
847
848         * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
849         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
850         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
851         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
852         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
853         * testsuite/27_io/objects/char/7.cc: Ditto
854         * testsuite/27_io/objects/char/9661-1.cc: Ditto
855
856 2003-07-05  Paolo Carlini  <pcarlini@unitus.it>
857
858         * include/std/std_bitset.h: Fully qualify standard
859         functions with std::, thus avoiding Koenig lookup.
860
861         * include/std/std_fstream.h: Change comment to doxygen style.
862
863 2003-07-05  Phil Edwards  <pme@gcc.gnu.org>
864
865         * include/std/std_limits.h:  More CPP->CXX changes.
866         * scripts/check_survey.in:  Likewise.
867
868 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
869
870         Move from CPP to CXX.
871         * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
872         * testsuite/Makefile.am: Same.
873         * testsuite/Makefile.in: Regenerate.
874         * po/Makefile.am: Same.
875         * po/Makefile.in: Regenerate.   
876         * libsupc++/Makefile.am: Same.
877         * libsupc++/Makefile.in: Regenerate.    
878         * libmath/Makefile.am: Same.
879         * libmath/Makefile.in: Regenerate.      
880         * include/Makefile.am: Same.
881         * include/Makefile.in: Regenerate.      
882         * src/Makefile.am: Same.
883         * src/Makefile.in: Regenerate.  
884         * acconfig.h: Same.
885         * configure.host: Same.
886         * configure.in: Same.
887         * configure: Regenerate.
888         * acinclude.m4: Same.
889         * aclocal.m4: Same.
890         * src: Change all files in this directory.
891         * testsuite: Same.
892         * include: Same, standardize include guards.
893         * config: Same.
894         * libsupc++: Same.
895         
896 2003-07-04  Zack Weinberg  <zack@codesourcery.com>
897
898         * testsuite/22_locale/collate/compare/wchar_t/2.cc
899         * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
900         * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
901         * testsuite/22_locale/collate/hash/wchar_t/2.cc
902         * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
903         * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
904         * testsuite/22_locale/collate/transform/wchar_t/2.cc
905         * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
906         * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
907         XFAIL on all targets.
908
909 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
910
911         * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
912         * aclocal.m4: Regenerate.
913         * configure: Regenerate.
914
915 2003-07-04  Jerry Quinn  <jlquinn@optonline.net>
916
917         * include/bits/locale_facets.tcc (__int_to_char): Move common case
918         to the top.
919
920 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
921             Petur Runolfsson  <peturr02@ru.is>
922
923         * config/io/basic_file_stdio.cc: Revert.
924
925 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
926
927         * include/bits/deque.tcc: Fully qualify standard
928         functions with std::, thus avoiding Koenig lookup.
929         * include/bits/gslice_array.h: Likewise.
930         * include/bits/indirect_array.h: Likewise.
931         * include/bits/list.tcc: Likewise.
932         * include/bits/mask_array.h: Likewise.
933         * include/bits/slice_array.h: Likewise.
934
935 2003-07-04  Gawain Bolton  <gbolton@free.fr>
936
937         * include/bits/stl_tree.h: Performance and memory usage
938         improvements.
939
940 2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
941
942         * Makefile.am: Replace PWD with PWD_COMMAND.
943         * Makefile.in: Regenerated.
944         * docs/html/Makefile: Likewise.
945
946 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
947
948         * include/bits/valarray_array.h: Fully qualify standard
949         functions with std::, thus avoiding Koenig lookup.
950         * include/bits/vector.tcc: Likewise.
951
952 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
953
954         * include/Makefile.am: Update target_ to host_.
955         * include/Makefile.in: Regenerate.
956         * src/Makefile.am: Same.
957         * src/Makefile.in: Regenerate.
958
959         * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
960
961 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
962
963         * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
964         --enable-libstdcxx-debug-flags.
965         (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
966         (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
967         * aclocal.m4: Regenerate.
968         * configure: Same.
969         * docs/html/configopts.html: Update.
970
971 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
972
973         Revert the fix for libstdc++/11378.
974
975 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
976
977         PR libstdc++/11378
978         * include/std/std_fstream.h (xsputn): In the unbuffered case,
979         provided always_noconv(), issue directly _M_file.xsputn.
980         * testsuite/performance/filebuf_unbuf_sputn.cc: New.
981
982 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
983
984         * include/bits/stl_list.h: Fully qualify standard
985         functions with std::, thus avoiding Koenig lookup.
986         * include/bits/stl_queue.h: Likewise.
987         * include/bits/stl_raw_storage_iter.h: Likewise.
988         * include/bits/stl_tempbuf.h: Likewise.
989         * include/bits/stl_tree.h: Likewise.
990         * include/bits/stl_uninitialized.h: Likewise.
991         * include/bits/stl_vector.h: Likewise.
992         * include/ext/rope: Change includes order.
993
994 2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
995
996         * configure.host (fpos_include_dir): Fix.
997
998 2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
999
1000         * include/bits/stl_heap.h: Fully qualify standard
1001         functions with std::, thus avoiding Koenig lookup.
1002         * include/bits/stl_iterator_base_funcs.h: Likewise.
1003
1004         * include/bits/stl_algo.h: Qualify __iterator_category too.
1005         * include/bits/stl_algobase.h: Likewise.
1006         * include/bits/stl_bvector.h: Likewise.
1007
1008         * include/bits/stl_algo.h: Don't qualify the pair type.
1009
1010 2003-07-03  Benjamin Kosnik  <bkoz@redhat.com>
1011
1012         * include/Makefile.am (target_headers): Add fpos.h
1013         (bits_headers): Remove.
1014         * include/Makefile.in: Regenerate.
1015         * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1016         * configure: Regenerate.
1017         * configure.host: Add fpos_include_dir.
1018         * config/os/gnu-linux/fpos.h: New.
1019         * config/os/generic/fpos.h: Add.
1020         * include/bits/fpos.h: Remove.
1021
1022         * config/io/c_io_stdio.h: Remove fpos_t typedef.
1023
1024         * include/bits/fstream.tcc: Tweaks.
1025         * include/std/std_fstream.h: Same.
1026
1027         * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1028         * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1029         * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1030         * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1031         * testsuite/27_io/fpos/1.cc: New.
1032
1033 2003-07-03  Benjamin Kosnik  <bkoz@redhat.com>
1034             Petur Runolfsson  <peturr02@ru.is>
1035
1036         * include/std/std_streambuf.h: Remove _M_pos.
1037         * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1038         * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1039         use fread/fwrite instead of read/write.
1040         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1041         * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1042         before reading again.
1043         * testsuite/27_io/objects/char/6.cc: Tweak.
1044
1045 2003-07-03  David Edelsohn  <edelsohn@gnu.org>
1046
1047         * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1048         _GLIBCPP_USE_WCHAR_T.
1049
1050 2003-07-02  Paolo Carlini  <pcarlini@unitus.it>
1051
1052         * include/bits/basic_string.tcc (_M_replace_aux): Constify
1053         __n1 and __off1.
1054
1055 2003-07-02  Paolo Carlini  <pcarlini@unitus.it>
1056
1057         * include/bits/stl_bvector.h: Fully qualify standard
1058         functions with std::, thus avoiding Koenig lookup.
1059         * include/bits/stl_construct.h: Likewise.
1060         * include/bits/stl_deque.h: Likewise.
1061
1062 2003-07-02  Paolo Carlini  <pcarlini@unitus.it>
1063
1064         * testsuite/22_locale/num_put/put/char/7.cc: Include
1065         <testsuite_hooks.h>, tweak.
1066         * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1067
1068 2003-07-01  Phil Edwards  <pme@gcc.gnu.org>
1069
1070         * testsuite/Makefile.am (AM_MAKEFLAGS):  Set to -j1 (affects
1071         check* targets, but not libs/programs).
1072         * testsuite/Makefile.in:  Regenerate.
1073
1074 2003-07-01  Roger Sayle  <roger@eyesopen.com>
1075
1076         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1077         (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1078         * aclocal.m4: Regenerate.
1079         * configure: Regenerate.
1080
1081 2003-07-01  Benjamin Kosnik  <bkoz@redhat.com>
1082
1083         * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1084         * aclocal.m4: Regenerated.
1085         * configure: Regenerated.
1086
1087 2003-07-01  Paolo Carlini  <pcarlini@unitus.it>
1088
1089         PR libstdc++/11389
1090         * include/bits/fstream.tcc (underflow): For encoding() == 0
1091         don't read more than __buflen chars.
1092         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1093         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1094         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1095         * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1096
1097 2003-07-01  Jerry Quinn  <jlquinn@optonline.net>
1098
1099         * 22_locale/num_put/put/char/7.cc: New.
1100         * 22_locale/num_put/put/wchar_t/7.cc: New.
1101
1102 2003-06-30  Jerry Quinn  <jlquinn@optonline.net>
1103
1104         * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1105         * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1106
1107 2003-06-30  Benjamin Kosnik  <bkoz@redhat.com>
1108
1109         * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1110         * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1111         * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1112         * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1113         * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1114         * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1115         * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1116         * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1117         * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1118         * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1119         * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1120         * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1121         * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1122         * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1123         * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1124         * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1125         * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1126         * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1127         * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1128         * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1129         * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1130         * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1131         * data/seekoff-1.tst: Remove.
1132         * data/seekoff-1io.tst: New.
1133         * data/seekoff-1out.tst: New.
1134         * data/seekoff-2.tst: Remove.
1135         * data/seekoff-2io.tst: New.
1136         * data/seekoff-2out.tst: New.
1137         * data/seekoff.txt
1138         * data/seekpos-1.tst: Remove.
1139         * data/seekpos-1io.tst: New.
1140         * data/seekpos-1out.tst: New.
1141         * data/seekpos-2.tst: Remove.
1142         * data/seekpos-2io.tst: New.
1143         * data/seekpos-2out.tst: New.
1144         * data/seekpos.txt: New.
1145
1146 2003-06-30  Jerry Quinn  <jlquinn@optonline.net>
1147
1148         * src/locale.cc (__use_cache<numpunct>): Move from here ...
1149         * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1150         here.
1151
1152 2003-06-30  Paolo Carlini  <pcarlini@unitus.it>
1153
1154         * include/bits/stl_algobase.h: Fully qualify standard
1155         functions with std::, thus avoiding Koenig lookup.
1156
1157 2003-06-30  Doug Gregor <dgregor@apple.com>
1158
1159         * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1160         subscripting empty string.
1161
1162 2003-06-30  Phil Edwards  <pme@gcc.gnu.org>
1163
1164         * testsuite/Makefile.am (check-am):  Do not override.
1165         (baseline_symbols):  Declare as PHONY, so no need to 'touch' it.
1166         * testsuite/Makefile.in:  Regenerate.
1167
1168 2003-06-30  Doug Gregor <dgregor@apple.com>
1169
1170         * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1171         Don't initialize an insert_iterator with a singular iterator.
1172
1173 2003-06-30  Benjamin Kosnik  <bkoz@redhat.com>
1174
1175         * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1176         * aclocal.m4: Regenerate.
1177         * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1178         GLIBCPP_ENABLE_PCH, default to yes.
1179         * configure: Regenerate.
1180         * docs/html/configopts.html: Add --enable-pch.
1181
1182 2003-06-30  Phil Edwards  <pme@gcc.gnu.org>
1183
1184         * testsuite/lib/libstdc++-v3-dg.exp:  Add comments.
1185         (libstdc++-v3-init):  Also set LD_RUN_PATH.
1186
1187 2003-06-30  Paolo Carlini  <pcarlini@unitus.it>
1188
1189         * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1190         from here to filebuf and stringbuf.
1191         (~basic_streambuf()): Don't set _M_mode.
1192         (basic_streambuf()): Don't set _M_mode.
1193         * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1194         (~basic_filebuf()): Clean up.
1195         * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1196         * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1197         * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1198         * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1199         * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1200         * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1201         * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1202
1203 2003-06-30  Paolo Carlini  <pcarlini@unitus.it>
1204
1205         * include/std/std_fstream.h (_M_underflow): Remove.
1206         (uflow): Remove, inherited from streambuf.
1207         (underflow): Only declare.
1208         * include/bits/fstream.tcc (_M_underflow): Rename to
1209         underflow, to which is equivalent for __bump == false,
1210         simplify.
1211         * include/std/std_sstream.h (_M_underflow): Remove.
1212         (uflow): Remove, inherited from streambuf.
1213         (underflow): Only declare.
1214         * include/bits/sstream.tcc (_M_underflow): Rename to
1215         underflow, to which is equivalent for __bump == false,
1216         simplify.
1217
1218 2003-06-29  Paolo Carlini  <pcarlini@unitus.it>
1219
1220         * include/bits/stl_algo.h: Fully qualify standard functions
1221         with std::, thus avoiding Koenig lookup.
1222
1223 2003-06-29  Paolo Carlini  <pcarlini@unitus.it>
1224
1225         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1226         Improve type correctness-wise.
1227         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1228         Likewise.
1229         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1230         Likewise.
1231         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1232         Likewise.
1233
1234 2003-06-29  Paolo Carlini  <pcarlini@unitus.it>
1235
1236         * include/std/std_streambuf.h (uflow): According to
1237         27.5.2.4.3,p16, don't check gptr() < egptr().
1238
1239 2003-06-28  Paolo Carlini  <pcarlini@unitus.it>
1240
1241         PR libstdc++/9875
1242         * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1243         (seekpos): Likewise.
1244         * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1245         New test.
1246         * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1247         New test.
1248
1249 2003-06-27  Benjamin Kosnik  <bkoz@redhat.com>
1250
1251         * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1252         output name to libstdc++-v3-performance.sum.
1253         * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1254         * testsuite/Makefile.in: Regenerate.
1255
1256 2003-06-27  Matthias Klose  <doko@debian.org>
1257
1258         * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1259         output of abi-check in libstdc++-v3-abi.sum.
1260         * testsuite/Makefile.in: Regenerate.
1261
1262 2003-06-27  Krister Walfridsson  <cato@df.lth.se>
1263
1264         * config/os/bsd/netbsd/ctype_noninline.h
1265         (_C_ctype_): Declare.
1266         (ctype<char>::classic_table): Return _C_ctype_ + 1.
1267         (ctype<char>::ctype): Use classic_table.
1268
1269 2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
1270             Nathan C. Myers  <ncm-nospam@cantrip.org>
1271
1272         PR libstdc++/9178
1273         * include/bits/fstream.tcc (_M_underflow): Properly estimate
1274         the worst-case number of external bytes for a given get area.
1275         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
1276
1277 2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
1278             Petur Runolfsson  <peturr02@ru.is>
1279
1280         PR libstdc++/11305
1281         * include/bits/fstream.tcc (overflow): Properly estimate the
1282         worst-case number of external bytes for a given put area
1283         (by using codecvt::max_length()).
1284         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
1285         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
1286         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
1287         * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
1288
1289 2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
1290
1291         * config/linker-map.gnu: Remove ; after __numpunct_cache.
1292
1293 2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1294
1295         * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
1296         to the imbued locale.
1297         * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
1298         _M_getloc.
1299         (num_put::_M_convert_float): Use.
1300
1301 2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>
1302             Jerry Quinn  <jlquinn@optonline.net>
1303
1304         * config/linker-map.gnu: Add __numpunct_cache.
1305         * config/locale/gnu/numeric_members.cc
1306         (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
1307         all elements for "C" locale.
1308         (numpunct::~numpunct): Delete _M_data.
1309         * config/locale/generic/numeric_members.cc: Same.
1310         * include/bits/basic_ios.tcc
1311         (basic_ios::init): Remove __locale_cache bits.
1312         (basic_ios::_M_cache_locale): Same.
1313         * include/bits/ios_base.h: Same. Tweaks.
1314         * include/bits/locale_classes.h: Tweaks. Reorder classes.
1315         (__use_cache): Make friends with _Impl, locale.
1316         (_Impl::_M_caches): Add.
1317         (_Impl::_M_install_cache): Add.
1318         * include/bits/locale_facets.h (__numpunct_cache): New.
1319         (numpunct): Encapsulate data members in __numpunct_cache member,
1320         _M_data. Adjust virtuals.
1321         (numpunct::numpunct): New ctor for the same.
1322         (__locale_cache_base): Remove.
1323         (__locale_cache): Remove.
1324         * include/bits/locale_facets.tcc (__use_cache): New function,
1325         specializations.
1326         (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
1327         * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
1328         * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
1329         * src/locale-inst.cc: Same. Add __numpunct_cache.
1330         * src/locale.cc: Tweak inlines.
1331         (__use_cache): Define specializations.
1332         * src/localename.cc: Use global bits.
1333         (_Impl::~Impl): Deal with __numpunct_cache destruction.
1334         (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
1335         (_Impl::_M_init_facet): Take into account __numpunct_cache.
1336         * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
1337         * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1338
1339 2003-06-26  Nathan C. Myers  <ncm-nospam@cantrip.org>
1340             Paolo Carlini  <pcarlini@unitus.it>
1341
1342         * testsuite/performance/filebuf_copy.cc: New, testing char
1343         by char file copy.
1344
1345 2003-06-26  Paolo Carlini  <pcarlini@unitus.it>
1346             Nathan C. Myers  <ncm-nospam@cantrip.org>
1347
1348         * include/bits/fstream.tcc (_M_underflow): When the actual
1349         end of file is reached, set 'uncommitted' mode to allow a
1350         next write without an intervening seek (see C++98 27.8.1.1,2
1351         and C89 7.9.5.3).
1352         * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
1353
1354 2003-06-25  Nathan C. Myers  <ncm-nospam@cantrip.org>
1355
1356         * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1357         sputc): Move inline, from here...
1358         * include/std/std_streambuf.h: ... to here.
1359
1360         * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
1361         sputbackc, sungetc, sputc): Use __builtin_expect.
1362
1363 2003-06-24  Phil Edwards  <pme@gcc.gnu.org>
1364
1365         * docs/doxygen/mainpage.html:  Use a useful title.
1366
1367 2003-06-24  Benjamin Kosnik  <bkoz@redhat.com>
1368
1369         * docs/html/documentation.html: Remove assignment info.
1370         * docs/html/17_intro/contribute.html: Edits.
1371         * docs/html/17_intro/libstdc++-assign.tx: Remove.
1372
1373         * docs/html/test.html: Update.
1374
1375         * README: Update.
1376
1377 2003-06-24  Benjamin Kosnik  <bkoz@redhat.com>
1378             Ulrich Drepper  <drepper@redhat.com>
1379
1380         * testsuite/testsuite_performance.h: Tweak mallinfo.
1381
1382 2003-06-24  Paolo Carlini  <pcarlini@unitus.it>
1383             Nathan C. Myers  <ncm-nospam@cantrip.org>
1384
1385         * include/std/std_fstream.h (_M_filepos): Remove.
1386         (_M_reading, _M_writing): New, encode the various I/O modes:
1387         'read', 'write' and 'uncommitted'.
1388         (sync): If there is something to flush, do it, then go to
1389         'uncommitted' mode.
1390         * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
1391         with three different cases: __off > 0 (upon underflow),
1392         __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
1393         seekoff/pos).
1394         (_M_underflow): Don't call overflow, set _M_reading to true
1395         on success, tweak.
1396         (pbackfail): Set _M_reading to true on pback creation, tweak.
1397         (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
1398         set _M_writing to true on success, tweak.
1399         (seekoff): Simplify, set _M_reading, _M_writing to false, call
1400         _M_set_buffer(-1) ('uncommitted').
1401         (open, close, setbuf): Set _M_reading, _M_writing to false and
1402         call _M_set_buffer(-1), tweak.
1403         (basic_filebuf): Don't set _M_buf_unified.
1404         (_M_destroy_internal_buffer): Don't call setg and setp.
1405         * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
1406         _M_writing and _M_set_buffer(-1).
1407         * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
1408         _M_out_lim, _M_buf_unified): Remove.
1409         (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
1410         (setp): Don't set _M_out_lim.
1411         * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
1412         the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
1413         upon open the mode is 'uncommitted' and therefore the put area
1414         pointers are null.
1415         * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
1416         * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
1417         * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
1418         * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
1419         * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
1420         * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
1421         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1422         * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
1423         * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
1424         * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
1425         * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
1426         * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
1427         * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
1428         * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
1429         * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
1430         * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
1431         * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
1432         * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
1433         * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
1434         * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
1435
1436         * include/bits/fstream.tcc (showmanyc): Use only the
1437         documented derivation interface to basic_streambuf (gptr(),
1438         setg(), etc.) to work right with user specializations.
1439         * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1440         sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
1441         * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
1442         Likewise.
1443         * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
1444         xsgetn): Likewise.
1445
1446 2003-06-23  Loren J. Rittle  <ljrittle@acm.org>
1447
1448         * configure.host (freebsd*): Set abi_baseline_pair.
1449         * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
1450         (at or near first release) to 3.3.
1451         * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
1452         * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
1453         * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
1454
1455         * include/ext/mt_allocator.h: Portability.
1456         * testsuite/testsuite_performance.h: Likewise.
1457
1458 2003-06-23  Benjamin Kosnik  <bkoz@redhat.com>
1459
1460         * docs/html/17_intro/libstdc++-assign.txt: Update address.
1461
1462         * testsuite/performance/ifstream_getline.cc: Fix.
1463
1464 2003-06-23  Doug Gregor <dgregor@apple.com>
1465
1466         * include/bits/boost_concept_check.h: Don't use _D or _R for type
1467         names.
1468
1469 2003-06-22  Paolo Carlini  <pcarlini@unitus.it>
1470             Nathan C. Myers  <ncm-nospam@cantrip.org>
1471
1472         * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
1473         is now used only for filebuf, when _M_buf_unified is true.
1474         epgtr() plays the role of _M_out_lim but it's only updated
1475         upon overflow, underflow, uflow, seekoff/pos.
1476         * include/bits/sstream.tcc (_M_underflow): New, implements
1477         stringbuf::underflow and uflow.
1478         (seekoff, seekpos): Tweak, use  _M_update_egptr.
1479         * include/std/std_sstream.h (str): Rewrote, deal correctly
1480         with the new logic, in particular, when pptr() > egptr().
1481         (_M_sync): When __testout && !__testin set all the get area
1482         pointers to the current string end.
1483         (_M_update_egptr): New, internal function updating egptr()
1484         to the actual string end.
1485         (_M_underflow): New, declare.
1486         (underflow): Dispatch to _M_underflow(false).
1487         (uflow): Dispatch to _M_underflow(true).
1488
1489         * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
1490         seekpos): Use only the documented derivation interface to
1491         basic_streambuf (gptr(), setg(), etc.) to work right with
1492         user specializations.
1493         * include/std/std_sstream.h (str, _M_sync): Likewise.
1494
1495 2003-06-20  Doug Gregor <dgregor@apple.com>
1496
1497         * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
1498         * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
1499         dereference end iterator.
1500         * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
1501         * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
1502         index equal to the length of a string.
1503         * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
1504         * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
1505         * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
1506         * testsuite/22_locale/ctype/widen/char/1.cc: Same.
1507         * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
1508         * testsuite/23_containers/list_modifiers.cc: Don't dereference
1509         singular reverse iterator.
1510         * testsuite/23_containers/vector_bool.cc: Don't increment singular
1511         iterator.
1512         * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
1513
1514 2003-06-20  Doug Gregor <dgregor@apple.com>
1515
1516         * include/bits/basic_string.h (basic_string::replace): Dispatch
1517         _InputIterator version based on _Is_integer.
1518         * include/bits/basic_string.tcc (basic_string::replace):
1519         Renamed replace(iterator, iterator, size_type, _CharT) to
1520         _M_replace_aux.
1521         * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
1522         Test basic_string::assign(_InputIterator, _InputIterator),
1523         which calls basic_string::replace(iterator, iterator,
1524         _Input_iterator, _InputIterator).
1525
1526 2003-06-20  Benjamin Kosnik  <bkoz@redhat.com>
1527
1528         * testsuite/testsuite_performance.h (resource_counter): Don't use
1529         mallinfo at the moment.
1530
1531 2003-06-20  Matthias Klose  <doko@debian.org>
1532
1533         * configure.host: Set try_cpu to target_cpu for existing
1534         baseline files.
1535
1536 2003-06-19  Andreas Jaeger  <aj@suse.de>
1537
1538         * testsuite/Makefile.am (extract_symvers): Revert accidental
1539         change.
1540         * testsuite/Makefile.in: Regenerate.
1541
1542         * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
1543         * configure: Regenerated.
1544
1545 2003-06-19  Paolo Carlini  <pcarlini@unitus.it>
1546
1547         * include/std/std_sstream.h (_M_sync): Make non virtual.
1548
1549 2003-06-18  Benjamin Kosnik  <bkoz@redhat.com>
1550
1551         * testsuite/testsuite_performance.h (time_counter): New.
1552         (resource_counter): New.
1553         (report_performance): New.
1554         (start_counters): New.
1555         (stop_counters): New.
1556         (clear_counters): New.
1557         * testsuite/performance/allocator.cc: Instrument.
1558         * testsuite/performance/cout_insert_int.cc: Same.
1559         * testsuite/performance/complex_norm.cc: Same.
1560         * testsuite/performance/filebuf_sputc.cc: New.
1561         * testsuite/performance/fstream_seek_write.cc: Same.
1562         * testsuite/performance/ifstream_getline.cc: Same.
1563         * testsuite/performance/map_create_fill.cc: Same.
1564         * testsuite/performance/ofstream_insert_float.cc: Same.
1565         * testsuite/performance/ofstream_insert_int.cc: Same.
1566         * testsuite/performance/string_append.cc: Convert.
1567         * scripts/check_performance: New.
1568         * testsuite/Makefile.am (check-performance): New.
1569         (CLEANFILES): Add.
1570
1571 2003-06-18  Paolo Carlini  <pcarlini@unitus.it>
1572             Benjamin Kosnik  <bkoz@redhat.com>
1573
1574         * include/std/std_sstream.h (setbuf): Check __n >= 0.
1575         * include/bits/fstream.tcc (setbuf): Tweak.
1576
1577 2003-06-18  Paolo Carlini  <pcarlini@unitus.it>
1578
1579         * include/bits/sstream.tcc (seekoff): We can't seek beyond
1580         _M_out_lim, therefore _M_move_out_cur boils down to simply
1581         updating _M_out_cur.
1582         (seekpos): Likewise, clean up.
1583
1584 2003-06-18  Nathan C. Myers  <ncm-nospam@cantrip.org>
1585             Paolo Carlini  <pcarlini@unitus.it>
1586
1587         * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
1588         simply equivalent to the unbuffered case (0, 0) as far as
1589         _M_buf_size is concerned.
1590
1591 2003-06-18  Andreas Jaeger  <aj@suse.de>
1592
1593         * testsuite/Makefile.am (new-abi-baseline): Create baseline
1594         directory.
1595         (baseline_file): Use baseline_dir.
1596         (baseline_dir): New.
1597         (mkinstalldirs): New.
1598
1599         * acinclude.m4: Rename baseline_file to baseline_dir, strip
1600         filename from baseline_dir.
1601
1602         * testsuite/Makefile.in: Regenerated.
1603         * Makefile.in: Regenerated.
1604         * aclocal.m4: Regenerated.
1605         * configure: Regenerated.
1606
1607 2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
1608
1609         * configure.in: Missed check_survey bit.
1610         * configure: Regenerated.
1611
1612 2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
1613
1614         * scripts: New.
1615         * config/abi/extract_symvers: Move to...
1616         * scripts/extract_symvers: ...here.
1617         * mkcheck.in: Move to..
1618         * scripts/check_survey.in: ...here.
1619         * testsuite_flags.in: Move to..
1620         * scripts/testsuite_flags.in: ...here.
1621         * configure.in: Change check and testsuite_flags locations.
1622         * configure: Regenerate.
1623         * testsuite/Makefile.am (current_symbols.txt): Change location.
1624         * testsuite/Makefile.in: Regenerate.
1625         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1626         location of testsuite_flags.
1627         * Makefile.am (check-script): Move..
1628         (check-script-install): Move...
1629         * testsuite/Makefile.am: ... here.
1630         * testsuite/Makefile.in: Regenerate.
1631         * Makefile.in: Regenerate.
1632
1633 2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
1634
1635         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
1636
1637 2003-06-16  Benjamin Kosnik  <bkoz@redhat.com>
1638
1639         * Makefile.am (check-abi): Move...
1640         (new-abi-baseline): Move...
1641         * testsuite/Makefile.am: ...here.
1642         (new-abi-baseline): Conditionalize.
1643         (check-abi): Conditionalize.
1644         (check-abi-verbose): New.
1645         * Makefile.in: Regenerate.
1646         * testsuite/Makefile.in: Regenerate.
1647         * configure.in: Consolidate testsuite configure bits.
1648         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
1649         * configure: Regenerate.
1650         * aclocal.m4: Regenerate.
1651         * testsuite/abi_check.cc: Add --check-verbose.
1652         Only output detailed information if --check-verbose.
1653
1654 2003-06-16  Andreas Jaeger  <aj@suse.de>
1655
1656         * testsuite/abi_check.cc: Create summary report.
1657
1658 2003-06-16  Paolo Carlini  <pcarlini@unitus.it>
1659
1660         * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
1661         for systems with BUFSIZ != 8192.
1662         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1663         * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
1664         Minor tweaks.
1665
1666 2003-06-16  Andreas Jaeger  <aj@suse.de>
1667
1668         * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
1669         check-abi multilib aware.
1670         * aclocal.m4: Regenerate.
1671         * configure: Regenerate.
1672
1673 2003-06-16  Benjamin Kosnik  <bkoz@redhat.com>
1674             Andreas Jaeger  <aj@suse.de>
1675
1676         * configure.host: Set x86_64 abi_baseline pair correctly.
1677
1678 2003-06-16  Paolo Carlini  <pcarlini@unitus.it>
1679
1680         * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
1681         fix for missing seeks between gets and puts into...
1682         * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
1683         * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
1684         * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
1685         * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
1686         * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
1687         * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
1688
1689 2003-06-15  Richard Henderson  <rth@redhat.com>
1690
1691         * config/linker-map.gnu: Export virtual function thunks for
1692         64-bit systems too.
1693
1694 2003-06-13  Benjamin Kosnik  <bkoz@redhat.com>
1695
1696         * config/abi/i686-pc-linux-gnu: To..
1697         * config/abi/i486-linux-gnu: ...this.
1698         * config/abi/alphaev67-unknown-linux-gnu: To..
1699         * config/abi/alpha-linux-gnu: ...this.
1700         * config/abi/ia64-unknown-linux-gnu: To...
1701         * config/abi/ia64-linux-gnu: ...this.
1702         * config/abi/x86_64-unknown-linux-gnu: To...
1703         * config/abi/x86_64-linux-gnu: ...this.
1704         * config/abi/i386-unknown-freebsd4: To...
1705         * config/abi/i386-freebsd4: ...this.
1706         * config/linker-map.gnu: Cleanups, move libsupc++ bits into
1707         CXXABI.
1708         * configure.host: abi_baseline_triplet to abi_baseline_pair.
1709         Simplify cpu bits so that abi_baseline_pair can use the same
1710         cpu configuration.
1711         * acinclude.m4: Same.
1712         * aclocal.m4: Regenerate.
1713         * configure.in: Can't get enable_abi_check to yes unless native.
1714         * configure: Regenerate.
1715
1716 2003-06-13  Paolo Carlini  <pcarlini@unitus.it>
1717
1718         * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
1719         fix for missing seeks between gets and puts into...
1720         * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
1721         * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
1722         * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
1723         * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
1724         * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
1725         * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
1726         for missing seeks between gets and puts.
1727         * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
1728         * testsuite/data/seekoff-1.tst: New.
1729         * testsuite/data/seekoff-2.tst: New.
1730         * testsuite/data/seekpos-1.tst: New.
1731         * testsuite/data/seekpos-2.tst: New.
1732
1733 2003-06-13  Nathan C. Myers <ncm-nospam@cantrip.org>
1734
1735         Avoid multi-processor bus contention on increment/decrement-and-
1736         test of the reference count in the empty-string object, by comparing
1737         addresses first, and never touching the reference count of the empty-
1738         string object.
1739         * include/bits/basic_string.h:
1740         (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
1741         members.
1742         (_Rep::_S_empty_rep()): New accessor.
1743         (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
1744         a base class _Rep_base.
1745         (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
1746         (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
1747         since no longer must increment its refcount.
1748         * include/bits/basic_string.tcc:
1749         (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
1750         return immediately.  The former might be unnecessary.  The latter
1751         prevents begin() and end() from cloning it unnecessarily.
1752         (_S_construct(_InIterator, _InIterator, const _Alloc&,
1753         input_iterator_tag), _S_construct(_InIterator, _InIterator,
1754         const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
1755         const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
1756         (_M_mutate): Check for the empty string and treat it as shared.
1757         This is necessary here because _M_mutate is sometimes called with
1758         all-zero arguments; in all other uses of _M_is_shared, the test comes
1759         out right anyhow.
1760
1761 2003-06-12  Benjamin Kosnik  <bkoz@redhat.com>
1762
1763         * src/allocator-inst.cc: Explicitly instantiate.
1764         * include/ext/pool_allocator.h: Inhibit implicit instantiations.
1765         Tweaks.
1766         * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
1767
1768 2003-06-11  Benjamin Kosnik  <bkoz@redhat.com>
1769
1770         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
1771         * aclocal.m4: Regenerate.
1772         * Makefile.am (SUBDIRS): Remove libio.
1773         * Makefile.in: Regenerate.
1774         * configure.in: Same.
1775         * configure: Regenerate.
1776         * config/io/basic_file_libio.cc: Remove.
1777         * config/io/basic_file_libio.h: Remove.
1778         * config/io/c_io_libio_codecvt.c: Remove.
1779         * config/io/c_io_libio.h: Remove.
1780         * libio/*: Remove.
1781         * src/Makefile.am: Same.
1782         * src/Makefile.in: Regenerate.
1783         * docs/html/configopts.html: Edits.
1784         * docs/html/explanations.html: Edits.
1785
1786 2003-06-11  Benjamin Kosnik  <bkoz@redhat.com>
1787
1788         * include/bits/stl_alloc.h (__debug_alloc): Move out.
1789         (__malloc_alloc): Same.
1790         (__pool_alloc): Same.
1791         (__new_alloc): Same.
1792         Rename to..
1793         * include/bits/allocator.h: ...this.
1794         * include/bits/stl_deque.h: Modify comment.
1795         * include/bits/stl_tree.h: Modify include.
1796         * include/std/std_memory.h: Same.
1797         * include/ext/rope: Same.
1798         * include/ext/slist: Same.
1799         * include/std/std_vector.h: Same.
1800         * include/std/std_stack.h: Same.
1801         * include/std/std_queue.h: Same.
1802         * include/std/std_list.h: Same.
1803         * include/std/std_deque.h: Same.
1804         * include/backward/alloc.h: Same.
1805         * include/ext/debug_allocator.h: New.
1806         * include/ext/malloc_allocator.h: New.
1807         * include/ext/pool_allocator.h: New.
1808         * include/ext/new_allocator.h: New.
1809         * include/bits/pthread_allocimpl.h: Remove.
1810         * include/bits/stl_pthread_alloc.h: Remove.
1811         * include/Makefile.am (ext_headers): Add.
1812         * include/Makefile.in: Regenerate.
1813         * src/stl-inst.cc: Use __gnu_cxx namespace.
1814         * src/stl-inst.cc: Move to...
1815         * src/allocator-inst.cc: Here.
1816         * src/Makefile.am (sources): Update.
1817         * src/Makefile.in: Regenerate.
1818         * config/linker-map.gnu: Remove __pool_alloc bits.
1819         * testsuite/ext/headers.cc: Add.
1820         * testsuite/ext/allocators.cc: Fixup.
1821
1822 2003-06-11  Stefan Olsson  <stefan@snon.net>
1823             Ola Rönnerup  <fnolis@home.se>
1824
1825         * include/Makefile.am (ext_headers): Add.
1826         * include/Makefile.in: Regenerate.
1827         * include/ext/mt_allocator.h: New file.
1828
1829 2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
1830
1831         * include/bits/fstream.tcc (close): Clean up a bit.
1832
1833         * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
1834
1835         * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
1836         - the saved _M_in_cur, that is - cannot be null.
1837         (sync): Constify a variable.
1838
1839         * include/std/std_streambuf.h: Tweak a comment.
1840         (in_avail): Constify a variable.
1841
1842 2003-06-10  Phil Edwards  <pme@gcc.gnu.org>
1843
1844         * docs/html/17_intro/BUGS:  Update from 2.90.8 snapshot.
1845         * docs/html/17_intro/CHECKLIST:  Bring up to date with respect to
1846         correctness of container::iterator typedefs.  Fix whitespace.
1847         * docs/html/20_util/howto.html, docs/html/ext/howto.html:  Add links
1848         to allocator docs.
1849         * docs/html/documentation.html:  Regenerate.
1850
1851         * include/bits/basic_string.h, include/bits/basic_string.tcc,
1852         include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
1853         include/bits/stl_algobase.h, include/bits/stl_bvector.h,
1854         include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1855         include/bits/stl_list.h, include/bits/stl_uninitialized.h,
1856         include/bits/stl_vector.h, include/bits/vector.tcc,
1857         include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
1858         Change _Iter names to _Iterator, and __pos to __position.
1859
1860         * include/bits/stl_relops.h, include/bits/stl_numeric.h,
1861         include/bits/stl_multiset.h, include/bits/stl_set.h:
1862         Remove emacs markers.
1863
1864         * include/bits/stl_threads.h (_STL_auto_lock):  Add __unused__.
1865
1866 2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
1867
1868         * include/bits/fstream.tcc (overflow): According to
1869         27.5.2.4.5, overflow() returns not_eof(eof()).
1870         * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
1871         * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
1872
1873 2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
1874
1875         * include/bits/fstream.tcc (_M_underflow): Check overflow return
1876         value; tweak slightly.
1877
1878 2003-06-09  Paolo Carlini  <pcarlini@unitus.it>
1879
1880         * include/bits/fstream.tcc (_M_underflow): Do not special
1881         case the unbuffered case, which really means simply a one char
1882         get area.
1883         (basic_filebuf): Initialize _M_buf_size.
1884         (setbuf): Unbuffered means _M_buf_size == 1, since only
1885         _M_buf_size - 1 == 0 chars are going to be used for the
1886         put area and 1 for the get area.
1887         * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
1888         (~basic_streambuf): Tweak.
1889         (basic_streambuf): Do not initialize _M_buf_size.
1890         * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
1891         (~basic_filebuf): Tweak.
1892         (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
1893         unbuffered situation (i.e., put area pointers NULL).
1894         * include/bits/streambuf.tcc (sbumpc): Clean up.
1895         * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
1896         * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
1897         * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
1898         * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
1899         * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
1900         * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
1901         * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
1902
1903 2003-06-09  Phil Edwards  <pme@gcc.gnu.org>
1904
1905         * acinclude.m4:  Move all AM_CONDITIONAL calls out.
1906         (GLIBCPP_CONFIGURE):  Set defaults for variables used in AM_CONDITIONAL
1907         statements.
1908         * configure.in:  Centralize AM_CONDITIONALs so that they are always
1909         run.  Make use of GLIBCPP_IS_CROSS_COMPILING.
1910         * aclocal.m4, configure:  Regenerated.
1911
1912 2003-06-09  Paolo Carlini  <pcarlini@unitus.it>
1913
1914         * docs/html/ext/howto.html ('LWG Issues'):  Add issue 235.
1915
1916 2003-06-06  Nathan Myers  <ncm-nospam@cantrip.org>
1917
1918         * include/bits/stl_iterator.h
1919         (reverse_iterator::reverse_iterator()): Apply DR235: default
1920         constructor default-initializes data member.  Instantiated on a
1921         pointer type, the member has to end up equal to zero.
1922
1923 2003-06-06  Benjamin Kosnik  <bkoz@redhat.com>
1924
1925         * include/bits/stl_alloc.h: Cleanups.
1926         * include/ext/functional: Same.
1927         * include/ext/hash_map: Same.
1928         * include/ext/hash_set: Same.
1929         * include/ext/iterator: Same.
1930         * include/ext/memory: Same.
1931         * include/ext/numeric: Same.
1932         * include/ext/rb_tree: Same.
1933         * include/ext/ropeimpl.h: Same.
1934         * include/ext/slist: Same.
1935         * include/ext/stdio_filebuf.h: Same.
1936         * include/ext/stdio_sync_filebuf.h: Same.
1937         * include/ext/stl_rope.h: Move to...
1938         * include/ext/rope: ...here.
1939         * include/ext/stl_hash_fun.h: Move to...
1940         * include/ext/hash_fun.h: ...here.
1941         * include/ext/stl_hashtable.h: Move to...
1942         * include/ext/hashtable.h: ...here.
1943         * include/backward/hashtable.h: Reflect new names.
1944         * include/Makefile.am: Same.
1945         * include/Makefile.in: Regenerated.
1946
1947 2003-06-05  Benjamin Kosnik  <bkoz@redhat.com>
1948
1949         PR libstdc++/9024
1950         * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
1951         * include/bits/stl_algobase.h: Tweak.
1952         * include/std/std_fstream.h: Move _M_buf_size to...
1953         * include/std/std_streambuf.h: ...here. Modify.
1954         * include/bits/streambuf.tcc: Same.
1955         * testsuite/testsuite_hooks.h: Tweak.
1956         * testsuite/testsuite_io.h (constraint_filebuf): New.
1957         * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
1958         * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
1959         * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
1960         * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
1961         * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
1962         * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
1963         * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
1964         * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
1965         * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
1966         * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
1967         * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
1968         * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
1969         * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
1970         * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
1971         * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
1972         * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
1973         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
1974         * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
1975         * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
1976         * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
1977         * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
1978         * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
1979         * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
1980         * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
1981         * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
1982         * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
1983         * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
1984         * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
1985         * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
1986         * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
1987         * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
1988         * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
1989         * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
1990         * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
1991         * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
1992         * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
1993         * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
1994         * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
1995         * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
1996         * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
1997         * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
1998         * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
1999         * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2000         * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2001         * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2002         * testsuite/data/sgetc.txt: New.
2003         * testsuite/data/sgetn.txt: New.
2004
2005 2003-06-05  Paolo Carlini  <pcarlini@unitus.it>
2006
2007         PR libstdc++/11095
2008         * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2009         Deal with width() smaller than zero.
2010         * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2011         operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2012         _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2013         char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2014         operator<<(basic_ostream, const basic_string&)): Likewise.
2015
2016         * testsuite/27_io/basic_istream/extractors_character/char/
2017         (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2018         * testsuite/27_io/basic_ostream/inserters_character/char/
2019         (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2020         * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2021         (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2022
2023 2003-06-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2024
2025         * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2026         .gch compilation works.
2027         * aclocal.m4, configure: Regenerate.
2028         * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2029         initialize PCHFLAGS.
2030
2031 2003-06-04  Paolo Carlini  <pcarlini@unitus.it>
2032
2033         * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2034         erase(iterator), erase(iterator, iterator), c_str,
2035         compare(const basic_string&)): Constify various variables.
2036         * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2037         const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2038         _S_create, resize, _M_replace, _M_replace_safe,
2039         append(const basic_string&), append(const basic_string&, size_type,
2040         size_type), append(const _CharT*, size_type), append(size_type,
2041         _CharT), operator+(const _CharT*, const basic_string&),
2042         operator+(_CharT, const basic_string&), replace(iterator, iterator,
2043         size_type, _CharT), find(const _CharT*, size_type, size_type),
2044         find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2045         rfind(_CharT, size_type), compare(size_type, size_type,
2046         const basic_string&), compare(size_type, size_type,
2047         const basic_string&, size_type, size_type), compare(const _CharT*),
2048         compare(size_type, size_type, const _CharT*), compare(size_type,
2049         size_type, const _CharT*, size_type)): Likewise.
2050
2051 2003-06-03  Benjamin Kosnik  <bkoz@redhat.com>
2052
2053         * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2054         'if' branch less obscure.
2055
2056 2003-06-02  Andrew Pinski  <pinskia@physics.uc.edu>
2057
2058         PR libstdc++/9815
2059         * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2060         asm case to asm.
2061         * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2062         (__atomic_add): likewise.
2063
2064 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2065
2066         * include/bits/sstream.tcc (pbackfail): Minor clean up and
2067         reformatting, consistent with basic_filebuf::pbackfail.
2068
2069 2003-06-02  Richard Kreckel  <Richard.Kreckel@GiNaC.DE>
2070
2071         PR libstdc++/11062
2072         * config/cpu/mips/atomicity.h:  Change __attribute__ ((unused)) to
2073         __attribute__ ((__unused__)).
2074         * config/os/aix/atomicity.h:  Likewise.
2075
2076 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2077
2078         PR libstdc++/9761
2079         * include/bits/fstream.tcc (pbackfail): If the pback buffer
2080         is already active don't try to store in it a second char.
2081         * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2082
2083         * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2084
2085 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2086
2087         * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2088         line spacing.
2089
2090 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2091
2092         * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2093         instead of unnecessarily taking the address of _M_pback.
2094         (xsgetn): Simplify slightly for a single char pback buffer.
2095
2096 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2097
2098         * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2099         variables and two 'if', clean up.
2100
2101 2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
2102
2103         * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2104         not _M_out_end, since the former actually points to the string
2105         end (vs buffer end).
2106         * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2107
2108 2003-05-30  Phil Edwards  <pme@gcc.gnu.org>
2109
2110         * docs/doxygen/filter:  New file.
2111         * docs/doxygen/filter.sed:  New file.
2112         * docs/doxygen/run_doxygen:  Add g flag to sed substitutions.  Duh.
2113         * docs/doxygen/user.cfg.in (INPUT_FILTER):  Point to new filter.
2114         * docs/html/documentation.html:  Fix links to doxygen pages.
2115
2116 2003-05-30  Paolo Carlini  <pcarlini@unitus.it>
2117
2118         * include/bits/fstream.tcc (_M_convert_to_external): Don't
2119         check for __ilen > 0.
2120
2121 2003-05-29  Sylvain Pion  <Sylvain.Pion@mpi-sb.mpg.de>
2122
2123         PR libstdc++/10783
2124         * include/bits/stl_iterator.h (class __normal_iterator):
2125         Don't inherit from iterator, add missing typedefs.
2126
2127 2003-05-29  Paolo Carlini <pcarlini@unitus.it>
2128
2129         * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2130         * testsuite/24_iterators/reverse_iterator/1.cc: New.
2131         * testsuite/24_iterators/reverse_iterator/2.cc: New.
2132         * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2133         PR libstdc++/10783.
2134
2135 2003-05-27  Steve Ellcey  <sje@cup.hp.com>
2136
2137         * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2138         on IA64 HP-UX.
2139         * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2140         _LIBUNWIND_STD_ABI is set.
2141
2142 2003-05-26  Brendan Kehoe  <brendan@zen.org>
2143
2144         * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2145         make sure the number of digits required after the decimal-point
2146         (if any) is exactly the value returned by frac_digits().
2147         * testsuite/22_locale/money_get/get/char/9.cc: New.
2148         * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2149
2150 2003-05-27  Jonathan Wakely  <redi@gcc.gnu.org>
2151
2152         * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2153         comment.
2154
2155 2003-05-26  Benjamin Kosnik  <bkoz@redhat.com>
2156
2157         PR libstdc++/9339
2158         * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2159         (_M_pback): No array necessary.
2160         * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2161         unbuffered case, coalesec into ...
2162         (basic_filebuf::overflow): ...this.
2163         * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2164         * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2165
2166 2003-05-24  Nathanael Nerode  <neroden@gcc.gnu.org>
2167
2168         * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2169         libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2170         libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2171         libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2172         libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2173         libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2174         libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2175         libsupc++/eh_unex_handler.cc, libsupc++/exception,
2176         libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2177         libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2178         libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2179         libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2180         Replace "GNU CC" with "GCC".
2181
2182         * include/backward/new.h: Replace "GNU CC" with "GCC".
2183
2184 2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2185
2186         PR libstdc++/3066.
2187         * configure.in: Switch target to host, don't assume newlib.
2188         (target_alias): Remove.
2189         * configure: Regenerate.
2190         * acinclude.m4: Same.
2191         * aclocal.m4: Regenerate.
2192         * configure.target: Same. Rename to...
2193         * configure.host: This.
2194
2195 2003-05-22  Paolo Carlini  <pcarlini@unitus.it>
2196
2197         * include/std/std_fstream.h (_S_pback_size): Remove definition.
2198         (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
2199         pback buffer.
2200         * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
2201         * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
2202         of _S_pback_size for systems with no COMDAT or weak support.
2203         * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
2204         * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
2205         * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
2206         * testsuite/27_io/basic_fstream/3.cc: Likewise.
2207         * testsuite/27_io/basic_ifstream/3.cc: Likewise.
2208         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
2209         * testsuite/27_io/basic_ofstream/3.cc: Likewise.
2210         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
2211         * testsuite/27_io/basic_streambuf/3.cc: Likewise.
2212
2213 2003-05-22  Paolo Carlini  <pcarlini@unitus.it>
2214
2215         * include/bits/fstream.tcc (_M_underflow): Simplify:
2216         !__testout implies _M_filepos == _M_in_end, therefore
2217         the first _M_file.seekoff call is never issued.
2218
2219 2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2220
2221         * configure.in: Sort cross table.
2222         * configure: Regenerate.
2223
2224 2003-05-22  Brad Spencer  <spencer@infointeractive.com>
2225
2226         PR libstdc++/10106
2227         * configure.in: Add Solaris cross bits.
2228
2229 2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
2230
2231         * libstdc++-v3/config/os/mingw32/os_defines.h
2232         (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
2233         (NOMINMAX): Define.  Update copyright year.
2234
2235 2003-05-21  Paolo Carlini  <pcarlini@unitus.it>
2236
2237         * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
2238
2239 2003-05-21  Jonathan Wakely  <redi@gcc.gnu.org>
2240
2241         * docs/html/faq/index.html: Fix typo.
2242         * docs/html/faq/index.txt: Regenerate.
2243
2244 2003-05-21  Jonathan Wakely  <redi@gcc.gnu.org>
2245
2246         * docs/html/test.html: Fix markup.
2247
2248 2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
2249
2250         * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
2251         zero.
2252         Update copyright year.
2253
2254 2003-05-20  Paolo Carlini  <pcarlini@unitus.it>
2255
2256         * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
2257
2258 2003-05-20  Paolo Carlini  <pcarlini@unitus.it>
2259
2260         * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
2261         further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
2262
2263 2003-05-20  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2264
2265         * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
2266         Cast via void* to avoid -Wcast-align warnings.
2267         (__default_alloc_template::_S_refill): Likewise.
2268
2269 2003-05-20  Benjamin Kosnik  <bkoz@redhat.com>
2270
2271         * testsuite/README: Move to...
2272         * docs/html/test.html: ...here. Add documentation.
2273         * docs/html/install.html: Move testing bits out..
2274         * docs/html/documentation.html: Add separate testing link.
2275         * testsuite/performance: Add.
2276         * testsuite/performance/allocator.cc: New.
2277         * testsuite/performance/complex_norm.cc: New.
2278         * testsuite/performance/cout_insert_int.cc: New.
2279         * testsuite/performance/fstream_seek_write.cc: New.
2280         * testsuite/performance/ifstream_getline.cc: New.
2281         * testsuite/performance/map_create_fill.cc: New.
2282         * testsuite/performance/ofstream_insert_float.cc: New.
2283         * testsuite/performance/ofstream_insert_int.cc: New.
2284         * testsuite/performance/string_append.cc: New.
2285         * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
2286         performance tests.
2287
2288 2003-05-20  Gabriel Dos Reis <gdr@integrable-solutions.net>
2289
2290         PR libstdc++/10689
2291         * include/std/std_complex.h (pow): Tidy.
2292
2293 2003-05-19  Paolo Carlini  <pcarlini@unitus.it>
2294
2295         * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
2296         that upon filebuf::close() 27.8.1.1,3 is enforced.
2297
2298 2003-05-15  Loren J. Rittle  <ljrittle@acm.org>
2299
2300         * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
2301
2302 2003-05-15  Paolo Carlini  <pcarlini@unitus.it>
2303             Nathan Myers  <ncm@cantrip.org>
2304
2305         * include/bits/fstream.tcc (_M_overflow): Rewrote to call
2306         _M_convert_to_external only once (_M_buf_size is now the size of
2307         the put area + 1 for the overflow char of a full area); call
2308         _M_set_buffer instead of _M_set_indeterminate.
2309         (setbuf): Don't accept a buffer smaller than 2 chars.
2310         (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
2311         instead of _M_set_determinate.
2312         (open): Call _M_set_buffer, instead of _M_set_indeterminate.
2313         (seekoff): Likewise.
2314         * include/ext/stdio_filebuf.h (stdio_filebuf(int,
2315         std::ios_base::openmode, bool, size_t),
2316         stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
2317         Likewise.
2318         * include/std/std_fstream.h (_M_set_indeterminate): Remove.
2319         (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
2320         _M_buf_size - 1.
2321         * include/std/std_streambuf.h: Tweak _M_out_lim comment.
2322         * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
2323         into account that, for _M_buf_size == BUFSIZ == 8192, the size of
2324         the put area is now BUFSIZ - 1.
2325         * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
2326         that now the smallest _M_buf_size is 2 (still fails, for the same
2327         reason, with 3.2.3)
2328
2329 2003-05-14  Loren J. Rittle  <ljrittle@acm.org>
2330
2331         * testsuite/thread/pthread4.cc: Tweak test.
2332
2333 2003-05-13  Benjamin Kosnik  <bkoz@redhat.com>
2334
2335         * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
2336         excess errors dg marker, use dg-errors instead.
2337         * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2338         * testsuite/20_util/auto_ptr_neg.cc: Same.
2339
2340 2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
2341
2342         * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
2343         cached member.
2344         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
2345         Initialize _M_codecvt.
2346         (basic_filebuf::imbue): Same.
2347         (basic_filebuf::showmanyc): Use it.
2348         (basic_filebuf::underflow): Use it.
2349         (basic_filebuf::_M_convert_to_external): Use it.
2350         (basic_filebuf::seekoff): Use it.
2351         (basic_filebuf::imbue): Use it, tweaks.
2352         * include/bits/localefwd.h (__check_facet): New.
2353         * include/bits/locale_classes.h: Tweaks.
2354         * include/bits/locale_facets.tcc: Tweaks.
2355         * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
2356         _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
2357         _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
2358         * include/bits/basic_ios.tcc: Same.
2359         * include/bits/istream.tcc: Same.
2360         * include/bits/ostream.tcc: Same.
2361         * include/std/std_streambuf.h: Same.
2362         * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
2363         * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
2364         * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
2365         * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
2366         * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
2367         * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
2368
2369 2003-05-12  Paolo Carlini  <pcarlini@unitus.it>
2370
2371         * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
2372         unnecessary includes and unused string literals.
2373         * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
2374         * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
2375         * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
2376         * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
2377
2378 2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
2379
2380         * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
2381
2382 2003-05-12  Paolo Carlini  <pcarlini@unitus.it>
2383
2384         * include/std/std_fstream.h (_M_convert_to_external): Change
2385         to return bool, take two less streamsize parameters.
2386         * include/bits/fstream.tcc (_M_convert_to_external): Tweak
2387         consistently definition.
2388         (_M_overflow): Adjust call points.
2389
2390 2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
2391
2392         * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
2393
2394 2003-05-11  Phil Edwards  <pme@gcc.gnu.org>
2395
2396         * testsuite/Makefile.am:  Properly quote /both/ LD_RUN_PATHs.
2397         * testsuite/Makefile.in:  Regenerate.
2398
2399 2003-05-11  Phil Edwards  <pme@gcc.gnu.org>
2400
2401         * testsuite/Makefile.am:  Properly quote LD_RUN_PATH.
2402         * testsuite/Makefile.in:  Regenerate.
2403
2404 2003-05-11  Gabriel Dos Reis <gdr@integrable-solutions.net>
2405
2406         PR libstdc++/3181
2407         * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
2408         (acos): Handle integer argument.
2409         (asin): Likewise.
2410         (atan): Likewise.
2411         (atan2): Likewise.
2412         (ceil): Likewise.
2413         (cos): Likewise.
2414         (cosh): Likewise.
2415         (exp): Likewise.
2416         (fabs): Likewise.
2417         (floor): Likewise.
2418         (frexp): Likewise.
2419         (ldexp): Likewise.
2420         (log): Likewise.
2421         (log10): Likewise.
2422         (sin): Likewise.
2423         (sinh): Likewise.
2424         (sqrt): Likewise.
2425         (tan): Likewise.
2426         (tanh): Likewise.
2427         * include/bits/cpp_type_traits.h (__are_same<>): New traits.
2428         (__enable_if): Likewise.
2429         * testsuite/26_numerics/cmath/overloads.C: New test.
2430
2431 2003-05-10  Petur Runolfsson  <peturr02@ru.is>
2432
2433         PR libstdc++/9027
2434         PR libstdc++/9520
2435         PR libstdc++/10096
2436         * include/bits/fstream.tcc (basic_file::_M_underflow):  Add generic
2437         implementation, based on old wchar_t specialization, add support
2438         for codecvt::in() return value of codecvt_base::noconv, remove
2439         _M_file.sys_ungetc() call.
2440         * include/std/std_fstream.h (basic_file::underflow,
2441         basic_file::uflow, basic_file::_M_underflow):  Remove
2442         specialization declarations, call _M_underflow from generic versions
2443         of underflow and uflow.
2444         * src/fstream.cc (basic_file::underflow, basic_file::uflow,
2445         basic_file::_M_underflow):  Remove specializations.
2446         * src/Makefile.am (sources):  Remove fstream.cc.
2447         * src/Makefile.in:  Regenerated.
2448         * testsuite/27_io/basic_filebuf/underflow/10096.cc:  New test.
2449         * testsuite/27_io/basic_filebuf/underflow/char/1.cc:  New test.
2450         * testsuite/27_io/basic_filebuf/underflow/char/9027.cc:  New test.
2451         * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc:  New test.
2452
2453 2003-05-10  Benjamin Kosnik  <bkoz@redhat.com>
2454
2455         * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
2456         buffer.
2457         * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
2458         unbuffered bits.
2459         (__basic_file::xsputn): Same.
2460         (__basic_file::seekoff): Same.
2461         (__basic_file::seekpos): Same.
2462         (__basic_file::showmanyc): Same.
2463         * config/io/basic_file_stdio.cc: Same.
2464         * include/std/std_fstream.h: Same.
2465         * include/bits/fstream.tcc: Same.
2466         * src/fstream.cc: Same.
2467         * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
2468
2469 2003-05-10  Petur Runolfsson  <peturr02@ru.is>
2470
2471         PR libstdc++/9520
2472         PR libstdc++/9661
2473         PR libstdc++/9662
2474         * include/ext/stdio_sync_filebuf.h:  New file.
2475         (basic_stdiobuf):  New.
2476         * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
2477         * include/Makefile.in: Regenerate.
2478         * include/bits/ios_base.h (Init::_S_create_buffers,
2479         Init::_S_destroy_buffers):  Remove declarations.
2480         * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
2481         buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync):  Define.
2482         * src/ios.cc (Init::_S_create_buffers,
2483         Init::_S_destroy_buffers):  Remove.
2484         (Init::Init):  Create and use syncronized buffers.
2485         (ios_base::sync_with_stdio):  Destroy syncronized buffers,
2486         create and install unsyncronized buffers.
2487         * testsuite/27_io/objects/char/10.cc:  New test.
2488         * testsuite/27_io/objects/char/9.cc:  New test.
2489         * testsuite/27_io/objects/char/9661-1.cc:  New test.
2490         * testsuite/27_io/objects/char/9661-2_xin.cc:  New test.
2491         * testsuite/27_io/objects/char/9661-2_xin.in:  New.
2492         * testsuite/27_io/objects/wchar_t/1.cc:  New test.
2493         * testsuite/27_io/objects/wchar_t/10.cc:  New test.
2494         * testsuite/27_io/objects/wchar_t/2.cc:  New test.
2495         * testsuite/27_io/objects/wchar_t/2523-1_xin.cc:  New test.
2496         * testsuite/27_io/objects/wchar_t/2523-1_xin.in:  New.
2497         * testsuite/27_io/objects/wchar_t/2523-2_xin.cc:  New test.
2498         * testsuite/27_io/objects/wchar_t/2523-2_xin.in:  New.
2499         * testsuite/27_io/objects/wchar_t/3045.cc:  New test.
2500         * testsuite/27_io/objects/wchar_t/3647.cc:  New test.
2501         * testsuite/27_io/objects/wchar_t/3_xin.cc:  New test.
2502         * testsuite/27_io/objects/wchar_t/3_xin.in:  New.
2503         * testsuite/27_io/objects/wchar_t/4_xin.cc:  New test.
2504         * testsuite/27_io/objects/wchar_t/4_xin.in:  New.
2505         * testsuite/27_io/objects/wchar_t/5.cc:  New test.
2506         * testsuite/27_io/objects/wchar_t/5268.cc:  New test.
2507         * testsuite/27_io/objects/wchar_t/5280_xin.cc:  New test.
2508         * testsuite/27_io/objects/wchar_t/5280_xin.in:  New.
2509         * testsuite/27_io/objects/wchar_t/6.cc:  New test.
2510         * testsuite/27_io/objects/wchar_t/6548_xin.cc:  New test.
2511         * testsuite/27_io/objects/wchar_t/6548_xin.in:  New.
2512         * testsuite/27_io/objects/wchar_t/6648-1_xin.cc:  New test.
2513         * testsuite/27_io/objects/wchar_t/6648-1_xin.in:  New.
2514         * testsuite/27_io/objects/wchar_t/6648-2_xin.cc:  New test.
2515         * testsuite/27_io/objects/wchar_t/6648-2_xin.in:  New.
2516         * testsuite/27_io/objects/wchar_t/7.cc:  New test.
2517         * testsuite/27_io/objects/wchar_t/7744_xin.cc:  New test.
2518         * testsuite/27_io/objects/wchar_t/7744_xin.in:  New.
2519         * testsuite/27_io/objects/wchar_t/8.cc:  New test.
2520         * testsuite/27_io/objects/wchar_t/9_xin.cc:  New test.
2521         * testsuite/27_io/objects/wchar_t/9_xin.in:  New.
2522         * testsuite/27_io/objects/wchar_t/9520.cc:  New test.
2523         * testsuite/27_io/objects/wchar_t/9661-1.cc:  New test.
2524         * testsuite/27_io/objects/wchar_t/9661-2_xin.cc:  New test.
2525         * testsuite/27_io/objects/wchar_t/9661-2_xin.in:  New.
2526         * testsuite/27_io/objects/wchar_t/9662.cc:  New test.
2527         * testsuite/ext/stdiobuf_char.cc:  New test.
2528         * testsuite/ext/stdiobuf_wchar_t.cc:  New test.
2529
2530 2003-05-10  Paolo Carlini  <pcarlini@unitus.it>
2531
2532         * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
2533         unnecessary includes and unused string literals.
2534         * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
2535
2536 2003-05-08  Paolo Carlini  <pcarlini@unitus.it>
2537
2538         * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
2539
2540 2003-05-07  Richard Henderson  <rth@redhat.com>
2541
2542         PR c++/10570
2543         * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
2544         (__cxa_end_catch): Likewise.
2545         * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise.  Use
2546         _Unwind_Resume_or_Rethrow.
2547         * libsupc++/eh_personality.cc (empty_exception_spec): New.
2548         (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
2549         for _UA_FORCE_UNWIND.  Honor empty filter spec for foreign
2550         exceptions.  Don't push terminate/unexpected to cxa functions.
2551         (__cxa_call_unexpected): Remove foreign exception fixmes.
2552
2553 2003-05-07  Benjamin Kosnik  <bkoz@redhat.com>
2554
2555         * testsuite/27_io/ios_base/cons: New.
2556         * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
2557         * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
2558
2559 2003-05-07  Paolo Carlini  <pcarlini@unitus.it>
2560
2561         * include/std/std_fstream.h (_M_is_indeterminate): Remove.
2562         * src/fstream.cc
2563         (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
2564         there is no buffer or __testget == !__testinit.
2565
2566         * src/fstream.cc
2567         (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
2568         automatically sets, if appropriate, _M_out_cur == _M_in_cur.
2569
2570         * include/std/std_fstream.h (_M_destroy_pback): Don't set
2571         unnecessarily _M_pback_cur_save and _M_pback_end_save.
2572
2573         * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
2574
2575         * include/std/std_sstream.h (_M_sync): Minor tweak.
2576
2577         * include/bits/fstream.tcc (close): No need to call
2578         _M_destroy_pback, setting _M_pback_init to false suffices
2579         to clean up.
2580
2581 2003-05-06  Benjamin Kosnik  <bkoz@redhat.com>
2582
2583         * include/bits/stl_algo.h: Enums as _S_.
2584         * include/bits/stl_tree.h: Same.
2585         * include/bits/stl_bvector.h: Same.
2586         * include/bits/ios_base.h: Same.
2587         * include/bits/stl_alloc.h: Same.
2588         * include/ext/stl_hashtable.h: Same.
2589         * src/ios.cc: And here.
2590
2591         * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
2592         * include/bits/sstream.tcc: Same.
2593
2594         * include/bits/basic_ios.h: Correct spacing for '< ctype'.
2595
2596         * include/bits/locale_facets.tcc: Replace __temp to __tmp.
2597
2598         * include/bits/locale_facets.h (__num_base): Remove protected.
2599         Use _S_[io]* names for enumerations.
2600         (_S_format_int): Remove.
2601         * include/bits/locale_facets.tcc: Same.
2602         * src/locale.cc: Same.
2603
2604         * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
2605
2606 2003-05-06  Phil Edwards  <pme@gcc.gnu.org>
2607
2608         * docs/html/faq/index.html (3.10):  Add note about mips atomicity.h.
2609         * docs/html/faq/index.txt:  Regenerated.
2610
2611 2003-05-06  Michael Ritzert <Ritzert@t-online.de>
2612             Matt Kraai <kraai@alumni.cmu.edu>
2613
2614         * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
2615         And retweak.
2616
2617 2003-05-06  Richard Sandiford  <rsandifo@redhat.com>
2618
2619         * configure.target (mips*): Use the generic atomicity.h by default.
2620
2621 2003-05-05  Loren J. Rittle  <ljrittle@acm.org>
2622             (Inspired by an alternate patch from Danny Smith.)
2623
2624         * include/bits/stl_threads.h (_Atomic_swap): Kill it...
2625         (_Swap_lock_struct<>): ...and the horse it rode in on.
2626         * src/globals.cc (_Swap_lock_struct<>): Likewise.
2627         * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
2628         member to support...
2629         * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
2630         visibility rules related to POSIX threads.
2631         * testsuite/thread/pthread7-rope.cc: New test.
2632
2633 2003-05-04  Paolo Carlini  <pcarlini@unitus.it>
2634
2635         * testsuite/21_strings/basic_string/find/char/3.cc: New
2636         file, testing basic_string<char>::find_first_not_of.
2637         * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
2638         Likewise for basic_string<wchar_t>.
2639
2640 2003-05-03  Loren J. Rittle  <ljrittle@acm.org>
2641
2642         * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
2643
2644 2003-05-02  Benjamin Kosnik  <bkoz@redhat.com>
2645
2646         * include/Makefile.am (CLEANFILES): Remove PCH files in target
2647         directory.
2648         * include/Makefile.in: Regenerate.
2649
2650 2003-05-02  Paolo Carlini  <pcarlini@unitus.it>
2651
2652         * include/std/std_sstream.h (str()): Tidy.
2653
2654 2003-05-02  Nathan Myers  <ncm@cantrip.org>
2655             Paolo Carlini  <pcarlini@unitus.it>
2656
2657         * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
2658
2659 2003-05-02  Jonathan Wakely  <redi@gcc.gnu.org>
2660
2661         * include/bits/basic_string.h (swap): Remove redundant template
2662         parameters from declaration of non-template member function.
2663
2664 2003-05-01  Phil Edwards  <pme@gcc.gnu.org>
2665
2666         * acconfig.h (_GLIBCPP_USE_NLS):  New symbol.
2667         * configure.in:  Move libintl.h header test...
2668         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE):  ...to here.  Gather all
2669         the NLS-related test results into one symbol.
2670         * src/functexcept.cc:  Use it here.
2671         * aclocal.m4, config.h.in, configure:  Regenerated.
2672
2673 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2674
2675         * include/bits/sstream.tcc (overflow): Instead of calling
2676         str(), then _M_string.reserve, thus copying the contents
2677         of the current buffer two times, just copy the latter in
2678         a temporary, then use the 'swap trick'.
2679
2680 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2681
2682         * include/std/std_sstream.h (str()): Revert the best of the
2683         previous 'improvement', incorrect due to the COW nature of
2684         v3 basic_string; simplify.
2685
2686 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2687
2688         * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
2689         type of __avail to ptrdiff_t to avoid signed-unsigned warning.
2690
2691 2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2692
2693         * testsuite/abi_check.cc (check_version): Update known versions.
2694         Check added symbols for version_name != base version. Add missing
2695         symbols to incompatible list.
2696
2697 2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
2698
2699         * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
2700         * aclocal.m4: Regenerated.
2701         * configure: Regenerated.
2702
2703 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2704
2705         * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
2706         Const-ify some variables.
2707         (basic_streambuf::xsputn): Likewise; change the type of some
2708         variables to size_t.
2709         (__copy_streambufs): Change some variables to size_t.
2710
2711 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2712
2713         * include/std/std_sstream.h (str()): Avoid constructing
2714         a basic_string temporary not only when it would turn out
2715         to be zero-sized but also when identical to the current
2716         _M_string buffer.
2717
2718 2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
2719
2720         * include/ext/stdio_filebuf.h
2721         (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
2722         stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
2723         Shorten a bit (-10 lines) by factoring out some code.
2724
2725 2003-04-30  Phil Edwards  <pme@gcc.gnu.org>
2726
2727         * acinclude.m4:  Add bit missing from previous patch.
2728         * aclocal.m4, configure:  Regenerated.
2729
2730 2003-04-29  Phil Edwards  <pme@gcc.gnu.org>
2731
2732         * docs/doxygen/mainpage.html:  Bring up to date.
2733         * docs/doxygen/run_doxygen:  Cosmetic tweaks.  Work around a bug
2734         in Doxygen.
2735         * docs/doxygen/user.cfg.in:  Scanning the precompiled headers
2736         breaks everything.  Don't scan them.
2737         * docs/html/documentation.html:  Point to "Write after approval"
2738         notes.
2739
2740 2003-04-29  Phil Edwards  <pme@gcc.gnu.org>
2741
2742         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE):  Search for gettext outside
2743         of libc if message translations are being used.  Fix info text in
2744         xieee_1003.1-2001 case.
2745         * aclocal.m4, configure:  Regenerate.
2746
2747 2003-04-29 Joel Sherrill  <joel.sherrill@OARcorp.com>
2748            Loren J. Rittle <ljrittle@acm.org>
2749            Martin v. Loewis  <martin@v.loewis.de>
2750
2751         * config/cpu/i386/atomicity.h: New file.
2752
2753 2003-04-29  Paolo Carlini  <pcarlini@unitus.it>
2754
2755         * include/bits/fstream.tcc (open): Change to single return.
2756
2757 2003-04-29  Paolo Carlini  <pcarlini@unitus.it>
2758
2759         * include/std/std_sstream.h (underflow): Change to single return.
2760
2761 2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
2762
2763         * include/std/std_streambuf.h (_M_buf): is currently
2764         used only for basic_filebuf, therefore move it there.
2765         (basic_streambuf(), ~basic_streambuf()): Adjust.
2766         * include/std/std_fstream.h (_M_buf): Moved here.
2767         * include/std/std_sstream.h (setbuf): Don't set _M_buf,
2768         is actually redundant for basic_stringbuf.
2769         (_M_really_sync): Likewise.
2770         * include/bits/fstream.tcc (basic_filebuf()): Adjust.
2771         * include/bits/sstream.tcc (seekoff): Adjust.
2772
2773 2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
2774
2775         * src/localename.cc: Standardize exception strings.
2776         * src/locale.cc: Same.
2777         * src/ios.cc: Same.
2778         * include/bits/basic_string.tcc: Same.
2779         * include/bits/basic_ios.tcc: Same.
2780         * include/std/std_bitset.h: Same.
2781         * include/ext/ropeimpl.h: Same.
2782         * include/bits/stl_vector.h: Same.
2783         * include/bits/stl_deque.h: Same.
2784         * include/bits/stl_bvector.h: Same.
2785         * config/locale/generic/c_locale.cc: Same.
2786         * config/locale/gnu/c_locale.cc: Same.
2787         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
2788
2789         * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
2790
2791 2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
2792
2793         * include/std/std_streambuf.h (_M_buf_size): is currently
2794         used only for basic_filebuf, therefore move it there.
2795         (basic_streambuf(), ~basic_streambuf()): Adjust.
2796         * include/std/std_fstream.h (_M_buf_size): Moved here.
2797         * include/bits/fstream.tcc (basic_filebuf()): Adjust.
2798
2799 2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
2800
2801         * include/bits/streambuf.tcc (__copy_streambufs): Don't use
2802         _M_buf_size (synced input is now correctly dealt with
2803         elsewhere); when the output buffer is full don't fall back
2804         to a snextc-sputc loop, call overflow instead.
2805
2806 2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
2807
2808         * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
2809         the innermost 'if' by factoring out some code.
2810
2811 2003-04-28  Phil Edwards  <pme@gcc.gnu.org>
2812
2813         * configure.in:  Test for libintl.h.
2814         * include/bits/c++config:  Define __N for everybody.
2815         * include/bits/basic_string.h, include/bits/stl_bvector.h,
2816         include/bits/stl_deque.h, include/bits/stl_vector.h,
2817         include/std/std_bitset.h:  Wrap all __throw* text with __N.
2818         * po/Makefile.am (pot):  New rule, mostly working.
2819         * src/functexcept.cc:  Call gettext on all __throw* arguments when
2820         -fexceptions is in effect.
2821         * po/Makefile.in, config.h.in, configure:  Regenerate.
2822
2823 2003-04-28  Petur Runolfsson  <peturr02@ru.is>
2824
2825         PR libstdc++/9523
2826         * include/bits/ios_base.h (Init::_S_ios_create,
2827         Init::_S_ios_destroy):  Remove declarations.
2828         (Init::_S_create_buffers,
2829         Init::_S_destroy_buffers):  Declare
2830         * src/ios.cc (Init::_S_ios_create):  Remove
2831         (Init::_S_create_buffers):  Create buffers and add to streams.
2832         (Init::_S_ios_destroy):  Rename to...
2833         (Init::_S_destroy_buffers):  this.
2834         (Init::Init):  Only construct streams once.
2835         (Init::~Init):  Flush streams, don't destroy them.
2836         (ios_base::sync_with_stdio):  Don't destroy streams, only buffers.
2837         * testsuite/27_io/ios_base/sync_with_stdio/9523.cc:  New test.
2838         * testsuite/27_io/objects/char/5.cc:  New test.
2839         * testsuite/27_io/objects/char/5268.cc:  Avoid undefined behavior.
2840         * testsuite/27_io/objects/char/6.cc:  New test.
2841         * testsuite/27_io/objects/char/7.cc:  New test.
2842
2843 2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
2844
2845         * testsuite/27_io/objects/char/8.cc:  New test.
2846
2847 2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
2848
2849         * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
2850         * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
2851
2852 2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>
2853
2854         * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
2855         _M_destroy_pback. _M_pback_create to
2856         _M_create_pback. _M_underflow_common to
2857         _M_underflow. _M_really_overflow to _M_overflow.
2858         * include/bits/fstream.tcc: Same.
2859         * src/fstream.cc: Same.
2860         * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
2861         _M_move_in_cur.  _M_out_cur_move to _M_move_out_cur.
2862         * include/bits/streambuf.tcc: Same.
2863         * include/bits/fstream.tcc: Same.
2864         * include/bits/sstream.tcc: Same.
2865
2866 2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>
2867
2868         * include/bits/locale_classes.h (locale::_Impl): Change _M_names
2869         from fixed size array.
2870         (locale): Change _S_categories as well.
2871         Formatting tweaks.
2872         * include/bits/locale_facets.tcc: Tweak.
2873         * config/locale/gnu/c_locale.cc: Assign _S_categories.
2874         * config/locale/generic/c_locale.cc: Same.
2875         * src/locale.cc: Tweak.
2876         * src/globals.cc: Change facet_name to name_vec, add names_c.
2877         * src/localename.cc: Use them.
2878         (locale::_Impl::~_Impl): Destroy _M_names.
2879         (locale::_Impl::_Impl): Create _M_names.
2880
2881 2003-04-27  Andreas Schwab  <schwab@suse.de>
2882
2883         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2884         (__enc_traits): Use __ibom and __ebom instead of ignoring them.
2885
2886 2003-04-27  Nathan Myers  <ncm@cantrip.org>
2887
2888         Move some basic_string members out of line because
2889         they are too big to reasonably be inline.
2890         * include/bits/basic_string.h
2891         (assign(const basic_string&, size_type, size_type),
2892         assign(const _CharT*, size_type),
2893         insert(size_type, const basic_string&, size_type, size_type),
2894         insert(size_type, const _CharT*, size_type),
2895         replace(size_type, size_type, const _CharT*, size_type)):
2896         Move from here to...
2897         * include/bits/basic_string.tcc: ...here.
2898
2899 2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
2900
2901         * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
2902         the innermost 'if' by factoring out some code.
2903
2904 2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
2905
2906         * include/bits/streambuf.tcc (__copy_streambufs): Don't
2907         use in_avail(), simplify.
2908
2909 2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
2910
2911         * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
2912         in basic_stringbuf it's unused.
2913
2914         * include/std/std_sstream.h (underflow): consistently use
2915         _M_in_cur, not gptr().
2916
2917 2003-04-25  Ranjit Mathew  <rmathew@hotmail.com>
2918             Phil Edwards  <pme@gcc.gnu.org>
2919
2920         * testsuite_flags.in: Guard against the possibility
2921         of having "xgcc" as a part of a folder name in the
2922         path to the GCC build folder.
2923         * testsuite/Makefile.am: Likewise.
2924         * testsuite/Makefile.in: Regenerated.
2925
2926 2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>
2927
2928         PR libstdc++/10132
2929         * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
2930         exception specifications.
2931         (basic_filebuf::close): Same.
2932         (basic_filebuf::_M_pback_destroy): Same.
2933         (basic_filebuf::_M_destroy_internal_buffer): Same.
2934         (basic_filebuf): Remove __res_type typedef.
2935         * src/fstream.cc: Same.
2936         * include/bits/fstream.tcc
2937         (basic_filebuf::_M_convert_to_external): Simplify.
2938         (basic_filebuf::seekoff): Use has_facet before use_facet.
2939         (basic_filebuf::close): Add exception specification of throw().
2940         * testsuite/27_io/basic_filebuf/cons: New.
2941         * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
2942         * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
2943         * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
2944         * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
2945
2946 2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>
2947
2948         * include/bits/locale_classes.h
2949         (locale::_S_extra_categories_size): Remove.
2950         * src/locale.cc: Remove _S_extra_categories_size.
2951         * src/localename.cc: Same.
2952         * config/locale/gnu/c_locale.cc: Same.
2953         * config/locale/generic/c_locale.cc: Same.
2954
2955 2003-04-24  Richard Sandiford  <rsandifo@redhat.com>
2956
2957         * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
2958
2959 2003-04-24  Phil Edwards  <pme@gcc.gnu.org>
2960
2961         * docs/html/17_intro/howto.html:  Update some links.
2962         * docs/html/18_support/howto.html:  Link doxygen numeric_limits notes.
2963         * docs/html/27_io/howto.html:  Link doxygen stdio_filebuf notes.
2964         * docs/html/ext/howto.html:  Link to demangler notes and API.
2965         * docs/html/faq/index.html:  Remove trailing whitespace.
2966         (1.4, 2.4, 3.8, 4.1):  Bring up to date.
2967         (5.6):  Change to a bulleted list.
2968
2969         * docs/html/faq/index.txt, docs/html/documentation.html,
2970         docs/html/17_intro/porting.html:  Regenerate.
2971
2972 2003-04-23  Paolo Carlini  <pcarlini@unitus.it>
2973
2974         * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
2975         belongs to basic_filebuf.
2976         * testsuite/27_io/basic_fstream/3.cc: Likewise.
2977         * testsuite/27_io/basic_ifstream/3.cc: Likewise.
2978         * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
2979         instantiation (now belongs to basic_filebuf).
2980         * testsuite/27_io/basic_iostream/3.cc: Likewise.
2981         * testsuite/27_io/basic_istream/3.cc: Likewise.
2982         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
2983         _S_pback_size now belongs to basic_filebuf.
2984         * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
2985         instantiation (now belongs to basic_filebuf).
2986         * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
2987         belongs to basic_filebuf.
2988         * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
2989         instantiation (now belongs to basic_filebuf).
2990         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
2991         _S_pback_size now belongs to basic_filebuf.
2992         * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
2993         instantiation (now belongs to basic_filebuf).
2994         * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
2995         to basic_filebuf.
2996         * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
2997         instantiation (now belongs to basic_filebuf).
2998         * testsuite/27_io/basic_stringstream/3.cc: Likewise.
2999
3000 2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
3001
3002         * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3003         * configure: Regenerated.
3004
3005 2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
3006
3007         * config/locale/generic/c_locale.h (__convert_from_v): Use
3008         attribute unused.
3009
3010 2003-04-23  Phil Edwards  <pme@gcc.gnu.org>
3011
3012         * docs/html/ext/howto.html ('LWG Issues'):  Add issue 60, partial
3013         implementation only.
3014         * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3015         Comment and change to comply with DR 60 and the effect on gcount().
3016         * include/std/std_istream.h:  Update comments.
3017         * testsuite/27_io/basic_istream/putback/char/1.cc (test01):  Add
3018         comments about reasons for tests.  Test sync() against gcount().
3019         * testsuite/27_io/basic_istream/seekg/char/2.cc:  New file, test
3020         for effect on gcount().
3021         * testsuite/27_io/basic_istream/tellg/char/2.cc:  New file, test
3022         for effect on gcount().
3023
3024 2003-04-22  Loren J. Rittle  <ljrittle@acm.org>
3025
3026         * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3027         Adjust timing.
3028
3029 2003-04-22  Paolo Carlini  <pcarlini@unitus.it>
3030
3031         * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3032         _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3033         _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3034         (basic_streambuf::basic_streambuf()): Adjust.
3035         * include/std/std_fstream.h (_S_pback_size, _M_pback,
3036         _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3037         _M_pback_create(), _M_pback_destroy()): Moved here
3038         from basic_streambuf.
3039         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3040         Adjust.
3041         (basic_filebuf::_S_pback_size): Add declaration.
3042         * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3043         Remove declaration.
3044
3045 2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
3046
3047         Consistently use _M_in_beg instead of eback(), _M_in_cur
3048         instead of gptr(), and so on.
3049         * include/bits/fstream.tcc (pbackfail, imbue): Here.
3050         * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3051         * include/bits/streambuf.tcc (sbumpc, sputbackc,
3052         __copy_streambufs): Ditto.
3053         * include/std/std_streambuf.h (sgetc): Ditto.
3054
3055 2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
3056
3057         * include/bits/sstream.tcc (pbackfail, overflow):
3058         Formatting fixes.
3059
3060 2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
3061
3062         * include/std/std_streambuf.h (uflow()): It's used only by
3063         basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3064         therefore do not consider the _M_buf_unified == true case.
3065
3066         * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3067
3068 2003-04-20  Paolo Carlini  <pcarlini@unitus.it>
3069
3070         * docs/html/ext/howto.html ('LWG Issues'):
3071         Add issues 19, 90, 171, 231, 271.
3072
3073 2003-04-20  Paolo Carlini  <pcarlini@unitus.it>
3074
3075         * include/bits/sstream.tcc (pbackfail): Remove redundant
3076         NULL pointer check from test involving _M_in_*.
3077         (overflow, seekoff, seekpos): Const qualify bool variables.
3078         * include/std/std_sstream.h (underflow): Remove redundant
3079         NULL pointer check from test involving _M_in_*.
3080         (_M_really_sync): Const qualify bool variables.
3081         * src/fstream.cc (_M_underflow_common): Remove redundant
3082         NULL pointer check from test involving _M_in_*, const qualify
3083         bool variables.
3084
3085         * include/std/std_streambuf.h (sgetc): Remove redundant
3086         variable.
3087
3088 2003-04-18  Paolo Carlini  <pcarlini@unitus.it>
3089
3090         According to 5.9 para 2 (second bullet) for pointers p, q
3091         pointing to the same type, with  p == 0 and q == 0, (p < q)
3092         is false.
3093         * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3094         seekoff): Remove redundant NULL pointer checks from tests
3095         involving _M_out_* and _M_in_*, const qualify bool variables.
3096         (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3097         qualify bool variables.
3098         * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3099         Remove redundant NULL pointer checks from tests involving
3100         _M_out_* and _M_in_*, const qualify bool variables.
3101         * include/std/std_fstream.h (sync): Likewise.
3102         (_M_is_indeterminate): Const qualify bool variables.
3103         * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3104         NULL pointer checks from tests involving _M_out_* and _M_in_*,
3105         const qualify bool variables.
3106         (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3107         variables.
3108
3109 2003-04-18  Loren J. Rittle  <ljrittle@acm.org>
3110
3111         * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3112         C99 FP macros, if actually captured.
3113
3114         * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3115         (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3116         (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3117         (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3118         * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3119         New macro.
3120         (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3121         (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3122         (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3123         * include/c_std/std_cstdlib.h: Use new macros.
3124         * include/c_std/std_cstdio.h: Use new macros.
3125         * include/c_std/std_cwchar.h: Use new macros.
3126
3127 2003-04-17  Benjamin Kosnik  <bkoz@redhat.com>
3128
3129         PR libstdc++/9555
3130         * include/bits/ostream.tcc: Catch all exceptions for formatted
3131         output, instead of std::exception and derivatives.
3132         * include/bits/istream.tcc: Same.
3133         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3134         * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3135         * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3136         * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3137         * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3138         * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3139         New.
3140
3141 2003-04-17  Phil Edwards  <pme@gcc.gnu.org>
3142
3143         * include/bits/c++config:  Minor cosmetic tweaks.
3144
3145 2003-04-17  Loren J. Rittle  <ljrittle@acm.org>
3146
3147         * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3148         * include/Makefile.am (pch_input): Find in ${target_builddir}.
3149         (pch_output): Rename to...
3150         (pch_output_builddir): ..this.  Find in ${target_builddir}.
3151         (pch_source): Tweak.
3152         (pch_build): Key off a built file.
3153         (pch_output rule): Rename to...
3154         (pch_input rule): ...this.  Produce ${pch_output_builddir}
3155         instead of ${pch_output}.
3156         (install-pch rule): Install ${pch_output_builddir}.
3157         * include/Makefile.in: Regenerated.
3158
3159 2003-04-17  Paolo Carlini  <pcarlini@unitus.it>
3160
3161         * include/std/std_streambuf.h (setp): _M_out_lim, being
3162         the end limit of used put area, is set equal to _M_out_beg.
3163
3164 2003-04-16  Benjamin Kosnik  <bkoz@redhat.com>
3165
3166         * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3167         * aclocal.m4: Regenerated.
3168         * configure.in: Remove old demangler bits.
3169         Call pch checks.
3170         * configure: Regenerate.
3171         * config.h.in: Regenerate.
3172         * include/Makefile.am (allstamps): Now allstamped.
3173         (allcreated): Define this.
3174         (all-local): Use 'em.
3175         Conditionally define pch_build, pch_install based on
3176         GLIBCPP_BUILD_PCH.
3177         (${pch_output}): New rule.
3178         (install-pch): New rule.
3179         (install-headers): New rule.
3180         (install-data-local): Install headers and conditionally pch.
3181         * include/Makefile.in: Regenerate.
3182         * testsuite_flags.in (--build-cxx): Use pch file.
3183
3184 2003-04-16  Jonathan Wakely  <redi@gcc.gnu.org>
3185
3186         * docs/html/ext/sgiexts.html: Fix path to stylesheet.
3187
3188 2003-04-15  Benjamin Kosnik  <bkoz at redhat dot com>
3189             Paolo Carlini  <pcarlini at unitus dot it>
3190
3191         PR libstdc++/9423
3192         * docs/html/27_io/howto.html
3193         ('The buffering is screwing up my program!'): Explain that
3194         opening counts as an I/O operation.
3195
3196 2003-04-15  Andreas Tobler  <a.tobler@schweiz.ch>
3197
3198         * testsuite/thread/pthread1.cc: Enable for darwin test.
3199         * testsuite/thread/pthread2.cc: Same.
3200         * testsuite/thread/pthread3.cc: Same.
3201         * testsuite/thread/pthread4.cc: Same.
3202         * testsuite/thread/pthread5.cc: Same.
3203         * testsuite/thread/pthread6.cc: Same.
3204
3205 2003-04-15  Loren J. Rittle  <ljrittle@acm.org>
3206
3207         libstdc++/7680
3208         * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
3209         Populate it with multiple legal ways to obtain the C99 float
3210         transcendentals.  Use them instead of direct global reference.
3211         (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
3212         * docs/html/17_intro/porting.texi
3213         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3214         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3215         (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
3216         * config/os/bsd/freebsd/os_defines.h
3217         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3218         (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3219         * testsuite/26_numerics/c_math_dynamic.cc: New file.
3220
3221 2003-04-14  Andreas Tobler  <toa@pop.agri.ch>
3222             Benjamin Kosnik  <bkoz@redhat.com>
3223
3224         * config/os/generic/ctype_inline.h: Fix.
3225
3226 2003-04-14  Benjamin Kosnik  <bkoz@redhat.com>
3227
3228         * testsuite/testsuite_hooks.h
3229         (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
3230         Change to try_named_locale.
3231         * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
3232
3233         * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
3234         try_named_locale.
3235         * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
3236         * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
3237         * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
3238         * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
3239         * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
3240         * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
3241         * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
3242         * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
3243         * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
3244         * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
3245         * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
3246         * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
3247         * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
3248         * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
3249         * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
3250         * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
3251         * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
3252         * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
3253         * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
3254         * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
3255         * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
3256         * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
3257         * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
3258         * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
3259         * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
3260         * testsuite/22_locale/collate/compare/char/1.cc: Same.
3261         * testsuite/22_locale/collate/compare/char/2.cc: Same.
3262         * testsuite/22_locale/collate/compare/char/3.cc: Same.
3263         * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
3264         * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
3265         * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
3266         * testsuite/22_locale/collate/hash/char/2.cc: Same.
3267         * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
3268         * testsuite/22_locale/collate/transform/char/2.cc: Same.
3269         * testsuite/22_locale/collate/transform/char/3.cc: Same.
3270         * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
3271         * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
3272         * testsuite/22_locale/collate_byname/1.cc: Same.
3273         * testsuite/22_locale/ctype/is/char/2.cc: Same.
3274         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
3275         * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
3276         * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
3277         * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
3278         * testsuite/22_locale/facet/2.cc: Same.
3279         * testsuite/22_locale/locale/cons/2.cc: Same.
3280         * testsuite/22_locale/locale/cons/4.cc: Same.
3281         * testsuite/22_locale/locale/cons/5.cc: Same.
3282         * testsuite/22_locale/locale/cons/7.cc: Same.
3283         * testsuite/22_locale/locale/cons/7222-c.cc: Same.
3284         * testsuite/22_locale/locale/cons/7222-env.cc: Same.
3285         * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
3286         * testsuite/22_locale/messages/members/char/1.cc: Same.
3287         * testsuite/22_locale/messages/members/char/2.cc: Same.
3288         * testsuite/22_locale/messages/members/char/3.cc: Same.
3289         * testsuite/22_locale/messages_byname/1.cc: Same.
3290         * testsuite/22_locale/money_get/get/char/1.cc: Same.
3291         * testsuite/22_locale/money_get/get/char/2.cc: Same.
3292         * testsuite/22_locale/money_get/get/char/3.cc: Same.
3293         * testsuite/22_locale/money_get/get/char/4.cc: Same.
3294         * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
3295         * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
3296         * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
3297         * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
3298         * testsuite/22_locale/money_put/put/char/1.cc: Same.
3299         * testsuite/22_locale/money_put/put/char/2.cc: Same.
3300         * testsuite/22_locale/money_put/put/char/3.cc: Same.
3301         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
3302         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
3303         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
3304         * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
3305         * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
3306         * testsuite/22_locale/moneypunct_byname/1.cc: Same.
3307         * testsuite/22_locale/num_get/get/char/1.cc: Same.
3308         * testsuite/22_locale/num_get/get/char/2.cc: Same.
3309         * testsuite/22_locale/num_get/get/char/3.cc: Same.
3310         * testsuite/22_locale/num_get/get/char/5.cc: Same.
3311         * testsuite/22_locale/num_get/get/char/6.cc: Same.
3312         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
3313         * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
3314         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
3315         * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
3316         * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
3317         * testsuite/22_locale/num_put/put/char/1.cc: Same.
3318         * testsuite/22_locale/num_put/put/char/2.cc: Same.
3319         * testsuite/22_locale/num_put/put/char/3.cc: Same.
3320         * testsuite/22_locale/num_put/put/char/5.cc: Same.
3321         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
3322         * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
3323         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
3324         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
3325         * testsuite/22_locale/numpunct/members/char/1.cc: Same.
3326         * testsuite/22_locale/numpunct/members/char/2.cc: Same.
3327         * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
3328         * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
3329         * testsuite/22_locale/numpunct_byname/1.cc: Same.
3330         * testsuite/22_locale/numpunct_byname/2.cc: Same.
3331         * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
3332         * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
3333         * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
3334         * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
3335         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
3336         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
3337         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
3338         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
3339         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
3340         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
3341         * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
3342         * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
3343         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
3344         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
3345         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
3346         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
3347         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
3348         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
3349         * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
3350         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
3351         * testsuite/22_locale/time_put/put/char/1.cc: Same.
3352         * testsuite/22_locale/time_put/put/char/2.cc: Same.
3353         * testsuite/22_locale/time_put/put/char/3.cc: Same.
3354         * testsuite/22_locale/time_put/put/char/4.cc: Same.
3355         * testsuite/22_locale/time_put/put/char/5.cc: Same.
3356         * testsuite/22_locale/time_put/put/char/6.cc: Same.
3357         * testsuite/22_locale/time_put/put/char/7.cc: Same.
3358         * testsuite/22_locale/time_put/put/char/8.cc: Same.
3359         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
3360         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
3361         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
3362         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
3363         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
3364         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
3365         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
3366         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
3367         * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
3368         * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
3369         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
3370         * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
3371         * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
3372
3373 2003-04-14  Andreas Tobler  <toa@pop.agri.ch>
3374
3375         * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
3376         solaris includes, not generic.
3377
3378 2003-04-14  Loren J. Rittle  <ljrittle@acm.org>
3379
3380         * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
3381
3382         * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
3383         * include/bits/concept_check.h: Fix multi-line comment.
3384         * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
3385         when target is *-*-freebsd*.
3386
3387 2003-04-14  Nathan Myers  <ncm@cantrip.org>
3388             Paolo Carlini  <pcarlini@unitus.it>
3389
3390         PR libstdc++/9701 (in_avail())
3391         * include/std/std_streambuf.h (in_avail): Simplify, in_avail
3392         doesn't care if there is anything in some putback cell.
3393         * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
3394
3395         * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
3396         unused string literals.
3397
3398 2003-04-14  Paolo Carlini  <pcarlini@unitus.it>
3399
3400         * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
3401         _M_out_end, _M_set_indeterminate() does it.
3402
3403 2003-04-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3404
3405         * os/hpux/ctype_inline.h: Replace with gnu-linux version.
3406
3407 2003-04-12  David Edelsohn  <edelsohn@gnu.org>
3408
3409         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3410         Change basic_streambuf instantiation to "unsigned char".
3411         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3412
3413 2003-04-12  Paolo Carlini  <pcarlini@unitus.it>
3414
3415         Remove _M_buf_size_opt, use directly _M_buf_size instead.
3416         * include/bits/fstream.tcc
3417         (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
3418         references to _M_buf_size_opt.
3419         * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
3420         * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
3421         __bufsize to __in_avail and __size_opt to __buf_size.
3422         * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
3423         * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
3424         * include/std/std_streambuf.h (~basic_streambuf(),
3425         basic_streambuf()): Likewise, remove _M_buf_size_opt member.
3426         * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
3427         * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3428         * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
3429         * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
3430         * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
3431         * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
3432         * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
3433         * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
3434         * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3435         * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3436         * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3437         * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3438
3439 2003-04-12  Paolo Carlini  <pcarlini at unitus dot it>
3440
3441         * include/ext/stdio_filebuf.h
3442         (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
3443         stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
3444         _M_buf_size_opt == 0 only means "not to use an allocated buffer"
3445         since a stack-based buffer is used for small values of the size_t
3446         parameter.
3447         * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
3448         If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
3449         * testsuite/ext/stdio_filebuf_2.cc: New testfile.
3450
3451 2003-04-12  Paolo Carlini  <pcarlini@unitus.it>
3452
3453         PR libstdc++/9533
3454         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
3455         * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
3456
3457 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3458
3459         * testsuite/22_locale/locale/cons/3.cc: Split.
3460         * testsuite/22_locale/locale/cons/7222-c.cc: New.
3461         * testsuite/22_locale/locale/cons/7222-env.cc: New.
3462         Check before trying to create a locale from the environment.
3463         * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
3464         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
3465         Adjust includes.
3466
3467 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3468
3469         * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
3470         locale to construct this hybrid locale, not the global locale.
3471
3472 2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
3473
3474         * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
3475         instantiation for AIX.
3476         * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3477         * testsuite/25_algorithms/min_max.cc: Same.
3478
3479 2003-04-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3480
3481         * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
3482         twice.  Always set _M_cfile to 0 when stream was open.
3483
3484 2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
3485
3486         Reshuffle 27_io testsuite.  * testsuite/27_io/filebuf.cc,
3487         filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
3488         filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
3489         filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
3490         filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
3491         ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
3492         ifstream_members.cc, instantiations.cc, ios.cc,
3493         ios_base_callbacks.cc, ios_base_members_static-1.tst,
3494         ios_base_members_static.cc, ios_base_storage.cc,
3495         ios_base_types.cc, ios_ctor.cc, ios_init.cc,
3496         ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
3497         iostream.cc, iostream_members.cc, istream.cc,
3498         istream_exception.cc, istream_extractor_char.cc,
3499         istream_extractor_other-1.tst, istream_extractor_other-1.txt,
3500         istream_extractor_other-2.tst, istream_extractor_other.cc,
3501         istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
3502         istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
3503         istream_sentry.cc, istream_unformatted-1.tst,
3504         istream_unformatted-1.txt, istream_unformatted.cc,
3505         istringstream.cc, istringstream_members.cc,
3506         narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
3507         ofstream_members.cc, ostream.cc, ostream_exception.cc,
3508         ostream_fail.cc, ostream_inserter_arith.cc,
3509         ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
3510         ostream_inserter_char.cc, ostream_inserter_other-1.tst,
3511         ostream_inserter_other-2.tst, ostream_inserter_other.cc,
3512         ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
3513         ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
3514         ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
3515         streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
3516         stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
3517         wide_stream_objects.cc, istream_extractor_arith/01.cc,
3518         istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
3519         istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
3520         istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
3521         istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
3522         istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
3523         Split into...
3524         * 27_io/basic_filebuf/1.cc: New.
3525         * 27_io/basic_filebuf/2.cc: New.
3526         * 27_io/basic_filebuf/3.cc: New.
3527         * 27_io/basic_filebuf/4.cc: New.
3528         * 27_io/basic_filebuf/close/char/1.cc: New.
3529         * 27_io/basic_filebuf/close/char/2.cc: New.
3530         * 27_io/basic_filebuf/close/char/3.cc: New.
3531         * 27_io/basic_filebuf/close/char/4879.cc: New.
3532         * 27_io/basic_filebuf/close/char/9964.cc: New.
3533         * 27_io/basic_filebuf/imbue/char/1.cc: New.
3534         * 27_io/basic_filebuf/imbue/char/9322.cc: New.
3535         * 27_io/basic_filebuf/in_avail/char/1.cc: New.
3536         * 27_io/basic_filebuf/is_open/char/1.cc: New.
3537         * 27_io/basic_filebuf/open/char/1.cc: New.
3538         * 27_io/basic_filebuf/open/char/2.cc: New.
3539         * 27_io/basic_filebuf/open/char/3.cc: New.
3540         * 27_io/basic_filebuf/open/char/9507.cc: New.
3541         * 27_io/basic_filebuf/overflow/char/1.cc: New.
3542         * 27_io/basic_filebuf/overflow/char/3599.cc: New.
3543         * 27_io/basic_filebuf/overflow/char/9169.cc: New.
3544         * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
3545         * 27_io/basic_filebuf/overflow/char/9988.cc: New.
3546         * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
3547         * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
3548         * 27_io/basic_filebuf/seekoff/char/1.cc: New.
3549         * 27_io/basic_filebuf/seekoff/char/2.cc: New.
3550         * 27_io/basic_filebuf/seekpos/char/1.cc: New.
3551         * 27_io/basic_filebuf/seekpos/char/2.cc: New.
3552         * 27_io/basic_filebuf/setbuf/char/1.cc: New.
3553         * 27_io/basic_filebuf/setbuf/char/2.cc: New.
3554         * 27_io/basic_filebuf/setbuf/char/3.cc: New.
3555         * 27_io/basic_filebuf/sgetc/char/1.cc: New.
3556         * 27_io/basic_filebuf/sgetn/char/1.cc: New.
3557         * 27_io/basic_filebuf/sgetn/char/2.cc: New.
3558         * 27_io/basic_filebuf/snextc/char/1.cc: New.
3559         * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
3560         * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
3561         * 27_io/basic_filebuf/sputc/char/1.cc: New.
3562         * 27_io/basic_filebuf/sputc/char/1057.cc: New.
3563         * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
3564         * 27_io/basic_filebuf/sputn/char/1.cc: New.
3565         * 27_io/basic_filebuf/sputn/char/1057.cc: New.
3566         * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
3567         * 27_io/basic_filebuf/sungetc/char/1.cc: New.
3568         * 27_io/basic_filebuf/sync/char/1057.cc: New.
3569         * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
3570         * 27_io/basic_filebuf/underflow/char/10097.cc: New.
3571         * 27_io/basic_fstream/1.cc: New.
3572         * 27_io/basic_fstream/2.cc: New.
3573         * 27_io/basic_fstream/3.cc: New.
3574         * 27_io/basic_fstream/4.cc: New.
3575         * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
3576         * 27_io/basic_ifstream/1.cc: New.
3577         * 27_io/basic_ifstream/2.cc: New.
3578         * 27_io/basic_ifstream/3.cc: New.
3579         * 27_io/basic_ifstream/4.cc: New.
3580         * 27_io/basic_ifstream/cons/char/1.cc: New.
3581         * 27_io/basic_ifstream/open/char/1.cc: New.
3582         * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
3583         * 27_io/basic_ios/1.cc: New.
3584         * 27_io/basic_ios/2.cc: New.
3585         * 27_io/basic_ios/3.cc: New.
3586         * 27_io/basic_ios/4.cc: New.
3587         * 27_io/basic_ios/clear/char/1.cc: New.
3588         * 27_io/basic_ios/cons/char/1.cc: New.
3589         * 27_io/basic_ios/cons/char/2.cc: New.
3590         * 27_io/basic_ios/cons/char/3.cc: New.
3591         * 27_io/basic_ios/copyfmt/char/1.cc: New.
3592         * 27_io/basic_ios/copyfmt/char/2.cc: New.
3593         * 27_io/basic_ios/exceptions/char/1.cc: New.
3594         * 27_io/basic_ios/locales/char/1.cc: New.
3595         * 27_io/basic_iostream/1.cc: New.
3596         * 27_io/basic_iostream/2.cc: New.
3597         * 27_io/basic_iostream/3.cc: New.
3598         * 27_io/basic_iostream/4.cc: New.
3599         * 27_io/basic_istream/1.cc: New.
3600         * 27_io/basic_istream/2.cc: New.
3601         * 27_io/basic_istream/3.cc: New.
3602         * 27_io/basic_istream/4.cc: New.
3603         * 27_io/basic_istream/exceptions/char/9561.cc: New.
3604         * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
3605         * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
3606         * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
3607         * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
3608         * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
3609         * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
3610         * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
3611         * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
3612         * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
3613         * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
3614         * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
3615         * 27_io/basic_istream/extractors_character/char/1.cc: New.
3616         * 27_io/basic_istream/extractors_character/char/2.cc: New.
3617         * 27_io/basic_istream/extractors_character/char/3.cc: New.
3618         * 27_io/basic_istream/extractors_character/char/9826.cc: New.
3619         * 27_io/basic_istream/extractors_other/char/1.cc: New.
3620         * 27_io/basic_istream/extractors_other/char/2.cc: New.
3621         * 27_io/basic_istream/extractors_other/char/3.cc: New.
3622         * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
3623         * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
3624         * 27_io/basic_istream/get/char/1.cc: New.
3625         * 27_io/basic_istream/get/char/2.cc: New.
3626         * 27_io/basic_istream/getline/char/1.cc: New.
3627         * 27_io/basic_istream/getline/char/2.cc: New.
3628         * 27_io/basic_istream/getline/char/3.cc: New.
3629         * 27_io/basic_istream/ignore/char/1.cc: New.
3630         * 27_io/basic_istream/ignore/char/6360.cc: New.
3631         * 27_io/basic_istream/ignore/char/7220.cc: New.
3632         * 27_io/basic_istream/peek/char/1.cc: New.
3633         * 27_io/basic_istream/peek/char/6414.cc: New.
3634         * 27_io/basic_istream/putback/char/1.cc: New.
3635         * 27_io/basic_istream/read/char/1.cc: New.
3636         * 27_io/basic_istream/read/char/2.cc: New.
3637         * 27_io/basic_istream/read/char/3.cc: New.
3638         * 27_io/basic_istream/readsome/char/6746-1.cc: New.
3639         * 27_io/basic_istream/readsome/char/6746-2.cc: New.
3640         * 27_io/basic_istream/readsome/char/8258.cc: New.
3641         * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
3642         * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
3643         * 27_io/basic_istream/seekg/char/8348-1.cc: New.
3644         * 27_io/basic_istream/seekg/char/8348-2.cc: New.
3645         * 27_io/basic_istream/seekg/char/fstream.cc: New.
3646         * 27_io/basic_istream/seekg/char/sstream.cc: New.
3647         * 27_io/basic_istream/sentry/char/1.cc: New.
3648         * 27_io/basic_istream/sentry/char/2.cc: New.
3649         * 27_io/basic_istream/sentry/char/3.cc: New.
3650         * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
3651         * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
3652         * 27_io/basic_istream/tellg/char/1.cc: New.
3653         * 27_io/basic_istream/tellg/char/8348.cc: New.
3654         * 27_io/basic_istream/tellg/char/fstream.cc: New.
3655         * 27_io/basic_istream/tellg/char/sstream.cc: New.
3656         * 27_io/basic_istream/ws/char/1.cc: New.
3657         * 27_io/basic_istringstream/1.cc: New.
3658         * 27_io/basic_istringstream/2.cc: New.
3659         * 27_io/basic_istringstream/3.cc: New.
3660         * 27_io/basic_istringstream/4.cc: New.
3661         * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
3662         * 27_io/basic_istringstream/str/char/1.cc: New.
3663         * 27_io/basic_ofstream/1.cc: New.
3664         * 27_io/basic_ofstream/2.cc: New.
3665         * 27_io/basic_ofstream/3.cc: New.
3666         * 27_io/basic_ofstream/4.cc: New.
3667         * 27_io/basic_ofstream/cons/char/2.cc: New.
3668         * 27_io/basic_ofstream/open/char/1.cc: New.
3669         * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
3670         * 27_io/basic_ostream/1.cc: New.
3671         * 27_io/basic_ostream/2.cc: New.
3672         * 27_io/basic_ostream/3.cc: New.
3673         * 27_io/basic_ostream/4.cc: New.
3674         * 27_io/basic_ostream/cons/char/9827.cc: New.
3675         * 27_io/basic_ostream/endl/char/1.cc: New.
3676         * 27_io/basic_ostream/ends/char/1.cc: New.
3677         * 27_io/basic_ostream/ends/char/2.cc: New.
3678         * 27_io/basic_ostream/exceptions/char/9561.cc: New.
3679         * 27_io/basic_ostream/flush/char/1.cc: New.
3680         * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
3681         * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
3682         * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
3683         * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
3684         * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
3685         * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
3686         * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
3687         * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
3688         * 27_io/basic_ostream/inserters_character/char/1.cc: New.
3689         * 27_io/basic_ostream/inserters_character/char/2.cc: New.
3690         * 27_io/basic_ostream/inserters_character/char/3.cc: New.
3691         * 27_io/basic_ostream/inserters_character/char/4.cc: New.
3692         * 27_io/basic_ostream/inserters_character/char/5.cc: New.
3693         * 27_io/basic_ostream/inserters_character/char/6.cc: New.
3694         * 27_io/basic_ostream/inserters_character/char/8.cc: New.
3695         * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
3696         * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
3697         * 27_io/basic_ostream/inserters_other/char/1.cc: New.
3698         * 27_io/basic_ostream/inserters_other/char/2.cc: New.
3699         * 27_io/basic_ostream/inserters_other/char/3.cc: New.
3700         * 27_io/basic_ostream/inserters_other/char/4.cc: New.
3701         * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
3702         * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
3703         * 27_io/basic_ostream/sentry/char/1.cc: New.
3704         * 27_io/basic_ostream/sentry/char/2.cc: New.
3705         * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
3706         * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
3707         * 27_io/basic_ostream/tellp/char/1.cc: New.
3708         * 27_io/basic_ostream/tellp/char/2.cc: New.
3709         * 27_io/basic_ostringstream/1.cc: New.
3710         * 27_io/basic_ostringstream/2.cc: New.
3711         * 27_io/basic_ostringstream/3.cc: New.
3712         * 27_io/basic_ostringstream/4.cc: New.
3713         * 27_io/basic_ostringstream/cons/char/3.cc: New.
3714         * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
3715         * 27_io/basic_ostringstream/str/char/1.cc: New.
3716         * 27_io/basic_ostringstream/str/char/2.cc: New.
3717         * 27_io/basic_streambuf/1.cc: New.
3718         * 27_io/basic_streambuf/2.cc: New.
3719         * 27_io/basic_streambuf/3.cc: New.
3720         * 27_io/basic_streambuf/cons/char/1.cc: New.
3721         * 27_io/basic_streambuf/imbue/char/1.cc: New.
3722         * 27_io/basic_streambuf/imbue/char/9322.cc: New.
3723         * 27_io/basic_streambuf/overflow/char/1.cc: New.
3724         * 27_io/basic_streambuf/overflow/char/2.cc: New.
3725         * 27_io/basic_streambuf/overflow/char/3599.cc: New.
3726         * 27_io/basic_streambuf/sgetc/char/1.cc: New.
3727         * 27_io/basic_streambuf/sgetn/char/1.cc: New.
3728         * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
3729         * 27_io/basic_streambuf/sputc/char/1057.cc: New.
3730         * 27_io/basic_streambuf/sputn/char/1.cc: New.
3731         * 27_io/basic_streambuf/sputn/char/1057.cc: New.
3732         * 27_io/basic_streambuf/sync/char/1057.cc: New.
3733         * 27_io/basic_stringbuf/1.cc: New.
3734         * 27_io/basic_stringbuf/2.cc: New.
3735         * 27_io/basic_stringbuf/3.cc: New.
3736         * 27_io/basic_stringbuf/4.cc: New.
3737         * 27_io/basic_stringbuf/5.cc: New.
3738         * 27_io/basic_stringbuf/imbue/char/1.cc: New.
3739         * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
3740         * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
3741         * 27_io/basic_stringbuf/overflow/char/2.cc: New.
3742         * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
3743         * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
3744         * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
3745         * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
3746         * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
3747         * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
3748         * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
3749         * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
3750         * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
3751         * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
3752         * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
3753         * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
3754         * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
3755         * 27_io/basic_stringbuf/snextc/char/1.cc: New.
3756         * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
3757         * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
3758         * 27_io/basic_stringbuf/sputc/char/1.cc: New.
3759         * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
3760         * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
3761         * 27_io/basic_stringbuf/sputn/char/1.cc: New.
3762         * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
3763         * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
3764         * 27_io/basic_stringbuf/str/char/1.cc: New.
3765         * 27_io/basic_stringbuf/str/char/2.cc: New.
3766         * 27_io/basic_stringbuf/str/char/3.cc: New.
3767         * 27_io/basic_stringbuf/str/char/3955.cc: New.
3768         * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
3769         * 27_io/basic_stringbuf/sync/char/1057.cc: New.
3770         * 27_io/basic_stringstream/1.cc: New.
3771         * 27_io/basic_stringstream/2.cc: New.
3772         * 27_io/basic_stringstream/3.cc: New.
3773         * 27_io/basic_stringstream/4.cc: New.
3774         * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
3775         * 27_io/basic_stringstream/str/char/1.cc: New.
3776         * 27_io/basic_stringstream/str/char/2.cc: New.
3777         * 27_io/basic_stringstream/str/char/3.cc: New.
3778         * 27_io/basic_stringstream/str/char/4.cc: New.
3779         * 27_io/fpos/1.cc: New.
3780         * 27_io/fpos/2.cc: New.
3781         * 27_io/fpos/3.cc: New.
3782         * 27_io/ios_base/callbacks/1.cc: New.
3783         * 27_io/ios_base/state/1.cc: New.
3784         * 27_io/ios_base/storage/1.cc: New.
3785         * 27_io/ios_base/storage/2.cc: New.
3786         * 27_io/ios_base/storage/3.cc: New.
3787         * 27_io/ios_base/sync_with_stdio/1.cc: New.
3788         * 27_io/ios_base/sync_with_stdio/2.cc: New.
3789         * 27_io/manipulators/adjustfield/char/1.cc: New.
3790         * 27_io/manipulators/adjustfield/char/2.cc: New.
3791         * 27_io/manipulators/basefield/char/1.cc: New.
3792         * 27_io/manipulators/standard/char/1.cc: New.
3793         * 27_io/manipulators/standard/char/2.cc: New.
3794         * 27_io/objects/char/1.cc: New.
3795         * 27_io/objects/char/2.cc: New.
3796         * 27_io/objects/char/2523-1_xin.cc: New.
3797         * 27_io/objects/char/2523-1_xin.in: New.
3798         * 27_io/objects/char/2523-2_xin.cc: New.
3799         * 27_io/objects/char/2523-2_xin.in: New.
3800         * 27_io/objects/char/3045.cc: New.
3801         * 27_io/objects/char/3647.cc: New.
3802         * 27_io/objects/char/3_xin.cc: New.
3803         * 27_io/objects/char/3_xin.in: New.
3804         * 27_io/objects/char/4_xin.cc: New.
3805         * 27_io/objects/cha