1 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
3 * src/localename.cc (_M_replace_categories, M_replace_facet):
4 Const-ify a couple of variables.
6 2003-10-14 Petur Runolfsson <peturr02@ru.is>
7 Andreas Tobler <a.tobler@schweiz.ch>
9 * src/locale.cc (locale::_S_initialize): Workaround a confusion
10 of the use of the gthr API when __gthread_active_p() returns true.
12 2003-10-12 Petur Runolfsson <peturr02@ru.is>
13 Paolo Carlini <pcarlini@unitus.it>
16 * src/strstream.cc (pbackfail): Fix to use to_int_type.
17 * testsuite/backward/11460.cc: New, from the PR.
19 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
21 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
22 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
23 * include/bits/basic_string.tcc: Likewise.
24 * include/bits/ios_base.h: Likewise.
25 * include/bits/istream.tcc: Likewise.
26 * include/bits/locale_facets.tcc: Likewise.
27 * include/bits/ostream.tcc: Likewise.
28 * include/bits/stl_function.h: Likewise.
29 * include/bits/stl_multiset.h: Likewise.
30 * include/bits/stl_pair.h: Likewise.
31 * include/bits/stl_set.h: Likewise.
32 * include/bits/streambuf_iterator.h
33 * include/std/std_iosfwd.h: Likewise.
34 * include/std/std_istream.h: Likewise.
35 * include/std/std_sstream.h: Likewise.
36 * include/std/std_streambuf.h: Likewise.
37 * src/ios.cc: Likewise.
38 * include/bits/c++config:
39 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
40 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
41 dg-error directive due to removal of a blank line.
42 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
44 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
45 Paolo Carlini <pcarlini@unitus.it>
47 PR libstdc++/11844/11740 (cont)
48 * config/os/generic/ctype_inline.h (ctype<char>::is):
49 Generically, use a bitmasksize of 15 (instead of 10);
50 Fix the logic to actually return (M & m) != 0 as per
53 2003-10-11 Bernardo Innocenti <bernie@develer.com>
55 * crossconfig.m4 (*-uclinux*): New target.
56 * configure: Regenerate.
58 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
60 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
61 Avoid unnecessarily calling __builtin_alloca and dealing
62 explicitly with width() smaller than zero.
63 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
64 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
65 const char*), operator<<(basic_ostream<char, _Traits>&,
66 const char*), operator<<(basic_ostream, const basic_string&)):
69 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
71 * config/linker-map.gnu: Make more *_type_info bits visible.
72 Move new/delete bits back into GLIBCXX space.
74 * include/bits/locale_classes.h: Move _M_id out of line, so that
75 locale::id::_S_highwater can be removed from the export list.
76 * src/locale.cc (locale::id::_M_id): Define.
78 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
80 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
83 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
86 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
87 to conform to the requirements of 22.2.1.
88 * config/os/bsd/freebsd/ctype_base.h: Likewise.
89 * config/os/djgpp/ctype_base.h: Likewise.
90 * config/os/generic/ctype_base.h: Likewise.
91 * config/os/gnu-linux/ctype_base.h: Likewise.
92 * config/os/hpux/ctype_base.h: Likewise.
93 * config/os/irix/irix6.5/ctype_base.h: Likewise.
94 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
95 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
96 * testsuite/22_locale/ctype/11844.cc: New.
98 * config/locale/generic/ctype_members.cc (do_is):
99 Generically, use a bitmasksize of 15 (instead of 10), since
100 we don't know the numerical encoding of the various categories
101 in the underlying /usr/include/ctype.h.
103 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
105 * src/string-inst.cc: Prune.
106 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
107 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
109 2003-10-09 Petur Runolfsson <peturr02@ru.is>
111 * src/io-inst.cc: Don't include iostream.
112 * include/bits/ios_base.h (ios_base::failure): Use string.
113 * src/Makefile.am: Add ios_failure.cc.
114 * src/Makefile.in: Regenerate.
115 * src/ios.cc: Move ios_base::failure definitions to...
116 * src/ios_failure.cc: ...here. New.
118 2003-10-09 Petur Runolfsson <peturr02@ru.is>
121 * include/bits/fstream.tcc (basic_filebuf::seekoff):
122 Move code needed for both seekoff and seekpos...
123 (basic_filebuf::_M_seek): ...here. New function.
124 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
125 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
126 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
128 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
130 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
132 * include/bits/locale_facets.tcc: More minor cosmetic
133 changes and const-ifications of some variables.
135 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
137 * include/bits/locale_facets.tcc: Minor cosmetic changes
138 and const-ifications of some variables.
140 * include/bits/locale_facets.tcc
141 (money_get::do_get(..., string_type&)): Simplify an if-else.
143 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
146 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
147 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
148 * config/locale/generic/ctype_members.cc: Same.
149 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
151 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
153 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
154 Improve performance-wise: avoid one traits::copy, avoid
155 the __builtin_alloca, streamline.
157 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
159 * include/bits/locale_facets.tcc
160 (num_put::do_put(..., bool)): Prefer ?: to if-else.
161 (time_get::_M_extract_name): Qualify min with std::.
162 (__pad<>::_S_pad): Constify two variables; simplify an
163 if-else statement factoring out some code.
165 * include/bits/locale_facets.tcc: Minor cosmetic changes.
167 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
169 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
170 Constify a couple of variables.
171 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
174 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
175 Petur Runolfsson <peturr02@ru.is>
177 * include/ext/stdio_sync_filebuf.h: Don't include the whole
178 <fstream>, only <streambuf> and <cstdio>.
180 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
183 * include/bits/fstream.tcc (imbue): In case a codecvt facet
184 is not available, set _M_codecvt = 0.
185 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
187 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
190 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
192 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
194 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
195 * src/locale.cc: Define.
196 * src/localename.cc: Use it.
197 * config/locale/generic/time_members.h: Same.
198 * config/locale/gnu/messages_members.h: Same.
199 * config/locale/gnu/time_members.h: Same.
201 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
204 * include/bits/fstream.tcc (seekoff): Ignore the openmode
206 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
207 seekpos): Remove the openmode argument.
208 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
209 seekpos): Remove redundant placeholder for the openmode argument.
210 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
211 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
212 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
213 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
214 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
216 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
218 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
219 (locale::facet::_S_get_c_locale): Same.
221 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
223 * config/linker-map.gnu: Export _S_get_c_locale instead of
226 2003-10-02 Petur Runolfsson <peturr02@ru.is>
228 * config/locale/generic/c_locale.cc
229 (category_names, locale::_S_categories): Const qualify.
230 * config/locale/gnu/c_locale.cc: Same.
231 * config/locale/generic/time_members.h (__timepunct::__timepunct):
232 Copy string contents before assigning to _M_name_timepunct,
233 qualify strcpy and strlen with std::.
234 * config/locale/gnu/time_members.h: Same.
235 * config/locale/gnu/messages_members.h (messages::messages):
236 Copy string contents before assigning to _M_name_messages,
237 qualify strcpy and strlen with std::.
238 * config/os/gnu-linux/ctype_noninline.h
239 (ctype<char>::classic_table()): Don't call locale::classic().
240 * include/bits/locale_classes.h
241 (locale::_S_categories): Const qualify.
242 (locale::_S_once, locale::_S_initialize_once,
243 locale::facet::_S_once, locale::facet::_S_initialize_once,
244 locale::facet::_S_get_c_locale): Declare.
245 (locale::_S_initialize): Don't define.
246 (locale::facet::_S_c_locale): Make private.
247 (locale::facet::_S_c_name): Same, const qualify.
248 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
249 parameters, add throw() specifier.
250 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
251 messages::_M_name_messages): Const qualify.
253 (locale::_S_once, locale::facet::_S_once): Define.
254 (locale::classic): Move initialization code...
255 (locale::_S_initialize_once): ...here.
256 (locale::_S_initialize): Call _S_initialize_once through
258 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
259 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
260 __gthread_once before returning _S_c_locale.
261 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
262 Drop unused parameters, add throw() specifier, don't initialize
263 locale::facet::_S_c_locale and _S_c_name.
265 * config/locale/generic/messages_members.h:
266 Replace _S_c_locale with _S_get_c_locale().
267 * config/locale/gnu/c_locale.cc: Same.
268 * config/locale/gnu/messages_members.h: Same.
269 * config/locale/gnu/numeric_members.cc: Same.
270 * config/locale/gnu/time_members.cc: Same.
271 * config/os/gnu-linux/ctype_noninline.h: Same.
272 * include/bits/locale_facets.h: Same.
273 * include/bits/locale_facets.tcc: Same.
274 * src/codecvt.cc: Same.
275 * src/ctype.cc: Same.
277 2003-10-02 Carlo Wood <carlo@alinoe.com>
279 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
280 Decode symbols that start with _GLOBAL_[ID]_ differently: the
281 trailing part ends with a terminating zero and is not necessarily an
283 * src/demangle.cc (): Same.
284 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
286 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
288 * testsuite/22_locale/locale/cons/12438.cc: Use
289 __gnu_test::try_named_locale("").
291 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
293 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
294 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
296 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
297 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
299 * config.h.in, configure: Regenerate.
300 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
303 2003-10-01 Nathan Myers <ncm@cantrip.org>
305 * include/bits/locale_facets.tcc (time_put::put): Avoid
306 expensive *__s++, in favor of *__s, ++__s.
308 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
310 * include/bits/locale_facets.tcc (time_put::put): Minor
311 tweak to the previous commit.
313 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
316 * include/bits/locale_facets.tcc (time_put::put): Deal
317 with the three issues pointed out by the PR.
318 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
319 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
320 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
321 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
322 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
324 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
326 * include/bits/stl_algo.h: Minor cosmetic reformattings.
328 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
330 * include/bits/stl_algo.h (search_n): Tweak, to spare the
333 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
335 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
336 qualify exception name.
338 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
341 * include/bits/locale_facets.tcc (locale::combine): Don't
342 leak memory if _M_replace_facet throws.
343 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
345 * include/bits/locale_classes.h (locale::locale(const locale&,
346 _Facet*)): Tweak, use consistently _M_remove_reference.
348 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
350 PR libstdc++/12352 (cont)
351 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
352 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
354 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
355 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
356 !_M_caches, !_M_names.
358 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
360 * configure.host: Handle Solaris 2.5 micro releases explicitly.
361 Remove wildcards from Solaris 2.6, 7-9: there were no
363 Treat Solaris 10 and up like 7-9.
365 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
367 * include/bits/stl_algo.h (search_n): Improve the previous
368 fix as suggested by Martin.
370 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
373 * include/bits/istream.tcc (peek): Set eofbit if sgetc
375 * testsuite/27_io/basic_istream/peek/char/12296.cc:
378 2003-09-29 Nathan Myers <ncm@cantrip.org>
379 Paolo Carlini <pcarlini@unitus.it>
382 * include/bits/stl_algo.h (search_n):
383 Use iterator_traits<>::difference_type for __n.
384 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
386 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
388 * testsuite/22_locale/locale/cons/12352.cc:
389 Use __attribute__((unused)) for test.
391 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
393 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
394 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
395 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
397 2003-09-26 Brad Spencer <spencer@infointeractive.com>
399 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
400 Explicitly qualify exceptions.
401 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
402 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
403 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
404 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
406 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
409 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
410 size_t)): Don't leak if memory allocations for _M_facets,
411 _M_caches, and _M_names fail.
412 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
413 (locale::_Impl::_M_replace_categories(const _Impl*,
415 (locale::_Impl::_M_install_facet(const locale::id*,
416 const facet*)): Ditto.
417 * include/bits/locale_classes.h (locale::locale(const locale&,
418 _Facet*)): Don't leak memory.
419 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
421 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
422 bool)): Qualify with std:: strcpy, tweak.
423 * include/bits/locale_classes.h
424 (locale::_Impl::_M_check_same_name): Qualify strcmp.
426 2003-09-25 Brad Spencer <spencer@infointeractive.com>
429 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
431 * aclocal.m4: Regenerate.
432 * config.h.in: Regenerate.
433 * configure: Regenerate.
434 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
435 * config/io/basic_file_stdio.cc: Guard unistd.h.
436 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
437 * include/c_std/std_cwchar.h: Same.
438 * include/c_std/std_cwctype.h: Same.
440 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
443 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
444 * config/locale/generic/ctype_members.cc: Same.
445 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
446 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
448 * config/os/generic/ctype_inline.h: Update.
450 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
452 * src/Makefile.am (version_dep): New variable.
453 (libstdc___la_DEPENDENCIES): Use it to add dependency on
454 libstdc++-symbol.ver only when using symbol versioning.
455 * src/Makefile.in: Regenerate.
457 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
459 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
460 * testsuite/testsuite_hooks.h: Same.
461 * testsuite/*/*.cc: Same.
463 2003-09-22 Petur Runolfsson <peturr02@ru.is>
465 * include/bits/istream.tcc (basic_istream::read,
466 basic_istream::readsome, basic_istream::putback,
467 basic_istream::unget, operator>>(basic_istream, CharT)):
468 Avoid redundant setstate(failbit) calls when sentry::operator bool()
471 2003-09-22 Carlo Wood <carlo@alinoe.com>
474 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
475 char const*, int, int)): Remove unused identifier
476 cv_qualifier for overloaded constructor.
478 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
481 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
482 WARN_FLAGS, remove -Wno-format.
483 * aclocal.m4: Regenerate.
484 * configure: Regenerate.
486 2003-09-18 Petur Runolfsson <peturr02@ru.is>
488 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
489 * config/io/basic_file_stdio.h: Same.
490 * include/std/std_fstream.h (__ctype_type): Delete.
491 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
493 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
496 * configure.host (abi_baseline_pair): Error out on solaris2
497 configurations without a minor version number.
499 2003-09-13 Phil Edwards <phil@codesourcery.com>
501 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
503 * docs/doxygen/user.cfg.in: And here.
505 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
506 Andreas Jaeger <aj@suse.de>
509 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
510 abi_check if cross compiling.
511 * aclocal.m4: Regenerated.
512 * configure: Regenerated.
514 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
516 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
517 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
518 (__cxa_vec_new3): Likewise.
520 2003-09-10 Petur Runolfsson <peturr02@ru.is>
522 * include/bits/fstream.tcc (basic_filebuf::seekoff):
523 Use codecvt::length to handle variable-width stateless encodings
525 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
526 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
528 2003-09-10 Alan Modra <amodra@bigpond.net.au>
530 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
533 2003-09-09 Alan Modra <amodra@bigpond.net.au>
535 * configure: Regenerate.
537 2003-09-09 David Edelsohn <edelsohn@gnu.org>
539 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
540 qualifier from _S_synced_with_stdio.
542 2003-09-09 Bernardo Innocenti <bernie@develer.com>
544 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
546 2003-09-04 Petur Runolfsson <peturr02@ru.is>
549 * include/bits/fstream.tcc
550 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
551 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
552 _M_ext_buf_size, _M_ext_next and _M_ext_end.
553 (basic_filebuf::underflow): Handle variable-width stateless
554 encodings (codecvt::encoding() == 0), including UTF-8.
555 * include/std/std_fstream.h (basic_filebuf):
556 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
557 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
558 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
559 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
560 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
561 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
562 * testsuite/27_io/objects/wchar_t/12.cc: New test.
563 * testsuite/27_io/objects/wchar_t/13.cc: New test.
565 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
567 * docs/html/faq/index.html: Note that a namespace alias can't be
568 used when specialising templates in extension namespace.
569 * docs/html/faq/index.txt: Regenerate.
571 2003-09-03 Petur Runolfsson <peturr02@ru.is>
574 * include/ext/stdio_sync_filebuf.h
575 (stdio_sync_filebuf::_M_unget_buf): Declare it.
576 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
577 (stdio_sync_filebuf::uflow): Store the returned character in
579 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
580 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
581 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
582 _M_unget_buf, if any, else eof().
583 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
584 _M_unget_buf, if any, else eof().
585 * testsuite/27_io/objects/char/12048.cc: Rename to...
586 * testsuite/27_io/objects/char/12048-1.cc: ...this.
587 * testsuite/27_io/objects/char/12048-2.cc: New test.
588 * testsuite/27_io/objects/char/12048-3.cc: New test.
589 * testsuite/27_io/objects/char/12048-4.cc: New test.
590 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
591 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
592 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
593 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
594 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
595 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
596 * testsuite/ext/stdio_sync_filebuf_char.cc
597 (test02, test03, test04, test05): New tests.
598 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
599 (test02, test03, test04, test05): New tests.
601 2003-09-03 Petur Runolfsson <peturr02@ru.is>
603 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
604 stringbuf or strstreambuf. Fix typos.
606 2003-09-02 Phil Edwards <phil@codesourcery.com>
608 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
610 * config.h.in: Add _GLIBCXX_HOSTED.
611 * libsupc++/eh_term_handler.cc: Test it here; initialize
612 __terminate_handler to std::abort if freestanding.
613 * aclocal.m4, configure: Regenerated.
614 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
616 2003-08-29 Nathan Myers <ncm@cantrip.org>
619 * include/bits/locale_facets.tcc (__pad): delete dead code.
621 2003-08-28 Alan Modra <amodra@bigpond.net.au>
623 * configure.ac: Test $with_cross_host against $build_alias, not $build.
624 * configure: Regenerate.
626 2003-08-27 Petur Runolfsson <peturr02@ru.is>
628 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
629 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
631 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
633 * Makefile.am: Remove trailing whitespace. Remove needless
634 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
635 * include/Makefile.am: Likewise.
636 * libmath/Makefile.am: Likewise.
637 * libsupc++/Makefile.am: Likewise.
638 * po/Makefile.am: Likewise.
639 * src/Makefile.am: Likewise.
640 * testsuite/Makefile.am: Likewise.
642 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
643 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
644 testsuite/Makefile.in: Regenerated.
646 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
648 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
650 * aclocal.m4, configure: Regenerate.
652 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
654 * acinclude.m4: Include no-executables.m4.
655 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
656 * aclocal.m4: Regenerated.
657 * configure: Regenerated.
659 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
661 * acinclude.m4: Don't call AC_ISC_POSIX.
662 * aclocal.m4: Regenerated.
663 * configure: Regenerated.
665 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
667 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
668 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
669 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
670 used elsewhere in this file.
671 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
672 * configure.ac: ...called here to expand all conditionals.
673 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
674 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
675 (install-freestanding-headers): New target, a subset of
676 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
678 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
679 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
680 src/Makefile.in, testsuite/Makefile.in: Regenerated.
682 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
684 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
685 pathnames from generated tag file.
687 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
689 * Makefile.am: Add comment.
690 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
692 * configure.ac: Use them both here, instead of hardcoded lists.
694 * fragment.am: Add STAMP varaible.
695 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
697 (stamp-*): Move file creation rule outside of 'if' branches to
698 ensure the stamp-* files are actually updated. Use $(STAMP).
699 * src/Makefile.am: Remove now-nonexistant variable.
700 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
702 * po/Makefile.am: Include same fragment as all the others.
704 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
705 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
707 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
709 * testsuite/data/cin_unget-1.txt: New.
710 * testsuite/27_io/objects/char/12048.cc: New.
712 2003-08-25 Zack Weinberg <zack@codesourcery.com>
714 * config/os/hpux/os_defines.h: Unconditionally define
715 _GLIBCXX_GTHREAD_USE_WEAK to 0.
717 2003-08-19 Geoffrey Keating <geoffk@apple.com>
719 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
720 crosses to Darwin targets.
721 * configure: Regenerate.
723 2003-08-19 Petur Runolfsson <peturr02@ru.is>
725 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
727 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
729 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
730 in the patch from 3 minutes ago. Boy, is my face red.
731 * configure: At least I remembered to regenerate this.
733 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
735 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
736 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
737 things from the top level.
738 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
739 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
740 (currently unused). Strip the fake-VPATH shell fragment from
741 automake-generated rules, if present.
742 * linkage.m4: Add comment.
744 * fragment.am: New file, containing factored-out common settings.
745 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
746 * Makefile.am: Include fragment.am. Remove common variables.
747 * include/Makefile.am: Likewise.
748 * libmath/Makefile.am: Likewise.
749 * libsupc++/Makefile.am: Likewise.
750 * po/Makefile.am: Likewise. Print rules during check.
751 * src/Makefile.am: Likewise.
752 * testsuite/Makefile.am: Likewise.
754 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
755 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
756 src/Makefile.in, testsuite/Makefile.in: Regenerate.
758 2003-08-11 John Levon <levon@movementarian.org>
760 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
761 remaining places for the name change from GLIBCPP_FORCE_NEW
764 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
766 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
768 * include/bits/basic_ios.tcc: Same.
769 * include/bits/istream.tcc: Same.
770 * include/bits/locale_facets.h: Same.
771 * include/bits/ostream.tcc: Same.
772 * include/std/std_istream.h: Same.
773 * include/std/std_ostream.h: Same.
774 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
776 * include/ext/rope: Remove build warning.
778 2003-08-11 Andreas Jaeger <aj@suse.de>
780 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
782 * include/Makefile.in: Regenerated.
784 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
786 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
787 when calling AC_PROG_CC.
788 * aclocal.m4, configure: Regenerate.
790 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
792 * acinclude.m4: Properly quote variable which will be expanded
793 inside makefiles. Use CXX instead of CC to extract compiler info.
794 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
795 correct form in PACKAGE.
796 * aclocal.m4, configure: Regenerate.
798 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
800 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
801 (check-abi-verbose): Same.
802 * testsuite/testsuite_performance.h (report_performance): Same.
804 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
806 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
808 2003-08-07 Doug Gregor <dgregor@apple.com>
810 * include/bits/char_traits.h (char_traits::not_eof): Match operand
813 2003-08-07 Bernardo Innocenti <bernie@develer.com>
816 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
817 Replace variants with new BSET-based version.
819 2003-08-07 Carlo Wood <carlo@alinoe.com>
821 * include/bits/demangle.h: Do not use cctype functions that depend
824 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
826 * configure.in: Rename...
827 * configure.ac: ...to this.
828 * docs/html/17_intro/porting.texi: Update name.
830 * docs/html/17_intro/porting.html: Regenerate.
831 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
832 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
833 testsuite/Makefile.in: Regenerate (picks up new dependancy).
835 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
837 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
838 pipe, open the window to let out the fumes, redo the option-handling
839 logic to properly execute the detection test.
840 * aclocal.m4, configure: Regenerate.
842 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
844 Convert to new autotools.
845 * acconfig.h: Update with correct names.
846 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
847 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
848 * configure.in: Update. Split hardcoded cross-configury settings
850 * crossconfig.m4: ...here. New file. Contents untouched.
851 * acinclude.m4: Reorganize and rewrite as needed. Split large
853 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
855 * scripts/testsuite_flags.in: Update.
857 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
858 variables (already generated by automake).
859 * include/Makefile.am: Ditto.
860 * libmath/Makefile.am: Ditto.
861 * libsupc++/Makefile.am: Ditto.
862 * po/Makefile.am: Ditto.
863 * src/Makefile.am: Ditto.
865 * aclocal.m4: Regenerate using new versions.
866 * config.h.in: Ditto.
868 * Makefile.in: Ditto.
869 * include/Makefile.in: Ditto.
870 * libmath/Makefile.in: Ditto.
871 * libsupc++/Makefile.in: Ditto.
872 * po/Makefile.in: Ditto.
873 * src/Makefile.in: Ditto.
874 * testsuite/Makefile.in: Ditto.
876 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
878 * po/libstdc++.pot: Re-extract/regenerate.
880 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
882 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
883 Remove unneeded variable assignments. Leave them for automake.
884 * testsuite/lib/libstdc++-v3.exp: Rename...
885 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
887 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
888 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
891 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
893 * docs/doxygen/guide.html: run_doxygen uses bash.
894 * docs/doxygen/mainpage.html: We'll be shipping tag files.
895 * docs/doxygen/run_doxygen: Tweaks and improvements.
896 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
897 * docs/html/install.html: Update autoconf/automake requirements.
898 * docs/html/test.html: Add section describing DejaGNU support.
899 * docs/html/17_intro/confdeps.dot: New file, generates...
900 * docs/html/17_intro/confdeps.png: ...this new file.
901 * docs/html/Makefile: Generated here.
902 * docs/html/17_intro/configury.html: New file.
904 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
906 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
907 * testsuite/lib/libstdc++-v3.exp: ...to this.
908 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
910 2003-07-31 Doug Gregor <dgregor@apple.com>
912 Add user specialization tests.
913 * testsuite/23_containers/deque/1.cc: New.
914 * testsuite/23_containers/list/1.cc: New.
915 * testsuite/23_containers/map/1.cc: New.
916 * testsuite/23_containers/multimap/1.cc: New.
917 * testsuite/23_containers/multiset/1.cc: New.
918 * testsuite/23_containers/set/1.cc: New.
919 * testsuite/23_containers/vector/1.cc: New.
921 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
923 Reshuffle 23_containers testsuite.
924 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
925 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
926 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
927 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
928 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
929 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
930 vector_resize.cc: Split into...
931 * 23_containers/bitset/cons/1.cc: New.
932 * 23_containers/bitset/cons/6282.cc: New.
933 * 23_containers/bitset/count/6124.cc: New.
934 * 23_containers/bitset/operations/1.cc: New.
935 * 23_containers/bitset/operations/2.cc: New.
936 * 23_containers/bitset/test/1.cc: New.
937 * 23_containers/bitset/to_ulong/1.cc: New.
938 * 23_containers/deque/cons/1.cc: New.
939 * 23_containers/deque/cons/2.cc: New.
940 * 23_containers/deque/operators/1.cc: New.
941 * 23_containers/list/capacity/1.cc: New.
942 * 23_containers/list/cons/1.cc: New.
943 * 23_containers/list/cons/2.cc: New.
944 * 23_containers/list/cons/3.cc: New.
945 * 23_containers/list/cons/4.cc: New.
946 * 23_containers/list/cons/5.cc: New.
947 * 23_containers/list/cons/6.cc: New.
948 * 23_containers/list/cons/7.cc: New.
949 * 23_containers/list/cons/8.cc: New.
950 * 23_containers/list/cons/9.cc: New.
951 * 23_containers/list/modifiers/1.cc: New.
952 * 23_containers/list/modifiers/2.cc: New.
953 * 23_containers/list/modifiers/3.cc: New.
954 * 23_containers/list/operators/1.cc: New.
955 * 23_containers/list/operators/2.cc: New.
956 * 23_containers/list/operators/3.cc: New.
957 * 23_containers/list/operators/4.cc: New.
958 * 23_containers/map/insert/1.cc: New.
959 * 23_containers/map/operators/1.cc: New.
960 * 23_containers/map/operators/1_neg.cc: New.
961 * 23_containers/multiset/insert/1.cc: New.
962 * 23_containers/priority_queue/members/7161.cc: New.
963 * 23_containers/queue/members/7157.cc: New.
964 * 23_containers/set/operators/1_neg.cc: New.
965 * 23_containers/stack/members/7158.cc: New.
966 * 23_containers/vector/bool/1.cc: New.
967 * 23_containers/vector/bool/6886.cc: New.
968 * 23_containers/vector/capacity/1.cc: New.
969 * 23_containers/vector/capacity/2.cc: New.
970 * 23_containers/vector/capacity/8230.cc: New.
971 * 23_containers/vector/cons/1.cc: New.
972 * 23_containers/vector/cons/2.cc: New.
973 * 23_containers/vector/cons/3.cc: New.
974 * 23_containers/vector/cons/4.cc: New.
975 * 23_containers/vector/cons/6513.cc: New.
976 * 23_containers/vector/element_access/1.cc: New.
977 * 23_containers/vector/modifiers/1.cc: New.
978 * 23_containers/vector/modifiers/2.cc: New.
979 * 23_containers/vector/resize/1.cc: New.
981 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
983 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
985 * testsuite/thread/pthread2.cc: Likewise.
986 * testsuite/thread/pthread3.cc: Likewise.
987 * testsuite/thread/pthread4.cc: Likewise.
988 * testsuite/thread/pthread5.cc: Likewise.
989 * testsuite/thread/pthread6.cc: Likewise.
990 * testsuite/thread/pthread7-rope.cc: Likewise.
992 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
994 * include/bits/c++config: Partial reversion (comment placement) of
997 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
999 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
1000 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
1001 (_GLIBCXX_AT_AT): Remove.
1002 (__USE_MALLOC): Remove.
1003 * include/std/std_fstream.h: Modify.
1004 * include/bits/basic_ios.h: Same.
1005 * include/bits/valarray_array.h: Same.
1006 * include/c_std/std_cmath.h: Same.
1007 * include/c_std/cmath.tcc: Same.
1008 * include/std/std_vector.h: Same.
1009 * include/std/std_string.h: Same.
1010 * include/std/std_stack.h: Same.
1011 * include/std/std_queue.h: Same.
1012 * include/std/std_list.h: Same.
1013 * include/std/std_deque.h: Same.
1014 * include/std/std_streambuf.h: Same.
1015 * include/std/std_sstream.h: Same.
1016 * include/std/std_ostream.h: Same.
1017 * include/std/std_istream.h: Same.
1018 * include/bits/valarray_array.tcc: Same, format.
1020 * include/c/std_cctype.h: Fix include guards.
1021 * include/c/std_cerrno.h: Same.
1022 * include/c/std_cfloat.h: Same.
1023 * include/c/std_climits.h: Same.
1024 * include/c/std_clocale.h: Same.
1025 * include/c/std_cmath.h: Same.
1026 * include/c/std_csetjmp.h: Same.
1027 * include/c/std_csignal.h: Same.
1028 * include/c/std_cstdarg.h: Same.
1029 * include/c/std_cstddef.h: Same.
1030 * include/c/std_cstdio.h: Same.
1031 * include/c/std_cstdlib.h: Same.
1032 * include/c/std_cstring.h: Same.
1033 * include/c/std_ctime.h: Same.
1034 * include/c/std_cwchar.h: Same.
1035 * include/c/std_cwctype.h: Same.
1036 * include/c_std/cmath.tcc: Same.
1037 * include/c_std/std_cmath.h: Same.
1039 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
1042 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1043 casts. Changes to avoid casting away constness. Eliminate
1044 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1045 initialization lists. Move out implementation of __black_count()
1047 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1048 Rename_Rb_tree_base_iterator::_M_increment() to
1049 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1051 * config/linker-map.gnu: Add and change symbols here.
1053 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1055 * docs/html/22_locale/howto.html: Use locale::classic() instead
1058 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1060 * testsuite/testsuite_hooks.h: Remove list include.
1061 (func_callback): Define as unique type, not std::list.
1062 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1063 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1064 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1065 * testsuite/23_containers/bitset_ctor.cc:
1066 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1067 * testsuite/18_support/numeric_limits.cc: Same.
1068 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1069 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1070 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1071 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1072 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1073 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1074 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1075 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1076 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1077 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1078 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1079 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1080 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1081 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1082 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1083 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1084 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1085 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1086 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1087 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1088 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1089 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1090 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1091 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1092 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1093 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1094 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1095 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1096 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1097 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1098 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1099 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1100 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1101 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1102 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1103 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1104 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1105 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1106 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1107 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1108 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1109 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1110 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1111 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1112 * testsuite/23_containers/bitset_ctor.cc: Same.
1113 * testsuite/23_containers/bitset_shift.cc: Same.
1114 * testsuite/23_containers/vector_ctor.cc: Same.
1115 * testsuite/23_containers/vector_element_access.cc: Same.
1116 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1117 * testsuite/24_iterators/iterator.cc: Same.
1118 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1119 * testsuite/25_algorithms/lower_bound.cc: Same.
1120 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1121 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1122 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1123 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1124 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1125 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1126 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1127 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1128 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1129 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1130 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1133 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1135 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1136 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1137 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1138 GLIBCPP to GLIBCXX (and explain as needed).
1140 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1144 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1146 * testsuite/22_locale/messages/members/char/1.cc,
1147 testsuite/22_locale/messages/members/char/2.cc,
1148 testsuite/22_locale/messages/members/char/3.cc,
1149 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1150 the origin of LOCALEDIR.
1151 * testsuite/lib/libstdc++-v3.exp: New file.
1153 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1155 * include/bits/char_traits.h: Update copyright, tweak.
1156 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1159 2003-07-24 Matt Austern <austern@apple.com>
1161 * /include/bits/char_traits.h (class char_traits): Put all the
1162 real work into the new class template __gnu_cxx::char_traits.
1163 Gave generic definitions for member functions. Types are taken
1164 from the new class template __gnu_cxx::_Char_types.
1165 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1166 file. Test of std::char_traits<short>, which serves as a test of
1167 the char_traits primary template.
1169 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1171 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1173 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1175 * testsuite/23_containers/map_operators.cc: Conform to
1176 container requirement as value must be Assignable.
1178 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1180 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1181 tests not only generation of pch files, but also their use.
1182 * aclocal.m4, configure: Rebuilt.
1184 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1186 * config/cpu/hppa/atomicity.h: Change
1187 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1188 to match misc-inst.cc
1190 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1192 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1193 * include/c_std/std_cctype.h: Ditto.
1194 * include/c_std/std_cerrno.h: Ditto.
1195 * include/c_std/std_cfloat.h: Ditto.
1196 * include/c_std/std_climits.h: Ditto.
1197 * include/c_std/std_clocale.h: Ditto.
1198 * include/c_std/std_cmath.h: Ditto.
1199 * include/c_std/std_csetjmp.h: Ditto.
1200 * include/c_std/std_csignal.h: Ditto.
1201 * include/c_std/std_cstdarg.h: Ditto.
1202 * include/c_std/std_cstddef.h: Ditto.
1203 * include/c_std/std_cstdio.h: Ditto.
1204 * include/c_std/std_cstdlib.h: Ditto.
1205 * include/c_std/std_cstring.h: Ditto.
1206 * include/c_std/std_ctime.h: Ditto.
1207 * include/c_std/std_cwchar.h: Ditto.
1208 * include/c_std/std_cwctype.h: Ditto.
1209 * include/std/std_algorithm.h: Ditto.
1210 * include/std/std_bitset.h: Ditto.
1211 * include/std/std_complex.h: Ditto.
1212 * include/std/std_deque.h: Ditto.
1213 * include/std/std_fstream.h: Ditto.
1214 * include/std/std_functional.h: Ditto.
1215 * include/std/std_iomanip.h: Ditto.
1216 * include/std/std_ios.h: Ditto.
1217 * include/std/std_iosfwd.h: Ditto.
1218 * include/std/std_iostream.h: Ditto.
1219 * include/std/std_istream.h: Ditto.
1220 * include/std/std_iterator.h: Ditto.
1221 * include/std/std_limits.h: Ditto.
1222 * include/std/std_list.h: Ditto.
1223 * include/std/std_locale.h: Ditto.
1224 * include/std/std_map.h: Ditto.
1225 * include/std/std_memory.h: Ditto.
1226 * include/std/std_numeric.h: Ditto.
1227 * include/std/std_ostream.h: Ditto.
1228 * include/std/std_queue.h: Ditto.
1229 * include/std/std_set.h: Ditto.
1230 * include/std/std_sstream.h: Ditto.
1231 * include/std/std_stack.h: Ditto.
1232 * include/std/std_stdexcept.h: Ditto.
1233 * include/std/std_streambuf.h: Ditto.
1234 * include/std/std_string.h: Ditto.
1235 * include/std/std_utility.h: Ditto.
1236 * include/std/std_valarray.h: Ditto.
1237 * include/std/std_vector.h: Ditto.
1239 2003-07-22 Doug Gregor <dgregor@apple.com>
1241 * include/bits/basic_string.h (basic_string::insert): Deprecate
1244 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1246 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1248 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1249 (test03): Include typeinfo for bad_cast.
1250 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1251 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1252 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1254 2003-07-21 Doug Gregor <dgregor@apple.com>
1256 * include/bits/boost_concept_check.h:
1257 (_EqualityComparableConcept::__constraints): Remove != from the
1258 list of constraints; it is not listed in Table 28 of the C++98
1261 2003-07-18 Andreas Jaeger <aj@suse.de>
1263 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1264 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1265 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1266 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1268 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1270 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1271 * config/locale/generic/messages_members.h: Tweaks.
1272 * config/locale/generic/monetary_members.cc
1273 (moneypunct::_M_initialize_moneypunct): Use cache.
1274 (moneypunct::~moneypunct): Delete cache.
1275 * config/locale/generic/time_members.cc:
1276 (__timepunct::_M_initialize_timepunct): Use cache.
1277 * config/locale/generic/time_members.h:
1278 (__timepunct::~__timepunct): Delete cache.
1279 (__timepunct::__timepunct): Set cache.
1280 * config/locale/gnu/messages_members.h: Tweaks.
1281 * config/locale/gnu/monetary_members.cc:
1282 (moneypunct::_M_initialize_moneypunct): Use cache.
1283 (moneypunct::~moneypunct): Delete cache.
1284 * config/locale/gnu/time_members.cc:
1285 (__timepunct::_M_initialize_timepunct): Use cache.
1286 * config/locale/gnu/time_members.h:
1287 (__timepunct::~__timepunct): Delete cache.
1288 (__timepunct::__timepunct): Set cache.
1289 * include/bits/locale_facets.h (__timepunct_cache): New.
1290 (__moneypunct_cache): New.
1291 * include/bits/locale_facets.tcc: Tweak.
1292 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1293 * src/locale-inst.cc: Instantiate caches.
1294 * src/globals.cc: Add "C" caches.
1295 * src/localename.cc: Use external "C" caches.
1297 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1299 * docs/doxygen/guide.html: Fix typo.
1301 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1303 * include/ext/pod_char_traits.h: Add state template argument.
1305 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1307 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1308 (num_get::_M_convert_int): To _M_insert_int.
1309 (num_get::_M_convert_float): To _M_insert_float.
1310 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1311 Use caches for ctype, num_get.
1312 (num_get::_M_extract_int): Same.
1313 (num_get::get(bool)): Same.
1314 (__verify_grouping): Use size_t.
1315 * src/locale-inst.cc: Update.
1316 * src/locale.cc: Adjust _S_atoms_in.
1318 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1320 * docs/doxygen/mainpage.html: Move building/writing instructions...
1321 * docs/doxygen/guide.html: ...to here. New file.
1323 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1325 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1326 * docs/html/faq/index.html: Same.
1327 * docs/html/faq/index.txt: Regenerate.
1329 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1332 * include/bits/locale_facets.tcc (money_get::do_get):
1333 Strip only _leading_ zeros.
1334 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1335 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1337 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1339 * include/ext/hash_map (class hash_multimap): Remove extra
1340 semicolons from __glibcxx_class_requires3 entries.
1341 * include/ext/hash_set (class hash_set): Ditto.
1342 (class hash_multiset): Ditto.
1344 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1346 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1347 Change last parameter from int_type to size_t.
1349 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1351 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1352 set_difference, set_symmetric_difference, max_element, min_element,
1353 next_permutation, prev_permutation, find_first_of, find_end):
1355 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1356 restrictions in docs.
1357 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1359 * docs/doxygen/doxygroups.cc (setoperations): New group.
1361 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1363 * include/bits/basic_string.h: Document public functions.
1364 * docs/doxygen/TODO: Update c21 todo.
1366 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1368 * include/bits/stl_list.h: Document more functions.
1369 * docs/doxygen/TODO: Update c23 todo.
1371 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1373 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1376 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1378 * include/bits/stl_tempbuf.h: Qualify free with std::.
1379 * src/locale.cc: Include <cstdlib>, qualify getenv.
1381 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1383 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1384 <cstdio>. Qualify names.
1385 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1387 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1388 Nathan C. Myers <ncm-nospam@cantrip.org>
1391 * include/std/std_fstream.h (xsputn): Declare only.
1392 * include/bits/fstream.tcc (xsputn): Define, optimize for the
1393 always_noconv() case: when __n is sufficiently large flush
1394 the buffer and issue a direct write, if possible combining the
1395 two with writev in __basic_file<>::xsputn_2.
1396 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1398 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1400 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1401 the availability of writev in <sys/uio.h>.
1402 * configure.in: Call here.
1403 * acconfig.h: Add undef for the corresponding symbol.
1404 * aclocal.m4: Regenerate.
1405 * configure: Regenerate.
1406 * config.h.in: Regenerate.
1407 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1409 * include/std/std_fstream.h (sync): Constify a variable.
1411 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1413 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1414 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1416 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1418 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1419 <cstring> and <cstdlib>. Qualify names.
1421 2003-07-13 Mark Mitchell <mark@codesourcery.com>
1423 * config/locale/generic/c_locale.h: Include <cstdlib> and
1425 * include/bits/boost_concept_check.h: Add this-> to unqualified
1427 * include/bits/deque.tcc: Likewise.
1428 * include/bits/locale_facets.h : Likewise.
1429 * include/bits/ostream.tcc: Likewise.
1430 * include/bits/stl_algo.h: Likewise.
1431 * include/bits/stl_bvector.h: Likewise.
1432 * include/bits/stl_deque.h: Likewise.
1433 * include/bits/stl_list.h: Likewise.
1434 * include/bits/stl_tree.h: Likewise.
1435 * include/bits/stl_vector.h: Likewise.
1436 * include/bits/vector.tcc: Likewise.
1437 * include/ext/rope: Likewise.
1438 * include/ext/ropeimpl.h: Likewise.
1439 * include/ext/stdio_filebuf.h: Likewise.
1441 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
1443 * include/bits/basic_ios.h (copyfmt): Document.
1444 * include/bits/ios_base.h (event, event_callback, register_callback,
1445 xalloc, iword, pword): Document.
1446 (imbue, ~ios_base): Update docs on callbacks.
1448 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
1450 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1451 warning messages if the environment cannot support symbol versioning.
1452 (port_specific_symbol_file): It's plural, add an 's' on the end.
1453 * configure.host: Likewise.
1454 * src/Makefile.am: Likewise.
1455 * config/linker-map.gnu: Remove one semicolon, heh.
1456 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1457 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1458 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1460 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1462 * include/bits/locale_facets.tcc: Use function object for
1463 __use_cache instead of template function. Partially specialize for
1465 * include/bits/locale_classes.h: Update friend declaration for
1467 (_M_install_cache): No throw exception specs.
1468 * src/locale.cc: Remove __use_cache specializations.
1469 * include/ext/pod_char_traits.h (length): Tweak.
1470 * include/bits/locale_facets.h (__numpunct_cache): Remove
1472 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1474 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1475 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1476 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1477 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1478 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1479 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
1481 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
1483 * src/ios.cc (_M_grow_words): Fix spelling.
1485 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
1487 * include/bits/stl_tree.h: Move larger member functions in
1488 _Rb_tree_base_iterator and _Rb_tree_node to...
1489 * src/stl_tree.cc: Here.
1490 * src/Makefile.in: Add stl_tree.cc.
1491 * src/Makefile.in: Regenerated.
1492 * config/linker-map.gnu: Add symbols here.
1494 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1496 * testsuite/ext/pod_char_traits.cc: New.
1497 * include/ext/pod_char_traits.h: New.
1498 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1499 * include/Makefile.in: Regenerate.
1500 * docs/html/21_strings/howto.html: Update.
1502 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
1504 * testsuite/performance/list_create_fill_sort.cc: New.
1506 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1508 * config/locale/generic/numeric_members.cc: Correct type info.
1509 * config/locale/gnu/numeric_members.cc: Same.
1510 * include/bits/locale_facets.h: Same.
1512 * include/bits/char_traits.h: Correct spacing.
1514 * src/locale.cc: Wrap to 80 col.
1516 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
1518 * include/std/std_complex.h: Partially revert last
1519 changes: cmath functions must not be qualified.
1521 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1523 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1524 2.11 with globbing backport fix.
1525 * aclocal.m4, configure: Regenerated.
1527 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1529 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1530 if output is at all possible (!_M_reading), cannot be active.
1532 * include/std/std_fstream.h: Tweak comments to doxygen style.
1534 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1536 * include/bits/locale_classes.h: Fully qualify standard
1537 functions with std::, thus avoiding Koenig lookup.
1538 * include/bits/locale_facets.tcc: Likewise.
1539 * src/locale.cc: Likewise.
1540 * src/localename.cc: Likewise.
1542 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1544 * include/bits/allocator_traits.h: Fix doxygen markup.
1545 * include/ext/mt_allocator.h: Likewise.
1547 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1549 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1551 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1553 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1554 requirement. Add port_specific_symbol_file variable.
1555 * configure.host: Add docs for port_specific_symbol_file.
1556 Clean up try_cpu block for x86.
1557 * config/linker-map.gnu: No more "last symbol can't have a
1558 semicolon" kaka. Add hook for port-specific symbols.
1559 * src/Makefile.am: Remove trailing whitespace.
1560 (libstdc++-symbol.ver): Detect the presence of port-specific
1561 symbols, and add them accordingly.
1563 * docs/html/17_intro/porting.texi: Bring up to date.
1565 * src/Makefile.in, aclocal.m4, configure,
1566 docs/html/17_intro/porting.html: Regenerated.
1568 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1570 * scripts/create_testsuite_files: New file.
1571 * testsuite/Makefile.am (all-local, check-performance): Use it.
1572 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1573 * testsuite/Makefile.in: Regenerated.
1575 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1577 * testsuite/performance/fstream_seek_write.cc: Likewise.
1578 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1579 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1580 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1582 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1584 * include/bits/stl_list.h: Performance and memory usage
1585 improvements. In particular, the behaviour of the constructor and
1586 destructor as the list header node is no longer dynamically
1587 allocated/de-allocated.
1588 * include/bits/list.tcc: Likewise.
1590 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1592 * include/std/std_complex.h: Fully qualify standard
1593 functions with std::, thus avoiding Koenig lookup.
1594 * include/std/std_memory.h: Likewise.
1595 * include/std/std_valarray.h: Likewise.
1597 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1599 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
1600 variable for grandparent and use const
1602 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1604 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1605 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1606 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1607 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1608 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1609 * testsuite/27_io/objects/char/7.cc: Ditto
1610 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1612 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1614 * include/std/std_bitset.h: Fully qualify standard
1615 functions with std::, thus avoiding Koenig lookup.
1617 * include/std/std_fstream.h: Change comment to doxygen style.
1619 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1621 * include/std/std_limits.h: More CPP->CXX changes.
1622 * scripts/check_survey.in: Likewise.
1624 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1626 Move from CPP to CXX.
1627 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1628 * testsuite/Makefile.am: Same.
1629 * testsuite/Makefile.in: Regenerate.
1630 * po/Makefile.am: Same.
1631 * po/Makefile.in: Regenerate.
1632 * libsupc++/Makefile.am: Same.
1633 * libsupc++/Makefile.in: Regenerate.
1634 * libmath/Makefile.am: Same.
1635 * libmath/Makefile.in: Regenerate.
1636 * include/Makefile.am: Same.
1637 * include/Makefile.in: Regenerate.
1638 * src/Makefile.am: Same.
1639 * src/Makefile.in: Regenerate.
1641 * configure.host: Same.
1642 * configure.in: Same.
1643 * configure: Regenerate.
1644 * acinclude.m4: Same.
1646 * src: Change all files in this directory.
1648 * include: Same, standardize include guards.
1652 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1654 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1655 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1656 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1657 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1658 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1659 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1660 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1661 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1662 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1663 XFAIL on all targets.
1665 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1667 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1668 * aclocal.m4: Regenerate.
1669 * configure: Regenerate.
1671 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
1673 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1676 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1677 Petur Runolfsson <peturr02@ru.is>
1679 * config/io/basic_file_stdio.cc: Revert.
1681 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1683 * include/bits/deque.tcc: Fully qualify standard
1684 functions with std::, thus avoiding Koenig lookup.
1685 * include/bits/gslice_array.h: Likewise.
1686 * include/bits/indirect_array.h: Likewise.
1687 * include/bits/list.tcc: Likewise.
1688 * include/bits/mask_array.h: Likewise.
1689 * include/bits/slice_array.h: Likewise.
1691 2003-07-04 Gawain Bolton <gbolton@free.fr>
1693 * include/bits/stl_tree.h: Performance and memory usage
1696 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1698 * Makefile.am: Replace PWD with PWD_COMMAND.
1699 * Makefile.in: Regenerated.
1700 * docs/html/Makefile: Likewise.
1702 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1704 * include/bits/valarray_array.h: Fully qualify standard
1705 functions with std::, thus avoiding Koenig lookup.
1706 * include/bits/vector.tcc: Likewise.
1708 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1710 * include/Makefile.am: Update target_ to host_.
1711 * include/Makefile.in: Regenerate.
1712 * src/Makefile.am: Same.
1713 * src/Makefile.in: Regenerate.
1715 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1717 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1719 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1720 --enable-libstdcxx-debug-flags.
1721 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1722 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1723 * aclocal.m4: Regenerate.
1725 * docs/html/configopts.html: Update.
1727 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1729 Revert the fix for libstdc++/11378.
1731 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1734 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1735 provided always_noconv(), issue directly _M_file.xsputn.
1736 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1738 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1740 * include/bits/stl_list.h: Fully qualify standard
1741 functions with std::, thus avoiding Koenig lookup.
1742 * include/bits/stl_queue.h: Likewise.
1743 * include/bits/stl_raw_storage_iter.h: Likewise.
1744 * include/bits/stl_tempbuf.h: Likewise.
1745 * include/bits/stl_tree.h: Likewise.
1746 * include/bits/stl_uninitialized.h: Likewise.
1747 * include/bits/stl_vector.h: Likewise.
1748 * include/ext/rope: Change includes order.
1750 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1752 * configure.host (fpos_include_dir): Fix.
1754 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1756 * include/bits/stl_heap.h: Fully qualify standard
1757 functions with std::, thus avoiding Koenig lookup.
1758 * include/bits/stl_iterator_base_funcs.h: Likewise.
1760 * include/bits/stl_algo.h: Qualify __iterator_category too.
1761 * include/bits/stl_algobase.h: Likewise.
1762 * include/bits/stl_bvector.h: Likewise.
1764 * include/bits/stl_algo.h: Don't qualify the pair type.
1766 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1768 * include/Makefile.am (target_headers): Add fpos.h
1769 (bits_headers): Remove.
1770 * include/Makefile.in: Regenerate.
1771 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1772 * configure: Regenerate.
1773 * configure.host: Add fpos_include_dir.
1774 * config/os/gnu-linux/fpos.h: New.
1775 * config/os/generic/fpos.h: Add.
1776 * include/bits/fpos.h: Remove.
1778 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1780 * include/bits/fstream.tcc: Tweaks.
1781 * include/std/std_fstream.h: Same.
1783 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1784 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1785 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1786 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1787 * testsuite/27_io/fpos/1.cc: New.
1789 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1790 Petur Runolfsson <peturr02@ru.is>
1792 * include/std/std_streambuf.h: Remove _M_pos.
1793 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1794 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1795 use fread/fwrite instead of read/write.
1796 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1797 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1798 before reading again.
1799 * testsuite/27_io/objects/char/6.cc: Tweak.
1801 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1803 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1804 _GLIBCPP_USE_WCHAR_T.
1806 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1808 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1811 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1813 * include/bits/stl_bvector.h: Fully qualify standard
1814 functions with std::, thus avoiding Koenig lookup.
1815 * include/bits/stl_construct.h: Likewise.
1816 * include/bits/stl_deque.h: Likewise.
1818 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1820 * testsuite/22_locale/num_put/put/char/7.cc: Include
1821 <testsuite_hooks.h>, tweak.
1822 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1824 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
1826 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1827 check* targets, but not libs/programs).
1828 * testsuite/Makefile.in: Regenerate.
1830 2003-07-01 Roger Sayle <roger@eyesopen.com>
1832 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1833 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1834 * aclocal.m4: Regenerate.
1835 * configure: Regenerate.
1837 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1839 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1840 * aclocal.m4: Regenerated.
1841 * configure: Regenerated.
1843 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
1846 * include/bits/fstream.tcc (underflow): For encoding() == 0
1847 don't read more than __buflen chars.
1848 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1849 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1850 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1851 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1853 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
1855 * 22_locale/num_put/put/char/7.cc: New.
1856 * 22_locale/num_put/put/wchar_t/7.cc: New.
1858 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1860 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1861 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1863 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1865 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1866 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1867 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1868 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1869 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1870 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1871 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1872 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1873 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1874 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1875 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1876 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1877 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1878 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1879 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1880 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1881 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1882 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1883 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1884 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1885 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1886 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1887 * data/seekoff-1.tst: Remove.
1888 * data/seekoff-1io.tst: New.
1889 * data/seekoff-1out.tst: New.
1890 * data/seekoff-2.tst: Remove.
1891 * data/seekoff-2io.tst: New.
1892 * data/seekoff-2out.tst: New.
1894 * data/seekpos-1.tst: Remove.
1895 * data/seekpos-1io.tst: New.
1896 * data/seekpos-1out.tst: New.
1897 * data/seekpos-2.tst: Remove.
1898 * data/seekpos-2io.tst: New.
1899 * data/seekpos-2out.tst: New.
1900 * data/seekpos.txt: New.
1902 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1904 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1905 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1908 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1910 * include/bits/stl_algobase.h: Fully qualify standard
1911 functions with std::, thus avoiding Koenig lookup.
1913 2003-06-30 Doug Gregor <dgregor@apple.com>
1915 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1916 subscripting empty string.
1918 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1920 * testsuite/Makefile.am (check-am): Do not override.
1921 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1922 * testsuite/Makefile.in: Regenerate.
1924 2003-06-30 Doug Gregor <dgregor@apple.com>
1926 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1927 Don't initialize an insert_iterator with a singular iterator.
1929 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1931 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1932 * aclocal.m4: Regenerate.
1933 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1934 GLIBCPP_ENABLE_PCH, default to yes.
1935 * configure: Regenerate.
1936 * docs/html/configopts.html: Add --enable-pch.
1938 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1940 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1941 (libstdc++-v3-init): Also set LD_RUN_PATH.
1943 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1945 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1946 from here to filebuf and stringbuf.
1947 (~basic_streambuf()): Don't set _M_mode.
1948 (basic_streambuf()): Don't set _M_mode.
1949 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1950 (~basic_filebuf()): Clean up.
1951 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1952 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1953 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1954 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1955 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1956 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1957 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1959 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1961 * include/std/std_fstream.h (_M_underflow): Remove.
1962 (uflow): Remove, inherited from streambuf.
1963 (underflow): Only declare.
1964 * include/bits/fstream.tcc (_M_underflow): Rename to
1965 underflow, to which is equivalent for __bump == false,
1967 * include/std/std_sstream.h (_M_underflow): Remove.
1968 (uflow): Remove, inherited from streambuf.
1969 (underflow): Only declare.
1970 * include/bits/sstream.tcc (_M_underflow): Rename to
1971 underflow, to which is equivalent for __bump == false,
1974 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1976 * include/bits/stl_algo.h: Fully qualify standard functions
1977 with std::, thus avoiding Koenig lookup.
1979 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1981 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1982 Improve type correctness-wise.
1983 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1985 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1987 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1990 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1992 * include/std/std_streambuf.h (uflow): According to
1993 27.5.2.4.3,p16, don't check gptr() < egptr().
1995 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
1998 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1999 (seekpos): Likewise.
2000 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
2002 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
2005 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
2007 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
2008 output name to libstdc++-v3-performance.sum.
2009 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
2010 * testsuite/Makefile.in: Regenerate.
2012 2003-06-27 Matthias Klose <doko@debian.org>
2014 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
2015 output of abi-check in libstdc++-v3-abi.sum.
2016 * testsuite/Makefile.in: Regenerate.
2018 2003-06-27 Krister Walfridsson <cato@df.lth.se>
2020 * config/os/bsd/netbsd/ctype_noninline.h
2021 (_C_ctype_): Declare.
2022 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2023 (ctype<char>::ctype): Use classic_table.
2025 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2026 Nathan C. Myers <ncm-nospam@cantrip.org>
2029 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2030 the worst-case number of external bytes for a given get area.
2031 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2033 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2034 Petur Runolfsson <peturr02@ru.is>
2037 * include/bits/fstream.tcc (overflow): Properly estimate the
2038 worst-case number of external bytes for a given put area
2039 (by using codecvt::max_length()).
2040 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2041 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2042 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2043 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2045 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2047 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2049 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2051 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2052 to the imbued locale.
2053 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2055 (num_put::_M_convert_float): Use.
2057 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2058 Jerry Quinn <jlquinn@optonline.net>
2060 * config/linker-map.gnu: Add __numpunct_cache.
2061 * config/locale/gnu/numeric_members.cc
2062 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2063 all elements for "C" locale.
2064 (numpunct::~numpunct): Delete _M_data.
2065 * config/locale/generic/numeric_members.cc: Same.
2066 * include/bits/basic_ios.tcc
2067 (basic_ios::init): Remove __locale_cache bits.
2068 (basic_ios::_M_cache_locale): Same.
2069 * include/bits/ios_base.h: Same. Tweaks.
2070 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2071 (__use_cache): Make friends with _Impl, locale.
2072 (_Impl::_M_caches): Add.
2073 (_Impl::_M_install_cache): Add.
2074 * include/bits/locale_facets.h (__numpunct_cache): New.
2075 (numpunct): Encapsulate data members in __numpunct_cache member,
2076 _M_data. Adjust virtuals.
2077 (numpunct::numpunct): New ctor for the same.
2078 (__locale_cache_base): Remove.
2079 (__locale_cache): Remove.
2080 * include/bits/locale_facets.tcc (__use_cache): New function,
2082 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2083 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2084 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2085 * src/locale-inst.cc: Same. Add __numpunct_cache.
2086 * src/locale.cc: Tweak inlines.
2087 (__use_cache): Define specializations.
2088 * src/localename.cc: Use global bits.
2089 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2090 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2091 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2092 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2093 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2095 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2096 Paolo Carlini <pcarlini@unitus.it>
2098 * testsuite/performance/filebuf_copy.cc: New, testing char
2101 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2102 Nathan C. Myers <ncm-nospam@cantrip.org>
2104 * include/bits/fstream.tcc (_M_underflow): When the actual
2105 end of file is reached, set 'uncommitted' mode to allow a
2106 next write without an intervening seek (see C++98 27.8.1.1,2
2108 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2110 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2112 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2113 sputc): Move inline, from here...
2114 * include/std/std_streambuf.h: ... to here.
2116 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2117 sputbackc, sungetc, sputc): Use __builtin_expect.
2119 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2121 * docs/doxygen/mainpage.html: Use a useful title.
2123 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2125 * docs/html/documentation.html: Remove assignment info.
2126 * docs/html/17_intro/contribute.html: Edits.
2127 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2129 * docs/html/test.html: Update.
2133 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2134 Ulrich Drepper <drepper@redhat.com>
2136 * testsuite/testsuite_performance.h: Tweak mallinfo.
2138 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2139 Nathan C. Myers <ncm-nospam@cantrip.org>
2141 * include/std/std_fstream.h (_M_filepos): Remove.
2142 (_M_reading, _M_writing): New, encode the various I/O modes:
2143 'read', 'write' and 'uncommitted'.
2144 (sync): If there is something to flush, do it, then go to
2146 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2147 with three different cases: __off > 0 (upon underflow),
2148 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2150 (_M_underflow): Don't call overflow, set _M_reading to true
2152 (pbackfail): Set _M_reading to true on pback creation, tweak.
2153 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2154 set _M_writing to true on success, tweak.
2155 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2156 _M_set_buffer(-1) ('uncommitted').
2157 (open, close, setbuf): Set _M_reading, _M_writing to false and
2158 call _M_set_buffer(-1), tweak.
2159 (basic_filebuf): Don't set _M_buf_unified.
2160 (_M_destroy_internal_buffer): Don't call setg and setp.
2161 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2162 _M_writing and _M_set_buffer(-1).
2163 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2164 _M_out_lim, _M_buf_unified): Remove.
2165 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2166 (setp): Don't set _M_out_lim.
2167 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2168 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2169 upon open the mode is 'uncommitted' and therefore the put area
2171 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2172 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2173 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2174 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2175 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2176 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2177 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2178 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2179 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2180 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2181 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2182 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2183 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2184 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2185 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2186 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2187 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2188 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2189 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2190 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2192 * include/bits/fstream.tcc (showmanyc): Use only the
2193 documented derivation interface to basic_streambuf (gptr(),
2194 setg(), etc.) to work right with user specializations.
2195 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2196 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2197 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2199 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2202 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2204 * configure.host (freebsd*): Set abi_baseline_pair.
2205 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2206 (at or near first release) to 3.3.
2207 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2208 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2209 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2211 * include/ext/mt_allocator.h: Portability.
2212 * testsuite/testsuite_performance.h: Likewise.
2214 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2216 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2218 * testsuite/performance/ifstream_getline.cc: Fix.
2220 2003-06-23 Doug Gregor <dgregor@apple.com>
2222 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2225 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2226 Nathan C. Myers <ncm-nospam@cantrip.org>
2228 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2229 is now used only for filebuf, when _M_buf_unified is true.
2230 epgtr() plays the role of _M_out_lim but it's only updated
2231 upon overflow, underflow, uflow, seekoff/pos.
2232 * include/bits/sstream.tcc (_M_underflow): New, implements
2233 stringbuf::underflow and uflow.
2234 (seekoff, seekpos): Tweak, use _M_update_egptr.
2235 * include/std/std_sstream.h (str): Rewrote, deal correctly
2236 with the new logic, in particular, when pptr() > egptr().
2237 (_M_sync): When __testout && !__testin set all the get area
2238 pointers to the current string end.
2239 (_M_update_egptr): New, internal function updating egptr()
2240 to the actual string end.
2241 (_M_underflow): New, declare.
2242 (underflow): Dispatch to _M_underflow(false).
2243 (uflow): Dispatch to _M_underflow(true).
2245 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2246 seekpos): Use only the documented derivation interface to
2247 basic_streambuf (gptr(), setg(), etc.) to work right with
2248 user specializations.
2249 * include/std/std_sstream.h (str, _M_sync): Likewise.
2251 2003-06-20 Doug Gregor <dgregor@apple.com>
2253 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2254 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2255 dereference end iterator.
2256 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2257 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2258 index equal to the length of a string.
2259 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2260 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2261 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2262 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2263 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2264 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2265 singular reverse iterator.
2266 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2268 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2270 2003-06-20 Doug Gregor <dgregor@apple.com>
2272 * include/bits/basic_string.h (basic_string::replace): Dispatch
2273 _InputIterator version based on _Is_integer.
2274 * include/bits/basic_string.tcc (basic_string::replace):
2275 Renamed replace(iterator, iterator, size_type, _CharT) to
2277 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2278 Test basic_string::assign(_InputIterator, _InputIterator),
2279 which calls basic_string::replace(iterator, iterator,
2280 _Input_iterator, _InputIterator).
2282 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2284 * testsuite/testsuite_performance.h (resource_counter): Don't use
2285 mallinfo at the moment.
2287 2003-06-20 Matthias Klose <doko@debian.org>
2289 * configure.host: Set try_cpu to target_cpu for existing
2292 2003-06-19 Andreas Jaeger <aj@suse.de>
2294 * testsuite/Makefile.am (extract_symvers): Revert accidental
2296 * testsuite/Makefile.in: Regenerate.
2298 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2299 * configure: Regenerated.
2301 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2303 * include/std/std_sstream.h (_M_sync): Make non virtual.
2305 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2307 * testsuite/testsuite_performance.h (time_counter): New.
2308 (resource_counter): New.
2309 (report_performance): New.
2310 (start_counters): New.
2311 (stop_counters): New.
2312 (clear_counters): New.
2313 * testsuite/performance/allocator.cc: Instrument.
2314 * testsuite/performance/cout_insert_int.cc: Same.
2315 * testsuite/performance/complex_norm.cc: Same.
2316 * testsuite/performance/filebuf_sputc.cc: New.
2317 * testsuite/performance/fstream_seek_write.cc: Same.
2318 * testsuite/performance/ifstream_getline.cc: Same.
2319 * testsuite/performance/map_create_fill.cc: Same.
2320 * testsuite/performance/ofstream_insert_float.cc: Same.
2321 * testsuite/performance/ofstream_insert_int.cc: Same.
2322 * testsuite/performance/string_append.cc: Convert.
2323 * scripts/check_performance: New.
2324 * testsuite/Makefile.am (check-performance): New.
2327 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2328 Benjamin Kosnik <bkoz@redhat.com>
2330 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2331 * include/bits/fstream.tcc (setbuf): Tweak.
2333 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2335 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2336 _M_out_lim, therefore _M_move_out_cur boils down to simply
2337 updating _M_out_cur.
2338 (seekpos): Likewise, clean up.
2340 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2341 Paolo Carlini <pcarlini@unitus.it>
2343 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2344 simply equivalent to the unbuffered case (0, 0) as far as
2345 _M_buf_size is concerned.
2347 2003-06-18 Andreas Jaeger <aj@suse.de>
2349 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2351 (baseline_file): Use baseline_dir.
2352 (baseline_dir): New.
2353 (mkinstalldirs): New.
2355 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2356 filename from baseline_dir.
2358 * testsuite/Makefile.in: Regenerated.
2359 * Makefile.in: Regenerated.
2360 * aclocal.m4: Regenerated.
2361 * configure: Regenerated.
2363 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2365 * configure.in: Missed check_survey bit.
2366 * configure: Regenerated.
2368 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2371 * config/abi/extract_symvers: Move to...
2372 * scripts/extract_symvers: ...here.
2373 * mkcheck.in: Move to..
2374 * scripts/check_survey.in: ...here.
2375 * testsuite_flags.in: Move to..
2376 * scripts/testsuite_flags.in: ...here.
2377 * configure.in: Change check and testsuite_flags locations.
2378 * configure: Regenerate.
2379 * testsuite/Makefile.am (current_symbols.txt): Change location.
2380 * testsuite/Makefile.in: Regenerate.
2381 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2382 location of testsuite_flags.
2383 * Makefile.am (check-script): Move..
2384 (check-script-install): Move...
2385 * testsuite/Makefile.am: ... here.
2386 * testsuite/Makefile.in: Regenerate.
2387 * Makefile.in: Regenerate.
2389 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2391 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2393 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2395 * Makefile.am (check-abi): Move...
2396 (new-abi-baseline): Move...
2397 * testsuite/Makefile.am: ...here.
2398 (new-abi-baseline): Conditionalize.
2399 (check-abi): Conditionalize.
2400 (check-abi-verbose): New.
2401 * Makefile.in: Regenerate.
2402 * testsuite/Makefile.in: Regenerate.
2403 * configure.in: Consolidate testsuite configure bits.
2404 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2405 * configure: Regenerate.
2406 * aclocal.m4: Regenerate.
2407 * testsuite/abi_check.cc: Add --check-verbose.
2408 Only output detailed information if --check-verbose.
2410 2003-06-16 Andreas Jaeger <aj@suse.de>
2412 * testsuite/abi_check.cc: Create summary report.
2414 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2416 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2417 for systems with BUFSIZ != 8192.
2418 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2419 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2422 2003-06-16 Andreas Jaeger <aj@suse.de>
2424 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2425 check-abi multilib aware.
2426 * aclocal.m4: Regenerate.
2427 * configure: Regenerate.
2429 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2430 Andreas Jaeger <aj@suse.de>
2432 * configure.host: Set x86_64 abi_baseline pair correctly.
2434 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2436 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
2437 fix for missing seeks between gets and puts into...
2438 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2439 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2440 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2441 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2442 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2443 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
2445 2003-06-15 Richard Henderson <rth@redhat.com>
2447 * config/linker-map.gnu: Export virtual function thunks for
2450 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2452 * config/abi/i686-pc-linux-gnu: To..
2453 * config/abi/i486-linux-gnu: ...this.
2454 * config/abi/alphaev67-unknown-linux-gnu: To..
2455 * config/abi/alpha-linux-gnu: ...this.
2456 * config/abi/ia64-unknown-linux-gnu: To...
2457 * config/abi/ia64-linux-gnu: ...this.
2458 * config/abi/x86_64-unknown-linux-gnu: To...
2459 * config/abi/x86_64-linux-gnu: ...this.
2460 * config/abi/i386-unknown-freebsd4: To...
2461 * config/abi/i386-freebsd4: ...this.
2462 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2464 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2465 Simplify cpu bits so that abi_baseline_pair can use the same
2467 * acinclude.m4: Same.
2468 * aclocal.m4: Regenerate.
2469 * configure.in: Can't get enable_abi_check to yes unless native.
2470 * configure: Regenerate.
2472 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
2474 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2475 fix for missing seeks between gets and puts into...
2476 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2477 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2478 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2479 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2480 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2481 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2482 for missing seeks between gets and puts.
2483 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2484 * testsuite/data/seekoff-1.tst: New.
2485 * testsuite/data/seekoff-2.tst: New.
2486 * testsuite/data/seekpos-1.tst: New.
2487 * testsuite/data/seekpos-2.tst: New.
2489 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2491 Avoid multi-processor bus contention on increment/decrement-and-
2492 test of the reference count in the empty-string object, by comparing
2493 addresses first, and never touching the reference count of the empty-
2495 * include/bits/basic_string.h:
2496 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2498 (_Rep::_S_empty_rep()): New accessor.
2499 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2500 a base class _Rep_base.
2501 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2502 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2503 since no longer must increment its refcount.
2504 * include/bits/basic_string.tcc:
2505 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
2506 return immediately. The former might be unnecessary. The latter
2507 prevents begin() and end() from cloning it unnecessarily.
2508 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2509 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2510 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2511 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2512 (_M_mutate): Check for the empty string and treat it as shared.
2513 This is necessary here because _M_mutate is sometimes called with
2514 all-zero arguments; in all other uses of _M_is_shared, the test comes
2517 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2519 * src/allocator-inst.cc: Explicitly instantiate.
2520 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2522 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
2524 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2526 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2527 * aclocal.m4: Regenerate.
2528 * Makefile.am (SUBDIRS): Remove libio.
2529 * Makefile.in: Regenerate.
2530 * configure.in: Same.
2531 * configure: Regenerate.
2532 * config/io/basic_file_libio.cc: Remove.
2533 * config/io/basic_file_libio.h: Remove.
2534 * config/io/c_io_libio_codecvt.c: Remove.
2535 * config/io/c_io_libio.h: Remove.
2537 * src/Makefile.am: Same.
2538 * src/Makefile.in: Regenerate.
2539 * docs/html/configopts.html: Edits.
2540 * docs/html/explanations.html: Edits.
2542 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2544 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2545 (__malloc_alloc): Same.
2546 (__pool_alloc): Same.
2547 (__new_alloc): Same.
2549 * include/bits/allocator.h: ...this.
2550 * include/bits/stl_deque.h: Modify comment.
2551 * include/bits/stl_tree.h: Modify include.
2552 * include/std/std_memory.h: Same.
2553 * include/ext/rope: Same.
2554 * include/ext/slist: Same.
2555 * include/std/std_vector.h: Same.
2556 * include/std/std_stack.h: Same.
2557 * include/std/std_queue.h: Same.
2558 * include/std/std_list.h: Same.
2559 * include/std/std_deque.h: Same.
2560 * include/backward/alloc.h: Same.
2561 * include/ext/debug_allocator.h: New.
2562 * include/ext/malloc_allocator.h: New.
2563 * include/ext/pool_allocator.h: New.
2564 * include/ext/new_allocator.h: New.
2565 * include/bits/pthread_allocimpl.h: Remove.
2566 * include/bits/stl_pthread_alloc.h: Remove.
2567 * include/Makefile.am (ext_headers): Add.
2568 * include/Makefile.in: Regenerate.
2569 * src/stl-inst.cc: Use __gnu_cxx namespace.
2570 * src/stl-inst.cc: Move to...
2571 * src/allocator-inst.cc: Here.
2572 * src/Makefile.am (sources): Update.
2573 * src/Makefile.in: Regenerate.
2574 * config/linker-map.gnu: Remove __pool_alloc bits.
2575 * testsuite/ext/headers.cc: Add.
2576 * testsuite/ext/allocators.cc: Fixup.
2578 2003-06-11 Stefan Olsson <stefan@snon.net>
2579 Ola Rönnerup <fnolis@home.se>
2581 * include/Makefile.am (ext_headers): Add.
2582 * include/Makefile.in: Regenerate.
2583 * include/ext/mt_allocator.h: New file.
2585 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2587 * include/bits/fstream.tcc (close): Clean up a bit.
2589 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
2591 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
2592 - the saved _M_in_cur, that is - cannot be null.
2593 (sync): Constify a variable.
2595 * include/std/std_streambuf.h: Tweak a comment.
2596 (in_avail): Constify a variable.
2598 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
2600 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
2601 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
2602 correctness of container::iterator typedefs. Fix whitespace.
2603 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
2605 * docs/html/documentation.html: Regenerate.
2607 * include/bits/basic_string.h, include/bits/basic_string.tcc,
2608 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
2609 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
2610 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
2611 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
2612 include/bits/stl_vector.h, include/bits/vector.tcc,
2613 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
2614 Change _Iter names to _Iterator, and __pos to __position.
2616 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
2617 include/bits/stl_multiset.h, include/bits/stl_set.h:
2618 Remove emacs markers.
2620 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
2622 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2624 * include/bits/fstream.tcc (overflow): According to
2625 27.5.2.4.5, overflow() returns not_eof(eof()).
2626 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
2627 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2629 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2631 * include/bits/fstream.tcc (_M_underflow): Check overflow return
2632 value; tweak slightly.
2634 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2636 * include/bits/fstream.tcc (_M_underflow): Do not special
2637 case the unbuffered case, which really means simply a one char
2639 (basic_filebuf): Initialize _M_buf_size.
2640 (setbuf): Unbuffered means _M_buf_size == 1, since only
2641 _M_buf_size - 1 == 0 chars are going to be used for the
2642 put area and 1 for the get area.
2643 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
2644 (~basic_streambuf): Tweak.
2645 (basic_streambuf): Do not initialize _M_buf_size.
2646 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
2647 (~basic_filebuf): Tweak.
2648 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
2649 unbuffered situation (i.e., put area pointers NULL).
2650 * include/bits/streambuf.tcc (sbumpc): Clean up.
2651 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2652 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2653 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2654 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2655 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2656 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2657 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2659 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
2661 * acinclude.m4: Move all AM_CONDITIONAL calls out.
2662 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
2664 * configure.in: Centralize AM_CONDITIONALs so that they are always
2665 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
2666 * aclocal.m4, configure: Regenerated.
2668 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2670 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
2672 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
2674 * include/bits/stl_iterator.h
2675 (reverse_iterator::reverse_iterator()): Apply DR235: default
2676 constructor default-initializes data member. Instantiated on a
2677 pointer type, the member has to end up equal to zero.
2679 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
2681 * include/bits/stl_alloc.h: Cleanups.
2682 * include/ext/functional: Same.
2683 * include/ext/hash_map: Same.
2684 * include/ext/hash_set: Same.
2685 * include/ext/iterator: Same.
2686 * include/ext/memory: Same.
2687 * include/ext/numeric: Same.
2688 * include/ext/rb_tree: Same.
2689 * include/ext/ropeimpl.h: Same.
2690 * include/ext/slist: Same.
2691 * include/ext/stdio_filebuf.h: Same.
2692 * include/ext/stdio_sync_filebuf.h: Same.
2693 * include/ext/stl_rope.h: Move to...
2694 * include/ext/rope: ...here.
2695 * include/ext/stl_hash_fun.h: Move to...
2696 * include/ext/hash_fun.h: ...here.
2697 * include/ext/stl_hashtable.h: Move to...
2698 * include/ext/hashtable.h: ...here.
2699 * include/backward/hashtable.h: Reflect new names.
2700 * include/Makefile.am: Same.
2701 * include/Makefile.in: Regenerated.
2703 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
2706 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2707 * include/bits/stl_algobase.h: Tweak.
2708 * include/std/std_fstream.h: Move _M_buf_size to...
2709 * include/std/std_streambuf.h: ...here. Modify.
2710 * include/bits/streambuf.tcc: Same.
2711 * testsuite/testsuite_hooks.h: Tweak.
2712 * testsuite/testsuite_io.h (constraint_filebuf): New.
2713 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2714 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2715 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2716 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2717 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2718 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2719 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2720 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2721 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2722 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2723 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2724 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2725 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2726 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2727 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2728 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2729 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2730 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2731 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2732 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2733 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2734 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2735 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2736 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2737 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2738 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2739 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2740 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2741 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2742 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2743 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2744 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2745 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2746 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2747 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2748 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2749 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2750 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2751 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2752 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2753 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2754 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2755 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2756 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2757 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2758 * testsuite/data/sgetc.txt: New.
2759 * testsuite/data/sgetn.txt: New.
2761 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2764 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2765 Deal with width() smaller than zero.
2766 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2767 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2768 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2769 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2770 operator<<(basic_ostream, const basic_string&)): Likewise.
2772 * testsuite/27_io/basic_istream/extractors_character/char/
2773 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2774 * testsuite/27_io/basic_ostream/inserters_character/char/
2775 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2776 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2777 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2779 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2781 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2782 .gch compilation works.
2783 * aclocal.m4, configure: Regenerate.
2784 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2785 initialize PCHFLAGS.
2787 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2789 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2790 erase(iterator), erase(iterator, iterator), c_str,
2791 compare(const basic_string&)): Constify various variables.
2792 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2793 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2794 _S_create, resize, _M_replace, _M_replace_safe,
2795 append(const basic_string&), append(const basic_string&, size_type,
2796 size_type), append(const _CharT*, size_type), append(size_type,
2797 _CharT), operator+(const _CharT*, const basic_string&),
2798 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2799 size_type, _CharT), find(const _CharT*, size_type, size_type),
2800 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2801 rfind(_CharT, size_type), compare(size_type, size_type,
2802 const basic_string&), compare(size_type, size_type,
2803 const basic_string&, size_type, size_type), compare(const _CharT*),
2804 compare(size_type, size_type, const _CharT*), compare(size_type,
2805 size_type, const _CharT*, size_type)): Likewise.
2807 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
2809 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2810 'if' branch less obscure.
2812 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
2815 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2817 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2818 (__atomic_add): likewise.
2820 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2822 * include/bits/sstream.tcc (pbackfail): Minor clean up and
2823 reformatting, consistent with basic_filebuf::pbackfail.
2825 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
2828 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
2829 __attribute__ ((__unused__)).
2830 * config/os/aix/atomicity.h: Likewise.
2832 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2835 * include/bits/fstream.tcc (pbackfail): If the pback buffer
2836 is already active don't try to store in it a second char.
2837 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2839 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2841 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2843 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2846 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2848 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2849 instead of unnecessarily taking the address of _M_pback.
2850 (xsgetn): Simplify slightly for a single char pback buffer.
2852 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2854 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2855 variables and two 'if', clean up.
2857 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2859 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2860 not _M_out_end, since the former actually points to the string
2861 end (vs buffer end).
2862 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2864 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
2866 * docs/doxygen/filter: New file.
2867 * docs/doxygen/filter.sed: New file.
2868 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
2869 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
2870 * docs/html/documentation.html: Fix links to doxygen pages.
2872 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
2874 * include/bits/fstream.tcc (_M_convert_to_external): Don't
2875 check for __ilen > 0.
2877 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
2880 * include/bits/stl_iterator.h (class __normal_iterator):
2881 Don't inherit from iterator, add missing typedefs.
2883 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
2885 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2886 * testsuite/24_iterators/reverse_iterator/1.cc: New.
2887 * testsuite/24_iterators/reverse_iterator/2.cc: New.
2888 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2891 2003-05-27 Steve Ellcey <sje@cup.hp.com>
2893 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2895 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2896 _LIBUNWIND_STD_ABI is set.
2898 2003-05-26 Brendan Kehoe <brendan@zen.org>
2900 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2901 make sure the number of digits required after the decimal-point
2902 (if any) is exactly the value returned by frac_digits().
2903 * testsuite/22_locale/money_get/get/char/9.cc: New.
2904 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2906 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
2908 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2911 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
2914 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2915 (_M_pback): No array necessary.
2916 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2917 unbuffered case, coalesec into ...
2918 (basic_filebuf::overflow): ...this.
2919 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2920 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2922 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
2924 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2925 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2926 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2927 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2928 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2929 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2930 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2931 libsupc++/eh_unex_handler.cc, libsupc++/exception,
2932 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2933 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2934 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2935 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2936 Replace "GNU CC" with "GCC".
2938 * include/backward/new.h: Replace "GNU CC" with "GCC".
2940 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2943 * configure.in: Switch target to host, don't assume newlib.
2944 (target_alias): Remove.
2945 * configure: Regenerate.
2946 * acinclude.m4: Same.
2947 * aclocal.m4: Regenerate.
2948 * configure.target: Same. Rename to...
2949 * configure.host: This.
2951 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2953 * include/std/std_fstream.h (_S_pback_size): Remove definition.
2954 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
2956 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
2957 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
2958 of _S_pback_size for systems with no COMDAT or weak support.
2959 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
2960 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
2961 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
2962 * testsuite/27_io/basic_fstream/3.cc: Likewise.
2963 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
2964 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
2965 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
2966 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
2967 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
2969 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2971 * include/bits/fstream.tcc (_M_underflow): Simplify:
2972 !__testout implies _M_filepos == _M_in_end, therefore
2973 the first _M_file.seekoff call is never issued.
2975 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2977 * configure.in: Sort cross table.
2978 * configure: Regenerate.
2980 2003-05-22 Brad Spencer <spencer@infointeractive.com>
2983 * configure.in: Add Solaris cross bits.
2985 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2987 * libstdc++-v3/config/os/mingw32/os_defines.h
2988 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
2989 (NOMINMAX): Define. Update copyright year.
2991 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
2993 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
2995 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2997 * docs/html/faq/index.html: Fix typo.
2998 * docs/html/faq/index.txt: Regenerate.
3000 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3002 * docs/html/test.html: Fix markup.
3004 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3006 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
3008 Update copyright year.
3010 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3012 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
3014 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3016 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
3017 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
3019 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3021 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
3022 Cast via void* to avoid -Wcast-align warnings.
3023 (__default_alloc_template::_S_refill): Likewise.
3025 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
3027 * testsuite/README: Move to...
3028 * docs/html/test.html: ...here. Add documentation.
3029 * docs/html/install.html: Move testing bits out..
3030 * docs/html/documentation.html: Add separate testing link.
3031 * testsuite/performance: Add.
3032 * testsuite/performance/allocator.cc: New.
3033 * testsuite/performance/complex_norm.cc: New.
3034 * testsuite/performance/cout_insert_int.cc: New.
3035 * testsuite/performance/fstream_seek_write.cc: New.
3036 * testsuite/performance/ifstream_getline.cc: New.
3037 * testsuite/performance/map_create_fill.cc: New.
3038 * testsuite/performance/ofstream_insert_float.cc: New.
3039 * testsuite/performance/ofstream_insert_int.cc: New.
3040 * testsuite/performance/string_append.cc: New.
3041 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
3044 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
3047 * include/std/std_complex.h (pow): Tidy.
3049 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
3051 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
3052 that upon filebuf::close() 27.8.1.1,3 is enforced.
3054 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
3056 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3058 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3059 Nathan Myers <ncm@cantrip.org>
3061 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3062 _M_convert_to_external only once (_M_buf_size is now the size of
3063 the put area + 1 for the overflow char of a full area); call
3064 _M_set_buffer instead of _M_set_indeterminate.
3065 (setbuf): Don't accept a buffer smaller than 2 chars.
3066 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3067 instead of _M_set_determinate.
3068 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3069 (seekoff): Likewise.
3070 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3071 std::ios_base::openmode, bool, size_t),
3072 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3074 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3075 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3077 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3078 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3079 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3080 the put area is now BUFSIZ - 1.
3081 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3082 that now the smallest _M_buf_size is 2 (still fails, for the same
3085 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3087 * testsuite/thread/pthread4.cc: Tweak test.
3089 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3091 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3092 excess errors dg marker, use dg-errors instead.
3093 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3094 * testsuite/20_util/auto_ptr_neg.cc: Same.
3096 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3098 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3100 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3101 Initialize _M_codecvt.
3102 (basic_filebuf::imbue): Same.
3103 (basic_filebuf::showmanyc): Use it.
3104 (basic_filebuf::underflow): Use it.
3105 (basic_filebuf::_M_convert_to_external): Use it.
3106 (basic_filebuf::seekoff): Use it.
3107 (basic_filebuf::imbue): Use it, tweaks.
3108 * include/bits/localefwd.h (__check_facet): New.
3109 * include/bits/locale_classes.h: Tweaks.
3110 * include/bits/locale_facets.tcc: Tweaks.
3111 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3112 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3113 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3114 * include/bits/basic_ios.tcc: Same.
3115 * include/bits/istream.tcc: Same.
3116 * include/bits/ostream.tcc: Same.
3117 * include/std/std_streambuf.h: Same.
3118 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3119 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3120 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3121 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3122 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3123 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3125 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3127 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3128 unnecessary includes and unused string literals.
3129 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3130 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3131 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3132 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3134 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3136 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3138 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3140 * include/std/std_fstream.h (_M_convert_to_external): Change
3141 to return bool, take two less streamsize parameters.
3142 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3143 consistently definition.
3144 (_M_overflow): Adjust call points.
3146 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3148 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3150 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3152 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3153 * testsuite/Makefile.in: Regenerate.
3155 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3157 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3158 * testsuite/Makefile.in: Regenerate.
3160 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3163 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3164 (acos): Handle integer argument.
3183 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3184 (__enable_if): Likewise.
3185 * testsuite/26_numerics/cmath/overloads.C: New test.
3187 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3192 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3193 implementation, based on old wchar_t specialization, add support
3194 for codecvt::in() return value of codecvt_base::noconv, remove
3195 _M_file.sys_ungetc() call.
3196 * include/std/std_fstream.h (basic_file::underflow,
3197 basic_file::uflow, basic_file::_M_underflow): Remove
3198 specialization declarations, call _M_underflow from generic versions
3199 of underflow and uflow.
3200 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3201 basic_file::_M_underflow): Remove specializations.
3202 * src/Makefile.am (sources): Remove fstream.cc.
3203 * src/Makefile.in: Regenerated.
3204 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3205 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3206 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3207 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3209 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3211 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3213 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3215 (__basic_file::xsputn): Same.
3216 (__basic_file::seekoff): Same.
3217 (__basic_file::seekpos): Same.
3218 (__basic_file::showmanyc): Same.
3219 * config/io/basic_file_stdio.cc: Same.
3220 * include/std/std_fstream.h: Same.
3221 * include/bits/fstream.tcc: Same.
3222 * src/fstream.cc: Same.
3223 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3225 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3230 * include/ext/stdio_sync_filebuf.h: New file.
3231 (basic_stdiobuf): New.
3232 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3233 * include/Makefile.in: Regenerate.
3234 * include/bits/ios_base.h (Init::_S_create_buffers,
3235 Init::_S_destroy_buffers): Remove declarations.
3236 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3237 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3238 * src/ios.cc (Init::_S_create_buffers,
3239 Init::_S_destroy_buffers): Remove.
3240 (Init::Init): Create and use syncronized buffers.
3241 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3242 create and install unsyncronized buffers.
3243 * testsuite/27_io/objects/char/10.cc: New test.
3244 * testsuite/27_io/objects/char/9.cc: New test.
3245 * testsuite/27_io/objects/char/9661-1.cc: New test.
3246 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3247 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3248 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3249 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3250 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3251 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3252 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3253 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3254 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3255 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3256 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3257 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3258 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3259 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3260 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3261 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3262 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3263 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3264 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3265 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3266 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3267 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3268 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3269 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3270 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3271 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3272 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3273 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3274 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3275 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3276 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3277 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3278 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3279 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3280 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3281 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3282 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3283 * testsuite/ext/stdiobuf_char.cc: New test.
3284 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3286 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3288 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3289 unnecessary includes and unused string literals.
3290 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3292 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3294 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3296 2003-05-07 Richard Henderson <rth@redhat.com>
3299 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3300 (__cxa_end_catch): Likewise.
3301 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3302 _Unwind_Resume_or_Rethrow.
3303 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3304 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3305 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3306 exceptions. Don't push terminate/unexpected to cxa functions.
3307 (__cxa_call_unexpected): Remove foreign exception fixmes.
3309 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3311 * testsuite/27_io/ios_base/cons: New.
3312 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3313 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3315 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3317 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3319 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3320 there is no buffer or __testget == !__testinit.
3323 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3324 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3326 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3327 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3329 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3331 * include/std/std_sstream.h (_M_sync): Minor tweak.
3333 * include/bits/fstream.tcc (close): No need to call
3334 _M_destroy_pback, setting _M_pback_init to false suffices
3337 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3339 * include/bits/stl_algo.h: Enums as _S_.
3340 * include/bits/stl_tree.h: Same.
3341 * include/bits/stl_bvector.h: Same.
3342 * include/bits/ios_base.h: Same.
3343 * include/bits/stl_alloc.h: Same.
3344 * include/ext/stl_hashtable.h: Same.
3345 * src/ios.cc: And here.
3347 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3348 * include/bits/sstream.tcc: Same.
3350 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3352 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3354 * include/bits/locale_facets.h (__num_base): Remove protected.
3355 Use _S_[io]* names for enumerations.
3356 (_S_format_int): Remove.
3357 * include/bits/locale_facets.tcc: Same.
3358 * src/locale.cc: Same.
3360 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3362 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3364 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3365 * docs/html/faq/index.txt: Regenerated.
3367 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3368 Matt Kraai <kraai@alumni.cmu.edu>
3370 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3373 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3375 * configure.target (mips*): Use the generic atomicity.h by default.
3377 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
3378 (Inspired by an alternate patch from Danny Smith.)
3380 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
3381 (_Swap_lock_struct<>): ...and the horse it rode in on.
3382 * src/globals.cc (_Swap_lock_struct<>): Likewise.
3383 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
3384 member to support...
3385 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
3386 visibility rules related to POSIX threads.
3387 * testsuite/thread/pthread7-rope.cc: New test.
3389 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
3391 * testsuite/21_strings/basic_string/find/char/3.cc: New
3392 file, testing basic_string<char>::find_first_not_of.
3393 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
3394 Likewise for basic_string<wchar_t>.
3396 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
3398 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
3400 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
3402 * include/Makefile.am (CLEANFILES): Remove PCH files in target
3404 * include/Makefile.in: Regenerate.
3406 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
3408 * include/std/std_sstream.h (str()): Tidy.
3410 2003-05-02 Nathan Myers <ncm@cantrip.org>
3411 Paolo Carlini <pcarlini@unitus.it>
3413 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
3415 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
3417 * include/bits/basic_string.h (swap): Remove redundant template
3418 parameters from declaration of non-template member function.
3420 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
3422 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
3423 * configure.in: Move libintl.h header test...
3424 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
3425 the NLS-related test results into one symbol.
3426 * src/functexcept.cc: Use it here.
3427 * aclocal.m4, config.h.in, configure: Regenerated.
3429 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3431 * include/bits/sstream.tcc (overflow): Instead of calling
3432 str(), then _M_string.reserve, thus copying the contents
3433 of the current buffer two times, just copy the latter in
3434 a temporary, then use the 'swap trick'.
3436 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3438 * include/std/std_sstream.h (str()): Revert the best of the
3439 previous 'improvement', incorrect due to the COW nature of
3440 v3 basic_string; simplify.
3442 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3444 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
3445 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
3447 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3449 * testsuite/abi_check.cc (check_version): Update known versions.
3450 Check added symbols for version_name != base version. Add missing
3451 symbols to incompatible list.
3453 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3455 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
3456 * aclocal.m4: Regenerated.
3457 * configure: Regenerated.
3459 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3461 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
3462 Const-ify some variables.
3463 (basic_streambuf::xsputn): Likewise; change the type of some
3464 variables to size_t.
3465 (__copy_streambufs): Change some variables to size_t.
3467 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3469 * include/std/std_sstream.h (str()): Avoid constructing
3470 a basic_string temporary not only when it would turn out
3471 to be zero-sized but also when identical to the current
3474 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3476 * include/ext/stdio_filebuf.h
3477 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
3478 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
3479 Shorten a bit (-10 lines) by factoring out some code.
3481 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3483 * acinclude.m4: Add bit missing from previous patch.
3484 * aclocal.m4, configure: Regenerated.
3486 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3488 * docs/doxygen/mainpage.html: Bring up to date.
3489 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
3491 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
3492 breaks everything. Don't scan them.
3493 * docs/html/documentation.html: Point to "Write after approval"
3496 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3498 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
3499 of libc if message translations are being used. Fix info text in
3500 xieee_1003.1-2001 case.
3501 * aclocal.m4, configure: Regenerate.
3503 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
3504 Loren J. Rittle <ljrittle@acm.org>
3505 Martin v. Loewis <martin@v.loewis.de>
3507 * config/cpu/i386/atomicity.h: New file.
3509 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3511 * include/bits/fstream.tcc (open): Change to single return.
3513 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3515 * include/std/std_sstream.h (underflow): Change to single return.
3517 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3519 * include/std/std_streambuf.h (_M_buf): is currently
3520 used only for basic_filebuf, therefore move it there.
3521 (basic_streambuf(), ~basic_streambuf()): Adjust.
3522 * include/std/std_fstream.h (_M_buf): Moved here.
3523 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
3524 is actually redundant for basic_stringbuf.
3525 (_M_really_sync): Likewise.
3526 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3527 * include/bits/sstream.tcc (seekoff): Adjust.
3529 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3531 * src/localename.cc: Standardize exception strings.
3532 * src/locale.cc: Same.
3534 * include/bits/basic_string.tcc: Same.
3535 * include/bits/basic_ios.tcc: Same.
3536 * include/std/std_bitset.h: Same.
3537 * include/ext/ropeimpl.h: Same.
3538 * include/bits/stl_vector.h: Same.
3539 * include/bits/stl_deque.h: Same.
3540 * include/bits/stl_bvector.h: Same.
3541 * config/locale/generic/c_locale.cc: Same.
3542 * config/locale/gnu/c_locale.cc: Same.
3543 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
3545 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
3547 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3549 * include/std/std_streambuf.h (_M_buf_size): is currently
3550 used only for basic_filebuf, therefore move it there.
3551 (basic_streambuf(), ~basic_streambuf()): Adjust.
3552 * include/std/std_fstream.h (_M_buf_size): Moved here.
3553 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3555 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3557 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
3558 _M_buf_size (synced input is now correctly dealt with
3559 elsewhere); when the output buffer is full don't fall back
3560 to a snextc-sputc loop, call overflow instead.
3562 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3564 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
3565 the innermost 'if' by factoring out some code.
3567 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
3569 * configure.in: Test for libintl.h.
3570 * include/bits/c++config: Define __N for everybody.
3571 * include/bits/basic_string.h, include/bits/stl_bvector.h,
3572 include/bits/stl_deque.h, include/bits/stl_vector.h,
3573 include/std/std_bitset.h: Wrap all __throw* text with __N.
3574 * po/Makefile.am (pot): New rule, mostly working.
3575 * src/functexcept.cc: Call gettext on all __throw* arguments when
3576 -fexceptions is in effect.
3577 * po/Makefile.in, config.h.in, configure: Regenerate.
3579 2003-04-28 Petur Runolfsson <peturr02@ru.is>
3582 * include/bits/ios_base.h (Init::_S_ios_create,
3583 Init::_S_ios_destroy): Remove declarations.
3584 (Init::_S_create_buffers,
3585 Init::_S_destroy_buffers): Declare
3586 * src/ios.cc (Init::_S_ios_create): Remove
3587 (Init::_S_create_buffers): Create buffers and add to streams.
3588 (Init::_S_ios_destroy): Rename to...
3589 (Init::_S_destroy_buffers): this.
3590 (Init::Init): Only construct streams once.
3591 (Init::~Init): Flush streams, don't destroy them.
3592 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
3593 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
3594 * testsuite/27_io/objects/char/5.cc: New test.
3595 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
3596 * testsuite/27_io/objects/char/6.cc: New test.
3597 * testsuite/27_io/objects/char/7.cc: New test.
3599 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3601 * testsuite/27_io/objects/char/8.cc: New test.
3603 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3605 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
3606 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
3608 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3610 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
3611 _M_destroy_pback. _M_pback_create to
3612 _M_create_pback. _M_underflow_common to
3613 _M_underflow. _M_really_overflow to _M_overflow.
3614 * include/bits/fstream.tcc: Same.
3615 * src/fstream.cc: Same.
3616 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
3617 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
3618 * include/bits/streambuf.tcc: Same.
3619 * include/bits/fstream.tcc: Same.
3620 * include/bits/sstream.tcc: Same.
3622 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3624 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
3625 from fixed size array.
3626 (locale): Change _S_categories as well.
3628 * include/bits/locale_facets.tcc: Tweak.
3629 * config/locale/gnu/c_locale.cc: Assign _S_categories.
3630 * config/locale/generic/c_locale.cc: Same.
3631 * src/locale.cc: Tweak.
3632 * src/globals.cc: Change facet_name to name_vec, add names_c.
3633 * src/localename.cc: Use them.
3634 (locale::_Impl::~_Impl): Destroy _M_names.
3635 (locale::_Impl::_Impl): Create _M_names.
3637 2003-04-27 Andreas Schwab <schwab@suse.de>
3639 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3640 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
3642 2003-04-27 Nathan Myers <ncm@cantrip.org>
3644 Move some basic_string members out of line because
3645 they are too big to reasonably be inline.
3646 * include/bits/basic_string.h
3647 (assign(const basic_string&, size_type, size_type),
3648 assign(const _CharT*, size_type),
3649 insert(size_type, const basic_string&, size_type, size_type),
3650 insert(size_type, const _CharT*, size_type),
3651 replace(size_type, size_type, const _CharT*, size_type)):
3652 Move from here to...
3653 * include/bits/basic_string.tcc: ...here.
3655 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3657 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3658 the innermost 'if' by factoring out some code.
3660 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3662 * include/bits/streambuf.tcc (__copy_streambufs): Don't
3663 use in_avail(), simplify.
3665 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3667 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3668 in basic_stringbuf it's unused.
3670 * include/std/std_sstream.h (underflow): consistently use
3671 _M_in_cur, not gptr().
3673 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
3674 Phil Edwards <pme@gcc.gnu.org>
3676 * testsuite_flags.in: Guard against the possibility
3677 of having "xgcc" as a part of a folder name in the
3678 path to the GCC build folder.
3679 * testsuite/Makefile.am: Likewise.
3680 * testsuite/Makefile.in: Regenerated.
3682 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3685 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3686 exception specifications.
3687 (basic_filebuf::close): Same.
3688 (basic_filebuf::_M_pback_destroy): Same.
3689 (basic_filebuf::_M_destroy_internal_buffer): Same.
3690 (basic_filebuf): Remove __res_type typedef.
3691 * src/fstream.cc: Same.
3692 * include/bits/fstream.tcc
3693 (basic_filebuf::_M_convert_to_external): Simplify.
3694 (basic_filebuf::seekoff): Use has_facet before use_facet.
3695 (basic_filebuf::close): Add exception specification of throw().
3696 * testsuite/27_io/basic_filebuf/cons: New.
3697 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3698 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3699 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3700 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3702 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3704 * include/bits/locale_classes.h
3705 (locale::_S_extra_categories_size): Remove.
3706 * src/locale.cc: Remove _S_extra_categories_size.
3707 * src/localename.cc: Same.
3708 * config/locale/gnu/c_locale.cc: Same.
3709 * config/locale/generic/c_locale.cc: Same.
3711 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3713 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3715 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3717 * docs/html/17_intro/howto.html: Update some links.
3718 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3719 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3720 * docs/html/ext/howto.html: Link to demangler notes and API.
3721 * docs/html/faq/index.html: Remove trailing whitespace.
3722 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3723 (5.6): Change to a bulleted list.
3725 * docs/html/faq/index.txt, docs/html/documentation.html,
3726 docs/html/17_intro/porting.html: Regenerate.
3728 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3730 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3731 belongs to basic_filebuf.
3732 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3733 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3734 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3735 instantiation (now belongs to basic_filebuf).
3736 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3737 * testsuite/27_io/basic_istream/3.cc: Likewise.
3738 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3739 _S_pback_size now belongs to basic_filebuf.
3740 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3741 instantiation (now belongs to basic_filebuf).
3742 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3743 belongs to basic_filebuf.
3744 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3745 instantiation (now belongs to basic_filebuf).
3746 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3747 _S_pback_size now belongs to basic_filebuf.
3748 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3749 instantiation (now belongs to basic_filebuf).
3750 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3752 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3753 instantiation (now belongs to basic_filebuf).
3754 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3756 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3758 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3759 * configure: Regenerated.
3761 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3763 * config/locale/generic/c_locale.h (__convert_from_v): Use
3766 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3768 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3769 implementation only.
3770 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3771 Comment and change to comply with DR 60 and the effect on gcount().
3772 * include/std/std_istream.h: Update comments.
3773 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3774 comments about reasons for tests. Test sync() against gcount().
3775 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3776 for effect on gcount().
3777 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3778 for effect on gcount().
3780 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3782 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3785 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3787 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3788 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3789 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3790 (basic_streambuf::basic_streambuf()): Adjust.
3791 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3792 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3793 _M_pback_create(), _M_pback_destroy()): Moved here
3794 from basic_streambuf.
3795 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3797 (basic_filebuf::_S_pback_size): Add declaration.
3798 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3801 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3803 Consistently use _M_in_beg instead of eback(), _M_in_cur
3804 instead of gptr(), and so on.
3805 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3806 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3807 * include/bits/streambuf.tcc (sbumpc, sputbackc,
3808 __copy_streambufs): Ditto.
3809 * include/std/std_streambuf.h (sgetc): Ditto.
3811 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3813 * include/bits/sstream.tcc (pbackfail, overflow):
3816 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3818 * include/std/std_streambuf.h (uflow()): It's used only by
3819 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3820 therefore do not consider the _M_buf_unified == true case.
3822 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3824 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3826 * docs/html/ext/howto.html ('LWG Issues'):
3827 Add issues 19, 90, 171, 231, 271.
3829 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3831 * include/bits/sstream.tcc (pbackfail): Remove redundant
3832 NULL pointer check from test involving _M_in_*.
3833 (overflow, seekoff, seekpos): Const qualify bool variables.
3834 * include/std/std_sstream.h (underflow): Remove redundant
3835 NULL pointer check from test involving _M_in_*.
3836 (_M_really_sync): Const qualify bool variables.
3837 * src/fstream.cc (_M_underflow_common): Remove redundant
3838 NULL pointer check from test involving _M_in_*, const qualify
3841 * include/std/std_streambuf.h (sgetc): Remove redundant
3844 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
3846 According to 5.9 para 2 (second bullet) for pointers p, q
3847 pointing to the same type, with p == 0 and q == 0, (p < q)
3849 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3850 seekoff): Remove redundant NULL pointer checks from tests
3851 involving _M_out_* and _M_in_*, const qualify bool variables.
3852 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3853 qualify bool variables.
3854 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3855 Remove redundant NULL pointer checks from tests involving
3856 _M_out_* and _M_in_*, const qualify bool variables.
3857 * include/std/std_fstream.h (sync): Likewise.
3858 (_M_is_indeterminate): Const qualify bool variables.
3859 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3860 NULL pointer checks from tests involving _M_out_* and _M_in_*,
3861 const qualify bool variables.
3862 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3865 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
3867 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3868 C99 FP macros, if actually captured.
3870 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3871 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3872 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3873 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3874 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3876 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3877 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3878 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3879 * include/c_std/std_cstdlib.h: Use new macros.
3880 * include/c_std/std_cstdio.h: Use new macros.
3881 * include/c_std/std_cwchar.h: Use new macros.
3883 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
3886 * include/bits/ostream.tcc: Catch all exceptions for formatted
3887 output, instead of std::exception and derivatives.
3888 * include/bits/istream.tcc: Same.
3889 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3890 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3891 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3892 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3893 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3894 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3897 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
3899 * include/bits/c++config: Minor cosmetic tweaks.
3901 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
3903 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3904 * include/Makefile.am (pch_input): Find in ${target_builddir}.
3905 (pch_output): Rename to...
3906 (pch_output_builddir): ..this. Find in ${target_builddir}.
3907 (pch_source): Tweak.
3908 (pch_build): Key off a built file.
3909 (pch_output rule): Rename to...
3910 (pch_input rule): ...this. Produce ${pch_output_builddir}
3911 instead of ${pch_output}.
3912 (install-pch rule): Install ${pch_output_builddir}.
3913 * include/Makefile.in: Regenerated.
3915 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
3917 * include/std/std_streambuf.h (setp): _M_out_lim, being
3918 the end limit of used put area, is set equal to _M_out_beg.
3920 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
3922 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3923 * aclocal.m4: Regenerated.
3924 * configure.in: Remove old demangler bits.
3926 * configure: Regenerate.
3927 * config.h.in: Regenerate.
3928 * include/Makefile.am (allstamps): Now allstamped.
3929 (allcreated): Define this.
3930 (all-local): Use 'em.
3931 Conditionally define pch_build, pch_install based on
3933 (${pch_output}): New rule.
3934 (install-pch): New rule.
3935 (install-headers): New rule.
3936 (install-data-local): Install headers and conditionally pch.
3937 * include/Makefile.in: Regenerate.
3938 * testsuite_flags.in (--build-cxx): Use pch file.
3940 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
3942 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
3944 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
3945 Paolo Carlini <pcarlini at unitus dot it>
3948 * docs/html/27_io/howto.html
3949 ('The buffering is screwing up my program!'): Explain that
3950 opening counts as an I/O operation.
3952 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
3954 * testsuite/thread/pthread1.cc: Enable for darwin test.
3955 * testsuite/thread/pthread2.cc: Same.
3956 * testsuite/thread/pthread3.cc: Same.
3957 * testsuite/thread/pthread4.cc: Same.
3958 * testsuite/thread/pthread5.cc: Same.
3959 * testsuite/thread/pthread6.cc: Same.
3961 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
3964 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
3965 Populate it with multiple legal ways to obtain the C99 float
3966 transcendentals. Use them instead of direct global reference.
3967 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
3968 * docs/html/17_intro/porting.texi
3969 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3970 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3971 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
3972 * config/os/bsd/freebsd/os_defines.h
3973 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3974 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3975 * testsuite/26_numerics/c_math_dynamic.cc: New file.
3977 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3978 Benjamin Kosnik <bkoz@redhat.com>
3980 * config/os/generic/ctype_inline.h: Fix.
3982 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
3984 * testsuite/testsuite_hooks.h
3985 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
3986 Change to try_named_locale.
3987 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
3989 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
3991 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
3992 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
3993 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
3994 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
3995 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
3996 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
3997 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
3998 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
3999 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
4000 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
4001 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
4002 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
4003 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
4004 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
4005 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
4006 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4007 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4008 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4009 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
4010 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
4011 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
4012 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
4013 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
4014 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
4015 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
4016 * testsuite/22_locale/collate/compare/char/1.cc: Same.
4017 * testsuite/22_locale/collate/compare/char/2.cc: Same.
4018 * testsuite/22_locale/collate/compare/char/3.cc: Same.
4019 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
4020 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
4021 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
4022 * testsuite/22_locale/collate/hash/char/2.cc: Same.
4023 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
4024 * testsuite/22_locale/collate/transform/char/2.cc: Same.
4025 * testsuite/22_locale/collate/transform/char/3.cc: Same.
4026 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
4027 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
4028 * testsuite/22_locale/collate_byname/1.cc: Same.
4029 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4030 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4031 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
4032 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
4033 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
4034 * testsuite/22_locale/facet/2.cc: Same.
4035 * testsuite/22_locale/locale/cons/2.cc: Same.
4036 * testsuite/22_locale/locale/cons/4.cc: Same.
4037 * testsuite/22_locale/locale/cons/5.cc: Same.
4038 * testsuite/22_locale/locale/cons/7.cc: Same.
4039 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
4040 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
4041 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
4042 * testsuite/22_locale/messages/members/char/1.cc: Same.
4043 * testsuite/22_locale/messages/members/char/2.cc: Same.
4044 * testsuite/22_locale/messages/members/char/3.cc: Same.
4045 * testsuite/22_locale/messages_byname/1.cc: Same.
4046 * testsuite/22_locale/money_get/get/char/1.cc: Same.
4047 * testsuite/22_locale/money_get/get/char/2.cc: Same.
4048 * testsuite/22_locale/money_get/get/char/3.cc: Same.
4049 * testsuite/22_locale/money_get/get/char/4.cc: Same.
4050 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
4051 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
4052 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
4053 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
4054 * testsuite/22_locale/money_put/put/char/1.cc: Same.
4055 * testsuite/22_locale/money_put/put/char/2.cc: Same.
4056 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4057 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4058 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4059 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4060 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4061 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4062 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4063 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4064 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4065 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4066 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4067 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4068 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4069 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4070 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4071 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4072 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4073 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4074 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4075 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4076 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4077 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4078 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4079 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4080 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4081 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4082 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4083 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4084 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4085 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4086 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4087 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4088 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4089 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4090 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4091 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4092 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4093 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4094 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4095 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4096 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4097 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4098 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4099 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4100 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4101 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4102 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4103 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4104 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4105 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4106 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4107 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4108 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4109 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4110 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4111 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4112 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4113 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4114 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4115 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4116 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4117 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4118 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4119 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4120 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4121 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4122 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4123 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4124 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4125 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4126 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4127 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4129 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4131 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4132 solaris includes, not generic.
4134 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4136 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4138 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4139 * include/bits/concept_check.h: Fix multi-line comment.
4140 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4141 when target is *-*-freebsd*.
4143 2003-04-14 Nathan Myers <ncm@cantrip.org>
4144 Paolo Carlini <pcarlini@unitus.it>
4146 PR libstdc++/9701 (in_avail())
4147 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4148 doesn't care if there is anything in some putback cell.
4149 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4151 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4152 unused string literals.
4154 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4156 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4157 _M_out_end, _M_set_indeterminate() does it.
4159 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4161 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4163 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4165 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4166 Change basic_streambuf instantiation to "unsigned char".
4167 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4169 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4171 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4172 * include/bits/fstream.tcc
4173 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4174 references to _M_buf_size_opt.
4175 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4176 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4177 __bufsize to __in_avail and __size_opt to __buf_size.
4178 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4179 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4180 * include/std/std_streambuf.h (~basic_streambuf(),
4181 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4182 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4183 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4184 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4185 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4186 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4187 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4188 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4189 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4190 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4191 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4192 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4193 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4195 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4197 * include/ext/stdio_filebuf.h
4198 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4199 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4200 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4201 since a stack-based buffer is used for small values of the size_t
4203 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4204 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4205 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4207 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4210 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4211 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4213 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4215 * testsuite/22_locale/locale/cons/3.cc: Split.
4216 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4217 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4218 Check before trying to create a locale from the environment.
4219 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4220 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4223 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4225 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4226 locale to construct this hybrid locale, not the global locale.
4228 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4230 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4231 instantiation for AIX.
4232 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4233 * testsuite/25_algorithms/min_max.cc: Same.
4235 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4237 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4238 twice. Always set _M_cfile to 0 when stream was open.
4240 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4242 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4243 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4244 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4245 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4246 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4247 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4248 ifstream_members.cc, instantiations.cc, ios.cc,
4249 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4250 ios_base_members_static.cc, ios_base_storage.cc,
4251 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4252 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4253 iostream.cc, iostream_members.cc, istream.cc,
4254 istream_exception.cc, istream_extractor_char.cc,
4255 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4256 istream_extractor_other-2.tst, istream_extractor_other.cc,
4257 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4258 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4259 istream_sentry.cc, istream_unformatted-1.tst,
4260 istream_unformatted-1.txt, istream_unformatted.cc,
4261 istringstream.cc, istringstream_members.cc,
4262 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4263 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4264 ostream_fail.cc, ostream_inserter_arith.cc,
4265 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4266 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4267 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4268 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4269 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4270 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4271 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4272 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4273 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4274 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4275 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4276 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4277 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4278 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4280 * 27_io/basic_filebuf/1.cc: New.
4281 * 27_io/basic_filebuf/2.cc: New.
4282 * 27_io/basic_filebuf/3.cc: New.
4283 * 27_io/basic_filebuf/4.cc: New.
4284 * 27_io/basic_filebuf/close/char/1.cc: New.
4285 * 27_io/basic_filebuf/close/char/2.cc: New.
4286 * 27_io/basic_filebuf/close/char/3.cc: New.
4287 * 27_io/basic_filebuf/close/char/4879.cc: New.
4288 * 27_io/basic_filebuf/close/char/9964.cc: New.
4289 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4290 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4291 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4292 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4293 * 27_io/basic_filebuf/open/char/1.cc: New.
4294 * 27_io/basic_filebuf/open/char/2.cc: New.
4295 * 27_io/basic_filebuf/open/char/3.cc: New.
4296 * 27_io/basic_filebuf/open/char/9507.cc: New.
4297 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4298 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4299 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4300 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4301 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4302 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4303 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4304 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4305 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4306 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4307 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4308 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4309 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4310 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4311 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4312 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4313 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4314 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4315 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4316 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4317 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4318 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4319 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4320 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4321 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4322 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4323 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4324 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4325 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4326 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4327 * 27_io/basic_fstream/1.cc: New.
4328 * 27_io/basic_fstream/2.cc: New.
4329 * 27_io/basic_fstream/3.cc: New.
4330 * 27_io/basic_fstream/4.cc: New.
4331 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4332 * 27_io/basic_ifstream/1.cc: New.
4333 * 27_io/basic_ifstream/2.cc: New.
4334 * 27_io/basic_ifstream/3.cc: New.
4335 * 27_io/basic_ifstream/4.cc: New.
4336 * 27_io/basic_ifstream/cons/char/1.cc: New.
4337 * 27_io/basic_ifstream/open/char/1.cc: New.
4338 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4339 * 27_io/basic_ios/1.cc: New.
4340 * 27_io/basic_ios/2.cc: New.
4341 * 27_io/basic_ios/3.cc: New.
4342 * 27_io/basic_ios/4.cc: New.
4343 * 27_io/basic_ios/clear/char/1.cc: New.
4344 * 27_io/basic_ios/cons/char/1.cc: New.
4345 * 27_io/basic_ios/cons/char/2.cc: New.
4346 * 27_io/basic_ios/cons/char/3.cc: New.
4347 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4348 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4349 * 27_io/basic_ios/exceptions/char/1.cc: New.
4350 * 27_io/basic_ios/locales/char/1.cc: New.
4351 * 27_io/basic_iostream/1.cc: New.
4352 * 27_io/basic_iostream/2.cc: New.
4353 * 27_io/basic_iostream/3.cc: New.
4354 * 27_io/basic_iostream/4.cc: New.
4355 * 27_io/basic_istream/1.cc: New.
4356 * 27_io/basic_istream/2.cc: New.
4357 * 27_io/basic_istream/3.cc: New.
4358 * 27_io/basic_istream/4.cc: New.
4359 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4360 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4361 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4362 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4363 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4364 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4365 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4366 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4367 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4368 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4369 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4370 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4371 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4372 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4373 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4374 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4375 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4376 * 27_io/basic_istream/extractors_other/char/2.cc: New.
4377 * 27_io/basic_istream/extractors_other/char/3.cc: New.
4378 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
4379 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
4380 * 27_io/basic_istream/get/char/1.cc: New.
4381 * 27_io/basic_istream/get/char/2.cc: New.
4382 * 27_io/basic_istream/getline/char/1.cc: New.
4383 * 27_io/basic_istream/getline/char/2.cc: New.
4384 * 27_io/basic_istream/getline/char/3.cc: New.
4385 * 27_io/basic_istream/ignore/char/1.cc: New.
4386 * 27_io/basic_istream/ignore/char/6360.cc: New.
4387 * 27_io/basic_istream/ignore/char/7220.cc: New.
4388 * 27_io/basic_istream/peek/char/1.cc: New.
4389 * 27_io/basic_istream/peek/char/6414.cc: New.
4390 * 27_io/basic_istream/putback/char/1.cc: New.
4391 * 27_io/basic_istream/read/char/1.cc: New.
4392 * 27_io/basic_istream/read/char/2.cc: New.
4393 * 27_io/basic_istream/read/char/3.cc: New.
4394 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
4395 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
4396 * 27_io/basic_istream/readsome/char/8258.cc: New.
4397 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
4398 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
4399 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
4400 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
4401 * 27_io/basic_istream/seekg/char/fstream.cc: New.
4402 * 27_io/basic_istream/seekg/char/sstream.cc: New.
4403 * 27_io/basic_istream/sentry/char/1.cc: New.
4404 * 27_io/basic_istream/sentry/char/2.cc: New.
4405 * 27_io/basic_istream/sentry/char/3.cc: New.
4406 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
4407 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
4408 * 27_io/basic_istream/tellg/char/1.cc: New.
4409 * 27_io/basic_istream/tellg/char/8348.cc: New.
4410 * 27_io/basic_istream/tellg/char/fstream.cc: New.
4411 * 27_io/basic_istream/tellg/char/sstream.cc: New.
4412 * 27_io/basic_istream/ws/char/1.cc: New.
4413 * 27_io/basic_istringstream/1.cc: New.
4414 * 27_io/basic_istringstream/2.cc: New.
4415 * 27_io/basic_istringstream/3.cc: New.
4416 * 27_io/basic_istringstream/4.cc: New.
4417 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
4418 * 27_io/basic_istringstream/str/char/1.cc: New.
4419 * 27_io/basic_ofstream/1.cc: New.
4420 * 27_io/basic_ofstream/2.cc: New.
4421 * 27_io/basic_ofstream/3.cc: New.
4422 * 27_io/basic_ofstream/4.cc: New.
4423 * 27_io/basic_ofstream/cons/char/2.cc: New.
4424 * 27_io/basic_ofstream/open/char/1.cc: New.
4425 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
4426 * 27_io/basic_ostream/1.cc: New.
4427 * 27_io/basic_ostream/2.cc: New.
4428 * 27_io/basic_ostream/3.cc: New.
4429 * 27_io/basic_ostream/4.cc: New.
4430 * 27_io/basic_ostream/cons/char/9827.cc: New.
4431 * 27_io/basic_ostream/endl/char/1.cc: New.
4432 * 27_io/basic_ostream/ends/char/1.cc: New.
4433 * 27_io/basic_ostream/ends/char/2.cc: New.
4434 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
4435 * 27_io/basic_ostream/flush/char/1.cc: New.
4436 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
4437 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
4438 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
4439 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
4440 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
4441 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
4442 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
4443 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
4444 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
4445 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
4446 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
4447 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
4448 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
4449 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
4450 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
4451 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
4452 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
4453 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
4454 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
4455 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
4456 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
4457 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
4458 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
4459 * 27_io/basic_ostream/sentry/char/1.cc: New.
4460 * 27_io/basic_ostream/sentry/char/2.cc: New.
4461 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
4462 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
4463 * 27_io/basic_ostream/tellp/char/1.cc: New.
4464 * 27_io/basic_ostream/tellp/char/2.cc: New.
4465 * 27_io/basic_ostringstream/1.cc: New.
4466 * 27_io/basic_ostringstream/2.cc: New.
4467 * 27_io/basic_ostringstream/3.cc: New.
4468 * 27_io/basic_ostringstream/4.cc: New.
4469 * 27_io/basic_ostringstream/cons/char/3.cc: New.
4470 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
4471 * 27_io/basic_ostringstream/str/char/1.cc: New.
4472 * 27_io/basic_ostringstream/str/char/2.cc: New.
4473 * 27_io/basic_streambuf/1.cc: New.
4474 * 27_io/basic_streambuf/2.cc: New.
4475 * 27_io/basic_streambuf/3.cc: New.
4476 * 27_io/basic_streambuf/cons/char/1.cc: New.
4477 * 27_io/basic_streambuf/imbue/char/1.cc: New.
4478 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
4479 * 27_io/basic_streambuf/overflow/char/1.cc: New.
4480 * 27_io/basic_streambuf/overflow/char/2.cc: New.
4481 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
4482 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
4483 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
4484 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
4485 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
4486 * 27_io/basic_streambuf/sputn/char/1.cc: New.
4487 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
4488 * 27_io/basic_streambuf/sync/char/1057.cc: New.
4489 * 27_io/basic_stringbuf/1.cc: New.
4490 * 27_io/basic_stringbuf/2.cc: New.
4491 * 27_io/basic_stringbuf/3.cc: New.
4492 * 27_io/basic_stringbuf/4.cc: New.
4493 * 27_io/basic_stringbuf/5.cc: New.
4494 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
4495 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
4496 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
4497 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
4498 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
4499 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
4500 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
4501 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
4502 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
4503 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
4504 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
4505 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
4506 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
4507 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
4508 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
4509 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
4510 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
4511 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
4512 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
4513 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
4514 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
4515 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
4516 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
4517 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
4518 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
4519 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
4520 * 27_io/basic_stringbuf/str/char/1.cc: New.
4521 * 27_io/basic_stringbuf/str/char/2.cc: New.
4522 * 27_io/basic_stringbuf/str/char/3.cc: New.
4523 * 27_io/basic_stringbuf/str/char/3955.cc: New.
4524 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
4525 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
4526 * 27_io/basic_stringstream/1.cc: New.
4527 * 27_io/basic_stringstream/2.cc: New.
4528 * 27_io/basic_stringstream/3.cc: New.
4529 * 27_io/basic_stringstream/4.cc: New.
4530 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
4531 * 27_io/basic_stringstream/str/char/1.cc: New.
4532 * 27_io/basic_stringstream/str/char/2.cc: New.
4533 * 27_io/basic_stringstream/str/char/3.cc: New.
4534 * 27_io/basic_stringstream/str/char/4.cc: New.
4535 * 27_io/fpos/1.cc: New.
4536 * 27_io/fpos/2.cc: New.
4537 * 27_io/fpos/3.cc: New.
4538 * 27_io/ios_base/callbacks/1.cc: New.
4539 * 27_io/ios_base/state/1.cc: New.
4540 * 27_io/ios_base/storage/1.cc: New.
4541 * 27_io/ios_base/storage/2.cc: New.
4542 * 27_io/ios_base/storage/3.cc: New.
4543 * 27_io/ios_base/sync_with_stdio/1.cc: New.
4544 * 27_io/ios_base/sync_with_stdio/2.cc: New.
4545 * 27_io/manipulators/adjustfield/char/1.cc: New.
4546 * 27_io/manipulators/adjustfield/char/2.cc: New.
4547 * 27_io/manipulators/basefield/char/1.cc: New.
4548 * 27_io/manipulators/standard/char/1.cc: New.
4549 * 27_io/manipulators/standard/char/2.cc: New.
4550 * 27_io/objects/char/1.cc: New.
4551 * 27_io/objects/char/2.cc: New.
4552 * 27_io/objects/char/2523-1_xin.cc: New.
4553 * 27_io/objects/char/2523-1_xin.in: New.
4554 * 27_io/objects/char/2523-2_xin.cc: New.
4555 * 27_io/objects/char/2523-2_xin.in: New.
4556 * 27_io/objects/char/3045.cc: New.
4557 * 27_io/objects/char/3647.cc: New.
4558 * 27_io/objects/char/3_xin.cc: New.
4559 * 27_io/objects/char/3_xin.in: New.
4560 * 27_io/objects/char/4_xin.cc: New.
4561 * 27_io/objects/char/4_xin.in: New.
4562 * 27_io/objects/char/5268.cc: New.
4563 * 27_io/objects/char/5280_xin.cc: New.
4564 * 27_io/objects/char/5280_xin.in: New.
4565 * 27_io/objects/char/6548_xin.cc: New.
4566 * 27_io/objects/char/6548_xin.in: New.
4567 * 27_io/objects/char/6648-1_xin.cc: New.
4568 * 27_io/objects/char/6648-1_xin.in: New.
4569 * 27_io/objects/char/6648-2_xin.cc: New.
4570 * 27_io/objects/char/6648-2_xin.in: New.
4571 * 27_io/objects/char/7744_xin.cc: New.
4572 * 27_io/objects/char/7744_xin.in: New.
4573 * 27_io/objects/wchar_t/1.cc: New.
4574 * 27_io/types/1.cc: New.
4575 * 27_io/types/2.cc: New.
4576 * data/filebuf_members-1.tst: New.
4577 * data/filebuf_members-1.txt: New.
4578 * data/filebuf_virtuals-1.tst: New.
4579 * data/filebuf_virtuals-1.txt: New.
4580 * data/filebuf_virtuals-2.tst: New.
4581 * data/filebuf_virtuals-3.tst: New.
4582 * data/ifstream_members-1.tst: New.
4583 * data/ifstream_members-1.txt: New.
4584 * data/ios_base_members_static-1.tst: New.
4585 * data/istream_extractor_other-1.tst: New.
4586 * data/istream_extractor_other-1.txt: New.
4587 * data/istream_extractor_other-2.tst: New.
4588 * data/istream_seeks-1.tst: New.
4589 * data/istream_seeks-1.txt: New.
4590 * data/istream_seeks-2.tst: New.
4591 * data/istream_seeks-3.tst: New.
4592 * data/istream_unformatted-1.tst: New.
4593 * data/istream_unformatted-1.txt: New.
4594 * data/ofstream_members-1.tst: New.
4595 * data/ostream_inserter_char-1.tst: New.
4596 * data/ostream_inserter_char-1.txt: New.
4597 * data/ostream_inserter_other-1.tst: New.
4598 * data/ostream_inserter_other-2.tst: New.
4599 * data/ostream_seeks-1.tst: New.
4601 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4603 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
4604 requirement that __mode must be strict input or output.
4606 * include/std/std_streambuf.h (basic_streambuf::setp): Set
4609 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
4610 output string shouldn't core.
4611 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
4613 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
4615 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
4618 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4620 * testsuite/data: New directory.
4621 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4622 to copy files from the testsuite data directory.
4623 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
4624 testfiles containing _xin, which now means this is an interactive
4625 test and should be run with the interactive dejagnu hooks.
4626 * testsuite/Makefile.am: Remove testsuite_* files.
4627 * testsuite/Makefile.in: Regenerate.
4629 2003-04-09 Zack Weinberg <zack@codesourcery.com>
4631 * docs/html/install.html: Document complete list of locales
4632 required by test suite. Document procedure for installing
4633 said locales under Debian. Solicit instructions for other
4636 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
4638 * include/bits/sstream.tcc (overflow): Make sure operands of min
4639 and max have the same type.
4641 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
4644 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
4647 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
4649 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
4650 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4651 Don't set _M_out_end.
4652 (basic_filebuf::overflow): Replace _M_out_buf_size() with
4653 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4654 * include/bits/sstream.tcc (basic_stringbuf::overflow):
4655 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4656 * include/bits/streambuf.tcc (basic_streambuf::sputc):
4657 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4658 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4659 _M_out_end - _M_out_cur.
4660 (__copy_streambufs): Likewise.
4661 * include/std/std_fstream.h (_M_set_determinate): Set
4664 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
4666 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4667 _M_convert_to_external, _M_really_overflow, seekoff): Fix
4668 test for synced buffer.
4669 * include/std/std_fstream.h (sync): Likewise.
4670 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4671 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4673 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
4675 * include/std/std_sstream.h (basic_istringstream): Adjust
4677 (basic_ostringstream): Same.
4678 (basic_stringstream): Same.
4679 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4680 (basic_ofstream): Same.
4681 (basic_fstream): Same.
4682 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4683 that does not call init.
4684 * include/std/std_istream.h (basic_istream): Same.
4685 (basic_iostream): Construct istream, ostream uninitialized, use
4686 init to initialize just once. Add protected ctor that does not
4689 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
4690 Nathan Myers <ncm@cantrip.org>
4693 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4695 (basic_filebuf<>::showmanyc): Use the information provided
4696 by codecvt and __basic_file<>::showmanyc_helper to implement
4697 a non-trivial showmanyc.
4698 * config/io/basic_file_stdio.h
4699 (__basic_file<>::showmanyc_helper): New, declare.
4700 * config/io/basic_file_stdio.cc
4701 (__basic_file<>::showmanyc_helper): Define.
4702 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4703 (__basic_file<char>::open): Don't call fcntl().
4704 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4705 GLIBCPP_CHECK_POLL): New macros.
4706 * configure.in: Call here.
4707 * acconfig.h: Add #undefs for the corresponding symbols.
4708 * aclocal.m4: Regenerate.
4709 * configure: Regenerate.
4710 * config.h.in: Regenerate.
4712 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
4714 * config/linker-map.gnu: Remove string export restrictions.
4716 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
4718 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4719 find_first_of, find_last_of and find_last_not_of tests.
4720 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4721 tests here, new file.
4722 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4723 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4724 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4725 wchar_t find_first_of tests here, new file.
4726 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4728 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4730 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4731 wchar_t find_last_of tests here.
4732 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4733 wchar_t find_last_not_of tests here.
4735 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
4737 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4738 Correct return value.
4740 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
4743 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4744 * include/std/std_complex.h (norm): Use faster,
4745 less accurate computation for builtin float types under --fast-math.
4747 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
4749 * testsuite/testsuite_hooks.h: Fix warning nits.
4751 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
4753 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4754 Only .set mips2 for the o32 ABI.
4756 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
4758 * testsuite/21_strings/char_traits/requirements/char/1.cc:
4759 Test char not wchar_t.
4761 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4763 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4764 Correct size, taking into account sizeof(wchar_t).
4766 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4768 Reshuffle 21_strings testsuite.
4769 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4770 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4771 element_access.cc, operations.cc, char_traits_requirements.cc,
4772 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4773 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4774 wchar_t tests as follows.
4775 * 21_strings/basic_string/append/char/1.cc: New.
4776 * 21_strings/basic_string/append/wchar_t/1.cc: New.
4777 * 21_strings/basic_string/assign/char/1.cc: New.
4778 * 21_strings/basic_string/assign/char/2.cc: New.
4779 * 21_strings/basic_string/assign/char/3.cc: New.
4780 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4781 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4782 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4783 * 21_strings/basic_string/capacity/1.cc: New.
4784 * 21_strings/basic_string/capacity/char/1.cc: New.
4785 * 21_strings/basic_string/capacity/char/2.cc: New.
4786 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4787 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4788 * 21_strings/basic_string/compare/char/1.cc: New.
4789 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4790 * 21_strings/basic_string/cons/char/1.cc: New.
4791 * 21_strings/basic_string/cons/char/2.cc: New.
4792 * 21_strings/basic_string/cons/char/3.cc: New.
4793 * 21_strings/basic_string/cons/char/4.cc: New.
4794 * 21_strings/basic_string/cons/char/5.cc: New.
4795 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4796 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4797 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4798 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4799 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4800 * 21_strings/basic_string/element_access/char/1.cc: New.
4801 * 21_strings/basic_string/element_access/char/2.cc: New.
4802 * 21_strings/basic_string/element_access/char/3.cc: New.
4803 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4804 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4805 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4806 * 21_strings/basic_string/find/char/1.cc: New.
4807 * 21_strings/basic_string/find/wchar_t/1.cc: New.
4808 * 21_strings/basic_string/insert/char/1.cc: New.
4809 * 21_strings/basic_string/insert/char/2.cc: New.
4810 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
4811 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
4812 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
4813 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
4814 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
4815 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
4816 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
4817 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
4818 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
4819 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
4820 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
4821 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
4822 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
4823 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
4824 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
4825 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
4826 * 21_strings/basic_string/operators/char/1.cc: New.
4827 * 21_strings/basic_string/operators/char/2.cc: New.
4828 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
4829 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
4830 * 21_strings/basic_string/replace/char/1.cc: New.
4831 * 21_strings/basic_string/replace/char/2.cc: New.
4832 * 21_strings/basic_string/replace/char/3.cc: New.
4833 * 21_strings/basic_string/replace/char/4.cc: New.
4834 * 21_strings/basic_string/replace/char/5.cc: New.
4835 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
4836 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
4837 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
4838 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
4839 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
4840 * 21_strings/basic_string/rfind/char/1.cc: New.
4841 * 21_strings/basic_string/rfind/char/2.cc: New.
4842 * 21_strings/basic_string/rfind/char/3.cc: New.
4843 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
4844 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
4845 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
4846 * 21_strings/basic_string/substr/char/1.cc: New.
4847 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
4848 * 21_strings/c_strings/char/1.cc: New.
4849 * 21_strings/c_strings/char/2.cc: New.
4850 * 21_strings/c_strings/wchar_t/1.cc: New.
4851 * 21_strings/c_strings/wchar_t/2.cc: New.
4852 * 21_strings/char_traits/requirements/char/1.cc: New.
4853 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
4854 * 21_strings/char_traits/typedefs/char/1.cc: New.
4856 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
4857 Petur Runolfsson <peturr02@ru.is>
4860 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4861 basic_filebuf<wchar_t>::_M_underflow_common):
4862 if (gptr() < egptr()) return *gptr().
4863 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
4865 * testsuite/27_io/filebuf_members.cc (test_04): Minor
4866 changes: unlink fifo before making it, fix spelling error.
4868 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
4870 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4871 * testsuite/Makefile.in: Regenerate.
4872 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
4875 2003-03-17 Petur Runolfsson <peturr02@ru.is>
4878 * include/bits/fstream.tcc (basic_filebuf::close):
4879 Always close file, even when write fails.
4880 * testsuite/27_io/filebuf_members.cc (test_07): New test.
4882 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
4884 * libsupc++/Makefile.am (C_COMPILE): Remove.
4885 (LTCOMPILE): Likewise.
4886 * libsupc++/Makefile.in: Regenerate.
4888 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4890 * testsuite/23_containers/bitset_members.cc: Add test variable.
4891 * testsuite/23_containers/map_insert.cc: Same.
4892 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
4893 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
4894 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4895 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4896 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4897 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
4898 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
4899 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4900 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4901 * testsuite/27_io/istream_exception.cc: Same.
4902 * testsuite/27_io/filebuf_virtuals.cc: Same.
4903 * testsuite/27_io/stringbuf_virtuals.cc: Same.
4904 * testsuite/27_io/ostream_inserter_arith.cc: Same.
4905 * testsuite/26_numerics/valarray_operators.cc: Same.
4906 * testsuite/26_numerics/slice.cc: Same.
4907 * testsuite/26_numerics/slice_array_assignment.cc: Same.
4908 * testsuite/24_iterators/istream_iterator.cc: Same.
4909 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
4911 2003-03-14 Petur Runolfsson <peturr02@ru.is>
4915 * config/locale/generic/ctype_members.cc,
4916 * config/locale/gnu/ctype_members.cc
4917 (ctype<wchar_t>::do_widen(char)): Cast argument to
4918 unsigned char before passing to btowc.
4919 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
4920 Convert characters with btowc instead of mbsrtowcs.
4921 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
4923 Convert characters with wctob instead of wcsrtombs.
4924 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
4925 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
4926 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
4928 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4930 * include/stdc++.h: New.
4931 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
4932 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
4933 * include/Makefile.in: Regenerate.
4934 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
4935 (--cxxflags): Put -g -O2 here.
4936 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
4938 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
4940 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
4941 missing named locale.
4943 2003-03-14 Andreas Schwab <schwab@suse.de>
4945 * configure.in: Only append to makefiles that are newly created to
4946 avoid multiple multi-do/multi-clean rules.
4947 * configure: Rebuilt.
4949 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
4951 * docs/html/configopts.html, docs/html/documentation.html,
4952 docs/html/explanations.html, docs/html/install.html,
4953 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
4954 invalid XHTML and make page header style consistent.
4956 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
4958 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
4959 * docs/html/faq/index.txt: Regenerate.
4960 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
4962 2003-03-12 Andreas Schwab <schwab@suse.de>
4964 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
4965 glibcpp_toolexeclibdir.
4966 * aclocal.m4, configure: Rebuilt.
4968 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
4970 * docs/html/faq/index.html: Update text about location of headers.
4971 * docs/html/faq/index.txt: Regenerate.
4973 2003-03-11 Carlo Wood <carlo@alinoe.com>
4975 * include/bits/demangle.h: Prepend accessors of
4976 class qualifier with 'get_' in order to fix warnings
4977 when compiling with -Wshadow.
4979 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
4981 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
4983 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
4985 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
4986 report lack of setenv().
4988 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4990 * config/io/basic_file_stdio.cc: include <unistd.h>.
4992 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4993 Nathan Myers <ncm@cantrip.org>
4996 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
4997 seekoff, seekpos): Add a boolean parameter __stdio.
4998 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
4999 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
5000 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
5002 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
5003 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
5004 * include/std/std_fstream.h (sync): Likewise.
5005 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
5006 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
5007 libstdc++/8399 commit involving isatty(0).
5008 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
5009 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
5010 * configure.in: Remove call.
5011 * aclocal.m4: Regenerate.
5012 * config.h.in: Regenerate.
5013 * configure: Regenerate.
5014 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
5016 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5019 * include/bits/fstream.tcc (overflow): don't write EOF to file.
5020 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
5022 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5025 * include/bits/basic_ios.h (_M_setstate): New.
5026 * include/bits/ostream.tcc (operator<<): Use it.
5027 * include/bits/istream.tcc (operator>>): Use it.
5028 * include/std/std_ostream.h (operator<<): Make friends.
5029 * include/std/std_istream.h (operator>>): Make friends.
5030 * testsuite/27_io/ostream_exception.cc,
5031 testsuite/27_io/istream_exception.cc: New tests.
5033 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
5035 * include/bits/locale_facets.tcc: Fix typo.
5037 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
5039 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
5041 * config/locale/generic/c_locale.cc
5042 (locale::facet::_S_create_c_locale): Throw runtime exception when
5043 unsupported language is specified.
5044 * testsuite/testsuite_hooks.h
5045 (run_test_wrapped_generic_locale_exception_catcher): New function.
5046 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
5047 Suppress runtime exception thrown by generic implementation.
5048 (run_tests_wrapped_env): Likewise.
5049 (run_test_wrapped_generic_locale_exception_catcher): New function.
5050 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
5051 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
5052 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
5053 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
5054 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
5055 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
5056 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5057 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5058 * testsuite/22_locale/facet/2.cc: New test wrap.
5059 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5060 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5061 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5062 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5063 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5064 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5065 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5066 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5067 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5068 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5069 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5070 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5071 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5072 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5073 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5074 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5075 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5076 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5077 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5078 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5079 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5080 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5081 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5082 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5083 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5084 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5085 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5086 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5087 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5088 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5089 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5090 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5091 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5092 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5093 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5094 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5095 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5096 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5097 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5098 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5099 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5100 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5101 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5102 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5103 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5104 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5105 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5106 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5107 * testsuite/27_io/ios_members.cc: New test wrap.
5108 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5110 * testsuite/27_io/streambuf_members.cc: New test wrap.
5111 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5113 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5114 Petur Runolfsson <peturr02@ru.is>
5117 * include/bits/streambuf.tcc (__copy_streambufs): Use
5118 sgetn-sputn only when sputn cannot fail, otherwise fall back
5119 to safe snextc-sputc.
5120 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5122 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5124 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5125 locale cache for truename and falsename.
5127 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5129 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5130 _M_word_size initialization.
5132 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5134 * include/bits/fstream.tcc (_M_convert_to_external):
5135 Set __elen to zero if codecvt::out eventually fails.
5137 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5140 * include/bits/fstream.tcc (_M_really_overflow): Check
5141 for _M_convert_to_external possible failures.
5142 * include/std/std_fstream.h (sync): Check _M_really_overflow
5143 return value and return -1 in case of failure.
5144 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5146 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5149 * include/bits/istream.tcc (operator>>(_CharT*),
5150 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5151 * testsuite/27_io/stringstream.cc (test02): Add.
5153 * include/bits/istream.tcc (operator>>(_CharT*)):
5154 Assign a char_type to *__s.
5156 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5159 * include/bits/locale_facets.tcc
5160 (collate::do_compare, collate::do_transform):
5161 Handle nul characters in input.
5162 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5163 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5164 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5165 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5167 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5169 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5171 * testsuite/27_io/ostream_fail.cc: New test.
5173 2003-03-07 Matthias Klose <doko@debian.org>
5175 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5176 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5177 * Makefile.in: Regenerate.
5178 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5180 AM_MAKEFLAGS: Pass gxx_include_dir.
5181 * libsupc++/Makefile.in: Regenerate.
5183 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5185 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5186 mask. Test setting small-numbered pword and iword slots. Test
5187 behavior at limit of numeric_limits::max. Check that values are
5188 still good after failures.
5190 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5192 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5193 (ios_base::ios_base): Set _M_word, _M_word_size.
5194 (ios_base::~ios_base): Remove redundant test.
5195 * testsuite/27_io/ios_base_storage.cc (test03): New.
5197 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5199 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5200 incorrect whitespace added in my previous change.
5202 2003-03-05 Carlo Wood <carlo@alinoe.com>
5204 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5205 _S_initialized() in order to allow debugging libraries to detect
5206 when the std streams are initialized from an overloaded operator
5209 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5211 * libsupc++/demangle.h: Move to..
5212 * include/bits/demangle.h: ...here.
5213 * src/demangle.cc: Adjust include.
5214 * include/Makefile.am (bits_headers): Add.
5215 * include/Makefile.in: Regenerate.
5217 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5219 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5221 * config/linker-map.gnu: Filter typeinfo and vtable info.
5223 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5225 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5226 new failure. Throw exception if badbit and exception mask when ix
5227 >= numeric_limits<int>::max().
5229 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5231 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5232 min and max have the same type.
5233 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5235 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5237 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5238 * include/Makefile.in: Regenerate.
5240 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5242 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5244 * config/linker-map.gnu: Hide more stuff.
5245 * include/Makefile.am: Cleanups.
5246 * include/Makefile.in: Regenerate.
5248 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5250 * config/locale/generic/messages_members.h (messages::messages):
5251 Remove name from unused parameter.
5253 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5255 * src/Makefile.am (sources): Add demangle.cc.
5258 * src/Makefile.in: Regenerate.
5259 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5260 * libsupc++/Makefile.in: Regenerate.
5262 * testsuite/testsuite_hooks.h
5263 (__gnu_cxx_test::verify_demangle): New.
5264 * testsuite/testsuite_hooks.cc: Define.
5266 2003-02-27 Carlo Wood <carlo@alinoe.com>
5268 * src/demangle.cc: New.
5269 * libsupc++/demangle.h: New.
5271 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5272 Carlo Wood <carlo@alinoe.com>
5274 * testsuite/demangle/abi_examples/01.cc: New.
5275 * testsuite/demangle/abi_examples/02.cc: New.
5276 * testsuite/demangle/abi_examples/03.cc: New.
5277 * testsuite/demangle/abi_examples/04.cc: New.
5278 * testsuite/demangle/abi_examples/05.cc: New.
5279 * testsuite/demangle/abi_examples/06.cc: New.
5280 * testsuite/demangle/abi_examples/07.cc: New.
5281 * testsuite/demangle/abi_examples/08.cc: New.
5282 * testsuite/demangle/abi_examples/09.cc: New.
5283 * testsuite/demangle/abi_examples/10.cc: New.
5284 * testsuite/demangle/abi_examples/11.cc: New.
5285 * testsuite/demangle/abi_examples/12.cc: New.
5286 * testsuite/demangle/abi_examples/13.cc: New.
5287 * testsuite/demangle/abi_examples/14.cc: New.
5288 * testsuite/demangle/abi_examples/15.cc: New.
5289 * testsuite/demangle/abi_examples/16.cc: New.
5290 * testsuite/demangle/abi_examples/17.cc: New.
5291 * testsuite/demangle/abi_examples/18.cc: New.
5292 * testsuite/demangle/abi_examples/19.cc: New.
5293 * testsuite/demangle/abi_examples/20.cc: New.
5294 * testsuite/demangle/abi_examples/21.cc: New.
5295 * testsuite/demangle/abi_examples/22.cc: New.
5296 * testsuite/demangle/abi_examples/23.cc: New.
5297 * testsuite/demangle/abi_examples/24.cc: New.
5298 * testsuite/demangle/abi_examples/25.cc: New.
5299 * testsuite/demangle/abi_examples/26.cc: New.
5300 * testsuite/demangle/abi_text/01.cc: New.
5301 * testsuite/demangle/abi_text/02.cc: New.
5302 * testsuite/demangle/abi_text/03.cc: New.
5303 * testsuite/demangle/abi_text/04.cc: New.
5304 * testsuite/demangle/abi_text/05.cc: New.
5305 * testsuite/demangle/abi_text/06.cc: New.
5306 * testsuite/demangle/abi_text/07.cc: New.
5307 * testsuite/demangle/abi_text/08.cc: New.
5308 * testsuite/demangle/abi_text/09.cc: New.
5309 * testsuite/demangle/abi_text/10.cc: New.
5310 * testsuite/demangle/abi_text/11.cc: New.
5311 * testsuite/demangle/abi_text/12.cc: New.
5312 * testsuite/demangle/abi_text/13.cc: New.
5313 * testsuite/demangle/abi_text/14.cc: New.
5314 * testsuite/demangle/regression/3111-1.cc: New.
5315 * testsuite/demangle/regression/3111-2.cc: New.
5316 * testsuite/demangle/regression/7986-01.cc: New.
5317 * testsuite/demangle/regression/7986-02.cc: New.
5318 * testsuite/demangle/regression/7986-03.cc: New.
5319 * testsuite/demangle/regression/7986-04.cc: New.
5320 * testsuite/demangle/regression/7986-05.cc: New.
5321 * testsuite/demangle/regression/7986-06.cc: New.
5322 * testsuite/demangle/regression/7986-07.cc: New.
5323 * testsuite/demangle/regression/7986-08.cc: New.
5324 * testsuite/demangle/regression/7986-09.cc: New.
5325 * testsuite/demangle/regression/7986-10.cc: New.
5326 * testsuite/demangle/regression/7986-11.cc: New.
5327 * testsuite/demangle/regression/7986-12.cc: New.
5328 * testsuite/demangle/regression/7986.cc: New.
5329 * testsuite/demangle/regression/8897.cc: New.
5330 * testsuite/demangle/regression/cw-01.cc: New.
5331 * testsuite/demangle/regression/cw-02.cc: New.
5332 * testsuite/demangle/regression/cw-03.cc: New.
5333 * testsuite/demangle/regression/cw-04.cc: New.
5334 * testsuite/demangle/regression/cw-05.cc: New.
5335 * testsuite/demangle/regression/cw-06.cc: New.
5336 * testsuite/demangle/regression/cw-07.cc: New.
5337 * testsuite/demangle/regression/cw-08.cc: New.
5338 * testsuite/demangle/regression/cw-09.cc: New.
5339 * testsuite/demangle/regression/cw-10.cc: New.
5340 * testsuite/demangle/regression/cw-11.cc: New.
5341 * testsuite/demangle/regression/cw-12.cc: New.
5342 * testsuite/demangle/regression/cw-13.cc: New.
5343 * testsuite/demangle/regression/cw-14.cc: New.
5344 * testsuite/demangle/regression/old.cc: New.
5346 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5348 * docs/doxygen/Intro.3: Update with new (proper) names.
5349 * docs/doxygen/TODO: Update.
5350 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5351 Fake entries for standard typedefs.
5352 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5353 * docs/html/documentation.html: Top-level man page is now called
5355 * include/std/std_limits.h: Doxygenate.
5357 2003-02-25 Scott Snyder <snyder@fnal.gov>
5360 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5361 Correct documentation.
5362 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5363 equal_range): Likewise.
5365 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5369 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5370 __bump is true (uflow), always increment the read pointer
5371 (_M_in_cur) before returning successfully.
5372 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5374 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5375 Nathan Myers <ncm@cantrip.org>
5377 PR libstdc++/9404, PR libstdc++/9701 (partial)
5378 (aka pptr == epptr implies overflow)
5379 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5380 Consistently, _M_out_end points to the end of the buffer just
5382 (overflow): Tweak to use _M_out_buf_size().
5383 (_M_convert_to_external): The role of the old _M_out_end is
5384 now played by _M_out_lim.
5385 (_M_really_overflow): Likewise.
5386 (seekoff): Likewise.
5387 (setbuf): _M_out_end points to the end of the external buffer.
5388 * include/bits/sstream.tcc (overflow): Rewrote, taking into
5389 account the resolution of DR 169 (TC).
5390 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
5391 (seekpos): Use _M_string.capacity(); tweak.
5392 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
5393 * include/std/std_fstream.h (sync): The role of the old
5394 _M_out_end is now played by _M_out_lim.
5395 (_M_set_indeterminate): Use _M_set_determinate.
5396 (_M_set_determinate): _M_out_end is now _M_out_lim.
5397 (_M_is_indeterminate): Likewise.
5398 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
5399 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
5400 which have the information readily available as _M_string.capacity();
5401 for ate and app modes, pass the string size to _M_really_sync.
5402 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
5403 point to the end of the buffer (i.e., epptr) and to the string end,
5405 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
5406 which points to the right limit of the used put area.
5407 (_M_out_cur_move): The role of the old _M_out_end is now played
5409 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
5410 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
5412 (basic_streambuf()): Initialize _M_out_lim too.
5413 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
5414 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
5415 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
5417 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
5419 * testsuite/27_io/ios_base_storage.cc (main): Call
5422 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
5424 * include/bits/locale_facets.tcc (_M_convert_float): Replace
5425 numpunct facet accesses with data from __locale_cache.
5427 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5429 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
5430 * docs/html/faq/index.txt: Regenerate.
5432 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5434 * config/linker-map.gnu: Also export locking symbols needed for the
5435 generic atomicity.h case.
5437 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5439 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5441 * configure: Rebuilt.
5443 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
5445 * include/bits/sstream.tcc (overflow): According to
5446 27.7.1.3, p5, actual output is performed by sputc(c).
5448 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
5451 * include/bits/stl_alloc.h: Remove all traces of assert().
5453 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5455 * include/std/std_sstream.h (str()): the size of the
5456 current string may be different from the initial one
5457 whenever _M_out_end > _M_out_beg.
5458 * testsuite/27_io/stringbuf_members.cc (test07): Add.
5460 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5463 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
5465 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
5467 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
5468 * testsuite/27_io/ios_members.cc (test03): New.
5470 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
5472 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
5473 (basic_ios::_M_cache_facets): Move into above.
5474 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
5476 (basic_ios::imbue): Force locale cache to be built.
5477 (basic_ios::_M_init): Create and initialize locale cache.
5478 * include/bits/ios_base.h (__locale_cache_base): Declare.
5479 (ios_base::_M_locale_cache): New.
5480 (ios_base::_M_cache): Define.
5481 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
5483 (__locale_cache_base,__locale_cache<_CharT>): New classes.
5484 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
5485 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
5486 cache literal string, grouping flag, thousands separator.
5487 (__locale_cache<_CharT>::__locale_cache): New.
5488 (__locale_cache<_CharT>::_M_init): New.
5489 * src/ios.cc: Clear _M_locale_cache in constructor.
5490 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
5493 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5495 * src/locale-inst.cc: Do not include <cassert>.
5496 * src/locale.cc: Likewise.
5498 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5501 * include/std/std_fstream.h: Declare underflow and uflow
5502 specializations, change generic definitions to do nothing.
5503 * src/fstream.cc: Add underflow and uflow specializations.
5505 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5508 * include/bits/fstream.tcc (_M_convert_to_external):
5509 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
5510 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
5512 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
5514 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
5515 * include/bits/basic_ios.tcc: Guard use of extern template.
5516 * include/std/std_iomanip.h: Same.
5517 * include/bits/streambuf.tcc: Same.
5518 * include/bits/stl_alloc.h: Same.
5519 * include/bits/locale_facets.tcc: Same.
5520 * include/bits/ostream.tcc: Same.
5521 * include/bits/istream.tcc: Same.
5522 * include/bits/fstream.tcc: Same.
5523 * include/bits/basic_string.tcc: Same.
5525 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
5527 * include/bits/ostream.tcc (sentry::sentry): Improve
5528 performance-wise the fix for libstdc++/9563.
5530 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
5532 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
5533 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
5534 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
5535 when we don't have static mutex initialization.
5536 (__exchange_and_add): Use _Atomic_add_mutex_once.
5537 * src/misc-inst.cc: Definitions of all the above.
5539 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
5542 * include/bits/ostream.tcc (sentry::sentry): Check
5543 the state of the stream after the preparation.
5544 * testsuite/27_io/ostream_sentry.cc (test02): Add.
5546 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
5548 * include/Makefile.am (stamp-std-precompile): Add rule.
5549 * include/Makefile.in: Regenerated.
5551 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
5552 Benjamin Kosnik <benjamin@redhat.com>
5554 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
5555 Add indexes into this array.
5556 (__num_base::_S_atoms): To _S_atoms_in.
5557 (num_put::_M_insert): Rename to _M_pad.
5558 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
5559 (num_put::_M_widen_int): Rename to _M_group_int.
5560 (num_put::_M_widen_float): Rename to _M_group_float.
5561 * include/bits/locale_facets.tcc (__int_to_char): New inline
5562 function and adapter functions.
5563 (num_put::_M_group_int): Streamline.
5564 (num_put::_M_group_float): Streamline.
5565 (num_put::_M_convert_int): Remove unused parameter names. Choose
5566 large enough buffer for text. Use __int_to_char instead of
5567 __convert_from_v. Formatted text is now at the end of the buffer.
5568 (num_put::_M_convert_float): Preliminary fixups.
5569 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
5570 (__int_to_char<unsigned long long>): Same.
5571 (__int_to_char<char, unsigned long>): New.
5572 (__int_to_char<char, unsigned long long>): New.
5573 (__int_to_char<wchar_t, unsigned long>): New.
5574 (__int_to_char<wchar_t, unsigned long long>): New.
5576 2003-02-11 Scott Snyder <snyder@fnal.gov>
5579 * include/bits/fstream.tcc (seekoff): Avoid operator+
5582 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5585 * include/ext/stdio_filebuf.h
5586 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
5587 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
5588 Change to take a __size parameter of type size_t, not
5589 of type (template parameter dependent) int_type.
5590 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
5591 size vars to size_t.
5592 * testsuite/ext/stdio_filebuf.cc: Add.
5594 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5595 Petur Runolfsson <peturr02@ru.is>
5598 * include/bits/streambuf.tcc (__copy_streambufs):
5599 Don't conditionalize the copy to __testput.
5600 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
5602 2002-02-11 DJ Delorie <dj@redhat.com>
5604 * acinclude.m4: Check for native targets that can't link at
5605 this point in the build.
5606 * aclocal.m4: Regenerate.
5607 * configure: Regenerate.
5609 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5611 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
5613 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
5616 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
5618 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
5619 unsigned char platforms.
5621 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5624 * include/std/std_istream.h
5625 (basic_istream::sentry::operator bool()): Make const.
5626 * include/std/std_ostream.h
5627 (basic_ostream::sentry::operator bool()): Likewise.
5628 * testsuite/27_io/istream_sentry.cc (test03): Add.
5629 * testsuite/27_io/ostream_sentry.cc: Add.
5631 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5634 Implement resolution of DR 231 (Ready)
5635 * include/bits/locale_facets.h (__num_base::_S_format_float):
5636 Change declaration: return void, remove __prec parameter.
5637 * src/locale.cc (__num_base::_S_format_float): Implement
5638 resolution of DR 231.
5639 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5640 Tweak uses. Check for negative precision.
5641 * testsuite/22_locale/num_put/put/char/6.cc: Add
5642 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
5644 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
5646 * config/io/basic_file_libio.h: Fixups.
5647 * config/io/c_io_libio.h: Same.
5648 * libio/Makefile.am: Same.
5649 * libio/Makefile.in: Regenerated.
5651 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
5653 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5654 Explicitly use the "C" locale.
5655 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5657 2003-02-06 Petur Runolfsson <peturr02@ru.is>
5661 PR libstdc++/9028 (partial)
5667 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5668 codecvt<wchar_t, char, mbstate_t>::do_length,
5669 codecvt<wchar_t, char, mbstate_t>::do_max_length):
5671 * config/locale/generic/codecvt_members.cc: ...here.
5672 * config/locale/gnu/codecvt_members.cc: ...and here.
5674 * config/locale/generic/codecvt_members.cc,
5675 * config/locale/gnu/codecvt_members.cc
5676 (codecvt<wchar_t, char, mbstate_t>::do_encoding
5677 codecvt<wchar_t, char, mbstate_t>::do_in,
5678 codecvt<wchar_t, char, mbstate_t>::do_length,
5679 codecvt<wchar_t, char, mbstate_t>::do_max_length,
5680 codecvt<wchar_t, char, mbstate_t>::do_out):
5681 New implementation that handles stateless encodings,
5684 * config/locale/generic/codecvt_members.cc,
5685 * config/locale/gnu/codecvt_members.cc,
5686 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5687 * include/bits/codecvt.h,
5689 (codecvt::length, codecvt::do_length):
5690 Change type of first argument of length and do_length from
5691 'const state_type&' to 'state_type&' according to DR 75.
5693 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
5694 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
5695 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
5696 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
5697 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5698 Cleanup and check for correct return value from encoding
5700 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
5701 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
5702 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
5703 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
5704 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
5705 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
5706 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
5707 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
5708 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
5709 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
5710 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
5711 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
5712 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
5713 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
5714 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
5715 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
5716 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
5717 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
5718 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
5719 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
5720 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
5721 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
5722 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
5723 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
5724 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
5725 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
5726 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
5727 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
5728 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
5729 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
5730 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
5731 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
5732 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
5733 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
5734 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
5735 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
5736 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
5738 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
5740 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5741 (money_put::do_put): Same.
5743 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
5745 * include/bits/ios_base.h (ios_base): Document reserved storage.
5747 * include/bits/locale_facets.h: (struct __pad): Comment on
5749 (__verify_grouping): Same.
5750 (__add_grouping): Same.
5751 * include/bits/locale_facets.tcc (__verify_grouping): Move
5752 comments to declaration.
5753 (__add_grouping): Same.
5755 * include/bits/locale_facets.tcc:
5756 (__write<_CharT, _OutIter>): New function.
5757 (__write<_CharT>): New function specialization.
5758 (num_put::_M_insert): Remove explicit loop over iterator. Use
5760 (num_put::_M_widen_float): Remove __basefield.
5761 (num_put::_M_widen_int): Move __basefield to within grouping block.
5763 * include/bits/streambuf_iterator.h: Include <streambuf>.
5764 (ostreambuf_iterator::_M_put): Add.
5766 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
5768 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5770 2003-02-04 Nathan Myers <ncm@cantrip.org>
5772 * testsuite/25_algorithms/min_max.cc (test02): Add.
5774 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5776 PR libstdc++/9439, PR libstdc++/9425
5777 * config/io/basic_file_stdio.cc
5778 (__basic_file<char>::seekoff, seekpos): Return -1L if
5780 * include/bits/fstream.tcc (basic_filebuf::seekoff):
5781 Check _M_file.seekoff return value; always return
5782 pos_type(off_type(-1)) in case of failure.
5783 (basic_filebuf::pbackfail): Check this->seekoff return
5784 value and return traits_type::eof() in case of failure.
5785 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5787 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
5789 * include/std/std_ostream.h (ostream::_M_write): Declare.
5790 * ostream.tcc (ostream::_M_write): Define.
5791 (basic_ostream::write): Use it.
5792 (operator<<(basic_ostream, _CharT)): Ditto.
5793 (operator<<(basic_ostream, char)): Ditto.
5794 (operator<<(basic_ostream, _CharT*)): Ditto.
5795 (operator<<(basic_ostream, char*)): Ditto.
5796 (operator<<(basic_ostream, basic_string)): Ditto.
5798 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
5800 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5802 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5804 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5805 add HTML comment about updating links if numbering changes.
5807 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5810 * include/bits/streambuf.tcc (sputbackc): Access
5811 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
5812 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5814 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5817 * include/bits/fstream.tcc (open): If the 'ate' repositioning
5818 operation fails, calls close _and_ returns a null pointer
5819 to indicate failure (27.8.1.3,4).
5820 * testsuite/27_io/filebuf_members.cc (test_06): Add.
5822 2003-02-04 Petur Runolfsson <peturr02@ru.is>
5824 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
5826 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5828 * docs/html/27_io/howto.html: New section on stdio_filebuf.
5829 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
5830 * docs/html/documentation.html: Regenerate.
5832 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
5834 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
5835 * docs/html/17_intro/porting.html: Regenerate.
5837 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
5838 Phil Edwards <pme@gcc.gnu.org>
5840 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
5841 numeric_limits for bits-per-word values.
5842 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
5843 Use __builtin_popcountl instead.
5844 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
5845 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
5846 Use __builtin_ctzl instead.
5847 (_S_bit_count, _S_first_one): Remove.
5848 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
5849 * src/Makefile.am (sources): Remove bitset.cc.
5850 * src/bitset.cc: Delete file.
5851 * src/Makefile.in: Regenerate.
5853 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
5855 PR libstdc++/9527, PR libstdc++/8713
5856 * docs/html/install.html: Mention glibc version requirement.
5857 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
5858 with 3.2.1+ (formatting bugfixes).
5859 * docs/html/faq/index.txt: Regenerate.
5861 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5864 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
5867 * include/bits/valarray_before.h (__not_equal_to): Use != instead
5870 * testsuite/26_numerics/valarray_operators.cc: New test.
5872 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
5874 * docs/html/faq/index.html: Correct link to libg++ information.
5875 * docs/html/faq/index.txt: Regenerated.
5877 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
5878 Benjamin Kosnik <bkoz@redhat.com>
5880 Const correctness issue:
5881 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
5882 * include/bits/locale_classes.h
5883 (locale::_Impl::_M_facets): Change type to const facet**.
5884 (locale::_Impl::_M_install_facet): Change declaration to
5886 (locale::facet::_M_references): Make mutable.
5887 (locale::facet::_M_add_reference): Declare const.
5888 (locale::facet::_M_remove_reference): Likewise.
5889 * include/bits/locale_facets.tcc
5890 (use_facet(const locale&)): Tweak for const facet** _M_facets.
5891 (has_facet(const locale&)): Likewise.
5893 (locale::facet::_M_add_reference): Adjust definition.
5894 (locale::facet::_M_remove_reference): Likewise.
5896 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
5897 const facet** _M_facets.
5898 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
5899 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
5900 (locale::_Impl::_M_install_facet): Adjust definition to take
5901 const facet* and for const facet** _M_facets.
5902 * testsuite/22_locale/locale/cons/8.cc: Add.
5904 2003-01-29 Mark Mitchell <mark@codesourcery.com>
5906 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
5907 Use __FLT_HAS_INIFINITY__ to initialize.
5908 (numeric_limits<float>::has_quiet_NaN): Likewise.
5909 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
5911 (numeric_limits<double>::has_quiet_NaN): Likewise.
5912 (numeric_limits<long double>::has_infinity): Use
5913 __LDBL_HAS_INIFINITY__ to initialize.
5914 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
5916 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
5919 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
5920 with bases which are very ambiguous.
5922 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
5924 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
5925 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
5926 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
5927 * src/Makefile.in: Regenerate.
5928 * libsupc++/Makefile.in: Regenerate.
5930 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5932 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
5933 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
5934 version_specific_libs is enabled.
5935 * aclocal.m4, configure: Rebuilt.
5937 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
5939 * include/bits/valarray_meta.h: Remove, split into ...
5940 * include/bits/valarray_before.h: ... this, and ...
5941 * include/bits/valarray_after.h: ... this.
5942 * include/std/std_valarray.h: Adjust.
5943 * include/Makefile.am (bits_headers): Adjust.
5944 * include/Makefile.in: Regenerate.
5946 2003-01-24 Andreas Schwab <schwab@suse.de>
5948 * config/linker-map.gnu: Fix for size_t variance.
5950 2003-01-23 Petur Runolfsson <peturr02@ru.is>
5953 * include/std/std_streambuf.h
5954 (basic_streambuf::basic_streambuf,
5955 basic_streambuf::~basic_streambuf,
5956 basic_streambuf::getloc, basic_streambuf::imbue):
5957 Remove _M_buf_locale_init
5958 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
5959 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5960 * testsuite/27_io/streambuf_members.cc (test08): Add.
5961 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
5963 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5965 Revert include ordering.
5966 * config/locale/generic/c_locale.h: Add include guards.
5967 * config/locale/gnu/c_locale.h: Same.
5968 * include/bits/locale_classes.h: Remove cctype include.
5969 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
5970 * include/std/std_fstream.h: Remove streambuf include.
5971 * include/std/std_sstream.h: Remove streambuf include.
5973 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5975 * configure.in (libtool_VERSION): To 6:0:0.
5976 * configure: Regenerated.
5977 * config/linker-map.gnu: Clean.
5979 * src/misc-inst.cc: Remove instantiations.
5981 * include/bits/stl_alloc.h (__malloc_alloc_template):
5983 (__default_alloc_template): To __pool_alloc.
5984 * src/stl-inst.cc: Same.
5985 * include/backward/alloc.h: Update.
5986 * testsuite/ext/allocators.cc: Update.
5988 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
5989 really try to remove these if possible.
5990 * src/locale.cc (std): Same.
5992 * testsuite/abi_check.cc (check_version): Add.
5994 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5995 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
5996 Mark Mitchell <mark@codesourcery.com>
5999 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
6000 (basic_filebuf::underflow): Declare.
6003 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6005 * include/bits/locale_facets.h: Move non-facet classes requiring
6007 * include/bits/locale_classes.h: New.
6008 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
6009 * include/bits/Makefile.in: Regenerate.
6011 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
6012 * config/locale/gnu/c_locale.h: ...here.
6013 * config/locale/generic/c_locale.h: Same.
6015 * include/bits/locale_facets.tcc: Move declarations to...
6016 * include/bits/locale_facets.h: ...here.
6017 * include/bits/basic_ios.h: Tweak includes accordingly.
6018 * include/std/std_sstream.h: Add streambuf include.
6019 * include/std/std_fstream.h: Ditto.
6020 * include/std/std_locale.h: Add locale_classes.h include.
6021 * include/std/std_iosfwd.h: Tweak.
6022 * src/concept-inst.cc: Add iterator include.
6024 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
6025 bits as unexported in the future.
6027 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
6029 Reshuffle 22_locale testsuite.
6030 * 22_locale/(codecvt.cc money_get.cc
6031 codecvt_members_char_char.cc money_get_members_char.cc
6032 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
6033 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
6034 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
6035 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
6036 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
6037 money_put_members_char.cc ctor_copy_dtor.cc
6038 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
6039 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
6040 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
6041 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
6042 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
6043 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
6044 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
6045 operators.cc ctype_widen_char.cc static_members.cc
6046 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
6047 global_templates.cc time_get_members_wchar_t.cc, members.cc,
6048 time_put.cc, messages_byname.cc, time_put_members_char.cc,
6049 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
6050 Split up into individual test cases...
6051 * 22_locale/codecvt/1.cc: New.
6052 * 22_locale/codecvt/2.cc: New.
6053 * 22_locale/codecvt/always_noconv/char/1.cc: New.
6054 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
6055 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
6056 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6057 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6058 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6059 * 22_locale/codecvt/encoding/char/1.cc: New.
6060 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6061 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6062 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6063 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6064 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6065 * 22_locale/codecvt/in/char/1.cc: New.
6066 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6067 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6068 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6069 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6070 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6071 * 22_locale/codecvt/length/char/1.cc: New.
6072 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6073 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6074 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6075 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6076 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6077 * 22_locale/codecvt/max_length/char/1.cc: New.
6078 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6079 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6080 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6081 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6082 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6083 * 22_locale/codecvt/out/char/1.cc: New.
6084 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6085 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6086 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6087 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6088 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6089 * 22_locale/codecvt/unicode/char.cc: New.
6090 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6091 * 22_locale/codecvt/unshift/char/1.cc: New.
6092 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6093 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6094 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6095 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6096 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6097 * 22_locale/collate/1.cc: New.
6098 * 22_locale/collate/2.cc: New.
6099 * 22_locale/collate/compare/char/1.cc: New.
6100 * 22_locale/collate/compare/char/2.cc: New.
6101 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6102 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6103 * 22_locale/collate/compare/wchar_t/1.cc: New.
6104 * 22_locale/collate/compare/wchar_t/2.cc: New.
6105 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6106 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6107 * 22_locale/collate/hash/char/1.cc: New.
6108 * 22_locale/collate/hash/char/2.cc: New.
6109 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6110 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6111 * 22_locale/collate/hash/wchar_t/1.cc: New.
6112 * 22_locale/collate/hash/wchar_t/2.cc: New.
6113 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6114 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6115 * 22_locale/collate/transform/char/2.cc: New.
6116 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6117 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6118 * 22_locale/collate/transform/wchar_t/2.cc: New.
6119 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6120 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6121 * 22_locale/collate_byname/1.cc: New.
6122 * 22_locale/ctype/1.cc: New.
6123 * 22_locale/ctype/2.cc: New.
6124 * 22_locale/ctype/cons/char/1.cc: New.
6125 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6126 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6127 * 22_locale/ctype/is/char/1.cc: New.
6128 * 22_locale/ctype/is/char/2.cc: New.
6129 * 22_locale/ctype/is/char/3.cc: New.
6130 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6131 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6132 * 22_locale/ctype/is/wchar_t/1.cc: New.
6133 * 22_locale/ctype/is/wchar_t/2.cc: New.
6134 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6135 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6136 * 22_locale/ctype/narrow/char/1.cc: New.
6137 * 22_locale/ctype/narrow/char/2.cc: New.
6138 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6139 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6140 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6141 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6142 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6143 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6144 * 22_locale/ctype/scan/char/1.cc: New.
6145 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6146 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6147 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6148 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6149 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6150 * 22_locale/ctype/to/char/1.cc: New.
6151 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6152 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6153 * 22_locale/ctype/to/wchar_t/1.cc: New.
6154 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6155 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6156 * 22_locale/ctype/widen/char/1.cc: New.
6157 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6158 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6159 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6160 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6161 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6162 * 22_locale/facet/1.cc: New.
6163 * 22_locale/facet/2.cc: New.
6164 * 22_locale/global_templates/1.cc: New.
6165 * 22_locale/locale/cons/1.cc: New.
6166 * 22_locale/locale/cons/2.cc: New.
6167 * 22_locale/locale/cons/3.cc: New.
6168 * 22_locale/locale/cons/4.cc: New.
6169 * 22_locale/locale/cons/5.cc: New.
6170 * 22_locale/locale/cons/6.cc: New.
6171 * 22_locale/locale/cons/7.cc: New.
6172 * 22_locale/locale/global_locale_objects/1.cc: New.
6173 * 22_locale/locale/global_locale_objects/2.cc: New.
6174 * 22_locale/locale/global_locale_objects/3.cc: New.
6175 * 22_locale/locale/operations/1.cc: New.
6176 * 22_locale/locale/operations/2.cc: New.
6177 * 22_locale/messages/1.cc: New.
6178 * 22_locale/messages/2.cc: New.
6179 * 22_locale/messages/members/char/1.cc: New.
6180 * 22_locale/messages/members/char/2.cc: New.
6181 * 22_locale/messages/members/char/3.cc: New.
6182 * 22_locale/messages/members/char/wrapped_env.cc: New.
6183 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6184 * 22_locale/messages_byname/1.cc: New.
6185 * 22_locale/money_get/1.cc: New.
6186 * 22_locale/money_get/2.cc: New.
6187 * 22_locale/money_get/get/char/1.cc: New.
6188 * 22_locale/money_get/get/char/2.cc: New.
6189 * 22_locale/money_get/get/char/3.cc: New.
6190 * 22_locale/money_get/get/char/4.cc: New.
6191 * 22_locale/money_get/get/char/5.cc: New.
6192 * 22_locale/money_get/get/char/6.cc: New.
6193 * 22_locale/money_get/get/char/7.cc: New.
6194 * 22_locale/money_get/get/char/8.cc: New.
6195 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6196 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6197 * 22_locale/money_get/get/wchar_t/1.cc: New.
6198 * 22_locale/money_get/get/wchar_t/2.cc: New.
6199 * 22_locale/money_get/get/wchar_t/3.cc: New.
6200 * 22_locale/money_get/get/wchar_t/4.cc: New.
6201 * 22_locale/money_get/get/wchar_t/5.cc: New.
6202 * 22_locale/money_get/get/wchar_t/6.cc: New.
6203 * 22_locale/money_get/get/wchar_t/7.cc: New.
6204 * 22_locale/money_get/get/wchar_t/8.cc: New.
6205 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6206 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6207 * 22_locale/money_put/1.cc: New.
6208 * 22_locale/money_put/2.cc: New.
6209 * 22_locale/money_put/put/char/1.cc: New.
6210 * 22_locale/money_put/put/char/2.cc: New.
6211 * 22_locale/money_put/put/char/3.cc: New.
6212 * 22_locale/money_put/put/char/4.cc: New.
6213 * 22_locale/money_put/put/char/5.cc: New.
6214 * 22_locale/money_put/put/char/6.cc: New.
6215 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6216 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6217 * 22_locale/money_put/put/wchar_t/1.cc: New.
6218 * 22_locale/money_put/put/wchar_t/2.cc: New.
6219 * 22_locale/money_put/put/wchar_t/3.cc: New.
6220 * 22_locale/money_put/put/wchar_t/4.cc: New.
6221 * 22_locale/money_put/put/wchar_t/5.cc: New.
6222 * 22_locale/money_put/put/wchar_t/6.cc: New.
6223 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6224 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6225 * 22_locale/moneypunct/1.cc: New.
6226 * 22_locale/moneypunct/2.cc: New.
6227 * 22_locale/moneypunct/3.cc: New.
6228 * 22_locale/moneypunct/members/char/1.cc: New.
6229 * 22_locale/moneypunct/members/char/2.cc: New.
6230 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6231 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6232 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6233 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6234 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6235 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6236 * 22_locale/moneypunct_byname/1.cc: New.
6237 * 22_locale/num_get/1.cc: New.
6238 * 22_locale/num_get/2.cc: New.
6239 * 22_locale/num_get/get/char/1.cc: New.
6240 * 22_locale/num_get/get/char/2.cc: New.
6241 * 22_locale/num_get/get/char/3.cc: New.
6242 * 22_locale/num_get/get/char/4.cc: New.
6243 * 22_locale/num_get/get/char/5.cc: New.
6244 * 22_locale/num_get/get/char/6.cc: New.
6245 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6246 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6247 * 22_locale/num_get/get/wchar_t/1.cc: New.
6248 * 22_locale/num_get/get/wchar_t/2.cc: New.
6249 * 22_locale/num_get/get/wchar_t/3.cc: New.
6250 * 22_locale/num_get/get/wchar_t/4.cc: New.
6251 * 22_locale/num_get/get/wchar_t/5.cc: New.
6252 * 22_locale/num_get/get/wchar_t/6.cc: New.
6253 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6254 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6255 * 22_locale/num_put/1.cc: New.
6256 * 22_locale/num_put/2.cc: New.
6257 * 22_locale/num_put/put/char/1.cc: New.
6258 * 22_locale/num_put/put/char/2.cc: New.
6259 * 22_locale/num_put/put/char/3.cc: New.
6260 * 22_locale/num_put/put/char/4.cc: New.
6261 * 22_locale/num_put/put/char/5.cc: New.
6262 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6263 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6264 * 22_locale/num_put/put/wchar_t/1.cc: New.
6265 * 22_locale/num_put/put/wchar_t/2.cc: New.
6266 * 22_locale/num_put/put/wchar_t/3.cc: New.
6267 * 22_locale/num_put/put/wchar_t/4.cc: New.
6268 * 22_locale/num_put/put/wchar_t/5.cc: New.
6269 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6270 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6271 * 22_locale/numpunct/1.cc: New.
6272 * 22_locale/numpunct/2.cc: New.
6273 * 22_locale/numpunct/members/char/1.cc: New.
6274 * 22_locale/numpunct/members/char/2.cc: New.
6275 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6276 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6277 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6278 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6279 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6280 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6281 * 22_locale/numpunct_byname/1.cc: New.
6282 * 22_locale/numpunct_byname/2.cc: New.
6283 * 22_locale/time_get/1.cc: New.
6284 * 22_locale/time_get/2.cc: New.
6285 * 22_locale/time_get/date_order/char/1.cc: New.
6286 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6287 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6288 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6289 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6290 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6291 * 22_locale/time_get/get_date/char/1.cc: New.
6292 * 22_locale/time_get/get_date/char/2.cc: New.
6293 * 22_locale/time_get/get_date/char/3.cc: New.
6294 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6295 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6296 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6297 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6298 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6299 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6300 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6301 * 22_locale/time_get/get_monthname/char/1.cc: New.
6302 * 22_locale/time_get/get_monthname/char/2.cc: New.
6303 * 22_locale/time_get/get_monthname/char/3.cc: New.
6304 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6305 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6306 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6307 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6308 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6309 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6310 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6311 * 22_locale/time_get/get_time/char/1.cc: New.
6312 * 22_locale/time_get/get_time/char/2.cc: New.
6313 * 22_locale/time_get/get_time/char/3.cc: New.
6314 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6315 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6316 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6317 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6318 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6319 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6320 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6321 * 22_locale/time_get/get_weekday/char/1.cc: New.
6322 * 22_locale/time_get/get_weekday/char/2.cc: New.
6323 * 22_locale/time_get/get_weekday/char/3.cc: New.
6324 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6325 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6326 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6327 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6328 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6329 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6330 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6331 * 22_locale/time_get/get_year/char/1.cc: New.
6332 * 22_locale/time_get/get_year/char/3.cc: New.
6333 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6334 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6335 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6336 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6337 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6338 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6339 * 22_locale/time_put/1.cc: New.
6340 * 22_locale/time_put/2.cc: New.
6341 * 22_locale/time_put/put/char/1.cc: New.
6342 * 22_locale/time_put/put/char/10.cc: New.
6343 * 22_locale/time_put/put/char/2.cc: New.
6344 * 22_locale/time_put/put/char/3.cc: New.
6345 * 22_locale/time_put/put/char/4.cc: New.
6346 * 22_locale/time_put/put/char/5.cc: New.
6347 * 22_locale/time_put/put/char/6.cc: New.
6348 * 22_locale/time_put/put/char/7.cc: New.
6349 * 22_locale/time_put/put/char/8.cc: New.
6350 * 22_locale/time_put/put/char/9.cc: New.
6351 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6352 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6353 * 22_locale/time_put/put/wchar_t/1.cc: New.
6354 * 22_locale/time_put/put/wchar_t/10.cc: New.
6355 * 22_locale/time_put/put/wchar_t/2.cc: New.
6356 * 22_locale/time_put/put/wchar_t/3.cc: New.
6357 * 22_locale/time_put/put/wchar_t/4.cc: New.
6358 * 22_locale/time_put/put/wchar_t/5.cc: New.
6359 * 22_locale/time_put/put/wchar_t/6.cc: New.
6360 * 22_locale/time_put/put/wchar_t/7.cc: New.
6361 * 22_locale/time_put/put/wchar_t/8.cc: New.
6362 * 22_locale/time_put/put/wchar_t/9.cc: New.
6363 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6364 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6366 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6368 * config/locale/generic/messages_members.h
6369 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6370 unqualified members of base clasess.
6372 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6373 Jeffrey Oldham <oldham@codesourcery.com>
6375 * config/locale/gnu/messages_members.h: Use this-> to refer to
6376 unqualified members of base clasess.
6377 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
6378 * include/bits/codecvt.h: Likewise.
6379 * include/bits/deque.tcc: Likewise.
6380 * include/bits/fstream.tcc: Likewise.
6381 * include/bits/istream.tcc: Likewise.
6382 * include/bits/list.tcc: Likewise.
6383 * include/bits/locale_facets.h: Likewise.
6384 * include/bits/ostream.tcc: Likewise.
6385 * include/bits/sstream.tcc: Likewise.
6386 * include/bits/stl_bvector.h: Likewise.
6387 * include/bits/stl_deque.h: Likewise.
6388 * include/bits/stl_list.h: Likewise.
6389 * include/bits/stl_tree.h: Likewise.
6390 * include/bits/stl_vector.h: Likewise.
6391 * include/bits/vector.tcc: Likewise.
6392 * include/ext/ropeimpl.h: Likewise.
6393 * include/ext/stdio_filebuf.h: Likewise.
6394 * include/ext/stl_rope.h: Likewise.
6395 * include/std/std_fstream.h: Likewise.
6396 * include/std/std_sstream.h: Likewise.
6398 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
6400 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
6402 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
6404 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
6405 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
6406 * aclocal.m4: Regenerate.
6407 * configure: Regenerate.
6408 * testsuite/Makefile.am (all-local): Add conditional rule to
6409 generate testsuite_wchar_t.
6410 * testsuite/Makefile.in: Regenerate.
6411 * testsuite/lib/libstdc++-v3-dg.exp
6412 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
6413 testsuite_wchar_t is not present in the build directory.
6414 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
6415 Remove setulimit bits.
6416 * testsuite/26_numerics/complex_value.cc: Set to noopts.
6417 * testsuite/Makefile.am (CLEANFILES): Add.
6418 * testsuite/Makefile.in: Regenerate.
6420 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6422 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
6425 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
6427 Further conform g++'s __vmi_class_type_info to the C++ ABI
6429 * libsupc++/cxxabi.h
6430 (__vmi_class_type_info::__flags_masks): Remove enumerations not
6431 required by the specification.
6433 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
6435 Renames, namespaces for testsuite utilities.
6436 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
6437 (gnu_allocator_tracker): Rename to allocation_tracker.
6438 (gnu_new_allocator): Rename to tracker_alloc.
6439 (__set_testsuite_memlimit): Rename to set_memory_limits.
6440 (gnu_assignment_operator): Rename to assignment_operator.
6441 (gnu_destructor): Rename to destructor.
6442 (gnu_copy_tracker): Rename to copy_tracker.
6443 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
6444 (run_tests_wrapped_locale): New.
6445 (run_tests_wrapped_env): New.
6446 * testsuite/testsuite_hooks.cc: Same.
6447 (class locale_data): Add.
6448 (class enviornment_variable): Add.
6449 (class not_found): Add.
6450 * testsuite/testsuite_allocator.h: Same.
6451 * testsuite/testsuite_allocator.cc: Same.
6452 * testsuite/23_containers/deque_ctor.cc
6453 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
6455 Change gnu_new_allocator to tracker_alloc.
6456 Change gnu_counting_struct to counter.
6457 Change gnu_copy_tracker to copy_tracker.
6458 Change gnu_copy_constructor to copy_constructor.
6459 Change gnu_assignment_operator to assignment_operator.
6461 * testsuite/23_containers/vector_capacity.cc: Same.
6462 * testsuite/23_containers/vector_ctor.cc (test01): Same.
6463 * testsuite/23_containers/list_modifiers.cc: Change
6464 gnu_copy_tracker to copy_tracker.
6465 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
6466 __set_testsuite_memlimit to set_memory_limits.
6467 * testsuite/21_strings/insert.cc (main): Same.
6468 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
6469 * testsuite/27_io/stringstream.cc: Same.
6470 * testsuite/27_io/stringbuf.cc: Same.
6471 * testsuite/27_io/streambuf.cc: Same.
6472 * testsuite/27_io/ostream.cc: Same.
6473 * testsuite/27_io/istream.cc: Same.
6474 * testsuite/27_io/fstream.cc: Same.
6475 * testsuite/lib/libstdc++-v3-dg.exp
6476 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
6477 three levels deeper in glob patterns.
6479 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
6481 * docs/doxygen/tables.html: Finished now.
6482 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
6483 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
6486 * include/bits/deque.tcc, include/bits/stl_alloc.h,
6487 include/bits/stl_deque.h, include/bits/stl_list.h,
6488 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
6491 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
6493 * configure.in: Revert.
6494 * configure: Regenerate.
6496 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6498 * include/Makefile.am (install-data-local): Prepend
6499 $(DESTDIR) to destination paths in all (un)installation
6500 commands. Use ${c_base_builddir} and ${std_builddir}
6501 as destination subdirectories to achieve consistency with
6502 preceding mkinstalldirs commands. No effect because both
6503 variables contain "." only.
6504 * include/Makefile.in: Regenerate.
6506 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
6508 * include/Makefile.am (stamp-*): Add checks for existing stamps.
6509 * include/Makefile.in: Regenerate.
6511 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
6512 * aclocal.m4: Regenerate.
6514 * configure.in: Don't add new multi-do rules every time the
6515 directory is reconfigured.
6516 * configure: Regenerate.
6518 2003-01-08 Brad Spencer <spencer@infointeractive.com>
6519 Nathan Myers <ncm@cantrip.org>
6521 * src/Makefile.am (stamp-debug): Clean.
6522 * src/Makefile.in: Regenerate.
6524 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
6527 * Makefile.am (distclean-multi): Fix.
6528 * Makefile.in: Regenerate.
6530 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
6532 * include/bits/locale_facets.h (messages): Move ctor, dtor
6534 (__timepunct): Same.
6535 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
6536 definitions. Conditionalize for GNU systems.
6537 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
6539 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
6540 definitions. Conditionalize for GNU systems.
6541 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
6543 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
6544 * src/locale.cc: Define.
6545 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
6547 * config/locale/gnu/time_members.h: Use it.
6548 * config/locale/gnu/messages_members.h: Use it.
6549 * config/linker-map.gnu: Add locale::facets details.
6550 * include/Makefile.am (target_headers_extra): Add time_members.h.
6551 * include/Makefile.in: Regenerate.
6552 * acinclude.m4: Export CTIME_H.
6553 * aclocal.m4: Regenerate.
6554 * configure: Regnerate.
6556 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6559 (codecvt<char, char, mbstate_t>::do_in, do_out):
6560 Tweak parameters to avoid unused parameter warnings.
6562 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6565 * include/bits/locale_facets.cc (num_put::_M_convert_float):
6566 Limit __prec to digits10 + 2, not digits10 + 1, taking into
6567 account the possibility of %{g,G} conversion specifiers
6568 inside _S_format_float.
6569 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
6571 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6573 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
6574 libstdc++-v3-list-sourcefiles): Additionally handle files one
6575 level deeper in glob patterns.
6577 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
6578 * testsuite/27_io/istream_extractor_arith/01.cc,
6579 testsuite/27_io/istream_extractor_arith/02.cc,
6580 testsuite/27_io/istream_extractor_arith/03.cc,
6581 testsuite/27_io/istream_extractor_arith/06.cc,
6582 testsuite/27_io/istream_extractor_arith/07.cc,
6583 testsuite/27_io/istream_extractor_arith/08.cc,
6584 testsuite/27_io/istream_extractor_arith/09.cc,
6585 testsuite/27_io/istream_extractor_arith/10.cc,
6586 testsuite/27_io/istream_extractor_arith/11.cc,
6587 testsuite/27_io/istream_extractor_arith/12.cc,
6588 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
6589 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
6592 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
6596 (codecvt<char, char, mbstate_t>::do_in, do_out):
6597 Implement the resolution of DR19 (TC).
6598 * testsuite/22_locale/codecvt_members_char_char.cc
6601 2003-01-02 Jason Merrill <jason@redhat.com>
6603 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
6604 *__mem is also an output.
6605 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.