OSDN Git Service

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