OSDN Git Service

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