OSDN Git Service

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