1 2003-11-09 Paolo Carlini <pcarlini@suse.de>
3 * include/bits/locale_facets.tcc (_M_insert_int,
4 _M_insert_float): Move a couple of vars inside an if block.
6 2003-11-09 Paolo Carlini <pcarlini@suse.de>
9 * include/bits/locale_facets.tcc
10 (money_put::do_put(..., long double)): Fix conversion
11 specification as per DR 328 [WP].
12 * testsuite/22_locale/money_put/put/char/12971.cc: Add.
13 * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Ditto.
14 * docs/html/ext/howto.html: Add entry for DR 328.
16 2003-11-08 Paolo Carlini <pcarlini@suse.de>
19 * include/bits/list.tcc (merge): Implement resolution of
21 * docs/html/ext/howto.html: Add entry for DR 300; tweak entry
24 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
27 2003-11-07 Jonathan Wakely <redi@gcc.gnu.org>
29 * libsupc++/vec.cc: Conform to C++STYLE.
31 2003-11-07 Carlo Wood <carlo@alinoe.com>
34 * bits/demangle.h (qualifier_list<Allocator>::decode_KVrA): Added.
35 (qualifier_list<Allocator>::decode_qualifiers): Collect concatenated
36 K, V, r and A qualifiers before processing them as a group.
37 * testsuite/demangle/abi_text/01.cc: Reordered CV-qualifiers.
38 * testsuite/demangle/regression/cw-16.cc: New.
40 2003-11-07 Robert Millan <robertmh@gnu.org>
42 * configure.host: Add kfreebsd*-gnu and knetbsd*-gnu.
43 * crossconfig.m4: Likewise.
44 * configure: Regenerate.
46 2003-11-07 Carlo Wood <carlo@alinoe.com>
48 * include/bits/demangle.h
49 (qualifier_list<Allocator>::decode_qualifiers(string_type&,
50 string_type&, bool member_function_pointer_qualifiers):
51 Always separate the '[' of an array type with a space from
52 what is left of it, except when that is the closing bracket
53 of another array dimension.
55 2003-11-07 Carlo Wood <carlo@alinoe.com>
57 * include/bits/demangle.h
58 (qualifier_list<Allocator>::decode_qualifiers(string_type&,
59 string_type&, bool) const): Made const.
60 (qualifier_list<Allocator>::M_printing_suppressed): Added mutable.
61 (_GLIBCXX_DEMANGLER_DOUT_ENTERING3, _GLIBCXX_DEMANGLER_RETURN3,
62 std::ostream& operator<<(std::ostream&, qualifier const&),
63 std::ostream& operator<<(std::ostream&, qualifier_list const&),
64 qualifier_list<Allocator>::decode_qualifiers(string_type&,
65 string_type&, bool) const,
66 session<Allocator>::decode_type_with_postfix(string_type&,
67 string_type&, qualifier_list<Allocator>*))
68 Added and/or changed debug-only hooks and code.
70 2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com>
72 * libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer,
73 immediately return. This reflects a C++ ABI change 2003 Nov 03.
74 (__cxa_vec_delete3): Likewise.
76 2003-11-03 Petur Runolfsson <peturr02@ru.is>
79 * include/bits/fstream.tcc: Delete _M_last_overflowed.
80 (basic_filebuf::basic_filebuf): Initialize _M_state_last.
81 (basic_filebuf::open, basic_filebuf::close): Assign
82 _M_state_beg to _M_state_cur and _M_state_last.
83 (basic_filebuf::close): Call _M_terminate_output to handle
85 (basic_filebuf::underflow): Assign _M_state_last, throw
86 exception instead of calling abort when codecvt::max_length()
88 (basic_filebuf::seekoff): Use _M_state_last when calling
89 codecvt::length(), pass correct state to _M_seek.
90 (basic_filebuf::seekpos): Pass __pos.state() to _M_seek.
91 (basic_filebuf::_M_seek): Add __state_type parameter,
92 set _M_state_cur correctly, store the resulting state in
93 the return value and use _M_terminate_output to handle
95 (basic_filebuf::_M_terminate_output): Flush contents of
96 output buffer, if any, then call codecvt::unshift as
97 needed and output the result.
98 (basic_filebuf::sync): Move here, don't modify _M_writing
101 * include/std/std_fstream.h
102 (basic_filebuf::_M_state_last): Declare it.
103 (basic_filebuf::_M_last_overflowed): Delete.
104 (basic_filebuf::_M_seek): Add __state_type parameter.
105 (basic_filebuf::sync): Declare only.
106 (basic_filebuf::_M_output_unshift): Delete.
107 (basic_filebuf::_M_terminate_output): Declare it.
109 * testsuite/testsuite_character.h:
110 Define character class and state class plus char_traits and
111 codecvt specializations for same for testing support for
114 * testsuite/27_io/basic_filebuf/close/12790-1.cc,
115 * testsuite/27_io/basic_filebuf/close/char/12790-1.cc,
116 * testsuite/27_io/basic_filebuf/close/char/12790-2.cc,
117 * testsuite/27_io/basic_filebuf/close/char/12790-3.cc,
118 * testsuite/27_io/basic_filebuf/close/char/12790-4.cc,
119 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc,
120 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc,
121 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc,
122 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc,
123 * testsuite/27_io/basic_filebuf/open/12790-1.cc,
124 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc,
125 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc,
126 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc,
127 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc,
128 * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc,
129 * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc,
130 * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc,
131 * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc,
132 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc,
133 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc,
134 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc,
135 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc,
136 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc,
137 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc,
138 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc,
139 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc,
140 * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc,
141 * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc,
142 * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc,
143 * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc,
144 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc,
145 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc,
146 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc,
147 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc,
148 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc,
149 * testsuite/27_io/basic_filebuf/sync/char/1.cc,
150 * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc:
153 * testsuite/27_io/basic_filebuf/3.cc,
154 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc,
155 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc,
156 * testsuite/27_io/basic_fstream/3.cc,
157 * testsuite/27_io/basic_ifstream/3.cc,
158 * testsuite/27_io/basic_ofstream/3.cc:
159 Use streamoff as off_type and fpos<state_type> as pos_type.
161 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc,
162 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc:
163 Check that sync does *not* set _M_writing to false.
165 2003-11-03 Anthony Green <green@redhat.com>
167 * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
170 2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
172 * include/bits/locale_facets.h (time_get::_M_extract_name): Add
174 * include/bits/locale_facets.tcc: Same, use it to allow
177 * include/bits/fstream.tcc: Spacing tweak.
178 * include/bits/istream.tcc: Same.
179 * include/bits/ostream.tcc: Same.
181 2003-10-30 Paolo Carlini <pcarlini@suse.de>
183 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
184 __mod is only assigned, never used its value, remove it.
186 2003-10-29 Paolo Carlini <pcarlini@suse.de>
188 * include/bits/locale_facets.tcc (time_get::do_get_year):
189 Absolutely avoid dereferencing end iterators.
190 (time_put::put): Minor clean up.
192 * include/bits/locale_facets.tcc: Cosmetic reformattings.
194 2003-10-29 Paolo Carlini <pcarlini@suse.de>
196 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
197 Revert the last commit, is not correct, sorry.
199 2003-10-29 Paolo Carlini <pcarlini@suse.de>
201 * config/locale/generic/c_locale.cc: Add back <cmath> and
204 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
207 2003-10-29 Paolo Carlini <pcarlini@suse.de>
209 * include/bits/locale_facets.tcc (time_put::put): Absolutely
210 avoid dereferencing end iterators; clean up.
212 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
213 num_get::_M_extract_int): Minor tweak.
215 2003-10-29 Paolo Carlini <pcarlini@suse.de>
217 * include/bits/locale_facets.tcc: Remove some unnecessary
219 * config/locale/generic/c_locale.cc: Include <cerrno> here.
220 * config/locale/gnu/c_locale.cc: Likewise.
222 2003-10-28 Paolo Carlini <pcarlini@suse.de>
224 * include/bits/locale_facets.tcc
225 (money_get<>::do_get(..., string_type&)): Absolutely avoid
226 dereferencing end iterators; general clean up.
228 2003-10-28 Paolo Carlini <pcarlini@suse.de>
230 * include/bits/locale_facets.tcc (time_get::_M_extract_num):
231 Absolutely avoid dereferencing end iterators.
232 (time_get::_M_extract_name): Likewise.
234 * include/bits/locale_facets.tcc
235 (time_get::_M_extract_via_format, case 'e'): Don't try to
236 be smart wrt returning the right __beg in case of parse
237 error, time_get::_M_extract_num must be fixed instead.
239 2003-10-27 Paolo Carlini <pcarlini@suse.de>
242 * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
243 * aclocal.m4: Regenerate.
244 * configure: Regenerate.
246 2003-10-27 Benjamin Kosnik <bkoz@redhat.com>
248 * docs/html/17_intro/TODO: Add links.
249 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
252 2003-10-27 Paolo Carlini <pcarlini@suse.de>
255 * include/bits/locale_facets.tcc
256 (time_get::_M_extract_via_format): Deal with code 'e'.
257 * testsuite/22_locale/time_get/get_date/char/12750.cc: New.
258 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.
260 * include/bits/locale_facets.tcc
261 (time_get::_M_extract_via_format): Tweak to absolutely avoid
262 dereferencing end iterators.
264 * include/bits/locale_facets.h (__verify_grouping):
265 Const-ify second parameter.
266 * include/bits/locale_facets.tcc (__verify_grouping): Ditto.
267 * src/locale-inst.cc (__verify_grouping): Ditto.
269 2003-10-27 Paolo Carlini <pcarlini@suse.de>
271 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
272 Various things: 1- Avoid absolutely end iterator dereferences;
273 2- Improve performance-wise the code skipping leading zeros;
274 3- Fix two bugs wrt early bail out in case of parsing errors
275 (see testcases); 4- General clean up.
276 (num_get::_M_extract_int): Likewise, except 3-. Additionally,
277 use __builtin_expect to favor base 10 inputs.
278 * testsuite/22_locale/num_get/get/char/7.cc: New.
279 * testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.
281 2003-10-26 Paolo Carlini <pcarlini@suse.de>
283 * testsuite/22_locale/money_put/put/char/1.cc: Clean up.
284 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.
286 2003-10-25 Paolo Carlini <pcarlini@suse.de>
288 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
289 __pos in only incremented, never used its value, remove it.
291 2003-10-24 Robert Millan <robertmh@gnu.org>
293 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
295 * aclocal.m4: Regenerated.
296 * configure: Regenerated.
298 2003-10-24 Paolo Carlini <pcarlini@suse.de>
300 * include/bits/locale_facets.tcc (money_get::do_get(...,
301 long double&): Properly size the temporary buffer.
302 * testsuite/22_locale/money_get/get/char/11.cc: New.
303 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto.
305 * include/bits/locale_facets.tcc (num_put::_M_group_int,
306 num_put::_M_group_float, money_put::do_put(..., const
307 string_type&), collate::do_compare, collate::do_transform):
308 Prefer basic_string::data() to c_str() when the '\0'
309 terminator is not really needed.
311 2003-10-24 Paolo Carlini <pcarlini@suse.de>
313 * include/bits/locale_facets.tcc (__verify_grouping):
314 Prefer '=' to an unnecessary '&='.
316 2003-10-24 Paolo Carlini <pcarlini@suse.de>
318 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
319 Tweak my fix for libstdc++/12657.
321 2003-10-24 Paolo Carlini <pcarlini@suse.de>
323 * include/bits/locale_facets.tcc (money_get::do_get(...,
324 string_type&): Minor tweak to the previous commit.
326 2003-10-24 Paolo Carlini <pcarlini@suse.de>
328 * include/bits/locale_facets.tcc (money_get::do_get(...,
329 string_type&): Disregard the previous commit: doesn't hurt but
330 doesn't accomplish anything useful either. This is the right
331 one, speeding up greatly the function in case of early fail.
333 2003-10-24 Paolo Carlini <pcarlini@suse.de>
335 * include/bits/locale_facets.tcc (money_get::do_get(...,
336 string_type&): Move an if block, thus minimizing the amount
337 of code processed anyway when __tmp_units.size() == 0.
339 2003-10-24 Paolo Carlini <pcarlini@suse.de>
341 * include/bits/locale_facets.tcc
342 (time_get<>::_M_extract_via_format): Deal with case 'C' too,
345 2003-10-23 Benjamin Kosnik <bkoz@redhat.com>
347 * docs/html/documentation.html: Add a pointer to the doxygen style
349 * docs/html/17_intro/TODO: Update.
350 * docs/html/test.html: Add instructions for running a subset of
353 2003-10-23 Paolo Carlini <pcarlini@suse.de>
355 * include/bits/locale_facets.tcc (money_get<>::do_get(...,
356 string_type&)): Use find_first_not_of to strip leading
357 zeros; if __tmp_units == "0" never prefix it with '-';
358 always fail if __tmp_units is empty.
359 * testsuite/22_locale/money_get/get/char/10.cc: New.
360 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto.
362 2003-10-23 Phil Edwards <phil@codesourcery.com>
364 * config/os/vxworks/ctype_noninline.h: Adjust ctor to match
367 2003-10-22 Paolo Carlini <pcarlini@suse.de>
369 * include/bits/locale_facets.tcc (__int_to_char): Remove
370 the const int parameter.
371 (_M_insert_int): Update caller.
372 * src/locale-inst.cc (__int_to_char): Update instantiations.
374 2003-10-22 Benjamin Kosnik <bkoz@redhat.com>
376 * include/bits/locale_facets.h: Correct byname facets for "C"
378 * config/locale/generic/ctype_members.cc: Same.
379 * config/locale/generic/messages_members.h: Same.
380 * config/locale/gnu/ctype_members.cc: Same.
381 * config/locale/gnu/messages_members.h: Same.
382 * include/bits/codecvt.h: Same.
383 * src/ctype.cc: Same.
384 * testsuite/22_locale/codecvt_byname/1.cc: New.
385 * testsuite/22_locale/collate/1.cc: Edit.
386 * testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to...
387 * testsuite/22_locale/collate_byname/named_equivalence.cc: ...here.
388 * testsuite/22_locale/ctype/1.cc: Derivation tests.
389 * testsuite/22_locale/ctype/11844.cc: Move...
390 * testsuite/22_locale/ctype_base/11844.cc: ...here.
391 * testsuite/22_locale/ctype_base/1.cc: Move mask bits here.
392 * testsuite/22_locale/ctype_byname/1.cc: Name.
393 * testsuite/22_locale/messages_byname/1.cc: New.
394 * testsuite/22_locale/messages_byname/named_equivalence.cc: New.
395 * testsuite/22_locale/moneypunct_byname/1.cc: Derivation test.
396 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New.
397 * testsuite/22_locale/numpunct/1.cc: Edit.
398 * testsuite/22_locale/numpunct_byname/2.cc: Move...
399 * testsuite/22_locale/numpunct/members/char/3.cc: ...here.
400 * testsuite/22_locale/numpunct_byname/1.cc: Derivation tests.
401 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: New.
403 2003-10-22 Paolo Carlini <pcarlini@suse.de>
406 * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro,
407 checking for the availability of int64_t.
408 (GLIBCXX_CHECK_LFS): New macro, checking for LFS support.
409 * configure.ac: Call here.
410 * acconfig.h: Add undef for the corresponding symbols.
411 * config/io/basic_file_stdio.cc (__basic_file<char>::open):
412 Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen.
413 (__basic_file<char>::seekoff): Likewise, call lseek64 when
414 available, otherwise lseek, checking the __off parameter.
415 * include/bits/postypes.h: Typedef __streamoff_base_type
416 to int64_t if available, otherwise long long.
417 * aclocal.m4: Regenerate.
418 * config.h.in: Likewise.
419 * configure: Likewise.
421 * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV):
422 Use AC_TRY_LINK instead of AC_TRY_COMPILE.
424 2003-10-22 Paolo Carlini <pcarlini@suse.de>
427 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
428 Implement resolution of DR 292 (WP).
429 * docs/html/ext/howto.html: Add entry for DR 292.
431 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
433 * include/ext/mt_allocator.h: Change include to gthr.h.
434 * include/ext/rope: Same. Add _Refcount_base definitions.
435 * include/ext/pool_allocator.h: Adjust namespaces.
436 * include/bits/stl_threads.h (_Refcount_base): Move.
437 Put remaining into namespace __gnu_cxx.
439 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
442 * include/bits/locale_facets.h (ctype<char>): Remove
443 __ctype_abstract_base.
444 (ctype<char>::do_is): Remove.
445 (ctype<char>::do_scan_is): Remove.
446 * src/ctype.cc: Same. Inline the rest.
447 * testsuite/22_locale/ctype/is/char/9858.cc: New.
448 * config/os/aix/ctype_noninline.h: Adjust ctor.
449 * config/os/bsd/freebsd/ctype_noninline.h: Same.
450 * config/os/bsd/netbsd/ctype_noninline.h: Same.
451 * config/os/djgpp/ctype_noninline.h: Same.
452 * config/os/generic/ctype_noninline.h: Same.
453 * config/os/gnu-linux/ctype_noninline.h: Same.
454 * config/os/hpux/ctype_noninline.h: Same.
455 * config/os/irix/irix5.2/ctype_noninline.h: Same.
456 * config/os/irix/irix6.5/ctype_noninline.h: Same.
457 * config/os/mingw32/ctype_noninline.h: Same.
458 * config/os/newlib/ctype_noninline.h: Same.
459 * config/os/qnx/qnx6.1/ctype_noninline.h: Same.
460 * config/os/solaris/solaris2.5/ctype_noninline.h: Same.
461 * config/os/solaris/solaris2.6/ctype_noninline.h: Same.
462 * config/os/solaris/solaris2.7/ctype_noninline.h: Same.
463 * config/os/windiss/ctype_noninline.h: Same.
465 2003-10-21 Paolo Carlini <pcarlini@suse.de>
467 * src/locale.cc: Tweak a comment.
468 * src/localename.cc: Move a comment.
470 2003-10-20 Benjamin Kosnik <bkoz@redhat.com>
473 * testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
474 * testsuite_hooks.cc: Same.
475 * 22_locale/numpunct/members/pod/1.cc: Edit.
476 * 22_locale/numpunct/members/pod/2.cc: Same.
477 * 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
478 * 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
479 * 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
480 * 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
481 * 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
482 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
483 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
484 * 27_io/basic_istream/sentry/pod/1.cc: New.
485 * 27_io/basic_ostream/sentry/pod/1.cc: New.
486 * 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
487 * 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.
489 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
491 * config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
492 of external _MIPS_SIM_ABI32.
494 2003-10-20 Phil Edwards <phil@codesourcery.com>
496 * configure.ac: Fix comment typo.
497 * configure.host: Add vxworks to host_os switch.
498 * crossconfig.m4: Remove old commented os_include_dir variables
499 left over from autotools transition.
500 (*-vxworks): New stanza.
501 (*-windiss): Add missing symbols.
502 * configure: Regenerate.
503 * config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
504 config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
506 * config/os/windiss/os_defines.h: Define __C9X__.
508 2003-10-19 David Edelsohn <edelsohn@gnu.org>
511 * configure.host (aix4,aix*): Define os_include_dir to os/generic.
513 2003-10-18 Andreas Tobler <a.tobler@schweiz.ch>
515 * src/locale.cc (locale::_S_initialize): Re-apply workaround a
516 confusion of the use of the gthr API when __gthread_active_p()
519 2003-10-17 Benjamin Kosnik <bkoz@redhat.com>
521 * src/Makefile.am: Add new files.
522 * src/Makefile.in: Regenerate.
523 * src/globals.cc: Split into..
524 * src/globals_io.cc: New.
525 * src/globals_locale.cc: New.
526 * src/ios.cc: Split into...
527 * src/ios_init.cc: New.
528 * src/ios_locale.cc: New.
529 * src/locale-inst.cc: Split into..
530 * src/wlocale-inst.cc: New.
531 * src/locale-misc-inst.cc: New.
532 * src/locale.cc, src/localename: Split into...
533 * src/locale_facets.cc: New.
534 * src/locale_init.cc: New.
535 * src/wstring-inst.cc: Add copyright info.
537 2003-10-16 Petur Runolfsson <peturr02@ru.is>
542 * config/io/basic_file_stdio.cc (__basic_file::seekoff):
543 Change return value from streampos to streamoff.
544 (__basic_file::seekpos): Delete.
545 * config/io/basic_file_stdio.h: Same.
546 * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
547 * include/Makefile.am (bits_headers): Add bits/postypes.h.
548 * include/bits/char_traits.h: Include bits/postypes.h instead of
550 * include/bits/fstream.tcc (basic_filebuf::open,
551 basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
552 values, use == and != instead.
553 (basic_filebuf::_M_seek): Use explicit conversion from streamoff
555 (basic_filebuf::imbue): Don't use ! on pos_type values, use
556 == instead. Don't use __check_facet(_M_codecvt) unless is_open().
557 * include/bits/postypes.h: New file.
558 Add __streamoff_base_type typedef, streamsize.
559 (streamoff, streampos, wstreampos): Define typedefs, with
560 streamoff defined as...
561 (streamoff): New class. Document implementation defined
563 (fpos): New implementation. Document implementation defined
565 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
566 explicit conversion from pos_type to off_type.
567 * include/std/std_iosfwd.h: Include bits/postypes.h instead
569 * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
570 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
571 * testsuite/27_io/fpos/11450.cc: New test.
572 * testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
573 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
574 * testsuite/27_io/types/3.cc: New test.
576 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
578 * configure.host: Remove fpos_include_dir.
579 * configure.ac: Remove FPOS_INC_SRCDIR.
580 * configure: Regenerate.
581 * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
582 * aclocal.m4: Regenerate.
583 * include/Makefile.am (host_headers): Remove fpos.h.
584 (bits_headers): Add postypes.h.
585 * include/Makefile.in: Regenerate.
586 * config/os/gnu-linux/fposh: Remove.
587 * config/os/generic/fpos.h: Remove.
589 * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
590 * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
591 * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
592 * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
593 * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
594 * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
595 * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
596 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
597 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
598 * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
599 * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
600 * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
601 * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
602 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
603 * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
604 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
605 * testsuite/27_io/objects/char/10.cc: Same.
607 2003-10-16 Paolo Carlini <pcarlini@suse.de>
609 * src/locale.cc (locale::locale(const char*)): ... one
610 more comparison missed in the previous commit.
612 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
614 * acconfig.h: Add HAVE_DRAND48.
615 * crossconfig.m4: Remove ISATTY.
616 * aclocal.m4: Regenerated.
617 * config.h.in: Regenerated.
618 * configure: Regenerated.
620 2003-10-16 Bernardo Innocenti <bernie@develer.com>
622 * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
623 __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
624 Document SMP safeness of asm macros.
626 2003-10-16 Paolo Carlini <pcarlini@suse.de>
628 * src/locale.cc (locale::locale(const char*)): Tweak
629 a couple of comparisons to use basic_string operators.
631 2003-10-16 Paolo Carlini <pcarlini@suse.de>
634 * config/locale/gnu/monetary_members.cc
635 (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
636 Don't leak memory if new throws.
637 * src/locale.cc (locale::locale(const char*)): In order not
638 to leak memory in case new throws, use a basic_string type
639 for __res too and avoid strdup.
641 2003-10-14 Jeff Bailey <jbailey@nisa.net>
644 * crossconfig.m4: Share the config between *-linux* and *-gnu*.
645 * configure: Regenerate.
647 2003-10-14 Carlo Wood <carlo@alinoe.com>
650 * include/bits/demangle.h (session<Allocator>::
651 decode_unqualified_name(string_type& output)): Fail on a
652 <operator-name> when decoding <template-argument>.
653 * testsuite/demangle/regression/cw-15.cc: New.
655 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
658 * include/bits/stl_algo.h (unique): Fix.
659 * testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
660 * testsuite/25_algorithms/unique/11480.cc: New, from the PR.
661 * testsuite/25_algorithms/unique/2.cc: New.
663 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
665 * src/localename.cc (_M_replace_categories, M_replace_facet):
666 Const-ify a couple of variables.
668 2003-10-14 Petur Runolfsson <peturr02@ru.is>
669 Andreas Tobler <a.tobler@schweiz.ch>
671 * src/locale.cc (locale::_S_initialize): Workaround a confusion
672 of the use of the gthr API when __gthread_active_p() returns true.
674 2003-10-12 Petur Runolfsson <peturr02@ru.is>
675 Paolo Carlini <pcarlini@unitus.it>
678 * src/strstream.cc (pbackfail): Fix to use to_int_type.
679 * testsuite/backward/11460.cc: New, from the PR.
681 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
683 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
684 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
685 * include/bits/basic_string.tcc: Likewise.
686 * include/bits/ios_base.h: Likewise.
687 * include/bits/istream.tcc: Likewise.
688 * include/bits/locale_facets.tcc: Likewise.
689 * include/bits/ostream.tcc: Likewise.
690 * include/bits/stl_function.h: Likewise.
691 * include/bits/stl_multiset.h: Likewise.
692 * include/bits/stl_pair.h: Likewise.
693 * include/bits/stl_set.h: Likewise.
694 * include/bits/streambuf_iterator.h
695 * include/std/std_iosfwd.h: Likewise.
696 * include/std/std_istream.h: Likewise.
697 * include/std/std_sstream.h: Likewise.
698 * include/std/std_streambuf.h: Likewise.
699 * src/ios.cc: Likewise.
700 * include/bits/c++config:
701 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
702 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
703 dg-error directive due to removal of a blank line.
704 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
706 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
707 Paolo Carlini <pcarlini@unitus.it>
709 PR libstdc++/11844/11740 (cont)
710 * config/os/generic/ctype_inline.h (ctype<char>::is):
711 Generically, use a bitmasksize of 15 (instead of 10);
712 Fix the logic to actually return (M & m) != 0 as per
715 2003-10-11 Bernardo Innocenti <bernie@develer.com>
717 * crossconfig.m4 (*-uclinux*): New target.
718 * configure: Regenerate.
720 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
722 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
723 Avoid unnecessarily calling __builtin_alloca and dealing
724 explicitly with width() smaller than zero.
725 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
726 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
727 const char*), operator<<(basic_ostream<char, _Traits>&,
728 const char*), operator<<(basic_ostream, const basic_string&)):
731 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
733 * config/linker-map.gnu: Make more *_type_info bits visible.
734 Move new/delete bits back into GLIBCXX space.
736 * include/bits/locale_classes.h: Move _M_id out of line, so that
737 locale::id::_S_highwater can be removed from the export list.
738 * src/locale.cc (locale::id::_M_id): Define.
740 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
742 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
745 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
748 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
749 to conform to the requirements of 22.2.1.
750 * config/os/bsd/freebsd/ctype_base.h: Likewise.
751 * config/os/djgpp/ctype_base.h: Likewise.
752 * config/os/generic/ctype_base.h: Likewise.
753 * config/os/gnu-linux/ctype_base.h: Likewise.
754 * config/os/hpux/ctype_base.h: Likewise.
755 * config/os/irix/irix6.5/ctype_base.h: Likewise.
756 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
757 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
758 * testsuite/22_locale/ctype/11844.cc: New.
760 * config/locale/generic/ctype_members.cc (do_is):
761 Generically, use a bitmasksize of 15 (instead of 10), since
762 we don't know the numerical encoding of the various categories
763 in the underlying /usr/include/ctype.h.
765 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
767 * src/string-inst.cc: Prune.
768 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
769 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
771 2003-10-09 Petur Runolfsson <peturr02@ru.is>
773 * src/io-inst.cc: Don't include iostream.
774 * include/bits/ios_base.h (ios_base::failure): Use string.
775 * src/Makefile.am: Add ios_failure.cc.
776 * src/Makefile.in: Regenerate.
777 * src/ios.cc: Move ios_base::failure definitions to...
778 * src/ios_failure.cc: ...here. New.
780 2003-10-09 Petur Runolfsson <peturr02@ru.is>
783 * include/bits/fstream.tcc (basic_filebuf::seekoff):
784 Move code needed for both seekoff and seekpos...
785 (basic_filebuf::_M_seek): ...here. New function.
786 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
787 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
788 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
790 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
792 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
794 * include/bits/locale_facets.tcc: More minor cosmetic
795 changes and const-ifications of some variables.
797 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
799 * include/bits/locale_facets.tcc: Minor cosmetic changes
800 and const-ifications of some variables.
802 * include/bits/locale_facets.tcc
803 (money_get::do_get(..., string_type&)): Simplify an if-else.
805 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
808 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
809 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
810 * config/locale/generic/ctype_members.cc: Same.
811 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
813 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
815 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
816 Improve performance-wise: avoid one traits::copy, avoid
817 the __builtin_alloca, streamline.
819 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
821 * include/bits/locale_facets.tcc
822 (num_put::do_put(..., bool)): Prefer ?: to if-else.
823 (time_get::_M_extract_name): Qualify min with std::.
824 (__pad<>::_S_pad): Constify two variables; simplify an
825 if-else statement factoring out some code.
827 * include/bits/locale_facets.tcc: Minor cosmetic changes.
829 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
831 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
832 Constify a couple of variables.
833 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
836 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
837 Petur Runolfsson <peturr02@ru.is>
839 * include/ext/stdio_sync_filebuf.h: Don't include the whole
840 <fstream>, only <streambuf> and <cstdio>.
842 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
845 * include/bits/fstream.tcc (imbue): In case a codecvt facet
846 is not available, set _M_codecvt = 0.
847 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
849 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
852 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
854 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
856 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
857 * src/locale.cc: Define.
858 * src/localename.cc: Use it.
859 * config/locale/generic/time_members.h: Same.
860 * config/locale/gnu/messages_members.h: Same.
861 * config/locale/gnu/time_members.h: Same.
863 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
866 * include/bits/fstream.tcc (seekoff): Ignore the openmode
868 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
869 seekpos): Remove the openmode argument.
870 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
871 seekpos): Remove redundant placeholder for the openmode argument.
872 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
873 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
874 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
875 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
876 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
878 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
880 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
881 (locale::facet::_S_get_c_locale): Same.
883 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
885 * config/linker-map.gnu: Export _S_get_c_locale instead of
888 2003-10-02 Petur Runolfsson <peturr02@ru.is>
890 * config/locale/generic/c_locale.cc
891 (category_names, locale::_S_categories): Const qualify.
892 * config/locale/gnu/c_locale.cc: Same.
893 * config/locale/generic/time_members.h (__timepunct::__timepunct):
894 Copy string contents before assigning to _M_name_timepunct,
895 qualify strcpy and strlen with std::.
896 * config/locale/gnu/time_members.h: Same.
897 * config/locale/gnu/messages_members.h (messages::messages):
898 Copy string contents before assigning to _M_name_messages,
899 qualify strcpy and strlen with std::.
900 * config/os/gnu-linux/ctype_noninline.h
901 (ctype<char>::classic_table()): Don't call locale::classic().
902 * include/bits/locale_classes.h
903 (locale::_S_categories): Const qualify.
904 (locale::_S_once, locale::_S_initialize_once,
905 locale::facet::_S_once, locale::facet::_S_initialize_once,
906 locale::facet::_S_get_c_locale): Declare.
907 (locale::_S_initialize): Don't define.
908 (locale::facet::_S_c_locale): Make private.
909 (locale::facet::_S_c_name): Same, const qualify.
910 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
911 parameters, add throw() specifier.
912 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
913 messages::_M_name_messages): Const qualify.
915 (locale::_S_once, locale::facet::_S_once): Define.
916 (locale::classic): Move initialization code...
917 (locale::_S_initialize_once): ...here.
918 (locale::_S_initialize): Call _S_initialize_once through
920 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
921 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
922 __gthread_once before returning _S_c_locale.
923 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
924 Drop unused parameters, add throw() specifier, don't initialize
925 locale::facet::_S_c_locale and _S_c_name.
927 * config/locale/generic/messages_members.h:
928 Replace _S_c_locale with _S_get_c_locale().
929 * config/locale/gnu/c_locale.cc: Same.
930 * config/locale/gnu/messages_members.h: Same.
931 * config/locale/gnu/numeric_members.cc: Same.
932 * config/locale/gnu/time_members.cc: Same.
933 * config/os/gnu-linux/ctype_noninline.h: Same.
934 * include/bits/locale_facets.h: Same.
935 * include/bits/locale_facets.tcc: Same.
936 * src/codecvt.cc: Same.
937 * src/ctype.cc: Same.
939 2003-10-02 Carlo Wood <carlo@alinoe.com>
941 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
942 Decode symbols that start with _GLOBAL_[ID]_ differently: the
943 trailing part ends with a terminating zero and is not necessarily an
945 * src/demangle.cc (): Same.
946 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
948 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
950 * testsuite/22_locale/locale/cons/12438.cc: Use
951 __gnu_test::try_named_locale("").
953 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
955 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
956 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
958 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
959 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
961 * config.h.in, configure: Regenerate.
962 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
965 2003-10-01 Nathan Myers <ncm@cantrip.org>
967 * include/bits/locale_facets.tcc (time_put::put): Avoid
968 expensive *__s++, in favor of *__s, ++__s.
970 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
972 * include/bits/locale_facets.tcc (time_put::put): Minor
973 tweak to the previous commit.
975 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
978 * include/bits/locale_facets.tcc (time_put::put): Deal
979 with the three issues pointed out by the PR.
980 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
981 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
982 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
983 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
984 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
986 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
988 * include/bits/stl_algo.h: Minor cosmetic reformattings.
990 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
992 * include/bits/stl_algo.h (search_n): Tweak, to spare the
995 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
997 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
998 qualify exception name.
1000 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
1003 * include/bits/locale_facets.tcc (locale::combine): Don't
1004 leak memory if _M_replace_facet throws.
1005 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
1007 * include/bits/locale_classes.h (locale::locale(const locale&,
1008 _Facet*)): Tweak, use consistently _M_remove_reference.
1010 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
1012 PR libstdc++/12352 (cont)
1013 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
1014 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
1016 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
1017 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
1018 !_M_caches, !_M_names.
1020 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1022 * configure.host: Handle Solaris 2.5 micro releases explicitly.
1023 Remove wildcards from Solaris 2.6, 7-9: there were no
1025 Treat Solaris 10 and up like 7-9.
1027 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
1029 * include/bits/stl_algo.h (search_n): Improve the previous
1030 fix as suggested by Martin.
1032 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
1035 * include/bits/istream.tcc (peek): Set eofbit if sgetc
1037 * testsuite/27_io/basic_istream/peek/char/12296.cc:
1040 2003-09-29 Nathan Myers <ncm@cantrip.org>
1041 Paolo Carlini <pcarlini@unitus.it>
1044 * include/bits/stl_algo.h (search_n):
1045 Use iterator_traits<>::difference_type for __n.
1046 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
1048 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
1050 * testsuite/22_locale/locale/cons/12352.cc:
1051 Use __attribute__((unused)) for test.
1053 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
1055 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
1056 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
1057 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
1059 2003-09-26 Brad Spencer <spencer@infointeractive.com>
1061 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
1062 Explicitly qualify exceptions.
1063 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
1064 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1065 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1066 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1068 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
1071 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
1072 size_t)): Don't leak if memory allocations for _M_facets,
1073 _M_caches, and _M_names fail.
1074 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
1075 (locale::_Impl::_M_replace_categories(const _Impl*,
1077 (locale::_Impl::_M_install_facet(const locale::id*,
1078 const facet*)): Ditto.
1079 * include/bits/locale_classes.h (locale::locale(const locale&,
1080 _Facet*)): Don't leak memory.
1081 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
1083 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
1084 bool)): Qualify with std:: strcpy, tweak.
1085 * include/bits/locale_classes.h
1086 (locale::_Impl::_M_check_same_name): Qualify strcmp.
1088 2003-09-25 Brad Spencer <spencer@infointeractive.com>
1091 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
1093 * aclocal.m4: Regenerate.
1094 * config.h.in: Regenerate.
1095 * configure: Regenerate.
1096 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
1097 * config/io/basic_file_stdio.cc: Guard unistd.h.
1098 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
1099 * include/c_std/std_cwchar.h: Same.
1100 * include/c_std/std_cwctype.h: Same.
1102 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
1105 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
1106 * config/locale/generic/ctype_members.cc: Same.
1107 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
1108 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
1110 * config/os/generic/ctype_inline.h: Update.
1112 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
1114 * src/Makefile.am (version_dep): New variable.
1115 (libstdc___la_DEPENDENCIES): Use it to add dependency on
1116 libstdc++-symbol.ver only when using symbol versioning.
1117 * src/Makefile.in: Regenerate.
1119 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
1121 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
1122 * testsuite/testsuite_hooks.h: Same.
1123 * testsuite/*/*.cc: Same.
1125 2003-09-22 Petur Runolfsson <peturr02@ru.is>
1127 * include/bits/istream.tcc (basic_istream::read,
1128 basic_istream::readsome, basic_istream::putback,
1129 basic_istream::unget, operator>>(basic_istream, CharT)):
1130 Avoid redundant setstate(failbit) calls when sentry::operator bool()
1133 2003-09-22 Carlo Wood <carlo@alinoe.com>
1136 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
1137 char const*, int, int)): Remove unused identifier
1138 cv_qualifier for overloaded constructor.
1140 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
1143 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
1144 WARN_FLAGS, remove -Wno-format.
1145 * aclocal.m4: Regenerate.
1146 * configure: Regenerate.
1148 2003-09-18 Petur Runolfsson <peturr02@ru.is>
1150 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
1151 * config/io/basic_file_stdio.h: Same.
1152 * include/std/std_fstream.h (__ctype_type): Delete.
1153 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
1155 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
1158 * configure.host (abi_baseline_pair): Error out on solaris2
1159 configurations without a minor version number.
1161 2003-09-13 Phil Edwards <phil@codesourcery.com>
1163 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
1164 if man pages are on.
1165 * docs/doxygen/user.cfg.in: And here.
1167 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
1168 Andreas Jaeger <aj@suse.de>
1171 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
1172 abi_check if cross compiling.
1173 * aclocal.m4: Regenerated.
1174 * configure: Regenerated.
1176 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
1178 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
1179 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
1180 (__cxa_vec_new3): Likewise.
1182 2003-09-10 Petur Runolfsson <peturr02@ru.is>
1184 * include/bits/fstream.tcc (basic_filebuf::seekoff):
1185 Use codecvt::length to handle variable-width stateless encodings
1187 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
1188 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
1190 2003-09-10 Alan Modra <amodra@bigpond.net.au>
1192 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
1195 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1197 * configure: Regenerate.
1199 2003-09-09 David Edelsohn <edelsohn@gnu.org>
1201 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
1202 qualifier from _S_synced_with_stdio.
1204 2003-09-09 Bernardo Innocenti <bernie@develer.com>
1206 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
1208 2003-09-04 Petur Runolfsson <peturr02@ru.is>
1211 * include/bits/fstream.tcc
1212 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
1213 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
1214 _M_ext_buf_size, _M_ext_next and _M_ext_end.
1215 (basic_filebuf::underflow): Handle variable-width stateless
1216 encodings (codecvt::encoding() == 0), including UTF-8.
1217 * include/std/std_fstream.h (basic_filebuf):
1218 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
1219 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
1220 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
1221 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
1222 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
1223 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
1224 * testsuite/27_io/objects/wchar_t/12.cc: New test.
1225 * testsuite/27_io/objects/wchar_t/13.cc: New test.
1227 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
1229 * docs/html/faq/index.html: Note that a namespace alias can't be
1230 used when specialising templates in extension namespace.
1231 * docs/html/faq/index.txt: Regenerate.
1233 2003-09-03 Petur Runolfsson <peturr02@ru.is>
1236 * include/ext/stdio_sync_filebuf.h
1237 (stdio_sync_filebuf::_M_unget_buf): Declare it.
1238 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
1239 (stdio_sync_filebuf::uflow): Store the returned character in
1241 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
1242 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
1243 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
1244 _M_unget_buf, if any, else eof().
1245 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
1246 _M_unget_buf, if any, else eof().
1247 * testsuite/27_io/objects/char/12048.cc: Rename to...
1248 * testsuite/27_io/objects/char/12048-1.cc: ...this.
1249 * testsuite/27_io/objects/char/12048-2.cc: New test.
1250 * testsuite/27_io/objects/char/12048-3.cc: New test.
1251 * testsuite/27_io/objects/char/12048-4.cc: New test.
1252 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
1253 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
1254 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
1255 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
1256 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
1257 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
1258 * testsuite/ext/stdio_sync_filebuf_char.cc
1259 (test02, test03, test04, test05): New tests.
1260 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
1261 (test02, test03, test04, test05): New tests.
1263 2003-09-03 Petur Runolfsson <peturr02@ru.is>
1265 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
1266 stringbuf or strstreambuf. Fix typos.
1268 2003-09-02 Phil Edwards <phil@codesourcery.com>
1270 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
1272 * config.h.in: Add _GLIBCXX_HOSTED.
1273 * libsupc++/eh_term_handler.cc: Test it here; initialize
1274 __terminate_handler to std::abort if freestanding.
1275 * aclocal.m4, configure: Regenerated.
1276 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
1278 2003-08-29 Nathan Myers <ncm@cantrip.org>
1281 * include/bits/locale_facets.tcc (__pad): delete dead code.
1283 2003-08-28 Alan Modra <amodra@bigpond.net.au>
1285 * configure.ac: Test $with_cross_host against $build_alias, not $build.
1286 * configure: Regenerate.
1288 2003-08-27 Petur Runolfsson <peturr02@ru.is>
1290 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
1291 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
1293 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1295 * Makefile.am: Remove trailing whitespace. Remove needless
1296 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
1297 * include/Makefile.am: Likewise.
1298 * libmath/Makefile.am: Likewise.
1299 * libsupc++/Makefile.am: Likewise.
1300 * po/Makefile.am: Likewise.
1301 * src/Makefile.am: Likewise.
1302 * testsuite/Makefile.am: Likewise.
1304 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1305 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1306 testsuite/Makefile.in: Regenerated.
1308 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1310 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
1312 * aclocal.m4, configure: Regenerate.
1314 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1316 * acinclude.m4: Include no-executables.m4.
1317 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
1318 * aclocal.m4: Regenerated.
1319 * configure: Regenerated.
1321 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1323 * acinclude.m4: Don't call AC_ISC_POSIX.
1324 * aclocal.m4: Regenerated.
1325 * configure: Regenerated.
1327 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1329 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
1330 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
1331 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
1332 used elsewhere in this file.
1333 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
1334 * configure.ac: ...called here to expand all conditionals.
1335 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
1336 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
1337 (install-freestanding-headers): New target, a subset of
1338 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
1340 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1341 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1342 src/Makefile.in, testsuite/Makefile.in: Regenerated.
1344 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
1346 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
1347 pathnames from generated tag file.
1349 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
1351 * Makefile.am: Add comment.
1352 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
1354 * configure.ac: Use them both here, instead of hardcoded lists.
1356 * fragment.am: Add STAMP varaible.
1357 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
1359 (stamp-*): Move file creation rule outside of 'if' branches to
1360 ensure the stamp-* files are actually updated. Use $(STAMP).
1361 * src/Makefile.am: Remove now-nonexistant variable.
1362 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
1364 * po/Makefile.am: Include same fragment as all the others.
1366 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1367 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
1369 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
1371 * testsuite/data/cin_unget-1.txt: New.
1372 * testsuite/27_io/objects/char/12048.cc: New.
1374 2003-08-25 Zack Weinberg <zack@codesourcery.com>
1376 * config/os/hpux/os_defines.h: Unconditionally define
1377 _GLIBCXX_GTHREAD_USE_WEAK to 0.
1379 2003-08-19 Geoffrey Keating <geoffk@apple.com>
1381 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
1382 crosses to Darwin targets.
1383 * configure: Regenerate.
1385 2003-08-19 Petur Runolfsson <peturr02@ru.is>
1387 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
1389 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
1391 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
1392 in the patch from 3 minutes ago. Boy, is my face red.
1393 * configure: At least I remembered to regenerate this.
1395 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
1397 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
1398 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
1399 things from the top level.
1400 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
1401 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
1402 (currently unused). Strip the fake-VPATH shell fragment from
1403 automake-generated rules, if present.
1404 * linkage.m4: Add comment.
1406 * fragment.am: New file, containing factored-out common settings.
1407 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
1408 * Makefile.am: Include fragment.am. Remove common variables.
1409 * include/Makefile.am: Likewise.
1410 * libmath/Makefile.am: Likewise.
1411 * libsupc++/Makefile.am: Likewise.
1412 * po/Makefile.am: Likewise. Print rules during check.
1413 * src/Makefile.am: Likewise.
1414 * testsuite/Makefile.am: Likewise.
1416 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1417 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1418 src/Makefile.in, testsuite/Makefile.in: Regenerate.
1420 2003-08-11 John Levon <levon@movementarian.org>
1422 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
1423 remaining places for the name change from GLIBCPP_FORCE_NEW
1424 to GLIBCXX_FORCE_NEW
1426 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
1428 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
1430 * include/bits/basic_ios.tcc: Same.
1431 * include/bits/istream.tcc: Same.
1432 * include/bits/locale_facets.h: Same.
1433 * include/bits/ostream.tcc: Same.
1434 * include/std/std_istream.h: Same.
1435 * include/std/std_ostream.h: Same.
1436 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
1438 * include/ext/rope: Remove build warning.
1440 2003-08-11 Andreas Jaeger <aj@suse.de>
1442 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
1444 * include/Makefile.in: Regenerated.
1446 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
1448 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
1449 when calling AC_PROG_CC.
1450 * aclocal.m4, configure: Regenerate.
1452 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
1454 * acinclude.m4: Properly quote variable which will be expanded
1455 inside makefiles. Use CXX instead of CC to extract compiler info.
1456 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
1457 correct form in PACKAGE.
1458 * aclocal.m4, configure: Regenerate.
1460 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
1462 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
1463 (check-abi-verbose): Same.
1464 * testsuite/testsuite_performance.h (report_performance): Same.
1466 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
1468 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
1470 2003-08-07 Doug Gregor <dgregor@apple.com>
1472 * include/bits/char_traits.h (char_traits::not_eof): Match operand
1475 2003-08-07 Bernardo Innocenti <bernie@develer.com>
1478 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
1479 Replace variants with new BSET-based version.
1481 2003-08-07 Carlo Wood <carlo@alinoe.com>
1483 * include/bits/demangle.h: Do not use cctype functions that depend
1486 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1488 * configure.in: Rename...
1489 * configure.ac: ...to this.
1490 * docs/html/17_intro/porting.texi: Update name.
1492 * docs/html/17_intro/porting.html: Regenerate.
1493 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
1494 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1495 testsuite/Makefile.in: Regenerate (picks up new dependancy).
1497 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1499 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
1500 pipe, open the window to let out the fumes, redo the option-handling
1501 logic to properly execute the detection test.
1502 * aclocal.m4, configure: Regenerate.
1504 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1506 Convert to new autotools.
1507 * acconfig.h: Update with correct names.
1508 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
1509 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
1510 * configure.in: Update. Split hardcoded cross-configury settings
1512 * crossconfig.m4: ...here. New file. Contents untouched.
1513 * acinclude.m4: Reorganize and rewrite as needed. Split large
1515 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
1517 * scripts/testsuite_flags.in: Update.
1519 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
1520 variables (already generated by automake).
1521 * include/Makefile.am: Ditto.
1522 * libmath/Makefile.am: Ditto.
1523 * libsupc++/Makefile.am: Ditto.
1524 * po/Makefile.am: Ditto.
1525 * src/Makefile.am: Ditto.
1527 * aclocal.m4: Regenerate using new versions.
1528 * config.h.in: Ditto.
1530 * Makefile.in: Ditto.
1531 * include/Makefile.in: Ditto.
1532 * libmath/Makefile.in: Ditto.
1533 * libsupc++/Makefile.in: Ditto.
1534 * po/Makefile.in: Ditto.
1535 * src/Makefile.in: Ditto.
1536 * testsuite/Makefile.in: Ditto.
1538 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1540 * po/libstdc++.pot: Re-extract/regenerate.
1542 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1544 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
1545 Remove unneeded variable assignments. Leave them for automake.
1546 * testsuite/lib/libstdc++-v3.exp: Rename...
1547 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
1549 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
1550 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
1553 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1555 * docs/doxygen/guide.html: run_doxygen uses bash.
1556 * docs/doxygen/mainpage.html: We'll be shipping tag files.
1557 * docs/doxygen/run_doxygen: Tweaks and improvements.
1558 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
1559 * docs/html/install.html: Update autoconf/automake requirements.
1560 * docs/html/test.html: Add section describing DejaGNU support.
1561 * docs/html/17_intro/confdeps.dot: New file, generates...
1562 * docs/html/17_intro/confdeps.png: ...this new file.
1563 * docs/html/Makefile: Generated here.
1564 * docs/html/17_intro/configury.html: New file.
1566 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
1568 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
1569 * testsuite/lib/libstdc++-v3.exp: ...to this.
1570 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
1572 2003-07-31 Doug Gregor <dgregor@apple.com>
1574 Add user specialization tests.
1575 * testsuite/23_containers/deque/1.cc: New.
1576 * testsuite/23_containers/list/1.cc: New.
1577 * testsuite/23_containers/map/1.cc: New.
1578 * testsuite/23_containers/multimap/1.cc: New.
1579 * testsuite/23_containers/multiset/1.cc: New.
1580 * testsuite/23_containers/set/1.cc: New.
1581 * testsuite/23_containers/vector/1.cc: New.
1583 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
1585 Reshuffle 23_containers testsuite.
1586 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
1587 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
1588 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
1589 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
1590 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
1591 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
1592 vector_resize.cc: Split into...
1593 * 23_containers/bitset/cons/1.cc: New.
1594 * 23_containers/bitset/cons/6282.cc: New.
1595 * 23_containers/bitset/count/6124.cc: New.
1596 * 23_containers/bitset/operations/1.cc: New.
1597 * 23_containers/bitset/operations/2.cc: New.
1598 * 23_containers/bitset/test/1.cc: New.
1599 * 23_containers/bitset/to_ulong/1.cc: New.
1600 * 23_containers/deque/cons/1.cc: New.
1601 * 23_containers/deque/cons/2.cc: New.
1602 * 23_containers/deque/operators/1.cc: New.
1603 * 23_containers/list/capacity/1.cc: New.
1604 * 23_containers/list/cons/1.cc: New.
1605 * 23_containers/list/cons/2.cc: New.
1606 * 23_containers/list/cons/3.cc: New.
1607 * 23_containers/list/cons/4.cc: New.
1608 * 23_containers/list/cons/5.cc: New.
1609 * 23_containers/list/cons/6.cc: New.
1610 * 23_containers/list/cons/7.cc: New.
1611 * 23_containers/list/cons/8.cc: New.
1612 * 23_containers/list/cons/9.cc: New.
1613 * 23_containers/list/modifiers/1.cc: New.
1614 * 23_containers/list/modifiers/2.cc: New.
1615 * 23_containers/list/modifiers/3.cc: New.
1616 * 23_containers/list/operators/1.cc: New.
1617 * 23_containers/list/operators/2.cc: New.
1618 * 23_containers/list/operators/3.cc: New.
1619 * 23_containers/list/operators/4.cc: New.
1620 * 23_containers/map/insert/1.cc: New.
1621 * 23_containers/map/operators/1.cc: New.
1622 * 23_containers/map/operators/1_neg.cc: New.
1623 * 23_containers/multiset/insert/1.cc: New.
1624 * 23_containers/priority_queue/members/7161.cc: New.
1625 * 23_containers/queue/members/7157.cc: New.
1626 * 23_containers/set/operators/1_neg.cc: New.
1627 * 23_containers/stack/members/7158.cc: New.
1628 * 23_containers/vector/bool/1.cc: New.
1629 * 23_containers/vector/bool/6886.cc: New.
1630 * 23_containers/vector/capacity/1.cc: New.
1631 * 23_containers/vector/capacity/2.cc: New.
1632 * 23_containers/vector/capacity/8230.cc: New.
1633 * 23_containers/vector/cons/1.cc: New.
1634 * 23_containers/vector/cons/2.cc: New.
1635 * 23_containers/vector/cons/3.cc: New.
1636 * 23_containers/vector/cons/4.cc: New.
1637 * 23_containers/vector/cons/6513.cc: New.
1638 * 23_containers/vector/element_access/1.cc: New.
1639 * 23_containers/vector/modifiers/1.cc: New.
1640 * 23_containers/vector/modifiers/2.cc: New.
1641 * 23_containers/vector/resize/1.cc: New.
1643 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1645 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
1647 * testsuite/thread/pthread2.cc: Likewise.
1648 * testsuite/thread/pthread3.cc: Likewise.
1649 * testsuite/thread/pthread4.cc: Likewise.
1650 * testsuite/thread/pthread5.cc: Likewise.
1651 * testsuite/thread/pthread6.cc: Likewise.
1652 * testsuite/thread/pthread7-rope.cc: Likewise.
1654 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
1656 * include/bits/c++config: Partial reversion (comment placement) of
1659 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
1661 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
1662 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
1663 (_GLIBCXX_AT_AT): Remove.
1664 (__USE_MALLOC): Remove.
1665 * include/std/std_fstream.h: Modify.
1666 * include/bits/basic_ios.h: Same.
1667 * include/bits/valarray_array.h: Same.
1668 * include/c_std/std_cmath.h: Same.
1669 * include/c_std/cmath.tcc: Same.
1670 * include/std/std_vector.h: Same.
1671 * include/std/std_string.h: Same.
1672 * include/std/std_stack.h: Same.
1673 * include/std/std_queue.h: Same.
1674 * include/std/std_list.h: Same.
1675 * include/std/std_deque.h: Same.
1676 * include/std/std_streambuf.h: Same.
1677 * include/std/std_sstream.h: Same.
1678 * include/std/std_ostream.h: Same.
1679 * include/std/std_istream.h: Same.
1680 * include/bits/valarray_array.tcc: Same, format.
1682 * include/c/std_cctype.h: Fix include guards.
1683 * include/c/std_cerrno.h: Same.
1684 * include/c/std_cfloat.h: Same.
1685 * include/c/std_climits.h: Same.
1686 * include/c/std_clocale.h: Same.
1687 * include/c/std_cmath.h: Same.
1688 * include/c/std_csetjmp.h: Same.
1689 * include/c/std_csignal.h: Same.
1690 * include/c/std_cstdarg.h: Same.
1691 * include/c/std_cstddef.h: Same.
1692 * include/c/std_cstdio.h: Same.
1693 * include/c/std_cstdlib.h: Same.
1694 * include/c/std_cstring.h: Same.
1695 * include/c/std_ctime.h: Same.
1696 * include/c/std_cwchar.h: Same.
1697 * include/c/std_cwctype.h: Same.
1698 * include/c_std/cmath.tcc: Same.
1699 * include/c_std/std_cmath.h: Same.
1701 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
1704 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1705 casts. Changes to avoid casting away constness. Eliminate
1706 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1707 initialization lists. Move out implementation of __black_count()
1709 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1710 Rename_Rb_tree_base_iterator::_M_increment() to
1711 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1713 * config/linker-map.gnu: Add and change symbols here.
1715 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1717 * docs/html/22_locale/howto.html: Use locale::classic() instead
1720 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1722 * testsuite/testsuite_hooks.h: Remove list include.
1723 (func_callback): Define as unique type, not std::list.
1724 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1725 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1726 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1727 * testsuite/23_containers/bitset_ctor.cc:
1728 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1729 * testsuite/18_support/numeric_limits.cc: Same.
1730 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1731 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1732 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1733 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1734 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1735 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1736 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1737 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1738 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1739 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1740 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1741 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1742 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1743 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1744 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1745 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1746 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1747 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1748 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1749 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1750 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1751 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1752 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1753 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1754 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1755 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1756 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1757 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1758 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1759 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1760 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1761 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1762 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1763 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1764 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1765 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1766 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1767 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1768 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1769 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1770 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1771 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1772 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1773 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1774 * testsuite/23_containers/bitset_ctor.cc: Same.
1775 * testsuite/23_containers/bitset_shift.cc: Same.
1776 * testsuite/23_containers/vector_ctor.cc: Same.
1777 * testsuite/23_containers/vector_element_access.cc: Same.
1778 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1779 * testsuite/24_iterators/iterator.cc: Same.
1780 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1781 * testsuite/25_algorithms/lower_bound.cc: Same.
1782 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1783 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1784 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1785 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1786 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1787 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1788 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1789 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1790 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1791 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1792 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1795 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1797 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1798 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1799 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1800 GLIBCPP to GLIBCXX (and explain as needed).
1802 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1806 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1808 * testsuite/22_locale/messages/members/char/1.cc,
1809 testsuite/22_locale/messages/members/char/2.cc,
1810 testsuite/22_locale/messages/members/char/3.cc,
1811 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1812 the origin of LOCALEDIR.
1813 * testsuite/lib/libstdc++-v3.exp: New file.
1815 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1817 * include/bits/char_traits.h: Update copyright, tweak.
1818 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1821 2003-07-24 Matt Austern <austern@apple.com>
1823 * /include/bits/char_traits.h (class char_traits): Put all the
1824 real work into the new class template __gnu_cxx::char_traits.
1825 Gave generic definitions for member functions. Types are taken
1826 from the new class template __gnu_cxx::_Char_types.
1827 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1828 file. Test of std::char_traits<short>, which serves as a test of
1829 the char_traits primary template.
1831 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1833 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1835 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1837 * testsuite/23_containers/map_operators.cc: Conform to
1838 container requirement as value must be Assignable.
1840 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1842 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1843 tests not only generation of pch files, but also their use.
1844 * aclocal.m4, configure: Rebuilt.
1846 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1848 * config/cpu/hppa/atomicity.h: Change
1849 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1850 to match misc-inst.cc
1852 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1854 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1855 * include/c_std/std_cctype.h: Ditto.
1856 * include/c_std/std_cerrno.h: Ditto.
1857 * include/c_std/std_cfloat.h: Ditto.
1858 * include/c_std/std_climits.h: Ditto.
1859 * include/c_std/std_clocale.h: Ditto.
1860 * include/c_std/std_cmath.h: Ditto.
1861 * include/c_std/std_csetjmp.h: Ditto.
1862 * include/c_std/std_csignal.h: Ditto.
1863 * include/c_std/std_cstdarg.h: Ditto.
1864 * include/c_std/std_cstddef.h: Ditto.
1865 * include/c_std/std_cstdio.h: Ditto.
1866 * include/c_std/std_cstdlib.h: Ditto.
1867 * include/c_std/std_cstring.h: Ditto.
1868 * include/c_std/std_ctime.h: Ditto.
1869 * include/c_std/std_cwchar.h: Ditto.
1870 * include/c_std/std_cwctype.h: Ditto.
1871 * include/std/std_algorithm.h: Ditto.
1872 * include/std/std_bitset.h: Ditto.
1873 * include/std/std_complex.h: Ditto.
1874 * include/std/std_deque.h: Ditto.
1875 * include/std/std_fstream.h: Ditto.
1876 * include/std/std_functional.h: Ditto.
1877 * include/std/std_iomanip.h: Ditto.
1878 * include/std/std_ios.h: Ditto.
1879 * include/std/std_iosfwd.h: Ditto.
1880 * include/std/std_iostream.h: Ditto.
1881 * include/std/std_istream.h: Ditto.
1882 * include/std/std_iterator.h: Ditto.
1883 * include/std/std_limits.h: Ditto.
1884 * include/std/std_list.h: Ditto.
1885 * include/std/std_locale.h: Ditto.
1886 * include/std/std_map.h: Ditto.
1887 * include/std/std_memory.h: Ditto.
1888 * include/std/std_numeric.h: Ditto.
1889 * include/std/std_ostream.h: Ditto.
1890 * include/std/std_queue.h: Ditto.
1891 * include/std/std_set.h: Ditto.
1892 * include/std/std_sstream.h: Ditto.
1893 * include/std/std_stack.h: Ditto.
1894 * include/std/std_stdexcept.h: Ditto.
1895 * include/std/std_streambuf.h: Ditto.
1896 * include/std/std_string.h: Ditto.
1897 * include/std/std_utility.h: Ditto.
1898 * include/std/std_valarray.h: Ditto.
1899 * include/std/std_vector.h: Ditto.
1901 2003-07-22 Doug Gregor <dgregor@apple.com>
1903 * include/bits/basic_string.h (basic_string::insert): Deprecate
1906 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1908 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1910 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1911 (test03): Include typeinfo for bad_cast.
1912 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1913 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1914 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1916 2003-07-21 Doug Gregor <dgregor@apple.com>
1918 * include/bits/boost_concept_check.h:
1919 (_EqualityComparableConcept::__constraints): Remove != from the
1920 list of constraints; it is not listed in Table 28 of the C++98
1923 2003-07-18 Andreas Jaeger <aj@suse.de>
1925 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1926 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1927 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1928 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1930 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1932 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1933 * config/locale/generic/messages_members.h: Tweaks.
1934 * config/locale/generic/monetary_members.cc
1935 (moneypunct::_M_initialize_moneypunct): Use cache.
1936 (moneypunct::~moneypunct): Delete cache.
1937 * config/locale/generic/time_members.cc:
1938 (__timepunct::_M_initialize_timepunct): Use cache.
1939 * config/locale/generic/time_members.h:
1940 (__timepunct::~__timepunct): Delete cache.
1941 (__timepunct::__timepunct): Set cache.
1942 * config/locale/gnu/messages_members.h: Tweaks.
1943 * config/locale/gnu/monetary_members.cc:
1944 (moneypunct::_M_initialize_moneypunct): Use cache.
1945 (moneypunct::~moneypunct): Delete cache.
1946 * config/locale/gnu/time_members.cc:
1947 (__timepunct::_M_initialize_timepunct): Use cache.
1948 * config/locale/gnu/time_members.h:
1949 (__timepunct::~__timepunct): Delete cache.
1950 (__timepunct::__timepunct): Set cache.
1951 * include/bits/locale_facets.h (__timepunct_cache): New.
1952 (__moneypunct_cache): New.
1953 * include/bits/locale_facets.tcc: Tweak.
1954 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1955 * src/locale-inst.cc: Instantiate caches.
1956 * src/globals.cc: Add "C" caches.
1957 * src/localename.cc: Use external "C" caches.
1959 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1961 * docs/doxygen/guide.html: Fix typo.
1963 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1965 * include/ext/pod_char_traits.h: Add state template argument.
1967 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1969 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1970 (num_get::_M_convert_int): To _M_insert_int.
1971 (num_get::_M_convert_float): To _M_insert_float.
1972 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1973 Use caches for ctype, num_get.
1974 (num_get::_M_extract_int): Same.
1975 (num_get::get(bool)): Same.
1976 (__verify_grouping): Use size_t.
1977 * src/locale-inst.cc: Update.
1978 * src/locale.cc: Adjust _S_atoms_in.
1980 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1982 * docs/doxygen/mainpage.html: Move building/writing instructions...
1983 * docs/doxygen/guide.html: ...to here. New file.
1985 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1987 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1988 * docs/html/faq/index.html: Same.
1989 * docs/html/faq/index.txt: Regenerate.
1991 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1994 * include/bits/locale_facets.tcc (money_get::do_get):
1995 Strip only _leading_ zeros.
1996 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1997 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1999 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2001 * include/ext/hash_map (class hash_multimap): Remove extra
2002 semicolons from __glibcxx_class_requires3 entries.
2003 * include/ext/hash_set (class hash_set): Ditto.
2004 (class hash_multiset): Ditto.
2006 2003-07-15 Petur Runolfsson <peturr02@ru.is>
2008 * include/bits/char_traits.h (char_traits<wchar_t>::move):
2009 Change last parameter from int_type to size_t.
2011 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
2013 * include/bits/stl_algo.h (includes, set_union, set_intersection,
2014 set_difference, set_symmetric_difference, max_element, min_element,
2015 next_permutation, prev_permutation, find_first_of, find_end):
2017 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
2018 restrictions in docs.
2019 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
2021 * docs/doxygen/doxygroups.cc (setoperations): New group.
2023 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
2025 * include/bits/basic_string.h: Document public functions.
2026 * docs/doxygen/TODO: Update c21 todo.
2028 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
2030 * include/bits/stl_list.h: Document more functions.
2031 * docs/doxygen/TODO: Update c23 todo.
2033 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2035 * config/locale/gnu/c_locale.h (__convert_from_v): One more
2038 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2040 * include/bits/stl_tempbuf.h: Qualify free with std::.
2041 * src/locale.cc: Include <cstdlib>, qualify getenv.
2043 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2045 * config/locale/gnu/c_locale.h (__convert_from_v): Include
2046 <cstdio>. Qualify names.
2047 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
2049 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2050 Nathan C. Myers <ncm-nospam@cantrip.org>
2053 * include/std/std_fstream.h (xsputn): Declare only.
2054 * include/bits/fstream.tcc (xsputn): Define, optimize for the
2055 always_noconv() case: when __n is sufficiently large flush
2056 the buffer and issue a direct write, if possible combining the
2057 two with writev in __basic_file<>::xsputn_2.
2058 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
2060 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
2062 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
2063 the availability of writev in <sys/uio.h>.
2064 * configure.in: Call here.
2065 * acconfig.h: Add undef for the corresponding symbol.
2066 * aclocal.m4: Regenerate.
2067 * configure: Regenerate.
2068 * config.h.in: Regenerate.
2069 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
2071 * include/std/std_fstream.h (sync): Constify a variable.
2073 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
2075 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
2076 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2078 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
2080 * config/locale/gnu/c_locale.h (__convert_from_v): Include
2081 <cstring> and <cstdlib>. Qualify names.
2083 2003-07-13 Mark Mitchell <mark@codesourcery.com>
2085 * config/locale/generic/c_locale.h: Include <cstdlib> and
2087 * include/bits/boost_concept_check.h: Add this-> to unqualified
2089 * include/bits/deque.tcc: Likewise.
2090 * include/bits/locale_facets.h : Likewise.
2091 * include/bits/ostream.tcc: Likewise.
2092 * include/bits/stl_algo.h: Likewise.
2093 * include/bits/stl_bvector.h: Likewise.
2094 * include/bits/stl_deque.h: Likewise.
2095 * include/bits/stl_list.h: Likewise.
2096 * include/bits/stl_tree.h: Likewise.
2097 * include/bits/stl_vector.h: Likewise.
2098 * include/bits/vector.tcc: Likewise.
2099 * include/ext/rope: Likewise.
2100 * include/ext/ropeimpl.h: Likewise.
2101 * include/ext/stdio_filebuf.h: Likewise.
2103 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
2105 * include/bits/basic_ios.h (copyfmt): Document.
2106 * include/bits/ios_base.h (event, event_callback, register_callback,
2107 xalloc, iword, pword): Document.
2108 (imbue, ~ios_base): Update docs on callbacks.
2110 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
2112 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
2113 warning messages if the environment cannot support symbol versioning.
2114 (port_specific_symbol_file): It's plural, add an 's' on the end.
2115 * configure.host: Likewise.
2116 * src/Makefile.am: Likewise.
2117 * config/linker-map.gnu: Remove one semicolon, heh.
2118 * scripts/extract_symvers: Don't assume useful 'export' syntax.
2119 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
2120 * aclocal.m4, configure, src/Makefile.in: Regenerated.
2122 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
2124 * include/bits/locale_facets.tcc: Use function object for
2125 __use_cache instead of template function. Partially specialize for
2127 * include/bits/locale_classes.h: Update friend declaration for
2129 (_M_install_cache): No throw exception specs.
2130 * src/locale.cc: Remove __use_cache specializations.
2131 * include/ext/pod_char_traits.h (length): Tweak.
2132 * include/bits/locale_facets.h (__numpunct_cache): Remove
2134 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
2136 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
2137 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
2138 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
2139 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
2140 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
2141 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
2143 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
2145 * src/ios.cc (_M_grow_words): Fix spelling.
2147 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
2149 * include/bits/stl_tree.h: Move larger member functions in
2150 _Rb_tree_base_iterator and _Rb_tree_node to...
2151 * src/stl_tree.cc: Here.
2152 * src/Makefile.in: Add stl_tree.cc.
2153 * src/Makefile.in: Regenerated.
2154 * config/linker-map.gnu: Add symbols here.
2156 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
2158 * testsuite/ext/pod_char_traits.cc: New.
2159 * include/ext/pod_char_traits.h: New.
2160 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
2161 * include/Makefile.in: Regenerate.
2162 * docs/html/21_strings/howto.html: Update.
2164 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
2166 * testsuite/performance/list_create_fill_sort.cc: New.
2168 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
2170 * config/locale/generic/numeric_members.cc: Correct type info.
2171 * config/locale/gnu/numeric_members.cc: Same.
2172 * include/bits/locale_facets.h: Same.
2174 * include/bits/char_traits.h: Correct spacing.
2176 * src/locale.cc: Wrap to 80 col.
2178 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
2180 * include/std/std_complex.h: Partially revert last
2181 changes: cmath functions must not be qualified.
2183 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2185 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
2186 2.11 with globbing backport fix.
2187 * aclocal.m4, configure: Regenerated.
2189 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
2191 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
2192 if output is at all possible (!_M_reading), cannot be active.
2194 * include/std/std_fstream.h: Tweak comments to doxygen style.
2196 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
2198 * include/bits/locale_classes.h: Fully qualify standard
2199 functions with std::, thus avoiding Koenig lookup.
2200 * include/bits/locale_facets.tcc: Likewise.
2201 * src/locale.cc: Likewise.
2202 * src/localename.cc: Likewise.
2204 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2206 * include/bits/allocator_traits.h: Fix doxygen markup.
2207 * include/ext/mt_allocator.h: Likewise.
2209 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2211 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
2213 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2215 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
2216 requirement. Add port_specific_symbol_file variable.
2217 * configure.host: Add docs for port_specific_symbol_file.
2218 Clean up try_cpu block for x86.
2219 * config/linker-map.gnu: No more "last symbol can't have a
2220 semicolon" kaka. Add hook for port-specific symbols.
2221 * src/Makefile.am: Remove trailing whitespace.
2222 (libstdc++-symbol.ver): Detect the presence of port-specific
2223 symbols, and add them accordingly.
2225 * docs/html/17_intro/porting.texi: Bring up to date.
2227 * src/Makefile.in, aclocal.m4, configure,
2228 docs/html/17_intro/porting.html: Regenerated.
2230 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2232 * scripts/create_testsuite_files: New file.
2233 * testsuite/Makefile.am (all-local, check-performance): Use it.
2234 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
2235 * testsuite/Makefile.in: Regenerated.
2237 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
2239 * testsuite/performance/fstream_seek_write.cc: Likewise.
2240 * testsuite/performance/ofstream_insert_float.cc: Likewise.
2241 * testsuite/performance/ofstream_insert_int.cc: Likewise.
2242 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
2244 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
2246 * include/bits/stl_list.h: Performance and memory usage
2247 improvements. In particular, the behaviour of the constructor and
2248 destructor as the list header node is no longer dynamically
2249 allocated/de-allocated.
2250 * include/bits/list.tcc: Likewise.
2252 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
2254 * include/std/std_complex.h: Fully qualify standard
2255 functions with std::, thus avoiding Koenig lookup.
2256 * include/std/std_memory.h: Likewise.
2257 * include/std/std_valarray.h: Likewise.
2259 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
2261 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
2262 variable for grandparent and use const
2264 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
2266 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
2267 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
2268 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
2269 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
2270 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
2271 * testsuite/27_io/objects/char/7.cc: Ditto
2272 * testsuite/27_io/objects/char/9661-1.cc: Ditto
2274 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
2276 * include/std/std_bitset.h: Fully qualify standard
2277 functions with std::, thus avoiding Koenig lookup.
2279 * include/std/std_fstream.h: Change comment to doxygen style.
2281 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2283 * include/std/std_limits.h: More CPP->CXX changes.
2284 * scripts/check_survey.in: Likewise.
2286 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2288 Move from CPP to CXX.
2289 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
2290 * testsuite/Makefile.am: Same.
2291 * testsuite/Makefile.in: Regenerate.
2292 * po/Makefile.am: Same.
2293 * po/Makefile.in: Regenerate.
2294 * libsupc++/Makefile.am: Same.
2295 * libsupc++/Makefile.in: Regenerate.
2296 * libmath/Makefile.am: Same.
2297 * libmath/Makefile.in: Regenerate.
2298 * include/Makefile.am: Same.
2299 * include/Makefile.in: Regenerate.
2300 * src/Makefile.am: Same.
2301 * src/Makefile.in: Regenerate.
2303 * configure.host: Same.
2304 * configure.in: Same.
2305 * configure: Regenerate.
2306 * acinclude.m4: Same.
2308 * src: Change all files in this directory.
2310 * include: Same, standardize include guards.
2314 2003-07-04 Zack Weinberg <zack@codesourcery.com>
2316 * testsuite/22_locale/collate/compare/wchar_t/2.cc
2317 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
2318 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
2319 * testsuite/22_locale/collate/hash/wchar_t/2.cc
2320 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
2321 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
2322 * testsuite/22_locale/collate/transform/wchar_t/2.cc
2323 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
2324 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2325 XFAIL on all targets.
2327 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2329 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
2330 * aclocal.m4: Regenerate.
2331 * configure: Regenerate.
2333 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
2335 * include/bits/locale_facets.tcc (__int_to_char): Move common case
2338 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2339 Petur Runolfsson <peturr02@ru.is>
2341 * config/io/basic_file_stdio.cc: Revert.
2343 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2345 * include/bits/deque.tcc: Fully qualify standard
2346 functions with std::, thus avoiding Koenig lookup.
2347 * include/bits/gslice_array.h: Likewise.
2348 * include/bits/indirect_array.h: Likewise.
2349 * include/bits/list.tcc: Likewise.
2350 * include/bits/mask_array.h: Likewise.
2351 * include/bits/slice_array.h: Likewise.
2353 2003-07-04 Gawain Bolton <gbolton@free.fr>
2355 * include/bits/stl_tree.h: Performance and memory usage
2358 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2360 * Makefile.am: Replace PWD with PWD_COMMAND.
2361 * Makefile.in: Regenerated.
2362 * docs/html/Makefile: Likewise.
2364 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2366 * include/bits/valarray_array.h: Fully qualify standard
2367 functions with std::, thus avoiding Koenig lookup.
2368 * include/bits/vector.tcc: Likewise.
2370 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2372 * include/Makefile.am: Update target_ to host_.
2373 * include/Makefile.in: Regenerate.
2374 * src/Makefile.am: Same.
2375 * src/Makefile.in: Regenerate.
2377 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
2379 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2381 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
2382 --enable-libstdcxx-debug-flags.
2383 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
2384 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
2385 * aclocal.m4: Regenerate.
2387 * docs/html/configopts.html: Update.
2389 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2391 Revert the fix for libstdc++/11378.
2393 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2396 * include/std/std_fstream.h (xsputn): In the unbuffered case,
2397 provided always_noconv(), issue directly _M_file.xsputn.
2398 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
2400 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2402 * include/bits/stl_list.h: Fully qualify standard
2403 functions with std::, thus avoiding Koenig lookup.
2404 * include/bits/stl_queue.h: Likewise.
2405 * include/bits/stl_raw_storage_iter.h: Likewise.
2406 * include/bits/stl_tempbuf.h: Likewise.
2407 * include/bits/stl_tree.h: Likewise.
2408 * include/bits/stl_uninitialized.h: Likewise.
2409 * include/bits/stl_vector.h: Likewise.
2410 * include/ext/rope: Change includes order.
2412 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2414 * configure.host (fpos_include_dir): Fix.
2416 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2418 * include/bits/stl_heap.h: Fully qualify standard
2419 functions with std::, thus avoiding Koenig lookup.
2420 * include/bits/stl_iterator_base_funcs.h: Likewise.
2422 * include/bits/stl_algo.h: Qualify __iterator_category too.
2423 * include/bits/stl_algobase.h: Likewise.
2424 * include/bits/stl_bvector.h: Likewise.
2426 * include/bits/stl_algo.h: Don't qualify the pair type.
2428 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
2430 * include/Makefile.am (target_headers): Add fpos.h
2431 (bits_headers): Remove.
2432 * include/Makefile.in: Regenerate.
2433 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
2434 * configure: Regenerate.
2435 * configure.host: Add fpos_include_dir.
2436 * config/os/gnu-linux/fpos.h: New.
2437 * config/os/generic/fpos.h: Add.
2438 * include/bits/fpos.h: Remove.
2440 * config/io/c_io_stdio.h: Remove fpos_t typedef.
2442 * include/bits/fstream.tcc: Tweaks.
2443 * include/std/std_fstream.h: Same.
2445 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
2446 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
2447 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
2448 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
2449 * testsuite/27_io/fpos/1.cc: New.
2451 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
2452 Petur Runolfsson <peturr02@ru.is>
2454 * include/std/std_streambuf.h: Remove _M_pos.
2455 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
2456 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
2457 use fread/fwrite instead of read/write.
2458 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
2459 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
2460 before reading again.
2461 * testsuite/27_io/objects/char/6.cc: Tweak.
2463 2003-07-03 David Edelsohn <edelsohn@gnu.org>
2465 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
2466 _GLIBCPP_USE_WCHAR_T.
2468 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2470 * include/bits/basic_string.tcc (_M_replace_aux): Constify
2473 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2475 * include/bits/stl_bvector.h: Fully qualify standard
2476 functions with std::, thus avoiding Koenig lookup.
2477 * include/bits/stl_construct.h: Likewise.
2478 * include/bits/stl_deque.h: Likewise.
2480 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2482 * testsuite/22_locale/num_put/put/char/7.cc: Include
2483 <testsuite_hooks.h>, tweak.
2484 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
2486 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
2488 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
2489 check* targets, but not libs/programs).
2490 * testsuite/Makefile.in: Regenerate.
2492 2003-07-01 Roger Sayle <roger@eyesopen.com>
2494 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
2495 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
2496 * aclocal.m4: Regenerate.
2497 * configure: Regenerate.
2499 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
2501 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
2502 * aclocal.m4: Regenerated.
2503 * configure: Regenerated.
2505 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
2508 * include/bits/fstream.tcc (underflow): For encoding() == 0
2509 don't read more than __buflen chars.
2510 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
2511 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
2512 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
2513 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
2515 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
2517 * 22_locale/num_put/put/char/7.cc: New.
2518 * 22_locale/num_put/put/wchar_t/7.cc: New.
2520 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2522 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
2523 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
2525 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2527 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
2528 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
2529 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
2530 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
2531 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
2532 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
2533 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
2534 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
2535 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
2536 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
2537 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
2538 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
2539 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
2540 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
2541 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
2542 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
2543 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
2544 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
2545 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
2546 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
2547 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
2548 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
2549 * data/seekoff-1.tst: Remove.
2550 * data/seekoff-1io.tst: New.
2551 * data/seekoff-1out.tst: New.
2552 * data/seekoff-2.tst: Remove.
2553 * data/seekoff-2io.tst: New.
2554 * data/seekoff-2out.tst: New.
2556 * data/seekpos-1.tst: Remove.
2557 * data/seekpos-1io.tst: New.
2558 * data/seekpos-1out.tst: New.
2559 * data/seekpos-2.tst: Remove.
2560 * data/seekpos-2io.tst: New.
2561 * data/seekpos-2out.tst: New.
2562 * data/seekpos.txt: New.
2564 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2566 * src/locale.cc (__use_cache<numpunct>): Move from here ...
2567 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
2570 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2572 * include/bits/stl_algobase.h: Fully qualify standard
2573 functions with std::, thus avoiding Koenig lookup.
2575 2003-06-30 Doug Gregor <dgregor@apple.com>
2577 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
2578 subscripting empty string.
2580 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2582 * testsuite/Makefile.am (check-am): Do not override.
2583 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
2584 * testsuite/Makefile.in: Regenerate.
2586 2003-06-30 Doug Gregor <dgregor@apple.com>
2588 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
2589 Don't initialize an insert_iterator with a singular iterator.
2591 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2593 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
2594 * aclocal.m4: Regenerate.
2595 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
2596 GLIBCPP_ENABLE_PCH, default to yes.
2597 * configure: Regenerate.
2598 * docs/html/configopts.html: Add --enable-pch.
2600 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2602 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
2603 (libstdc++-v3-init): Also set LD_RUN_PATH.
2605 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2607 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
2608 from here to filebuf and stringbuf.
2609 (~basic_streambuf()): Don't set _M_mode.
2610 (basic_streambuf()): Don't set _M_mode.
2611 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
2612 (~basic_filebuf()): Clean up.
2613 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
2614 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
2615 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
2616 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2617 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2618 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2619 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2621 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2623 * include/std/std_fstream.h (_M_underflow): Remove.
2624 (uflow): Remove, inherited from streambuf.
2625 (underflow): Only declare.
2626 * include/bits/fstream.tcc (_M_underflow): Rename to
2627 underflow, to which is equivalent for __bump == false,
2629 * include/std/std_sstream.h (_M_underflow): Remove.
2630 (uflow): Remove, inherited from streambuf.
2631 (underflow): Only declare.
2632 * include/bits/sstream.tcc (_M_underflow): Rename to
2633 underflow, to which is equivalent for __bump == false,
2636 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2638 * include/bits/stl_algo.h: Fully qualify standard functions
2639 with std::, thus avoiding Koenig lookup.
2641 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2643 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
2644 Improve type correctness-wise.
2645 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
2647 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
2649 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
2652 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2654 * include/std/std_streambuf.h (uflow): According to
2655 27.5.2.4.3,p16, don't check gptr() < egptr().
2657 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
2660 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
2661 (seekpos): Likewise.
2662 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
2664 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
2667 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
2669 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
2670 output name to libstdc++-v3-performance.sum.
2671 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
2672 * testsuite/Makefile.in: Regenerate.
2674 2003-06-27 Matthias Klose <doko@debian.org>
2676 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
2677 output of abi-check in libstdc++-v3-abi.sum.
2678 * testsuite/Makefile.in: Regenerate.
2680 2003-06-27 Krister Walfridsson <cato@df.lth.se>
2682 * config/os/bsd/netbsd/ctype_noninline.h
2683 (_C_ctype_): Declare.
2684 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2685 (ctype<char>::ctype): Use classic_table.
2687 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2688 Nathan C. Myers <ncm-nospam@cantrip.org>
2691 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2692 the worst-case number of external bytes for a given get area.
2693 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2695 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2696 Petur Runolfsson <peturr02@ru.is>
2699 * include/bits/fstream.tcc (overflow): Properly estimate the
2700 worst-case number of external bytes for a given put area
2701 (by using codecvt::max_length()).
2702 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2703 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2704 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2705 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2707 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2709 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2711 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2713 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2714 to the imbued locale.
2715 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2717 (num_put::_M_convert_float): Use.
2719 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2720 Jerry Quinn <jlquinn@optonline.net>
2722 * config/linker-map.gnu: Add __numpunct_cache.
2723 * config/locale/gnu/numeric_members.cc
2724 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2725 all elements for "C" locale.
2726 (numpunct::~numpunct): Delete _M_data.
2727 * config/locale/generic/numeric_members.cc: Same.
2728 * include/bits/basic_ios.tcc
2729 (basic_ios::init): Remove __locale_cache bits.
2730 (basic_ios::_M_cache_locale): Same.
2731 * include/bits/ios_base.h: Same. Tweaks.
2732 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2733 (__use_cache): Make friends with _Impl, locale.
2734 (_Impl::_M_caches): Add.
2735 (_Impl::_M_install_cache): Add.
2736 * include/bits/locale_facets.h (__numpunct_cache): New.
2737 (numpunct): Encapsulate data members in __numpunct_cache member,
2738 _M_data. Adjust virtuals.
2739 (numpunct::numpunct): New ctor for the same.
2740 (__locale_cache_base): Remove.
2741 (__locale_cache): Remove.
2742 * include/bits/locale_facets.tcc (__use_cache): New function,
2744 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2745 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2746 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2747 * src/locale-inst.cc: Same. Add __numpunct_cache.
2748 * src/locale.cc: Tweak inlines.
2749 (__use_cache): Define specializations.
2750 * src/localename.cc: Use global bits.
2751 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2752 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2753 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2754 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2755 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2757 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2758 Paolo Carlini <pcarlini@unitus.it>
2760 * testsuite/performance/filebuf_copy.cc: New, testing char
2763 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2764 Nathan C. Myers <ncm-nospam@cantrip.org>
2766 * include/bits/fstream.tcc (_M_underflow): When the actual
2767 end of file is reached, set 'uncommitted' mode to allow a
2768 next write without an intervening seek (see C++98 27.8.1.1,2
2770 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2772 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2774 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2775 sputc): Move inline, from here...
2776 * include/std/std_streambuf.h: ... to here.
2778 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2779 sputbackc, sungetc, sputc): Use __builtin_expect.
2781 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2783 * docs/doxygen/mainpage.html: Use a useful title.
2785 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2787 * docs/html/documentation.html: Remove assignment info.
2788 * docs/html/17_intro/contribute.html: Edits.
2789 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2791 * docs/html/test.html: Update.
2795 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2796 Ulrich Drepper <drepper@redhat.com>
2798 * testsuite/testsuite_performance.h: Tweak mallinfo.
2800 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2801 Nathan C. Myers <ncm-nospam@cantrip.org>
2803 * include/std/std_fstream.h (_M_filepos): Remove.
2804 (_M_reading, _M_writing): New, encode the various I/O modes:
2805 'read', 'write' and 'uncommitted'.
2806 (sync): If there is something to flush, do it, then go to
2808 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2809 with three different cases: __off > 0 (upon underflow),
2810 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2812 (_M_underflow): Don't call overflow, set _M_reading to true
2814 (pbackfail): Set _M_reading to true on pback creation, tweak.
2815 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2816 set _M_writing to true on success, tweak.
2817 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2818 _M_set_buffer(-1) ('uncommitted').
2819 (open, close, setbuf): Set _M_reading, _M_writing to false and
2820 call _M_set_buffer(-1), tweak.
2821 (basic_filebuf): Don't set _M_buf_unified.
2822 (_M_destroy_internal_buffer): Don't call setg and setp.
2823 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2824 _M_writing and _M_set_buffer(-1).
2825 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2826 _M_out_lim, _M_buf_unified): Remove.
2827 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2828 (setp): Don't set _M_out_lim.
2829 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2830 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2831 upon open the mode is 'uncommitted' and therefore the put area
2833 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2834 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2835 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2836 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2837 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2838 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2839 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2840 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2841 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2842 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2843 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2844 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2845 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2846 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2847 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2848 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2849 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2850 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2851 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2852 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2854 * include/bits/fstream.tcc (showmanyc): Use only the
2855 documented derivation interface to basic_streambuf (gptr(),
2856 setg(), etc.) to work right with user specializations.
2857 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2858 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2859 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2861 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2864 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2866 * configure.host (freebsd*): Set abi_baseline_pair.
2867 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2868 (at or near first release) to 3.3.
2869 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2870 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2871 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2873 * include/ext/mt_allocator.h: Portability.
2874 * testsuite/testsuite_performance.h: Likewise.
2876 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2878 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2880 * testsuite/performance/ifstream_getline.cc: Fix.
2882 2003-06-23 Doug Gregor <dgregor@apple.com>
2884 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2887 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2888 Nathan C. Myers <ncm-nospam@cantrip.org>
2890 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2891 is now used only for filebuf, when _M_buf_unified is true.
2892 epgtr() plays the role of _M_out_lim but it's only updated
2893 upon overflow, underflow, uflow, seekoff/pos.
2894 * include/bits/sstream.tcc (_M_underflow): New, implements
2895 stringbuf::underflow and uflow.
2896 (seekoff, seekpos): Tweak, use _M_update_egptr.
2897 * include/std/std_sstream.h (str): Rewrote, deal correctly
2898 with the new logic, in particular, when pptr() > egptr().
2899 (_M_sync): When __testout && !__testin set all the get area
2900 pointers to the current string end.
2901 (_M_update_egptr): New, internal function updating egptr()
2902 to the actual string end.
2903 (_M_underflow): New, declare.
2904 (underflow): Dispatch to _M_underflow(false).
2905 (uflow): Dispatch to _M_underflow(true).
2907 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2908 seekpos): Use only the documented derivation interface to
2909 basic_streambuf (gptr(), setg(), etc.) to work right with
2910 user specializations.
2911 * include/std/std_sstream.h (str, _M_sync): Likewise.
2913 2003-06-20 Doug Gregor <dgregor@apple.com>
2915 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2916 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2917 dereference end iterator.
2918 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2919 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2920 index equal to the length of a string.
2921 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2922 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2923 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2924 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2925 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2926 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2927 singular reverse iterator.
2928 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2930 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2932 2003-06-20 Doug Gregor <dgregor@apple.com>
2934 * include/bits/basic_string.h (basic_string::replace): Dispatch
2935 _InputIterator version based on _Is_integer.
2936 * include/bits/basic_string.tcc (basic_string::replace):
2937 Renamed replace(iterator, iterator, size_type, _CharT) to
2939 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2940 Test basic_string::assign(_InputIterator, _InputIterator),
2941 which calls basic_string::replace(iterator, iterator,
2942 _Input_iterator, _InputIterator).
2944 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2946 * testsuite/testsuite_performance.h (resource_counter): Don't use
2947 mallinfo at the moment.
2949 2003-06-20 Matthias Klose <doko@debian.org>
2951 * configure.host: Set try_cpu to target_cpu for existing
2954 2003-06-19 Andreas Jaeger <aj@suse.de>
2956 * testsuite/Makefile.am (extract_symvers): Revert accidental
2958 * testsuite/Makefile.in: Regenerate.
2960 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2961 * configure: Regenerated.
2963 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2965 * include/std/std_sstream.h (_M_sync): Make non virtual.
2967 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2969 * testsuite/testsuite_performance.h (time_counter): New.
2970 (resource_counter): New.
2971 (report_performance): New.
2972 (start_counters): New.
2973 (stop_counters): New.
2974 (clear_counters): New.
2975 * testsuite/performance/allocator.cc: Instrument.
2976 * testsuite/performance/cout_insert_int.cc: Same.
2977 * testsuite/performance/complex_norm.cc: Same.
2978 * testsuite/performance/filebuf_sputc.cc: New.
2979 * testsuite/performance/fstream_seek_write.cc: Same.
2980 * testsuite/performance/ifstream_getline.cc: Same.
2981 * testsuite/performance/map_create_fill.cc: Same.
2982 * testsuite/performance/ofstream_insert_float.cc: Same.
2983 * testsuite/performance/ofstream_insert_int.cc: Same.
2984 * testsuite/performance/string_append.cc: Convert.
2985 * scripts/check_performance: New.
2986 * testsuite/Makefile.am (check-performance): New.
2989 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2990 Benjamin Kosnik <bkoz@redhat.com>
2992 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2993 * include/bits/fstream.tcc (setbuf): Tweak.
2995 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2997 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2998 _M_out_lim, therefore _M_move_out_cur boils down to simply
2999 updating _M_out_cur.
3000 (seekpos): Likewise, clean up.
3002 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
3003 Paolo Carlini <pcarlini@unitus.it>
3005 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
3006 simply equivalent to the unbuffered case (0, 0) as far as
3007 _M_buf_size is concerned.
3009 2003-06-18 Andreas Jaeger <aj@suse.de>
3011 * testsuite/Makefile.am (new-abi-baseline): Create baseline
3013 (baseline_file): Use baseline_dir.
3014 (baseline_dir): New.
3015 (mkinstalldirs): New.
3017 * acinclude.m4: Rename baseline_file to baseline_dir, strip
3018 filename from baseline_dir.
3020 * testsuite/Makefile.in: Regenerated.
3021 * Makefile.in: Regenerated.
3022 * aclocal.m4: Regenerated.
3023 * configure: Regenerated.
3025 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
3027 * configure.in: Missed check_survey bit.
3028 * configure: Regenerated.
3030 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
3033 * config/abi/extract_symvers: Move to...
3034 * scripts/extract_symvers: ...here.
3035 * mkcheck.in: Move to..
3036 * scripts/check_survey.in: ...here.
3037 * testsuite_flags.in: Move to..
3038 * scripts/testsuite_flags.in: ...here.
3039 * configure.in: Change check and testsuite_flags locations.
3040 * configure: Regenerate.
3041 * testsuite/Makefile.am (current_symbols.txt): Change location.
3042 * testsuite/Makefile.in: Regenerate.
3043 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
3044 location of testsuite_flags.
3045 * Makefile.am (check-script): Move..
3046 (check-script-install): Move...
3047 * testsuite/Makefile.am: ... here.
3048 * testsuite/Makefile.in: Regenerate.
3049 * Makefile.in: Regenerate.
3051 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
3053 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
3055 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
3057 * Makefile.am (check-abi): Move...
3058 (new-abi-baseline): Move...
3059 * testsuite/Makefile.am: ...here.
3060 (new-abi-baseline): Conditionalize.
3061 (check-abi): Conditionalize.
3062 (check-abi-verbose): New.
3063 * Makefile.in: Regenerate.
3064 * testsuite/Makefile.in: Regenerate.
3065 * configure.in: Consolidate testsuite configure bits.
3066 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
3067 * configure: Regenerate.
3068 * aclocal.m4: Regenerate.
3069 * testsuite/abi_check.cc: Add --check-verbose.
3070 Only output detailed information if --check-verbose.
3072 2003-06-16 Andreas Jaeger <aj@suse.de>
3074 * testsuite/abi_check.cc: Create summary report.
3076 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
3078 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
3079 for systems with BUFSIZ != 8192.
3080 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
3081 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
3084 2003-06-16 Andreas Jaeger <aj@suse.de>
3086 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
3087 check-abi multilib aware.
3088 * aclocal.m4: Regenerate.
3089 * configure: Regenerate.
3091 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
3092 Andreas Jaeger <aj@suse.de>
3094 * configure.host: Set x86_64 abi_baseline pair correctly.
3096 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
3098 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
3099 fix for missing seeks between gets and puts into...
3100 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
3101 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
3102 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
3103 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
3104 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
3105 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
3107 2003-06-15 Richard Henderson <rth@redhat.com>
3109 * config/linker-map.gnu: Export virtual function thunks for
3112 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
3114 * config/abi/i686-pc-linux-gnu: To..
3115 * config/abi/i486-linux-gnu: ...this.
3116 * config/abi/alphaev67-unknown-linux-gnu: To..
3117 * config/abi/alpha-linux-gnu: ...this.
3118 * config/abi/ia64-unknown-linux-gnu: To...
3119 * config/abi/ia64-linux-gnu: ...this.
3120 * config/abi/x86_64-unknown-linux-gnu: To...
3121 * config/abi/x86_64-linux-gnu: ...this.
3122 * config/abi/i386-unknown-freebsd4: To...
3123 * config/abi/i386-freebsd4: ...this.
3124 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
3126 * configure.host: abi_baseline_triplet to abi_baseline_pair.
3127 Simplify cpu bits so that abi_baseline_pair can use the same
3129 * acinclude.m4: Same.
3130 * aclocal.m4: Regenerate.
3131 * configure.in: Can't get enable_abi_check to yes unless native.
3132 * configure: Regenerate.
3134 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
3136 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
3137 fix for missing seeks between gets and puts into...
3138 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
3139 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
3140 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
3141 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
3142 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
3143 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
3144 for missing seeks between gets and puts.
3145 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
3146 * testsuite/data/seekoff-1.tst: New.
3147 * testsuite/data/seekoff-2.tst: New.
3148 * testsuite/data/seekpos-1.tst: New.
3149 * testsuite/data/seekpos-2.tst: New.
3151 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
3153 Avoid multi-processor bus contention on increment/decrement-and-
3154 test of the reference count in the empty-string object, by comparing
3155 addresses first, and never touching the reference count of the empty-
3157 * include/bits/basic_string.h:
3158 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
3160 (_Rep::_S_empty_rep()): New accessor.
3161 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
3162 a base class _Rep_base.
3163 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
3164 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
3165 since no longer must increment its refcount.
3166 * include/bits/basic_string.tcc:
3167 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
3168 return immediately. The former might be unnecessary. The latter
3169 prevents begin() and end() from cloning it unnecessarily.
3170 (_S_construct(_InIterator, _InIterator, const _Alloc&,
3171 input_iterator_tag), _S_construct(_InIterator, _InIterator,
3172 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
3173 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
3174 (_M_mutate): Check for the empty string and treat it as shared.
3175 This is necessary here because _M_mutate is sometimes called with
3176 all-zero arguments; in all other uses of _M_is_shared, the test comes
3179 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
3181 * src/allocator-inst.cc: Explicitly instantiate.
3182 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
3184 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
3186 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
3188 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
3189 * aclocal.m4: Regenerate.
3190 * Makefile.am (SUBDIRS): Remove libio.
3191 * Makefile.in: Regenerate.
3192 * configure.in: Same.
3193 * configure: Regenerate.
3194 * config/io/basic_file_libio.cc: Remove.
3195 * config/io/basic_file_libio.h: Remove.
3196 * config/io/c_io_libio_codecvt.c: Remove.
3197 * config/io/c_io_libio.h: Remove.
3199 * src/Makefile.am: Same.
3200 * src/Makefile.in: Regenerate.
3201 * docs/html/configopts.html: Edits.
3202 * docs/html/explanations.html: Edits.
3204 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
3206 * include/bits/stl_alloc.h (__debug_alloc): Move out.
3207 (__malloc_alloc): Same.
3208 (__pool_alloc): Same.
3209 (__new_alloc): Same.
3211 * include/bits/allocator.h: ...this.
3212 * include/bits/stl_deque.h: Modify comment.
3213 * include/bits/stl_tree.h: Modify include.
3214 * include/std/std_memory.h: Same.
3215 * include/ext/rope: Same.
3216 * include/ext/slist: Same.
3217 * include/std/std_vector.h: Same.
3218 * include/std/std_stack.h: Same.
3219 * include/std/std_queue.h: Same.
3220 * include/std/std_list.h: Same.
3221 * include/std/std_deque.h: Same.
3222 * include/backward/alloc.h: Same.
3223 * include/ext/debug_allocator.h: New.
3224 * include/ext/malloc_allocator.h: New.
3225 * include/ext/pool_allocator.h: New.
3226 * include/ext/new_allocator.h: New.
3227 * include/bits/pthread_allocimpl.h: Remove.
3228 * include/bits/stl_pthread_alloc.h: Remove.
3229 * include/Makefile.am (ext_headers): Add.
3230 * include/Makefile.in: Regenerate.
3231 * src/stl-inst.cc: Use __gnu_cxx namespace.
3232 * src/stl-inst.cc: Move to...
3233 * src/allocator-inst.cc: Here.
3234 * src/Makefile.am (sources): Update.
3235 * src/Makefile.in: Regenerate.
3236 * config/linker-map.gnu: Remove __pool_alloc bits.
3237 * testsuite/ext/headers.cc: Add.
3238 * testsuite/ext/allocators.cc: Fixup.
3240 2003-06-11 Stefan Olsson <stefan@snon.net>
3241 Ola Rönnerup <fnolis@home.se>
3243 * include/Makefile.am (ext_headers): Add.
3244 * include/Makefile.in: Regenerate.
3245 * include/ext/mt_allocator.h: New file.
3247 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3249 * include/bits/fstream.tcc (close): Clean up a bit.
3251 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
3253 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
3254 - the saved _M_in_cur, that is - cannot be null.
3255 (sync): Constify a variable.
3257 * include/std/std_streambuf.h: Tweak a comment.
3258 (in_avail): Constify a variable.
3260 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
3262 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
3263 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
3264 correctness of container::iterator typedefs. Fix whitespace.
3265 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
3267 * docs/html/documentation.html: Regenerate.
3269 * include/bits/basic_string.h, include/bits/basic_string.tcc,
3270 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
3271 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
3272 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
3273 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
3274 include/bits/stl_vector.h, include/bits/vector.tcc,
3275 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
3276 Change _Iter names to _Iterator, and __pos to __position.
3278 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
3279 include/bits/stl_multiset.h, include/bits/stl_set.h:
3280 Remove emacs markers.
3282 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
3284 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3286 * include/bits/fstream.tcc (overflow): According to
3287 27.5.2.4.5, overflow() returns not_eof(eof()).
3288 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
3289 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
3291 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3293 * include/bits/fstream.tcc (_M_underflow): Check overflow return
3294 value; tweak slightly.
3296 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
3298 * include/bits/fstream.tcc (_M_underflow): Do not special
3299 case the unbuffered case, which really means simply a one char
3301 (basic_filebuf): Initialize _M_buf_size.
3302 (setbuf): Unbuffered means _M_buf_size == 1, since only
3303 _M_buf_size - 1 == 0 chars are going to be used for the
3304 put area and 1 for the get area.
3305 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
3306 (~basic_streambuf): Tweak.
3307 (basic_streambuf): Do not initialize _M_buf_size.
3308 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
3309 (~basic_filebuf): Tweak.
3310 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
3311 unbuffered situation (i.e., put area pointers NULL).
3312 * include/bits/streambuf.tcc (sbumpc): Clean up.
3313 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
3314 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
3315 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
3316 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
3317 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
3318 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
3319 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
3321 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
3323 * acinclude.m4: Move all AM_CONDITIONAL calls out.
3324 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
3326 * configure.in: Centralize AM_CONDITIONALs so that they are always
3327 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
3328 * aclocal.m4, configure: Regenerated.
3330 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
3332 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
3334 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
3336 * include/bits/stl_iterator.h
3337 (reverse_iterator::reverse_iterator()): Apply DR235: default
3338 constructor default-initializes data member. Instantiated on a
3339 pointer type, the member has to end up equal to zero.
3341 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
3343 * include/bits/stl_alloc.h: Cleanups.
3344 * include/ext/functional: Same.
3345 * include/ext/hash_map: Same.
3346 * include/ext/hash_set: Same.
3347 * include/ext/iterator: Same.
3348 * include/ext/memory: Same.
3349 * include/ext/numeric: Same.
3350 * include/ext/rb_tree: Same.
3351 * include/ext/ropeimpl.h: Same.
3352 * include/ext/slist: Same.
3353 * include/ext/stdio_filebuf.h: Same.
3354 * include/ext/stdio_sync_filebuf.h: Same.
3355 * include/ext/stl_rope.h: Move to...
3356 * include/ext/rope: ...here.
3357 * include/ext/stl_hash_fun.h: Move to...
3358 * include/ext/hash_fun.h: ...here.
3359 * include/ext/stl_hashtable.h: Move to...
3360 * include/ext/hashtable.h: ...here.
3361 * include/backward/hashtable.h: Reflect new names.
3362 * include/Makefile.am: Same.
3363 * include/Makefile.in: Regenerated.
3365 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
3368 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
3369 * include/bits/stl_algobase.h: Tweak.
3370 * include/std/std_fstream.h: Move _M_buf_size to...
3371 * include/std/std_streambuf.h: ...here. Modify.
3372 * include/bits/streambuf.tcc: Same.
3373 * testsuite/testsuite_hooks.h: Tweak.
3374 * testsuite/testsuite_io.h (constraint_filebuf): New.
3375 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
3376 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
3377 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
3378 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
3379 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
3380 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
3381 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
3382 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
3383 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
3384 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
3385 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
3386 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
3387 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
3388 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
3389 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
3390 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
3391 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
3392 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
3393 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
3394 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
3395 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
3396 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
3397 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
3398 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
3399 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
3400 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
3401 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
3402 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
3403 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
3404 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
3405 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
3406 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
3407 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
3408 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
3409 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
3410 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
3411 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
3412 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
3413 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
3414 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
3415 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
3416 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
3417 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
3418 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
3419 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
3420 * testsuite/data/sgetc.txt: New.
3421 * testsuite/data/sgetn.txt: New.
3423 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
3426 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
3427 Deal with width() smaller than zero.
3428 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
3429 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
3430 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
3431 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
3432 operator<<(basic_ostream, const basic_string&)): Likewise.
3434 * testsuite/27_io/basic_istream/extractors_character/char/
3435 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
3436 * testsuite/27_io/basic_ostream/inserters_character/char/
3437 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
3438 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
3439 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
3441 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3443 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
3444 .gch compilation works.
3445 * aclocal.m4, configure: Regenerate.
3446 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
3447 initialize PCHFLAGS.
3449 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
3451 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
3452 erase(iterator), erase(iterator, iterator), c_str,
3453 compare(const basic_string&)): Constify various variables.
3454 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
3455 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
3456 _S_create, resize, _M_replace, _M_replace_safe,
3457 append(const basic_string&), append(const basic_string&, size_type,
3458 size_type), append(const _CharT*, size_type), append(size_type,
3459 _CharT), operator+(const _CharT*, const basic_string&),
3460 operator+(_CharT, const basic_string&), replace(iterator, iterator,
3461 size_type, _CharT), find(const _CharT*, size_type, size_type),
3462 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
3463 rfind(_CharT, size_type), compare(size_type, size_type,
3464 const basic_string&), compare(size_type, size_type,
3465 const basic_string&, size_type, size_type), compare(const _CharT*),
3466 compare(size_type, size_type, const _CharT*), compare(size_type,
3467 size_type, const _CharT*, size_type)): Likewise.
3469 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
3471 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
3472 'if' branch less obscure.
3474 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
3477 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
3479 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
3480 (__atomic_add): likewise.
3482 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3484 * include/bits/sstream.tcc (pbackfail): Minor clean up and
3485 reformatting, consistent with basic_filebuf::pbackfail.
3487 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
3490 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
3491 __attribute__ ((__unused__)).
3492 * config/os/aix/atomicity.h: Likewise.
3494 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3497 * include/bits/fstream.tcc (pbackfail): If the pback buffer
3498 is already active don't try to store in it a second char.
3499 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
3501 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
3503 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3505 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
3508 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3510 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
3511 instead of unnecessarily taking the address of _M_pback.
3512 (xsgetn): Simplify slightly for a single char pback buffer.
3514 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3516 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
3517 variables and two 'if', clean up.
3519 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3521 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
3522 not _M_out_end, since the former actually points to the string
3523 end (vs buffer end).
3524 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
3526 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
3528 * docs/doxygen/filter: New file.
3529 * docs/doxygen/filter.sed: New file.
3530 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
3531 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
3532 * docs/html/documentation.html: Fix links to doxygen pages.
3534 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
3536 * include/bits/fstream.tcc (_M_convert_to_external): Don't
3537 check for __ilen > 0.
3539 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
3542 * include/bits/stl_iterator.h (class __normal_iterator):
3543 Don't inherit from iterator, add missing typedefs.
3545 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
3547 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
3548 * testsuite/24_iterators/reverse_iterator/1.cc: New.
3549 * testsuite/24_iterators/reverse_iterator/2.cc: New.
3550 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
3553 2003-05-27 Steve Ellcey <sje@cup.hp.com>
3555 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
3557 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
3558 _LIBUNWIND_STD_ABI is set.
3560 2003-05-26 Brendan Kehoe <brendan@zen.org>
3562 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
3563 make sure the number of digits required after the decimal-point
3564 (if any) is exactly the value returned by frac_digits().
3565 * testsuite/22_locale/money_get/get/char/9.cc: New.
3566 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
3568 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
3570 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
3573 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
3576 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
3577 (_M_pback): No array necessary.
3578 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
3579 unbuffered case, coalesec into ...
3580 (basic_filebuf::overflow): ...this.
3581 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
3582 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
3584 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
3586 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
3587 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
3588 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
3589 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
3590 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
3591 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
3592 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
3593 libsupc++/eh_unex_handler.cc, libsupc++/exception,
3594 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
3595 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
3596 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
3597 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
3598 Replace "GNU CC" with "GCC".
3600 * include/backward/new.h: Replace "GNU CC" with "GCC".
3602 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3605 * configure.in: Switch target to host, don't assume newlib.
3606 (target_alias): Remove.
3607 * configure: Regenerate.
3608 * acinclude.m4: Same.
3609 * aclocal.m4: Regenerate.
3610 * configure.target: Same. Rename to...
3611 * configure.host: This.
3613 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3615 * include/std/std_fstream.h (_S_pback_size): Remove definition.
3616 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
3618 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
3619 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
3620 of _S_pback_size for systems with no COMDAT or weak support.
3621 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
3622 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
3623 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
3624 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3625 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3626 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
3627 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
3628 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
3629 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
3631 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3633 * include/bits/fstream.tcc (_M_underflow): Simplify:
3634 !__testout implies _M_filepos == _M_in_end, therefore
3635 the first _M_file.seekoff call is never issued.
3637 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3639 * configure.in: Sort cross table.
3640 * configure: Regenerate.
3642 2003-05-22 Brad Spencer <spencer@infointeractive.com>
3645 * configure.in: Add Solaris cross bits.
3647 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3649 * libstdc++-v3/config/os/mingw32/os_defines.h
3650 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
3651 (NOMINMAX): Define. Update copyright year.
3653 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
3655 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
3657 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3659 * docs/html/faq/index.html: Fix typo.
3660 * docs/html/faq/index.txt: Regenerate.
3662 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3664 * docs/html/test.html: Fix markup.
3666 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3668 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
3670 Update copyright year.
3672 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3674 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
3676 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3678 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
3679 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
3681 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3683 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
3684 Cast via void* to avoid -Wcast-align warnings.
3685 (__default_alloc_template::_S_refill): Likewise.
3687 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
3689 * testsuite/README: Move to...
3690 * docs/html/test.html: ...here. Add documentation.
3691 * docs/html/install.html: Move testing bits out..
3692 * docs/html/documentation.html: Add separate testing link.
3693 * testsuite/performance: Add.
3694 * testsuite/performance/allocator.cc: New.
3695 * testsuite/performance/complex_norm.cc: New.
3696 * testsuite/performance/cout_insert_int.cc: New.
3697 * testsuite/performance/fstream_seek_write.cc: New.
3698 * testsuite/performance/ifstream_getline.cc: New.
3699 * testsuite/performance/map_create_fill.cc: New.
3700 * testsuite/performance/ofstream_insert_float.cc: New.
3701 * testsuite/performance/ofstream_insert_int.cc: New.
3702 * testsuite/performance/string_append.cc: New.
3703 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
3706 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
3709 * include/std/std_complex.h (pow): Tidy.
3711 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
3713 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
3714 that upon filebuf::close() 27.8.1.1,3 is enforced.
3716 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
3718 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3720 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3721 Nathan Myers <ncm@cantrip.org>
3723 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3724 _M_convert_to_external only once (_M_buf_size is now the size of
3725 the put area + 1 for the overflow char of a full area); call
3726 _M_set_buffer instead of _M_set_indeterminate.
3727 (setbuf): Don't accept a buffer smaller than 2 chars.
3728 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3729 instead of _M_set_determinate.
3730 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3731 (seekoff): Likewise.
3732 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3733 std::ios_base::openmode, bool, size_t),
3734 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3736 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3737 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3739 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3740 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3741 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3742 the put area is now BUFSIZ - 1.
3743 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3744 that now the smallest _M_buf_size is 2 (still fails, for the same
3747 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3749 * testsuite/thread/pthread4.cc: Tweak test.
3751 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3753 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3754 excess errors dg marker, use dg-errors instead.
3755 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3756 * testsuite/20_util/auto_ptr_neg.cc: Same.
3758 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3760 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3762 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3763 Initialize _M_codecvt.
3764 (basic_filebuf::imbue): Same.
3765 (basic_filebuf::showmanyc): Use it.
3766 (basic_filebuf::underflow): Use it.
3767 (basic_filebuf::_M_convert_to_external): Use it.
3768 (basic_filebuf::seekoff): Use it.
3769 (basic_filebuf::imbue): Use it, tweaks.
3770 * include/bits/localefwd.h (__check_facet): New.
3771 * include/bits/locale_classes.h: Tweaks.
3772 * include/bits/locale_facets.tcc: Tweaks.
3773 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3774 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3775 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3776 * include/bits/basic_ios.tcc: Same.
3777 * include/bits/istream.tcc: Same.
3778 * include/bits/ostream.tcc: Same.
3779 * include/std/std_streambuf.h: Same.
3780 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3781 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3782 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3783 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3784 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3785 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3787 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3789 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3790 unnecessary includes and unused string literals.
3791 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3792 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3793 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3794 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3796 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3798 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3800 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3802 * include/std/std_fstream.h (_M_convert_to_external): Change
3803 to return bool, take two less streamsize parameters.
3804 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3805 consistently definition.
3806 (_M_overflow): Adjust call points.
3808 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3810 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3812 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3814 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3815 * testsuite/Makefile.in: Regenerate.
3817 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3819 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3820 * testsuite/Makefile.in: Regenerate.
3822 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3825 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3826 (acos): Handle integer argument.
3845 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3846 (__enable_if): Likewise.
3847 * testsuite/26_numerics/cmath/overloads.C: New test.
3849 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3854 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3855 implementation, based on old wchar_t specialization, add support
3856 for codecvt::in() return value of codecvt_base::noconv, remove
3857 _M_file.sys_ungetc() call.
3858 * include/std/std_fstream.h (basic_file::underflow,
3859 basic_file::uflow, basic_file::_M_underflow): Remove
3860 specialization declarations, call _M_underflow from generic versions
3861 of underflow and uflow.
3862 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3863 basic_file::_M_underflow): Remove specializations.
3864 * src/Makefile.am (sources): Remove fstream.cc.
3865 * src/Makefile.in: Regenerated.
3866 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3867 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3868 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3869 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3871 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3873 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3875 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3877 (__basic_file::xsputn): Same.
3878 (__basic_file::seekoff): Same.
3879 (__basic_file::seekpos): Same.
3880 (__basic_file::showmanyc): Same.
3881 * config/io/basic_file_stdio.cc: Same.
3882 * include/std/std_fstream.h: Same.
3883 * include/bits/fstream.tcc: Same.
3884 * src/fstream.cc: Same.
3885 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3887 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3892 * include/ext/stdio_sync_filebuf.h: New file.
3893 (basic_stdiobuf): New.
3894 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3895 * include/Makefile.in: Regenerate.
3896 * include/bits/ios_base.h (Init::_S_create_buffers,
3897 Init::_S_destroy_buffers): Remove declarations.
3898 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3899 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3900 * src/ios.cc (Init::_S_create_buffers,
3901 Init::_S_destroy_buffers): Remove.
3902 (Init::Init): Create and use syncronized buffers.
3903 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3904 create and install unsyncronized buffers.
3905 * testsuite/27_io/objects/char/10.cc: New test.
3906 * testsuite/27_io/objects/char/9.cc: New test.
3907 * testsuite/27_io/objects/char/9661-1.cc: New test.
3908 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3909 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3910 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3911 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3912 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3913 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3914 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3915 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3916 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3917 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3918 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3919 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3920 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3921 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3922 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3923 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3924 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3925 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3926 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3927 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3928 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3929 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3930 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3931 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3932 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3933 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3934 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3935 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3936 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3937 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3938 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3939 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3940 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3941 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3942 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3943 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3944 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3945 * testsuite/ext/stdiobuf_char.cc: New test.
3946 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3948 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3950 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3951 unnecessary includes and unused string literals.
3952 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3954 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3956 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3958 2003-05-07 Richard Henderson <rth@redhat.com>
3961 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3962 (__cxa_end_catch): Likewise.
3963 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3964 _Unwind_Resume_or_Rethrow.
3965 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3966 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3967 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3968 exceptions. Don't push terminate/unexpected to cxa functions.
3969 (__cxa_call_unexpected): Remove foreign exception fixmes.
3971 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3973 * testsuite/27_io/ios_base/cons: New.
3974 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3975 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3977 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3979 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3981 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3982 there is no buffer or __testget == !__testinit.
3985 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3986 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3988 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3989 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3991 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3993 * include/std/std_sstream.h (_M_sync): Minor tweak.
3995 * include/bits/fstream.tcc (close): No need to call
3996 _M_destroy_pback, setting _M_pback_init to false suffices
3999 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
4001 * include/bits/stl_algo.h: Enums as _S_.
4002 * include/bits/stl_tree.h: Same.
4003 * include/bits/stl_bvector.h: Same.
4004 * include/bits/ios_base.h: Same.
4005 * include/bits/stl_alloc.h: Same.
4006 * include/ext/stl_hashtable.h: Same.
4007 * src/ios.cc: And here.
4009 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
4010 * include/bits/sstream.tcc: Same.
4012 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
4014 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
4016 * include/bits/locale_facets.h (__num_base): Remove protected.
4017 Use _S_[io]* names for enumerations.
4018 (_S_format_int): Remove.
4019 * include/bits/locale_facets.tcc: Same.
4020 * src/locale.cc: Same.
4022 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
4024 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
4026 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
4027 * docs/html/faq/index.txt: Regenerated.
4029 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
4030 Matt Kraai <kraai@alumni.cmu.edu>
4032 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
4035 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
4037 * configure.target (mips*): Use the generic atomicity.h by default.
4039 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
4040 (Inspired by an alternate patch from Danny Smith.)
4042 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
4043 (_Swap_lock_struct<>): ...and the horse it rode in on.
4044 * src/globals.cc (_Swap_lock_struct<>): Likewise.
4045 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
4046 member to support...
4047 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
4048 visibility rules related to POSIX threads.
4049 * testsuite/thread/pthread7-rope.cc: New test.
4051 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
4053 * testsuite/21_strings/basic_string/find/char/3.cc: New
4054 file, testing basic_string<char>::find_first_not_of.
4055 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
4056 Likewise for basic_string<wchar_t>.
4058 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
4060 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
4062 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
4064 * include/Makefile.am (CLEANFILES): Remove PCH files in target
4066 * include/Makefile.in: Regenerate.
4068 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
4070 * include/std/std_sstream.h (str()): Tidy.
4072 2003-05-02 Nathan Myers <ncm@cantrip.org>
4073 Paolo Carlini <pcarlini@unitus.it>
4075 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
4077 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
4079 * include/bits/basic_string.h (swap): Remove redundant template
4080 parameters from declaration of non-template member function.
4082 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
4084 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
4085 * configure.in: Move libintl.h header test...
4086 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
4087 the NLS-related test results into one symbol.
4088 * src/functexcept.cc: Use it here.
4089 * aclocal.m4, config.h.in, configure: Regenerated.
4091 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4093 * include/bits/sstream.tcc (overflow): Instead of calling
4094 str(), then _M_string.reserve, thus copying the contents
4095 of the current buffer two times, just copy the latter in
4096 a temporary, then use the 'swap trick'.
4098 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4100 * include/std/std_sstream.h (str()): Revert the best of the
4101 previous 'improvement', incorrect due to the COW nature of
4102 v3 basic_string; simplify.
4104 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4106 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
4107 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
4109 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
4111 * testsuite/abi_check.cc (check_version): Update known versions.
4112 Check added symbols for version_name != base version. Add missing
4113 symbols to incompatible list.
4115 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
4117 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
4118 * aclocal.m4: Regenerated.
4119 * configure: Regenerated.
4121 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4123 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
4124 Const-ify some variables.
4125 (basic_streambuf::xsputn): Likewise; change the type of some
4126 variables to size_t.
4127 (__copy_streambufs): Change some variables to size_t.
4129 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4131 * include/std/std_sstream.h (str()): Avoid constructing
4132 a basic_string temporary not only when it would turn out
4133 to be zero-sized but also when identical to the current
4136 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4138 * include/ext/stdio_filebuf.h
4139 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
4140 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
4141 Shorten a bit (-10 lines) by factoring out some code.
4143 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
4145 * acinclude.m4: Add bit missing from previous patch.
4146 * aclocal.m4, configure: Regenerated.
4148 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
4150 * docs/doxygen/mainpage.html: Bring up to date.
4151 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
4153 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
4154 breaks everything. Don't scan them.
4155 * docs/html/documentation.html: Point to "Write after approval"
4158 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
4160 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
4161 of libc if message translations are being used. Fix info text in
4162 xieee_1003.1-2001 case.
4163 * aclocal.m4, configure: Regenerate.
4165 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
4166 Loren J. Rittle <ljrittle@acm.org>
4167 Martin v. Loewis <martin@v.loewis.de>
4169 * config/cpu/i386/atomicity.h: New file.
4171 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
4173 * include/bits/fstream.tcc (open): Change to single return.
4175 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
4177 * include/std/std_sstream.h (underflow): Change to single return.
4179 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4181 * include/std/std_streambuf.h (_M_buf): is currently
4182 used only for basic_filebuf, therefore move it there.
4183 (basic_streambuf(), ~basic_streambuf()): Adjust.
4184 * include/std/std_fstream.h (_M_buf): Moved here.
4185 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
4186 is actually redundant for basic_stringbuf.
4187 (_M_really_sync): Likewise.
4188 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
4189 * include/bits/sstream.tcc (seekoff): Adjust.
4191 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4193 * src/localename.cc: Standardize exception strings.
4194 * src/locale.cc: Same.
4196 * include/bits/basic_string.tcc: Same.
4197 * include/bits/basic_ios.tcc: Same.
4198 * include/std/std_bitset.h: Same.
4199 * include/ext/ropeimpl.h: Same.
4200 * include/bits/stl_vector.h: Same.
4201 * include/bits/stl_deque.h: Same.
4202 * include/bits/stl_bvector.h: Same.
4203 * config/locale/generic/c_locale.cc: Same.
4204 * config/locale/gnu/c_locale.cc: Same.
4205 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
4207 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
4209 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4211 * include/std/std_streambuf.h (_M_buf_size): is currently
4212 used only for basic_filebuf, therefore move it there.
4213 (basic_streambuf(), ~basic_streambuf()): Adjust.
4214 * include/std/std_fstream.h (_M_buf_size): Moved here.
4215 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
4217 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4219 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
4220 _M_buf_size (synced input is now correctly dealt with
4221 elsewhere); when the output buffer is full don't fall back
4222 to a snextc-sputc loop, call overflow instead.
4224 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4226 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
4227 the innermost 'if' by factoring out some code.
4229 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
4231 * configure.in: Test for libintl.h.
4232 * include/bits/c++config: Define __N for everybody.
4233 * include/bits/basic_string.h, include/bits/stl_bvector.h,
4234 include/bits/stl_deque.h, include/bits/stl_vector.h,
4235 include/std/std_bitset.h: Wrap all __throw* text with __N.
4236 * po/Makefile.am (pot): New rule, mostly working.
4237 * src/functexcept.cc: Call gettext on all __throw* arguments when
4238 -fexceptions is in effect.
4239 * po/Makefile.in, config.h.in, configure: Regenerate.
4241 2003-04-28 Petur Runolfsson <peturr02@ru.is>
4244 * include/bits/ios_base.h (Init::_S_ios_create,
4245 Init::_S_ios_destroy): Remove declarations.
4246 (Init::_S_create_buffers,
4247 Init::_S_destroy_buffers): Declare
4248 * src/ios.cc (Init::_S_ios_create): Remove
4249 (Init::_S_create_buffers): Create buffers and add to streams.
4250 (Init::_S_ios_destroy): Rename to...
4251 (Init::_S_destroy_buffers): this.
4252 (Init::Init): Only construct streams once.
4253 (Init::~Init): Flush streams, don't destroy them.
4254 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
4255 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
4256 * testsuite/27_io/objects/char/5.cc: New test.
4257 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
4258 * testsuite/27_io/objects/char/6.cc: New test.
4259 * testsuite/27_io/objects/char/7.cc: New test.
4261 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4263 * testsuite/27_io/objects/char/8.cc: New test.
4265 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4267 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
4268 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
4270 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
4272 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
4273 _M_destroy_pback. _M_pback_create to
4274 _M_create_pback. _M_underflow_common to
4275 _M_underflow. _M_really_overflow to _M_overflow.
4276 * include/bits/fstream.tcc: Same.
4277 * src/fstream.cc: Same.
4278 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
4279 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
4280 * include/bits/streambuf.tcc: Same.
4281 * include/bits/fstream.tcc: Same.
4282 * include/bits/sstream.tcc: Same.
4284 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
4286 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
4287 from fixed size array.
4288 (locale): Change _S_categories as well.
4290 * include/bits/locale_facets.tcc: Tweak.
4291 * config/locale/gnu/c_locale.cc: Assign _S_categories.
4292 * config/locale/generic/c_locale.cc: Same.
4293 * src/locale.cc: Tweak.
4294 * src/globals.cc: Change facet_name to name_vec, add names_c.
4295 * src/localename.cc: Use them.
4296 (locale::_Impl::~_Impl): Destroy _M_names.
4297 (locale::_Impl::_Impl): Create _M_names.
4299 2003-04-27 Andreas Schwab <schwab@suse.de>
4301 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
4302 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
4304 2003-04-27 Nathan Myers <ncm@cantrip.org>
4306 Move some basic_string members out of line because
4307 they are too big to reasonably be inline.
4308 * include/bits/basic_string.h
4309 (assign(const basic_string&, size_type, size_type),
4310 assign(const _CharT*, size_type),
4311 insert(size_type, const basic_string&, size_type, size_type),
4312 insert(size_type, const _CharT*, size_type),
4313 replace(size_type, size_type, const _CharT*, size_type)):
4314 Move from here to...
4315 * include/bits/basic_string.tcc: ...here.
4317 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4319 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
4320 the innermost 'if' by factoring out some code.
4322 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4324 * include/bits/streambuf.tcc (__copy_streambufs): Don't
4325 use in_avail(), simplify.
4327 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4329 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
4330 in basic_stringbuf it's unused.
4332 * include/std/std_sstream.h (underflow): consistently use
4333 _M_in_cur, not gptr().
4335 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
4336 Phil Edwards <pme@gcc.gnu.org>
4338 * testsuite_flags.in: Guard against the possibility
4339 of having "xgcc" as a part of a folder name in the
4340 path to the GCC build folder.
4341 * testsuite/Makefile.am: Likewise.
4342 * testsuite/Makefile.in: Regenerated.
4344 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
4347 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
4348 exception specifications.
4349 (basic_filebuf::close): Same.
4350 (basic_filebuf::_M_pback_destroy): Same.
4351 (basic_filebuf::_M_destroy_internal_buffer): Same.
4352 (basic_filebuf): Remove __res_type typedef.
4353 * src/fstream.cc: Same.
4354 * include/bits/fstream.tcc
4355 (basic_filebuf::_M_convert_to_external): Simplify.
4356 (basic_filebuf::seekoff): Use has_facet before use_facet.
4357 (basic_filebuf::close): Add exception specification of throw().
4358 * testsuite/27_io/basic_filebuf/cons: New.
4359 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
4360 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
4361 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
4362 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
4364 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
4366 * include/bits/locale_classes.h
4367 (locale::_S_extra_categories_size): Remove.
4368 * src/locale.cc: Remove _S_extra_categories_size.
4369 * src/localename.cc: Same.
4370 * config/locale/gnu/c_locale.cc: Same.
4371 * config/locale/generic/c_locale.cc: Same.
4373 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
4375 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
4377 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
4379 * docs/html/17_intro/howto.html: Update some links.
4380 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
4381 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
4382 * docs/html/ext/howto.html: Link to demangler notes and API.
4383 * docs/html/faq/index.html: Remove trailing whitespace.
4384 (1.4, 2.4, 3.8, 4.1): Bring up to date.
4385 (5.6): Change to a bulleted list.
4387 * docs/html/faq/index.txt, docs/html/documentation.html,
4388 docs/html/17_intro/porting.html: Regenerate.
4390 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
4392 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
4393 belongs to basic_filebuf.
4394 * testsuite/27_io/basic_fstream/3.cc: Likewise.
4395 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
4396 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
4397 instantiation (now belongs to basic_filebuf).
4398 * testsuite/27_io/basic_iostream/3.cc: Likewise.
4399 * testsuite/27_io/basic_istream/3.cc: Likewise.
4400 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4401 _S_pback_size now belongs to basic_filebuf.
4402 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
4403 instantiation (now belongs to basic_filebuf).
4404 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
4405 belongs to basic_filebuf.
4406 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
4407 instantiation (now belongs to basic_filebuf).
4408 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
4409 _S_pback_size now belongs to basic_filebuf.
4410 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
4411 instantiation (now belongs to basic_filebuf).
4412 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
4414 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
4415 instantiation (now belongs to basic_filebuf).
4416 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
4418 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
4420 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
4421 * configure: Regenerated.
4423 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
4425 * config/locale/generic/c_locale.h (__convert_from_v): Use
4428 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
4430 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
4431 implementation only.
4432 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
4433 Comment and change to comply with DR 60 and the effect on gcount().
4434 * include/std/std_istream.h: Update comments.
4435 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
4436 comments about reasons for tests. Test sync() against gcount().
4437 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
4438 for effect on gcount().
4439 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
4440 for effect on gcount().
4442 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
4444 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
4447 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
4449 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
4450 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
4451 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
4452 (basic_streambuf::basic_streambuf()): Adjust.
4453 * include/std/std_fstream.h (_S_pback_size, _M_pback,
4454 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
4455 _M_pback_create(), _M_pback_destroy()): Moved here
4456 from basic_streambuf.
4457 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
4459 (basic_filebuf::_S_pback_size): Add declaration.
4460 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
4463 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4465 Consistently use _M_in_beg instead of eback(), _M_in_cur
4466 instead of gptr(), and so on.
4467 * include/bits/fstream.tcc (pbackfail, imbue): Here.
4468 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
4469 * include/bits/streambuf.tcc (sbumpc, sputbackc,
4470 __copy_streambufs): Ditto.
4471 * include/std/std_streambuf.h (sgetc): Ditto.
4473 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4475 * include/bits/sstream.tcc (pbackfail, overflow):
4478 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4480 * include/std/std_streambuf.h (uflow()): It's used only by
4481 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
4482 therefore do not consider the _M_buf_unified == true case.
4484 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
4486 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4488 * docs/html/ext/howto.html ('LWG Issues'):
4489 Add issues 19, 90, 171, 231, 271.
4491 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4493 * include/bits/sstream.tcc (pbackfail): Remove redundant
4494 NULL pointer check from test involving _M_in_*.
4495 (overflow, seekoff, seekpos): Const qualify bool variables.
4496 * include/std/std_sstream.h (underflow): Remove redundant
4497 NULL pointer check from test involving _M_in_*.
4498 (_M_really_sync): Const qualify bool variables.
4499 * src/fstream.cc (_M_underflow_common): Remove redundant
4500 NULL pointer check from test involving _M_in_*, const qualify
4503 * include/std/std_streambuf.h (sgetc): Remove redundant
4506 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
4508 According to 5.9 para 2 (second bullet) for pointers p, q
4509 pointing to the same type, with p == 0 and q == 0, (p < q)
4511 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
4512 seekoff): Remove redundant NULL pointer checks from tests
4513 involving _M_out_* and _M_in_*, const qualify bool variables.
4514 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
4515 qualify bool variables.
4516 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
4517 Remove redundant NULL pointer checks from tests involving
4518 _M_out_* and _M_in_*, const qualify bool variables.
4519 * include/std/std_fstream.h (sync): Likewise.
4520 (_M_is_indeterminate): Const qualify bool variables.
4521 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
4522 NULL pointer checks from tests involving _M_out_* and _M_in_*,
4523 const qualify bool variables.
4524 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
4527 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
4529 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
4530 C99 FP macros, if actually captured.
4532 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
4533 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4534 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4535 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4536 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
4538 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4539 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4540 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4541 * include/c_std/std_cstdlib.h: Use new macros.
4542 * include/c_std/std_cstdio.h: Use new macros.
4543 * include/c_std/std_cwchar.h: Use new macros.
4545 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
4548 * include/bits/ostream.tcc: Catch all exceptions for formatted
4549 output, instead of std::exception and derivatives.
4550 * include/bits/istream.tcc: Same.
4551 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
4552 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
4553 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
4554 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
4555 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
4556 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
4559 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
4561 * include/bits/c++config: Minor cosmetic tweaks.
4563 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
4565 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
4566 * include/Makefile.am (pch_input): Find in ${target_builddir}.
4567 (pch_output): Rename to...
4568 (pch_output_builddir): ..this. Find in ${target_builddir}.
4569 (pch_source): Tweak.
4570 (pch_build): Key off a built file.
4571 (pch_output rule): Rename to...
4572 (pch_input rule): ...this. Produce ${pch_output_builddir}
4573 instead of ${pch_output}.
4574 (install-pch rule): Install ${pch_output_builddir}.
4575 * include/Makefile.in: Regenerated.
4577 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
4579 * include/std/std_streambuf.h (setp): _M_out_lim, being
4580 the end limit of used put area, is set equal to _M_out_beg.
4582 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
4584 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
4585 * aclocal.m4: Regenerated.
4586 * configure.in: Remove old demangler bits.
4588 * configure: Regenerate.
4589 * config.h.in: Regenerate.
4590 * include/Makefile.am (allstamps): Now allstamped.
4591 (allcreated): Define this.
4592 (all-local): Use 'em.
4593 Conditionally define pch_build, pch_install based on
4595 (${pch_output}): New rule.
4596 (install-pch): New rule.
4597 (install-headers): New rule.
4598 (install-data-local): Install headers and conditionally pch.
4599 * include/Makefile.in: Regenerate.
4600 * testsuite_flags.in (--build-cxx): Use pch file.
4602 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
4604 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
4606 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
4607 Paolo Carlini <pcarlini at unitus dot it>
4610 * docs/html/27_io/howto.html
4611 ('The buffering is screwing up my program!'): Explain that
4612 opening counts as an I/O operation.
4614 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
4616 * testsuite/thread/pthread1.cc: Enable for darwin test.
4617 * testsuite/thread/pthread2.cc: Same.
4618 * testsuite/thread/pthread3.cc: Same.
4619 * testsuite/thread/pthread4.cc: Same.
4620 * testsuite/thread/pthread5.cc: Same.
4621 * testsuite/thread/pthread6.cc: Same.
4623 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
4626 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
4627 Populate it with multiple legal ways to obtain the C99 float
4628 transcendentals. Use them instead of direct global reference.
4629 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
4630 * docs/html/17_intro/porting.texi
4631 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4632 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4633 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
4634 * config/os/bsd/freebsd/os_defines.h
4635 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4636 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4637 * testsuite/26_numerics/c_math_dynamic.cc: New file.
4639 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4640 Benjamin Kosnik <bkoz@redhat.com>
4642 * config/os/generic/ctype_inline.h: Fix.
4644 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
4646 * testsuite/testsuite_hooks.h
4647 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
4648 Change to try_named_locale.
4649 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
4651 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
4653 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4654 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4655 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
4656 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
4657 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
4658 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
4659 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
4660 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
4661 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
4662 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
4663 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
4664 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
4665 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
4666 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
4667 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
4668 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4669 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4670 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4671 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
4672 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
4673 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
4674 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
4675 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
4676 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
4677 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
4678 * testsuite/22_locale/collate/compare/char/1.cc: Same.
4679 * testsuite/22_locale/collate/compare/char/2.cc: Same.
4680 * testsuite/22_locale/collate/compare/char/3.cc: Same.
4681 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
4682 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
4683 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
4684 * testsuite/22_locale/collate/hash/char/2.cc: Same.
4685 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
4686 * testsuite/22_locale/collate/transform/char/2.cc: Same.
4687 * testsuite/22_locale/collate/transform/char/3.cc: Same.
4688 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
4689 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
4690 * testsuite/22_locale/collate_byname/1.cc: Same.
4691 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4692 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4693 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
4694 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
4695 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
4696 * testsuite/22_locale/facet/2.cc: Same.
4697 * testsuite/22_locale/locale/cons/2.cc: Same.
4698 * testsuite/22_locale/locale/cons/4.cc: Same.
4699 * testsuite/22_locale/locale/cons/5.cc: Same.
4700 * testsuite/22_locale/locale/cons/7.cc: Same.
4701 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
4702 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
4703 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
4704 * testsuite/22_locale/messages/members/char/1.cc: Same.
4705 * testsuite/22_locale/messages/members/char/2.cc: Same.
4706 * testsuite/22_locale/messages/members/char/3.cc: Same.
4707 * testsuite/22_locale/messages_byname/1.cc: Same.
4708 * testsuite/22_locale/money_get/get/char/1.cc: Same.
4709 * testsuite/22_locale/money_get/get/char/2.cc: Same.
4710 * testsuite/22_locale/money_get/get/char/3.cc: Same.
4711 * testsuite/22_locale/money_get/get/char/4.cc: Same.
4712 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
4713 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
4714 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
4715 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
4716 * testsuite/22_locale/money_put/put/char/1.cc: Same.
4717 * testsuite/22_locale/money_put/put/char/2.cc: Same.
4718 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4719 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4720 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4721 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4722 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4723 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4724 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4725 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4726 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4727 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4728 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4729 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4730 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4731 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4732 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4733 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4734 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4735 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4736 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4737 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4738 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4739 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4740 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4741 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4742 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4743 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4744 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4745 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4746 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4747 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4748 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4749 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4750 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4751 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4752 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4753 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4754 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4755 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4756 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4757 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4758 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4759 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4760 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4761 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4762 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4763 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4764 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4765 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4766 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4767 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4768 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4769 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4770 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4771 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4772 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4773 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4774 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4775 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4776 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4777 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4778 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4779 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4780 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4781 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4782 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4783 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4784 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4785 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4786 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4787 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4788 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4789 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4791 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4793 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4794 solaris includes, not generic.
4796 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4798 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4800 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4801 * include/bits/concept_check.h: Fix multi-line comment.
4802 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4803 when target is *-*-freebsd*.
4805 2003-04-14 Nathan Myers <ncm@cantrip.org>
4806 Paolo Carlini <pcarlini@unitus.it>
4808 PR libstdc++/9701 (in_avail())
4809 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4810 doesn't care if there is anything in some putback cell.
4811 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4813 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4814 unused string literals.
4816 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4818 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4819 _M_out_end, _M_set_indeterminate() does it.
4821 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4823 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4825 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4827 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4828 Change basic_streambuf instantiation to "unsigned char".
4829 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4831 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4833 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4834 * include/bits/fstream.tcc
4835 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4836 references to _M_buf_size_opt.
4837 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4838 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4839 __bufsize to __in_avail and __size_opt to __buf_size.
4840 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4841 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4842 * include/std/std_streambuf.h (~basic_streambuf(),
4843 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4844 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4845 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4846 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4847 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4848 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4849 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4850 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4851 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4852 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4853 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4854 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4855 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4857 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4859 * include/ext/stdio_filebuf.h
4860 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4861 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4862 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4863 since a stack-based buffer is used for small values of the size_t
4865 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4866 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4867 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4869 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4872 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4873 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4875 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4877 * testsuite/22_locale/locale/cons/3.cc: Split.
4878 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4879 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4880 Check before trying to create a locale from the environment.
4881 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4882 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4885 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4887 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4888 locale to construct this hybrid locale, not the global locale.
4890 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4892 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4893 instantiation for AIX.
4894 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4895 * testsuite/25_algorithms/min_max.cc: Same.
4897 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4899 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4900 twice. Always set _M_cfile to 0 when stream was open.
4902 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4904 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4905 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4906 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4907 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4908 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4909 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4910 ifstream_members.cc, instantiations.cc, ios.cc,
4911 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4912 ios_base_members_static.cc, ios_base_storage.cc,
4913 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4914 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4915 iostream.cc, iostream_members.cc, istream.cc,
4916 istream_exception.cc, istream_extractor_char.cc,
4917 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4918 istream_extractor_other-2.tst, istream_extractor_other.cc,
4919 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4920 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4921 istream_sentry.cc, istream_unformatted-1.tst,
4922 istream_unformatted-1.txt, istream_unformatted.cc,
4923 istringstream.cc, istringstream_members.cc,
4924 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4925 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4926 ostream_fail.cc, ostream_inserter_arith.cc,
4927 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4928 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4929 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4930 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4931 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4932 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4933 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4934 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4935 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4936 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4937 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4938 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4939 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4940 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4942 * 27_io/basic_filebuf/1.cc: New.
4943 * 27_io/basic_filebuf/2.cc: New.
4944 * 27_io/basic_filebuf/3.cc: New.
4945 * 27_io/basic_filebuf/4.cc: New.
4946 * 27_io/basic_filebuf/close/char/1.cc: New.
4947 * 27_io/basic_filebuf/close/char/2.cc: New.
4948 * 27_io/basic_filebuf/close/char/3.cc: New.
4949 * 27_io/basic_filebuf/close/char/4879.cc: New.
4950 * 27_io/basic_filebuf/close/char/9964.cc: New.
4951 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4952 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4953 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4954 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4955 * 27_io/basic_filebuf/open/char/1.cc: New.
4956 * 27_io/basic_filebuf/open/char/2.cc: New.
4957 * 27_io/basic_filebuf/open/char/3.cc: New.
4958 * 27_io/basic_filebuf/open/char/9507.cc: New.
4959 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4960 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4961 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4962 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4963 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4964 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4965 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4966 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4967 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4968 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4969 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4970 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4971 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4972 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4973 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4974 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4975 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4976 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4977 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4978 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4979 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4980 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4981 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4982 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4983 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4984 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4985 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4986 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4987 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4988 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4989 * 27_io/basic_fstream/1.cc: New.
4990 * 27_io/basic_fstream/2.cc: New.
4991 * 27_io/basic_fstream/3.cc: New.
4992 * 27_io/basic_fstream/4.cc: New.
4993 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4994 * 27_io/basic_ifstream/1.cc: New.
4995 * 27_io/basic_ifstream/2.cc: New.
4996 * 27_io/basic_ifstream/3.cc: New.
4997 * 27_io/basic_ifstream/4.cc: New.
4998 * 27_io/basic_ifstream/cons/char/1.cc: New.
4999 * 27_io/basic_ifstream/open/char/1.cc: New.
5000 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
5001 * 27_io/basic_ios/1.cc: New.
5002 * 27_io/basic_ios/2.cc: New.
5003 * 27_io/basic_ios/3.cc: New.
5004 * 27_io/basic_ios/4.cc: New.
5005 * 27_io/basic_ios/clear/char/1.cc: New.
5006 * 27_io/basic_ios/cons/char/1.cc: New.
5007 * 27_io/basic_ios/cons/char/2.cc: New.
5008 * 27_io/basic_ios/cons/char/3.cc: New.
5009 * 27_io/basic_ios/copyfmt/char/1.cc: New.
5010 * 27_io/basic_ios/copyfmt/char/2.cc: New.
5011 * 27_io/basic_ios/exceptions/char/1.cc: New.
5012 * 27_io/basic_ios/locales/char/1.cc: New.
5013 * 27_io/basic_iostream/1.cc: New.
5014 * 27_io/basic_iostream/2.cc: New.
5015 * 27_io/basic_iostream/3.cc: New.
5016 * 27_io/basic_iostream/4.cc: New.
5017 * 27_io/basic_istream/1.cc: New.
5018 * 27_io/basic_istream/2.cc: New.
5019 * 27_io/basic_istream/3.cc: New.
5020 * 27_io/basic_istream/4.cc: New.
5021 * 27_io/basic_istream/exceptions/char/9561.cc: New.
5022 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
5023 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
5024 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
5025 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
5026 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
5027 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
5028 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
5029 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
5030 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
5031 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
5032 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
5033 * 27_io/basic_istream/extractors_character/char/1.cc: New.
5034 * 27_io/basic_istream/extractors_character/char/2.cc: New.
5035 * 27_io/basic_istream/extractors_character/char/3.cc: New.
5036 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
5037 * 27_io/basic_istream/extractors_other/char/1.cc: New.
5038 * 27_io/basic_istream/extractors_other/char/2.cc: New.
5039 * 27_io/basic_istream/extractors_other/char/3.cc: New.
5040 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
5041 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
5042 * 27_io/basic_istream/get/char/1.cc: New.
5043 * 27_io/basic_istream/get/char/2.cc: New.
5044 * 27_io/basic_istream/getline/char/1.cc: New.
5045 * 27_io/basic_istream/getline/char/2.cc: New.
5046 * 27_io/basic_istream/getline/char/3.cc: New.
5047 * 27_io/basic_istream/ignore/char/1.cc: New.
5048 * 27_io/basic_istream/ignore/char/6360.cc: New.
5049 * 27_io/basic_istream/ignore/char/7220.cc: New.
5050 * 27_io/basic_istream/peek/char/1.cc: New.
5051 * 27_io/basic_istream/peek/char/6414.cc: New.
5052 * 27_io/basic_istream/putback/char/1.cc: New.
5053 * 27_io/basic_istream/read/char/1.cc: New.
5054 * 27_io/basic_istream/read/char/2.cc: New.
5055 * 27_io/basic_istream/read/char/3.cc: New.
5056 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
5057 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
5058 * 27_io/basic_istream/readsome/char/8258.cc: New.
5059 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
5060 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
5061 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
5062 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
5063 * 27_io/basic_istream/seekg/char/fstream.cc: New.
5064 * 27_io/basic_istream/seekg/char/sstream.cc: New.
5065 * 27_io/basic_istream/sentry/char/1.cc: New.
5066 * 27_io/basic_istream/sentry/char/2.cc: New.
5067 * 27_io/basic_istream/sentry/char/3.cc: New.
5068 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
5069 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
5070 * 27_io/basic_istream/tellg/char/1.cc: New.
5071 * 27_io/basic_istream/tellg/char/8348.cc: New.
5072 * 27_io/basic_istream/tellg/char/fstream.cc: New.
5073 * 27_io/basic_istream/tellg/char/sstream.cc: New.
5074 * 27_io/basic_istream/ws/char/1.cc: New.
5075 * 27_io/basic_istringstream/1.cc: New.
5076 * 27_io/basic_istringstream/2.cc: New.
5077 * 27_io/basic_istringstream/3.cc: New.
5078 * 27_io/basic_istringstream/4.cc: New.
5079 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
5080 * 27_io/basic_istringstream/str/char/1.cc: New.
5081 * 27_io/basic_ofstream/1.cc: New.
5082 * 27_io/basic_ofstream/2.cc: New.
5083 * 27_io/basic_ofstream/3.cc: New.
5084 * 27_io/basic_ofstream/4.cc: New.
5085 * 27_io/basic_ofstream/cons/char/2.cc: New.
5086 * 27_io/basic_ofstream/open/char/1.cc: New.
5087 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
5088 * 27_io/basic_ostream/1.cc: New.
5089 * 27_io/basic_ostream/2.cc: New.
5090 * 27_io/basic_ostream/3.cc: New.
5091 * 27_io/basic_ostream/4.cc: New.
5092 * 27_io/basic_ostream/cons/char/9827.cc: New.
5093 * 27_io/basic_ostream/endl/char/1.cc: New.
5094 * 27_io/basic_ostream/ends/char/1.cc: New.
5095 * 27_io/basic_ostream/ends/char/2.cc: New.
5096 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
5097 * 27_io/basic_ostream/flush/char/1.cc: New.
5098 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
5099 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
5100 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
5101 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
5102 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
5103 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
5104 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
5105 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
5106 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
5107 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
5108 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
5109 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
5110 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
5111 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
5112 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
5113 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
5114 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
5115 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
5116 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
5117 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
5118 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
5119 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
5120 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
5121 * 27_io/basic_ostream/sentry/char/1.cc: New.
5122 * 27_io/basic_ostream/sentry/char/2.cc: New.
5123 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
5124 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
5125 * 27_io/basic_ostream/tellp/char/1.cc: New.
5126 * 27_io/basic_ostream/tellp/char/2.cc: New.
5127 * 27_io/basic_ostringstream/1.cc: New.
5128 * 27_io/basic_ostringstream/2.cc: New.
5129 * 27_io/basic_ostringstream/3.cc: New.
5130 * 27_io/basic_ostringstream/4.cc: New.
5131 * 27_io/basic_ostringstream/cons/char/3.cc: New.
5132 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
5133 * 27_io/basic_ostringstream/str/char/1.cc: New.
5134 * 27_io/basic_ostringstream/str/char/2.cc: New.
5135 * 27_io/basic_streambuf/1.cc: New.
5136 * 27_io/basic_streambuf/2.cc: New.
5137 * 27_io/basic_streambuf/3.cc: New.
5138 * 27_io/basic_streambuf/cons/char/1.cc: New.
5139 * 27_io/basic_streambuf/imbue/char/1.cc: New.
5140 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
5141 * 27_io/basic_streambuf/overflow/char/1.cc: New.
5142 * 27_io/basic_streambuf/overflow/char/2.cc: New.
5143 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
5144 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
5145 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
5146 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
5147 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
5148 * 27_io/basic_streambuf/sputn/char/1.cc: New.
5149 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
5150 * 27_io/basic_streambuf/sync/char/1057.cc: New.
5151 * 27_io/basic_stringbuf/1.cc: New.
5152 * 27_io/basic_stringbuf/2.cc: New.
5153 * 27_io/basic_stringbuf/3.cc: New.
5154 * 27_io/basic_stringbuf/4.cc: New.
5155 * 27_io/basic_stringbuf/5.cc: New.
5156 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
5157 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
5158 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
5159 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
5160 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
5161 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
5162 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
5163 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
5164 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
5165 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
5166 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
5167 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
5168 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
5169 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
5170 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
5171 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
5172 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
5173 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
5174 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
5175 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
5176 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
5177 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
5178 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
5179 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
5180 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
5181 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
5182 * 27_io/basic_stringbuf/str/char/1.cc: New.
5183 * 27_io/basic_stringbuf/str/char/2.cc: New.
5184 * 27_io/basic_stringbuf/str/char/3.cc: New.
5185 * 27_io/basic_stringbuf/str/char/3955.cc: New.
5186 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
5187 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
5188 * 27_io/basic_stringstream/1.cc: New.
5189 * 27_io/basic_stringstream/2.cc: New.
5190 * 27_io/basic_stringstream/3.cc: New.
5191 * 27_io/basic_stringstream/4.cc: New.
5192 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
5193 * 27_io/basic_stringstream/str/char/1.cc: New.
5194 * 27_io/basic_stringstream/str/char/2.cc: New.
5195 * 27_io/basic_stringstream/str/char/3.cc: New.
5196 * 27_io/basic_stringstream/str/char/4.cc: New.
5197 * 27_io/fpos/1.cc: New.
5198 * 27_io/fpos/2.cc: New.
5199 * 27_io/fpos/3.cc: New.
5200 * 27_io/ios_base/callbacks/1.cc: New.
5201 * 27_io/ios_base/state/1.cc: New.
5202 * 27_io/ios_base/storage/1.cc: New.
5203 * 27_io/ios_base/storage/2.cc: New.
5204 * 27_io/ios_base/storage/3.cc: New.
5205 * 27_io/ios_base/sync_with_stdio/1.cc: New.
5206 * 27_io/ios_base/sync_with_stdio/2.cc: New.
5207 * 27_io/manipulators/adjustfield/char/1.cc: New.
5208 * 27_io/manipulators/adjustfield/char/2.cc: New.
5209 * 27_io/manipulators/basefield/char/1.cc: New.
5210 * 27_io/manipulators/standard/char/1.cc: New.
5211 * 27_io/manipulators/standard/char/2.cc: New.
5212 * 27_io/objects/char/1.cc: New.
5213 * 27_io/objects/char/2.cc: New.
5214 * 27_io/objects/char/2523-1_xin.cc: New.
5215 * 27_io/objects/char/2523-1_xin.in: New.
5216 * 27_io/objects/char/2523-2_xin.cc: New.
5217 * 27_io/objects/char/2523-2_xin.in: New.
5218 * 27_io/objects/char/3045.cc: New.
5219 * 27_io/objects/char/3647.cc: New.
5220 * 27_io/objects/char/3_xin.cc: New.
5221 * 27_io/objects/char/3_xin.in: New.
5222 * 27_io/objects/char/4_xin.cc: New.
5223 * 27_io/objects/char/4_xin.in: New.
5224 * 27_io/objects/char/5268.cc: New.
5225 * 27_io/objects/char/5280_xin.cc: New.
5226 * 27_io/objects/char/5280_xin.in: New.
5227 * 27_io/objects/char/6548_xin.cc: New.
5228 * 27_io/objects/char/6548_xin.in: New.
5229 * 27_io/objects/char/6648-1_xin.cc: New.
5230 * 27_io/objects/char/6648-1_xin.in: New.
5231 * 27_io/objects/char/6648-2_xin.cc: New.
5232 * 27_io/objects/char/6648-2_xin.in: New.
5233 * 27_io/objects/char/7744_xin.cc: New.
5234 * 27_io/objects/char/7744_xin.in: New.
5235 * 27_io/objects/wchar_t/1.cc: New.
5236 * 27_io/types/1.cc: New.
5237 * 27_io/types/2.cc: New.
5238 * data/filebuf_members-1.tst: New.
5239 * data/filebuf_members-1.txt: New.
5240 * data/filebuf_virtuals-1.tst: New.
5241 * data/filebuf_virtuals-1.txt: New.
5242 * data/filebuf_virtuals-2.tst: New.
5243 * data/filebuf_virtuals-3.tst: New.
5244 * data/ifstream_members-1.tst: New.
5245 * data/ifstream_members-1.txt: New.
5246 * data/ios_base_members_static-1.tst: New.
5247 * data/istream_extractor_other-1.tst: New.
5248 * data/istream_extractor_other-1.txt: New.
5249 * data/istream_extractor_other-2.tst: New.
5250 * data/istream_seeks-1.tst: New.
5251 * data/istream_seeks-1.txt: New.
5252 * data/istream_seeks-2.tst: New.
5253 * data/istream_seeks-3.tst: New.
5254 * data/istream_unformatted-1.tst: New.
5255 * data/istream_unformatted-1.txt: New.
5256 * data/ofstream_members-1.tst: New.
5257 * data/ostream_inserter_char-1.tst: New.
5258 * data/ostream_inserter_char-1.txt: New.
5259 * data/ostream_inserter_other-1.tst: New.
5260 * data/ostream_inserter_other-2.tst: New.
5261 * data/ostream_seeks-1.tst: New.
5263 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5265 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
5266 requirement that __mode must be strict input or output.
5268 * include/std/std_streambuf.h (basic_streambuf::setp): Set
5271 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
5272 output string shouldn't core.
5273 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
5275 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
5277 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
5280 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5282 * testsuite/data: New directory.
5283 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
5284 to copy files from the testsuite data directory.
5285 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
5286 testfiles containing _xin, which now means this is an interactive
5287 test and should be run with the interactive dejagnu hooks.
5288 * testsuite/Makefile.am: Remove testsuite_* files.
5289 * testsuite/Makefile.in: Regenerate.
5291 2003-04-09 Zack Weinberg <zack@codesourcery.com>
5293 * docs/html/install.html: Document complete list of locales
5294 required by test suite. Document procedure for installing
5295 said locales under Debian. Solicit instructions for other
5298 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
5300 * include/bits/sstream.tcc (overflow): Make sure operands of min
5301 and max have the same type.
5303 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
5306 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
5309 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
5311 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
5312 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5313 Don't set _M_out_end.
5314 (basic_filebuf::overflow): Replace _M_out_buf_size() with
5315 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
5316 * include/bits/sstream.tcc (basic_stringbuf::overflow):
5317 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
5318 * include/bits/streambuf.tcc (basic_streambuf::sputc):
5319 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
5320 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
5321 _M_out_end - _M_out_cur.
5322 (__copy_streambufs): Likewise.
5323 * include/std/std_fstream.h (_M_set_determinate): Set
5326 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
5328 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
5329 _M_convert_to_external, _M_really_overflow, seekoff): Fix
5330 test for synced buffer.
5331 * include/std/std_fstream.h (sync): Likewise.
5332 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5333 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
5335 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
5337 * include/std/std_sstream.h (basic_istringstream): Adjust
5339 (basic_ostringstream): Same.
5340 (basic_stringstream): Same.
5341 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
5342 (basic_ofstream): Same.
5343 (basic_fstream): Same.
5344 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
5345 that does not call init.
5346 * include/std/std_istream.h (basic_istream): Same.
5347 (basic_iostream): Construct istream, ostream uninitialized, use
5348 init to initialize just once. Add protected ctor that does not
5351 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
5352 Nathan Myers <ncm@cantrip.org>
5355 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
5357 (basic_filebuf<>::showmanyc): Use the information provided
5358 by codecvt and __basic_file<>::showmanyc_helper to implement
5359 a non-trivial showmanyc.
5360 * config/io/basic_file_stdio.h
5361 (__basic_file<>::showmanyc_helper): New, declare.
5362 * config/io/basic_file_stdio.cc
5363 (__basic_file<>::showmanyc_helper): Define.
5364 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
5365 (__basic_file<char>::open): Don't call fcntl().
5366 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
5367 GLIBCPP_CHECK_POLL): New macros.
5368 * configure.in: Call here.
5369 * acconfig.h: Add #undefs for the corresponding symbols.
5370 * aclocal.m4: Regenerate.
5371 * configure: Regenerate.
5372 * config.h.in: Regenerate.
5374 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
5376 * config/linker-map.gnu: Remove string export restrictions.
5378 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
5380 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
5381 find_first_of, find_last_of and find_last_not_of tests.
5382 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
5383 tests here, new file.
5384 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
5385 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
5386 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
5387 wchar_t find_first_of tests here, new file.
5388 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
5390 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
5392 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
5393 wchar_t find_last_of tests here.
5394 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
5395 wchar_t find_last_not_of tests here.
5397 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
5399 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
5400 Correct return value.
5402 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
5405 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
5406 * include/std/std_complex.h (norm): Use faster,
5407 less accurate computation for builtin float types under --fast-math.
5409 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
5411 * testsuite/testsuite_hooks.h: Fix warning nits.
5413 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
5415 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
5416 Only .set mips2 for the o32 ABI.
5418 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
5420 * testsuite/21_strings/char_traits/requirements/char/1.cc:
5421 Test char not wchar_t.
5423 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
5425 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
5426 Correct size, taking into account sizeof(wchar_t).
5428 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
5430 Reshuffle 21_strings testsuite.
5431 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
5432 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
5433 element_access.cc, operations.cc, char_traits_requirements.cc,
5434 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
5435 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
5436 wchar_t tests as follows.
5437 * 21_strings/basic_string/append/char/1.cc: New.
5438 * 21_strings/basic_string/append/wchar_t/1.cc: New.
5439 * 21_strings/basic_string/assign/char/1.cc: New.
5440 * 21_strings/basic_string/assign/char/2.cc: New.
5441 * 21_strings/basic_string/assign/char/3.cc: New.
5442 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
5443 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
5444 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
5445 * 21_strings/basic_string/capacity/1.cc: New.
5446 * 21_strings/basic_string/capacity/char/1.cc: New.
5447 * 21_strings/basic_string/capacity/char/2.cc: New.
5448 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
5449 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
5450 * 21_strings/basic_string/compare/char/1.cc: New.
5451 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
5452 * 21_strings/basic_string/cons/char/1.cc: New.
5453 * 21_strings/basic_string/cons/char/2.cc: New.
5454 * 21_strings/basic_string/cons/char/3.cc: New.
5455 * 21_strings/basic_string/cons/char/4.cc: New.
5456 * 21_strings/basic_string/cons/char/5.cc: New.
5457 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
5458 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
5459 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
5460 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
5461 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
5462 * 21_strings/basic_string/element_access/char/1.cc: New.
5463 * 21_strings/basic_string/element_access/char/2.cc: New.
5464 * 21_strings/basic_string/element_access/char/3.cc: New.
5465 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
5466 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
5467 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
5468 * 21_strings/basic_string/find/char/1.cc: New.
5469 * 21_strings/basic_string/find/wchar_t/1.cc: New.
5470 * 21_strings/basic_string/insert/char/1.cc: New.
5471 * 21_strings/basic_string/insert/char/2.cc: New.
5472 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
5473 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
5474 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
5475 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
5476 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
5477 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
5478 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
5479 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
5480 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
5481 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
5482 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
5483 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
5484 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
5485 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
5486 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
5487 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
5488 * 21_strings/basic_string/operators/char/1.cc: New.
5489 * 21_strings/basic_string/operators/char/2.cc: New.
5490 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
5491 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
5492 * 21_strings/basic_string/replace/char/1.cc: New.
5493 * 21_strings/basic_string/replace/char/2.cc: New.
5494 * 21_strings/basic_string/replace/char/3.cc: New.
5495 * 21_strings/basic_string/replace/char/4.cc: New.
5496 * 21_strings/basic_string/replace/char/5.cc: New.
5497 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
5498 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
5499 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
5500 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
5501 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
5502 * 21_strings/basic_string/rfind/char/1.cc: New.
5503 * 21_strings/basic_string/rfind/char/2.cc: New.
5504 * 21_strings/basic_string/rfind/char/3.cc: New.
5505 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
5506 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
5507 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
5508 * 21_strings/basic_string/substr/char/1.cc: New.
5509 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
5510 * 21_strings/c_strings/char/1.cc: New.
5511 * 21_strings/c_strings/char/2.cc: New.
5512 * 21_strings/c_strings/wchar_t/1.cc: New.
5513 * 21_strings/c_strings/wchar_t/2.cc: New.
5514 * 21_strings/char_traits/requirements/char/1.cc: New.
5515 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
5516 * 21_strings/char_traits/typedefs/char/1.cc: New.
5518 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
5519 Petur Runolfsson <peturr02@ru.is>
5522 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5523 basic_filebuf<wchar_t>::_M_underflow_common):
5524 if (gptr() < egptr()) return *gptr().
5525 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
5527 * testsuite/27_io/filebuf_members.cc (test_04): Minor
5528 changes: unlink fifo before making it, fix spelling error.
5530 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
5532 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
5533 * testsuite/Makefile.in: Regenerate.
5534 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
5537 2003-03-17 Petur Runolfsson <peturr02@ru.is>
5540 * include/bits/fstream.tcc (basic_filebuf::close):
5541 Always close file, even when write fails.
5542 * testsuite/27_io/filebuf_members.cc (test_07): New test.
5544 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
5546 * libsupc++/Makefile.am (C_COMPILE): Remove.
5547 (LTCOMPILE): Likewise.
5548 * libsupc++/Makefile.in: Regenerate.
5550 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5552 * testsuite/23_containers/bitset_members.cc: Add test variable.
5553 * testsuite/23_containers/map_insert.cc: Same.
5554 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
5555 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
5556 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
5557 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
5558 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
5559 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
5560 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
5561 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
5562 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
5563 * testsuite/27_io/istream_exception.cc: Same.
5564 * testsuite/27_io/filebuf_virtuals.cc: Same.
5565 * testsuite/27_io/stringbuf_virtuals.cc: Same.
5566 * testsuite/27_io/ostream_inserter_arith.cc: Same.
5567 * testsuite/26_numerics/valarray_operators.cc: Same.
5568 * testsuite/26_numerics/slice.cc: Same.
5569 * testsuite/26_numerics/slice_array_assignment.cc: Same.
5570 * testsuite/24_iterators/istream_iterator.cc: Same.
5571 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
5573 2003-03-14 Petur Runolfsson <peturr02@ru.is>
5577 * config/locale/generic/ctype_members.cc,
5578 * config/locale/gnu/ctype_members.cc
5579 (ctype<wchar_t>::do_widen(char)): Cast argument to
5580 unsigned char before passing to btowc.
5581 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
5582 Convert characters with btowc instead of mbsrtowcs.
5583 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
5585 Convert characters with wctob instead of wcsrtombs.
5586 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
5587 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
5588 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
5590 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5592 * include/stdc++.h: New.
5593 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
5594 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
5595 * include/Makefile.in: Regenerate.
5596 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
5597 (--cxxflags): Put -g -O2 here.
5598 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
5600 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
5602 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
5603 missing named locale.
5605 2003-03-14 Andreas Schwab <schwab@suse.de>
5607 * configure.in: Only append to makefiles that are newly created to
5608 avoid multiple multi-do/multi-clean rules.
5609 * configure: Rebuilt.
5611 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
5613 * docs/html/configopts.html, docs/html/documentation.html,
5614 docs/html/explanations.html, docs/html/install.html,
5615 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
5616 invalid XHTML and make page header style consistent.
5618 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
5620 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
5621 * docs/html/faq/index.txt: Regenerate.
5622 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
5624 2003-03-12 Andreas Schwab <schwab@suse.de>
5626 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
5627 glibcpp_toolexeclibdir.
5628 * aclocal.m4, configure: Rebuilt.
5630 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
5632 * docs/html/faq/index.html: Update text about location of headers.
5633 * docs/html/faq/index.txt: Regenerate.
5635 2003-03-11 Carlo Wood <carlo@alinoe.com>
5637 * include/bits/demangle.h: Prepend accessors of
5638 class qualifier with 'get_' in order to fix warnings
5639 when compiling with -Wshadow.
5641 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
5643 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
5645 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
5647 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
5648 report lack of setenv().
5650 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5652 * config/io/basic_file_stdio.cc: include <unistd.h>.
5654 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5655 Nathan Myers <ncm@cantrip.org>
5658 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
5659 seekoff, seekpos): Add a boolean parameter __stdio.
5660 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
5661 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
5662 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
5664 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
5665 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
5666 * include/std/std_fstream.h (sync): Likewise.
5667 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
5668 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
5669 libstdc++/8399 commit involving isatty(0).
5670 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
5671 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
5672 * configure.in: Remove call.
5673 * aclocal.m4: Regenerate.
5674 * config.h.in: Regenerate.
5675 * configure: Regenerate.
5676 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
5678 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5681 * include/bits/fstream.tcc (overflow): don't write EOF to file.
5682 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
5684 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5687 * include/bits/basic_ios.h (_M_setstate): New.
5688 * include/bits/ostream.tcc (operator<<): Use it.
5689 * include/bits/istream.tcc (operator>>): Use it.
5690 * include/std/std_ostream.h (operator<<): Make friends.
5691 * include/std/std_istream.h (operator>>): Make friends.
5692 * testsuite/27_io/ostream_exception.cc,
5693 testsuite/27_io/istream_exception.cc: New tests.
5695 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
5697 * include/bits/locale_facets.tcc: Fix typo.
5699 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
5701 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
5703 * config/locale/generic/c_locale.cc
5704 (locale::facet::_S_create_c_locale): Throw runtime exception when
5705 unsupported language is specified.
5706 * testsuite/testsuite_hooks.h
5707 (run_test_wrapped_generic_locale_exception_catcher): New function.
5708 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
5709 Suppress runtime exception thrown by generic implementation.
5710 (run_tests_wrapped_env): Likewise.
5711 (run_test_wrapped_generic_locale_exception_catcher): New function.
5712 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
5713 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
5714 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
5715 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
5716 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
5717 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
5718 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5719 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5720 * testsuite/22_locale/facet/2.cc: New test wrap.
5721 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5722 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5723 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5724 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5725 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5726 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5727 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5728 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5729 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5730 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5731 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5732 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5733 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5734 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5735 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5736 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5737 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5738 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5739 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5740 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5741 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5742 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5743 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5744 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5745 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5746 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5747 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5748 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5749 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5750 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5751 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5752 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5753 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5754 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5755 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5756 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5757 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5758 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5759 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5760 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5761 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5762 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5763 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5764 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5765 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5766 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5767 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5768 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5769 * testsuite/27_io/ios_members.cc: New test wrap.
5770 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5772 * testsuite/27_io/streambuf_members.cc: New test wrap.
5773 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5775 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5776 Petur Runolfsson <peturr02@ru.is>
5779 * include/bits/streambuf.tcc (__copy_streambufs): Use
5780 sgetn-sputn only when sputn cannot fail, otherwise fall back
5781 to safe snextc-sputc.
5782 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5784 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5786 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5787 locale cache for truename and falsename.
5789 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5791 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5792 _M_word_size initialization.
5794 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5796 * include/bits/fstream.tcc (_M_convert_to_external):
5797 Set __elen to zero if codecvt::out eventually fails.
5799 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5802 * include/bits/fstream.tcc (_M_really_overflow): Check
5803 for _M_convert_to_external possible failures.
5804 * include/std/std_fstream.h (sync): Check _M_really_overflow
5805 return value and return -1 in case of failure.
5806 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5808 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5811 * include/bits/istream.tcc (operator>>(_CharT*),
5812 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5813 * testsuite/27_io/stringstream.cc (test02): Add.
5815 * include/bits/istream.tcc (operator>>(_CharT*)):
5816 Assign a char_type to *__s.
5818 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5821 * include/bits/locale_facets.tcc
5822 (collate::do_compare, collate::do_transform):
5823 Handle nul characters in input.
5824 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5825 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5826 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5827 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5829 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5831 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5833 * testsuite/27_io/ostream_fail.cc: New test.
5835 2003-03-07 Matthias Klose <doko@debian.org>
5837 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5838 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5839 * Makefile.in: Regenerate.
5840 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5842 AM_MAKEFLAGS: Pass gxx_include_dir.
5843 * libsupc++/Makefile.in: Regenerate.
5845 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5847 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5848 mask. Test setting small-numbered pword and iword slots. Test
5849 behavior at limit of numeric_limits::max. Check that values are
5850 still good after failures.
5852 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5854 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5855 (ios_base::ios_base): Set _M_word, _M_word_size.
5856 (ios_base::~ios_base): Remove redundant test.
5857 * testsuite/27_io/ios_base_storage.cc (test03): New.
5859 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5861 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5862 incorrect whitespace added in my previous change.
5864 2003-03-05 Carlo Wood <carlo@alinoe.com>
5866 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5867 _S_initialized() in order to allow debugging libraries to detect
5868 when the std streams are initialized from an overloaded operator
5871 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5873 * libsupc++/demangle.h: Move to..
5874 * include/bits/demangle.h: ...here.
5875 * src/demangle.cc: Adjust include.
5876 * include/Makefile.am (bits_headers): Add.
5877 * include/Makefile.in: Regenerate.
5879 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5881 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5883 * config/linker-map.gnu: Filter typeinfo and vtable info.
5885 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5887 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5888 new failure. Throw exception if badbit and exception mask when ix
5889 >= numeric_limits<int>::max().
5891 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5893 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5894 min and max have the same type.
5895 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5897 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5899 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5900 * include/Makefile.in: Regenerate.
5902 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5904 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5906 * config/linker-map.gnu: Hide more stuff.
5907 * include/Makefile.am: Cleanups.
5908 * include/Makefile.in: Regenerate.
5910 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5912 * config/locale/generic/messages_members.h (messages::messages):
5913 Remove name from unused parameter.
5915 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5917 * src/Makefile.am (sources): Add demangle.cc.
5920 * src/Makefile.in: Regenerate.
5921 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5922 * libsupc++/Makefile.in: Regenerate.
5924 * testsuite/testsuite_hooks.h
5925 (__gnu_cxx_test::verify_demangle): New.
5926 * testsuite/testsuite_hooks.cc: Define.
5928 2003-02-27 Carlo Wood <carlo@alinoe.com>
5930 * src/demangle.cc: New.
5931 * libsupc++/demangle.h: New.
5933 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5934 Carlo Wood <carlo@alinoe.com>
5936 * testsuite/demangle/abi_examples/01.cc: New.
5937 * testsuite/demangle/abi_examples/02.cc: New.
5938 * testsuite/demangle/abi_examples/03.cc: New.
5939 * testsuite/demangle/abi_examples/04.cc: New.
5940 * testsuite/demangle/abi_examples/05.cc: New.
5941 * testsuite/demangle/abi_examples/06.cc: New.
5942 * testsuite/demangle/abi_examples/07.cc: New.
5943 * testsuite/demangle/abi_examples/08.cc: New.
5944 * testsuite/demangle/abi_examples/09.cc: New.
5945 * testsuite/demangle/abi_examples/10.cc: New.
5946 * testsuite/demangle/abi_examples/11.cc: New.
5947 * testsuite/demangle/abi_examples/12.cc: New.
5948 * testsuite/demangle/abi_examples/13.cc: New.
5949 * testsuite/demangle/abi_examples/14.cc: New.
5950 * testsuite/demangle/abi_examples/15.cc: New.
5951 * testsuite/demangle/abi_examples/16.cc: New.
5952 * testsuite/demangle/abi_examples/17.cc: New.
5953 * testsuite/demangle/abi_examples/18.cc: New.
5954 * testsuite/demangle/abi_examples/19.cc: New.
5955 * testsuite/demangle/abi_examples/20.cc: New.
5956 * testsuite/demangle/abi_examples/21.cc: New.
5957 * testsuite/demangle/abi_examples/22.cc: New.
5958 * testsuite/demangle/abi_examples/23.cc: New.
5959 * testsuite/demangle/abi_examples/24.cc: New.
5960 * testsuite/demangle/abi_examples/25.cc: New.
5961 * testsuite/demangle/abi_examples/26.cc: New.
5962 * testsuite/demangle/abi_text/01.cc: New.
5963 * testsuite/demangle/abi_text/02.cc: New.
5964 * testsuite/demangle/abi_text/03.cc: New.
5965 * testsuite/demangle/abi_text/04.cc: New.
5966 * testsuite/demangle/abi_text/05.cc: New.
5967 * testsuite/demangle/abi_text/06.cc: New.
5968 * testsuite/demangle/abi_text/07.cc: New.
5969 * testsuite/demangle/abi_text/08.cc: New.
5970 * testsuite/demangle/abi_text/09.cc: New.
5971 * testsuite/demangle/abi_text/10.cc: New.
5972 * testsuite/demangle/abi_text/11.cc: New.
5973 * testsuite/demangle/abi_text/12.cc: New.
5974 * testsuite/demangle/abi_text/13.cc: New.
5975 * testsuite/demangle/abi_text/14.cc: New.
5976 * testsuite/demangle/regression/3111-1.cc: New.
5977 * testsuite/demangle/regression/3111-2.cc: New.
5978 * testsuite/demangle/regression/7986-01.cc: New.
5979 * testsuite/demangle/regression/7986-02.cc: New.
5980 * testsuite/demangle/regression/7986-03.cc: New.
5981 * testsuite/demangle/regression/7986-04.cc: New.
5982 * testsuite/demangle/regression/7986-05.cc: New.
5983 * testsuite/demangle/regression/7986-06.cc: New.
5984 * testsuite/demangle/regression/7986-07.cc: New.
5985 * testsuite/demangle/regression/7986-08.cc: New.
5986 * testsuite/demangle/regression/7986-09.cc: New.
5987 * testsuite/demangle/regression/7986-10.cc: New.
5988 * testsuite/demangle/regression/7986-11.cc: New.
5989 * testsuite/demangle/regression/7986-12.cc: New.
5990 * testsuite/demangle/regression/7986.cc: New.
5991 * testsuite/demangle/regression/8897.cc: New.
5992 * testsuite/demangle/regression/cw-01.cc: New.
5993 * testsuite/demangle/regression/cw-02.cc: New.
5994 * testsuite/demangle/regression/cw-03.cc: New.
5995 * testsuite/demangle/regression/cw-04.cc: New.
5996 * testsuite/demangle/regression/cw-05.cc: New.
5997 * testsuite/demangle/regression/cw-06.cc: New.
5998 * testsuite/demangle/regression/cw-07.cc: New.
5999 * testsuite/demangle/regression/cw-08.cc: New.
6000 * testsuite/demangle/regression/cw-09.cc: New.
6001 * testsuite/demangle/regression/cw-10.cc: New.
6002 * testsuite/demangle/regression/cw-11.cc: New.
6003 * testsuite/demangle/regression/cw-12.cc: New.
6004 * testsuite/demangle/regression/cw-13.cc: New.
6005 * testsuite/demangle/regression/cw-14.cc: New.
6006 * testsuite/demangle/regression/old.cc: New.
6008 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
6010 * docs/doxygen/Intro.3: Update with new (proper) names.
6011 * docs/doxygen/TODO: Update.
6012 * docs/doxygen/run_doxygen: More comments, fix up man pages.
6013 Fake entries for standard typedefs.
6014 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
6015 * docs/html/documentation.html: Top-level man page is now called
6017 * include/std/std_limits.h: Doxygenate.
6019 2003-02-25 Scott Snyder <snyder@fnal.gov>
6022 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
6023 Correct documentation.
6024 * include/bits/stl_multimap.h (lower_bound, upper_bound,
6025 equal_range): Likewise.
6027 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
6031 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
6032 __bump is true (uflow), always increment the read pointer
6033 (_M_in_cur) before returning successfully.
6034 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
6036 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
6037 Nathan Myers <ncm@cantrip.org>
6039 PR libstdc++/9404, PR libstdc++/9701 (partial)
6040 (aka pptr == epptr implies overflow)
6041 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
6042 Consistently, _M_out_end points to the end of the buffer just
6044 (overflow): Tweak to use _M_out_buf_size().
6045 (_M_convert_to_external): The role of the old _M_out_end is
6046 now played by _M_out_lim.
6047 (_M_really_overflow): Likewise.
6048 (seekoff): Likewise.
6049 (setbuf): _M_out_end points to the end of the external buffer.
6050 * include/bits/sstream.tcc (overflow): Rewrote, taking into
6051 account the resolution of DR 169 (TC).
6052 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
6053 (seekpos): Use _M_string.capacity(); tweak.
6054 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
6055 * include/std/std_fstream.h (sync): The role of the old
6056 _M_out_end is now played by _M_out_lim.
6057 (_M_set_indeterminate): Use _M_set_determinate.
6058 (_M_set_determinate): _M_out_end is now _M_out_lim.
6059 (_M_is_indeterminate): Likewise.
6060 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
6061 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
6062 which have the information readily available as _M_string.capacity();
6063 for ate and app modes, pass the string size to _M_really_sync.
6064 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
6065 point to the end of the buffer (i.e., epptr) and to the string end,
6067 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
6068 which points to the right limit of the used put area.
6069 (_M_out_cur_move): The role of the old _M_out_end is now played
6071 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
6072 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
6074 (basic_streambuf()): Initialize _M_out_lim too.
6075 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
6076 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
6077 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
6079 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
6081 * testsuite/27_io/ios_base_storage.cc (main): Call
6084 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
6086 * include/bits/locale_facets.tcc (_M_convert_float): Replace
6087 numpunct facet accesses with data from __locale_cache.
6089 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
6091 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
6092 * docs/html/faq/index.txt: Regenerate.
6094 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
6096 * config/linker-map.gnu: Also export locking symbols needed for the
6097 generic atomicity.h case.
6099 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
6101 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6103 * configure: Rebuilt.
6105 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
6107 * include/bits/sstream.tcc (overflow): According to
6108 27.7.1.3, p5, actual output is performed by sputc(c).
6110 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
6113 * include/bits/stl_alloc.h: Remove all traces of assert().
6115 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
6117 * include/std/std_sstream.h (str()): the size of the
6118 current string may be different from the initial one
6119 whenever _M_out_end > _M_out_beg.
6120 * testsuite/27_io/stringbuf_members.cc (test07): Add.
6122 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
6125 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
6127 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
6129 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
6130 * testsuite/27_io/ios_members.cc (test03): New.
6132 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
6134 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
6135 (basic_ios::_M_cache_facets): Move into above.
6136 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
6138 (basic_ios::imbue): Force locale cache to be built.
6139 (basic_ios::_M_init): Create and initialize locale cache.
6140 * include/bits/ios_base.h (__locale_cache_base): Declare.
6141 (ios_base::_M_locale_cache): New.
6142 (ios_base::_M_cache): Define.
6143 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
6145 (__locale_cache_base,__locale_cache<_CharT>): New classes.
6146 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
6147 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
6148 cache literal string, grouping flag, thousands separator.
6149 (__locale_cache<_CharT>::__locale_cache): New.
6150 (__locale_cache<_CharT>::_M_init): New.
6151 * src/ios.cc: Clear _M_locale_cache in constructor.
6152 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
6155 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6157 * src/locale-inst.cc: Do not include <cassert>.
6158 * src/locale.cc: Likewise.
6160 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6163 * include/std/std_fstream.h: Declare underflow and uflow
6164 specializations, change generic definitions to do nothing.
6165 * src/fstream.cc: Add underflow and uflow specializations.
6167 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6170 * include/bits/fstream.tcc (_M_convert_to_external):
6171 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
6172 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
6174 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
6176 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
6177 * include/bits/basic_ios.tcc: Guard use of extern template.
6178 * include/std/std_iomanip.h: Same.
6179 * include/bits/streambuf.tcc: Same.
6180 * include/bits/stl_alloc.h: Same.
6181 * include/bits/locale_facets.tcc: Same.
6182 * include/bits/ostream.tcc: Same.
6183 * include/bits/istream.tcc: Same.
6184 * include/bits/fstream.tcc: Same.
6185 * include/bits/basic_string.tcc: Same.
6187 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
6189 * include/bits/ostream.tcc (sentry::sentry): Improve
6190 performance-wise the fix for libstdc++/9563.
6192 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
6194 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
6195 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
6196 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
6197 when we don't have static mutex initialization.
6198 (__exchange_and_add): Use _Atomic_add_mutex_once.
6199 * src/misc-inst.cc: Definitions of all the above.
6201 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
6204 * include/bits/ostream.tcc (sentry::sentry): Check
6205 the state of the stream after the preparation.
6206 * testsuite/27_io/ostream_sentry.cc (test02): Add.
6208 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
6210 * include/Makefile.am (stamp-std-precompile): Add rule.
6211 * include/Makefile.in: Regenerated.
6213 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
6214 Benjamin Kosnik <benjamin@redhat.com>
6216 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
6217 Add indexes into this array.
6218 (__num_base::_S_atoms): To _S_atoms_in.
6219 (num_put::_M_insert): Rename to _M_pad.
6220 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
6221 (num_put::_M_widen_int): Rename to _M_group_int.
6222 (num_put::_M_widen_float): Rename to _M_group_float.
6223 * include/bits/locale_facets.tcc (__int_to_char): New inline
6224 function and adapter functions.
6225 (num_put::_M_group_int): Streamline.
6226 (num_put::_M_group_float): Streamline.
6227 (num_put::_M_convert_int): Remove unused parameter names. Choose
6228 large enough buffer for text. Use __int_to_char instead of
6229 __convert_from_v. Formatted text is now at the end of the buffer.
6230 (num_put::_M_convert_float): Preliminary fixups.
6231 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
6232 (__int_to_char<unsigned long long>): Same.
6233 (__int_to_char<char, unsigned long>): New.
6234 (__int_to_char<char, unsigned long long>): New.
6235 (__int_to_char<wchar_t, unsigned long>): New.
6236 (__int_to_char<wchar_t, unsigned long long>): New.
6238 2003-02-11 Scott Snyder <snyder@fnal.gov>
6241 * include/bits/fstream.tcc (seekoff): Avoid operator+
6244 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
6247 * include/ext/stdio_filebuf.h
6248 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
6249 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
6250 Change to take a __size parameter of type size_t, not
6251 of type (template parameter dependent) int_type.
6252 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
6253 size vars to size_t.
6254 * testsuite/ext/stdio_filebuf.cc: Add.
6256 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
6257 Petur Runolfsson <peturr02@ru.is>
6260 * include/bits/streambuf.tcc (__copy_streambufs):
6261 Don't conditionalize the copy to __testput.
6262 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
6264 2002-02-11 DJ Delorie <dj@redhat.com>
6266 * acinclude.m4: Check for native targets that can't link at
6267 this point in the build.
6268 * aclocal.m4: Regenerate.
6269 * configure: Regenerate.
6271 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6273 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
6275 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
6278 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
6280 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
6281 unsigned char platforms.
6283 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
6286 * include/std/std_istream.h
6287 (basic_istream::sentry::operator bool()): Make const.
6288 * include/std/std_ostream.h
6289 (basic_ostream::sentry::operator bool()): Likewise.
6290 * testsuite/27_io/istream_sentry.cc (test03): Add.
6291 * testsuite/27_io/ostream_sentry.cc: Add.
6293 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
6296 Implement resolution of DR 231 (Ready)
6297 * include/bits/locale_facets.h (__num_base::_S_format_float):
6298 Change declaration: return void, remove __prec parameter.
6299 * src/locale.cc (__num_base::_S_format_float): Implement
6300 resolution of DR 231.
6301 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
6302 Tweak uses. Check for negative precision.
6303 * testsuite/22_locale/num_put/put/char/6.cc: Add
6304 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
6306 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
6308 * config/io/basic_file_libio.h: Fixups.
6309 * config/io/c_io_libio.h: Same.
6310 * libio/Makefile.am: Same.
6311 * libio/Makefile.in: Regenerated.
6313 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
6315 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
6316 Explicitly use the "C" locale.
6317 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
6319 2003-02-06 Petur Runolfsson <peturr02@ru.is>
6323 PR libstdc++/9028 (partial)
6329 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
6330 codecvt<wchar_t, char, mbstate_t>::do_length,
6331 codecvt<wchar_t, char, mbstate_t>::do_max_length):
6333 * config/locale/generic/codecvt_members.cc: ...here.
6334 * config/locale/gnu/codecvt_members.cc: ...and here.
6336 * config/locale/generic/codecvt_members.cc,
6337 * config/locale/gnu/codecvt_members.cc
6338 (codecvt<wchar_t, char, mbstate_t>::do_encoding
6339 codecvt<wchar_t, char, mbstate_t>::do_in,
6340 codecvt<wchar_t, char, mbstate_t>::do_length,
6341 codecvt<wchar_t, char, mbstate_t>::do_max_length,
6342 codecvt<wchar_t, char, mbstate_t>::do_out):
6343 New implementation that handles stateless encodings,
6346 * config/locale/generic/codecvt_members.cc,
6347 * config/locale/gnu/codecvt_members.cc,
6348 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
6349 * include/bits/codecvt.h,
6351 (codecvt::length, codecvt::do_length):
6352 Change type of first argument of length and do_length from
6353 'const state_type&' to 'state_type&' according to DR 75.
6355 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
6356 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
6357 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
6358 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
6359 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
6360 Cleanup and check for correct return value from encoding
6362 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
6363 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
6364 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
6365 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
6366 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
6367 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
6368 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
6369 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
6370 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
6371 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
6372 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
6373 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
6374 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
6375 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
6376 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
6377 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
6378 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
6379 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
6380 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
6381 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
6382 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
6383 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
6384 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
6385 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
6386 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
6387 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
6388 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
6389 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
6390 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
6391 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
6392 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
6393 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
6394 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
6395 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
6396 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
6397 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
6398 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
6400 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
6402 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
6403 (money_put::do_put): Same.
6405 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
6407 * include/bits/ios_base.h (ios_base): Document reserved storage.
6409 * include/bits/locale_facets.h: (struct __pad): Comment on
6411 (__verify_grouping): Same.
6412 (__add_grouping): Same.
6413 * include/bits/locale_facets.tcc (__verify_grouping): Move
6414 comments to declaration.
6415 (__add_grouping): Same.
6417 * include/bits/locale_facets.tcc:
6418 (__write<_CharT, _OutIter>): New function.
6419 (__write<_CharT>): New function specialization.
6420 (num_put::_M_insert): Remove explicit loop over iterator. Use
6422 (num_put::_M_widen_float): Remove __basefield.
6423 (num_put::_M_widen_int): Move __basefield to within grouping block.
6425 * include/bits/streambuf_iterator.h: Include <streambuf>.
6426 (ostreambuf_iterator::_M_put): Add.
6428 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
6430 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
6432 2003-02-04 Nathan Myers <ncm@cantrip.org>
6434 * testsuite/25_algorithms/min_max.cc (test02): Add.
6436 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6438 PR libstdc++/9439, PR libstdc++/9425
6439 * config/io/basic_file_stdio.cc
6440 (__basic_file<char>::seekoff, seekpos): Return -1L if
6442 * include/bits/fstream.tcc (basic_filebuf::seekoff):
6443 Check _M_file.seekoff return value; always return
6444 pos_type(off_type(-1)) in case of failure.
6445 (basic_filebuf::pbackfail): Check this->seekoff return
6446 value and return traits_type::eof() in case of failure.
6447 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
6449 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
6451 * include/std/std_ostream.h (ostream::_M_write): Declare.
6452 * ostream.tcc (ostream::_M_write): Define.
6453 (basic_ostream::write): Use it.
6454 (operator<<(basic_ostream, _CharT)): Ditto.
6455 (operator<<(basic_ostream, char)): Ditto.
6456 (operator<<(basic_ostream, _CharT*)): Ditto.
6457 (operator<<(basic_ostream, char*)): Ditto.
6458 (operator<<(basic_ostream, basic_string)): Ditto.
6460 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
6462 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
6464 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6466 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
6467 add HTML comment about updating links if numbering changes.
6469 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6472 * include/bits/streambuf.tcc (sputbackc): Access
6473 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
6474 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6476 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6479 * include/bits/fstream.tcc (open): If the 'ate' repositioning
6480 operation fails, calls close _and_ returns a null pointer
6481 to indicate failure (27.8.1.3,4).
6482 * testsuite/27_io/filebuf_members.cc (test_06): Add.
6484 2003-02-04 Petur Runolfsson <peturr02@ru.is>
6486 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
6488 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6490 * docs/html/27_io/howto.html: New section on stdio_filebuf.
6491 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
6492 * docs/html/documentation.html: Regenerate.
6494 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
6496 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
6497 * docs/html/17_intro/porting.html: Regenerate.
6499 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
6500 Phil Edwards <pme@gcc.gnu.org>
6502 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
6503 numeric_limits for bits-per-word values.
6504 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
6505 Use __builtin_popcountl instead.
6506 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
6507 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
6508 Use __builtin_ctzl instead.
6509 (_S_bit_count, _S_first_one): Remove.
6510 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
6511 * src/Makefile.am (sources): Remove bitset.cc.
6512 * src/bitset.cc: Delete file.
6513 * src/Makefile.in: Regenerate.
6515 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
6517 PR libstdc++/9527, PR libstdc++/8713
6518 * docs/html/install.html: Mention glibc version requirement.
6519 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
6520 with 3.2.1+ (formatting bugfixes).
6521 * docs/html/faq/index.txt: Regenerate.
6523 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
6526 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
6529 * include/bits/valarray_before.h (__not_equal_to): Use != instead
6532 * testsuite/26_numerics/valarray_operators.cc: New test.
6534 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
6536 * docs/html/faq/index.html: Correct link to libg++ information.
6537 * docs/html/faq/index.txt: Regenerated.
6539 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
6540 Benjamin Kosnik <bkoz@redhat.com>
6542 Const correctness issue:
6543 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
6544 * include/bits/locale_classes.h
6545 (locale::_Impl::_M_facets): Change type to const facet**.
6546 (locale::_Impl::_M_install_facet): Change declaration to
6548 (locale::facet::_M_references): Make mutable.
6549 (locale::facet::_M_add_reference): Declare const.
6550 (locale::facet::_M_remove_reference): Likewise.
6551 * include/bits/locale_facets.tcc
6552 (use_facet(const locale&)): Tweak for const facet** _M_facets.
6553 (has_facet(const locale&)): Likewise.
6555 (locale::facet::_M_add_reference): Adjust definition.
6556 (locale::facet::_M_remove_reference): Likewise.
6558 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
6559 const facet** _M_facets.
6560 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
6561 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
6562 (locale::_Impl::_M_install_facet): Adjust definition to take
6563 const facet* and for const facet** _M_facets.
6564 * testsuite/22_locale/locale/cons/8.cc: Add.
6566 2003-01-29 Mark Mitchell <mark@codesourcery.com>
6568 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
6569 Use __FLT_HAS_INIFINITY__ to initialize.
6570 (numeric_limits<float>::has_quiet_NaN): Likewise.
6571 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
6573 (numeric_limits<double>::has_quiet_NaN): Likewise.
6574 (numeric_limits<long double>::has_infinity): Use
6575 __LDBL_HAS_INIFINITY__ to initialize.
6576 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
6578 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
6581 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
6582 with bases which are very ambiguous.
6584 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
6586 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
6587 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
6588 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
6589 * src/Makefile.in: Regenerate.
6590 * libsupc++/Makefile.in: Regenerate.
6592 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6594 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
6595 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
6596 version_specific_libs is enabled.
6597 * aclocal.m4, configure: Rebuilt.
6599 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
6601 * include/bits/valarray_meta.h: Remove, split into ...
6602 * include/bits/valarray_before.h: ... this, and ...
6603 * include/bits/valarray_after.h: ... this.
6604 * include/std/std_valarray.h: Adjust.
6605 * include/Makefile.am (bits_headers): Adjust.
6606 * include/Makefile.in: Regenerate.
6608 2003-01-24 Andreas Schwab <schwab@suse.de>
6610 * config/linker-map.gnu: Fix for size_t variance.
6612 2003-01-23 Petur Runolfsson <peturr02@ru.is>
6615 * include/std/std_streambuf.h
6616 (basic_streambuf::basic_streambuf,
6617 basic_streambuf::~basic_streambuf,
6618 basic_streambuf::getloc, basic_streambuf::imbue):
6619 Remove _M_buf_locale_init
6620 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
6621 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6622 * testsuite/27_io/streambuf_members.cc (test08): Add.
6623 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
6625 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6627 Revert include ordering.
6628 * config/locale/generic/c_locale.h: Add include guards.
6629 * config/locale/gnu/c_locale.h: Same.
6630 * include/bits/locale_classes.h: Remove cctype include.
6631 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
6632 * include/std/std_fstream.h: Remove streambuf include.
6633 * include/std/std_sstream.h: Remove streambuf include.
6635 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6637 * configure.in (libtool_VERSION): To 6:0:0.
6638 * configure: Regenerated.
6639 * config/linker-map.gnu: Clean.
6641 * src/misc-inst.cc: Remove instantiations.
6643 * include/bits/stl_alloc.h (__malloc_alloc_template):
6645 (__default_alloc_template): To __pool_alloc.
6646 * src/stl-inst.cc: Same.
6647 * include/backward/alloc.h: Update.
6648 * testsuite/ext/allocators.cc: Update.
6650 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
6651 really try to remove these if possible.
6652 * src/locale.cc (std): Same.
6654 * testsuite/abi_check.cc (check_version): Add.
6656 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6657 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
6658 Mark Mitchell <mark@codesourcery.com>
6661 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
6662 (basic_filebuf::underflow): Declare.
6665 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6667 * include/bits/locale_facets.h: Move non-facet classes requiring
6669 * include/bits/locale_classes.h: New.
6670 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
6671 * include/bits/Makefile.in: Regenerate.
6673 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
6674 * config/locale/gnu/c_locale.h: ...here.
6675 * config/locale/generic/c_locale.h: Same.
6677 * include/bits/locale_facets.tcc: Move declarations to...
6678 * include/bits/locale_facets.h: ...here.
6679 * include/bits/basic_ios.h: Tweak includes accordingly.
6680 * include/std/std_sstream.h: Add streambuf include.
6681 * include/std/std_fstream.h: Ditto.
6682 * include/std/std_locale.h: Add locale_classes.h include.
6683 * include/std/std_iosfwd.h: Tweak.
6684 * src/concept-inst.cc: Add iterator include.
6686 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
6687 bits as unexported in the future.
6689 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
6691 Reshuffle 22_locale testsuite.
6692 * 22_locale/(codecvt.cc money_get.cc
6693 codecvt_members_char_char.cc money_get_members_char.cc
6694 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
6695 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
6696 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
6697 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
6698 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
6699 money_put_members_char.cc ctor_copy_dtor.cc
6700 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
6701 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
6702 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
6703 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
6704 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
6705 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
6706 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
6707 operators.cc ctype_widen_char.cc static_members.cc
6708 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
6709 global_templates.cc time_get_members_wchar_t.cc, members.cc,
6710 time_put.cc, messages_byname.cc, time_put_members_char.cc,
6711 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
6712 Split up into individual test cases...
6713 * 22_locale/codecvt/1.cc: New.
6714 * 22_locale/codecvt/2.cc: New.
6715 * 22_locale/codecvt/always_noconv/char/1.cc: New.
6716 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
6717 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
6718 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6719 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6720 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6721 * 22_locale/codecvt/encoding/char/1.cc: New.
6722 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6723 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6724 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6725 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6726 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6727 * 22_locale/codecvt/in/char/1.cc: New.
6728 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6729 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6730 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6731 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6732 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6733 * 22_locale/codecvt/length/char/1.cc: New.
6734 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6735 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6736 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6737 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6738 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6739 * 22_locale/codecvt/max_length/char/1.cc: New.
6740 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6741 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6742 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6743 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6744 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6745 * 22_locale/codecvt/out/char/1.cc: New.
6746 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6747 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6748 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6749 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6750 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6751 * 22_locale/codecvt/unicode/char.cc: New.
6752 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6753 * 22_locale/codecvt/unshift/char/1.cc: New.
6754 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6755 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6756 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6757 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6758 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6759 * 22_locale/collate/1.cc: New.
6760 * 22_locale/collate/2.cc: New.
6761 * 22_locale/collate/compare/char/1.cc: New.
6762 * 22_locale/collate/compare/char/2.cc: New.
6763 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6764 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6765 * 22_locale/collate/compare/wchar_t/1.cc: New.
6766 * 22_locale/collate/compare/wchar_t/2.cc: New.
6767 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6768 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6769 * 22_locale/collate/hash/char/1.cc: New.
6770 * 22_locale/collate/hash/char/2.cc: New.
6771 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6772 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6773 * 22_locale/collate/hash/wchar_t/1.cc: New.
6774 * 22_locale/collate/hash/wchar_t/2.cc: New.
6775 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6776 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6777 * 22_locale/collate/transform/char/2.cc: New.
6778 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6779 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6780 * 22_locale/collate/transform/wchar_t/2.cc: New.
6781 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6782 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6783 * 22_locale/collate_byname/1.cc: New.
6784 * 22_locale/ctype/1.cc: New.
6785 * 22_locale/ctype/2.cc: New.
6786 * 22_locale/ctype/cons/char/1.cc: New.
6787 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6788 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6789 * 22_locale/ctype/is/char/1.cc: New.
6790 * 22_locale/ctype/is/char/2.cc: New.
6791 * 22_locale/ctype/is/char/3.cc: New.
6792 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6793 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6794 * 22_locale/ctype/is/wchar_t/1.cc: New.
6795 * 22_locale/ctype/is/wchar_t/2.cc: New.
6796 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6797 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6798 * 22_locale/ctype/narrow/char/1.cc: New.
6799 * 22_locale/ctype/narrow/char/2.cc: New.
6800 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6801 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6802 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6803 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6804 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6805 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6806 * 22_locale/ctype/scan/char/1.cc: New.
6807 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6808 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6809 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6810 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6811 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6812 * 22_locale/ctype/to/char/1.cc: New.
6813 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6814 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6815 * 22_locale/ctype/to/wchar_t/1.cc: New.
6816 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6817 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6818 * 22_locale/ctype/widen/char/1.cc: New.
6819 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6820 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6821 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6822 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6823 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6824 * 22_locale/facet/1.cc: New.
6825 * 22_locale/facet/2.cc: New.
6826 * 22_locale/global_templates/1.cc: New.
6827 * 22_locale/locale/cons/1.cc: New.
6828 * 22_locale/locale/cons/2.cc: New.
6829 * 22_locale/locale/cons/3.cc: New.
6830 * 22_locale/locale/cons/4.cc: New.
6831 * 22_locale/locale/cons/5.cc: New.
6832 * 22_locale/locale/cons/6.cc: New.
6833 * 22_locale/locale/cons/7.cc: New.
6834 * 22_locale/locale/global_locale_objects/1.cc: New.
6835 * 22_locale/locale/global_locale_objects/2.cc: New.
6836 * 22_locale/locale/global_locale_objects/3.cc: New.
6837 * 22_locale/locale/operations/1.cc: New.
6838 * 22_locale/locale/operations/2.cc: New.
6839 * 22_locale/messages/1.cc: New.
6840 * 22_locale/messages/2.cc: New.
6841 * 22_locale/messages/members/char/1.cc: New.
6842 * 22_locale/messages/members/char/2.cc: New.
6843 * 22_locale/messages/members/char/3.cc: New.
6844 * 22_locale/messages/members/char/wrapped_env.cc: New.
6845 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6846 * 22_locale/messages_byname/1.cc: New.
6847 * 22_locale/money_get/1.cc: New.
6848 * 22_locale/money_get/2.cc: New.
6849 * 22_locale/money_get/get/char/1.cc: New.
6850 * 22_locale/money_get/get/char/2.cc: New.
6851 * 22_locale/money_get/get/char/3.cc: New.
6852 * 22_locale/money_get/get/char/4.cc: New.
6853 * 22_locale/money_get/get/char/5.cc: New.
6854 * 22_locale/money_get/get/char/6.cc: New.
6855 * 22_locale/money_get/get/char/7.cc: New.
6856 * 22_locale/money_get/get/char/8.cc: New.
6857 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6858 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6859 * 22_locale/money_get/get/wchar_t/1.cc: New.
6860 * 22_locale/money_get/get/wchar_t/2.cc: New.
6861 * 22_locale/money_get/get/wchar_t/3.cc: New.
6862 * 22_locale/money_get/get/wchar_t/4.cc: New.
6863 * 22_locale/money_get/get/wchar_t/5.cc: New.
6864 * 22_locale/money_get/get/wchar_t/6.cc: New.
6865 * 22_locale/money_get/get/wchar_t/7.cc: New.
6866 * 22_locale/money_get/get/wchar_t/8.cc: New.
6867 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6868 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6869 * 22_locale/money_put/1.cc: New.
6870 * 22_locale/money_put/2.cc: New.
6871 * 22_locale/money_put/put/char/1.cc: New.
6872 * 22_locale/money_put/put/char/2.cc: New.
6873 * 22_locale/money_put/put/char/3.cc: New.
6874 * 22_locale/money_put/put/char/4.cc: New.
6875 * 22_locale/money_put/put/char/5.cc: New.
6876 * 22_locale/money_put/put/char/6.cc: New.
6877 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6878 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6879 * 22_locale/money_put/put/wchar_t/1.cc: New.
6880 * 22_locale/money_put/put/wchar_t/2.cc: New.
6881 * 22_locale/money_put/put/wchar_t/3.cc: New.
6882 * 22_locale/money_put/put/wchar_t/4.cc: New.
6883 * 22_locale/money_put/put/wchar_t/5.cc: New.
6884 * 22_locale/money_put/put/wchar_t/6.cc: New.
6885 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6886 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6887 * 22_locale/moneypunct/1.cc: New.
6888 * 22_locale/moneypunct/2.cc: New.
6889 * 22_locale/moneypunct/3.cc: New.
6890 * 22_locale/moneypunct/members/char/1.cc: New.
6891 * 22_locale/moneypunct/members/char/2.cc: New.
6892 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6893 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6894 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6895 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6896 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6897 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6898 * 22_locale/moneypunct_byname/1.cc: New.
6899 * 22_locale/num_get/1.cc: New.
6900 * 22_locale/num_get/2.cc: New.
6901 * 22_locale/num_get/get/char/1.cc: New.
6902 * 22_locale/num_get/get/char/2.cc: New.
6903 * 22_locale/num_get/get/char/3.cc: New.
6904 * 22_locale/num_get/get/char/4.cc: New.
6905 * 22_locale/num_get/get/char/5.cc: New.
6906 * 22_locale/num_get/get/char/6.cc: New.
6907 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6908 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6909 * 22_locale/num_get/get/wchar_t/1.cc: New.
6910 * 22_locale/num_get/get/wchar_t/2.cc: New.
6911 * 22_locale/num_get/get/wchar_t/3.cc: New.
6912 * 22_locale/num_get/get/wchar_t/4.cc: New.
6913 * 22_locale/num_get/get/wchar_t/5.cc: New.
6914 * 22_locale/num_get/get/wchar_t/6.cc: New.
6915 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6916 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6917 * 22_locale/num_put/1.cc: New.
6918 * 22_locale/num_put/2.cc: New.
6919 * 22_locale/num_put/put/char/1.cc: New.
6920 * 22_locale/num_put/put/char/2.cc: New.
6921 * 22_locale/num_put/put/char/3.cc: New.
6922 * 22_locale/num_put/put/char/4.cc: New.
6923 * 22_locale/num_put/put/char/5.cc: New.
6924 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6925 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6926 * 22_locale/num_put/put/wchar_t/1.cc: New.
6927 * 22_locale/num_put/put/wchar_t/2.cc: New.
6928 * 22_locale/num_put/put/wchar_t/3.cc: New.
6929 * 22_locale/num_put/put/wchar_t/4.cc: New.
6930 * 22_locale/num_put/put/wchar_t/5.cc: New.
6931 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6932 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6933 * 22_locale/numpunct/1.cc: New.
6934 * 22_locale/numpunct/2.cc: New.
6935 * 22_locale/numpunct/members/char/1.cc: New.
6936 * 22_locale/numpunct/members/char/2.cc: New.
6937 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6938 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6939 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6940 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6941 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6942 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6943 * 22_locale/numpunct_byname/1.cc: New.
6944 * 22_locale/numpunct_byname/2.cc: New.
6945 * 22_locale/time_get/1.cc: New.
6946 * 22_locale/time_get/2.cc: New.
6947 * 22_locale/time_get/date_order/char/1.cc: New.
6948 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6949 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6950 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6951 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6952 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6953 * 22_locale/time_get/get_date/char/1.cc: New.
6954 * 22_locale/time_get/get_date/char/2.cc: New.
6955 * 22_locale/time_get/get_date/char/3.cc: New.
6956 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6957 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6958 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6959 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6960 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6961 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6962 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6963 * 22_locale/time_get/get_monthname/char/1.cc: New.
6964 * 22_locale/time_get/get_monthname/char/2.cc: New.
6965 * 22_locale/time_get/get_monthname/char/3.cc: New.
6966 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6967 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6968 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6969 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6970 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6971 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6972 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6973 * 22_locale/time_get/get_time/char/1.cc: New.
6974 * 22_locale/time_get/get_time/char/2.cc: New.
6975 * 22_locale/time_get/get_time/char/3.cc: New.
6976 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6977 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6978 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6979 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6980 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6981 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6982 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6983 * 22_locale/time_get/get_weekday/char/1.cc: New.
6984 * 22_locale/time_get/get_weekday/char/2.cc: New.
6985 * 22_locale/time_get/get_weekday/char/3.cc: New.
6986 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6987 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6988 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6989 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6990 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6991 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6992 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6993 * 22_locale/time_get/get_year/char/1.cc: New.
6994 * 22_locale/time_get/get_year/char/3.cc: New.
6995 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6996 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6997 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6998 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6999 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
7000 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
7001 * 22_locale/time_put/1.cc: New.
7002 * 22_locale/time_put/2.cc: New.
7003 * 22_locale/time_put/put/char/1.cc: New.
7004 * 22_locale/time_put/put/char/10.cc: New.
7005 * 22_locale/time_put/put/char/2.cc: New.
7006 * 22_locale/time_put/put/char/3.cc: New.
7007 * 22_locale/time_put/put/char/4.cc: New.
7008 * 22_locale/time_put/put/char/5.cc: New.
7009 * 22_locale/time_put/put/char/6.cc: New.
7010 * 22_locale/time_put/put/char/7.cc: New.
7011 * 22_locale/time_put/put/char/8.cc: New.
7012 * 22_locale/time_put/put/char/9.cc: New.
7013 * 22_locale/time_put/put/char/wrapped_env.cc: New.
7014 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
7015 * 22_locale/time_put/put/wchar_t/1.cc: New.
7016 * 22_locale/time_put/put/wchar_t/10.cc: New.
7017 * 22_locale/time_put/put/wchar_t/2.cc: New.
7018 * 22_locale/time_put/put/wchar_t/3.cc: New.
7019 * 22_locale/time_put/put/wchar_t/4.cc: New.
7020 * 22_locale/time_put/put/wchar_t/5.cc: New.
7021 * 22_locale/time_put/put/wchar_t/6.cc: New.
7022 * 22_locale/time_put/put/wchar_t/7.cc: New.
7023 * 22_locale/time_put/put/wchar_t/8.cc: New.
7024 * 22_locale/time_put/put/wchar_t/9.cc: New.
7025 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
7026 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
7028 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
7030 * config/locale/generic/messages_members.h
7031 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
7032 unqualified members of base clasess.
7034 2003-01-16 Mark Mitchell <mark@codesourcery.com>
7035 Jeffrey Oldham <oldham@codesourcery.com>
7037 * config/locale/gnu/messages_members.h: Use this-> to refer to
7038 unqualified members of base clasess.
7039 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
7040 * include/bits/codecvt.h: Likewise.
7041 * include/bits/deque.tcc: Likewise.
7042 * include/bits/fstream.tcc: Likewise.
7043 * include/bits/istream.tcc: Likewise.
7044 * include/bits/list.tcc: Likewise.
7045 * include/bits/locale_facets.h: Likewise.
7046 * include/bits/ostream.tcc: Likewise.
7047 * include/bits/sstream.tcc: Likewise.
7048 * include/bits/stl_bvector.h: Likewise.
7049 * include/bits/stl_deque.h: Likewise.
7050 * include/bits/stl_list.h: Likewise.
7051 * include/bits/stl_tree.h: Likewise.
7052 * include/bits/stl_vector.h: Likewise.
7053 * include/bits/vector.tcc: Likewise.
7054 * include/ext/ropeimpl.h: Likewise.
7055 * include/ext/stdio_filebuf.h: Likewise.
7056 * include/ext/stl_rope.h: Likewise.
7057 * include/std/std_fstream.h: Likewise.
7058 * include/std/std_sstream.h: Likewise.
7060 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
7062 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
7064 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
7066 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
7067 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
7068 * aclocal.m4: Regenerate.
7069 * configure: Regenerate.
7070 * testsuite/Makefile.am (all-local): Add conditional rule to
7071 generate testsuite_wchar_t.
7072 * testsuite/Makefile.in: Regenerate.
7073 * testsuite/lib/libstdc++-v3-dg.exp
7074 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
7075 testsuite_wchar_t is not present in the build directory.
7076 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
7077 Remove setulimit bits.
7078 * testsuite/26_numerics/complex_value.cc: Set to noopts.
7079 * testsuite/Makefile.am (CLEANFILES): Add.
7080 * testsuite/Makefile.in: Regenerate.
7082 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
7084 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
7087 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
7089 Further conform g++'s __vmi_class_type_info to the C++ ABI
7091 * libsupc++/cxxabi.h
7092 (__vmi_class_type_info::__flags_masks): Remove enumerations not
7093 required by the specification.
7095 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
7097 Renames, namespaces for testsuite utilities.
7098 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
7099 (gnu_allocator_tracker): Rename to allocation_tracker.
7100 (gnu_new_allocator): Rename to tracker_alloc.
7101 (__set_testsuite_memlimit): Rename to set_memory_limits.
7102 (gnu_assignment_operator): Rename to assignment_operator.
7103 (gnu_destructor): Rename to destructor.
7104 (gnu_copy_tracker): Rename to copy_tracker.
7105 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
7106 (run_tests_wrapped_locale): New.
7107 (run_tests_wrapped_env): New.
7108 * testsuite/testsuite_hooks.cc: Same.
7109 (class locale_data): Add.
7110 (class enviornment_variable): Add.
7111 (class not_found): Add.
7112 * testsuite/testsuite_allocator.h: Same.
7113 * testsuite/testsuite_allocator.cc: Same.
7114 * testsuite/23_containers/deque_ctor.cc
7115 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
7117 Change gnu_new_allocator to tracker_alloc.
7118 Change gnu_counting_struct to counter.
7119 Change gnu_copy_tracker to copy_tracker.
7120 Change gnu_copy_constructor to copy_constructor.
7121 Change gnu_assignment_operator to assignment_operator.
7123 * testsuite/23_containers/vector_capacity.cc: Same.
7124 * testsuite/23_containers/vector_ctor.cc (test01): Same.
7125 * testsuite/23_containers/list_modifiers.cc: Change
7126 gnu_copy_tracker to copy_tracker.
7127 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
7128 __set_testsuite_memlimit to set_memory_limits.
7129 * testsuite/21_strings/insert.cc (main): Same.
7130 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
7131 * testsuite/27_io/stringstream.cc: Same.
7132 * testsuite/27_io/stringbuf.cc: Same.
7133 * testsuite/27_io/streambuf.cc: Same.
7134 * testsuite/27_io/ostream.cc: Same.
7135 * testsuite/27_io/istream.cc: Same.
7136 * testsuite/27_io/fstream.cc: Same.
7137 * testsuite/lib/libstdc++-v3-dg.exp
7138 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
7139 three levels deeper in glob patterns.
7141 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
7143 * docs/doxygen/tables.html: Finished now.
7144 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
7145 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
7148 * include/bits/deque.tcc, include/bits/stl_alloc.h,
7149 include/bits/stl_deque.h, include/bits/stl_list.h,
7150 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
7153 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
7155 * configure.in: Revert.
7156 * configure: Regenerate.
7158 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
7160 * include/Makefile.am (install-data-local): Prepend
7161 $(DESTDIR) to destination paths in all (un)installation
7162 commands. Use ${c_base_builddir} and ${std_builddir}
7163 as destination subdirectories to achieve consistency with
7164 preceding mkinstalldirs commands. No effect because both
7165 variables contain "." only.
7166 * include/Makefile.in: Regenerate.
7168 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
7170 * include/Makefile.am (stamp-*): Add checks for existing stamps.
7171 * include/Makefile.in: Regenerate.
7173 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
7174 * aclocal.m4: Regenerate.
7176 * configure.in: Don't add new multi-do rules every time the
7177 directory is reconfigured.
7178 * configure: Regenerate.
7180 2003-01-08 Brad Spencer <spencer@infointeractive.com>
7181 Nathan Myers <ncm@cantrip.org>
7183 * src/Makefile.am (stamp-debug): Clean.
7184 * src/Makefile.in: Regenerate.
7186 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
7189 * Makefile.am (distclean-multi): Fix.
7190 * Makefile.in: Regenerate.
7192 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
7194 * include/bits/locale_facets.h (messages): Move ctor, dtor
7196 (__timepunct): Same.
7197 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
7198 definitions. Conditionalize for GNU systems.
7199 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
7201 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
7202 definitions. Conditionalize for GNU systems.
7203 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
7205 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
7206 * src/locale.cc: Define.
7207 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
7209 * config/locale/gnu/time_members.h: Use it.
7210 * config/locale/gnu/messages_members.h: Use it.
7211 * config/linker-map.gnu: Add locale::facets details.
7212 * include/Makefile.am (target_headers_extra): Add time_members.h.
7213 * include/Makefile.in: Regenerate.
7214 * acinclude.m4: Export CTIME_H.
7215 * aclocal.m4: Regenerate.
7216 * configure: Regnerate.
7218 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
7221 (codecvt<char, char, mbstate_t>::do_in, do_out):
7222 Tweak parameters to avoid unused parameter warnings.
7224 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
7227 * include/bits/locale_facets.cc (num_put::_M_convert_float):
7228 Limit __prec to digits10 + 2, not digits10 + 1, taking into
7229 account the possibility of %{g,G} conversion specifiers
7230 inside _S_format_float.
7231 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
7233 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7235 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
7236 libstdc++-v3-list-sourcefiles): Additionally handle files one
7237 level deeper in glob patterns.
7239 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
7240 * testsuite/27_io/istream_extractor_arith/01.cc,
7241 testsuite/27_io/istream_extractor_arith/02.cc,
7242 testsuite/27_io/istream_extractor_arith/03.cc,
7243 testsuite/27_io/istream_extractor_arith/06.cc,
7244 testsuite/27_io/istream_extractor_arith/07.cc,
7245 testsuite/27_io/istream_extractor_arith/08.cc,
7246 testsuite/27_io/istream_extractor_arith/09.cc,
7247 testsuite/27_io/istream_extractor_arith/10.cc,
7248 testsuite/27_io/istream_extractor_arith/11.cc,
7249 testsuite/27_io/istream_extractor_arith/12.cc,
7250 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
7251 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
7254 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
7258 (codecvt<char, char, mbstate_t>::do_in, do_out):
7259 Implement the resolution of DR19 (TC).
7260 * testsuite/22_locale/codecvt_members_char_char.cc
7263 2003-01-02 Jason Merrill <jason@redhat.com>
7265 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
7266 *__mem is also an output.
7267 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.