1 2003-10-16 Paolo Carlini <pcarlini@suse.de>
3 * src/locale.cc (locale::locale(const char*)): ... one
4 more comparison missed in the previous commit.
6 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
8 * acconfig.h: Add HAVE_DRAND48.
9 * crossconfig.m4: Remove ISATTY.
10 * aclocal.m4: Regenerated.
11 * config.h.in: Regenerated.
12 * configure: Regenerated.
14 2003-10-16 Bernardo Innocenti <bernie@develer.com>
16 * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
17 __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
18 Document SMP safeness of asm macros.
20 2003-10-16 Paolo Carlini <pcarlini@suse.de>
22 * src/locale.cc (locale::locale(const char*)): Tweak
23 a couple of comparisons to use basic_string operators.
25 2003-10-16 Paolo Carlini <pcarlini@suse.de>
28 * config/locale/gnu/monetary_members.cc
29 (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
30 Don't leak memory if new throws.
31 * src/locale.cc (locale::locale(const char*)): In order not
32 to leak memory in case new throws, use a basic_string type
33 for __res too and avoid strdup.
35 2003-10-14 Jeff Bailey <jbailey@nisa.net>
38 * crossconfig.m4: Share the config between *-linux* and *-gnu*.
39 * configure: Regenerate.
41 2003-10-14 Carlo Wood <carlo@alinoe.com>
44 * include/bits/demangle.h (session<Allocator>::
45 decode_unqualified_name(string_type& output)): Fail on a
46 <operator-name> when decoding <template-argument>.
47 * testsuite/demangle/regression/cw-15.cc: New.
49 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
52 * include/bits/stl_algo.h (unique): Fix.
53 * testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
54 * testsuite/25_algorithms/unique/11480.cc: New, from the PR.
55 * testsuite/25_algorithms/unique/2.cc: New.
57 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
59 * src/localename.cc (_M_replace_categories, M_replace_facet):
60 Const-ify a couple of variables.
62 2003-10-14 Petur Runolfsson <peturr02@ru.is>
63 Andreas Tobler <a.tobler@schweiz.ch>
65 * src/locale.cc (locale::_S_initialize): Workaround a confusion
66 of the use of the gthr API when __gthread_active_p() returns true.
68 2003-10-12 Petur Runolfsson <peturr02@ru.is>
69 Paolo Carlini <pcarlini@unitus.it>
72 * src/strstream.cc (pbackfail): Fix to use to_int_type.
73 * testsuite/backward/11460.cc: New, from the PR.
75 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
77 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
78 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
79 * include/bits/basic_string.tcc: Likewise.
80 * include/bits/ios_base.h: Likewise.
81 * include/bits/istream.tcc: Likewise.
82 * include/bits/locale_facets.tcc: Likewise.
83 * include/bits/ostream.tcc: Likewise.
84 * include/bits/stl_function.h: Likewise.
85 * include/bits/stl_multiset.h: Likewise.
86 * include/bits/stl_pair.h: Likewise.
87 * include/bits/stl_set.h: Likewise.
88 * include/bits/streambuf_iterator.h
89 * include/std/std_iosfwd.h: Likewise.
90 * include/std/std_istream.h: Likewise.
91 * include/std/std_sstream.h: Likewise.
92 * include/std/std_streambuf.h: Likewise.
93 * src/ios.cc: Likewise.
94 * include/bits/c++config:
95 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
96 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
97 dg-error directive due to removal of a blank line.
98 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
100 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
101 Paolo Carlini <pcarlini@unitus.it>
103 PR libstdc++/11844/11740 (cont)
104 * config/os/generic/ctype_inline.h (ctype<char>::is):
105 Generically, use a bitmasksize of 15 (instead of 10);
106 Fix the logic to actually return (M & m) != 0 as per
109 2003-10-11 Bernardo Innocenti <bernie@develer.com>
111 * crossconfig.m4 (*-uclinux*): New target.
112 * configure: Regenerate.
114 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
116 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
117 Avoid unnecessarily calling __builtin_alloca and dealing
118 explicitly with width() smaller than zero.
119 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
120 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
121 const char*), operator<<(basic_ostream<char, _Traits>&,
122 const char*), operator<<(basic_ostream, const basic_string&)):
125 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
127 * config/linker-map.gnu: Make more *_type_info bits visible.
128 Move new/delete bits back into GLIBCXX space.
130 * include/bits/locale_classes.h: Move _M_id out of line, so that
131 locale::id::_S_highwater can be removed from the export list.
132 * src/locale.cc (locale::id::_M_id): Define.
134 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
136 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
139 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
142 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
143 to conform to the requirements of 22.2.1.
144 * config/os/bsd/freebsd/ctype_base.h: Likewise.
145 * config/os/djgpp/ctype_base.h: Likewise.
146 * config/os/generic/ctype_base.h: Likewise.
147 * config/os/gnu-linux/ctype_base.h: Likewise.
148 * config/os/hpux/ctype_base.h: Likewise.
149 * config/os/irix/irix6.5/ctype_base.h: Likewise.
150 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
151 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
152 * testsuite/22_locale/ctype/11844.cc: New.
154 * config/locale/generic/ctype_members.cc (do_is):
155 Generically, use a bitmasksize of 15 (instead of 10), since
156 we don't know the numerical encoding of the various categories
157 in the underlying /usr/include/ctype.h.
159 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
161 * src/string-inst.cc: Prune.
162 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
163 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
165 2003-10-09 Petur Runolfsson <peturr02@ru.is>
167 * src/io-inst.cc: Don't include iostream.
168 * include/bits/ios_base.h (ios_base::failure): Use string.
169 * src/Makefile.am: Add ios_failure.cc.
170 * src/Makefile.in: Regenerate.
171 * src/ios.cc: Move ios_base::failure definitions to...
172 * src/ios_failure.cc: ...here. New.
174 2003-10-09 Petur Runolfsson <peturr02@ru.is>
177 * include/bits/fstream.tcc (basic_filebuf::seekoff):
178 Move code needed for both seekoff and seekpos...
179 (basic_filebuf::_M_seek): ...here. New function.
180 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
181 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
182 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
184 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
186 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
188 * include/bits/locale_facets.tcc: More minor cosmetic
189 changes and const-ifications of some variables.
191 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
193 * include/bits/locale_facets.tcc: Minor cosmetic changes
194 and const-ifications of some variables.
196 * include/bits/locale_facets.tcc
197 (money_get::do_get(..., string_type&)): Simplify an if-else.
199 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
202 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
203 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
204 * config/locale/generic/ctype_members.cc: Same.
205 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
207 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
209 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
210 Improve performance-wise: avoid one traits::copy, avoid
211 the __builtin_alloca, streamline.
213 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
215 * include/bits/locale_facets.tcc
216 (num_put::do_put(..., bool)): Prefer ?: to if-else.
217 (time_get::_M_extract_name): Qualify min with std::.
218 (__pad<>::_S_pad): Constify two variables; simplify an
219 if-else statement factoring out some code.
221 * include/bits/locale_facets.tcc: Minor cosmetic changes.
223 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
225 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
226 Constify a couple of variables.
227 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
230 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
231 Petur Runolfsson <peturr02@ru.is>
233 * include/ext/stdio_sync_filebuf.h: Don't include the whole
234 <fstream>, only <streambuf> and <cstdio>.
236 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
239 * include/bits/fstream.tcc (imbue): In case a codecvt facet
240 is not available, set _M_codecvt = 0.
241 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
243 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
246 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
248 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
250 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
251 * src/locale.cc: Define.
252 * src/localename.cc: Use it.
253 * config/locale/generic/time_members.h: Same.
254 * config/locale/gnu/messages_members.h: Same.
255 * config/locale/gnu/time_members.h: Same.
257 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
260 * include/bits/fstream.tcc (seekoff): Ignore the openmode
262 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
263 seekpos): Remove the openmode argument.
264 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
265 seekpos): Remove redundant placeholder for the openmode argument.
266 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
267 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
268 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
269 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
270 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
272 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
274 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
275 (locale::facet::_S_get_c_locale): Same.
277 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
279 * config/linker-map.gnu: Export _S_get_c_locale instead of
282 2003-10-02 Petur Runolfsson <peturr02@ru.is>
284 * config/locale/generic/c_locale.cc
285 (category_names, locale::_S_categories): Const qualify.
286 * config/locale/gnu/c_locale.cc: Same.
287 * config/locale/generic/time_members.h (__timepunct::__timepunct):
288 Copy string contents before assigning to _M_name_timepunct,
289 qualify strcpy and strlen with std::.
290 * config/locale/gnu/time_members.h: Same.
291 * config/locale/gnu/messages_members.h (messages::messages):
292 Copy string contents before assigning to _M_name_messages,
293 qualify strcpy and strlen with std::.
294 * config/os/gnu-linux/ctype_noninline.h
295 (ctype<char>::classic_table()): Don't call locale::classic().
296 * include/bits/locale_classes.h
297 (locale::_S_categories): Const qualify.
298 (locale::_S_once, locale::_S_initialize_once,
299 locale::facet::_S_once, locale::facet::_S_initialize_once,
300 locale::facet::_S_get_c_locale): Declare.
301 (locale::_S_initialize): Don't define.
302 (locale::facet::_S_c_locale): Make private.
303 (locale::facet::_S_c_name): Same, const qualify.
304 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
305 parameters, add throw() specifier.
306 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
307 messages::_M_name_messages): Const qualify.
309 (locale::_S_once, locale::facet::_S_once): Define.
310 (locale::classic): Move initialization code...
311 (locale::_S_initialize_once): ...here.
312 (locale::_S_initialize): Call _S_initialize_once through
314 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
315 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
316 __gthread_once before returning _S_c_locale.
317 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
318 Drop unused parameters, add throw() specifier, don't initialize
319 locale::facet::_S_c_locale and _S_c_name.
321 * config/locale/generic/messages_members.h:
322 Replace _S_c_locale with _S_get_c_locale().
323 * config/locale/gnu/c_locale.cc: Same.
324 * config/locale/gnu/messages_members.h: Same.
325 * config/locale/gnu/numeric_members.cc: Same.
326 * config/locale/gnu/time_members.cc: Same.
327 * config/os/gnu-linux/ctype_noninline.h: Same.
328 * include/bits/locale_facets.h: Same.
329 * include/bits/locale_facets.tcc: Same.
330 * src/codecvt.cc: Same.
331 * src/ctype.cc: Same.
333 2003-10-02 Carlo Wood <carlo@alinoe.com>
335 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
336 Decode symbols that start with _GLOBAL_[ID]_ differently: the
337 trailing part ends with a terminating zero and is not necessarily an
339 * src/demangle.cc (): Same.
340 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
342 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
344 * testsuite/22_locale/locale/cons/12438.cc: Use
345 __gnu_test::try_named_locale("").
347 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
349 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
350 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
352 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
353 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
355 * config.h.in, configure: Regenerate.
356 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
359 2003-10-01 Nathan Myers <ncm@cantrip.org>
361 * include/bits/locale_facets.tcc (time_put::put): Avoid
362 expensive *__s++, in favor of *__s, ++__s.
364 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
366 * include/bits/locale_facets.tcc (time_put::put): Minor
367 tweak to the previous commit.
369 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
372 * include/bits/locale_facets.tcc (time_put::put): Deal
373 with the three issues pointed out by the PR.
374 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
375 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
376 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
377 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
378 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
380 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
382 * include/bits/stl_algo.h: Minor cosmetic reformattings.
384 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
386 * include/bits/stl_algo.h (search_n): Tweak, to spare the
389 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
391 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
392 qualify exception name.
394 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
397 * include/bits/locale_facets.tcc (locale::combine): Don't
398 leak memory if _M_replace_facet throws.
399 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
401 * include/bits/locale_classes.h (locale::locale(const locale&,
402 _Facet*)): Tweak, use consistently _M_remove_reference.
404 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
406 PR libstdc++/12352 (cont)
407 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
408 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
410 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
411 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
412 !_M_caches, !_M_names.
414 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
416 * configure.host: Handle Solaris 2.5 micro releases explicitly.
417 Remove wildcards from Solaris 2.6, 7-9: there were no
419 Treat Solaris 10 and up like 7-9.
421 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
423 * include/bits/stl_algo.h (search_n): Improve the previous
424 fix as suggested by Martin.
426 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
429 * include/bits/istream.tcc (peek): Set eofbit if sgetc
431 * testsuite/27_io/basic_istream/peek/char/12296.cc:
434 2003-09-29 Nathan Myers <ncm@cantrip.org>
435 Paolo Carlini <pcarlini@unitus.it>
438 * include/bits/stl_algo.h (search_n):
439 Use iterator_traits<>::difference_type for __n.
440 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
442 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
444 * testsuite/22_locale/locale/cons/12352.cc:
445 Use __attribute__((unused)) for test.
447 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
449 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
450 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
451 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
453 2003-09-26 Brad Spencer <spencer@infointeractive.com>
455 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
456 Explicitly qualify exceptions.
457 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
458 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
459 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
460 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
462 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
465 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
466 size_t)): Don't leak if memory allocations for _M_facets,
467 _M_caches, and _M_names fail.
468 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
469 (locale::_Impl::_M_replace_categories(const _Impl*,
471 (locale::_Impl::_M_install_facet(const locale::id*,
472 const facet*)): Ditto.
473 * include/bits/locale_classes.h (locale::locale(const locale&,
474 _Facet*)): Don't leak memory.
475 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
477 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
478 bool)): Qualify with std:: strcpy, tweak.
479 * include/bits/locale_classes.h
480 (locale::_Impl::_M_check_same_name): Qualify strcmp.
482 2003-09-25 Brad Spencer <spencer@infointeractive.com>
485 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
487 * aclocal.m4: Regenerate.
488 * config.h.in: Regenerate.
489 * configure: Regenerate.
490 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
491 * config/io/basic_file_stdio.cc: Guard unistd.h.
492 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
493 * include/c_std/std_cwchar.h: Same.
494 * include/c_std/std_cwctype.h: Same.
496 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
499 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
500 * config/locale/generic/ctype_members.cc: Same.
501 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
502 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
504 * config/os/generic/ctype_inline.h: Update.
506 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
508 * src/Makefile.am (version_dep): New variable.
509 (libstdc___la_DEPENDENCIES): Use it to add dependency on
510 libstdc++-symbol.ver only when using symbol versioning.
511 * src/Makefile.in: Regenerate.
513 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
515 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
516 * testsuite/testsuite_hooks.h: Same.
517 * testsuite/*/*.cc: Same.
519 2003-09-22 Petur Runolfsson <peturr02@ru.is>
521 * include/bits/istream.tcc (basic_istream::read,
522 basic_istream::readsome, basic_istream::putback,
523 basic_istream::unget, operator>>(basic_istream, CharT)):
524 Avoid redundant setstate(failbit) calls when sentry::operator bool()
527 2003-09-22 Carlo Wood <carlo@alinoe.com>
530 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
531 char const*, int, int)): Remove unused identifier
532 cv_qualifier for overloaded constructor.
534 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
537 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
538 WARN_FLAGS, remove -Wno-format.
539 * aclocal.m4: Regenerate.
540 * configure: Regenerate.
542 2003-09-18 Petur Runolfsson <peturr02@ru.is>
544 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
545 * config/io/basic_file_stdio.h: Same.
546 * include/std/std_fstream.h (__ctype_type): Delete.
547 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
549 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
552 * configure.host (abi_baseline_pair): Error out on solaris2
553 configurations without a minor version number.
555 2003-09-13 Phil Edwards <phil@codesourcery.com>
557 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
559 * docs/doxygen/user.cfg.in: And here.
561 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
562 Andreas Jaeger <aj@suse.de>
565 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
566 abi_check if cross compiling.
567 * aclocal.m4: Regenerated.
568 * configure: Regenerated.
570 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
572 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
573 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
574 (__cxa_vec_new3): Likewise.
576 2003-09-10 Petur Runolfsson <peturr02@ru.is>
578 * include/bits/fstream.tcc (basic_filebuf::seekoff):
579 Use codecvt::length to handle variable-width stateless encodings
581 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
582 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
584 2003-09-10 Alan Modra <amodra@bigpond.net.au>
586 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
589 2003-09-09 Alan Modra <amodra@bigpond.net.au>
591 * configure: Regenerate.
593 2003-09-09 David Edelsohn <edelsohn@gnu.org>
595 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
596 qualifier from _S_synced_with_stdio.
598 2003-09-09 Bernardo Innocenti <bernie@develer.com>
600 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
602 2003-09-04 Petur Runolfsson <peturr02@ru.is>
605 * include/bits/fstream.tcc
606 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
607 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
608 _M_ext_buf_size, _M_ext_next and _M_ext_end.
609 (basic_filebuf::underflow): Handle variable-width stateless
610 encodings (codecvt::encoding() == 0), including UTF-8.
611 * include/std/std_fstream.h (basic_filebuf):
612 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
613 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
614 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
615 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
616 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
617 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
618 * testsuite/27_io/objects/wchar_t/12.cc: New test.
619 * testsuite/27_io/objects/wchar_t/13.cc: New test.
621 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
623 * docs/html/faq/index.html: Note that a namespace alias can't be
624 used when specialising templates in extension namespace.
625 * docs/html/faq/index.txt: Regenerate.
627 2003-09-03 Petur Runolfsson <peturr02@ru.is>
630 * include/ext/stdio_sync_filebuf.h
631 (stdio_sync_filebuf::_M_unget_buf): Declare it.
632 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
633 (stdio_sync_filebuf::uflow): Store the returned character in
635 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
636 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
637 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
638 _M_unget_buf, if any, else eof().
639 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
640 _M_unget_buf, if any, else eof().
641 * testsuite/27_io/objects/char/12048.cc: Rename to...
642 * testsuite/27_io/objects/char/12048-1.cc: ...this.
643 * testsuite/27_io/objects/char/12048-2.cc: New test.
644 * testsuite/27_io/objects/char/12048-3.cc: New test.
645 * testsuite/27_io/objects/char/12048-4.cc: New test.
646 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
647 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
648 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
649 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
650 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
651 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
652 * testsuite/ext/stdio_sync_filebuf_char.cc
653 (test02, test03, test04, test05): New tests.
654 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
655 (test02, test03, test04, test05): New tests.
657 2003-09-03 Petur Runolfsson <peturr02@ru.is>
659 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
660 stringbuf or strstreambuf. Fix typos.
662 2003-09-02 Phil Edwards <phil@codesourcery.com>
664 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
666 * config.h.in: Add _GLIBCXX_HOSTED.
667 * libsupc++/eh_term_handler.cc: Test it here; initialize
668 __terminate_handler to std::abort if freestanding.
669 * aclocal.m4, configure: Regenerated.
670 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
672 2003-08-29 Nathan Myers <ncm@cantrip.org>
675 * include/bits/locale_facets.tcc (__pad): delete dead code.
677 2003-08-28 Alan Modra <amodra@bigpond.net.au>
679 * configure.ac: Test $with_cross_host against $build_alias, not $build.
680 * configure: Regenerate.
682 2003-08-27 Petur Runolfsson <peturr02@ru.is>
684 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
685 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
687 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
689 * Makefile.am: Remove trailing whitespace. Remove needless
690 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
691 * include/Makefile.am: Likewise.
692 * libmath/Makefile.am: Likewise.
693 * libsupc++/Makefile.am: Likewise.
694 * po/Makefile.am: Likewise.
695 * src/Makefile.am: Likewise.
696 * testsuite/Makefile.am: Likewise.
698 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
699 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
700 testsuite/Makefile.in: Regenerated.
702 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
704 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
706 * aclocal.m4, configure: Regenerate.
708 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
710 * acinclude.m4: Include no-executables.m4.
711 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
712 * aclocal.m4: Regenerated.
713 * configure: Regenerated.
715 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
717 * acinclude.m4: Don't call AC_ISC_POSIX.
718 * aclocal.m4: Regenerated.
719 * configure: Regenerated.
721 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
723 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
724 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
725 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
726 used elsewhere in this file.
727 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
728 * configure.ac: ...called here to expand all conditionals.
729 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
730 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
731 (install-freestanding-headers): New target, a subset of
732 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
734 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
735 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
736 src/Makefile.in, testsuite/Makefile.in: Regenerated.
738 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
740 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
741 pathnames from generated tag file.
743 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
745 * Makefile.am: Add comment.
746 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
748 * configure.ac: Use them both here, instead of hardcoded lists.
750 * fragment.am: Add STAMP varaible.
751 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
753 (stamp-*): Move file creation rule outside of 'if' branches to
754 ensure the stamp-* files are actually updated. Use $(STAMP).
755 * src/Makefile.am: Remove now-nonexistant variable.
756 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
758 * po/Makefile.am: Include same fragment as all the others.
760 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
761 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
763 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
765 * testsuite/data/cin_unget-1.txt: New.
766 * testsuite/27_io/objects/char/12048.cc: New.
768 2003-08-25 Zack Weinberg <zack@codesourcery.com>
770 * config/os/hpux/os_defines.h: Unconditionally define
771 _GLIBCXX_GTHREAD_USE_WEAK to 0.
773 2003-08-19 Geoffrey Keating <geoffk@apple.com>
775 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
776 crosses to Darwin targets.
777 * configure: Regenerate.
779 2003-08-19 Petur Runolfsson <peturr02@ru.is>
781 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
783 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
785 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
786 in the patch from 3 minutes ago. Boy, is my face red.
787 * configure: At least I remembered to regenerate this.
789 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
791 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
792 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
793 things from the top level.
794 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
795 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
796 (currently unused). Strip the fake-VPATH shell fragment from
797 automake-generated rules, if present.
798 * linkage.m4: Add comment.
800 * fragment.am: New file, containing factored-out common settings.
801 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
802 * Makefile.am: Include fragment.am. Remove common variables.
803 * include/Makefile.am: Likewise.
804 * libmath/Makefile.am: Likewise.
805 * libsupc++/Makefile.am: Likewise.
806 * po/Makefile.am: Likewise. Print rules during check.
807 * src/Makefile.am: Likewise.
808 * testsuite/Makefile.am: Likewise.
810 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
811 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
812 src/Makefile.in, testsuite/Makefile.in: Regenerate.
814 2003-08-11 John Levon <levon@movementarian.org>
816 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
817 remaining places for the name change from GLIBCPP_FORCE_NEW
820 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
822 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
824 * include/bits/basic_ios.tcc: Same.
825 * include/bits/istream.tcc: Same.
826 * include/bits/locale_facets.h: Same.
827 * include/bits/ostream.tcc: Same.
828 * include/std/std_istream.h: Same.
829 * include/std/std_ostream.h: Same.
830 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
832 * include/ext/rope: Remove build warning.
834 2003-08-11 Andreas Jaeger <aj@suse.de>
836 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
838 * include/Makefile.in: Regenerated.
840 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
842 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
843 when calling AC_PROG_CC.
844 * aclocal.m4, configure: Regenerate.
846 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
848 * acinclude.m4: Properly quote variable which will be expanded
849 inside makefiles. Use CXX instead of CC to extract compiler info.
850 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
851 correct form in PACKAGE.
852 * aclocal.m4, configure: Regenerate.
854 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
856 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
857 (check-abi-verbose): Same.
858 * testsuite/testsuite_performance.h (report_performance): Same.
860 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
862 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
864 2003-08-07 Doug Gregor <dgregor@apple.com>
866 * include/bits/char_traits.h (char_traits::not_eof): Match operand
869 2003-08-07 Bernardo Innocenti <bernie@develer.com>
872 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
873 Replace variants with new BSET-based version.
875 2003-08-07 Carlo Wood <carlo@alinoe.com>
877 * include/bits/demangle.h: Do not use cctype functions that depend
880 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
882 * configure.in: Rename...
883 * configure.ac: ...to this.
884 * docs/html/17_intro/porting.texi: Update name.
886 * docs/html/17_intro/porting.html: Regenerate.
887 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
888 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
889 testsuite/Makefile.in: Regenerate (picks up new dependancy).
891 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
893 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
894 pipe, open the window to let out the fumes, redo the option-handling
895 logic to properly execute the detection test.
896 * aclocal.m4, configure: Regenerate.
898 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
900 Convert to new autotools.
901 * acconfig.h: Update with correct names.
902 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
903 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
904 * configure.in: Update. Split hardcoded cross-configury settings
906 * crossconfig.m4: ...here. New file. Contents untouched.
907 * acinclude.m4: Reorganize and rewrite as needed. Split large
909 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
911 * scripts/testsuite_flags.in: Update.
913 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
914 variables (already generated by automake).
915 * include/Makefile.am: Ditto.
916 * libmath/Makefile.am: Ditto.
917 * libsupc++/Makefile.am: Ditto.
918 * po/Makefile.am: Ditto.
919 * src/Makefile.am: Ditto.
921 * aclocal.m4: Regenerate using new versions.
922 * config.h.in: Ditto.
924 * Makefile.in: Ditto.
925 * include/Makefile.in: Ditto.
926 * libmath/Makefile.in: Ditto.
927 * libsupc++/Makefile.in: Ditto.
928 * po/Makefile.in: Ditto.
929 * src/Makefile.in: Ditto.
930 * testsuite/Makefile.in: Ditto.
932 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
934 * po/libstdc++.pot: Re-extract/regenerate.
936 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
938 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
939 Remove unneeded variable assignments. Leave them for automake.
940 * testsuite/lib/libstdc++-v3.exp: Rename...
941 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
943 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
944 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
947 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
949 * docs/doxygen/guide.html: run_doxygen uses bash.
950 * docs/doxygen/mainpage.html: We'll be shipping tag files.
951 * docs/doxygen/run_doxygen: Tweaks and improvements.
952 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
953 * docs/html/install.html: Update autoconf/automake requirements.
954 * docs/html/test.html: Add section describing DejaGNU support.
955 * docs/html/17_intro/confdeps.dot: New file, generates...
956 * docs/html/17_intro/confdeps.png: ...this new file.
957 * docs/html/Makefile: Generated here.
958 * docs/html/17_intro/configury.html: New file.
960 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
962 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
963 * testsuite/lib/libstdc++-v3.exp: ...to this.
964 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
966 2003-07-31 Doug Gregor <dgregor@apple.com>
968 Add user specialization tests.
969 * testsuite/23_containers/deque/1.cc: New.
970 * testsuite/23_containers/list/1.cc: New.
971 * testsuite/23_containers/map/1.cc: New.
972 * testsuite/23_containers/multimap/1.cc: New.
973 * testsuite/23_containers/multiset/1.cc: New.
974 * testsuite/23_containers/set/1.cc: New.
975 * testsuite/23_containers/vector/1.cc: New.
977 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
979 Reshuffle 23_containers testsuite.
980 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
981 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
982 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
983 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
984 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
985 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
986 vector_resize.cc: Split into...
987 * 23_containers/bitset/cons/1.cc: New.
988 * 23_containers/bitset/cons/6282.cc: New.
989 * 23_containers/bitset/count/6124.cc: New.
990 * 23_containers/bitset/operations/1.cc: New.
991 * 23_containers/bitset/operations/2.cc: New.
992 * 23_containers/bitset/test/1.cc: New.
993 * 23_containers/bitset/to_ulong/1.cc: New.
994 * 23_containers/deque/cons/1.cc: New.
995 * 23_containers/deque/cons/2.cc: New.
996 * 23_containers/deque/operators/1.cc: New.
997 * 23_containers/list/capacity/1.cc: New.
998 * 23_containers/list/cons/1.cc: New.
999 * 23_containers/list/cons/2.cc: New.
1000 * 23_containers/list/cons/3.cc: New.
1001 * 23_containers/list/cons/4.cc: New.
1002 * 23_containers/list/cons/5.cc: New.
1003 * 23_containers/list/cons/6.cc: New.
1004 * 23_containers/list/cons/7.cc: New.
1005 * 23_containers/list/cons/8.cc: New.
1006 * 23_containers/list/cons/9.cc: New.
1007 * 23_containers/list/modifiers/1.cc: New.
1008 * 23_containers/list/modifiers/2.cc: New.
1009 * 23_containers/list/modifiers/3.cc: New.
1010 * 23_containers/list/operators/1.cc: New.
1011 * 23_containers/list/operators/2.cc: New.
1012 * 23_containers/list/operators/3.cc: New.
1013 * 23_containers/list/operators/4.cc: New.
1014 * 23_containers/map/insert/1.cc: New.
1015 * 23_containers/map/operators/1.cc: New.
1016 * 23_containers/map/operators/1_neg.cc: New.
1017 * 23_containers/multiset/insert/1.cc: New.
1018 * 23_containers/priority_queue/members/7161.cc: New.
1019 * 23_containers/queue/members/7157.cc: New.
1020 * 23_containers/set/operators/1_neg.cc: New.
1021 * 23_containers/stack/members/7158.cc: New.
1022 * 23_containers/vector/bool/1.cc: New.
1023 * 23_containers/vector/bool/6886.cc: New.
1024 * 23_containers/vector/capacity/1.cc: New.
1025 * 23_containers/vector/capacity/2.cc: New.
1026 * 23_containers/vector/capacity/8230.cc: New.
1027 * 23_containers/vector/cons/1.cc: New.
1028 * 23_containers/vector/cons/2.cc: New.
1029 * 23_containers/vector/cons/3.cc: New.
1030 * 23_containers/vector/cons/4.cc: New.
1031 * 23_containers/vector/cons/6513.cc: New.
1032 * 23_containers/vector/element_access/1.cc: New.
1033 * 23_containers/vector/modifiers/1.cc: New.
1034 * 23_containers/vector/modifiers/2.cc: New.
1035 * 23_containers/vector/resize/1.cc: New.
1037 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1039 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
1041 * testsuite/thread/pthread2.cc: Likewise.
1042 * testsuite/thread/pthread3.cc: Likewise.
1043 * testsuite/thread/pthread4.cc: Likewise.
1044 * testsuite/thread/pthread5.cc: Likewise.
1045 * testsuite/thread/pthread6.cc: Likewise.
1046 * testsuite/thread/pthread7-rope.cc: Likewise.
1048 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
1050 * include/bits/c++config: Partial reversion (comment placement) of
1053 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
1055 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
1056 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
1057 (_GLIBCXX_AT_AT): Remove.
1058 (__USE_MALLOC): Remove.
1059 * include/std/std_fstream.h: Modify.
1060 * include/bits/basic_ios.h: Same.
1061 * include/bits/valarray_array.h: Same.
1062 * include/c_std/std_cmath.h: Same.
1063 * include/c_std/cmath.tcc: Same.
1064 * include/std/std_vector.h: Same.
1065 * include/std/std_string.h: Same.
1066 * include/std/std_stack.h: Same.
1067 * include/std/std_queue.h: Same.
1068 * include/std/std_list.h: Same.
1069 * include/std/std_deque.h: Same.
1070 * include/std/std_streambuf.h: Same.
1071 * include/std/std_sstream.h: Same.
1072 * include/std/std_ostream.h: Same.
1073 * include/std/std_istream.h: Same.
1074 * include/bits/valarray_array.tcc: Same, format.
1076 * include/c/std_cctype.h: Fix include guards.
1077 * include/c/std_cerrno.h: Same.
1078 * include/c/std_cfloat.h: Same.
1079 * include/c/std_climits.h: Same.
1080 * include/c/std_clocale.h: Same.
1081 * include/c/std_cmath.h: Same.
1082 * include/c/std_csetjmp.h: Same.
1083 * include/c/std_csignal.h: Same.
1084 * include/c/std_cstdarg.h: Same.
1085 * include/c/std_cstddef.h: Same.
1086 * include/c/std_cstdio.h: Same.
1087 * include/c/std_cstdlib.h: Same.
1088 * include/c/std_cstring.h: Same.
1089 * include/c/std_ctime.h: Same.
1090 * include/c/std_cwchar.h: Same.
1091 * include/c/std_cwctype.h: Same.
1092 * include/c_std/cmath.tcc: Same.
1093 * include/c_std/std_cmath.h: Same.
1095 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
1098 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1099 casts. Changes to avoid casting away constness. Eliminate
1100 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1101 initialization lists. Move out implementation of __black_count()
1103 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1104 Rename_Rb_tree_base_iterator::_M_increment() to
1105 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1107 * config/linker-map.gnu: Add and change symbols here.
1109 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1111 * docs/html/22_locale/howto.html: Use locale::classic() instead
1114 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1116 * testsuite/testsuite_hooks.h: Remove list include.
1117 (func_callback): Define as unique type, not std::list.
1118 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1119 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1120 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1121 * testsuite/23_containers/bitset_ctor.cc:
1122 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1123 * testsuite/18_support/numeric_limits.cc: Same.
1124 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1125 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1126 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1127 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1128 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1129 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1130 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1131 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1132 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1133 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1134 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1135 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1136 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1137 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1138 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1139 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1140 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1141 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1142 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1143 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1144 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1145 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1146 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1147 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1148 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1149 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1150 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1151 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1152 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1153 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1154 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1155 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1156 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1157 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1158 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1159 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1160 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1161 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1162 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1163 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1164 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1165 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1166 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1167 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1168 * testsuite/23_containers/bitset_ctor.cc: Same.
1169 * testsuite/23_containers/bitset_shift.cc: Same.
1170 * testsuite/23_containers/vector_ctor.cc: Same.
1171 * testsuite/23_containers/vector_element_access.cc: Same.
1172 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1173 * testsuite/24_iterators/iterator.cc: Same.
1174 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1175 * testsuite/25_algorithms/lower_bound.cc: Same.
1176 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1177 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1178 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1179 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1180 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1181 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1182 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1183 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1184 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1185 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1186 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1189 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1191 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1192 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1193 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1194 GLIBCPP to GLIBCXX (and explain as needed).
1196 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1200 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1202 * testsuite/22_locale/messages/members/char/1.cc,
1203 testsuite/22_locale/messages/members/char/2.cc,
1204 testsuite/22_locale/messages/members/char/3.cc,
1205 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1206 the origin of LOCALEDIR.
1207 * testsuite/lib/libstdc++-v3.exp: New file.
1209 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1211 * include/bits/char_traits.h: Update copyright, tweak.
1212 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1215 2003-07-24 Matt Austern <austern@apple.com>
1217 * /include/bits/char_traits.h (class char_traits): Put all the
1218 real work into the new class template __gnu_cxx::char_traits.
1219 Gave generic definitions for member functions. Types are taken
1220 from the new class template __gnu_cxx::_Char_types.
1221 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1222 file. Test of std::char_traits<short>, which serves as a test of
1223 the char_traits primary template.
1225 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1227 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1229 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1231 * testsuite/23_containers/map_operators.cc: Conform to
1232 container requirement as value must be Assignable.
1234 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1236 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1237 tests not only generation of pch files, but also their use.
1238 * aclocal.m4, configure: Rebuilt.
1240 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1242 * config/cpu/hppa/atomicity.h: Change
1243 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1244 to match misc-inst.cc
1246 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1248 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1249 * include/c_std/std_cctype.h: Ditto.
1250 * include/c_std/std_cerrno.h: Ditto.
1251 * include/c_std/std_cfloat.h: Ditto.
1252 * include/c_std/std_climits.h: Ditto.
1253 * include/c_std/std_clocale.h: Ditto.
1254 * include/c_std/std_cmath.h: Ditto.
1255 * include/c_std/std_csetjmp.h: Ditto.
1256 * include/c_std/std_csignal.h: Ditto.
1257 * include/c_std/std_cstdarg.h: Ditto.
1258 * include/c_std/std_cstddef.h: Ditto.
1259 * include/c_std/std_cstdio.h: Ditto.
1260 * include/c_std/std_cstdlib.h: Ditto.
1261 * include/c_std/std_cstring.h: Ditto.
1262 * include/c_std/std_ctime.h: Ditto.
1263 * include/c_std/std_cwchar.h: Ditto.
1264 * include/c_std/std_cwctype.h: Ditto.
1265 * include/std/std_algorithm.h: Ditto.
1266 * include/std/std_bitset.h: Ditto.
1267 * include/std/std_complex.h: Ditto.
1268 * include/std/std_deque.h: Ditto.
1269 * include/std/std_fstream.h: Ditto.
1270 * include/std/std_functional.h: Ditto.
1271 * include/std/std_iomanip.h: Ditto.
1272 * include/std/std_ios.h: Ditto.
1273 * include/std/std_iosfwd.h: Ditto.
1274 * include/std/std_iostream.h: Ditto.
1275 * include/std/std_istream.h: Ditto.
1276 * include/std/std_iterator.h: Ditto.
1277 * include/std/std_limits.h: Ditto.
1278 * include/std/std_list.h: Ditto.
1279 * include/std/std_locale.h: Ditto.
1280 * include/std/std_map.h: Ditto.
1281 * include/std/std_memory.h: Ditto.
1282 * include/std/std_numeric.h: Ditto.
1283 * include/std/std_ostream.h: Ditto.
1284 * include/std/std_queue.h: Ditto.
1285 * include/std/std_set.h: Ditto.
1286 * include/std/std_sstream.h: Ditto.
1287 * include/std/std_stack.h: Ditto.
1288 * include/std/std_stdexcept.h: Ditto.
1289 * include/std/std_streambuf.h: Ditto.
1290 * include/std/std_string.h: Ditto.
1291 * include/std/std_utility.h: Ditto.
1292 * include/std/std_valarray.h: Ditto.
1293 * include/std/std_vector.h: Ditto.
1295 2003-07-22 Doug Gregor <dgregor@apple.com>
1297 * include/bits/basic_string.h (basic_string::insert): Deprecate
1300 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1302 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1304 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1305 (test03): Include typeinfo for bad_cast.
1306 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1307 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1308 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1310 2003-07-21 Doug Gregor <dgregor@apple.com>
1312 * include/bits/boost_concept_check.h:
1313 (_EqualityComparableConcept::__constraints): Remove != from the
1314 list of constraints; it is not listed in Table 28 of the C++98
1317 2003-07-18 Andreas Jaeger <aj@suse.de>
1319 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1320 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1321 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1322 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1324 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1326 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1327 * config/locale/generic/messages_members.h: Tweaks.
1328 * config/locale/generic/monetary_members.cc
1329 (moneypunct::_M_initialize_moneypunct): Use cache.
1330 (moneypunct::~moneypunct): Delete cache.
1331 * config/locale/generic/time_members.cc:
1332 (__timepunct::_M_initialize_timepunct): Use cache.
1333 * config/locale/generic/time_members.h:
1334 (__timepunct::~__timepunct): Delete cache.
1335 (__timepunct::__timepunct): Set cache.
1336 * config/locale/gnu/messages_members.h: Tweaks.
1337 * config/locale/gnu/monetary_members.cc:
1338 (moneypunct::_M_initialize_moneypunct): Use cache.
1339 (moneypunct::~moneypunct): Delete cache.
1340 * config/locale/gnu/time_members.cc:
1341 (__timepunct::_M_initialize_timepunct): Use cache.
1342 * config/locale/gnu/time_members.h:
1343 (__timepunct::~__timepunct): Delete cache.
1344 (__timepunct::__timepunct): Set cache.
1345 * include/bits/locale_facets.h (__timepunct_cache): New.
1346 (__moneypunct_cache): New.
1347 * include/bits/locale_facets.tcc: Tweak.
1348 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1349 * src/locale-inst.cc: Instantiate caches.
1350 * src/globals.cc: Add "C" caches.
1351 * src/localename.cc: Use external "C" caches.
1353 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1355 * docs/doxygen/guide.html: Fix typo.
1357 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1359 * include/ext/pod_char_traits.h: Add state template argument.
1361 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1363 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1364 (num_get::_M_convert_int): To _M_insert_int.
1365 (num_get::_M_convert_float): To _M_insert_float.
1366 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1367 Use caches for ctype, num_get.
1368 (num_get::_M_extract_int): Same.
1369 (num_get::get(bool)): Same.
1370 (__verify_grouping): Use size_t.
1371 * src/locale-inst.cc: Update.
1372 * src/locale.cc: Adjust _S_atoms_in.
1374 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1376 * docs/doxygen/mainpage.html: Move building/writing instructions...
1377 * docs/doxygen/guide.html: ...to here. New file.
1379 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1381 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1382 * docs/html/faq/index.html: Same.
1383 * docs/html/faq/index.txt: Regenerate.
1385 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1388 * include/bits/locale_facets.tcc (money_get::do_get):
1389 Strip only _leading_ zeros.
1390 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1391 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1393 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1395 * include/ext/hash_map (class hash_multimap): Remove extra
1396 semicolons from __glibcxx_class_requires3 entries.
1397 * include/ext/hash_set (class hash_set): Ditto.
1398 (class hash_multiset): Ditto.
1400 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1402 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1403 Change last parameter from int_type to size_t.
1405 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1407 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1408 set_difference, set_symmetric_difference, max_element, min_element,
1409 next_permutation, prev_permutation, find_first_of, find_end):
1411 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1412 restrictions in docs.
1413 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1415 * docs/doxygen/doxygroups.cc (setoperations): New group.
1417 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1419 * include/bits/basic_string.h: Document public functions.
1420 * docs/doxygen/TODO: Update c21 todo.
1422 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1424 * include/bits/stl_list.h: Document more functions.
1425 * docs/doxygen/TODO: Update c23 todo.
1427 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1429 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1432 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1434 * include/bits/stl_tempbuf.h: Qualify free with std::.
1435 * src/locale.cc: Include <cstdlib>, qualify getenv.
1437 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1439 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1440 <cstdio>. Qualify names.
1441 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1443 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1444 Nathan C. Myers <ncm-nospam@cantrip.org>
1447 * include/std/std_fstream.h (xsputn): Declare only.
1448 * include/bits/fstream.tcc (xsputn): Define, optimize for the
1449 always_noconv() case: when __n is sufficiently large flush
1450 the buffer and issue a direct write, if possible combining the
1451 two with writev in __basic_file<>::xsputn_2.
1452 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1454 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1456 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1457 the availability of writev in <sys/uio.h>.
1458 * configure.in: Call here.
1459 * acconfig.h: Add undef for the corresponding symbol.
1460 * aclocal.m4: Regenerate.
1461 * configure: Regenerate.
1462 * config.h.in: Regenerate.
1463 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1465 * include/std/std_fstream.h (sync): Constify a variable.
1467 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1469 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1470 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1472 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1474 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1475 <cstring> and <cstdlib>. Qualify names.
1477 2003-07-13 Mark Mitchell <mark@codesourcery.com>
1479 * config/locale/generic/c_locale.h: Include <cstdlib> and
1481 * include/bits/boost_concept_check.h: Add this-> to unqualified
1483 * include/bits/deque.tcc: Likewise.
1484 * include/bits/locale_facets.h : Likewise.
1485 * include/bits/ostream.tcc: Likewise.
1486 * include/bits/stl_algo.h: Likewise.
1487 * include/bits/stl_bvector.h: Likewise.
1488 * include/bits/stl_deque.h: Likewise.
1489 * include/bits/stl_list.h: Likewise.
1490 * include/bits/stl_tree.h: Likewise.
1491 * include/bits/stl_vector.h: Likewise.
1492 * include/bits/vector.tcc: Likewise.
1493 * include/ext/rope: Likewise.
1494 * include/ext/ropeimpl.h: Likewise.
1495 * include/ext/stdio_filebuf.h: Likewise.
1497 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
1499 * include/bits/basic_ios.h (copyfmt): Document.
1500 * include/bits/ios_base.h (event, event_callback, register_callback,
1501 xalloc, iword, pword): Document.
1502 (imbue, ~ios_base): Update docs on callbacks.
1504 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
1506 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1507 warning messages if the environment cannot support symbol versioning.
1508 (port_specific_symbol_file): It's plural, add an 's' on the end.
1509 * configure.host: Likewise.
1510 * src/Makefile.am: Likewise.
1511 * config/linker-map.gnu: Remove one semicolon, heh.
1512 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1513 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1514 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1516 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1518 * include/bits/locale_facets.tcc: Use function object for
1519 __use_cache instead of template function. Partially specialize for
1521 * include/bits/locale_classes.h: Update friend declaration for
1523 (_M_install_cache): No throw exception specs.
1524 * src/locale.cc: Remove __use_cache specializations.
1525 * include/ext/pod_char_traits.h (length): Tweak.
1526 * include/bits/locale_facets.h (__numpunct_cache): Remove
1528 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1530 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1531 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1532 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1533 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1534 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1535 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
1537 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
1539 * src/ios.cc (_M_grow_words): Fix spelling.
1541 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
1543 * include/bits/stl_tree.h: Move larger member functions in
1544 _Rb_tree_base_iterator and _Rb_tree_node to...
1545 * src/stl_tree.cc: Here.
1546 * src/Makefile.in: Add stl_tree.cc.
1547 * src/Makefile.in: Regenerated.
1548 * config/linker-map.gnu: Add symbols here.
1550 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1552 * testsuite/ext/pod_char_traits.cc: New.
1553 * include/ext/pod_char_traits.h: New.
1554 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1555 * include/Makefile.in: Regenerate.
1556 * docs/html/21_strings/howto.html: Update.
1558 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
1560 * testsuite/performance/list_create_fill_sort.cc: New.
1562 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1564 * config/locale/generic/numeric_members.cc: Correct type info.
1565 * config/locale/gnu/numeric_members.cc: Same.
1566 * include/bits/locale_facets.h: Same.
1568 * include/bits/char_traits.h: Correct spacing.
1570 * src/locale.cc: Wrap to 80 col.
1572 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
1574 * include/std/std_complex.h: Partially revert last
1575 changes: cmath functions must not be qualified.
1577 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1579 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1580 2.11 with globbing backport fix.
1581 * aclocal.m4, configure: Regenerated.
1583 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1585 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1586 if output is at all possible (!_M_reading), cannot be active.
1588 * include/std/std_fstream.h: Tweak comments to doxygen style.
1590 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1592 * include/bits/locale_classes.h: Fully qualify standard
1593 functions with std::, thus avoiding Koenig lookup.
1594 * include/bits/locale_facets.tcc: Likewise.
1595 * src/locale.cc: Likewise.
1596 * src/localename.cc: Likewise.
1598 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1600 * include/bits/allocator_traits.h: Fix doxygen markup.
1601 * include/ext/mt_allocator.h: Likewise.
1603 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1605 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1607 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1609 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1610 requirement. Add port_specific_symbol_file variable.
1611 * configure.host: Add docs for port_specific_symbol_file.
1612 Clean up try_cpu block for x86.
1613 * config/linker-map.gnu: No more "last symbol can't have a
1614 semicolon" kaka. Add hook for port-specific symbols.
1615 * src/Makefile.am: Remove trailing whitespace.
1616 (libstdc++-symbol.ver): Detect the presence of port-specific
1617 symbols, and add them accordingly.
1619 * docs/html/17_intro/porting.texi: Bring up to date.
1621 * src/Makefile.in, aclocal.m4, configure,
1622 docs/html/17_intro/porting.html: Regenerated.
1624 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1626 * scripts/create_testsuite_files: New file.
1627 * testsuite/Makefile.am (all-local, check-performance): Use it.
1628 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1629 * testsuite/Makefile.in: Regenerated.
1631 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1633 * testsuite/performance/fstream_seek_write.cc: Likewise.
1634 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1635 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1636 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1638 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1640 * include/bits/stl_list.h: Performance and memory usage
1641 improvements. In particular, the behaviour of the constructor and
1642 destructor as the list header node is no longer dynamically
1643 allocated/de-allocated.
1644 * include/bits/list.tcc: Likewise.
1646 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1648 * include/std/std_complex.h: Fully qualify standard
1649 functions with std::, thus avoiding Koenig lookup.
1650 * include/std/std_memory.h: Likewise.
1651 * include/std/std_valarray.h: Likewise.
1653 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1655 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
1656 variable for grandparent and use const
1658 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1660 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1661 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1662 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1663 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1664 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1665 * testsuite/27_io/objects/char/7.cc: Ditto
1666 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1668 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1670 * include/std/std_bitset.h: Fully qualify standard
1671 functions with std::, thus avoiding Koenig lookup.
1673 * include/std/std_fstream.h: Change comment to doxygen style.
1675 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1677 * include/std/std_limits.h: More CPP->CXX changes.
1678 * scripts/check_survey.in: Likewise.
1680 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1682 Move from CPP to CXX.
1683 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1684 * testsuite/Makefile.am: Same.
1685 * testsuite/Makefile.in: Regenerate.
1686 * po/Makefile.am: Same.
1687 * po/Makefile.in: Regenerate.
1688 * libsupc++/Makefile.am: Same.
1689 * libsupc++/Makefile.in: Regenerate.
1690 * libmath/Makefile.am: Same.
1691 * libmath/Makefile.in: Regenerate.
1692 * include/Makefile.am: Same.
1693 * include/Makefile.in: Regenerate.
1694 * src/Makefile.am: Same.
1695 * src/Makefile.in: Regenerate.
1697 * configure.host: Same.
1698 * configure.in: Same.
1699 * configure: Regenerate.
1700 * acinclude.m4: Same.
1702 * src: Change all files in this directory.
1704 * include: Same, standardize include guards.
1708 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1710 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1711 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1712 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1713 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1714 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1715 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1716 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1717 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1718 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1719 XFAIL on all targets.
1721 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1723 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1724 * aclocal.m4: Regenerate.
1725 * configure: Regenerate.
1727 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
1729 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1732 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1733 Petur Runolfsson <peturr02@ru.is>
1735 * config/io/basic_file_stdio.cc: Revert.
1737 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1739 * include/bits/deque.tcc: Fully qualify standard
1740 functions with std::, thus avoiding Koenig lookup.
1741 * include/bits/gslice_array.h: Likewise.
1742 * include/bits/indirect_array.h: Likewise.
1743 * include/bits/list.tcc: Likewise.
1744 * include/bits/mask_array.h: Likewise.
1745 * include/bits/slice_array.h: Likewise.
1747 2003-07-04 Gawain Bolton <gbolton@free.fr>
1749 * include/bits/stl_tree.h: Performance and memory usage
1752 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1754 * Makefile.am: Replace PWD with PWD_COMMAND.
1755 * Makefile.in: Regenerated.
1756 * docs/html/Makefile: Likewise.
1758 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1760 * include/bits/valarray_array.h: Fully qualify standard
1761 functions with std::, thus avoiding Koenig lookup.
1762 * include/bits/vector.tcc: Likewise.
1764 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1766 * include/Makefile.am: Update target_ to host_.
1767 * include/Makefile.in: Regenerate.
1768 * src/Makefile.am: Same.
1769 * src/Makefile.in: Regenerate.
1771 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1773 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1775 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1776 --enable-libstdcxx-debug-flags.
1777 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1778 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1779 * aclocal.m4: Regenerate.
1781 * docs/html/configopts.html: Update.
1783 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1785 Revert the fix for libstdc++/11378.
1787 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1790 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1791 provided always_noconv(), issue directly _M_file.xsputn.
1792 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1794 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1796 * include/bits/stl_list.h: Fully qualify standard
1797 functions with std::, thus avoiding Koenig lookup.
1798 * include/bits/stl_queue.h: Likewise.
1799 * include/bits/stl_raw_storage_iter.h: Likewise.
1800 * include/bits/stl_tempbuf.h: Likewise.
1801 * include/bits/stl_tree.h: Likewise.
1802 * include/bits/stl_uninitialized.h: Likewise.
1803 * include/bits/stl_vector.h: Likewise.
1804 * include/ext/rope: Change includes order.
1806 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1808 * configure.host (fpos_include_dir): Fix.
1810 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1812 * include/bits/stl_heap.h: Fully qualify standard
1813 functions with std::, thus avoiding Koenig lookup.
1814 * include/bits/stl_iterator_base_funcs.h: Likewise.
1816 * include/bits/stl_algo.h: Qualify __iterator_category too.
1817 * include/bits/stl_algobase.h: Likewise.
1818 * include/bits/stl_bvector.h: Likewise.
1820 * include/bits/stl_algo.h: Don't qualify the pair type.
1822 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1824 * include/Makefile.am (target_headers): Add fpos.h
1825 (bits_headers): Remove.
1826 * include/Makefile.in: Regenerate.
1827 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1828 * configure: Regenerate.
1829 * configure.host: Add fpos_include_dir.
1830 * config/os/gnu-linux/fpos.h: New.
1831 * config/os/generic/fpos.h: Add.
1832 * include/bits/fpos.h: Remove.
1834 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1836 * include/bits/fstream.tcc: Tweaks.
1837 * include/std/std_fstream.h: Same.
1839 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1840 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1841 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1842 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1843 * testsuite/27_io/fpos/1.cc: New.
1845 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1846 Petur Runolfsson <peturr02@ru.is>
1848 * include/std/std_streambuf.h: Remove _M_pos.
1849 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1850 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1851 use fread/fwrite instead of read/write.
1852 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1853 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1854 before reading again.
1855 * testsuite/27_io/objects/char/6.cc: Tweak.
1857 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1859 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1860 _GLIBCPP_USE_WCHAR_T.
1862 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1864 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1867 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1869 * include/bits/stl_bvector.h: Fully qualify standard
1870 functions with std::, thus avoiding Koenig lookup.
1871 * include/bits/stl_construct.h: Likewise.
1872 * include/bits/stl_deque.h: Likewise.
1874 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1876 * testsuite/22_locale/num_put/put/char/7.cc: Include
1877 <testsuite_hooks.h>, tweak.
1878 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1880 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
1882 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1883 check* targets, but not libs/programs).
1884 * testsuite/Makefile.in: Regenerate.
1886 2003-07-01 Roger Sayle <roger@eyesopen.com>
1888 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1889 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1890 * aclocal.m4: Regenerate.
1891 * configure: Regenerate.
1893 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1895 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1896 * aclocal.m4: Regenerated.
1897 * configure: Regenerated.
1899 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
1902 * include/bits/fstream.tcc (underflow): For encoding() == 0
1903 don't read more than __buflen chars.
1904 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1905 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1906 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1907 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1909 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
1911 * 22_locale/num_put/put/char/7.cc: New.
1912 * 22_locale/num_put/put/wchar_t/7.cc: New.
1914 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1916 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1917 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1919 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1921 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1922 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1923 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1924 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1925 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1926 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1927 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1928 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1929 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1930 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1931 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1932 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1933 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1934 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1935 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1936 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1937 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1938 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1939 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1940 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1941 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1942 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1943 * data/seekoff-1.tst: Remove.
1944 * data/seekoff-1io.tst: New.
1945 * data/seekoff-1out.tst: New.
1946 * data/seekoff-2.tst: Remove.
1947 * data/seekoff-2io.tst: New.
1948 * data/seekoff-2out.tst: New.
1950 * data/seekpos-1.tst: Remove.
1951 * data/seekpos-1io.tst: New.
1952 * data/seekpos-1out.tst: New.
1953 * data/seekpos-2.tst: Remove.
1954 * data/seekpos-2io.tst: New.
1955 * data/seekpos-2out.tst: New.
1956 * data/seekpos.txt: New.
1958 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1960 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1961 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1964 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1966 * include/bits/stl_algobase.h: Fully qualify standard
1967 functions with std::, thus avoiding Koenig lookup.
1969 2003-06-30 Doug Gregor <dgregor@apple.com>
1971 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1972 subscripting empty string.
1974 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1976 * testsuite/Makefile.am (check-am): Do not override.
1977 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1978 * testsuite/Makefile.in: Regenerate.
1980 2003-06-30 Doug Gregor <dgregor@apple.com>
1982 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1983 Don't initialize an insert_iterator with a singular iterator.
1985 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1987 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1988 * aclocal.m4: Regenerate.
1989 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1990 GLIBCPP_ENABLE_PCH, default to yes.
1991 * configure: Regenerate.
1992 * docs/html/configopts.html: Add --enable-pch.
1994 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1996 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1997 (libstdc++-v3-init): Also set LD_RUN_PATH.
1999 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2001 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
2002 from here to filebuf and stringbuf.
2003 (~basic_streambuf()): Don't set _M_mode.
2004 (basic_streambuf()): Don't set _M_mode.
2005 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
2006 (~basic_filebuf()): Clean up.
2007 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
2008 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
2009 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
2010 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2011 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2012 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2013 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2015 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2017 * include/std/std_fstream.h (_M_underflow): Remove.
2018 (uflow): Remove, inherited from streambuf.
2019 (underflow): Only declare.
2020 * include/bits/fstream.tcc (_M_underflow): Rename to
2021 underflow, to which is equivalent for __bump == false,
2023 * include/std/std_sstream.h (_M_underflow): Remove.
2024 (uflow): Remove, inherited from streambuf.
2025 (underflow): Only declare.
2026 * include/bits/sstream.tcc (_M_underflow): Rename to
2027 underflow, to which is equivalent for __bump == false,
2030 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2032 * include/bits/stl_algo.h: Fully qualify standard functions
2033 with std::, thus avoiding Koenig lookup.
2035 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2037 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
2038 Improve type correctness-wise.
2039 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
2041 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
2043 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
2046 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2048 * include/std/std_streambuf.h (uflow): According to
2049 27.5.2.4.3,p16, don't check gptr() < egptr().
2051 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
2054 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
2055 (seekpos): Likewise.
2056 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
2058 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
2061 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
2063 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
2064 output name to libstdc++-v3-performance.sum.
2065 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
2066 * testsuite/Makefile.in: Regenerate.
2068 2003-06-27 Matthias Klose <doko@debian.org>
2070 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
2071 output of abi-check in libstdc++-v3-abi.sum.
2072 * testsuite/Makefile.in: Regenerate.
2074 2003-06-27 Krister Walfridsson <cato@df.lth.se>
2076 * config/os/bsd/netbsd/ctype_noninline.h
2077 (_C_ctype_): Declare.
2078 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2079 (ctype<char>::ctype): Use classic_table.
2081 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2082 Nathan C. Myers <ncm-nospam@cantrip.org>
2085 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2086 the worst-case number of external bytes for a given get area.
2087 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2089 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2090 Petur Runolfsson <peturr02@ru.is>
2093 * include/bits/fstream.tcc (overflow): Properly estimate the
2094 worst-case number of external bytes for a given put area
2095 (by using codecvt::max_length()).
2096 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2097 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2098 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2099 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2101 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2103 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2105 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2107 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2108 to the imbued locale.
2109 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2111 (num_put::_M_convert_float): Use.
2113 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2114 Jerry Quinn <jlquinn@optonline.net>
2116 * config/linker-map.gnu: Add __numpunct_cache.
2117 * config/locale/gnu/numeric_members.cc
2118 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2119 all elements for "C" locale.
2120 (numpunct::~numpunct): Delete _M_data.
2121 * config/locale/generic/numeric_members.cc: Same.
2122 * include/bits/basic_ios.tcc
2123 (basic_ios::init): Remove __locale_cache bits.
2124 (basic_ios::_M_cache_locale): Same.
2125 * include/bits/ios_base.h: Same. Tweaks.
2126 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2127 (__use_cache): Make friends with _Impl, locale.
2128 (_Impl::_M_caches): Add.
2129 (_Impl::_M_install_cache): Add.
2130 * include/bits/locale_facets.h (__numpunct_cache): New.
2131 (numpunct): Encapsulate data members in __numpunct_cache member,
2132 _M_data. Adjust virtuals.
2133 (numpunct::numpunct): New ctor for the same.
2134 (__locale_cache_base): Remove.
2135 (__locale_cache): Remove.
2136 * include/bits/locale_facets.tcc (__use_cache): New function,
2138 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2139 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2140 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2141 * src/locale-inst.cc: Same. Add __numpunct_cache.
2142 * src/locale.cc: Tweak inlines.
2143 (__use_cache): Define specializations.
2144 * src/localename.cc: Use global bits.
2145 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2146 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2147 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2148 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2149 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2151 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2152 Paolo Carlini <pcarlini@unitus.it>
2154 * testsuite/performance/filebuf_copy.cc: New, testing char
2157 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2158 Nathan C. Myers <ncm-nospam@cantrip.org>
2160 * include/bits/fstream.tcc (_M_underflow): When the actual
2161 end of file is reached, set 'uncommitted' mode to allow a
2162 next write without an intervening seek (see C++98 27.8.1.1,2
2164 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2166 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2168 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2169 sputc): Move inline, from here...
2170 * include/std/std_streambuf.h: ... to here.
2172 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2173 sputbackc, sungetc, sputc): Use __builtin_expect.
2175 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2177 * docs/doxygen/mainpage.html: Use a useful title.
2179 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2181 * docs/html/documentation.html: Remove assignment info.
2182 * docs/html/17_intro/contribute.html: Edits.
2183 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2185 * docs/html/test.html: Update.
2189 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2190 Ulrich Drepper <drepper@redhat.com>
2192 * testsuite/testsuite_performance.h: Tweak mallinfo.
2194 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2195 Nathan C. Myers <ncm-nospam@cantrip.org>
2197 * include/std/std_fstream.h (_M_filepos): Remove.
2198 (_M_reading, _M_writing): New, encode the various I/O modes:
2199 'read', 'write' and 'uncommitted'.
2200 (sync): If there is something to flush, do it, then go to
2202 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2203 with three different cases: __off > 0 (upon underflow),
2204 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2206 (_M_underflow): Don't call overflow, set _M_reading to true
2208 (pbackfail): Set _M_reading to true on pback creation, tweak.
2209 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2210 set _M_writing to true on success, tweak.
2211 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2212 _M_set_buffer(-1) ('uncommitted').
2213 (open, close, setbuf): Set _M_reading, _M_writing to false and
2214 call _M_set_buffer(-1), tweak.
2215 (basic_filebuf): Don't set _M_buf_unified.
2216 (_M_destroy_internal_buffer): Don't call setg and setp.
2217 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2218 _M_writing and _M_set_buffer(-1).
2219 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2220 _M_out_lim, _M_buf_unified): Remove.
2221 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2222 (setp): Don't set _M_out_lim.
2223 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2224 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2225 upon open the mode is 'uncommitted' and therefore the put area
2227 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2228 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2229 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2230 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2231 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2232 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2233 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2234 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2235 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2236 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2237 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2238 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2239 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2240 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2241 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2242 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2243 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2244 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2245 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2246 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2248 * include/bits/fstream.tcc (showmanyc): Use only the
2249 documented derivation interface to basic_streambuf (gptr(),
2250 setg(), etc.) to work right with user specializations.
2251 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2252 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2253 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2255 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2258 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2260 * configure.host (freebsd*): Set abi_baseline_pair.
2261 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2262 (at or near first release) to 3.3.
2263 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2264 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2265 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2267 * include/ext/mt_allocator.h: Portability.
2268 * testsuite/testsuite_performance.h: Likewise.
2270 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2272 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2274 * testsuite/performance/ifstream_getline.cc: Fix.
2276 2003-06-23 Doug Gregor <dgregor@apple.com>
2278 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2281 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2282 Nathan C. Myers <ncm-nospam@cantrip.org>
2284 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2285 is now used only for filebuf, when _M_buf_unified is true.
2286 epgtr() plays the role of _M_out_lim but it's only updated
2287 upon overflow, underflow, uflow, seekoff/pos.
2288 * include/bits/sstream.tcc (_M_underflow): New, implements
2289 stringbuf::underflow and uflow.
2290 (seekoff, seekpos): Tweak, use _M_update_egptr.
2291 * include/std/std_sstream.h (str): Rewrote, deal correctly
2292 with the new logic, in particular, when pptr() > egptr().
2293 (_M_sync): When __testout && !__testin set all the get area
2294 pointers to the current string end.
2295 (_M_update_egptr): New, internal function updating egptr()
2296 to the actual string end.
2297 (_M_underflow): New, declare.
2298 (underflow): Dispatch to _M_underflow(false).
2299 (uflow): Dispatch to _M_underflow(true).
2301 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2302 seekpos): Use only the documented derivation interface to
2303 basic_streambuf (gptr(), setg(), etc.) to work right with
2304 user specializations.
2305 * include/std/std_sstream.h (str, _M_sync): Likewise.
2307 2003-06-20 Doug Gregor <dgregor@apple.com>
2309 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2310 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2311 dereference end iterator.
2312 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2313 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2314 index equal to the length of a string.
2315 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2316 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2317 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2318 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2319 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2320 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2321 singular reverse iterator.
2322 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2324 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2326 2003-06-20 Doug Gregor <dgregor@apple.com>
2328 * include/bits/basic_string.h (basic_string::replace): Dispatch
2329 _InputIterator version based on _Is_integer.
2330 * include/bits/basic_string.tcc (basic_string::replace):
2331 Renamed replace(iterator, iterator, size_type, _CharT) to
2333 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2334 Test basic_string::assign(_InputIterator, _InputIterator),
2335 which calls basic_string::replace(iterator, iterator,
2336 _Input_iterator, _InputIterator).
2338 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2340 * testsuite/testsuite_performance.h (resource_counter): Don't use
2341 mallinfo at the moment.
2343 2003-06-20 Matthias Klose <doko@debian.org>
2345 * configure.host: Set try_cpu to target_cpu for existing
2348 2003-06-19 Andreas Jaeger <aj@suse.de>
2350 * testsuite/Makefile.am (extract_symvers): Revert accidental
2352 * testsuite/Makefile.in: Regenerate.
2354 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2355 * configure: Regenerated.
2357 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2359 * include/std/std_sstream.h (_M_sync): Make non virtual.
2361 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2363 * testsuite/testsuite_performance.h (time_counter): New.
2364 (resource_counter): New.
2365 (report_performance): New.
2366 (start_counters): New.
2367 (stop_counters): New.
2368 (clear_counters): New.
2369 * testsuite/performance/allocator.cc: Instrument.
2370 * testsuite/performance/cout_insert_int.cc: Same.
2371 * testsuite/performance/complex_norm.cc: Same.
2372 * testsuite/performance/filebuf_sputc.cc: New.
2373 * testsuite/performance/fstream_seek_write.cc: Same.
2374 * testsuite/performance/ifstream_getline.cc: Same.
2375 * testsuite/performance/map_create_fill.cc: Same.
2376 * testsuite/performance/ofstream_insert_float.cc: Same.
2377 * testsuite/performance/ofstream_insert_int.cc: Same.
2378 * testsuite/performance/string_append.cc: Convert.
2379 * scripts/check_performance: New.
2380 * testsuite/Makefile.am (check-performance): New.
2383 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2384 Benjamin Kosnik <bkoz@redhat.com>
2386 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2387 * include/bits/fstream.tcc (setbuf): Tweak.
2389 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2391 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2392 _M_out_lim, therefore _M_move_out_cur boils down to simply
2393 updating _M_out_cur.
2394 (seekpos): Likewise, clean up.
2396 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2397 Paolo Carlini <pcarlini@unitus.it>
2399 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2400 simply equivalent to the unbuffered case (0, 0) as far as
2401 _M_buf_size is concerned.
2403 2003-06-18 Andreas Jaeger <aj@suse.de>
2405 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2407 (baseline_file): Use baseline_dir.
2408 (baseline_dir): New.
2409 (mkinstalldirs): New.
2411 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2412 filename from baseline_dir.
2414 * testsuite/Makefile.in: Regenerated.
2415 * Makefile.in: Regenerated.
2416 * aclocal.m4: Regenerated.
2417 * configure: Regenerated.
2419 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2421 * configure.in: Missed check_survey bit.
2422 * configure: Regenerated.
2424 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2427 * config/abi/extract_symvers: Move to...
2428 * scripts/extract_symvers: ...here.
2429 * mkcheck.in: Move to..
2430 * scripts/check_survey.in: ...here.
2431 * testsuite_flags.in: Move to..
2432 * scripts/testsuite_flags.in: ...here.
2433 * configure.in: Change check and testsuite_flags locations.
2434 * configure: Regenerate.
2435 * testsuite/Makefile.am (current_symbols.txt): Change location.
2436 * testsuite/Makefile.in: Regenerate.
2437 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2438 location of testsuite_flags.
2439 * Makefile.am (check-script): Move..
2440 (check-script-install): Move...
2441 * testsuite/Makefile.am: ... here.
2442 * testsuite/Makefile.in: Regenerate.
2443 * Makefile.in: Regenerate.
2445 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2447 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2449 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2451 * Makefile.am (check-abi): Move...
2452 (new-abi-baseline): Move...
2453 * testsuite/Makefile.am: ...here.
2454 (new-abi-baseline): Conditionalize.
2455 (check-abi): Conditionalize.
2456 (check-abi-verbose): New.
2457 * Makefile.in: Regenerate.
2458 * testsuite/Makefile.in: Regenerate.
2459 * configure.in: Consolidate testsuite configure bits.
2460 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2461 * configure: Regenerate.
2462 * aclocal.m4: Regenerate.
2463 * testsuite/abi_check.cc: Add --check-verbose.
2464 Only output detailed information if --check-verbose.
2466 2003-06-16 Andreas Jaeger <aj@suse.de>
2468 * testsuite/abi_check.cc: Create summary report.
2470 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2472 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2473 for systems with BUFSIZ != 8192.
2474 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2475 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2478 2003-06-16 Andreas Jaeger <aj@suse.de>
2480 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2481 check-abi multilib aware.
2482 * aclocal.m4: Regenerate.
2483 * configure: Regenerate.
2485 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2486 Andreas Jaeger <aj@suse.de>
2488 * configure.host: Set x86_64 abi_baseline pair correctly.
2490 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2492 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
2493 fix for missing seeks between gets and puts into...
2494 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2495 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2496 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2497 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2498 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2499 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
2501 2003-06-15 Richard Henderson <rth@redhat.com>
2503 * config/linker-map.gnu: Export virtual function thunks for
2506 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2508 * config/abi/i686-pc-linux-gnu: To..
2509 * config/abi/i486-linux-gnu: ...this.
2510 * config/abi/alphaev67-unknown-linux-gnu: To..
2511 * config/abi/alpha-linux-gnu: ...this.
2512 * config/abi/ia64-unknown-linux-gnu: To...
2513 * config/abi/ia64-linux-gnu: ...this.
2514 * config/abi/x86_64-unknown-linux-gnu: To...
2515 * config/abi/x86_64-linux-gnu: ...this.
2516 * config/abi/i386-unknown-freebsd4: To...
2517 * config/abi/i386-freebsd4: ...this.
2518 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2520 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2521 Simplify cpu bits so that abi_baseline_pair can use the same
2523 * acinclude.m4: Same.
2524 * aclocal.m4: Regenerate.
2525 * configure.in: Can't get enable_abi_check to yes unless native.
2526 * configure: Regenerate.
2528 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
2530 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2531 fix for missing seeks between gets and puts into...
2532 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2533 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2534 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2535 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2536 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2537 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2538 for missing seeks between gets and puts.
2539 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2540 * testsuite/data/seekoff-1.tst: New.
2541 * testsuite/data/seekoff-2.tst: New.
2542 * testsuite/data/seekpos-1.tst: New.
2543 * testsuite/data/seekpos-2.tst: New.
2545 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2547 Avoid multi-processor bus contention on increment/decrement-and-
2548 test of the reference count in the empty-string object, by comparing
2549 addresses first, and never touching the reference count of the empty-
2551 * include/bits/basic_string.h:
2552 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2554 (_Rep::_S_empty_rep()): New accessor.
2555 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2556 a base class _Rep_base.
2557 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2558 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2559 since no longer must increment its refcount.
2560 * include/bits/basic_string.tcc:
2561 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
2562 return immediately. The former might be unnecessary. The latter
2563 prevents begin() and end() from cloning it unnecessarily.
2564 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2565 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2566 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2567 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2568 (_M_mutate): Check for the empty string and treat it as shared.
2569 This is necessary here because _M_mutate is sometimes called with
2570 all-zero arguments; in all other uses of _M_is_shared, the test comes
2573 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2575 * src/allocator-inst.cc: Explicitly instantiate.
2576 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2578 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
2580 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2582 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2583 * aclocal.m4: Regenerate.
2584 * Makefile.am (SUBDIRS): Remove libio.
2585 * Makefile.in: Regenerate.
2586 * configure.in: Same.
2587 * configure: Regenerate.
2588 * config/io/basic_file_libio.cc: Remove.
2589 * config/io/basic_file_libio.h: Remove.
2590 * config/io/c_io_libio_codecvt.c: Remove.
2591 * config/io/c_io_libio.h: Remove.
2593 * src/Makefile.am: Same.
2594 * src/Makefile.in: Regenerate.
2595 * docs/html/configopts.html: Edits.
2596 * docs/html/explanations.html: Edits.
2598 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2600 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2601 (__malloc_alloc): Same.
2602 (__pool_alloc): Same.
2603 (__new_alloc): Same.
2605 * include/bits/allocator.h: ...this.
2606 * include/bits/stl_deque.h: Modify comment.
2607 * include/bits/stl_tree.h: Modify include.
2608 * include/std/std_memory.h: Same.
2609 * include/ext/rope: Same.
2610 * include/ext/slist: Same.
2611 * include/std/std_vector.h: Same.
2612 * include/std/std_stack.h: Same.
2613 * include/std/std_queue.h: Same.
2614 * include/std/std_list.h: Same.
2615 * include/std/std_deque.h: Same.
2616 * include/backward/alloc.h: Same.
2617 * include/ext/debug_allocator.h: New.
2618 * include/ext/malloc_allocator.h: New.
2619 * include/ext/pool_allocator.h: New.
2620 * include/ext/new_allocator.h: New.
2621 * include/bits/pthread_allocimpl.h: Remove.
2622 * include/bits/stl_pthread_alloc.h: Remove.
2623 * include/Makefile.am (ext_headers): Add.
2624 * include/Makefile.in: Regenerate.
2625 * src/stl-inst.cc: Use __gnu_cxx namespace.
2626 * src/stl-inst.cc: Move to...
2627 * src/allocator-inst.cc: Here.
2628 * src/Makefile.am (sources): Update.
2629 * src/Makefile.in: Regenerate.
2630 * config/linker-map.gnu: Remove __pool_alloc bits.
2631 * testsuite/ext/headers.cc: Add.
2632 * testsuite/ext/allocators.cc: Fixup.
2634 2003-06-11 Stefan Olsson <stefan@snon.net>
2635 Ola Rönnerup <fnolis@home.se>
2637 * include/Makefile.am (ext_headers): Add.
2638 * include/Makefile.in: Regenerate.
2639 * include/ext/mt_allocator.h: New file.
2641 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2643 * include/bits/fstream.tcc (close): Clean up a bit.
2645 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
2647 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
2648 - the saved _M_in_cur, that is - cannot be null.
2649 (sync): Constify a variable.
2651 * include/std/std_streambuf.h: Tweak a comment.
2652 (in_avail): Constify a variable.
2654 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
2656 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
2657 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
2658 correctness of container::iterator typedefs. Fix whitespace.
2659 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
2661 * docs/html/documentation.html: Regenerate.
2663 * include/bits/basic_string.h, include/bits/basic_string.tcc,
2664 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
2665 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
2666 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
2667 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
2668 include/bits/stl_vector.h, include/bits/vector.tcc,
2669 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
2670 Change _Iter names to _Iterator, and __pos to __position.
2672 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
2673 include/bits/stl_multiset.h, include/bits/stl_set.h:
2674 Remove emacs markers.
2676 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
2678 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2680 * include/bits/fstream.tcc (overflow): According to
2681 27.5.2.4.5, overflow() returns not_eof(eof()).
2682 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
2683 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2685 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2687 * include/bits/fstream.tcc (_M_underflow): Check overflow return
2688 value; tweak slightly.
2690 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2692 * include/bits/fstream.tcc (_M_underflow): Do not special
2693 case the unbuffered case, which really means simply a one char
2695 (basic_filebuf): Initialize _M_buf_size.
2696 (setbuf): Unbuffered means _M_buf_size == 1, since only
2697 _M_buf_size - 1 == 0 chars are going to be used for the
2698 put area and 1 for the get area.
2699 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
2700 (~basic_streambuf): Tweak.
2701 (basic_streambuf): Do not initialize _M_buf_size.
2702 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
2703 (~basic_filebuf): Tweak.
2704 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
2705 unbuffered situation (i.e., put area pointers NULL).
2706 * include/bits/streambuf.tcc (sbumpc): Clean up.
2707 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2708 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2709 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2710 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2711 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2712 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2713 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2715 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
2717 * acinclude.m4: Move all AM_CONDITIONAL calls out.
2718 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
2720 * configure.in: Centralize AM_CONDITIONALs so that they are always
2721 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
2722 * aclocal.m4, configure: Regenerated.
2724 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2726 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
2728 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
2730 * include/bits/stl_iterator.h
2731 (reverse_iterator::reverse_iterator()): Apply DR235: default
2732 constructor default-initializes data member. Instantiated on a
2733 pointer type, the member has to end up equal to zero.
2735 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
2737 * include/bits/stl_alloc.h: Cleanups.
2738 * include/ext/functional: Same.
2739 * include/ext/hash_map: Same.
2740 * include/ext/hash_set: Same.
2741 * include/ext/iterator: Same.
2742 * include/ext/memory: Same.
2743 * include/ext/numeric: Same.
2744 * include/ext/rb_tree: Same.
2745 * include/ext/ropeimpl.h: Same.
2746 * include/ext/slist: Same.
2747 * include/ext/stdio_filebuf.h: Same.
2748 * include/ext/stdio_sync_filebuf.h: Same.
2749 * include/ext/stl_rope.h: Move to...
2750 * include/ext/rope: ...here.
2751 * include/ext/stl_hash_fun.h: Move to...
2752 * include/ext/hash_fun.h: ...here.
2753 * include/ext/stl_hashtable.h: Move to...
2754 * include/ext/hashtable.h: ...here.
2755 * include/backward/hashtable.h: Reflect new names.
2756 * include/Makefile.am: Same.
2757 * include/Makefile.in: Regenerated.
2759 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
2762 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2763 * include/bits/stl_algobase.h: Tweak.
2764 * include/std/std_fstream.h: Move _M_buf_size to...
2765 * include/std/std_streambuf.h: ...here. Modify.
2766 * include/bits/streambuf.tcc: Same.
2767 * testsuite/testsuite_hooks.h: Tweak.
2768 * testsuite/testsuite_io.h (constraint_filebuf): New.
2769 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2770 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2771 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2772 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2773 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2774 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2775 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2776 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2777 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2778 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2779 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2780 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2781 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2782 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2783 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2784 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2785 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2786 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2787 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2788 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2789 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2790 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2791 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2792 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2793 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2794 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2795 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2796 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2797 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2798 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2799 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2800 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2801 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2802 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2803 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2804 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2805 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2806 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2807 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2808 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2809 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2810 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2811 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2812 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2813 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2814 * testsuite/data/sgetc.txt: New.
2815 * testsuite/data/sgetn.txt: New.
2817 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2820 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2821 Deal with width() smaller than zero.
2822 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2823 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2824 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2825 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2826 operator<<(basic_ostream, const basic_string&)): Likewise.
2828 * testsuite/27_io/basic_istream/extractors_character/char/
2829 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2830 * testsuite/27_io/basic_ostream/inserters_character/char/
2831 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2832 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2833 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2835 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2837 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2838 .gch compilation works.
2839 * aclocal.m4, configure: Regenerate.
2840 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2841 initialize PCHFLAGS.
2843 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2845 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2846 erase(iterator), erase(iterator, iterator), c_str,
2847 compare(const basic_string&)): Constify various variables.
2848 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2849 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2850 _S_create, resize, _M_replace, _M_replace_safe,
2851 append(const basic_string&), append(const basic_string&, size_type,
2852 size_type), append(const _CharT*, size_type), append(size_type,
2853 _CharT), operator+(const _CharT*, const basic_string&),
2854 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2855 size_type, _CharT), find(const _CharT*, size_type, size_type),
2856 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2857 rfind(_CharT, size_type), compare(size_type, size_type,
2858 const basic_string&), compare(size_type, size_type,
2859 const basic_string&, size_type, size_type), compare(const _CharT*),
2860 compare(size_type, size_type, const _CharT*), compare(size_type,
2861 size_type, const _CharT*, size_type)): Likewise.
2863 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
2865 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2866 'if' branch less obscure.
2868 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
2871 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2873 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2874 (__atomic_add): likewise.
2876 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2878 * include/bits/sstream.tcc (pbackfail): Minor clean up and
2879 reformatting, consistent with basic_filebuf::pbackfail.
2881 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
2884 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
2885 __attribute__ ((__unused__)).
2886 * config/os/aix/atomicity.h: Likewise.
2888 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2891 * include/bits/fstream.tcc (pbackfail): If the pback buffer
2892 is already active don't try to store in it a second char.
2893 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2895 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2897 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2899 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2902 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2904 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2905 instead of unnecessarily taking the address of _M_pback.
2906 (xsgetn): Simplify slightly for a single char pback buffer.
2908 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2910 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2911 variables and two 'if', clean up.
2913 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2915 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2916 not _M_out_end, since the former actually points to the string
2917 end (vs buffer end).
2918 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2920 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
2922 * docs/doxygen/filter: New file.
2923 * docs/doxygen/filter.sed: New file.
2924 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
2925 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
2926 * docs/html/documentation.html: Fix links to doxygen pages.
2928 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
2930 * include/bits/fstream.tcc (_M_convert_to_external): Don't
2931 check for __ilen > 0.
2933 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
2936 * include/bits/stl_iterator.h (class __normal_iterator):
2937 Don't inherit from iterator, add missing typedefs.
2939 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
2941 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2942 * testsuite/24_iterators/reverse_iterator/1.cc: New.
2943 * testsuite/24_iterators/reverse_iterator/2.cc: New.
2944 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2947 2003-05-27 Steve Ellcey <sje@cup.hp.com>
2949 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2951 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2952 _LIBUNWIND_STD_ABI is set.
2954 2003-05-26 Brendan Kehoe <brendan@zen.org>
2956 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2957 make sure the number of digits required after the decimal-point
2958 (if any) is exactly the value returned by frac_digits().
2959 * testsuite/22_locale/money_get/get/char/9.cc: New.
2960 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2962 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
2964 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2967 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
2970 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2971 (_M_pback): No array necessary.
2972 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2973 unbuffered case, coalesec into ...
2974 (basic_filebuf::overflow): ...this.
2975 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2976 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2978 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
2980 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2981 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2982 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2983 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2984 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2985 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2986 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2987 libsupc++/eh_unex_handler.cc, libsupc++/exception,
2988 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2989 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2990 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2991 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2992 Replace "GNU CC" with "GCC".
2994 * include/backward/new.h: Replace "GNU CC" with "GCC".
2996 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2999 * configure.in: Switch target to host, don't assume newlib.
3000 (target_alias): Remove.
3001 * configure: Regenerate.
3002 * acinclude.m4: Same.
3003 * aclocal.m4: Regenerate.
3004 * configure.target: Same. Rename to...
3005 * configure.host: This.
3007 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3009 * include/std/std_fstream.h (_S_pback_size): Remove definition.
3010 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
3012 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
3013 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
3014 of _S_pback_size for systems with no COMDAT or weak support.
3015 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
3016 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
3017 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
3018 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3019 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3020 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
3021 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
3022 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
3023 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
3025 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3027 * include/bits/fstream.tcc (_M_underflow): Simplify:
3028 !__testout implies _M_filepos == _M_in_end, therefore
3029 the first _M_file.seekoff call is never issued.
3031 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3033 * configure.in: Sort cross table.
3034 * configure: Regenerate.
3036 2003-05-22 Brad Spencer <spencer@infointeractive.com>
3039 * configure.in: Add Solaris cross bits.
3041 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3043 * libstdc++-v3/config/os/mingw32/os_defines.h
3044 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
3045 (NOMINMAX): Define. Update copyright year.
3047 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
3049 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
3051 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3053 * docs/html/faq/index.html: Fix typo.
3054 * docs/html/faq/index.txt: Regenerate.
3056 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3058 * docs/html/test.html: Fix markup.
3060 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3062 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
3064 Update copyright year.
3066 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3068 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
3070 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3072 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
3073 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
3075 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3077 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
3078 Cast via void* to avoid -Wcast-align warnings.
3079 (__default_alloc_template::_S_refill): Likewise.
3081 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
3083 * testsuite/README: Move to...
3084 * docs/html/test.html: ...here. Add documentation.
3085 * docs/html/install.html: Move testing bits out..
3086 * docs/html/documentation.html: Add separate testing link.
3087 * testsuite/performance: Add.
3088 * testsuite/performance/allocator.cc: New.
3089 * testsuite/performance/complex_norm.cc: New.
3090 * testsuite/performance/cout_insert_int.cc: New.
3091 * testsuite/performance/fstream_seek_write.cc: New.
3092 * testsuite/performance/ifstream_getline.cc: New.
3093 * testsuite/performance/map_create_fill.cc: New.
3094 * testsuite/performance/ofstream_insert_float.cc: New.
3095 * testsuite/performance/ofstream_insert_int.cc: New.
3096 * testsuite/performance/string_append.cc: New.
3097 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
3100 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
3103 * include/std/std_complex.h (pow): Tidy.
3105 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
3107 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
3108 that upon filebuf::close() 27.8.1.1,3 is enforced.
3110 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
3112 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3114 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3115 Nathan Myers <ncm@cantrip.org>
3117 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3118 _M_convert_to_external only once (_M_buf_size is now the size of
3119 the put area + 1 for the overflow char of a full area); call
3120 _M_set_buffer instead of _M_set_indeterminate.
3121 (setbuf): Don't accept a buffer smaller than 2 chars.
3122 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3123 instead of _M_set_determinate.
3124 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3125 (seekoff): Likewise.
3126 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3127 std::ios_base::openmode, bool, size_t),
3128 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3130 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3131 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3133 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3134 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3135 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3136 the put area is now BUFSIZ - 1.
3137 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3138 that now the smallest _M_buf_size is 2 (still fails, for the same
3141 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3143 * testsuite/thread/pthread4.cc: Tweak test.
3145 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3147 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3148 excess errors dg marker, use dg-errors instead.
3149 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3150 * testsuite/20_util/auto_ptr_neg.cc: Same.
3152 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3154 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3156 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3157 Initialize _M_codecvt.
3158 (basic_filebuf::imbue): Same.
3159 (basic_filebuf::showmanyc): Use it.
3160 (basic_filebuf::underflow): Use it.
3161 (basic_filebuf::_M_convert_to_external): Use it.
3162 (basic_filebuf::seekoff): Use it.
3163 (basic_filebuf::imbue): Use it, tweaks.
3164 * include/bits/localefwd.h (__check_facet): New.
3165 * include/bits/locale_classes.h: Tweaks.
3166 * include/bits/locale_facets.tcc: Tweaks.
3167 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3168 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3169 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3170 * include/bits/basic_ios.tcc: Same.
3171 * include/bits/istream.tcc: Same.
3172 * include/bits/ostream.tcc: Same.
3173 * include/std/std_streambuf.h: Same.
3174 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3175 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3176 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3177 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3178 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3179 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3181 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3183 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3184 unnecessary includes and unused string literals.
3185 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3186 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3187 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3188 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3190 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3192 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3194 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3196 * include/std/std_fstream.h (_M_convert_to_external): Change
3197 to return bool, take two less streamsize parameters.
3198 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3199 consistently definition.
3200 (_M_overflow): Adjust call points.
3202 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3204 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3206 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3208 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3209 * testsuite/Makefile.in: Regenerate.
3211 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3213 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3214 * testsuite/Makefile.in: Regenerate.
3216 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3219 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3220 (acos): Handle integer argument.
3239 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3240 (__enable_if): Likewise.
3241 * testsuite/26_numerics/cmath/overloads.C: New test.
3243 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3248 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3249 implementation, based on old wchar_t specialization, add support
3250 for codecvt::in() return value of codecvt_base::noconv, remove
3251 _M_file.sys_ungetc() call.
3252 * include/std/std_fstream.h (basic_file::underflow,
3253 basic_file::uflow, basic_file::_M_underflow): Remove
3254 specialization declarations, call _M_underflow from generic versions
3255 of underflow and uflow.
3256 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3257 basic_file::_M_underflow): Remove specializations.
3258 * src/Makefile.am (sources): Remove fstream.cc.
3259 * src/Makefile.in: Regenerated.
3260 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3261 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3262 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3263 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3265 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3267 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3269 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3271 (__basic_file::xsputn): Same.
3272 (__basic_file::seekoff): Same.
3273 (__basic_file::seekpos): Same.
3274 (__basic_file::showmanyc): Same.
3275 * config/io/basic_file_stdio.cc: Same.
3276 * include/std/std_fstream.h: Same.
3277 * include/bits/fstream.tcc: Same.
3278 * src/fstream.cc: Same.
3279 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3281 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3286 * include/ext/stdio_sync_filebuf.h: New file.
3287 (basic_stdiobuf): New.
3288 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3289 * include/Makefile.in: Regenerate.
3290 * include/bits/ios_base.h (Init::_S_create_buffers,
3291 Init::_S_destroy_buffers): Remove declarations.
3292 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3293 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3294 * src/ios.cc (Init::_S_create_buffers,
3295 Init::_S_destroy_buffers): Remove.
3296 (Init::Init): Create and use syncronized buffers.
3297 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3298 create and install unsyncronized buffers.
3299 * testsuite/27_io/objects/char/10.cc: New test.
3300 * testsuite/27_io/objects/char/9.cc: New test.
3301 * testsuite/27_io/objects/char/9661-1.cc: New test.
3302 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3303 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3304 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3305 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3306 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3307 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3308 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3309 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3310 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3311 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3312 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3313 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3314 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3315 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3316 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3317 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3318 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3319 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3320 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3321 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3322 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3323 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3324 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3325 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3326 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3327 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3328 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3329 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3330 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3331 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3332 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3333 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3334 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3335 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3336 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3337 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3338 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3339 * testsuite/ext/stdiobuf_char.cc: New test.
3340 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3342 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3344 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3345 unnecessary includes and unused string literals.
3346 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3348 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3350 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3352 2003-05-07 Richard Henderson <rth@redhat.com>
3355 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3356 (__cxa_end_catch): Likewise.
3357 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3358 _Unwind_Resume_or_Rethrow.
3359 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3360 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3361 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3362 exceptions. Don't push terminate/unexpected to cxa functions.
3363 (__cxa_call_unexpected): Remove foreign exception fixmes.
3365 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3367 * testsuite/27_io/ios_base/cons: New.
3368 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3369 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3371 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3373 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3375 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3376 there is no buffer or __testget == !__testinit.
3379 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3380 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3382 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3383 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3385 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3387 * include/std/std_sstream.h (_M_sync): Minor tweak.
3389 * include/bits/fstream.tcc (close): No need to call
3390 _M_destroy_pback, setting _M_pback_init to false suffices
3393 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3395 * include/bits/stl_algo.h: Enums as _S_.
3396 * include/bits/stl_tree.h: Same.
3397 * include/bits/stl_bvector.h: Same.
3398 * include/bits/ios_base.h: Same.
3399 * include/bits/stl_alloc.h: Same.
3400 * include/ext/stl_hashtable.h: Same.
3401 * src/ios.cc: And here.
3403 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3404 * include/bits/sstream.tcc: Same.
3406 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3408 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3410 * include/bits/locale_facets.h (__num_base): Remove protected.
3411 Use _S_[io]* names for enumerations.
3412 (_S_format_int): Remove.
3413 * include/bits/locale_facets.tcc: Same.
3414 * src/locale.cc: Same.
3416 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3418 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3420 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3421 * docs/html/faq/index.txt: Regenerated.
3423 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3424 Matt Kraai <kraai@alumni.cmu.edu>
3426 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3429 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3431 * configure.target (mips*): Use the generic atomicity.h by default.
3433 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
3434 (Inspired by an alternate patch from Danny Smith.)
3436 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
3437 (_Swap_lock_struct<>): ...and the horse it rode in on.
3438 * src/globals.cc (_Swap_lock_struct<>): Likewise.
3439 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
3440 member to support...
3441 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
3442 visibility rules related to POSIX threads.
3443 * testsuite/thread/pthread7-rope.cc: New test.
3445 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
3447 * testsuite/21_strings/basic_string/find/char/3.cc: New
3448 file, testing basic_string<char>::find_first_not_of.
3449 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
3450 Likewise for basic_string<wchar_t>.
3452 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
3454 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
3456 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
3458 * include/Makefile.am (CLEANFILES): Remove PCH files in target
3460 * include/Makefile.in: Regenerate.
3462 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
3464 * include/std/std_sstream.h (str()): Tidy.
3466 2003-05-02 Nathan Myers <ncm@cantrip.org>
3467 Paolo Carlini <pcarlini@unitus.it>
3469 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
3471 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
3473 * include/bits/basic_string.h (swap): Remove redundant template
3474 parameters from declaration of non-template member function.
3476 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
3478 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
3479 * configure.in: Move libintl.h header test...
3480 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
3481 the NLS-related test results into one symbol.
3482 * src/functexcept.cc: Use it here.
3483 * aclocal.m4, config.h.in, configure: Regenerated.
3485 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3487 * include/bits/sstream.tcc (overflow): Instead of calling
3488 str(), then _M_string.reserve, thus copying the contents
3489 of the current buffer two times, just copy the latter in
3490 a temporary, then use the 'swap trick'.
3492 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3494 * include/std/std_sstream.h (str()): Revert the best of the
3495 previous 'improvement', incorrect due to the COW nature of
3496 v3 basic_string; simplify.
3498 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3500 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
3501 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
3503 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3505 * testsuite/abi_check.cc (check_version): Update known versions.
3506 Check added symbols for version_name != base version. Add missing
3507 symbols to incompatible list.
3509 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3511 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
3512 * aclocal.m4: Regenerated.
3513 * configure: Regenerated.
3515 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3517 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
3518 Const-ify some variables.
3519 (basic_streambuf::xsputn): Likewise; change the type of some
3520 variables to size_t.
3521 (__copy_streambufs): Change some variables to size_t.
3523 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3525 * include/std/std_sstream.h (str()): Avoid constructing
3526 a basic_string temporary not only when it would turn out
3527 to be zero-sized but also when identical to the current
3530 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3532 * include/ext/stdio_filebuf.h
3533 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
3534 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
3535 Shorten a bit (-10 lines) by factoring out some code.
3537 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3539 * acinclude.m4: Add bit missing from previous patch.
3540 * aclocal.m4, configure: Regenerated.
3542 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3544 * docs/doxygen/mainpage.html: Bring up to date.
3545 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
3547 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
3548 breaks everything. Don't scan them.
3549 * docs/html/documentation.html: Point to "Write after approval"
3552 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3554 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
3555 of libc if message translations are being used. Fix info text in
3556 xieee_1003.1-2001 case.
3557 * aclocal.m4, configure: Regenerate.
3559 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
3560 Loren J. Rittle <ljrittle@acm.org>
3561 Martin v. Loewis <martin@v.loewis.de>
3563 * config/cpu/i386/atomicity.h: New file.
3565 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3567 * include/bits/fstream.tcc (open): Change to single return.
3569 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3571 * include/std/std_sstream.h (underflow): Change to single return.
3573 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3575 * include/std/std_streambuf.h (_M_buf): is currently
3576 used only for basic_filebuf, therefore move it there.
3577 (basic_streambuf(), ~basic_streambuf()): Adjust.
3578 * include/std/std_fstream.h (_M_buf): Moved here.
3579 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
3580 is actually redundant for basic_stringbuf.
3581 (_M_really_sync): Likewise.
3582 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3583 * include/bits/sstream.tcc (seekoff): Adjust.
3585 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3587 * src/localename.cc: Standardize exception strings.
3588 * src/locale.cc: Same.
3590 * include/bits/basic_string.tcc: Same.
3591 * include/bits/basic_ios.tcc: Same.
3592 * include/std/std_bitset.h: Same.
3593 * include/ext/ropeimpl.h: Same.
3594 * include/bits/stl_vector.h: Same.
3595 * include/bits/stl_deque.h: Same.
3596 * include/bits/stl_bvector.h: Same.
3597 * config/locale/generic/c_locale.cc: Same.
3598 * config/locale/gnu/c_locale.cc: Same.
3599 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
3601 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
3603 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3605 * include/std/std_streambuf.h (_M_buf_size): is currently
3606 used only for basic_filebuf, therefore move it there.
3607 (basic_streambuf(), ~basic_streambuf()): Adjust.
3608 * include/std/std_fstream.h (_M_buf_size): Moved here.
3609 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3611 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3613 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
3614 _M_buf_size (synced input is now correctly dealt with
3615 elsewhere); when the output buffer is full don't fall back
3616 to a snextc-sputc loop, call overflow instead.
3618 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3620 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
3621 the innermost 'if' by factoring out some code.
3623 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
3625 * configure.in: Test for libintl.h.
3626 * include/bits/c++config: Define __N for everybody.
3627 * include/bits/basic_string.h, include/bits/stl_bvector.h,
3628 include/bits/stl_deque.h, include/bits/stl_vector.h,
3629 include/std/std_bitset.h: Wrap all __throw* text with __N.
3630 * po/Makefile.am (pot): New rule, mostly working.
3631 * src/functexcept.cc: Call gettext on all __throw* arguments when
3632 -fexceptions is in effect.
3633 * po/Makefile.in, config.h.in, configure: Regenerate.
3635 2003-04-28 Petur Runolfsson <peturr02@ru.is>
3638 * include/bits/ios_base.h (Init::_S_ios_create,
3639 Init::_S_ios_destroy): Remove declarations.
3640 (Init::_S_create_buffers,
3641 Init::_S_destroy_buffers): Declare
3642 * src/ios.cc (Init::_S_ios_create): Remove
3643 (Init::_S_create_buffers): Create buffers and add to streams.
3644 (Init::_S_ios_destroy): Rename to...
3645 (Init::_S_destroy_buffers): this.
3646 (Init::Init): Only construct streams once.
3647 (Init::~Init): Flush streams, don't destroy them.
3648 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
3649 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
3650 * testsuite/27_io/objects/char/5.cc: New test.
3651 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
3652 * testsuite/27_io/objects/char/6.cc: New test.
3653 * testsuite/27_io/objects/char/7.cc: New test.
3655 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3657 * testsuite/27_io/objects/char/8.cc: New test.
3659 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3661 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
3662 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
3664 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3666 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
3667 _M_destroy_pback. _M_pback_create to
3668 _M_create_pback. _M_underflow_common to
3669 _M_underflow. _M_really_overflow to _M_overflow.
3670 * include/bits/fstream.tcc: Same.
3671 * src/fstream.cc: Same.
3672 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
3673 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
3674 * include/bits/streambuf.tcc: Same.
3675 * include/bits/fstream.tcc: Same.
3676 * include/bits/sstream.tcc: Same.
3678 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3680 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
3681 from fixed size array.
3682 (locale): Change _S_categories as well.
3684 * include/bits/locale_facets.tcc: Tweak.
3685 * config/locale/gnu/c_locale.cc: Assign _S_categories.
3686 * config/locale/generic/c_locale.cc: Same.
3687 * src/locale.cc: Tweak.
3688 * src/globals.cc: Change facet_name to name_vec, add names_c.
3689 * src/localename.cc: Use them.
3690 (locale::_Impl::~_Impl): Destroy _M_names.
3691 (locale::_Impl::_Impl): Create _M_names.
3693 2003-04-27 Andreas Schwab <schwab@suse.de>
3695 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3696 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
3698 2003-04-27 Nathan Myers <ncm@cantrip.org>
3700 Move some basic_string members out of line because
3701 they are too big to reasonably be inline.
3702 * include/bits/basic_string.h
3703 (assign(const basic_string&, size_type, size_type),
3704 assign(const _CharT*, size_type),
3705 insert(size_type, const basic_string&, size_type, size_type),
3706 insert(size_type, const _CharT*, size_type),
3707 replace(size_type, size_type, const _CharT*, size_type)):
3708 Move from here to...
3709 * include/bits/basic_string.tcc: ...here.
3711 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3713 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3714 the innermost 'if' by factoring out some code.
3716 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3718 * include/bits/streambuf.tcc (__copy_streambufs): Don't
3719 use in_avail(), simplify.
3721 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3723 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3724 in basic_stringbuf it's unused.
3726 * include/std/std_sstream.h (underflow): consistently use
3727 _M_in_cur, not gptr().
3729 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
3730 Phil Edwards <pme@gcc.gnu.org>
3732 * testsuite_flags.in: Guard against the possibility
3733 of having "xgcc" as a part of a folder name in the
3734 path to the GCC build folder.
3735 * testsuite/Makefile.am: Likewise.
3736 * testsuite/Makefile.in: Regenerated.
3738 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3741 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3742 exception specifications.
3743 (basic_filebuf::close): Same.
3744 (basic_filebuf::_M_pback_destroy): Same.
3745 (basic_filebuf::_M_destroy_internal_buffer): Same.
3746 (basic_filebuf): Remove __res_type typedef.
3747 * src/fstream.cc: Same.
3748 * include/bits/fstream.tcc
3749 (basic_filebuf::_M_convert_to_external): Simplify.
3750 (basic_filebuf::seekoff): Use has_facet before use_facet.
3751 (basic_filebuf::close): Add exception specification of throw().
3752 * testsuite/27_io/basic_filebuf/cons: New.
3753 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3754 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3755 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3756 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3758 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3760 * include/bits/locale_classes.h
3761 (locale::_S_extra_categories_size): Remove.
3762 * src/locale.cc: Remove _S_extra_categories_size.
3763 * src/localename.cc: Same.
3764 * config/locale/gnu/c_locale.cc: Same.
3765 * config/locale/generic/c_locale.cc: Same.
3767 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3769 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3771 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3773 * docs/html/17_intro/howto.html: Update some links.
3774 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3775 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3776 * docs/html/ext/howto.html: Link to demangler notes and API.
3777 * docs/html/faq/index.html: Remove trailing whitespace.
3778 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3779 (5.6): Change to a bulleted list.
3781 * docs/html/faq/index.txt, docs/html/documentation.html,
3782 docs/html/17_intro/porting.html: Regenerate.
3784 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3786 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3787 belongs to basic_filebuf.
3788 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3789 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3790 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3791 instantiation (now belongs to basic_filebuf).
3792 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3793 * testsuite/27_io/basic_istream/3.cc: Likewise.
3794 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3795 _S_pback_size now belongs to basic_filebuf.
3796 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3797 instantiation (now belongs to basic_filebuf).
3798 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3799 belongs to basic_filebuf.
3800 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3801 instantiation (now belongs to basic_filebuf).
3802 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3803 _S_pback_size now belongs to basic_filebuf.
3804 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3805 instantiation (now belongs to basic_filebuf).
3806 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3808 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3809 instantiation (now belongs to basic_filebuf).
3810 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3812 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3814 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3815 * configure: Regenerated.
3817 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3819 * config/locale/generic/c_locale.h (__convert_from_v): Use
3822 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3824 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3825 implementation only.
3826 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3827 Comment and change to comply with DR 60 and the effect on gcount().
3828 * include/std/std_istream.h: Update comments.
3829 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3830 comments about reasons for tests. Test sync() against gcount().
3831 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3832 for effect on gcount().
3833 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3834 for effect on gcount().
3836 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3838 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3841 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3843 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3844 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3845 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3846 (basic_streambuf::basic_streambuf()): Adjust.
3847 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3848 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3849 _M_pback_create(), _M_pback_destroy()): Moved here
3850 from basic_streambuf.
3851 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3853 (basic_filebuf::_S_pback_size): Add declaration.
3854 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3857 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3859 Consistently use _M_in_beg instead of eback(), _M_in_cur
3860 instead of gptr(), and so on.
3861 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3862 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3863 * include/bits/streambuf.tcc (sbumpc, sputbackc,
3864 __copy_streambufs): Ditto.
3865 * include/std/std_streambuf.h (sgetc): Ditto.
3867 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3869 * include/bits/sstream.tcc (pbackfail, overflow):
3872 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3874 * include/std/std_streambuf.h (uflow()): It's used only by
3875 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3876 therefore do not consider the _M_buf_unified == true case.
3878 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3880 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3882 * docs/html/ext/howto.html ('LWG Issues'):
3883 Add issues 19, 90, 171, 231, 271.
3885 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3887 * include/bits/sstream.tcc (pbackfail): Remove redundant
3888 NULL pointer check from test involving _M_in_*.
3889 (overflow, seekoff, seekpos): Const qualify bool variables.
3890 * include/std/std_sstream.h (underflow): Remove redundant
3891 NULL pointer check from test involving _M_in_*.
3892 (_M_really_sync): Const qualify bool variables.
3893 * src/fstream.cc (_M_underflow_common): Remove redundant
3894 NULL pointer check from test involving _M_in_*, const qualify
3897 * include/std/std_streambuf.h (sgetc): Remove redundant
3900 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
3902 According to 5.9 para 2 (second bullet) for pointers p, q
3903 pointing to the same type, with p == 0 and q == 0, (p < q)
3905 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3906 seekoff): Remove redundant NULL pointer checks from tests
3907 involving _M_out_* and _M_in_*, const qualify bool variables.
3908 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3909 qualify bool variables.
3910 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3911 Remove redundant NULL pointer checks from tests involving
3912 _M_out_* and _M_in_*, const qualify bool variables.
3913 * include/std/std_fstream.h (sync): Likewise.
3914 (_M_is_indeterminate): Const qualify bool variables.
3915 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3916 NULL pointer checks from tests involving _M_out_* and _M_in_*,
3917 const qualify bool variables.
3918 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3921 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
3923 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3924 C99 FP macros, if actually captured.
3926 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3927 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3928 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3929 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3930 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3932 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3933 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3934 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3935 * include/c_std/std_cstdlib.h: Use new macros.
3936 * include/c_std/std_cstdio.h: Use new macros.
3937 * include/c_std/std_cwchar.h: Use new macros.
3939 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
3942 * include/bits/ostream.tcc: Catch all exceptions for formatted
3943 output, instead of std::exception and derivatives.
3944 * include/bits/istream.tcc: Same.
3945 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3946 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3947 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3948 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3949 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3950 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3953 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
3955 * include/bits/c++config: Minor cosmetic tweaks.
3957 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
3959 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3960 * include/Makefile.am (pch_input): Find in ${target_builddir}.
3961 (pch_output): Rename to...
3962 (pch_output_builddir): ..this. Find in ${target_builddir}.
3963 (pch_source): Tweak.
3964 (pch_build): Key off a built file.
3965 (pch_output rule): Rename to...
3966 (pch_input rule): ...this. Produce ${pch_output_builddir}
3967 instead of ${pch_output}.
3968 (install-pch rule): Install ${pch_output_builddir}.
3969 * include/Makefile.in: Regenerated.
3971 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
3973 * include/std/std_streambuf.h (setp): _M_out_lim, being
3974 the end limit of used put area, is set equal to _M_out_beg.
3976 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
3978 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3979 * aclocal.m4: Regenerated.
3980 * configure.in: Remove old demangler bits.
3982 * configure: Regenerate.
3983 * config.h.in: Regenerate.
3984 * include/Makefile.am (allstamps): Now allstamped.
3985 (allcreated): Define this.
3986 (all-local): Use 'em.
3987 Conditionally define pch_build, pch_install based on
3989 (${pch_output}): New rule.
3990 (install-pch): New rule.
3991 (install-headers): New rule.
3992 (install-data-local): Install headers and conditionally pch.
3993 * include/Makefile.in: Regenerate.
3994 * testsuite_flags.in (--build-cxx): Use pch file.
3996 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
3998 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
4000 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
4001 Paolo Carlini <pcarlini at unitus dot it>
4004 * docs/html/27_io/howto.html
4005 ('The buffering is screwing up my program!'): Explain that
4006 opening counts as an I/O operation.
4008 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
4010 * testsuite/thread/pthread1.cc: Enable for darwin test.
4011 * testsuite/thread/pthread2.cc: Same.
4012 * testsuite/thread/pthread3.cc: Same.
4013 * testsuite/thread/pthread4.cc: Same.
4014 * testsuite/thread/pthread5.cc: Same.
4015 * testsuite/thread/pthread6.cc: Same.
4017 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
4020 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
4021 Populate it with multiple legal ways to obtain the C99 float
4022 transcendentals. Use them instead of direct global reference.
4023 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
4024 * docs/html/17_intro/porting.texi
4025 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4026 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4027 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
4028 * config/os/bsd/freebsd/os_defines.h
4029 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4030 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4031 * testsuite/26_numerics/c_math_dynamic.cc: New file.
4033 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4034 Benjamin Kosnik <bkoz@redhat.com>
4036 * config/os/generic/ctype_inline.h: Fix.
4038 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
4040 * testsuite/testsuite_hooks.h
4041 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
4042 Change to try_named_locale.
4043 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
4045 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
4047 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4048 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4049 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
4050 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
4051 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
4052 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
4053 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
4054 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
4055 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
4056 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
4057 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
4058 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
4059 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
4060 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
4061 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
4062 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4063 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4064 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4065 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
4066 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
4067 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
4068 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
4069 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
4070 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
4071 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
4072 * testsuite/22_locale/collate/compare/char/1.cc: Same.
4073 * testsuite/22_locale/collate/compare/char/2.cc: Same.
4074 * testsuite/22_locale/collate/compare/char/3.cc: Same.
4075 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
4076 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
4077 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
4078 * testsuite/22_locale/collate/hash/char/2.cc: Same.
4079 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
4080 * testsuite/22_locale/collate/transform/char/2.cc: Same.
4081 * testsuite/22_locale/collate/transform/char/3.cc: Same.
4082 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
4083 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
4084 * testsuite/22_locale/collate_byname/1.cc: Same.
4085 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4086 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4087 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
4088 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
4089 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
4090 * testsuite/22_locale/facet/2.cc: Same.
4091 * testsuite/22_locale/locale/cons/2.cc: Same.
4092 * testsuite/22_locale/locale/cons/4.cc: Same.
4093 * testsuite/22_locale/locale/cons/5.cc: Same.
4094 * testsuite/22_locale/locale/cons/7.cc: Same.
4095 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
4096 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
4097 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
4098 * testsuite/22_locale/messages/members/char/1.cc: Same.
4099 * testsuite/22_locale/messages/members/char/2.cc: Same.
4100 * testsuite/22_locale/messages/members/char/3.cc: Same.
4101 * testsuite/22_locale/messages_byname/1.cc: Same.
4102 * testsuite/22_locale/money_get/get/char/1.cc: Same.
4103 * testsuite/22_locale/money_get/get/char/2.cc: Same.
4104 * testsuite/22_locale/money_get/get/char/3.cc: Same.
4105 * testsuite/22_locale/money_get/get/char/4.cc: Same.
4106 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
4107 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
4108 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
4109 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
4110 * testsuite/22_locale/money_put/put/char/1.cc: Same.
4111 * testsuite/22_locale/money_put/put/char/2.cc: Same.
4112 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4113 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4114 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4115 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4116 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4117 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4118 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4119 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4120 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4121 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4122 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4123 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4124 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4125 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4126 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4127 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4128 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4129 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4130 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4131 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4132 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4133 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4134 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4135 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4136 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4137 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4138 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4139 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4140 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4141 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4142 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4143 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4144 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4145 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4146 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4147 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4148 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4149 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4150 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4151 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4152 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4153 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4154 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4155 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4156 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4157 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4158 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4159 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4160 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4161 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4162 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4163 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4164 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4165 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4166 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4167 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4168 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4169 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4170 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4171 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4172 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4173 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4174 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4175 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4176 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4177 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4178 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4179 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4180 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4181 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4182 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4183 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4185 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4187 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4188 solaris includes, not generic.
4190 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4192 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4194 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4195 * include/bits/concept_check.h: Fix multi-line comment.
4196 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4197 when target is *-*-freebsd*.
4199 2003-04-14 Nathan Myers <ncm@cantrip.org>
4200 Paolo Carlini <pcarlini@unitus.it>
4202 PR libstdc++/9701 (in_avail())
4203 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4204 doesn't care if there is anything in some putback cell.
4205 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4207 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4208 unused string literals.
4210 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4212 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4213 _M_out_end, _M_set_indeterminate() does it.
4215 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4217 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4219 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4221 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4222 Change basic_streambuf instantiation to "unsigned char".
4223 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4225 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4227 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4228 * include/bits/fstream.tcc
4229 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4230 references to _M_buf_size_opt.
4231 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4232 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4233 __bufsize to __in_avail and __size_opt to __buf_size.
4234 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4235 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4236 * include/std/std_streambuf.h (~basic_streambuf(),
4237 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4238 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4239 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4240 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4241 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4242 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4243 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4244 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4245 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4246 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4247 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4248 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4249 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4251 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4253 * include/ext/stdio_filebuf.h
4254 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4255 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4256 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4257 since a stack-based buffer is used for small values of the size_t
4259 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4260 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4261 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4263 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4266 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4267 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4269 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4271 * testsuite/22_locale/locale/cons/3.cc: Split.
4272 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4273 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4274 Check before trying to create a locale from the environment.
4275 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4276 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4279 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4281 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4282 locale to construct this hybrid locale, not the global locale.
4284 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4286 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4287 instantiation for AIX.
4288 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4289 * testsuite/25_algorithms/min_max.cc: Same.
4291 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4293 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4294 twice. Always set _M_cfile to 0 when stream was open.
4296 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4298 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4299 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4300 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4301 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4302 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4303 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4304 ifstream_members.cc, instantiations.cc, ios.cc,
4305 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4306 ios_base_members_static.cc, ios_base_storage.cc,
4307 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4308 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4309 iostream.cc, iostream_members.cc, istream.cc,
4310 istream_exception.cc, istream_extractor_char.cc,
4311 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4312 istream_extractor_other-2.tst, istream_extractor_other.cc,
4313 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4314 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4315 istream_sentry.cc, istream_unformatted-1.tst,
4316 istream_unformatted-1.txt, istream_unformatted.cc,
4317 istringstream.cc, istringstream_members.cc,
4318 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4319 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4320 ostream_fail.cc, ostream_inserter_arith.cc,
4321 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4322 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4323 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4324 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4325 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4326 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4327 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4328 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4329 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4330 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4331 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4332 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4333 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4334 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4336 * 27_io/basic_filebuf/1.cc: New.
4337 * 27_io/basic_filebuf/2.cc: New.
4338 * 27_io/basic_filebuf/3.cc: New.
4339 * 27_io/basic_filebuf/4.cc: New.
4340 * 27_io/basic_filebuf/close/char/1.cc: New.
4341 * 27_io/basic_filebuf/close/char/2.cc: New.
4342 * 27_io/basic_filebuf/close/char/3.cc: New.
4343 * 27_io/basic_filebuf/close/char/4879.cc: New.
4344 * 27_io/basic_filebuf/close/char/9964.cc: New.
4345 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4346 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4347 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4348 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4349 * 27_io/basic_filebuf/open/char/1.cc: New.
4350 * 27_io/basic_filebuf/open/char/2.cc: New.
4351 * 27_io/basic_filebuf/open/char/3.cc: New.
4352 * 27_io/basic_filebuf/open/char/9507.cc: New.
4353 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4354 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4355 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4356 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4357 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4358 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4359 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4360 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4361 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4362 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4363 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4364 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4365 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4366 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4367 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4368 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4369 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4370 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4371 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4372 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4373 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4374 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4375 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4376 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4377 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4378 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4379 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4380 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4381 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4382 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4383 * 27_io/basic_fstream/1.cc: New.
4384 * 27_io/basic_fstream/2.cc: New.
4385 * 27_io/basic_fstream/3.cc: New.
4386 * 27_io/basic_fstream/4.cc: New.
4387 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4388 * 27_io/basic_ifstream/1.cc: New.
4389 * 27_io/basic_ifstream/2.cc: New.
4390 * 27_io/basic_ifstream/3.cc: New.
4391 * 27_io/basic_ifstream/4.cc: New.
4392 * 27_io/basic_ifstream/cons/char/1.cc: New.
4393 * 27_io/basic_ifstream/open/char/1.cc: New.
4394 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4395 * 27_io/basic_ios/1.cc: New.
4396 * 27_io/basic_ios/2.cc: New.
4397 * 27_io/basic_ios/3.cc: New.
4398 * 27_io/basic_ios/4.cc: New.
4399 * 27_io/basic_ios/clear/char/1.cc: New.
4400 * 27_io/basic_ios/cons/char/1.cc: New.
4401 * 27_io/basic_ios/cons/char/2.cc: New.
4402 * 27_io/basic_ios/cons/char/3.cc: New.
4403 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4404 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4405 * 27_io/basic_ios/exceptions/char/1.cc: New.
4406 * 27_io/basic_ios/locales/char/1.cc: New.
4407 * 27_io/basic_iostream/1.cc: New.
4408 * 27_io/basic_iostream/2.cc: New.
4409 * 27_io/basic_iostream/3.cc: New.
4410 * 27_io/basic_iostream/4.cc: New.
4411 * 27_io/basic_istream/1.cc: New.
4412 * 27_io/basic_istream/2.cc: New.
4413 * 27_io/basic_istream/3.cc: New.
4414 * 27_io/basic_istream/4.cc: New.
4415 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4416 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4417 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4418 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4419 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4420 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4421 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4422 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4423 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4424 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4425 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4426 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4427 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4428 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4429 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4430 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4431 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4432 * 27_io/basic_istream/extractors_other/char/2.cc: New.
4433 * 27_io/basic_istream/extractors_other/char/3.cc: New.
4434 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
4435 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
4436 * 27_io/basic_istream/get/char/1.cc: New.
4437 * 27_io/basic_istream/get/char/2.cc: New.
4438 * 27_io/basic_istream/getline/char/1.cc: New.
4439 * 27_io/basic_istream/getline/char/2.cc: New.
4440 * 27_io/basic_istream/getline/char/3.cc: New.
4441 * 27_io/basic_istream/ignore/char/1.cc: New.
4442 * 27_io/basic_istream/ignore/char/6360.cc: New.
4443 * 27_io/basic_istream/ignore/char/7220.cc: New.
4444 * 27_io/basic_istream/peek/char/1.cc: New.
4445 * 27_io/basic_istream/peek/char/6414.cc: New.
4446 * 27_io/basic_istream/putback/char/1.cc: New.
4447 * 27_io/basic_istream/read/char/1.cc: New.
4448 * 27_io/basic_istream/read/char/2.cc: New.
4449 * 27_io/basic_istream/read/char/3.cc: New.
4450 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
4451 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
4452 * 27_io/basic_istream/readsome/char/8258.cc: New.
4453 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
4454 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
4455 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
4456 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
4457 * 27_io/basic_istream/seekg/char/fstream.cc: New.
4458 * 27_io/basic_istream/seekg/char/sstream.cc: New.
4459 * 27_io/basic_istream/sentry/char/1.cc: New.
4460 * 27_io/basic_istream/sentry/char/2.cc: New.
4461 * 27_io/basic_istream/sentry/char/3.cc: New.
4462 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
4463 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
4464 * 27_io/basic_istream/tellg/char/1.cc: New.
4465 * 27_io/basic_istream/tellg/char/8348.cc: New.
4466 * 27_io/basic_istream/tellg/char/fstream.cc: New.
4467 * 27_io/basic_istream/tellg/char/sstream.cc: New.
4468 * 27_io/basic_istream/ws/char/1.cc: New.
4469 * 27_io/basic_istringstream/1.cc: New.
4470 * 27_io/basic_istringstream/2.cc: New.
4471 * 27_io/basic_istringstream/3.cc: New.
4472 * 27_io/basic_istringstream/4.cc: New.
4473 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
4474 * 27_io/basic_istringstream/str/char/1.cc: New.
4475 * 27_io/basic_ofstream/1.cc: New.
4476 * 27_io/basic_ofstream/2.cc: New.
4477 * 27_io/basic_ofstream/3.cc: New.
4478 * 27_io/basic_ofstream/4.cc: New.
4479 * 27_io/basic_ofstream/cons/char/2.cc: New.
4480 * 27_io/basic_ofstream/open/char/1.cc: New.
4481 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
4482 * 27_io/basic_ostream/1.cc: New.
4483 * 27_io/basic_ostream/2.cc: New.
4484 * 27_io/basic_ostream/3.cc: New.
4485 * 27_io/basic_ostream/4.cc: New.
4486 * 27_io/basic_ostream/cons/char/9827.cc: New.
4487 * 27_io/basic_ostream/endl/char/1.cc: New.
4488 * 27_io/basic_ostream/ends/char/1.cc: New.
4489 * 27_io/basic_ostream/ends/char/2.cc: New.
4490 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
4491 * 27_io/basic_ostream/flush/char/1.cc: New.
4492 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
4493 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
4494 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
4495 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
4496 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
4497 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
4498 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
4499 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
4500 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
4501 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
4502 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
4503 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
4504 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
4505 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
4506 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
4507 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
4508 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
4509 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
4510 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
4511 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
4512 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
4513 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
4514 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
4515 * 27_io/basic_ostream/sentry/char/1.cc: New.
4516 * 27_io/basic_ostream/sentry/char/2.cc: New.
4517 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
4518 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
4519 * 27_io/basic_ostream/tellp/char/1.cc: New.
4520 * 27_io/basic_ostream/tellp/char/2.cc: New.
4521 * 27_io/basic_ostringstream/1.cc: New.
4522 * 27_io/basic_ostringstream/2.cc: New.
4523 * 27_io/basic_ostringstream/3.cc: New.
4524 * 27_io/basic_ostringstream/4.cc: New.
4525 * 27_io/basic_ostringstream/cons/char/3.cc: New.
4526 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
4527 * 27_io/basic_ostringstream/str/char/1.cc: New.
4528 * 27_io/basic_ostringstream/str/char/2.cc: New.
4529 * 27_io/basic_streambuf/1.cc: New.
4530 * 27_io/basic_streambuf/2.cc: New.
4531 * 27_io/basic_streambuf/3.cc: New.
4532 * 27_io/basic_streambuf/cons/char/1.cc: New.
4533 * 27_io/basic_streambuf/imbue/char/1.cc: New.
4534 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
4535 * 27_io/basic_streambuf/overflow/char/1.cc: New.
4536 * 27_io/basic_streambuf/overflow/char/2.cc: New.
4537 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
4538 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
4539 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
4540 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
4541 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
4542 * 27_io/basic_streambuf/sputn/char/1.cc: New.
4543 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
4544 * 27_io/basic_streambuf/sync/char/1057.cc: New.
4545 * 27_io/basic_stringbuf/1.cc: New.
4546 * 27_io/basic_stringbuf/2.cc: New.
4547 * 27_io/basic_stringbuf/3.cc: New.
4548 * 27_io/basic_stringbuf/4.cc: New.
4549 * 27_io/basic_stringbuf/5.cc: New.
4550 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
4551 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
4552 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
4553 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
4554 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
4555 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
4556 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
4557 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
4558 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
4559 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
4560 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
4561 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
4562 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
4563 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
4564 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
4565 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
4566 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
4567 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
4568 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
4569 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
4570 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
4571 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
4572 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
4573 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
4574 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
4575 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
4576 * 27_io/basic_stringbuf/str/char/1.cc: New.
4577 * 27_io/basic_stringbuf/str/char/2.cc: New.
4578 * 27_io/basic_stringbuf/str/char/3.cc: New.
4579 * 27_io/basic_stringbuf/str/char/3955.cc: New.
4580 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
4581 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
4582 * 27_io/basic_stringstream/1.cc: New.
4583 * 27_io/basic_stringstream/2.cc: New.
4584 * 27_io/basic_stringstream/3.cc: New.
4585 * 27_io/basic_stringstream/4.cc: New.
4586 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
4587 * 27_io/basic_stringstream/str/char/1.cc: New.
4588 * 27_io/basic_stringstream/str/char/2.cc: New.
4589 * 27_io/basic_stringstream/str/char/3.cc: New.
4590 * 27_io/basic_stringstream/str/char/4.cc: New.
4591 * 27_io/fpos/1.cc: New.
4592 * 27_io/fpos/2.cc: New.
4593 * 27_io/fpos/3.cc: New.
4594 * 27_io/ios_base/callbacks/1.cc: New.
4595 * 27_io/ios_base/state/1.cc: New.
4596 * 27_io/ios_base/storage/1.cc: New.
4597 * 27_io/ios_base/storage/2.cc: New.
4598 * 27_io/ios_base/storage/3.cc: New.
4599 * 27_io/ios_base/sync_with_stdio/1.cc: New.
4600 * 27_io/ios_base/sync_with_stdio/2.cc: New.
4601 * 27_io/manipulators/adjustfield/char/1.cc: New.
4602 * 27_io/manipulators/adjustfield/char/2.cc: New.
4603 * 27_io/manipulators/basefield/char/1.cc: New.
4604 * 27_io/manipulators/standard/char/1.cc: New.
4605 * 27_io/manipulators/standard/char/2.cc: New.
4606 * 27_io/objects/char/1.cc: New.
4607 * 27_io/objects/char/2.cc: New.
4608 * 27_io/objects/char/2523-1_xin.cc: New.
4609 * 27_io/objects/char/2523-1_xin.in: New.
4610 * 27_io/objects/char/2523-2_xin.cc: New.
4611 * 27_io/objects/char/2523-2_xin.in: New.
4612 * 27_io/objects/char/3045.cc: New.
4613 * 27_io/objects/char/3647.cc: New.
4614 * 27_io/objects/char/3_xin.cc: New.
4615 * 27_io/objects/char/3_xin.in: New.
4616 * 27_io/objects/char/4_xin.cc: New.
4617 * 27_io/objects/char/4_xin.in: New.
4618 * 27_io/objects/char/5268.cc: New.
4619 * 27_io/objects/char/5280_xin.cc: New.
4620 * 27_io/objects/char/5280_xin.in: New.
4621 * 27_io/objects/char/6548_xin.cc: New.
4622 * 27_io/objects/char/6548_xin.in: New.
4623 * 27_io/objects/char/6648-1_xin.cc: New.
4624 * 27_io/objects/char/6648-1_xin.in: New.
4625 * 27_io/objects/char/6648-2_xin.cc: New.
4626 * 27_io/objects/char/6648-2_xin.in: New.
4627 * 27_io/objects/char/7744_xin.cc: New.
4628 * 27_io/objects/char/7744_xin.in: New.
4629 * 27_io/objects/wchar_t/1.cc: New.
4630 * 27_io/types/1.cc: New.
4631 * 27_io/types/2.cc: New.
4632 * data/filebuf_members-1.tst: New.
4633 * data/filebuf_members-1.txt: New.
4634 * data/filebuf_virtuals-1.tst: New.
4635 * data/filebuf_virtuals-1.txt: New.
4636 * data/filebuf_virtuals-2.tst: New.
4637 * data/filebuf_virtuals-3.tst: New.
4638 * data/ifstream_members-1.tst: New.
4639 * data/ifstream_members-1.txt: New.
4640 * data/ios_base_members_static-1.tst: New.
4641 * data/istream_extractor_other-1.tst: New.
4642 * data/istream_extractor_other-1.txt: New.
4643 * data/istream_extractor_other-2.tst: New.
4644 * data/istream_seeks-1.tst: New.
4645 * data/istream_seeks-1.txt: New.
4646 * data/istream_seeks-2.tst: New.
4647 * data/istream_seeks-3.tst: New.
4648 * data/istream_unformatted-1.tst: New.
4649 * data/istream_unformatted-1.txt: New.
4650 * data/ofstream_members-1.tst: New.
4651 * data/ostream_inserter_char-1.tst: New.
4652 * data/ostream_inserter_char-1.txt: New.
4653 * data/ostream_inserter_other-1.tst: New.
4654 * data/ostream_inserter_other-2.tst: New.
4655 * data/ostream_seeks-1.tst: New.
4657 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4659 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
4660 requirement that __mode must be strict input or output.
4662 * include/std/std_streambuf.h (basic_streambuf::setp): Set
4665 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
4666 output string shouldn't core.
4667 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
4669 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
4671 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
4674 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4676 * testsuite/data: New directory.
4677 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4678 to copy files from the testsuite data directory.
4679 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
4680 testfiles containing _xin, which now means this is an interactive
4681 test and should be run with the interactive dejagnu hooks.
4682 * testsuite/Makefile.am: Remove testsuite_* files.
4683 * testsuite/Makefile.in: Regenerate.
4685 2003-04-09 Zack Weinberg <zack@codesourcery.com>
4687 * docs/html/install.html: Document complete list of locales
4688 required by test suite. Document procedure for installing
4689 said locales under Debian. Solicit instructions for other
4692 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
4694 * include/bits/sstream.tcc (overflow): Make sure operands of min
4695 and max have the same type.
4697 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
4700 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
4703 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
4705 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
4706 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4707 Don't set _M_out_end.
4708 (basic_filebuf::overflow): Replace _M_out_buf_size() with
4709 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4710 * include/bits/sstream.tcc (basic_stringbuf::overflow):
4711 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4712 * include/bits/streambuf.tcc (basic_streambuf::sputc):
4713 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4714 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4715 _M_out_end - _M_out_cur.
4716 (__copy_streambufs): Likewise.
4717 * include/std/std_fstream.h (_M_set_determinate): Set
4720 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
4722 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4723 _M_convert_to_external, _M_really_overflow, seekoff): Fix
4724 test for synced buffer.
4725 * include/std/std_fstream.h (sync): Likewise.
4726 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4727 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4729 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
4731 * include/std/std_sstream.h (basic_istringstream): Adjust
4733 (basic_ostringstream): Same.
4734 (basic_stringstream): Same.
4735 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4736 (basic_ofstream): Same.
4737 (basic_fstream): Same.
4738 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4739 that does not call init.
4740 * include/std/std_istream.h (basic_istream): Same.
4741 (basic_iostream): Construct istream, ostream uninitialized, use
4742 init to initialize just once. Add protected ctor that does not
4745 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
4746 Nathan Myers <ncm@cantrip.org>
4749 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4751 (basic_filebuf<>::showmanyc): Use the information provided
4752 by codecvt and __basic_file<>::showmanyc_helper to implement
4753 a non-trivial showmanyc.
4754 * config/io/basic_file_stdio.h
4755 (__basic_file<>::showmanyc_helper): New, declare.
4756 * config/io/basic_file_stdio.cc
4757 (__basic_file<>::showmanyc_helper): Define.
4758 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4759 (__basic_file<char>::open): Don't call fcntl().
4760 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4761 GLIBCPP_CHECK_POLL): New macros.
4762 * configure.in: Call here.
4763 * acconfig.h: Add #undefs for the corresponding symbols.
4764 * aclocal.m4: Regenerate.
4765 * configure: Regenerate.
4766 * config.h.in: Regenerate.
4768 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
4770 * config/linker-map.gnu: Remove string export restrictions.
4772 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
4774 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4775 find_first_of, find_last_of and find_last_not_of tests.
4776 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4777 tests here, new file.
4778 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4779 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4780 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4781 wchar_t find_first_of tests here, new file.
4782 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4784 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4786 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4787 wchar_t find_last_of tests here.
4788 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4789 wchar_t find_last_not_of tests here.
4791 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
4793 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4794 Correct return value.
4796 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
4799 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4800 * include/std/std_complex.h (norm): Use faster,
4801 less accurate computation for builtin float types under --fast-math.
4803 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
4805 * testsuite/testsuite_hooks.h: Fix warning nits.
4807 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
4809 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4810 Only .set mips2 for the o32 ABI.
4812 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
4814 * testsuite/21_strings/char_traits/requirements/char/1.cc:
4815 Test char not wchar_t.
4817 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4819 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4820 Correct size, taking into account sizeof(wchar_t).
4822 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4824 Reshuffle 21_strings testsuite.
4825 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4826 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4827 element_access.cc, operations.cc, char_traits_requirements.cc,
4828 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4829 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4830 wchar_t tests as follows.
4831 * 21_strings/basic_string/append/char/1.cc: New.
4832 * 21_strings/basic_string/append/wchar_t/1.cc: New.
4833 * 21_strings/basic_string/assign/char/1.cc: New.
4834 * 21_strings/basic_string/assign/char/2.cc: New.
4835 * 21_strings/basic_string/assign/char/3.cc: New.
4836 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4837 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4838 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4839 * 21_strings/basic_string/capacity/1.cc: New.
4840 * 21_strings/basic_string/capacity/char/1.cc: New.
4841 * 21_strings/basic_string/capacity/char/2.cc: New.
4842 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4843 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4844 * 21_strings/basic_string/compare/char/1.cc: New.
4845 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4846 * 21_strings/basic_string/cons/char/1.cc: New.
4847 * 21_strings/basic_string/cons/char/2.cc: New.
4848 * 21_strings/basic_string/cons/char/3.cc: New.
4849 * 21_strings/basic_string/cons/char/4.cc: New.
4850 * 21_strings/basic_string/cons/char/5.cc: New.
4851 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4852 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4853 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4854 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4855 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4856 * 21_strings/basic_string/element_access/char/1.cc: New.
4857 * 21_strings/basic_string/element_access/char/2.cc: New.
4858 * 21_strings/basic_string/element_access/char/3.cc: New.
4859 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4860 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4861 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4862 * 21_strings/basic_string/find/char/1.cc: New.
4863 * 21_strings/basic_string/find/wchar_t/1.cc: New.
4864 * 21_strings/basic_string/insert/char/1.cc: New.
4865 * 21_strings/basic_string/insert/char/2.cc: New.
4866 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
4867 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
4868 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
4869 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
4870 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
4871 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
4872 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
4873 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
4874 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
4875 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
4876 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
4877 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
4878 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
4879 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
4880 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
4881 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
4882 * 21_strings/basic_string/operators/char/1.cc: New.
4883 * 21_strings/basic_string/operators/char/2.cc: New.
4884 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
4885 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
4886 * 21_strings/basic_string/replace/char/1.cc: New.
4887 * 21_strings/basic_string/replace/char/2.cc: New.
4888 * 21_strings/basic_string/replace/char/3.cc: New.
4889 * 21_strings/basic_string/replace/char/4.cc: New.
4890 * 21_strings/basic_string/replace/char/5.cc: New.
4891 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
4892 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
4893 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
4894 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
4895 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
4896 * 21_strings/basic_string/rfind/char/1.cc: New.
4897 * 21_strings/basic_string/rfind/char/2.cc: New.
4898 * 21_strings/basic_string/rfind/char/3.cc: New.
4899 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
4900 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
4901 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
4902 * 21_strings/basic_string/substr/char/1.cc: New.
4903 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
4904 * 21_strings/c_strings/char/1.cc: New.
4905 * 21_strings/c_strings/char/2.cc: New.
4906 * 21_strings/c_strings/wchar_t/1.cc: New.
4907 * 21_strings/c_strings/wchar_t/2.cc: New.
4908 * 21_strings/char_traits/requirements/char/1.cc: New.
4909 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
4910 * 21_strings/char_traits/typedefs/char/1.cc: New.
4912 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
4913 Petur Runolfsson <peturr02@ru.is>
4916 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4917 basic_filebuf<wchar_t>::_M_underflow_common):
4918 if (gptr() < egptr()) return *gptr().
4919 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
4921 * testsuite/27_io/filebuf_members.cc (test_04): Minor
4922 changes: unlink fifo before making it, fix spelling error.
4924 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
4926 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4927 * testsuite/Makefile.in: Regenerate.
4928 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
4931 2003-03-17 Petur Runolfsson <peturr02@ru.is>
4934 * include/bits/fstream.tcc (basic_filebuf::close):
4935 Always close file, even when write fails.
4936 * testsuite/27_io/filebuf_members.cc (test_07): New test.
4938 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
4940 * libsupc++/Makefile.am (C_COMPILE): Remove.
4941 (LTCOMPILE): Likewise.
4942 * libsupc++/Makefile.in: Regenerate.
4944 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4946 * testsuite/23_containers/bitset_members.cc: Add test variable.
4947 * testsuite/23_containers/map_insert.cc: Same.
4948 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
4949 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
4950 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4951 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4952 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4953 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
4954 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
4955 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4956 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4957 * testsuite/27_io/istream_exception.cc: Same.
4958 * testsuite/27_io/filebuf_virtuals.cc: Same.
4959 * testsuite/27_io/stringbuf_virtuals.cc: Same.
4960 * testsuite/27_io/ostream_inserter_arith.cc: Same.
4961 * testsuite/26_numerics/valarray_operators.cc: Same.
4962 * testsuite/26_numerics/slice.cc: Same.
4963 * testsuite/26_numerics/slice_array_assignment.cc: Same.
4964 * testsuite/24_iterators/istream_iterator.cc: Same.
4965 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
4967 2003-03-14 Petur Runolfsson <peturr02@ru.is>
4971 * config/locale/generic/ctype_members.cc,
4972 * config/locale/gnu/ctype_members.cc
4973 (ctype<wchar_t>::do_widen(char)): Cast argument to
4974 unsigned char before passing to btowc.
4975 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
4976 Convert characters with btowc instead of mbsrtowcs.
4977 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
4979 Convert characters with wctob instead of wcsrtombs.
4980 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
4981 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
4982 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
4984 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4986 * include/stdc++.h: New.
4987 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
4988 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
4989 * include/Makefile.in: Regenerate.
4990 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
4991 (--cxxflags): Put -g -O2 here.
4992 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
4994 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
4996 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
4997 missing named locale.
4999 2003-03-14 Andreas Schwab <schwab@suse.de>
5001 * configure.in: Only append to makefiles that are newly created to
5002 avoid multiple multi-do/multi-clean rules.
5003 * configure: Rebuilt.
5005 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
5007 * docs/html/configopts.html, docs/html/documentation.html,
5008 docs/html/explanations.html, docs/html/install.html,
5009 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
5010 invalid XHTML and make page header style consistent.
5012 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
5014 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
5015 * docs/html/faq/index.txt: Regenerate.
5016 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
5018 2003-03-12 Andreas Schwab <schwab@suse.de>
5020 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
5021 glibcpp_toolexeclibdir.
5022 * aclocal.m4, configure: Rebuilt.
5024 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
5026 * docs/html/faq/index.html: Update text about location of headers.
5027 * docs/html/faq/index.txt: Regenerate.
5029 2003-03-11 Carlo Wood <carlo@alinoe.com>
5031 * include/bits/demangle.h: Prepend accessors of
5032 class qualifier with 'get_' in order to fix warnings
5033 when compiling with -Wshadow.
5035 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
5037 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
5039 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
5041 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
5042 report lack of setenv().
5044 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5046 * config/io/basic_file_stdio.cc: include <unistd.h>.
5048 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5049 Nathan Myers <ncm@cantrip.org>
5052 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
5053 seekoff, seekpos): Add a boolean parameter __stdio.
5054 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
5055 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
5056 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
5058 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
5059 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
5060 * include/std/std_fstream.h (sync): Likewise.
5061 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
5062 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
5063 libstdc++/8399 commit involving isatty(0).
5064 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
5065 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
5066 * configure.in: Remove call.
5067 * aclocal.m4: Regenerate.
5068 * config.h.in: Regenerate.
5069 * configure: Regenerate.
5070 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
5072 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5075 * include/bits/fstream.tcc (overflow): don't write EOF to file.
5076 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
5078 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5081 * include/bits/basic_ios.h (_M_setstate): New.
5082 * include/bits/ostream.tcc (operator<<): Use it.
5083 * include/bits/istream.tcc (operator>>): Use it.
5084 * include/std/std_ostream.h (operator<<): Make friends.
5085 * include/std/std_istream.h (operator>>): Make friends.
5086 * testsuite/27_io/ostream_exception.cc,
5087 testsuite/27_io/istream_exception.cc: New tests.
5089 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
5091 * include/bits/locale_facets.tcc: Fix typo.
5093 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
5095 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
5097 * config/locale/generic/c_locale.cc
5098 (locale::facet::_S_create_c_locale): Throw runtime exception when
5099 unsupported language is specified.
5100 * testsuite/testsuite_hooks.h
5101 (run_test_wrapped_generic_locale_exception_catcher): New function.
5102 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
5103 Suppress runtime exception thrown by generic implementation.
5104 (run_tests_wrapped_env): Likewise.
5105 (run_test_wrapped_generic_locale_exception_catcher): New function.
5106 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
5107 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
5108 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
5109 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
5110 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
5111 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
5112 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5113 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5114 * testsuite/22_locale/facet/2.cc: New test wrap.
5115 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5116 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5117 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5118 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5119 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5120 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5121 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5122 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5123 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5124 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5125 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5126 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5127 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5128 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5129 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5130 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5131 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5132 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5133 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5134 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5135 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5136 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5137 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5138 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5139 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5140 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5141 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5142 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5143 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5144 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5145 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5146 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5147 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5148 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5149 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5150 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5151 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5152 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5153 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5154 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5155 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5156 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5157 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5158 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5159 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5160 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5161 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5162 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5163 * testsuite/27_io/ios_members.cc: New test wrap.
5164 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5166 * testsuite/27_io/streambuf_members.cc: New test wrap.
5167 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5169 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5170 Petur Runolfsson <peturr02@ru.is>
5173 * include/bits/streambuf.tcc (__copy_streambufs): Use
5174 sgetn-sputn only when sputn cannot fail, otherwise fall back
5175 to safe snextc-sputc.
5176 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5178 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5180 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5181 locale cache for truename and falsename.
5183 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5185 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5186 _M_word_size initialization.
5188 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5190 * include/bits/fstream.tcc (_M_convert_to_external):
5191 Set __elen to zero if codecvt::out eventually fails.
5193 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5196 * include/bits/fstream.tcc (_M_really_overflow): Check
5197 for _M_convert_to_external possible failures.
5198 * include/std/std_fstream.h (sync): Check _M_really_overflow
5199 return value and return -1 in case of failure.
5200 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5202 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5205 * include/bits/istream.tcc (operator>>(_CharT*),
5206 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5207 * testsuite/27_io/stringstream.cc (test02): Add.
5209 * include/bits/istream.tcc (operator>>(_CharT*)):
5210 Assign a char_type to *__s.
5212 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5215 * include/bits/locale_facets.tcc
5216 (collate::do_compare, collate::do_transform):
5217 Handle nul characters in input.
5218 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5219 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5220 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5221 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5223 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5225 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5227 * testsuite/27_io/ostream_fail.cc: New test.
5229 2003-03-07 Matthias Klose <doko@debian.org>
5231 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5232 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5233 * Makefile.in: Regenerate.
5234 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5236 AM_MAKEFLAGS: Pass gxx_include_dir.
5237 * libsupc++/Makefile.in: Regenerate.
5239 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5241 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5242 mask. Test setting small-numbered pword and iword slots. Test
5243 behavior at limit of numeric_limits::max. Check that values are
5244 still good after failures.
5246 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5248 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5249 (ios_base::ios_base): Set _M_word, _M_word_size.
5250 (ios_base::~ios_base): Remove redundant test.
5251 * testsuite/27_io/ios_base_storage.cc (test03): New.
5253 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5255 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5256 incorrect whitespace added in my previous change.
5258 2003-03-05 Carlo Wood <carlo@alinoe.com>
5260 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5261 _S_initialized() in order to allow debugging libraries to detect
5262 when the std streams are initialized from an overloaded operator
5265 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5267 * libsupc++/demangle.h: Move to..
5268 * include/bits/demangle.h: ...here.
5269 * src/demangle.cc: Adjust include.
5270 * include/Makefile.am (bits_headers): Add.
5271 * include/Makefile.in: Regenerate.
5273 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5275 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5277 * config/linker-map.gnu: Filter typeinfo and vtable info.
5279 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5281 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5282 new failure. Throw exception if badbit and exception mask when ix
5283 >= numeric_limits<int>::max().
5285 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5287 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5288 min and max have the same type.
5289 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5291 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5293 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5294 * include/Makefile.in: Regenerate.
5296 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5298 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5300 * config/linker-map.gnu: Hide more stuff.
5301 * include/Makefile.am: Cleanups.
5302 * include/Makefile.in: Regenerate.
5304 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5306 * config/locale/generic/messages_members.h (messages::messages):
5307 Remove name from unused parameter.
5309 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5311 * src/Makefile.am (sources): Add demangle.cc.
5314 * src/Makefile.in: Regenerate.
5315 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5316 * libsupc++/Makefile.in: Regenerate.
5318 * testsuite/testsuite_hooks.h
5319 (__gnu_cxx_test::verify_demangle): New.
5320 * testsuite/testsuite_hooks.cc: Define.
5322 2003-02-27 Carlo Wood <carlo@alinoe.com>
5324 * src/demangle.cc: New.
5325 * libsupc++/demangle.h: New.
5327 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5328 Carlo Wood <carlo@alinoe.com>
5330 * testsuite/demangle/abi_examples/01.cc: New.
5331 * testsuite/demangle/abi_examples/02.cc: New.
5332 * testsuite/demangle/abi_examples/03.cc: New.
5333 * testsuite/demangle/abi_examples/04.cc: New.
5334 * testsuite/demangle/abi_examples/05.cc: New.
5335 * testsuite/demangle/abi_examples/06.cc: New.
5336 * testsuite/demangle/abi_examples/07.cc: New.
5337 * testsuite/demangle/abi_examples/08.cc: New.
5338 * testsuite/demangle/abi_examples/09.cc: New.
5339 * testsuite/demangle/abi_examples/10.cc: New.
5340 * testsuite/demangle/abi_examples/11.cc: New.
5341 * testsuite/demangle/abi_examples/12.cc: New.
5342 * testsuite/demangle/abi_examples/13.cc: New.
5343 * testsuite/demangle/abi_examples/14.cc: New.
5344 * testsuite/demangle/abi_examples/15.cc: New.
5345 * testsuite/demangle/abi_examples/16.cc: New.
5346 * testsuite/demangle/abi_examples/17.cc: New.
5347 * testsuite/demangle/abi_examples/18.cc: New.
5348 * testsuite/demangle/abi_examples/19.cc: New.
5349 * testsuite/demangle/abi_examples/20.cc: New.
5350 * testsuite/demangle/abi_examples/21.cc: New.
5351 * testsuite/demangle/abi_examples/22.cc: New.
5352 * testsuite/demangle/abi_examples/23.cc: New.
5353 * testsuite/demangle/abi_examples/24.cc: New.
5354 * testsuite/demangle/abi_examples/25.cc: New.
5355 * testsuite/demangle/abi_examples/26.cc: New.
5356 * testsuite/demangle/abi_text/01.cc: New.
5357 * testsuite/demangle/abi_text/02.cc: New.
5358 * testsuite/demangle/abi_text/03.cc: New.
5359 * testsuite/demangle/abi_text/04.cc: New.
5360 * testsuite/demangle/abi_text/05.cc: New.
5361 * testsuite/demangle/abi_text/06.cc: New.
5362 * testsuite/demangle/abi_text/07.cc: New.
5363 * testsuite/demangle/abi_text/08.cc: New.
5364 * testsuite/demangle/abi_text/09.cc: New.
5365 * testsuite/demangle/abi_text/10.cc: New.
5366 * testsuite/demangle/abi_text/11.cc: New.
5367 * testsuite/demangle/abi_text/12.cc: New.
5368 * testsuite/demangle/abi_text/13.cc: New.
5369 * testsuite/demangle/abi_text/14.cc: New.
5370 * testsuite/demangle/regression/3111-1.cc: New.
5371 * testsuite/demangle/regression/3111-2.cc: New.
5372 * testsuite/demangle/regression/7986-01.cc: New.
5373 * testsuite/demangle/regression/7986-02.cc: New.
5374 * testsuite/demangle/regression/7986-03.cc: New.
5375 * testsuite/demangle/regression/7986-04.cc: New.
5376 * testsuite/demangle/regression/7986-05.cc: New.
5377 * testsuite/demangle/regression/7986-06.cc: New.
5378 * testsuite/demangle/regression/7986-07.cc: New.
5379 * testsuite/demangle/regression/7986-08.cc: New.
5380 * testsuite/demangle/regression/7986-09.cc: New.
5381 * testsuite/demangle/regression/7986-10.cc: New.
5382 * testsuite/demangle/regression/7986-11.cc: New.
5383 * testsuite/demangle/regression/7986-12.cc: New.
5384 * testsuite/demangle/regression/7986.cc: New.
5385 * testsuite/demangle/regression/8897.cc: New.
5386 * testsuite/demangle/regression/cw-01.cc: New.
5387 * testsuite/demangle/regression/cw-02.cc: New.
5388 * testsuite/demangle/regression/cw-03.cc: New.
5389 * testsuite/demangle/regression/cw-04.cc: New.
5390 * testsuite/demangle/regression/cw-05.cc: New.
5391 * testsuite/demangle/regression/cw-06.cc: New.
5392 * testsuite/demangle/regression/cw-07.cc: New.
5393 * testsuite/demangle/regression/cw-08.cc: New.
5394 * testsuite/demangle/regression/cw-09.cc: New.
5395 * testsuite/demangle/regression/cw-10.cc: New.
5396 * testsuite/demangle/regression/cw-11.cc: New.
5397 * testsuite/demangle/regression/cw-12.cc: New.
5398 * testsuite/demangle/regression/cw-13.cc: New.
5399 * testsuite/demangle/regression/cw-14.cc: New.
5400 * testsuite/demangle/regression/old.cc: New.
5402 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5404 * docs/doxygen/Intro.3: Update with new (proper) names.
5405 * docs/doxygen/TODO: Update.
5406 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5407 Fake entries for standard typedefs.
5408 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5409 * docs/html/documentation.html: Top-level man page is now called
5411 * include/std/std_limits.h: Doxygenate.
5413 2003-02-25 Scott Snyder <snyder@fnal.gov>
5416 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5417 Correct documentation.
5418 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5419 equal_range): Likewise.
5421 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5425 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5426 __bump is true (uflow), always increment the read pointer
5427 (_M_in_cur) before returning successfully.
5428 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5430 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5431 Nathan Myers <ncm@cantrip.org>
5433 PR libstdc++/9404, PR libstdc++/9701 (partial)
5434 (aka pptr == epptr implies overflow)
5435 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5436 Consistently, _M_out_end points to the end of the buffer just
5438 (overflow): Tweak to use _M_out_buf_size().
5439 (_M_convert_to_external): The role of the old _M_out_end is
5440 now played by _M_out_lim.
5441 (_M_really_overflow): Likewise.
5442 (seekoff): Likewise.
5443 (setbuf): _M_out_end points to the end of the external buffer.
5444 * include/bits/sstream.tcc (overflow): Rewrote, taking into
5445 account the resolution of DR 169 (TC).
5446 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
5447 (seekpos): Use _M_string.capacity(); tweak.
5448 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
5449 * include/std/std_fstream.h (sync): The role of the old
5450 _M_out_end is now played by _M_out_lim.
5451 (_M_set_indeterminate): Use _M_set_determinate.
5452 (_M_set_determinate): _M_out_end is now _M_out_lim.
5453 (_M_is_indeterminate): Likewise.
5454 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
5455 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
5456 which have the information readily available as _M_string.capacity();
5457 for ate and app modes, pass the string size to _M_really_sync.
5458 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
5459 point to the end of the buffer (i.e., epptr) and to the string end,
5461 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
5462 which points to the right limit of the used put area.
5463 (_M_out_cur_move): The role of the old _M_out_end is now played
5465 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
5466 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
5468 (basic_streambuf()): Initialize _M_out_lim too.
5469 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
5470 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
5471 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
5473 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
5475 * testsuite/27_io/ios_base_storage.cc (main): Call
5478 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
5480 * include/bits/locale_facets.tcc (_M_convert_float): Replace
5481 numpunct facet accesses with data from __locale_cache.
5483 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5485 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
5486 * docs/html/faq/index.txt: Regenerate.
5488 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5490 * config/linker-map.gnu: Also export locking symbols needed for the
5491 generic atomicity.h case.
5493 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5495 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5497 * configure: Rebuilt.
5499 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
5501 * include/bits/sstream.tcc (overflow): According to
5502 27.7.1.3, p5, actual output is performed by sputc(c).
5504 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
5507 * include/bits/stl_alloc.h: Remove all traces of assert().
5509 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5511 * include/std/std_sstream.h (str()): the size of the
5512 current string may be different from the initial one
5513 whenever _M_out_end > _M_out_beg.
5514 * testsuite/27_io/stringbuf_members.cc (test07): Add.
5516 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5519 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
5521 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
5523 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
5524 * testsuite/27_io/ios_members.cc (test03): New.
5526 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
5528 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
5529 (basic_ios::_M_cache_facets): Move into above.
5530 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
5532 (basic_ios::imbue): Force locale cache to be built.
5533 (basic_ios::_M_init): Create and initialize locale cache.
5534 * include/bits/ios_base.h (__locale_cache_base): Declare.
5535 (ios_base::_M_locale_cache): New.
5536 (ios_base::_M_cache): Define.
5537 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
5539 (__locale_cache_base,__locale_cache<_CharT>): New classes.
5540 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
5541 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
5542 cache literal string, grouping flag, thousands separator.
5543 (__locale_cache<_CharT>::__locale_cache): New.
5544 (__locale_cache<_CharT>::_M_init): New.
5545 * src/ios.cc: Clear _M_locale_cache in constructor.
5546 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
5549 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5551 * src/locale-inst.cc: Do not include <cassert>.
5552 * src/locale.cc: Likewise.
5554 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5557 * include/std/std_fstream.h: Declare underflow and uflow
5558 specializations, change generic definitions to do nothing.
5559 * src/fstream.cc: Add underflow and uflow specializations.
5561 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5564 * include/bits/fstream.tcc (_M_convert_to_external):
5565 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
5566 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
5568 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
5570 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
5571 * include/bits/basic_ios.tcc: Guard use of extern template.
5572 * include/std/std_iomanip.h: Same.
5573 * include/bits/streambuf.tcc: Same.
5574 * include/bits/stl_alloc.h: Same.
5575 * include/bits/locale_facets.tcc: Same.
5576 * include/bits/ostream.tcc: Same.
5577 * include/bits/istream.tcc: Same.
5578 * include/bits/fstream.tcc: Same.
5579 * include/bits/basic_string.tcc: Same.
5581 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
5583 * include/bits/ostream.tcc (sentry::sentry): Improve
5584 performance-wise the fix for libstdc++/9563.
5586 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
5588 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
5589 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
5590 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
5591 when we don't have static mutex initialization.
5592 (__exchange_and_add): Use _Atomic_add_mutex_once.
5593 * src/misc-inst.cc: Definitions of all the above.
5595 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
5598 * include/bits/ostream.tcc (sentry::sentry): Check
5599 the state of the stream after the preparation.
5600 * testsuite/27_io/ostream_sentry.cc (test02): Add.
5602 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
5604 * include/Makefile.am (stamp-std-precompile): Add rule.
5605 * include/Makefile.in: Regenerated.
5607 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
5608 Benjamin Kosnik <benjamin@redhat.com>
5610 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
5611 Add indexes into this array.
5612 (__num_base::_S_atoms): To _S_atoms_in.
5613 (num_put::_M_insert): Rename to _M_pad.
5614 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
5615 (num_put::_M_widen_int): Rename to _M_group_int.
5616 (num_put::_M_widen_float): Rename to _M_group_float.
5617 * include/bits/locale_facets.tcc (__int_to_char): New inline
5618 function and adapter functions.
5619 (num_put::_M_group_int): Streamline.
5620 (num_put::_M_group_float): Streamline.
5621 (num_put::_M_convert_int): Remove unused parameter names. Choose
5622 large enough buffer for text. Use __int_to_char instead of
5623 __convert_from_v. Formatted text is now at the end of the buffer.
5624 (num_put::_M_convert_float): Preliminary fixups.
5625 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
5626 (__int_to_char<unsigned long long>): Same.
5627 (__int_to_char<char, unsigned long>): New.
5628 (__int_to_char<char, unsigned long long>): New.
5629 (__int_to_char<wchar_t, unsigned long>): New.
5630 (__int_to_char<wchar_t, unsigned long long>): New.
5632 2003-02-11 Scott Snyder <snyder@fnal.gov>
5635 * include/bits/fstream.tcc (seekoff): Avoid operator+
5638 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5641 * include/ext/stdio_filebuf.h
5642 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
5643 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
5644 Change to take a __size parameter of type size_t, not
5645 of type (template parameter dependent) int_type.
5646 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
5647 size vars to size_t.
5648 * testsuite/ext/stdio_filebuf.cc: Add.
5650 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5651 Petur Runolfsson <peturr02@ru.is>
5654 * include/bits/streambuf.tcc (__copy_streambufs):
5655 Don't conditionalize the copy to __testput.
5656 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
5658 2002-02-11 DJ Delorie <dj@redhat.com>
5660 * acinclude.m4: Check for native targets that can't link at
5661 this point in the build.
5662 * aclocal.m4: Regenerate.
5663 * configure: Regenerate.
5665 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5667 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
5669 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
5672 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
5674 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
5675 unsigned char platforms.
5677 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5680 * include/std/std_istream.h
5681 (basic_istream::sentry::operator bool()): Make const.
5682 * include/std/std_ostream.h
5683 (basic_ostream::sentry::operator bool()): Likewise.
5684 * testsuite/27_io/istream_sentry.cc (test03): Add.
5685 * testsuite/27_io/ostream_sentry.cc: Add.
5687 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5690 Implement resolution of DR 231 (Ready)
5691 * include/bits/locale_facets.h (__num_base::_S_format_float):
5692 Change declaration: return void, remove __prec parameter.
5693 * src/locale.cc (__num_base::_S_format_float): Implement
5694 resolution of DR 231.
5695 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5696 Tweak uses. Check for negative precision.
5697 * testsuite/22_locale/num_put/put/char/6.cc: Add
5698 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
5700 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
5702 * config/io/basic_file_libio.h: Fixups.
5703 * config/io/c_io_libio.h: Same.
5704 * libio/Makefile.am: Same.
5705 * libio/Makefile.in: Regenerated.
5707 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
5709 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5710 Explicitly use the "C" locale.
5711 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5713 2003-02-06 Petur Runolfsson <peturr02@ru.is>
5717 PR libstdc++/9028 (partial)
5723 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5724 codecvt<wchar_t, char, mbstate_t>::do_length,
5725 codecvt<wchar_t, char, mbstate_t>::do_max_length):
5727 * config/locale/generic/codecvt_members.cc: ...here.
5728 * config/locale/gnu/codecvt_members.cc: ...and here.
5730 * config/locale/generic/codecvt_members.cc,
5731 * config/locale/gnu/codecvt_members.cc
5732 (codecvt<wchar_t, char, mbstate_t>::do_encoding
5733 codecvt<wchar_t, char, mbstate_t>::do_in,
5734 codecvt<wchar_t, char, mbstate_t>::do_length,
5735 codecvt<wchar_t, char, mbstate_t>::do_max_length,
5736 codecvt<wchar_t, char, mbstate_t>::do_out):
5737 New implementation that handles stateless encodings,
5740 * config/locale/generic/codecvt_members.cc,
5741 * config/locale/gnu/codecvt_members.cc,
5742 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5743 * include/bits/codecvt.h,
5745 (codecvt::length, codecvt::do_length):
5746 Change type of first argument of length and do_length from
5747 'const state_type&' to 'state_type&' according to DR 75.
5749 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
5750 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
5751 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
5752 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
5753 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5754 Cleanup and check for correct return value from encoding
5756 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
5757 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
5758 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
5759 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
5760 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
5761 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
5762 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
5763 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
5764 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
5765 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
5766 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
5767 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
5768 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
5769 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
5770 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
5771 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
5772 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
5773 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
5774 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
5775 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
5776 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
5777 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
5778 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
5779 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
5780 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
5781 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
5782 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
5783 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
5784 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
5785 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
5786 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
5787 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
5788 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
5789 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
5790 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
5791 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
5792 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
5794 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
5796 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5797 (money_put::do_put): Same.
5799 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
5801 * include/bits/ios_base.h (ios_base): Document reserved storage.
5803 * include/bits/locale_facets.h: (struct __pad): Comment on
5805 (__verify_grouping): Same.
5806 (__add_grouping): Same.
5807 * include/bits/locale_facets.tcc (__verify_grouping): Move
5808 comments to declaration.
5809 (__add_grouping): Same.
5811 * include/bits/locale_facets.tcc:
5812 (__write<_CharT, _OutIter>): New function.
5813 (__write<_CharT>): New function specialization.
5814 (num_put::_M_insert): Remove explicit loop over iterator. Use
5816 (num_put::_M_widen_float): Remove __basefield.
5817 (num_put::_M_widen_int): Move __basefield to within grouping block.
5819 * include/bits/streambuf_iterator.h: Include <streambuf>.
5820 (ostreambuf_iterator::_M_put): Add.
5822 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
5824 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5826 2003-02-04 Nathan Myers <ncm@cantrip.org>
5828 * testsuite/25_algorithms/min_max.cc (test02): Add.
5830 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5832 PR libstdc++/9439, PR libstdc++/9425
5833 * config/io/basic_file_stdio.cc
5834 (__basic_file<char>::seekoff, seekpos): Return -1L if
5836 * include/bits/fstream.tcc (basic_filebuf::seekoff):
5837 Check _M_file.seekoff return value; always return
5838 pos_type(off_type(-1)) in case of failure.
5839 (basic_filebuf::pbackfail): Check this->seekoff return
5840 value and return traits_type::eof() in case of failure.
5841 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5843 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
5845 * include/std/std_ostream.h (ostream::_M_write): Declare.
5846 * ostream.tcc (ostream::_M_write): Define.
5847 (basic_ostream::write): Use it.
5848 (operator<<(basic_ostream, _CharT)): Ditto.
5849 (operator<<(basic_ostream, char)): Ditto.
5850 (operator<<(basic_ostream, _CharT*)): Ditto.
5851 (operator<<(basic_ostream, char*)): Ditto.
5852 (operator<<(basic_ostream, basic_string)): Ditto.
5854 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
5856 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5858 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5860 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5861 add HTML comment about updating links if numbering changes.
5863 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5866 * include/bits/streambuf.tcc (sputbackc): Access
5867 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
5868 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5870 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5873 * include/bits/fstream.tcc (open): If the 'ate' repositioning
5874 operation fails, calls close _and_ returns a null pointer
5875 to indicate failure (27.8.1.3,4).
5876 * testsuite/27_io/filebuf_members.cc (test_06): Add.
5878 2003-02-04 Petur Runolfsson <peturr02@ru.is>
5880 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
5882 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5884 * docs/html/27_io/howto.html: New section on stdio_filebuf.
5885 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
5886 * docs/html/documentation.html: Regenerate.
5888 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
5890 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
5891 * docs/html/17_intro/porting.html: Regenerate.
5893 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
5894 Phil Edwards <pme@gcc.gnu.org>
5896 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
5897 numeric_limits for bits-per-word values.
5898 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
5899 Use __builtin_popcountl instead.
5900 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
5901 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
5902 Use __builtin_ctzl instead.
5903 (_S_bit_count, _S_first_one): Remove.
5904 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
5905 * src/Makefile.am (sources): Remove bitset.cc.
5906 * src/bitset.cc: Delete file.
5907 * src/Makefile.in: Regenerate.
5909 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
5911 PR libstdc++/9527, PR libstdc++/8713
5912 * docs/html/install.html: Mention glibc version requirement.
5913 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
5914 with 3.2.1+ (formatting bugfixes).
5915 * docs/html/faq/index.txt: Regenerate.
5917 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5920 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
5923 * include/bits/valarray_before.h (__not_equal_to): Use != instead
5926 * testsuite/26_numerics/valarray_operators.cc: New test.
5928 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
5930 * docs/html/faq/index.html: Correct link to libg++ information.
5931 * docs/html/faq/index.txt: Regenerated.
5933 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
5934 Benjamin Kosnik <bkoz@redhat.com>
5936 Const correctness issue:
5937 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
5938 * include/bits/locale_classes.h
5939 (locale::_Impl::_M_facets): Change type to const facet**.
5940 (locale::_Impl::_M_install_facet): Change declaration to
5942 (locale::facet::_M_references): Make mutable.
5943 (locale::facet::_M_add_reference): Declare const.
5944 (locale::facet::_M_remove_reference): Likewise.
5945 * include/bits/locale_facets.tcc
5946 (use_facet(const locale&)): Tweak for const facet** _M_facets.
5947 (has_facet(const locale&)): Likewise.
5949 (locale::facet::_M_add_reference): Adjust definition.
5950 (locale::facet::_M_remove_reference): Likewise.
5952 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
5953 const facet** _M_facets.
5954 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
5955 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
5956 (locale::_Impl::_M_install_facet): Adjust definition to take
5957 const facet* and for const facet** _M_facets.
5958 * testsuite/22_locale/locale/cons/8.cc: Add.
5960 2003-01-29 Mark Mitchell <mark@codesourcery.com>
5962 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
5963 Use __FLT_HAS_INIFINITY__ to initialize.
5964 (numeric_limits<float>::has_quiet_NaN): Likewise.
5965 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
5967 (numeric_limits<double>::has_quiet_NaN): Likewise.
5968 (numeric_limits<long double>::has_infinity): Use
5969 __LDBL_HAS_INIFINITY__ to initialize.
5970 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
5972 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
5975 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
5976 with bases which are very ambiguous.
5978 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
5980 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
5981 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
5982 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
5983 * src/Makefile.in: Regenerate.
5984 * libsupc++/Makefile.in: Regenerate.
5986 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5988 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
5989 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
5990 version_specific_libs is enabled.
5991 * aclocal.m4, configure: Rebuilt.
5993 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
5995 * include/bits/valarray_meta.h: Remove, split into ...
5996 * include/bits/valarray_before.h: ... this, and ...
5997 * include/bits/valarray_after.h: ... this.
5998 * include/std/std_valarray.h: Adjust.
5999 * include/Makefile.am (bits_headers): Adjust.
6000 * include/Makefile.in: Regenerate.
6002 2003-01-24 Andreas Schwab <schwab@suse.de>
6004 * config/linker-map.gnu: Fix for size_t variance.
6006 2003-01-23 Petur Runolfsson <peturr02@ru.is>
6009 * include/std/std_streambuf.h
6010 (basic_streambuf::basic_streambuf,
6011 basic_streambuf::~basic_streambuf,
6012 basic_streambuf::getloc, basic_streambuf::imbue):
6013 Remove _M_buf_locale_init
6014 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
6015 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6016 * testsuite/27_io/streambuf_members.cc (test08): Add.
6017 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
6019 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6021 Revert include ordering.
6022 * config/locale/generic/c_locale.h: Add include guards.
6023 * config/locale/gnu/c_locale.h: Same.
6024 * include/bits/locale_classes.h: Remove cctype include.
6025 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
6026 * include/std/std_fstream.h: Remove streambuf include.
6027 * include/std/std_sstream.h: Remove streambuf include.
6029 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6031 * configure.in (libtool_VERSION): To 6:0:0.
6032 * configure: Regenerated.
6033 * config/linker-map.gnu: Clean.
6035 * src/misc-inst.cc: Remove instantiations.
6037 * include/bits/stl_alloc.h (__malloc_alloc_template):
6039 (__default_alloc_template): To __pool_alloc.
6040 * src/stl-inst.cc: Same.
6041 * include/backward/alloc.h: Update.
6042 * testsuite/ext/allocators.cc: Update.
6044 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
6045 really try to remove these if possible.
6046 * src/locale.cc (std): Same.
6048 * testsuite/abi_check.cc (check_version): Add.
6050 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6051 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
6052 Mark Mitchell <mark@codesourcery.com>
6055 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
6056 (basic_filebuf::underflow): Declare.
6059 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6061 * include/bits/locale_facets.h: Move non-facet classes requiring
6063 * include/bits/locale_classes.h: New.
6064 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
6065 * include/bits/Makefile.in: Regenerate.
6067 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
6068 * config/locale/gnu/c_locale.h: ...here.
6069 * config/locale/generic/c_locale.h: Same.
6071 * include/bits/locale_facets.tcc: Move declarations to...
6072 * include/bits/locale_facets.h: ...here.
6073 * include/bits/basic_ios.h: Tweak includes accordingly.
6074 * include/std/std_sstream.h: Add streambuf include.
6075 * include/std/std_fstream.h: Ditto.
6076 * include/std/std_locale.h: Add locale_classes.h include.
6077 * include/std/std_iosfwd.h: Tweak.
6078 * src/concept-inst.cc: Add iterator include.
6080 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
6081 bits as unexported in the future.
6083 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
6085 Reshuffle 22_locale testsuite.
6086 * 22_locale/(codecvt.cc money_get.cc
6087 codecvt_members_char_char.cc money_get_members_char.cc
6088 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
6089 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
6090 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
6091 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
6092 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
6093 money_put_members_char.cc ctor_copy_dtor.cc
6094 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
6095 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
6096 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
6097 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
6098 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
6099 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
6100 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
6101 operators.cc ctype_widen_char.cc static_members.cc
6102 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
6103 global_templates.cc time_get_members_wchar_t.cc, members.cc,
6104 time_put.cc, messages_byname.cc, time_put_members_char.cc,
6105 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
6106 Split up into individual test cases...
6107 * 22_locale/codecvt/1.cc: New.
6108 * 22_locale/codecvt/2.cc: New.
6109 * 22_locale/codecvt/always_noconv/char/1.cc: New.
6110 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
6111 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
6112 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6113 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6114 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6115 * 22_locale/codecvt/encoding/char/1.cc: New.
6116 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6117 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6118 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6119 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6120 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6121 * 22_locale/codecvt/in/char/1.cc: New.
6122 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6123 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6124 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6125 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6126 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6127 * 22_locale/codecvt/length/char/1.cc: New.
6128 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6129 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6130 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6131 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6132 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6133 * 22_locale/codecvt/max_length/char/1.cc: New.
6134 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6135 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6136 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6137 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6138 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6139 * 22_locale/codecvt/out/char/1.cc: New.
6140 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6141 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6142 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6143 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6144 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6145 * 22_locale/codecvt/unicode/char.cc: New.
6146 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6147 * 22_locale/codecvt/unshift/char/1.cc: New.
6148 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6149 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6150 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6151 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6152 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6153 * 22_locale/collate/1.cc: New.
6154 * 22_locale/collate/2.cc: New.
6155 * 22_locale/collate/compare/char/1.cc: New.
6156 * 22_locale/collate/compare/char/2.cc: New.
6157 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6158 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6159 * 22_locale/collate/compare/wchar_t/1.cc: New.
6160 * 22_locale/collate/compare/wchar_t/2.cc: New.
6161 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6162 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6163 * 22_locale/collate/hash/char/1.cc: New.
6164 * 22_locale/collate/hash/char/2.cc: New.
6165 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6166 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6167 * 22_locale/collate/hash/wchar_t/1.cc: New.
6168 * 22_locale/collate/hash/wchar_t/2.cc: New.
6169 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6170 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6171 * 22_locale/collate/transform/char/2.cc: New.
6172 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6173 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6174 * 22_locale/collate/transform/wchar_t/2.cc: New.
6175 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6176 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6177 * 22_locale/collate_byname/1.cc: New.
6178 * 22_locale/ctype/1.cc: New.
6179 * 22_locale/ctype/2.cc: New.
6180 * 22_locale/ctype/cons/char/1.cc: New.
6181 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6182 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6183 * 22_locale/ctype/is/char/1.cc: New.
6184 * 22_locale/ctype/is/char/2.cc: New.
6185 * 22_locale/ctype/is/char/3.cc: New.
6186 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6187 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6188 * 22_locale/ctype/is/wchar_t/1.cc: New.
6189 * 22_locale/ctype/is/wchar_t/2.cc: New.
6190 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6191 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6192 * 22_locale/ctype/narrow/char/1.cc: New.
6193 * 22_locale/ctype/narrow/char/2.cc: New.
6194 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6195 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6196 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6197 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6198 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6199 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6200 * 22_locale/ctype/scan/char/1.cc: New.
6201 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6202 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6203 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6204 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6205 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6206 * 22_locale/ctype/to/char/1.cc: New.
6207 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6208 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6209 * 22_locale/ctype/to/wchar_t/1.cc: New.
6210 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6211 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6212 * 22_locale/ctype/widen/char/1.cc: New.
6213 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6214 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6215 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6216 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6217 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6218 * 22_locale/facet/1.cc: New.
6219 * 22_locale/facet/2.cc: New.
6220 * 22_locale/global_templates/1.cc: New.
6221 * 22_locale/locale/cons/1.cc: New.
6222 * 22_locale/locale/cons/2.cc: New.
6223 * 22_locale/locale/cons/3.cc: New.
6224 * 22_locale/locale/cons/4.cc: New.
6225 * 22_locale/locale/cons/5.cc: New.
6226 * 22_locale/locale/cons/6.cc: New.
6227 * 22_locale/locale/cons/7.cc: New.
6228 * 22_locale/locale/global_locale_objects/1.cc: New.
6229 * 22_locale/locale/global_locale_objects/2.cc: New.
6230 * 22_locale/locale/global_locale_objects/3.cc: New.
6231 * 22_locale/locale/operations/1.cc: New.
6232 * 22_locale/locale/operations/2.cc: New.
6233 * 22_locale/messages/1.cc: New.
6234 * 22_locale/messages/2.cc: New.
6235 * 22_locale/messages/members/char/1.cc: New.
6236 * 22_locale/messages/members/char/2.cc: New.
6237 * 22_locale/messages/members/char/3.cc: New.
6238 * 22_locale/messages/members/char/wrapped_env.cc: New.
6239 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6240 * 22_locale/messages_byname/1.cc: New.
6241 * 22_locale/money_get/1.cc: New.
6242 * 22_locale/money_get/2.cc: New.
6243 * 22_locale/money_get/get/char/1.cc: New.
6244 * 22_locale/money_get/get/char/2.cc: New.
6245 * 22_locale/money_get/get/char/3.cc: New.
6246 * 22_locale/money_get/get/char/4.cc: New.
6247 * 22_locale/money_get/get/char/5.cc: New.
6248 * 22_locale/money_get/get/char/6.cc: New.
6249 * 22_locale/money_get/get/char/7.cc: New.
6250 * 22_locale/money_get/get/char/8.cc: New.
6251 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6252 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6253 * 22_locale/money_get/get/wchar_t/1.cc: New.
6254 * 22_locale/money_get/get/wchar_t/2.cc: New.
6255 * 22_locale/money_get/get/wchar_t/3.cc: New.
6256 * 22_locale/money_get/get/wchar_t/4.cc: New.
6257 * 22_locale/money_get/get/wchar_t/5.cc: New.
6258 * 22_locale/money_get/get/wchar_t/6.cc: New.
6259 * 22_locale/money_get/get/wchar_t/7.cc: New.
6260 * 22_locale/money_get/get/wchar_t/8.cc: New.
6261 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6262 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6263 * 22_locale/money_put/1.cc: New.
6264 * 22_locale/money_put/2.cc: New.
6265 * 22_locale/money_put/put/char/1.cc: New.
6266 * 22_locale/money_put/put/char/2.cc: New.
6267 * 22_locale/money_put/put/char/3.cc: New.
6268 * 22_locale/money_put/put/char/4.cc: New.
6269 * 22_locale/money_put/put/char/5.cc: New.
6270 * 22_locale/money_put/put/char/6.cc: New.
6271 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6272 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6273 * 22_locale/money_put/put/wchar_t/1.cc: New.
6274 * 22_locale/money_put/put/wchar_t/2.cc: New.
6275 * 22_locale/money_put/put/wchar_t/3.cc: New.
6276 * 22_locale/money_put/put/wchar_t/4.cc: New.
6277 * 22_locale/money_put/put/wchar_t/5.cc: New.
6278 * 22_locale/money_put/put/wchar_t/6.cc: New.
6279 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6280 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6281 * 22_locale/moneypunct/1.cc: New.
6282 * 22_locale/moneypunct/2.cc: New.
6283 * 22_locale/moneypunct/3.cc: New.
6284 * 22_locale/moneypunct/members/char/1.cc: New.
6285 * 22_locale/moneypunct/members/char/2.cc: New.
6286 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6287 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6288 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6289 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6290 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6291 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6292 * 22_locale/moneypunct_byname/1.cc: New.
6293 * 22_locale/num_get/1.cc: New.
6294 * 22_locale/num_get/2.cc: New.
6295 * 22_locale/num_get/get/char/1.cc: New.
6296 * 22_locale/num_get/get/char/2.cc: New.
6297 * 22_locale/num_get/get/char/3.cc: New.
6298 * 22_locale/num_get/get/char/4.cc: New.
6299 * 22_locale/num_get/get/char/5.cc: New.
6300 * 22_locale/num_get/get/char/6.cc: New.
6301 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6302 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6303 * 22_locale/num_get/get/wchar_t/1.cc: New.
6304 * 22_locale/num_get/get/wchar_t/2.cc: New.
6305 * 22_locale/num_get/get/wchar_t/3.cc: New.
6306 * 22_locale/num_get/get/wchar_t/4.cc: New.
6307 * 22_locale/num_get/get/wchar_t/5.cc: New.
6308 * 22_locale/num_get/get/wchar_t/6.cc: New.
6309 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6310 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6311 * 22_locale/num_put/1.cc: New.
6312 * 22_locale/num_put/2.cc: New.
6313 * 22_locale/num_put/put/char/1.cc: New.
6314 * 22_locale/num_put/put/char/2.cc: New.
6315 * 22_locale/num_put/put/char/3.cc: New.
6316 * 22_locale/num_put/put/char/4.cc: New.
6317 * 22_locale/num_put/put/char/5.cc: New.
6318 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6319 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6320 * 22_locale/num_put/put/wchar_t/1.cc: New.
6321 * 22_locale/num_put/put/wchar_t/2.cc: New.
6322 * 22_locale/num_put/put/wchar_t/3.cc: New.
6323 * 22_locale/num_put/put/wchar_t/4.cc: New.
6324 * 22_locale/num_put/put/wchar_t/5.cc: New.
6325 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6326 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6327 * 22_locale/numpunct/1.cc: New.
6328 * 22_locale/numpunct/2.cc: New.
6329 * 22_locale/numpunct/members/char/1.cc: New.
6330 * 22_locale/numpunct/members/char/2.cc: New.
6331 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6332 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6333 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6334 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6335 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6336 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6337 * 22_locale/numpunct_byname/1.cc: New.
6338 * 22_locale/numpunct_byname/2.cc: New.
6339 * 22_locale/time_get/1.cc: New.
6340 * 22_locale/time_get/2.cc: New.
6341 * 22_locale/time_get/date_order/char/1.cc: New.
6342 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6343 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6344 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6345 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6346 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6347 * 22_locale/time_get/get_date/char/1.cc: New.
6348 * 22_locale/time_get/get_date/char/2.cc: New.
6349 * 22_locale/time_get/get_date/char/3.cc: New.
6350 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6351 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6352 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6353 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6354 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6355 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6356 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6357 * 22_locale/time_get/get_monthname/char/1.cc: New.
6358 * 22_locale/time_get/get_monthname/char/2.cc: New.
6359 * 22_locale/time_get/get_monthname/char/3.cc: New.
6360 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6361 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6362 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6363 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6364 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6365 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6366 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6367 * 22_locale/time_get/get_time/char/1.cc: New.
6368 * 22_locale/time_get/get_time/char/2.cc: New.
6369 * 22_locale/time_get/get_time/char/3.cc: New.
6370 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6371 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6372 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6373 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6374 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6375 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6376 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6377 * 22_locale/time_get/get_weekday/char/1.cc: New.
6378 * 22_locale/time_get/get_weekday/char/2.cc: New.
6379 * 22_locale/time_get/get_weekday/char/3.cc: New.
6380 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6381 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6382 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6383 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6384 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6385 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6386 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6387 * 22_locale/time_get/get_year/char/1.cc: New.
6388 * 22_locale/time_get/get_year/char/3.cc: New.
6389 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6390 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6391 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6392 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6393 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6394 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6395 * 22_locale/time_put/1.cc: New.
6396 * 22_locale/time_put/2.cc: New.
6397 * 22_locale/time_put/put/char/1.cc: New.
6398 * 22_locale/time_put/put/char/10.cc: New.
6399 * 22_locale/time_put/put/char/2.cc: New.
6400 * 22_locale/time_put/put/char/3.cc: New.
6401 * 22_locale/time_put/put/char/4.cc: New.
6402 * 22_locale/time_put/put/char/5.cc: New.
6403 * 22_locale/time_put/put/char/6.cc: New.
6404 * 22_locale/time_put/put/char/7.cc: New.
6405 * 22_locale/time_put/put/char/8.cc: New.
6406 * 22_locale/time_put/put/char/9.cc: New.
6407 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6408 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6409 * 22_locale/time_put/put/wchar_t/1.cc: New.
6410 * 22_locale/time_put/put/wchar_t/10.cc: New.
6411 * 22_locale/time_put/put/wchar_t/2.cc: New.
6412 * 22_locale/time_put/put/wchar_t/3.cc: New.
6413 * 22_locale/time_put/put/wchar_t/4.cc: New.
6414 * 22_locale/time_put/put/wchar_t/5.cc: New.
6415 * 22_locale/time_put/put/wchar_t/6.cc: New.
6416 * 22_locale/time_put/put/wchar_t/7.cc: New.
6417 * 22_locale/time_put/put/wchar_t/8.cc: New.
6418 * 22_locale/time_put/put/wchar_t/9.cc: New.
6419 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6420 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6422 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6424 * config/locale/generic/messages_members.h
6425 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6426 unqualified members of base clasess.
6428 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6429 Jeffrey Oldham <oldham@codesourcery.com>
6431 * config/locale/gnu/messages_members.h: Use this-> to refer to
6432 unqualified members of base clasess.
6433 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
6434 * include/bits/codecvt.h: Likewise.
6435 * include/bits/deque.tcc: Likewise.
6436 * include/bits/fstream.tcc: Likewise.
6437 * include/bits/istream.tcc: Likewise.
6438 * include/bits/list.tcc: Likewise.
6439 * include/bits/locale_facets.h: Likewise.
6440 * include/bits/ostream.tcc: Likewise.
6441 * include/bits/sstream.tcc: Likewise.
6442 * include/bits/stl_bvector.h: Likewise.
6443 * include/bits/stl_deque.h: Likewise.
6444 * include/bits/stl_list.h: Likewise.
6445 * include/bits/stl_tree.h: Likewise.
6446 * include/bits/stl_vector.h: Likewise.
6447 * include/bits/vector.tcc: Likewise.
6448 * include/ext/ropeimpl.h: Likewise.
6449 * include/ext/stdio_filebuf.h: Likewise.
6450 * include/ext/stl_rope.h: Likewise.
6451 * include/std/std_fstream.h: Likewise.
6452 * include/std/std_sstream.h: Likewise.
6454 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
6456 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
6458 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
6460 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
6461 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
6462 * aclocal.m4: Regenerate.
6463 * configure: Regenerate.
6464 * testsuite/Makefile.am (all-local): Add conditional rule to
6465 generate testsuite_wchar_t.
6466 * testsuite/Makefile.in: Regenerate.
6467 * testsuite/lib/libstdc++-v3-dg.exp
6468 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
6469 testsuite_wchar_t is not present in the build directory.
6470 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
6471 Remove setulimit bits.
6472 * testsuite/26_numerics/complex_value.cc: Set to noopts.
6473 * testsuite/Makefile.am (CLEANFILES): Add.
6474 * testsuite/Makefile.in: Regenerate.
6476 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6478 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
6481 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
6483 Further conform g++'s __vmi_class_type_info to the C++ ABI
6485 * libsupc++/cxxabi.h
6486 (__vmi_class_type_info::__flags_masks): Remove enumerations not
6487 required by the specification.
6489 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
6491 Renames, namespaces for testsuite utilities.
6492 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
6493 (gnu_allocator_tracker): Rename to allocation_tracker.
6494 (gnu_new_allocator): Rename to tracker_alloc.
6495 (__set_testsuite_memlimit): Rename to set_memory_limits.
6496 (gnu_assignment_operator): Rename to assignment_operator.
6497 (gnu_destructor): Rename to destructor.
6498 (gnu_copy_tracker): Rename to copy_tracker.
6499 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
6500 (run_tests_wrapped_locale): New.
6501 (run_tests_wrapped_env): New.
6502 * testsuite/testsuite_hooks.cc: Same.
6503 (class locale_data): Add.
6504 (class enviornment_variable): Add.
6505 (class not_found): Add.
6506 * testsuite/testsuite_allocator.h: Same.
6507 * testsuite/testsuite_allocator.cc: Same.
6508 * testsuite/23_containers/deque_ctor.cc
6509 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
6511 Change gnu_new_allocator to tracker_alloc.
6512 Change gnu_counting_struct to counter.
6513 Change gnu_copy_tracker to copy_tracker.
6514 Change gnu_copy_constructor to copy_constructor.
6515 Change gnu_assignment_operator to assignment_operator.
6517 * testsuite/23_containers/vector_capacity.cc: Same.
6518 * testsuite/23_containers/vector_ctor.cc (test01): Same.
6519 * testsuite/23_containers/list_modifiers.cc: Change
6520 gnu_copy_tracker to copy_tracker.
6521 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
6522 __set_testsuite_memlimit to set_memory_limits.
6523 * testsuite/21_strings/insert.cc (main): Same.
6524 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
6525 * testsuite/27_io/stringstream.cc: Same.
6526 * testsuite/27_io/stringbuf.cc: Same.
6527 * testsuite/27_io/streambuf.cc: Same.
6528 * testsuite/27_io/ostream.cc: Same.
6529 * testsuite/27_io/istream.cc: Same.
6530 * testsuite/27_io/fstream.cc: Same.
6531 * testsuite/lib/libstdc++-v3-dg.exp
6532 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
6533 three levels deeper in glob patterns.
6535 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
6537 * docs/doxygen/tables.html: Finished now.
6538 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
6539 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
6542 * include/bits/deque.tcc, include/bits/stl_alloc.h,
6543 include/bits/stl_deque.h, include/bits/stl_list.h,
6544 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
6547 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
6549 * configure.in: Revert.
6550 * configure: Regenerate.
6552 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6554 * include/Makefile.am (install-data-local): Prepend
6555 $(DESTDIR) to destination paths in all (un)installation
6556 commands. Use ${c_base_builddir} and ${std_builddir}
6557 as destination subdirectories to achieve consistency with
6558 preceding mkinstalldirs commands. No effect because both
6559 variables contain "." only.
6560 * include/Makefile.in: Regenerate.
6562 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
6564 * include/Makefile.am (stamp-*): Add checks for existing stamps.
6565 * include/Makefile.in: Regenerate.
6567 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
6568 * aclocal.m4: Regenerate.
6570 * configure.in: Don't add new multi-do rules every time the
6571 directory is reconfigured.
6572 * configure: Regenerate.
6574 2003-01-08 Brad Spencer <spencer@infointeractive.com>
6575 Nathan Myers <ncm@cantrip.org>
6577 * src/Makefile.am (stamp-debug): Clean.
6578 * src/Makefile.in: Regenerate.
6580 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
6583 * Makefile.am (distclean-multi): Fix.
6584 * Makefile.in: Regenerate.
6586 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
6588 * include/bits/locale_facets.h (messages): Move ctor, dtor
6590 (__timepunct): Same.
6591 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
6592 definitions. Conditionalize for GNU systems.
6593 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
6595 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
6596 definitions. Conditionalize for GNU systems.
6597 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
6599 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
6600 * src/locale.cc: Define.
6601 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
6603 * config/locale/gnu/time_members.h: Use it.
6604 * config/locale/gnu/messages_members.h: Use it.
6605 * config/linker-map.gnu: Add locale::facets details.
6606 * include/Makefile.am (target_headers_extra): Add time_members.h.
6607 * include/Makefile.in: Regenerate.
6608 * acinclude.m4: Export CTIME_H.
6609 * aclocal.m4: Regenerate.
6610 * configure: Regnerate.
6612 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6615 (codecvt<char, char, mbstate_t>::do_in, do_out):
6616 Tweak parameters to avoid unused parameter warnings.
6618 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6621 * include/bits/locale_facets.cc (num_put::_M_convert_float):
6622 Limit __prec to digits10 + 2, not digits10 + 1, taking into
6623 account the possibility of %{g,G} conversion specifiers
6624 inside _S_format_float.
6625 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
6627 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6629 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
6630 libstdc++-v3-list-sourcefiles): Additionally handle files one
6631 level deeper in glob patterns.
6633 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
6634 * testsuite/27_io/istream_extractor_arith/01.cc,
6635 testsuite/27_io/istream_extractor_arith/02.cc,
6636 testsuite/27_io/istream_extractor_arith/03.cc,
6637 testsuite/27_io/istream_extractor_arith/06.cc,
6638 testsuite/27_io/istream_extractor_arith/07.cc,
6639 testsuite/27_io/istream_extractor_arith/08.cc,
6640 testsuite/27_io/istream_extractor_arith/09.cc,
6641 testsuite/27_io/istream_extractor_arith/10.cc,
6642 testsuite/27_io/istream_extractor_arith/11.cc,
6643 testsuite/27_io/istream_extractor_arith/12.cc,
6644 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
6645 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
6648 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
6652 (codecvt<char, char, mbstate_t>::do_in, do_out):
6653 Implement the resolution of DR19 (TC).
6654 * testsuite/22_locale/codecvt_members_char_char.cc
6657 2003-01-02 Jason Merrill <jason@redhat.com>
6659 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
6660 *__mem is also an output.
6661 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.