1 2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com>
3 * libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer,
4 immediately return. This reflects a C++ ABI change 2003 Nov 03.
5 (__cxa_vec_delete3): Likewise.
7 2003-11-03 Petur Runolfsson <peturr02@ru.is>
10 * include/bits/fstream.tcc: Delete _M_last_overflowed.
11 (basic_filebuf::basic_filebuf): Initialize _M_state_last.
12 (basic_filebuf::open, basic_filebuf::close): Assign
13 _M_state_beg to _M_state_cur and _M_state_last.
14 (basic_filebuf::close): Call _M_terminate_output to handle
16 (basic_filebuf::underflow): Assign _M_state_last, throw
17 exception instead of calling abort when codecvt::max_length()
19 (basic_filebuf::seekoff): Use _M_state_last when calling
20 codecvt::length(), pass correct state to _M_seek.
21 (basic_filebuf::seekpos): Pass __pos.state() to _M_seek.
22 (basic_filebuf::_M_seek): Add __state_type parameter,
23 set _M_state_cur correctly, store the resulting state in
24 the return value and use _M_terminate_output to handle
26 (basic_filebuf::_M_terminate_output): Flush contents of
27 output buffer, if any, then call codecvt::unshift as
28 needed and output the result.
29 (basic_filebuf::sync): Move here, don't modify _M_writing
32 * include/std/std_fstream.h
33 (basic_filebuf::_M_state_last): Declare it.
34 (basic_filebuf::_M_last_overflowed): Delete.
35 (basic_filebuf::_M_seek): Add __state_type parameter.
36 (basic_filebuf::sync): Declare only.
37 (basic_filebuf::_M_output_unshift): Delete.
38 (basic_filebuf::_M_terminate_output): Declare it.
40 * testsuite/testsuite_character.h:
41 Define character class and state class plus char_traits and
42 codecvt specializations for same for testing support for
45 * testsuite/27_io/basic_filebuf/close/12790-1.cc,
46 * testsuite/27_io/basic_filebuf/close/char/12790-1.cc,
47 * testsuite/27_io/basic_filebuf/close/char/12790-2.cc,
48 * testsuite/27_io/basic_filebuf/close/char/12790-3.cc,
49 * testsuite/27_io/basic_filebuf/close/char/12790-4.cc,
50 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc,
51 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc,
52 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc,
53 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc,
54 * testsuite/27_io/basic_filebuf/open/12790-1.cc,
55 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc,
56 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc,
57 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc,
58 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc,
59 * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc,
60 * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc,
61 * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc,
62 * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc,
63 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc,
64 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc,
65 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc,
66 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc,
67 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc,
68 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc,
69 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc,
70 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc,
71 * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc,
72 * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc,
73 * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc,
74 * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc,
75 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc,
76 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc,
77 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc,
78 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc,
79 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc,
80 * testsuite/27_io/basic_filebuf/sync/char/1.cc,
81 * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc:
84 * testsuite/27_io/basic_filebuf/3.cc,
85 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc,
86 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc,
87 * testsuite/27_io/basic_fstream/3.cc,
88 * testsuite/27_io/basic_ifstream/3.cc,
89 * testsuite/27_io/basic_ofstream/3.cc:
90 Use streamoff as off_type and fpos<state_type> as pos_type.
92 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc,
93 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc:
94 Check that sync does *not* set _M_writing to false.
96 2003-11-03 Anthony Green <green@redhat.com>
98 * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
101 2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
103 * include/bits/locale_facets.h (time_get::_M_extract_name): Add
105 * include/bits/locale_facets.tcc: Same, use it to allow
108 * include/bits/fstream.tcc: Spacing tweak.
109 * include/bits/istream.tcc: Same.
110 * include/bits/ostream.tcc: Same.
112 2003-10-30 Paolo Carlini <pcarlini@suse.de>
114 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
115 __mod is only assigned, never used its value, remove it.
117 2003-10-29 Paolo Carlini <pcarlini@suse.de>
119 * include/bits/locale_facets.tcc (time_get::do_get_year):
120 Absolutely avoid dereferencing end iterators.
121 (time_put::put): Minor clean up.
123 * include/bits/locale_facets.tcc: Cosmetic reformattings.
125 2003-10-29 Paolo Carlini <pcarlini@suse.de>
127 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
128 Revert the last commit, is not correct, sorry.
130 2003-10-29 Paolo Carlini <pcarlini@suse.de>
132 * config/locale/generic/c_locale.cc: Add back <cmath> and
135 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
138 2003-10-29 Paolo Carlini <pcarlini@suse.de>
140 * include/bits/locale_facets.tcc (time_put::put): Absolutely
141 avoid dereferencing end iterators; clean up.
143 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
144 num_get::_M_extract_int): Minor tweak.
146 2003-10-29 Paolo Carlini <pcarlini@suse.de>
148 * include/bits/locale_facets.tcc: Remove some unnecessary
150 * config/locale/generic/c_locale.cc: Include <cerrno> here.
151 * config/locale/gnu/c_locale.cc: Likewise.
153 2003-10-28 Paolo Carlini <pcarlini@suse.de>
155 * include/bits/locale_facets.tcc
156 (money_get<>::do_get(..., string_type&)): Absolutely avoid
157 dereferencing end iterators; general clean up.
159 2003-10-28 Paolo Carlini <pcarlini@suse.de>
161 * include/bits/locale_facets.tcc (time_get::_M_extract_num):
162 Absolutely avoid dereferencing end iterators.
163 (time_get::_M_extract_name): Likewise.
165 * include/bits/locale_facets.tcc
166 (time_get::_M_extract_via_format, case 'e'): Don't try to
167 be smart wrt returning the right __beg in case of parse
168 error, time_get::_M_extract_num must be fixed instead.
170 2003-10-27 Paolo Carlini <pcarlini@suse.de>
173 * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
174 * aclocal.m4: Regenerate.
175 * configure: Regenerate.
177 2003-10-27 Benjamin Kosnik <bkoz@redhat.com>
179 * docs/html/17_intro/TODO: Add links.
180 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
183 2003-10-27 Paolo Carlini <pcarlini@suse.de>
186 * include/bits/locale_facets.tcc
187 (time_get::_M_extract_via_format): Deal with code 'e'.
188 * testsuite/22_locale/time_get/get_date/char/12750.cc: New.
189 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.
191 * include/bits/locale_facets.tcc
192 (time_get::_M_extract_via_format): Tweak to absolutely avoid
193 dereferencing end iterators.
195 * include/bits/locale_facets.h (__verify_grouping):
196 Const-ify second parameter.
197 * include/bits/locale_facets.tcc (__verify_grouping): Ditto.
198 * src/locale-inst.cc (__verify_grouping): Ditto.
200 2003-10-27 Paolo Carlini <pcarlini@suse.de>
202 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
203 Various things: 1- Avoid absolutely end iterator dereferences;
204 2- Improve performance-wise the code skipping leading zeros;
205 3- Fix two bugs wrt early bail out in case of parsing errors
206 (see testcases); 4- General clean up.
207 (num_get::_M_extract_int): Likewise, except 3-. Additionally,
208 use __builtin_expect to favor base 10 inputs.
209 * testsuite/22_locale/num_get/get/char/7.cc: New.
210 * testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.
212 2003-10-26 Paolo Carlini <pcarlini@suse.de>
214 * testsuite/22_locale/money_put/put/char/1.cc: Clean up.
215 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.
217 2003-10-25 Paolo Carlini <pcarlini@suse.de>
219 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
220 __pos in only incremented, never used its value, remove it.
222 2003-10-24 Robert Millan <robertmh@gnu.org>
224 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
226 * aclocal.m4: Regenerated.
227 * configure: Regenerated.
229 2003-10-24 Paolo Carlini <pcarlini@suse.de>
231 * include/bits/locale_facets.tcc (money_get::do_get(...,
232 long double&): Properly size the temporary buffer.
233 * testsuite/22_locale/money_get/get/char/11.cc: New.
234 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto.
236 * include/bits/locale_facets.tcc (num_put::_M_group_int,
237 num_put::_M_group_float, money_put::do_put(..., const
238 string_type&), collate::do_compare, collate::do_transform):
239 Prefer basic_string::data() to c_str() when the '\0'
240 terminator is not really needed.
242 2003-10-24 Paolo Carlini <pcarlini@suse.de>
244 * include/bits/locale_facets.tcc (__verify_grouping):
245 Prefer '=' to an unnecessary '&='.
247 2003-10-24 Paolo Carlini <pcarlini@suse.de>
249 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
250 Tweak my fix for libstdc++/12657.
252 2003-10-24 Paolo Carlini <pcarlini@suse.de>
254 * include/bits/locale_facets.tcc (money_get::do_get(...,
255 string_type&): Minor tweak to the previous commit.
257 2003-10-24 Paolo Carlini <pcarlini@suse.de>
259 * include/bits/locale_facets.tcc (money_get::do_get(...,
260 string_type&): Disregard the previous commit: doesn't hurt but
261 doesn't accomplish anything useful either. This is the right
262 one, speeding up greatly the function in case of early fail.
264 2003-10-24 Paolo Carlini <pcarlini@suse.de>
266 * include/bits/locale_facets.tcc (money_get::do_get(...,
267 string_type&): Move an if block, thus minimizing the amount
268 of code processed anyway when __tmp_units.size() == 0.
270 2003-10-24 Paolo Carlini <pcarlini@suse.de>
272 * include/bits/locale_facets.tcc
273 (time_get<>::_M_extract_via_format): Deal with case 'C' too,
276 2003-10-23 Benjamin Kosnik <bkoz@redhat.com>
278 * docs/html/documentation.html: Add a pointer to the doxygen style
280 * docs/html/17_intro/TODO: Update.
281 * docs/html/test.html: Add instructions for running a subset of
284 2003-10-23 Paolo Carlini <pcarlini@suse.de>
286 * include/bits/locale_facets.tcc (money_get<>::do_get(...,
287 string_type&)): Use find_first_not_of to strip leading
288 zeros; if __tmp_units == "0" never prefix it with '-';
289 always fail if __tmp_units is empty.
290 * testsuite/22_locale/money_get/get/char/10.cc: New.
291 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto.
293 2003-10-23 Phil Edwards <phil@codesourcery.com>
295 * config/os/vxworks/ctype_noninline.h: Adjust ctor to match
298 2003-10-22 Paolo Carlini <pcarlini@suse.de>
300 * include/bits/locale_facets.tcc (__int_to_char): Remove
301 the const int parameter.
302 (_M_insert_int): Update caller.
303 * src/locale-inst.cc (__int_to_char): Update instantiations.
305 2003-10-22 Benjamin Kosnik <bkoz@redhat.com>
307 * include/bits/locale_facets.h: Correct byname facets for "C"
309 * config/locale/generic/ctype_members.cc: Same.
310 * config/locale/generic/messages_members.h: Same.
311 * config/locale/gnu/ctype_members.cc: Same.
312 * config/locale/gnu/messages_members.h: Same.
313 * include/bits/codecvt.h: Same.
314 * src/ctype.cc: Same.
315 * testsuite/22_locale/codecvt_byname/1.cc: New.
316 * testsuite/22_locale/collate/1.cc: Edit.
317 * testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to...
318 * testsuite/22_locale/collate_byname/named_equivalence.cc: ...here.
319 * testsuite/22_locale/ctype/1.cc: Derivation tests.
320 * testsuite/22_locale/ctype/11844.cc: Move...
321 * testsuite/22_locale/ctype_base/11844.cc: ...here.
322 * testsuite/22_locale/ctype_base/1.cc: Move mask bits here.
323 * testsuite/22_locale/ctype_byname/1.cc: Name.
324 * testsuite/22_locale/messages_byname/1.cc: New.
325 * testsuite/22_locale/messages_byname/named_equivalence.cc: New.
326 * testsuite/22_locale/moneypunct_byname/1.cc: Derivation test.
327 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New.
328 * testsuite/22_locale/numpunct/1.cc: Edit.
329 * testsuite/22_locale/numpunct_byname/2.cc: Move...
330 * testsuite/22_locale/numpunct/members/char/3.cc: ...here.
331 * testsuite/22_locale/numpunct_byname/1.cc: Derivation tests.
332 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: New.
334 2003-10-22 Paolo Carlini <pcarlini@suse.de>
337 * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro,
338 checking for the availability of int64_t.
339 (GLIBCXX_CHECK_LFS): New macro, checking for LFS support.
340 * configure.ac: Call here.
341 * acconfig.h: Add undef for the corresponding symbols.
342 * config/io/basic_file_stdio.cc (__basic_file<char>::open):
343 Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen.
344 (__basic_file<char>::seekoff): Likewise, call lseek64 when
345 available, otherwise lseek, checking the __off parameter.
346 * include/bits/postypes.h: Typedef __streamoff_base_type
347 to int64_t if available, otherwise long long.
348 * aclocal.m4: Regenerate.
349 * config.h.in: Likewise.
350 * configure: Likewise.
352 * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV):
353 Use AC_TRY_LINK instead of AC_TRY_COMPILE.
355 2003-10-22 Paolo Carlini <pcarlini@suse.de>
358 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
359 Implement resolution of DR 292 (WP).
360 * docs/html/ext/howto.html: Add entry for DR 292.
362 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
364 * include/ext/mt_allocator.h: Change include to gthr.h.
365 * include/ext/rope: Same. Add _Refcount_base definitions.
366 * include/ext/pool_allocator.h: Adjust namespaces.
367 * include/bits/stl_threads.h (_Refcount_base): Move.
368 Put remaining into namespace __gnu_cxx.
370 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
373 * include/bits/locale_facets.h (ctype<char>): Remove
374 __ctype_abstract_base.
375 (ctype<char>::do_is): Remove.
376 (ctype<char>::do_scan_is): Remove.
377 * src/ctype.cc: Same. Inline the rest.
378 * testsuite/22_locale/ctype/is/char/9858.cc: New.
379 * config/os/aix/ctype_noninline.h: Adjust ctor.
380 * config/os/bsd/freebsd/ctype_noninline.h: Same.
381 * config/os/bsd/netbsd/ctype_noninline.h: Same.
382 * config/os/djgpp/ctype_noninline.h: Same.
383 * config/os/generic/ctype_noninline.h: Same.
384 * config/os/gnu-linux/ctype_noninline.h: Same.
385 * config/os/hpux/ctype_noninline.h: Same.
386 * config/os/irix/irix5.2/ctype_noninline.h: Same.
387 * config/os/irix/irix6.5/ctype_noninline.h: Same.
388 * config/os/mingw32/ctype_noninline.h: Same.
389 * config/os/newlib/ctype_noninline.h: Same.
390 * config/os/qnx/qnx6.1/ctype_noninline.h: Same.
391 * config/os/solaris/solaris2.5/ctype_noninline.h: Same.
392 * config/os/solaris/solaris2.6/ctype_noninline.h: Same.
393 * config/os/solaris/solaris2.7/ctype_noninline.h: Same.
394 * config/os/windiss/ctype_noninline.h: Same.
396 2003-10-21 Paolo Carlini <pcarlini@suse.de>
398 * src/locale.cc: Tweak a comment.
399 * src/localename.cc: Move a comment.
401 2003-10-20 Benjamin Kosnik <bkoz@redhat.com>
404 * testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
405 * testsuite_hooks.cc: Same.
406 * 22_locale/numpunct/members/pod/1.cc: Edit.
407 * 22_locale/numpunct/members/pod/2.cc: Same.
408 * 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
409 * 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
410 * 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
411 * 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
412 * 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
413 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
414 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
415 * 27_io/basic_istream/sentry/pod/1.cc: New.
416 * 27_io/basic_ostream/sentry/pod/1.cc: New.
417 * 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
418 * 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.
420 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
422 * config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
423 of external _MIPS_SIM_ABI32.
425 2003-10-20 Phil Edwards <phil@codesourcery.com>
427 * configure.ac: Fix comment typo.
428 * configure.host: Add vxworks to host_os switch.
429 * crossconfig.m4: Remove old commented os_include_dir variables
430 left over from autotools transition.
431 (*-vxworks): New stanza.
432 (*-windiss): Add missing symbols.
433 * configure: Regenerate.
434 * config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
435 config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
437 * config/os/windiss/os_defines.h: Define __C9X__.
439 2003-10-19 David Edelsohn <edelsohn@gnu.org>
442 * configure.host (aix4,aix*): Define os_include_dir to os/generic.
444 2003-10-18 Andreas Tobler <a.tobler@schweiz.ch>
446 * src/locale.cc (locale::_S_initialize): Re-apply workaround a
447 confusion of the use of the gthr API when __gthread_active_p()
450 2003-10-17 Benjamin Kosnik <bkoz@redhat.com>
452 * src/Makefile.am: Add new files.
453 * src/Makefile.in: Regenerate.
454 * src/globals.cc: Split into..
455 * src/globals_io.cc: New.
456 * src/globals_locale.cc: New.
457 * src/ios.cc: Split into...
458 * src/ios_init.cc: New.
459 * src/ios_locale.cc: New.
460 * src/locale-inst.cc: Split into..
461 * src/wlocale-inst.cc: New.
462 * src/locale-misc-inst.cc: New.
463 * src/locale.cc, src/localename: Split into...
464 * src/locale_facets.cc: New.
465 * src/locale_init.cc: New.
466 * src/wstring-inst.cc: Add copyright info.
468 2003-10-16 Petur Runolfsson <peturr02@ru.is>
473 * config/io/basic_file_stdio.cc (__basic_file::seekoff):
474 Change return value from streampos to streamoff.
475 (__basic_file::seekpos): Delete.
476 * config/io/basic_file_stdio.h: Same.
477 * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
478 * include/Makefile.am (bits_headers): Add bits/postypes.h.
479 * include/bits/char_traits.h: Include bits/postypes.h instead of
481 * include/bits/fstream.tcc (basic_filebuf::open,
482 basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
483 values, use == and != instead.
484 (basic_filebuf::_M_seek): Use explicit conversion from streamoff
486 (basic_filebuf::imbue): Don't use ! on pos_type values, use
487 == instead. Don't use __check_facet(_M_codecvt) unless is_open().
488 * include/bits/postypes.h: New file.
489 Add __streamoff_base_type typedef, streamsize.
490 (streamoff, streampos, wstreampos): Define typedefs, with
491 streamoff defined as...
492 (streamoff): New class. Document implementation defined
494 (fpos): New implementation. Document implementation defined
496 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
497 explicit conversion from pos_type to off_type.
498 * include/std/std_iosfwd.h: Include bits/postypes.h instead
500 * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
501 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
502 * testsuite/27_io/fpos/11450.cc: New test.
503 * testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
504 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
505 * testsuite/27_io/types/3.cc: New test.
507 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
509 * configure.host: Remove fpos_include_dir.
510 * configure.ac: Remove FPOS_INC_SRCDIR.
511 * configure: Regenerate.
512 * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
513 * aclocal.m4: Regenerate.
514 * include/Makefile.am (host_headers): Remove fpos.h.
515 (bits_headers): Add postypes.h.
516 * include/Makefile.in: Regenerate.
517 * config/os/gnu-linux/fposh: Remove.
518 * config/os/generic/fpos.h: Remove.
520 * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
521 * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
522 * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
523 * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
524 * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
525 * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
526 * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
527 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
528 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
529 * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
530 * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
531 * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
532 * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
533 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
534 * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
535 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
536 * testsuite/27_io/objects/char/10.cc: Same.
538 2003-10-16 Paolo Carlini <pcarlini@suse.de>
540 * src/locale.cc (locale::locale(const char*)): ... one
541 more comparison missed in the previous commit.
543 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
545 * acconfig.h: Add HAVE_DRAND48.
546 * crossconfig.m4: Remove ISATTY.
547 * aclocal.m4: Regenerated.
548 * config.h.in: Regenerated.
549 * configure: Regenerated.
551 2003-10-16 Bernardo Innocenti <bernie@develer.com>
553 * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
554 __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
555 Document SMP safeness of asm macros.
557 2003-10-16 Paolo Carlini <pcarlini@suse.de>
559 * src/locale.cc (locale::locale(const char*)): Tweak
560 a couple of comparisons to use basic_string operators.
562 2003-10-16 Paolo Carlini <pcarlini@suse.de>
565 * config/locale/gnu/monetary_members.cc
566 (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
567 Don't leak memory if new throws.
568 * src/locale.cc (locale::locale(const char*)): In order not
569 to leak memory in case new throws, use a basic_string type
570 for __res too and avoid strdup.
572 2003-10-14 Jeff Bailey <jbailey@nisa.net>
575 * crossconfig.m4: Share the config between *-linux* and *-gnu*.
576 * configure: Regenerate.
578 2003-10-14 Carlo Wood <carlo@alinoe.com>
581 * include/bits/demangle.h (session<Allocator>::
582 decode_unqualified_name(string_type& output)): Fail on a
583 <operator-name> when decoding <template-argument>.
584 * testsuite/demangle/regression/cw-15.cc: New.
586 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
589 * include/bits/stl_algo.h (unique): Fix.
590 * testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
591 * testsuite/25_algorithms/unique/11480.cc: New, from the PR.
592 * testsuite/25_algorithms/unique/2.cc: New.
594 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
596 * src/localename.cc (_M_replace_categories, M_replace_facet):
597 Const-ify a couple of variables.
599 2003-10-14 Petur Runolfsson <peturr02@ru.is>
600 Andreas Tobler <a.tobler@schweiz.ch>
602 * src/locale.cc (locale::_S_initialize): Workaround a confusion
603 of the use of the gthr API when __gthread_active_p() returns true.
605 2003-10-12 Petur Runolfsson <peturr02@ru.is>
606 Paolo Carlini <pcarlini@unitus.it>
609 * src/strstream.cc (pbackfail): Fix to use to_int_type.
610 * testsuite/backward/11460.cc: New, from the PR.
612 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
614 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
615 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
616 * include/bits/basic_string.tcc: Likewise.
617 * include/bits/ios_base.h: Likewise.
618 * include/bits/istream.tcc: Likewise.
619 * include/bits/locale_facets.tcc: Likewise.
620 * include/bits/ostream.tcc: Likewise.
621 * include/bits/stl_function.h: Likewise.
622 * include/bits/stl_multiset.h: Likewise.
623 * include/bits/stl_pair.h: Likewise.
624 * include/bits/stl_set.h: Likewise.
625 * include/bits/streambuf_iterator.h
626 * include/std/std_iosfwd.h: Likewise.
627 * include/std/std_istream.h: Likewise.
628 * include/std/std_sstream.h: Likewise.
629 * include/std/std_streambuf.h: Likewise.
630 * src/ios.cc: Likewise.
631 * include/bits/c++config:
632 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
633 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
634 dg-error directive due to removal of a blank line.
635 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
637 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
638 Paolo Carlini <pcarlini@unitus.it>
640 PR libstdc++/11844/11740 (cont)
641 * config/os/generic/ctype_inline.h (ctype<char>::is):
642 Generically, use a bitmasksize of 15 (instead of 10);
643 Fix the logic to actually return (M & m) != 0 as per
646 2003-10-11 Bernardo Innocenti <bernie@develer.com>
648 * crossconfig.m4 (*-uclinux*): New target.
649 * configure: Regenerate.
651 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
653 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
654 Avoid unnecessarily calling __builtin_alloca and dealing
655 explicitly with width() smaller than zero.
656 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
657 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
658 const char*), operator<<(basic_ostream<char, _Traits>&,
659 const char*), operator<<(basic_ostream, const basic_string&)):
662 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
664 * config/linker-map.gnu: Make more *_type_info bits visible.
665 Move new/delete bits back into GLIBCXX space.
667 * include/bits/locale_classes.h: Move _M_id out of line, so that
668 locale::id::_S_highwater can be removed from the export list.
669 * src/locale.cc (locale::id::_M_id): Define.
671 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
673 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
676 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
679 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
680 to conform to the requirements of 22.2.1.
681 * config/os/bsd/freebsd/ctype_base.h: Likewise.
682 * config/os/djgpp/ctype_base.h: Likewise.
683 * config/os/generic/ctype_base.h: Likewise.
684 * config/os/gnu-linux/ctype_base.h: Likewise.
685 * config/os/hpux/ctype_base.h: Likewise.
686 * config/os/irix/irix6.5/ctype_base.h: Likewise.
687 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
688 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
689 * testsuite/22_locale/ctype/11844.cc: New.
691 * config/locale/generic/ctype_members.cc (do_is):
692 Generically, use a bitmasksize of 15 (instead of 10), since
693 we don't know the numerical encoding of the various categories
694 in the underlying /usr/include/ctype.h.
696 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
698 * src/string-inst.cc: Prune.
699 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
700 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
702 2003-10-09 Petur Runolfsson <peturr02@ru.is>
704 * src/io-inst.cc: Don't include iostream.
705 * include/bits/ios_base.h (ios_base::failure): Use string.
706 * src/Makefile.am: Add ios_failure.cc.
707 * src/Makefile.in: Regenerate.
708 * src/ios.cc: Move ios_base::failure definitions to...
709 * src/ios_failure.cc: ...here. New.
711 2003-10-09 Petur Runolfsson <peturr02@ru.is>
714 * include/bits/fstream.tcc (basic_filebuf::seekoff):
715 Move code needed for both seekoff and seekpos...
716 (basic_filebuf::_M_seek): ...here. New function.
717 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
718 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
719 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
721 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
723 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
725 * include/bits/locale_facets.tcc: More minor cosmetic
726 changes and const-ifications of some variables.
728 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
730 * include/bits/locale_facets.tcc: Minor cosmetic changes
731 and const-ifications of some variables.
733 * include/bits/locale_facets.tcc
734 (money_get::do_get(..., string_type&)): Simplify an if-else.
736 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
739 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
740 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
741 * config/locale/generic/ctype_members.cc: Same.
742 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
744 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
746 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
747 Improve performance-wise: avoid one traits::copy, avoid
748 the __builtin_alloca, streamline.
750 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
752 * include/bits/locale_facets.tcc
753 (num_put::do_put(..., bool)): Prefer ?: to if-else.
754 (time_get::_M_extract_name): Qualify min with std::.
755 (__pad<>::_S_pad): Constify two variables; simplify an
756 if-else statement factoring out some code.
758 * include/bits/locale_facets.tcc: Minor cosmetic changes.
760 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
762 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
763 Constify a couple of variables.
764 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
767 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
768 Petur Runolfsson <peturr02@ru.is>
770 * include/ext/stdio_sync_filebuf.h: Don't include the whole
771 <fstream>, only <streambuf> and <cstdio>.
773 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
776 * include/bits/fstream.tcc (imbue): In case a codecvt facet
777 is not available, set _M_codecvt = 0.
778 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
780 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
783 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
785 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
787 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
788 * src/locale.cc: Define.
789 * src/localename.cc: Use it.
790 * config/locale/generic/time_members.h: Same.
791 * config/locale/gnu/messages_members.h: Same.
792 * config/locale/gnu/time_members.h: Same.
794 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
797 * include/bits/fstream.tcc (seekoff): Ignore the openmode
799 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
800 seekpos): Remove the openmode argument.
801 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
802 seekpos): Remove redundant placeholder for the openmode argument.
803 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
804 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
805 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
806 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
807 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
809 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
811 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
812 (locale::facet::_S_get_c_locale): Same.
814 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
816 * config/linker-map.gnu: Export _S_get_c_locale instead of
819 2003-10-02 Petur Runolfsson <peturr02@ru.is>
821 * config/locale/generic/c_locale.cc
822 (category_names, locale::_S_categories): Const qualify.
823 * config/locale/gnu/c_locale.cc: Same.
824 * config/locale/generic/time_members.h (__timepunct::__timepunct):
825 Copy string contents before assigning to _M_name_timepunct,
826 qualify strcpy and strlen with std::.
827 * config/locale/gnu/time_members.h: Same.
828 * config/locale/gnu/messages_members.h (messages::messages):
829 Copy string contents before assigning to _M_name_messages,
830 qualify strcpy and strlen with std::.
831 * config/os/gnu-linux/ctype_noninline.h
832 (ctype<char>::classic_table()): Don't call locale::classic().
833 * include/bits/locale_classes.h
834 (locale::_S_categories): Const qualify.
835 (locale::_S_once, locale::_S_initialize_once,
836 locale::facet::_S_once, locale::facet::_S_initialize_once,
837 locale::facet::_S_get_c_locale): Declare.
838 (locale::_S_initialize): Don't define.
839 (locale::facet::_S_c_locale): Make private.
840 (locale::facet::_S_c_name): Same, const qualify.
841 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
842 parameters, add throw() specifier.
843 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
844 messages::_M_name_messages): Const qualify.
846 (locale::_S_once, locale::facet::_S_once): Define.
847 (locale::classic): Move initialization code...
848 (locale::_S_initialize_once): ...here.
849 (locale::_S_initialize): Call _S_initialize_once through
851 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
852 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
853 __gthread_once before returning _S_c_locale.
854 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
855 Drop unused parameters, add throw() specifier, don't initialize
856 locale::facet::_S_c_locale and _S_c_name.
858 * config/locale/generic/messages_members.h:
859 Replace _S_c_locale with _S_get_c_locale().
860 * config/locale/gnu/c_locale.cc: Same.
861 * config/locale/gnu/messages_members.h: Same.
862 * config/locale/gnu/numeric_members.cc: Same.
863 * config/locale/gnu/time_members.cc: Same.
864 * config/os/gnu-linux/ctype_noninline.h: Same.
865 * include/bits/locale_facets.h: Same.
866 * include/bits/locale_facets.tcc: Same.
867 * src/codecvt.cc: Same.
868 * src/ctype.cc: Same.
870 2003-10-02 Carlo Wood <carlo@alinoe.com>
872 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
873 Decode symbols that start with _GLOBAL_[ID]_ differently: the
874 trailing part ends with a terminating zero and is not necessarily an
876 * src/demangle.cc (): Same.
877 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
879 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
881 * testsuite/22_locale/locale/cons/12438.cc: Use
882 __gnu_test::try_named_locale("").
884 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
886 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
887 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
889 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
890 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
892 * config.h.in, configure: Regenerate.
893 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
896 2003-10-01 Nathan Myers <ncm@cantrip.org>
898 * include/bits/locale_facets.tcc (time_put::put): Avoid
899 expensive *__s++, in favor of *__s, ++__s.
901 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
903 * include/bits/locale_facets.tcc (time_put::put): Minor
904 tweak to the previous commit.
906 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
909 * include/bits/locale_facets.tcc (time_put::put): Deal
910 with the three issues pointed out by the PR.
911 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
912 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
913 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
914 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
915 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
917 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
919 * include/bits/stl_algo.h: Minor cosmetic reformattings.
921 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
923 * include/bits/stl_algo.h (search_n): Tweak, to spare the
926 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
928 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
929 qualify exception name.
931 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
934 * include/bits/locale_facets.tcc (locale::combine): Don't
935 leak memory if _M_replace_facet throws.
936 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
938 * include/bits/locale_classes.h (locale::locale(const locale&,
939 _Facet*)): Tweak, use consistently _M_remove_reference.
941 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
943 PR libstdc++/12352 (cont)
944 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
945 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
947 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
948 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
949 !_M_caches, !_M_names.
951 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
953 * configure.host: Handle Solaris 2.5 micro releases explicitly.
954 Remove wildcards from Solaris 2.6, 7-9: there were no
956 Treat Solaris 10 and up like 7-9.
958 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
960 * include/bits/stl_algo.h (search_n): Improve the previous
961 fix as suggested by Martin.
963 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
966 * include/bits/istream.tcc (peek): Set eofbit if sgetc
968 * testsuite/27_io/basic_istream/peek/char/12296.cc:
971 2003-09-29 Nathan Myers <ncm@cantrip.org>
972 Paolo Carlini <pcarlini@unitus.it>
975 * include/bits/stl_algo.h (search_n):
976 Use iterator_traits<>::difference_type for __n.
977 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
979 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
981 * testsuite/22_locale/locale/cons/12352.cc:
982 Use __attribute__((unused)) for test.
984 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
986 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
987 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
988 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
990 2003-09-26 Brad Spencer <spencer@infointeractive.com>
992 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
993 Explicitly qualify exceptions.
994 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
995 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
996 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
997 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
999 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
1002 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
1003 size_t)): Don't leak if memory allocations for _M_facets,
1004 _M_caches, and _M_names fail.
1005 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
1006 (locale::_Impl::_M_replace_categories(const _Impl*,
1008 (locale::_Impl::_M_install_facet(const locale::id*,
1009 const facet*)): Ditto.
1010 * include/bits/locale_classes.h (locale::locale(const locale&,
1011 _Facet*)): Don't leak memory.
1012 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
1014 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
1015 bool)): Qualify with std:: strcpy, tweak.
1016 * include/bits/locale_classes.h
1017 (locale::_Impl::_M_check_same_name): Qualify strcmp.
1019 2003-09-25 Brad Spencer <spencer@infointeractive.com>
1022 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
1024 * aclocal.m4: Regenerate.
1025 * config.h.in: Regenerate.
1026 * configure: Regenerate.
1027 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
1028 * config/io/basic_file_stdio.cc: Guard unistd.h.
1029 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
1030 * include/c_std/std_cwchar.h: Same.
1031 * include/c_std/std_cwctype.h: Same.
1033 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
1036 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
1037 * config/locale/generic/ctype_members.cc: Same.
1038 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
1039 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
1041 * config/os/generic/ctype_inline.h: Update.
1043 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
1045 * src/Makefile.am (version_dep): New variable.
1046 (libstdc___la_DEPENDENCIES): Use it to add dependency on
1047 libstdc++-symbol.ver only when using symbol versioning.
1048 * src/Makefile.in: Regenerate.
1050 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
1052 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
1053 * testsuite/testsuite_hooks.h: Same.
1054 * testsuite/*/*.cc: Same.
1056 2003-09-22 Petur Runolfsson <peturr02@ru.is>
1058 * include/bits/istream.tcc (basic_istream::read,
1059 basic_istream::readsome, basic_istream::putback,
1060 basic_istream::unget, operator>>(basic_istream, CharT)):
1061 Avoid redundant setstate(failbit) calls when sentry::operator bool()
1064 2003-09-22 Carlo Wood <carlo@alinoe.com>
1067 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
1068 char const*, int, int)): Remove unused identifier
1069 cv_qualifier for overloaded constructor.
1071 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
1074 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
1075 WARN_FLAGS, remove -Wno-format.
1076 * aclocal.m4: Regenerate.
1077 * configure: Regenerate.
1079 2003-09-18 Petur Runolfsson <peturr02@ru.is>
1081 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
1082 * config/io/basic_file_stdio.h: Same.
1083 * include/std/std_fstream.h (__ctype_type): Delete.
1084 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
1086 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
1089 * configure.host (abi_baseline_pair): Error out on solaris2
1090 configurations without a minor version number.
1092 2003-09-13 Phil Edwards <phil@codesourcery.com>
1094 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
1095 if man pages are on.
1096 * docs/doxygen/user.cfg.in: And here.
1098 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
1099 Andreas Jaeger <aj@suse.de>
1102 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
1103 abi_check if cross compiling.
1104 * aclocal.m4: Regenerated.
1105 * configure: Regenerated.
1107 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
1109 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
1110 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
1111 (__cxa_vec_new3): Likewise.
1113 2003-09-10 Petur Runolfsson <peturr02@ru.is>
1115 * include/bits/fstream.tcc (basic_filebuf::seekoff):
1116 Use codecvt::length to handle variable-width stateless encodings
1118 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
1119 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
1121 2003-09-10 Alan Modra <amodra@bigpond.net.au>
1123 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
1126 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1128 * configure: Regenerate.
1130 2003-09-09 David Edelsohn <edelsohn@gnu.org>
1132 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
1133 qualifier from _S_synced_with_stdio.
1135 2003-09-09 Bernardo Innocenti <bernie@develer.com>
1137 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
1139 2003-09-04 Petur Runolfsson <peturr02@ru.is>
1142 * include/bits/fstream.tcc
1143 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
1144 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
1145 _M_ext_buf_size, _M_ext_next and _M_ext_end.
1146 (basic_filebuf::underflow): Handle variable-width stateless
1147 encodings (codecvt::encoding() == 0), including UTF-8.
1148 * include/std/std_fstream.h (basic_filebuf):
1149 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
1150 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
1151 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
1152 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
1153 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
1154 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
1155 * testsuite/27_io/objects/wchar_t/12.cc: New test.
1156 * testsuite/27_io/objects/wchar_t/13.cc: New test.
1158 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
1160 * docs/html/faq/index.html: Note that a namespace alias can't be
1161 used when specialising templates in extension namespace.
1162 * docs/html/faq/index.txt: Regenerate.
1164 2003-09-03 Petur Runolfsson <peturr02@ru.is>
1167 * include/ext/stdio_sync_filebuf.h
1168 (stdio_sync_filebuf::_M_unget_buf): Declare it.
1169 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
1170 (stdio_sync_filebuf::uflow): Store the returned character in
1172 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
1173 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
1174 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
1175 _M_unget_buf, if any, else eof().
1176 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
1177 _M_unget_buf, if any, else eof().
1178 * testsuite/27_io/objects/char/12048.cc: Rename to...
1179 * testsuite/27_io/objects/char/12048-1.cc: ...this.
1180 * testsuite/27_io/objects/char/12048-2.cc: New test.
1181 * testsuite/27_io/objects/char/12048-3.cc: New test.
1182 * testsuite/27_io/objects/char/12048-4.cc: New test.
1183 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
1184 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
1185 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
1186 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
1187 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
1188 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
1189 * testsuite/ext/stdio_sync_filebuf_char.cc
1190 (test02, test03, test04, test05): New tests.
1191 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
1192 (test02, test03, test04, test05): New tests.
1194 2003-09-03 Petur Runolfsson <peturr02@ru.is>
1196 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
1197 stringbuf or strstreambuf. Fix typos.
1199 2003-09-02 Phil Edwards <phil@codesourcery.com>
1201 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
1203 * config.h.in: Add _GLIBCXX_HOSTED.
1204 * libsupc++/eh_term_handler.cc: Test it here; initialize
1205 __terminate_handler to std::abort if freestanding.
1206 * aclocal.m4, configure: Regenerated.
1207 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
1209 2003-08-29 Nathan Myers <ncm@cantrip.org>
1212 * include/bits/locale_facets.tcc (__pad): delete dead code.
1214 2003-08-28 Alan Modra <amodra@bigpond.net.au>
1216 * configure.ac: Test $with_cross_host against $build_alias, not $build.
1217 * configure: Regenerate.
1219 2003-08-27 Petur Runolfsson <peturr02@ru.is>
1221 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
1222 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
1224 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1226 * Makefile.am: Remove trailing whitespace. Remove needless
1227 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
1228 * include/Makefile.am: Likewise.
1229 * libmath/Makefile.am: Likewise.
1230 * libsupc++/Makefile.am: Likewise.
1231 * po/Makefile.am: Likewise.
1232 * src/Makefile.am: Likewise.
1233 * testsuite/Makefile.am: Likewise.
1235 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1236 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1237 testsuite/Makefile.in: Regenerated.
1239 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1241 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
1243 * aclocal.m4, configure: Regenerate.
1245 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1247 * acinclude.m4: Include no-executables.m4.
1248 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
1249 * aclocal.m4: Regenerated.
1250 * configure: Regenerated.
1252 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1254 * acinclude.m4: Don't call AC_ISC_POSIX.
1255 * aclocal.m4: Regenerated.
1256 * configure: Regenerated.
1258 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1260 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
1261 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
1262 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
1263 used elsewhere in this file.
1264 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
1265 * configure.ac: ...called here to expand all conditionals.
1266 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
1267 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
1268 (install-freestanding-headers): New target, a subset of
1269 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
1271 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1272 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1273 src/Makefile.in, testsuite/Makefile.in: Regenerated.
1275 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
1277 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
1278 pathnames from generated tag file.
1280 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
1282 * Makefile.am: Add comment.
1283 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
1285 * configure.ac: Use them both here, instead of hardcoded lists.
1287 * fragment.am: Add STAMP varaible.
1288 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
1290 (stamp-*): Move file creation rule outside of 'if' branches to
1291 ensure the stamp-* files are actually updated. Use $(STAMP).
1292 * src/Makefile.am: Remove now-nonexistant variable.
1293 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
1295 * po/Makefile.am: Include same fragment as all the others.
1297 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1298 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
1300 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
1302 * testsuite/data/cin_unget-1.txt: New.
1303 * testsuite/27_io/objects/char/12048.cc: New.
1305 2003-08-25 Zack Weinberg <zack@codesourcery.com>
1307 * config/os/hpux/os_defines.h: Unconditionally define
1308 _GLIBCXX_GTHREAD_USE_WEAK to 0.
1310 2003-08-19 Geoffrey Keating <geoffk@apple.com>
1312 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
1313 crosses to Darwin targets.
1314 * configure: Regenerate.
1316 2003-08-19 Petur Runolfsson <peturr02@ru.is>
1318 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
1320 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
1322 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
1323 in the patch from 3 minutes ago. Boy, is my face red.
1324 * configure: At least I remembered to regenerate this.
1326 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
1328 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
1329 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
1330 things from the top level.
1331 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
1332 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
1333 (currently unused). Strip the fake-VPATH shell fragment from
1334 automake-generated rules, if present.
1335 * linkage.m4: Add comment.
1337 * fragment.am: New file, containing factored-out common settings.
1338 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
1339 * Makefile.am: Include fragment.am. Remove common variables.
1340 * include/Makefile.am: Likewise.
1341 * libmath/Makefile.am: Likewise.
1342 * libsupc++/Makefile.am: Likewise.
1343 * po/Makefile.am: Likewise. Print rules during check.
1344 * src/Makefile.am: Likewise.
1345 * testsuite/Makefile.am: Likewise.
1347 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1348 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1349 src/Makefile.in, testsuite/Makefile.in: Regenerate.
1351 2003-08-11 John Levon <levon@movementarian.org>
1353 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
1354 remaining places for the name change from GLIBCPP_FORCE_NEW
1355 to GLIBCXX_FORCE_NEW
1357 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
1359 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
1361 * include/bits/basic_ios.tcc: Same.
1362 * include/bits/istream.tcc: Same.
1363 * include/bits/locale_facets.h: Same.
1364 * include/bits/ostream.tcc: Same.
1365 * include/std/std_istream.h: Same.
1366 * include/std/std_ostream.h: Same.
1367 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
1369 * include/ext/rope: Remove build warning.
1371 2003-08-11 Andreas Jaeger <aj@suse.de>
1373 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
1375 * include/Makefile.in: Regenerated.
1377 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
1379 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
1380 when calling AC_PROG_CC.
1381 * aclocal.m4, configure: Regenerate.
1383 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
1385 * acinclude.m4: Properly quote variable which will be expanded
1386 inside makefiles. Use CXX instead of CC to extract compiler info.
1387 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
1388 correct form in PACKAGE.
1389 * aclocal.m4, configure: Regenerate.
1391 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
1393 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
1394 (check-abi-verbose): Same.
1395 * testsuite/testsuite_performance.h (report_performance): Same.
1397 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
1399 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
1401 2003-08-07 Doug Gregor <dgregor@apple.com>
1403 * include/bits/char_traits.h (char_traits::not_eof): Match operand
1406 2003-08-07 Bernardo Innocenti <bernie@develer.com>
1409 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
1410 Replace variants with new BSET-based version.
1412 2003-08-07 Carlo Wood <carlo@alinoe.com>
1414 * include/bits/demangle.h: Do not use cctype functions that depend
1417 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1419 * configure.in: Rename...
1420 * configure.ac: ...to this.
1421 * docs/html/17_intro/porting.texi: Update name.
1423 * docs/html/17_intro/porting.html: Regenerate.
1424 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
1425 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1426 testsuite/Makefile.in: Regenerate (picks up new dependancy).
1428 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1430 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
1431 pipe, open the window to let out the fumes, redo the option-handling
1432 logic to properly execute the detection test.
1433 * aclocal.m4, configure: Regenerate.
1435 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1437 Convert to new autotools.
1438 * acconfig.h: Update with correct names.
1439 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
1440 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
1441 * configure.in: Update. Split hardcoded cross-configury settings
1443 * crossconfig.m4: ...here. New file. Contents untouched.
1444 * acinclude.m4: Reorganize and rewrite as needed. Split large
1446 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
1448 * scripts/testsuite_flags.in: Update.
1450 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
1451 variables (already generated by automake).
1452 * include/Makefile.am: Ditto.
1453 * libmath/Makefile.am: Ditto.
1454 * libsupc++/Makefile.am: Ditto.
1455 * po/Makefile.am: Ditto.
1456 * src/Makefile.am: Ditto.
1458 * aclocal.m4: Regenerate using new versions.
1459 * config.h.in: Ditto.
1461 * Makefile.in: Ditto.
1462 * include/Makefile.in: Ditto.
1463 * libmath/Makefile.in: Ditto.
1464 * libsupc++/Makefile.in: Ditto.
1465 * po/Makefile.in: Ditto.
1466 * src/Makefile.in: Ditto.
1467 * testsuite/Makefile.in: Ditto.
1469 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1471 * po/libstdc++.pot: Re-extract/regenerate.
1473 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1475 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
1476 Remove unneeded variable assignments. Leave them for automake.
1477 * testsuite/lib/libstdc++-v3.exp: Rename...
1478 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
1480 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
1481 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
1484 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1486 * docs/doxygen/guide.html: run_doxygen uses bash.
1487 * docs/doxygen/mainpage.html: We'll be shipping tag files.
1488 * docs/doxygen/run_doxygen: Tweaks and improvements.
1489 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
1490 * docs/html/install.html: Update autoconf/automake requirements.
1491 * docs/html/test.html: Add section describing DejaGNU support.
1492 * docs/html/17_intro/confdeps.dot: New file, generates...
1493 * docs/html/17_intro/confdeps.png: ...this new file.
1494 * docs/html/Makefile: Generated here.
1495 * docs/html/17_intro/configury.html: New file.
1497 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
1499 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
1500 * testsuite/lib/libstdc++-v3.exp: ...to this.
1501 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
1503 2003-07-31 Doug Gregor <dgregor@apple.com>
1505 Add user specialization tests.
1506 * testsuite/23_containers/deque/1.cc: New.
1507 * testsuite/23_containers/list/1.cc: New.
1508 * testsuite/23_containers/map/1.cc: New.
1509 * testsuite/23_containers/multimap/1.cc: New.
1510 * testsuite/23_containers/multiset/1.cc: New.
1511 * testsuite/23_containers/set/1.cc: New.
1512 * testsuite/23_containers/vector/1.cc: New.
1514 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
1516 Reshuffle 23_containers testsuite.
1517 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
1518 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
1519 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
1520 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
1521 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
1522 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
1523 vector_resize.cc: Split into...
1524 * 23_containers/bitset/cons/1.cc: New.
1525 * 23_containers/bitset/cons/6282.cc: New.
1526 * 23_containers/bitset/count/6124.cc: New.
1527 * 23_containers/bitset/operations/1.cc: New.
1528 * 23_containers/bitset/operations/2.cc: New.
1529 * 23_containers/bitset/test/1.cc: New.
1530 * 23_containers/bitset/to_ulong/1.cc: New.
1531 * 23_containers/deque/cons/1.cc: New.
1532 * 23_containers/deque/cons/2.cc: New.
1533 * 23_containers/deque/operators/1.cc: New.
1534 * 23_containers/list/capacity/1.cc: New.
1535 * 23_containers/list/cons/1.cc: New.
1536 * 23_containers/list/cons/2.cc: New.
1537 * 23_containers/list/cons/3.cc: New.
1538 * 23_containers/list/cons/4.cc: New.
1539 * 23_containers/list/cons/5.cc: New.
1540 * 23_containers/list/cons/6.cc: New.
1541 * 23_containers/list/cons/7.cc: New.
1542 * 23_containers/list/cons/8.cc: New.
1543 * 23_containers/list/cons/9.cc: New.
1544 * 23_containers/list/modifiers/1.cc: New.
1545 * 23_containers/list/modifiers/2.cc: New.
1546 * 23_containers/list/modifiers/3.cc: New.
1547 * 23_containers/list/operators/1.cc: New.
1548 * 23_containers/list/operators/2.cc: New.
1549 * 23_containers/list/operators/3.cc: New.
1550 * 23_containers/list/operators/4.cc: New.
1551 * 23_containers/map/insert/1.cc: New.
1552 * 23_containers/map/operators/1.cc: New.
1553 * 23_containers/map/operators/1_neg.cc: New.
1554 * 23_containers/multiset/insert/1.cc: New.
1555 * 23_containers/priority_queue/members/7161.cc: New.
1556 * 23_containers/queue/members/7157.cc: New.
1557 * 23_containers/set/operators/1_neg.cc: New.
1558 * 23_containers/stack/members/7158.cc: New.
1559 * 23_containers/vector/bool/1.cc: New.
1560 * 23_containers/vector/bool/6886.cc: New.
1561 * 23_containers/vector/capacity/1.cc: New.
1562 * 23_containers/vector/capacity/2.cc: New.
1563 * 23_containers/vector/capacity/8230.cc: New.
1564 * 23_containers/vector/cons/1.cc: New.
1565 * 23_containers/vector/cons/2.cc: New.
1566 * 23_containers/vector/cons/3.cc: New.
1567 * 23_containers/vector/cons/4.cc: New.
1568 * 23_containers/vector/cons/6513.cc: New.
1569 * 23_containers/vector/element_access/1.cc: New.
1570 * 23_containers/vector/modifiers/1.cc: New.
1571 * 23_containers/vector/modifiers/2.cc: New.
1572 * 23_containers/vector/resize/1.cc: New.
1574 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1576 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
1578 * testsuite/thread/pthread2.cc: Likewise.
1579 * testsuite/thread/pthread3.cc: Likewise.
1580 * testsuite/thread/pthread4.cc: Likewise.
1581 * testsuite/thread/pthread5.cc: Likewise.
1582 * testsuite/thread/pthread6.cc: Likewise.
1583 * testsuite/thread/pthread7-rope.cc: Likewise.
1585 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
1587 * include/bits/c++config: Partial reversion (comment placement) of
1590 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
1592 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
1593 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
1594 (_GLIBCXX_AT_AT): Remove.
1595 (__USE_MALLOC): Remove.
1596 * include/std/std_fstream.h: Modify.
1597 * include/bits/basic_ios.h: Same.
1598 * include/bits/valarray_array.h: Same.
1599 * include/c_std/std_cmath.h: Same.
1600 * include/c_std/cmath.tcc: Same.
1601 * include/std/std_vector.h: Same.
1602 * include/std/std_string.h: Same.
1603 * include/std/std_stack.h: Same.
1604 * include/std/std_queue.h: Same.
1605 * include/std/std_list.h: Same.
1606 * include/std/std_deque.h: Same.
1607 * include/std/std_streambuf.h: Same.
1608 * include/std/std_sstream.h: Same.
1609 * include/std/std_ostream.h: Same.
1610 * include/std/std_istream.h: Same.
1611 * include/bits/valarray_array.tcc: Same, format.
1613 * include/c/std_cctype.h: Fix include guards.
1614 * include/c/std_cerrno.h: Same.
1615 * include/c/std_cfloat.h: Same.
1616 * include/c/std_climits.h: Same.
1617 * include/c/std_clocale.h: Same.
1618 * include/c/std_cmath.h: Same.
1619 * include/c/std_csetjmp.h: Same.
1620 * include/c/std_csignal.h: Same.
1621 * include/c/std_cstdarg.h: Same.
1622 * include/c/std_cstddef.h: Same.
1623 * include/c/std_cstdio.h: Same.
1624 * include/c/std_cstdlib.h: Same.
1625 * include/c/std_cstring.h: Same.
1626 * include/c/std_ctime.h: Same.
1627 * include/c/std_cwchar.h: Same.
1628 * include/c/std_cwctype.h: Same.
1629 * include/c_std/cmath.tcc: Same.
1630 * include/c_std/std_cmath.h: Same.
1632 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
1635 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1636 casts. Changes to avoid casting away constness. Eliminate
1637 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1638 initialization lists. Move out implementation of __black_count()
1640 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1641 Rename_Rb_tree_base_iterator::_M_increment() to
1642 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1644 * config/linker-map.gnu: Add and change symbols here.
1646 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1648 * docs/html/22_locale/howto.html: Use locale::classic() instead
1651 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1653 * testsuite/testsuite_hooks.h: Remove list include.
1654 (func_callback): Define as unique type, not std::list.
1655 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1656 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1657 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1658 * testsuite/23_containers/bitset_ctor.cc:
1659 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1660 * testsuite/18_support/numeric_limits.cc: Same.
1661 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1662 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1663 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1664 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1665 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1666 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1667 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1668 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1669 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1670 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1671 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1672 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1673 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1674 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1675 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1676 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1677 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1678 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1679 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1680 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1681 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1682 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1683 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1684 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1685 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1686 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1687 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1688 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1689 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1690 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1691 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1692 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1693 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1694 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1695 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1696 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1697 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1698 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1699 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1700 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1701 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1702 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1703 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1704 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1705 * testsuite/23_containers/bitset_ctor.cc: Same.
1706 * testsuite/23_containers/bitset_shift.cc: Same.
1707 * testsuite/23_containers/vector_ctor.cc: Same.
1708 * testsuite/23_containers/vector_element_access.cc: Same.
1709 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1710 * testsuite/24_iterators/iterator.cc: Same.
1711 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1712 * testsuite/25_algorithms/lower_bound.cc: Same.
1713 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1714 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1715 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1716 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1717 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1718 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1719 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1720 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1721 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1722 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1723 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1726 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1728 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1729 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1730 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1731 GLIBCPP to GLIBCXX (and explain as needed).
1733 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1737 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1739 * testsuite/22_locale/messages/members/char/1.cc,
1740 testsuite/22_locale/messages/members/char/2.cc,
1741 testsuite/22_locale/messages/members/char/3.cc,
1742 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1743 the origin of LOCALEDIR.
1744 * testsuite/lib/libstdc++-v3.exp: New file.
1746 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1748 * include/bits/char_traits.h: Update copyright, tweak.
1749 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1752 2003-07-24 Matt Austern <austern@apple.com>
1754 * /include/bits/char_traits.h (class char_traits): Put all the
1755 real work into the new class template __gnu_cxx::char_traits.
1756 Gave generic definitions for member functions. Types are taken
1757 from the new class template __gnu_cxx::_Char_types.
1758 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1759 file. Test of std::char_traits<short>, which serves as a test of
1760 the char_traits primary template.
1762 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1764 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1766 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1768 * testsuite/23_containers/map_operators.cc: Conform to
1769 container requirement as value must be Assignable.
1771 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1773 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1774 tests not only generation of pch files, but also their use.
1775 * aclocal.m4, configure: Rebuilt.
1777 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1779 * config/cpu/hppa/atomicity.h: Change
1780 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1781 to match misc-inst.cc
1783 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1785 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1786 * include/c_std/std_cctype.h: Ditto.
1787 * include/c_std/std_cerrno.h: Ditto.
1788 * include/c_std/std_cfloat.h: Ditto.
1789 * include/c_std/std_climits.h: Ditto.
1790 * include/c_std/std_clocale.h: Ditto.
1791 * include/c_std/std_cmath.h: Ditto.
1792 * include/c_std/std_csetjmp.h: Ditto.
1793 * include/c_std/std_csignal.h: Ditto.
1794 * include/c_std/std_cstdarg.h: Ditto.
1795 * include/c_std/std_cstddef.h: Ditto.
1796 * include/c_std/std_cstdio.h: Ditto.
1797 * include/c_std/std_cstdlib.h: Ditto.
1798 * include/c_std/std_cstring.h: Ditto.
1799 * include/c_std/std_ctime.h: Ditto.
1800 * include/c_std/std_cwchar.h: Ditto.
1801 * include/c_std/std_cwctype.h: Ditto.
1802 * include/std/std_algorithm.h: Ditto.
1803 * include/std/std_bitset.h: Ditto.
1804 * include/std/std_complex.h: Ditto.
1805 * include/std/std_deque.h: Ditto.
1806 * include/std/std_fstream.h: Ditto.
1807 * include/std/std_functional.h: Ditto.
1808 * include/std/std_iomanip.h: Ditto.
1809 * include/std/std_ios.h: Ditto.
1810 * include/std/std_iosfwd.h: Ditto.
1811 * include/std/std_iostream.h: Ditto.
1812 * include/std/std_istream.h: Ditto.
1813 * include/std/std_iterator.h: Ditto.
1814 * include/std/std_limits.h: Ditto.
1815 * include/std/std_list.h: Ditto.
1816 * include/std/std_locale.h: Ditto.
1817 * include/std/std_map.h: Ditto.
1818 * include/std/std_memory.h: Ditto.
1819 * include/std/std_numeric.h: Ditto.
1820 * include/std/std_ostream.h: Ditto.
1821 * include/std/std_queue.h: Ditto.
1822 * include/std/std_set.h: Ditto.
1823 * include/std/std_sstream.h: Ditto.
1824 * include/std/std_stack.h: Ditto.
1825 * include/std/std_stdexcept.h: Ditto.
1826 * include/std/std_streambuf.h: Ditto.
1827 * include/std/std_string.h: Ditto.
1828 * include/std/std_utility.h: Ditto.
1829 * include/std/std_valarray.h: Ditto.
1830 * include/std/std_vector.h: Ditto.
1832 2003-07-22 Doug Gregor <dgregor@apple.com>
1834 * include/bits/basic_string.h (basic_string::insert): Deprecate
1837 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1839 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1841 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1842 (test03): Include typeinfo for bad_cast.
1843 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1844 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1845 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1847 2003-07-21 Doug Gregor <dgregor@apple.com>
1849 * include/bits/boost_concept_check.h:
1850 (_EqualityComparableConcept::__constraints): Remove != from the
1851 list of constraints; it is not listed in Table 28 of the C++98
1854 2003-07-18 Andreas Jaeger <aj@suse.de>
1856 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1857 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1858 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1859 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1861 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1863 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1864 * config/locale/generic/messages_members.h: Tweaks.
1865 * config/locale/generic/monetary_members.cc
1866 (moneypunct::_M_initialize_moneypunct): Use cache.
1867 (moneypunct::~moneypunct): Delete cache.
1868 * config/locale/generic/time_members.cc:
1869 (__timepunct::_M_initialize_timepunct): Use cache.
1870 * config/locale/generic/time_members.h:
1871 (__timepunct::~__timepunct): Delete cache.
1872 (__timepunct::__timepunct): Set cache.
1873 * config/locale/gnu/messages_members.h: Tweaks.
1874 * config/locale/gnu/monetary_members.cc:
1875 (moneypunct::_M_initialize_moneypunct): Use cache.
1876 (moneypunct::~moneypunct): Delete cache.
1877 * config/locale/gnu/time_members.cc:
1878 (__timepunct::_M_initialize_timepunct): Use cache.
1879 * config/locale/gnu/time_members.h:
1880 (__timepunct::~__timepunct): Delete cache.
1881 (__timepunct::__timepunct): Set cache.
1882 * include/bits/locale_facets.h (__timepunct_cache): New.
1883 (__moneypunct_cache): New.
1884 * include/bits/locale_facets.tcc: Tweak.
1885 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1886 * src/locale-inst.cc: Instantiate caches.
1887 * src/globals.cc: Add "C" caches.
1888 * src/localename.cc: Use external "C" caches.
1890 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1892 * docs/doxygen/guide.html: Fix typo.
1894 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1896 * include/ext/pod_char_traits.h: Add state template argument.
1898 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1900 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1901 (num_get::_M_convert_int): To _M_insert_int.
1902 (num_get::_M_convert_float): To _M_insert_float.
1903 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1904 Use caches for ctype, num_get.
1905 (num_get::_M_extract_int): Same.
1906 (num_get::get(bool)): Same.
1907 (__verify_grouping): Use size_t.
1908 * src/locale-inst.cc: Update.
1909 * src/locale.cc: Adjust _S_atoms_in.
1911 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1913 * docs/doxygen/mainpage.html: Move building/writing instructions...
1914 * docs/doxygen/guide.html: ...to here. New file.
1916 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1918 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1919 * docs/html/faq/index.html: Same.
1920 * docs/html/faq/index.txt: Regenerate.
1922 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1925 * include/bits/locale_facets.tcc (money_get::do_get):
1926 Strip only _leading_ zeros.
1927 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1928 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1930 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1932 * include/ext/hash_map (class hash_multimap): Remove extra
1933 semicolons from __glibcxx_class_requires3 entries.
1934 * include/ext/hash_set (class hash_set): Ditto.
1935 (class hash_multiset): Ditto.
1937 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1939 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1940 Change last parameter from int_type to size_t.
1942 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1944 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1945 set_difference, set_symmetric_difference, max_element, min_element,
1946 next_permutation, prev_permutation, find_first_of, find_end):
1948 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1949 restrictions in docs.
1950 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1952 * docs/doxygen/doxygroups.cc (setoperations): New group.
1954 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1956 * include/bits/basic_string.h: Document public functions.
1957 * docs/doxygen/TODO: Update c21 todo.
1959 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1961 * include/bits/stl_list.h: Document more functions.
1962 * docs/doxygen/TODO: Update c23 todo.
1964 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1966 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1969 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1971 * include/bits/stl_tempbuf.h: Qualify free with std::.
1972 * src/locale.cc: Include <cstdlib>, qualify getenv.
1974 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1976 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1977 <cstdio>. Qualify names.
1978 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1980 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1981 Nathan C. Myers <ncm-nospam@cantrip.org>
1984 * include/std/std_fstream.h (xsputn): Declare only.
1985 * include/bits/fstream.tcc (xsputn): Define, optimize for the
1986 always_noconv() case: when __n is sufficiently large flush
1987 the buffer and issue a direct write, if possible combining the
1988 two with writev in __basic_file<>::xsputn_2.
1989 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1991 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1993 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1994 the availability of writev in <sys/uio.h>.
1995 * configure.in: Call here.
1996 * acconfig.h: Add undef for the corresponding symbol.
1997 * aclocal.m4: Regenerate.
1998 * configure: Regenerate.
1999 * config.h.in: Regenerate.
2000 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
2002 * include/std/std_fstream.h (sync): Constify a variable.
2004 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
2006 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
2007 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2009 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
2011 * config/locale/gnu/c_locale.h (__convert_from_v): Include
2012 <cstring> and <cstdlib>. Qualify names.
2014 2003-07-13 Mark Mitchell <mark@codesourcery.com>
2016 * config/locale/generic/c_locale.h: Include <cstdlib> and
2018 * include/bits/boost_concept_check.h: Add this-> to unqualified
2020 * include/bits/deque.tcc: Likewise.
2021 * include/bits/locale_facets.h : Likewise.
2022 * include/bits/ostream.tcc: Likewise.
2023 * include/bits/stl_algo.h: Likewise.
2024 * include/bits/stl_bvector.h: Likewise.
2025 * include/bits/stl_deque.h: Likewise.
2026 * include/bits/stl_list.h: Likewise.
2027 * include/bits/stl_tree.h: Likewise.
2028 * include/bits/stl_vector.h: Likewise.
2029 * include/bits/vector.tcc: Likewise.
2030 * include/ext/rope: Likewise.
2031 * include/ext/ropeimpl.h: Likewise.
2032 * include/ext/stdio_filebuf.h: Likewise.
2034 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
2036 * include/bits/basic_ios.h (copyfmt): Document.
2037 * include/bits/ios_base.h (event, event_callback, register_callback,
2038 xalloc, iword, pword): Document.
2039 (imbue, ~ios_base): Update docs on callbacks.
2041 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
2043 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
2044 warning messages if the environment cannot support symbol versioning.
2045 (port_specific_symbol_file): It's plural, add an 's' on the end.
2046 * configure.host: Likewise.
2047 * src/Makefile.am: Likewise.
2048 * config/linker-map.gnu: Remove one semicolon, heh.
2049 * scripts/extract_symvers: Don't assume useful 'export' syntax.
2050 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
2051 * aclocal.m4, configure, src/Makefile.in: Regenerated.
2053 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
2055 * include/bits/locale_facets.tcc: Use function object for
2056 __use_cache instead of template function. Partially specialize for
2058 * include/bits/locale_classes.h: Update friend declaration for
2060 (_M_install_cache): No throw exception specs.
2061 * src/locale.cc: Remove __use_cache specializations.
2062 * include/ext/pod_char_traits.h (length): Tweak.
2063 * include/bits/locale_facets.h (__numpunct_cache): Remove
2065 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
2067 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
2068 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
2069 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
2070 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
2071 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
2072 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
2074 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
2076 * src/ios.cc (_M_grow_words): Fix spelling.
2078 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
2080 * include/bits/stl_tree.h: Move larger member functions in
2081 _Rb_tree_base_iterator and _Rb_tree_node to...
2082 * src/stl_tree.cc: Here.
2083 * src/Makefile.in: Add stl_tree.cc.
2084 * src/Makefile.in: Regenerated.
2085 * config/linker-map.gnu: Add symbols here.
2087 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
2089 * testsuite/ext/pod_char_traits.cc: New.
2090 * include/ext/pod_char_traits.h: New.
2091 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
2092 * include/Makefile.in: Regenerate.
2093 * docs/html/21_strings/howto.html: Update.
2095 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
2097 * testsuite/performance/list_create_fill_sort.cc: New.
2099 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
2101 * config/locale/generic/numeric_members.cc: Correct type info.
2102 * config/locale/gnu/numeric_members.cc: Same.
2103 * include/bits/locale_facets.h: Same.
2105 * include/bits/char_traits.h: Correct spacing.
2107 * src/locale.cc: Wrap to 80 col.
2109 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
2111 * include/std/std_complex.h: Partially revert last
2112 changes: cmath functions must not be qualified.
2114 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2116 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
2117 2.11 with globbing backport fix.
2118 * aclocal.m4, configure: Regenerated.
2120 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
2122 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
2123 if output is at all possible (!_M_reading), cannot be active.
2125 * include/std/std_fstream.h: Tweak comments to doxygen style.
2127 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
2129 * include/bits/locale_classes.h: Fully qualify standard
2130 functions with std::, thus avoiding Koenig lookup.
2131 * include/bits/locale_facets.tcc: Likewise.
2132 * src/locale.cc: Likewise.
2133 * src/localename.cc: Likewise.
2135 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2137 * include/bits/allocator_traits.h: Fix doxygen markup.
2138 * include/ext/mt_allocator.h: Likewise.
2140 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2142 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
2144 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2146 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
2147 requirement. Add port_specific_symbol_file variable.
2148 * configure.host: Add docs for port_specific_symbol_file.
2149 Clean up try_cpu block for x86.
2150 * config/linker-map.gnu: No more "last symbol can't have a
2151 semicolon" kaka. Add hook for port-specific symbols.
2152 * src/Makefile.am: Remove trailing whitespace.
2153 (libstdc++-symbol.ver): Detect the presence of port-specific
2154 symbols, and add them accordingly.
2156 * docs/html/17_intro/porting.texi: Bring up to date.
2158 * src/Makefile.in, aclocal.m4, configure,
2159 docs/html/17_intro/porting.html: Regenerated.
2161 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2163 * scripts/create_testsuite_files: New file.
2164 * testsuite/Makefile.am (all-local, check-performance): Use it.
2165 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
2166 * testsuite/Makefile.in: Regenerated.
2168 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
2170 * testsuite/performance/fstream_seek_write.cc: Likewise.
2171 * testsuite/performance/ofstream_insert_float.cc: Likewise.
2172 * testsuite/performance/ofstream_insert_int.cc: Likewise.
2173 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
2175 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
2177 * include/bits/stl_list.h: Performance and memory usage
2178 improvements. In particular, the behaviour of the constructor and
2179 destructor as the list header node is no longer dynamically
2180 allocated/de-allocated.
2181 * include/bits/list.tcc: Likewise.
2183 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
2185 * include/std/std_complex.h: Fully qualify standard
2186 functions with std::, thus avoiding Koenig lookup.
2187 * include/std/std_memory.h: Likewise.
2188 * include/std/std_valarray.h: Likewise.
2190 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
2192 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
2193 variable for grandparent and use const
2195 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
2197 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
2198 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
2199 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
2200 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
2201 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
2202 * testsuite/27_io/objects/char/7.cc: Ditto
2203 * testsuite/27_io/objects/char/9661-1.cc: Ditto
2205 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
2207 * include/std/std_bitset.h: Fully qualify standard
2208 functions with std::, thus avoiding Koenig lookup.
2210 * include/std/std_fstream.h: Change comment to doxygen style.
2212 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2214 * include/std/std_limits.h: More CPP->CXX changes.
2215 * scripts/check_survey.in: Likewise.
2217 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2219 Move from CPP to CXX.
2220 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
2221 * testsuite/Makefile.am: Same.
2222 * testsuite/Makefile.in: Regenerate.
2223 * po/Makefile.am: Same.
2224 * po/Makefile.in: Regenerate.
2225 * libsupc++/Makefile.am: Same.
2226 * libsupc++/Makefile.in: Regenerate.
2227 * libmath/Makefile.am: Same.
2228 * libmath/Makefile.in: Regenerate.
2229 * include/Makefile.am: Same.
2230 * include/Makefile.in: Regenerate.
2231 * src/Makefile.am: Same.
2232 * src/Makefile.in: Regenerate.
2234 * configure.host: Same.
2235 * configure.in: Same.
2236 * configure: Regenerate.
2237 * acinclude.m4: Same.
2239 * src: Change all files in this directory.
2241 * include: Same, standardize include guards.
2245 2003-07-04 Zack Weinberg <zack@codesourcery.com>
2247 * testsuite/22_locale/collate/compare/wchar_t/2.cc
2248 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
2249 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
2250 * testsuite/22_locale/collate/hash/wchar_t/2.cc
2251 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
2252 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
2253 * testsuite/22_locale/collate/transform/wchar_t/2.cc
2254 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
2255 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2256 XFAIL on all targets.
2258 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2260 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
2261 * aclocal.m4: Regenerate.
2262 * configure: Regenerate.
2264 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
2266 * include/bits/locale_facets.tcc (__int_to_char): Move common case
2269 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2270 Petur Runolfsson <peturr02@ru.is>
2272 * config/io/basic_file_stdio.cc: Revert.
2274 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2276 * include/bits/deque.tcc: Fully qualify standard
2277 functions with std::, thus avoiding Koenig lookup.
2278 * include/bits/gslice_array.h: Likewise.
2279 * include/bits/indirect_array.h: Likewise.
2280 * include/bits/list.tcc: Likewise.
2281 * include/bits/mask_array.h: Likewise.
2282 * include/bits/slice_array.h: Likewise.
2284 2003-07-04 Gawain Bolton <gbolton@free.fr>
2286 * include/bits/stl_tree.h: Performance and memory usage
2289 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2291 * Makefile.am: Replace PWD with PWD_COMMAND.
2292 * Makefile.in: Regenerated.
2293 * docs/html/Makefile: Likewise.
2295 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2297 * include/bits/valarray_array.h: Fully qualify standard
2298 functions with std::, thus avoiding Koenig lookup.
2299 * include/bits/vector.tcc: Likewise.
2301 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2303 * include/Makefile.am: Update target_ to host_.
2304 * include/Makefile.in: Regenerate.
2305 * src/Makefile.am: Same.
2306 * src/Makefile.in: Regenerate.
2308 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
2310 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2312 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
2313 --enable-libstdcxx-debug-flags.
2314 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
2315 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
2316 * aclocal.m4: Regenerate.
2318 * docs/html/configopts.html: Update.
2320 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2322 Revert the fix for libstdc++/11378.
2324 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2327 * include/std/std_fstream.h (xsputn): In the unbuffered case,
2328 provided always_noconv(), issue directly _M_file.xsputn.
2329 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
2331 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2333 * include/bits/stl_list.h: Fully qualify standard
2334 functions with std::, thus avoiding Koenig lookup.
2335 * include/bits/stl_queue.h: Likewise.
2336 * include/bits/stl_raw_storage_iter.h: Likewise.
2337 * include/bits/stl_tempbuf.h: Likewise.
2338 * include/bits/stl_tree.h: Likewise.
2339 * include/bits/stl_uninitialized.h: Likewise.
2340 * include/bits/stl_vector.h: Likewise.
2341 * include/ext/rope: Change includes order.
2343 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2345 * configure.host (fpos_include_dir): Fix.
2347 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2349 * include/bits/stl_heap.h: Fully qualify standard
2350 functions with std::, thus avoiding Koenig lookup.
2351 * include/bits/stl_iterator_base_funcs.h: Likewise.
2353 * include/bits/stl_algo.h: Qualify __iterator_category too.
2354 * include/bits/stl_algobase.h: Likewise.
2355 * include/bits/stl_bvector.h: Likewise.
2357 * include/bits/stl_algo.h: Don't qualify the pair type.
2359 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
2361 * include/Makefile.am (target_headers): Add fpos.h
2362 (bits_headers): Remove.
2363 * include/Makefile.in: Regenerate.
2364 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
2365 * configure: Regenerate.
2366 * configure.host: Add fpos_include_dir.
2367 * config/os/gnu-linux/fpos.h: New.
2368 * config/os/generic/fpos.h: Add.
2369 * include/bits/fpos.h: Remove.
2371 * config/io/c_io_stdio.h: Remove fpos_t typedef.
2373 * include/bits/fstream.tcc: Tweaks.
2374 * include/std/std_fstream.h: Same.
2376 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
2377 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
2378 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
2379 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
2380 * testsuite/27_io/fpos/1.cc: New.
2382 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
2383 Petur Runolfsson <peturr02@ru.is>
2385 * include/std/std_streambuf.h: Remove _M_pos.
2386 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
2387 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
2388 use fread/fwrite instead of read/write.
2389 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
2390 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
2391 before reading again.
2392 * testsuite/27_io/objects/char/6.cc: Tweak.
2394 2003-07-03 David Edelsohn <edelsohn@gnu.org>
2396 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
2397 _GLIBCPP_USE_WCHAR_T.
2399 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2401 * include/bits/basic_string.tcc (_M_replace_aux): Constify
2404 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2406 * include/bits/stl_bvector.h: Fully qualify standard
2407 functions with std::, thus avoiding Koenig lookup.
2408 * include/bits/stl_construct.h: Likewise.
2409 * include/bits/stl_deque.h: Likewise.
2411 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2413 * testsuite/22_locale/num_put/put/char/7.cc: Include
2414 <testsuite_hooks.h>, tweak.
2415 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
2417 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
2419 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
2420 check* targets, but not libs/programs).
2421 * testsuite/Makefile.in: Regenerate.
2423 2003-07-01 Roger Sayle <roger@eyesopen.com>
2425 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
2426 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
2427 * aclocal.m4: Regenerate.
2428 * configure: Regenerate.
2430 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
2432 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
2433 * aclocal.m4: Regenerated.
2434 * configure: Regenerated.
2436 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
2439 * include/bits/fstream.tcc (underflow): For encoding() == 0
2440 don't read more than __buflen chars.
2441 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
2442 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
2443 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
2444 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
2446 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
2448 * 22_locale/num_put/put/char/7.cc: New.
2449 * 22_locale/num_put/put/wchar_t/7.cc: New.
2451 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2453 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
2454 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
2456 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2458 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
2459 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
2460 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
2461 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
2462 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
2463 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
2464 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
2465 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
2466 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
2467 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
2468 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
2469 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
2470 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
2471 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
2472 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
2473 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
2474 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
2475 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
2476 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
2477 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
2478 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
2479 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
2480 * data/seekoff-1.tst: Remove.
2481 * data/seekoff-1io.tst: New.
2482 * data/seekoff-1out.tst: New.
2483 * data/seekoff-2.tst: Remove.
2484 * data/seekoff-2io.tst: New.
2485 * data/seekoff-2out.tst: New.
2487 * data/seekpos-1.tst: Remove.
2488 * data/seekpos-1io.tst: New.
2489 * data/seekpos-1out.tst: New.
2490 * data/seekpos-2.tst: Remove.
2491 * data/seekpos-2io.tst: New.
2492 * data/seekpos-2out.tst: New.
2493 * data/seekpos.txt: New.
2495 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2497 * src/locale.cc (__use_cache<numpunct>): Move from here ...
2498 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
2501 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2503 * include/bits/stl_algobase.h: Fully qualify standard
2504 functions with std::, thus avoiding Koenig lookup.
2506 2003-06-30 Doug Gregor <dgregor@apple.com>
2508 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
2509 subscripting empty string.
2511 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2513 * testsuite/Makefile.am (check-am): Do not override.
2514 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
2515 * testsuite/Makefile.in: Regenerate.
2517 2003-06-30 Doug Gregor <dgregor@apple.com>
2519 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
2520 Don't initialize an insert_iterator with a singular iterator.
2522 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2524 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
2525 * aclocal.m4: Regenerate.
2526 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
2527 GLIBCPP_ENABLE_PCH, default to yes.
2528 * configure: Regenerate.
2529 * docs/html/configopts.html: Add --enable-pch.
2531 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2533 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
2534 (libstdc++-v3-init): Also set LD_RUN_PATH.
2536 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2538 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
2539 from here to filebuf and stringbuf.
2540 (~basic_streambuf()): Don't set _M_mode.
2541 (basic_streambuf()): Don't set _M_mode.
2542 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
2543 (~basic_filebuf()): Clean up.
2544 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
2545 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
2546 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
2547 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2548 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2549 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2550 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2552 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2554 * include/std/std_fstream.h (_M_underflow): Remove.
2555 (uflow): Remove, inherited from streambuf.
2556 (underflow): Only declare.
2557 * include/bits/fstream.tcc (_M_underflow): Rename to
2558 underflow, to which is equivalent for __bump == false,
2560 * include/std/std_sstream.h (_M_underflow): Remove.
2561 (uflow): Remove, inherited from streambuf.
2562 (underflow): Only declare.
2563 * include/bits/sstream.tcc (_M_underflow): Rename to
2564 underflow, to which is equivalent for __bump == false,
2567 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2569 * include/bits/stl_algo.h: Fully qualify standard functions
2570 with std::, thus avoiding Koenig lookup.
2572 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2574 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
2575 Improve type correctness-wise.
2576 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
2578 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
2580 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
2583 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2585 * include/std/std_streambuf.h (uflow): According to
2586 27.5.2.4.3,p16, don't check gptr() < egptr().
2588 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
2591 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
2592 (seekpos): Likewise.
2593 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
2595 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
2598 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
2600 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
2601 output name to libstdc++-v3-performance.sum.
2602 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
2603 * testsuite/Makefile.in: Regenerate.
2605 2003-06-27 Matthias Klose <doko@debian.org>
2607 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
2608 output of abi-check in libstdc++-v3-abi.sum.
2609 * testsuite/Makefile.in: Regenerate.
2611 2003-06-27 Krister Walfridsson <cato@df.lth.se>
2613 * config/os/bsd/netbsd/ctype_noninline.h
2614 (_C_ctype_): Declare.
2615 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2616 (ctype<char>::ctype): Use classic_table.
2618 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2619 Nathan C. Myers <ncm-nospam@cantrip.org>
2622 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2623 the worst-case number of external bytes for a given get area.
2624 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2626 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2627 Petur Runolfsson <peturr02@ru.is>
2630 * include/bits/fstream.tcc (overflow): Properly estimate the
2631 worst-case number of external bytes for a given put area
2632 (by using codecvt::max_length()).
2633 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2634 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2635 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2636 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2638 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2640 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2642 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2644 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2645 to the imbued locale.
2646 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2648 (num_put::_M_convert_float): Use.
2650 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2651 Jerry Quinn <jlquinn@optonline.net>
2653 * config/linker-map.gnu: Add __numpunct_cache.
2654 * config/locale/gnu/numeric_members.cc
2655 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2656 all elements for "C" locale.
2657 (numpunct::~numpunct): Delete _M_data.
2658 * config/locale/generic/numeric_members.cc: Same.
2659 * include/bits/basic_ios.tcc
2660 (basic_ios::init): Remove __locale_cache bits.
2661 (basic_ios::_M_cache_locale): Same.
2662 * include/bits/ios_base.h: Same. Tweaks.
2663 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2664 (__use_cache): Make friends with _Impl, locale.
2665 (_Impl::_M_caches): Add.
2666 (_Impl::_M_install_cache): Add.
2667 * include/bits/locale_facets.h (__numpunct_cache): New.
2668 (numpunct): Encapsulate data members in __numpunct_cache member,
2669 _M_data. Adjust virtuals.
2670 (numpunct::numpunct): New ctor for the same.
2671 (__locale_cache_base): Remove.
2672 (__locale_cache): Remove.
2673 * include/bits/locale_facets.tcc (__use_cache): New function,
2675 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2676 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2677 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2678 * src/locale-inst.cc: Same. Add __numpunct_cache.
2679 * src/locale.cc: Tweak inlines.
2680 (__use_cache): Define specializations.
2681 * src/localename.cc: Use global bits.
2682 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2683 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2684 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2685 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2686 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2688 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2689 Paolo Carlini <pcarlini@unitus.it>
2691 * testsuite/performance/filebuf_copy.cc: New, testing char
2694 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2695 Nathan C. Myers <ncm-nospam@cantrip.org>
2697 * include/bits/fstream.tcc (_M_underflow): When the actual
2698 end of file is reached, set 'uncommitted' mode to allow a
2699 next write without an intervening seek (see C++98 27.8.1.1,2
2701 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2703 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2705 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2706 sputc): Move inline, from here...
2707 * include/std/std_streambuf.h: ... to here.
2709 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2710 sputbackc, sungetc, sputc): Use __builtin_expect.
2712 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2714 * docs/doxygen/mainpage.html: Use a useful title.
2716 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2718 * docs/html/documentation.html: Remove assignment info.
2719 * docs/html/17_intro/contribute.html: Edits.
2720 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2722 * docs/html/test.html: Update.
2726 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2727 Ulrich Drepper <drepper@redhat.com>
2729 * testsuite/testsuite_performance.h: Tweak mallinfo.
2731 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2732 Nathan C. Myers <ncm-nospam@cantrip.org>
2734 * include/std/std_fstream.h (_M_filepos): Remove.
2735 (_M_reading, _M_writing): New, encode the various I/O modes:
2736 'read', 'write' and 'uncommitted'.
2737 (sync): If there is something to flush, do it, then go to
2739 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2740 with three different cases: __off > 0 (upon underflow),
2741 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2743 (_M_underflow): Don't call overflow, set _M_reading to true
2745 (pbackfail): Set _M_reading to true on pback creation, tweak.
2746 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2747 set _M_writing to true on success, tweak.
2748 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2749 _M_set_buffer(-1) ('uncommitted').
2750 (open, close, setbuf): Set _M_reading, _M_writing to false and
2751 call _M_set_buffer(-1), tweak.
2752 (basic_filebuf): Don't set _M_buf_unified.
2753 (_M_destroy_internal_buffer): Don't call setg and setp.
2754 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2755 _M_writing and _M_set_buffer(-1).
2756 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2757 _M_out_lim, _M_buf_unified): Remove.
2758 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2759 (setp): Don't set _M_out_lim.
2760 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2761 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2762 upon open the mode is 'uncommitted' and therefore the put area
2764 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2765 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2766 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2767 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2768 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2769 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2770 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2771 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2772 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2773 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2774 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2775 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2776 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2777 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2778 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2779 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2780 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2781 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2782 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2783 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2785 * include/bits/fstream.tcc (showmanyc): Use only the
2786 documented derivation interface to basic_streambuf (gptr(),
2787 setg(), etc.) to work right with user specializations.
2788 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2789 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2790 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2792 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2795 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2797 * configure.host (freebsd*): Set abi_baseline_pair.
2798 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2799 (at or near first release) to 3.3.
2800 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2801 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2802 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2804 * include/ext/mt_allocator.h: Portability.
2805 * testsuite/testsuite_performance.h: Likewise.
2807 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2809 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2811 * testsuite/performance/ifstream_getline.cc: Fix.
2813 2003-06-23 Doug Gregor <dgregor@apple.com>
2815 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2818 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2819 Nathan C. Myers <ncm-nospam@cantrip.org>
2821 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2822 is now used only for filebuf, when _M_buf_unified is true.
2823 epgtr() plays the role of _M_out_lim but it's only updated
2824 upon overflow, underflow, uflow, seekoff/pos.
2825 * include/bits/sstream.tcc (_M_underflow): New, implements
2826 stringbuf::underflow and uflow.
2827 (seekoff, seekpos): Tweak, use _M_update_egptr.
2828 * include/std/std_sstream.h (str): Rewrote, deal correctly
2829 with the new logic, in particular, when pptr() > egptr().
2830 (_M_sync): When __testout && !__testin set all the get area
2831 pointers to the current string end.
2832 (_M_update_egptr): New, internal function updating egptr()
2833 to the actual string end.
2834 (_M_underflow): New, declare.
2835 (underflow): Dispatch to _M_underflow(false).
2836 (uflow): Dispatch to _M_underflow(true).
2838 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2839 seekpos): Use only the documented derivation interface to
2840 basic_streambuf (gptr(), setg(), etc.) to work right with
2841 user specializations.
2842 * include/std/std_sstream.h (str, _M_sync): Likewise.
2844 2003-06-20 Doug Gregor <dgregor@apple.com>
2846 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2847 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2848 dereference end iterator.
2849 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2850 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2851 index equal to the length of a string.
2852 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2853 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2854 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2855 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2856 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2857 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2858 singular reverse iterator.
2859 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2861 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2863 2003-06-20 Doug Gregor <dgregor@apple.com>
2865 * include/bits/basic_string.h (basic_string::replace): Dispatch
2866 _InputIterator version based on _Is_integer.
2867 * include/bits/basic_string.tcc (basic_string::replace):
2868 Renamed replace(iterator, iterator, size_type, _CharT) to
2870 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2871 Test basic_string::assign(_InputIterator, _InputIterator),
2872 which calls basic_string::replace(iterator, iterator,
2873 _Input_iterator, _InputIterator).
2875 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2877 * testsuite/testsuite_performance.h (resource_counter): Don't use
2878 mallinfo at the moment.
2880 2003-06-20 Matthias Klose <doko@debian.org>
2882 * configure.host: Set try_cpu to target_cpu for existing
2885 2003-06-19 Andreas Jaeger <aj@suse.de>
2887 * testsuite/Makefile.am (extract_symvers): Revert accidental
2889 * testsuite/Makefile.in: Regenerate.
2891 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2892 * configure: Regenerated.
2894 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2896 * include/std/std_sstream.h (_M_sync): Make non virtual.
2898 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2900 * testsuite/testsuite_performance.h (time_counter): New.
2901 (resource_counter): New.
2902 (report_performance): New.
2903 (start_counters): New.
2904 (stop_counters): New.
2905 (clear_counters): New.
2906 * testsuite/performance/allocator.cc: Instrument.
2907 * testsuite/performance/cout_insert_int.cc: Same.
2908 * testsuite/performance/complex_norm.cc: Same.
2909 * testsuite/performance/filebuf_sputc.cc: New.
2910 * testsuite/performance/fstream_seek_write.cc: Same.
2911 * testsuite/performance/ifstream_getline.cc: Same.
2912 * testsuite/performance/map_create_fill.cc: Same.
2913 * testsuite/performance/ofstream_insert_float.cc: Same.
2914 * testsuite/performance/ofstream_insert_int.cc: Same.
2915 * testsuite/performance/string_append.cc: Convert.
2916 * scripts/check_performance: New.
2917 * testsuite/Makefile.am (check-performance): New.
2920 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2921 Benjamin Kosnik <bkoz@redhat.com>
2923 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2924 * include/bits/fstream.tcc (setbuf): Tweak.
2926 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2928 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2929 _M_out_lim, therefore _M_move_out_cur boils down to simply
2930 updating _M_out_cur.
2931 (seekpos): Likewise, clean up.
2933 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2934 Paolo Carlini <pcarlini@unitus.it>
2936 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2937 simply equivalent to the unbuffered case (0, 0) as far as
2938 _M_buf_size is concerned.
2940 2003-06-18 Andreas Jaeger <aj@suse.de>
2942 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2944 (baseline_file): Use baseline_dir.
2945 (baseline_dir): New.
2946 (mkinstalldirs): New.
2948 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2949 filename from baseline_dir.
2951 * testsuite/Makefile.in: Regenerated.
2952 * Makefile.in: Regenerated.
2953 * aclocal.m4: Regenerated.
2954 * configure: Regenerated.
2956 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2958 * configure.in: Missed check_survey bit.
2959 * configure: Regenerated.
2961 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2964 * config/abi/extract_symvers: Move to...
2965 * scripts/extract_symvers: ...here.
2966 * mkcheck.in: Move to..
2967 * scripts/check_survey.in: ...here.
2968 * testsuite_flags.in: Move to..
2969 * scripts/testsuite_flags.in: ...here.
2970 * configure.in: Change check and testsuite_flags locations.
2971 * configure: Regenerate.
2972 * testsuite/Makefile.am (current_symbols.txt): Change location.
2973 * testsuite/Makefile.in: Regenerate.
2974 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2975 location of testsuite_flags.
2976 * Makefile.am (check-script): Move..
2977 (check-script-install): Move...
2978 * testsuite/Makefile.am: ... here.
2979 * testsuite/Makefile.in: Regenerate.
2980 * Makefile.in: Regenerate.
2982 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2984 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2986 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2988 * Makefile.am (check-abi): Move...
2989 (new-abi-baseline): Move...
2990 * testsuite/Makefile.am: ...here.
2991 (new-abi-baseline): Conditionalize.
2992 (check-abi): Conditionalize.
2993 (check-abi-verbose): New.
2994 * Makefile.in: Regenerate.
2995 * testsuite/Makefile.in: Regenerate.
2996 * configure.in: Consolidate testsuite configure bits.
2997 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2998 * configure: Regenerate.
2999 * aclocal.m4: Regenerate.
3000 * testsuite/abi_check.cc: Add --check-verbose.
3001 Only output detailed information if --check-verbose.
3003 2003-06-16 Andreas Jaeger <aj@suse.de>
3005 * testsuite/abi_check.cc: Create summary report.
3007 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
3009 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
3010 for systems with BUFSIZ != 8192.
3011 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
3012 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
3015 2003-06-16 Andreas Jaeger <aj@suse.de>
3017 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
3018 check-abi multilib aware.
3019 * aclocal.m4: Regenerate.
3020 * configure: Regenerate.
3022 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
3023 Andreas Jaeger <aj@suse.de>
3025 * configure.host: Set x86_64 abi_baseline pair correctly.
3027 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
3029 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
3030 fix for missing seeks between gets and puts into...
3031 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
3032 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
3033 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
3034 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
3035 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
3036 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
3038 2003-06-15 Richard Henderson <rth@redhat.com>
3040 * config/linker-map.gnu: Export virtual function thunks for
3043 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
3045 * config/abi/i686-pc-linux-gnu: To..
3046 * config/abi/i486-linux-gnu: ...this.
3047 * config/abi/alphaev67-unknown-linux-gnu: To..
3048 * config/abi/alpha-linux-gnu: ...this.
3049 * config/abi/ia64-unknown-linux-gnu: To...
3050 * config/abi/ia64-linux-gnu: ...this.
3051 * config/abi/x86_64-unknown-linux-gnu: To...
3052 * config/abi/x86_64-linux-gnu: ...this.
3053 * config/abi/i386-unknown-freebsd4: To...
3054 * config/abi/i386-freebsd4: ...this.
3055 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
3057 * configure.host: abi_baseline_triplet to abi_baseline_pair.
3058 Simplify cpu bits so that abi_baseline_pair can use the same
3060 * acinclude.m4: Same.
3061 * aclocal.m4: Regenerate.
3062 * configure.in: Can't get enable_abi_check to yes unless native.
3063 * configure: Regenerate.
3065 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
3067 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
3068 fix for missing seeks between gets and puts into...
3069 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
3070 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
3071 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
3072 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
3073 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
3074 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
3075 for missing seeks between gets and puts.
3076 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
3077 * testsuite/data/seekoff-1.tst: New.
3078 * testsuite/data/seekoff-2.tst: New.
3079 * testsuite/data/seekpos-1.tst: New.
3080 * testsuite/data/seekpos-2.tst: New.
3082 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
3084 Avoid multi-processor bus contention on increment/decrement-and-
3085 test of the reference count in the empty-string object, by comparing
3086 addresses first, and never touching the reference count of the empty-
3088 * include/bits/basic_string.h:
3089 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
3091 (_Rep::_S_empty_rep()): New accessor.
3092 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
3093 a base class _Rep_base.
3094 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
3095 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
3096 since no longer must increment its refcount.
3097 * include/bits/basic_string.tcc:
3098 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
3099 return immediately. The former might be unnecessary. The latter
3100 prevents begin() and end() from cloning it unnecessarily.
3101 (_S_construct(_InIterator, _InIterator, const _Alloc&,
3102 input_iterator_tag), _S_construct(_InIterator, _InIterator,
3103 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
3104 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
3105 (_M_mutate): Check for the empty string and treat it as shared.
3106 This is necessary here because _M_mutate is sometimes called with
3107 all-zero arguments; in all other uses of _M_is_shared, the test comes
3110 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
3112 * src/allocator-inst.cc: Explicitly instantiate.
3113 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
3115 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
3117 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
3119 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
3120 * aclocal.m4: Regenerate.
3121 * Makefile.am (SUBDIRS): Remove libio.
3122 * Makefile.in: Regenerate.
3123 * configure.in: Same.
3124 * configure: Regenerate.
3125 * config/io/basic_file_libio.cc: Remove.
3126 * config/io/basic_file_libio.h: Remove.
3127 * config/io/c_io_libio_codecvt.c: Remove.
3128 * config/io/c_io_libio.h: Remove.
3130 * src/Makefile.am: Same.
3131 * src/Makefile.in: Regenerate.
3132 * docs/html/configopts.html: Edits.
3133 * docs/html/explanations.html: Edits.
3135 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
3137 * include/bits/stl_alloc.h (__debug_alloc): Move out.
3138 (__malloc_alloc): Same.
3139 (__pool_alloc): Same.
3140 (__new_alloc): Same.
3142 * include/bits/allocator.h: ...this.
3143 * include/bits/stl_deque.h: Modify comment.
3144 * include/bits/stl_tree.h: Modify include.
3145 * include/std/std_memory.h: Same.
3146 * include/ext/rope: Same.
3147 * include/ext/slist: Same.
3148 * include/std/std_vector.h: Same.
3149 * include/std/std_stack.h: Same.
3150 * include/std/std_queue.h: Same.
3151 * include/std/std_list.h: Same.
3152 * include/std/std_deque.h: Same.
3153 * include/backward/alloc.h: Same.
3154 * include/ext/debug_allocator.h: New.
3155 * include/ext/malloc_allocator.h: New.
3156 * include/ext/pool_allocator.h: New.
3157 * include/ext/new_allocator.h: New.
3158 * include/bits/pthread_allocimpl.h: Remove.
3159 * include/bits/stl_pthread_alloc.h: Remove.
3160 * include/Makefile.am (ext_headers): Add.
3161 * include/Makefile.in: Regenerate.
3162 * src/stl-inst.cc: Use __gnu_cxx namespace.
3163 * src/stl-inst.cc: Move to...
3164 * src/allocator-inst.cc: Here.
3165 * src/Makefile.am (sources): Update.
3166 * src/Makefile.in: Regenerate.
3167 * config/linker-map.gnu: Remove __pool_alloc bits.
3168 * testsuite/ext/headers.cc: Add.
3169 * testsuite/ext/allocators.cc: Fixup.
3171 2003-06-11 Stefan Olsson <stefan@snon.net>
3172 Ola Rönnerup <fnolis@home.se>
3174 * include/Makefile.am (ext_headers): Add.
3175 * include/Makefile.in: Regenerate.
3176 * include/ext/mt_allocator.h: New file.
3178 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3180 * include/bits/fstream.tcc (close): Clean up a bit.
3182 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
3184 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
3185 - the saved _M_in_cur, that is - cannot be null.
3186 (sync): Constify a variable.
3188 * include/std/std_streambuf.h: Tweak a comment.
3189 (in_avail): Constify a variable.
3191 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
3193 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
3194 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
3195 correctness of container::iterator typedefs. Fix whitespace.
3196 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
3198 * docs/html/documentation.html: Regenerate.
3200 * include/bits/basic_string.h, include/bits/basic_string.tcc,
3201 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
3202 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
3203 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
3204 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
3205 include/bits/stl_vector.h, include/bits/vector.tcc,
3206 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
3207 Change _Iter names to _Iterator, and __pos to __position.
3209 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
3210 include/bits/stl_multiset.h, include/bits/stl_set.h:
3211 Remove emacs markers.
3213 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
3215 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3217 * include/bits/fstream.tcc (overflow): According to
3218 27.5.2.4.5, overflow() returns not_eof(eof()).
3219 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
3220 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
3222 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3224 * include/bits/fstream.tcc (_M_underflow): Check overflow return
3225 value; tweak slightly.
3227 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
3229 * include/bits/fstream.tcc (_M_underflow): Do not special
3230 case the unbuffered case, which really means simply a one char
3232 (basic_filebuf): Initialize _M_buf_size.
3233 (setbuf): Unbuffered means _M_buf_size == 1, since only
3234 _M_buf_size - 1 == 0 chars are going to be used for the
3235 put area and 1 for the get area.
3236 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
3237 (~basic_streambuf): Tweak.
3238 (basic_streambuf): Do not initialize _M_buf_size.
3239 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
3240 (~basic_filebuf): Tweak.
3241 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
3242 unbuffered situation (i.e., put area pointers NULL).
3243 * include/bits/streambuf.tcc (sbumpc): Clean up.
3244 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
3245 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
3246 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
3247 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
3248 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
3249 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
3250 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
3252 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
3254 * acinclude.m4: Move all AM_CONDITIONAL calls out.
3255 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
3257 * configure.in: Centralize AM_CONDITIONALs so that they are always
3258 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
3259 * aclocal.m4, configure: Regenerated.
3261 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
3263 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
3265 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
3267 * include/bits/stl_iterator.h
3268 (reverse_iterator::reverse_iterator()): Apply DR235: default
3269 constructor default-initializes data member. Instantiated on a
3270 pointer type, the member has to end up equal to zero.
3272 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
3274 * include/bits/stl_alloc.h: Cleanups.
3275 * include/ext/functional: Same.
3276 * include/ext/hash_map: Same.
3277 * include/ext/hash_set: Same.
3278 * include/ext/iterator: Same.
3279 * include/ext/memory: Same.
3280 * include/ext/numeric: Same.
3281 * include/ext/rb_tree: Same.
3282 * include/ext/ropeimpl.h: Same.
3283 * include/ext/slist: Same.
3284 * include/ext/stdio_filebuf.h: Same.
3285 * include/ext/stdio_sync_filebuf.h: Same.
3286 * include/ext/stl_rope.h: Move to...
3287 * include/ext/rope: ...here.
3288 * include/ext/stl_hash_fun.h: Move to...
3289 * include/ext/hash_fun.h: ...here.
3290 * include/ext/stl_hashtable.h: Move to...
3291 * include/ext/hashtable.h: ...here.
3292 * include/backward/hashtable.h: Reflect new names.
3293 * include/Makefile.am: Same.
3294 * include/Makefile.in: Regenerated.
3296 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
3299 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
3300 * include/bits/stl_algobase.h: Tweak.
3301 * include/std/std_fstream.h: Move _M_buf_size to...
3302 * include/std/std_streambuf.h: ...here. Modify.
3303 * include/bits/streambuf.tcc: Same.
3304 * testsuite/testsuite_hooks.h: Tweak.
3305 * testsuite/testsuite_io.h (constraint_filebuf): New.
3306 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
3307 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
3308 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
3309 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
3310 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
3311 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
3312 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
3313 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
3314 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
3315 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
3316 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
3317 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
3318 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
3319 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
3320 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
3321 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
3322 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
3323 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
3324 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
3325 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
3326 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
3327 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
3328 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
3329 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
3330 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
3331 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
3332 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
3333 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
3334 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
3335 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
3336 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
3337 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
3338 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
3339 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
3340 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
3341 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
3342 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
3343 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
3344 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
3345 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
3346 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
3347 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
3348 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
3349 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
3350 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
3351 * testsuite/data/sgetc.txt: New.
3352 * testsuite/data/sgetn.txt: New.
3354 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
3357 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
3358 Deal with width() smaller than zero.
3359 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
3360 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
3361 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
3362 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
3363 operator<<(basic_ostream, const basic_string&)): Likewise.
3365 * testsuite/27_io/basic_istream/extractors_character/char/
3366 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
3367 * testsuite/27_io/basic_ostream/inserters_character/char/
3368 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
3369 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
3370 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
3372 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3374 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
3375 .gch compilation works.
3376 * aclocal.m4, configure: Regenerate.
3377 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
3378 initialize PCHFLAGS.
3380 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
3382 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
3383 erase(iterator), erase(iterator, iterator), c_str,
3384 compare(const basic_string&)): Constify various variables.
3385 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
3386 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
3387 _S_create, resize, _M_replace, _M_replace_safe,
3388 append(const basic_string&), append(const basic_string&, size_type,
3389 size_type), append(const _CharT*, size_type), append(size_type,
3390 _CharT), operator+(const _CharT*, const basic_string&),
3391 operator+(_CharT, const basic_string&), replace(iterator, iterator,
3392 size_type, _CharT), find(const _CharT*, size_type, size_type),
3393 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
3394 rfind(_CharT, size_type), compare(size_type, size_type,
3395 const basic_string&), compare(size_type, size_type,
3396 const basic_string&, size_type, size_type), compare(const _CharT*),
3397 compare(size_type, size_type, const _CharT*), compare(size_type,
3398 size_type, const _CharT*, size_type)): Likewise.
3400 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
3402 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
3403 'if' branch less obscure.
3405 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
3408 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
3410 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
3411 (__atomic_add): likewise.
3413 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3415 * include/bits/sstream.tcc (pbackfail): Minor clean up and
3416 reformatting, consistent with basic_filebuf::pbackfail.
3418 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
3421 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
3422 __attribute__ ((__unused__)).
3423 * config/os/aix/atomicity.h: Likewise.
3425 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3428 * include/bits/fstream.tcc (pbackfail): If the pback buffer
3429 is already active don't try to store in it a second char.
3430 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
3432 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
3434 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3436 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
3439 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3441 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
3442 instead of unnecessarily taking the address of _M_pback.
3443 (xsgetn): Simplify slightly for a single char pback buffer.
3445 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3447 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
3448 variables and two 'if', clean up.
3450 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3452 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
3453 not _M_out_end, since the former actually points to the string
3454 end (vs buffer end).
3455 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
3457 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
3459 * docs/doxygen/filter: New file.
3460 * docs/doxygen/filter.sed: New file.
3461 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
3462 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
3463 * docs/html/documentation.html: Fix links to doxygen pages.
3465 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
3467 * include/bits/fstream.tcc (_M_convert_to_external): Don't
3468 check for __ilen > 0.
3470 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
3473 * include/bits/stl_iterator.h (class __normal_iterator):
3474 Don't inherit from iterator, add missing typedefs.
3476 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
3478 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
3479 * testsuite/24_iterators/reverse_iterator/1.cc: New.
3480 * testsuite/24_iterators/reverse_iterator/2.cc: New.
3481 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
3484 2003-05-27 Steve Ellcey <sje@cup.hp.com>
3486 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
3488 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
3489 _LIBUNWIND_STD_ABI is set.
3491 2003-05-26 Brendan Kehoe <brendan@zen.org>
3493 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
3494 make sure the number of digits required after the decimal-point
3495 (if any) is exactly the value returned by frac_digits().
3496 * testsuite/22_locale/money_get/get/char/9.cc: New.
3497 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
3499 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
3501 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
3504 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
3507 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
3508 (_M_pback): No array necessary.
3509 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
3510 unbuffered case, coalesec into ...
3511 (basic_filebuf::overflow): ...this.
3512 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
3513 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
3515 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
3517 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
3518 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
3519 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
3520 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
3521 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
3522 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
3523 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
3524 libsupc++/eh_unex_handler.cc, libsupc++/exception,
3525 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
3526 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
3527 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
3528 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
3529 Replace "GNU CC" with "GCC".
3531 * include/backward/new.h: Replace "GNU CC" with "GCC".
3533 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3536 * configure.in: Switch target to host, don't assume newlib.
3537 (target_alias): Remove.
3538 * configure: Regenerate.
3539 * acinclude.m4: Same.
3540 * aclocal.m4: Regenerate.
3541 * configure.target: Same. Rename to...
3542 * configure.host: This.
3544 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3546 * include/std/std_fstream.h (_S_pback_size): Remove definition.
3547 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
3549 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
3550 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
3551 of _S_pback_size for systems with no COMDAT or weak support.
3552 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
3553 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
3554 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
3555 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3556 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3557 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
3558 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
3559 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
3560 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
3562 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3564 * include/bits/fstream.tcc (_M_underflow): Simplify:
3565 !__testout implies _M_filepos == _M_in_end, therefore
3566 the first _M_file.seekoff call is never issued.
3568 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3570 * configure.in: Sort cross table.
3571 * configure: Regenerate.
3573 2003-05-22 Brad Spencer <spencer@infointeractive.com>
3576 * configure.in: Add Solaris cross bits.
3578 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3580 * libstdc++-v3/config/os/mingw32/os_defines.h
3581 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
3582 (NOMINMAX): Define. Update copyright year.
3584 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
3586 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
3588 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3590 * docs/html/faq/index.html: Fix typo.
3591 * docs/html/faq/index.txt: Regenerate.
3593 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3595 * docs/html/test.html: Fix markup.
3597 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3599 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
3601 Update copyright year.
3603 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3605 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
3607 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3609 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
3610 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
3612 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3614 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
3615 Cast via void* to avoid -Wcast-align warnings.
3616 (__default_alloc_template::_S_refill): Likewise.
3618 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
3620 * testsuite/README: Move to...
3621 * docs/html/test.html: ...here. Add documentation.
3622 * docs/html/install.html: Move testing bits out..
3623 * docs/html/documentation.html: Add separate testing link.
3624 * testsuite/performance: Add.
3625 * testsuite/performance/allocator.cc: New.
3626 * testsuite/performance/complex_norm.cc: New.
3627 * testsuite/performance/cout_insert_int.cc: New.
3628 * testsuite/performance/fstream_seek_write.cc: New.
3629 * testsuite/performance/ifstream_getline.cc: New.
3630 * testsuite/performance/map_create_fill.cc: New.
3631 * testsuite/performance/ofstream_insert_float.cc: New.
3632 * testsuite/performance/ofstream_insert_int.cc: New.
3633 * testsuite/performance/string_append.cc: New.
3634 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
3637 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
3640 * include/std/std_complex.h (pow): Tidy.
3642 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
3644 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
3645 that upon filebuf::close() 27.8.1.1,3 is enforced.
3647 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
3649 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3651 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3652 Nathan Myers <ncm@cantrip.org>
3654 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3655 _M_convert_to_external only once (_M_buf_size is now the size of
3656 the put area + 1 for the overflow char of a full area); call
3657 _M_set_buffer instead of _M_set_indeterminate.
3658 (setbuf): Don't accept a buffer smaller than 2 chars.
3659 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3660 instead of _M_set_determinate.
3661 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3662 (seekoff): Likewise.
3663 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3664 std::ios_base::openmode, bool, size_t),
3665 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3667 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3668 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3670 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3671 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3672 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3673 the put area is now BUFSIZ - 1.
3674 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3675 that now the smallest _M_buf_size is 2 (still fails, for the same
3678 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3680 * testsuite/thread/pthread4.cc: Tweak test.
3682 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3684 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3685 excess errors dg marker, use dg-errors instead.
3686 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3687 * testsuite/20_util/auto_ptr_neg.cc: Same.
3689 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3691 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3693 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3694 Initialize _M_codecvt.
3695 (basic_filebuf::imbue): Same.
3696 (basic_filebuf::showmanyc): Use it.
3697 (basic_filebuf::underflow): Use it.
3698 (basic_filebuf::_M_convert_to_external): Use it.
3699 (basic_filebuf::seekoff): Use it.
3700 (basic_filebuf::imbue): Use it, tweaks.
3701 * include/bits/localefwd.h (__check_facet): New.
3702 * include/bits/locale_classes.h: Tweaks.
3703 * include/bits/locale_facets.tcc: Tweaks.
3704 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3705 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3706 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3707 * include/bits/basic_ios.tcc: Same.
3708 * include/bits/istream.tcc: Same.
3709 * include/bits/ostream.tcc: Same.
3710 * include/std/std_streambuf.h: Same.
3711 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3712 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3713 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3714 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3715 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3716 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3718 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3720 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3721 unnecessary includes and unused string literals.
3722 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3723 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3724 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3725 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3727 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3729 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3731 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3733 * include/std/std_fstream.h (_M_convert_to_external): Change
3734 to return bool, take two less streamsize parameters.
3735 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3736 consistently definition.
3737 (_M_overflow): Adjust call points.
3739 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3741 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3743 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3745 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3746 * testsuite/Makefile.in: Regenerate.
3748 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3750 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3751 * testsuite/Makefile.in: Regenerate.
3753 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3756 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3757 (acos): Handle integer argument.
3776 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3777 (__enable_if): Likewise.
3778 * testsuite/26_numerics/cmath/overloads.C: New test.
3780 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3785 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3786 implementation, based on old wchar_t specialization, add support
3787 for codecvt::in() return value of codecvt_base::noconv, remove
3788 _M_file.sys_ungetc() call.
3789 * include/std/std_fstream.h (basic_file::underflow,
3790 basic_file::uflow, basic_file::_M_underflow): Remove
3791 specialization declarations, call _M_underflow from generic versions
3792 of underflow and uflow.
3793 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3794 basic_file::_M_underflow): Remove specializations.
3795 * src/Makefile.am (sources): Remove fstream.cc.
3796 * src/Makefile.in: Regenerated.
3797 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3798 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3799 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3800 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3802 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3804 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3806 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3808 (__basic_file::xsputn): Same.
3809 (__basic_file::seekoff): Same.
3810 (__basic_file::seekpos): Same.
3811 (__basic_file::showmanyc): Same.
3812 * config/io/basic_file_stdio.cc: Same.
3813 * include/std/std_fstream.h: Same.
3814 * include/bits/fstream.tcc: Same.
3815 * src/fstream.cc: Same.
3816 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3818 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3823 * include/ext/stdio_sync_filebuf.h: New file.
3824 (basic_stdiobuf): New.
3825 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3826 * include/Makefile.in: Regenerate.
3827 * include/bits/ios_base.h (Init::_S_create_buffers,
3828 Init::_S_destroy_buffers): Remove declarations.
3829 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3830 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3831 * src/ios.cc (Init::_S_create_buffers,
3832 Init::_S_destroy_buffers): Remove.
3833 (Init::Init): Create and use syncronized buffers.
3834 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3835 create and install unsyncronized buffers.
3836 * testsuite/27_io/objects/char/10.cc: New test.
3837 * testsuite/27_io/objects/char/9.cc: New test.
3838 * testsuite/27_io/objects/char/9661-1.cc: New test.
3839 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3840 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3841 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3842 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3843 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3844 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3845 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3846 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3847 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3848 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3849 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3850 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3851 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3852 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3853 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3854 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3855 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3856 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3857 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3858 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3859 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3860 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3861 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3862 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3863 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3864 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3865 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3866 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3867 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3868 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3869 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3870 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3871 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3872 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3873 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3874 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3875 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3876 * testsuite/ext/stdiobuf_char.cc: New test.
3877 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3879 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3881 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3882 unnecessary includes and unused string literals.
3883 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3885 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3887 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3889 2003-05-07 Richard Henderson <rth@redhat.com>
3892 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3893 (__cxa_end_catch): Likewise.
3894 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3895 _Unwind_Resume_or_Rethrow.
3896 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3897 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3898 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3899 exceptions. Don't push terminate/unexpected to cxa functions.
3900 (__cxa_call_unexpected): Remove foreign exception fixmes.
3902 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3904 * testsuite/27_io/ios_base/cons: New.
3905 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3906 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3908 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3910 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3912 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3913 there is no buffer or __testget == !__testinit.
3916 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3917 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3919 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3920 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3922 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3924 * include/std/std_sstream.h (_M_sync): Minor tweak.
3926 * include/bits/fstream.tcc (close): No need to call
3927 _M_destroy_pback, setting _M_pback_init to false suffices
3930 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3932 * include/bits/stl_algo.h: Enums as _S_.
3933 * include/bits/stl_tree.h: Same.
3934 * include/bits/stl_bvector.h: Same.
3935 * include/bits/ios_base.h: Same.
3936 * include/bits/stl_alloc.h: Same.
3937 * include/ext/stl_hashtable.h: Same.
3938 * src/ios.cc: And here.
3940 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3941 * include/bits/sstream.tcc: Same.
3943 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3945 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3947 * include/bits/locale_facets.h (__num_base): Remove protected.
3948 Use _S_[io]* names for enumerations.
3949 (_S_format_int): Remove.
3950 * include/bits/locale_facets.tcc: Same.
3951 * src/locale.cc: Same.
3953 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3955 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3957 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3958 * docs/html/faq/index.txt: Regenerated.
3960 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3961 Matt Kraai <kraai@alumni.cmu.edu>
3963 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3966 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3968 * configure.target (mips*): Use the generic atomicity.h by default.
3970 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
3971 (Inspired by an alternate patch from Danny Smith.)
3973 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
3974 (_Swap_lock_struct<>): ...and the horse it rode in on.
3975 * src/globals.cc (_Swap_lock_struct<>): Likewise.
3976 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
3977 member to support...
3978 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
3979 visibility rules related to POSIX threads.
3980 * testsuite/thread/pthread7-rope.cc: New test.
3982 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
3984 * testsuite/21_strings/basic_string/find/char/3.cc: New
3985 file, testing basic_string<char>::find_first_not_of.
3986 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
3987 Likewise for basic_string<wchar_t>.
3989 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
3991 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
3993 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
3995 * include/Makefile.am (CLEANFILES): Remove PCH files in target
3997 * include/Makefile.in: Regenerate.
3999 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
4001 * include/std/std_sstream.h (str()): Tidy.
4003 2003-05-02 Nathan Myers <ncm@cantrip.org>
4004 Paolo Carlini <pcarlini@unitus.it>
4006 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
4008 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
4010 * include/bits/basic_string.h (swap): Remove redundant template
4011 parameters from declaration of non-template member function.
4013 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
4015 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
4016 * configure.in: Move libintl.h header test...
4017 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
4018 the NLS-related test results into one symbol.
4019 * src/functexcept.cc: Use it here.
4020 * aclocal.m4, config.h.in, configure: Regenerated.
4022 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4024 * include/bits/sstream.tcc (overflow): Instead of calling
4025 str(), then _M_string.reserve, thus copying the contents
4026 of the current buffer two times, just copy the latter in
4027 a temporary, then use the 'swap trick'.
4029 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4031 * include/std/std_sstream.h (str()): Revert the best of the
4032 previous 'improvement', incorrect due to the COW nature of
4033 v3 basic_string; simplify.
4035 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4037 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
4038 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
4040 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
4042 * testsuite/abi_check.cc (check_version): Update known versions.
4043 Check added symbols for version_name != base version. Add missing
4044 symbols to incompatible list.
4046 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
4048 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
4049 * aclocal.m4: Regenerated.
4050 * configure: Regenerated.
4052 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4054 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
4055 Const-ify some variables.
4056 (basic_streambuf::xsputn): Likewise; change the type of some
4057 variables to size_t.
4058 (__copy_streambufs): Change some variables to size_t.
4060 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4062 * include/std/std_sstream.h (str()): Avoid constructing
4063 a basic_string temporary not only when it would turn out
4064 to be zero-sized but also when identical to the current
4067 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4069 * include/ext/stdio_filebuf.h
4070 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
4071 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
4072 Shorten a bit (-10 lines) by factoring out some code.
4074 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
4076 * acinclude.m4: Add bit missing from previous patch.
4077 * aclocal.m4, configure: Regenerated.
4079 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
4081 * docs/doxygen/mainpage.html: Bring up to date.
4082 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
4084 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
4085 breaks everything. Don't scan them.
4086 * docs/html/documentation.html: Point to "Write after approval"
4089 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
4091 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
4092 of libc if message translations are being used. Fix info text in
4093 xieee_1003.1-2001 case.
4094 * aclocal.m4, configure: Regenerate.
4096 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
4097 Loren J. Rittle <ljrittle@acm.org>
4098 Martin v. Loewis <martin@v.loewis.de>
4100 * config/cpu/i386/atomicity.h: New file.
4102 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
4104 * include/bits/fstream.tcc (open): Change to single return.
4106 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
4108 * include/std/std_sstream.h (underflow): Change to single return.
4110 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4112 * include/std/std_streambuf.h (_M_buf): is currently
4113 used only for basic_filebuf, therefore move it there.
4114 (basic_streambuf(), ~basic_streambuf()): Adjust.
4115 * include/std/std_fstream.h (_M_buf): Moved here.
4116 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
4117 is actually redundant for basic_stringbuf.
4118 (_M_really_sync): Likewise.
4119 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
4120 * include/bits/sstream.tcc (seekoff): Adjust.
4122 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4124 * src/localename.cc: Standardize exception strings.
4125 * src/locale.cc: Same.
4127 * include/bits/basic_string.tcc: Same.
4128 * include/bits/basic_ios.tcc: Same.
4129 * include/std/std_bitset.h: Same.
4130 * include/ext/ropeimpl.h: Same.
4131 * include/bits/stl_vector.h: Same.
4132 * include/bits/stl_deque.h: Same.
4133 * include/bits/stl_bvector.h: Same.
4134 * config/locale/generic/c_locale.cc: Same.
4135 * config/locale/gnu/c_locale.cc: Same.
4136 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
4138 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
4140 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4142 * include/std/std_streambuf.h (_M_buf_size): is currently
4143 used only for basic_filebuf, therefore move it there.
4144 (basic_streambuf(), ~basic_streambuf()): Adjust.
4145 * include/std/std_fstream.h (_M_buf_size): Moved here.
4146 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
4148 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4150 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
4151 _M_buf_size (synced input is now correctly dealt with
4152 elsewhere); when the output buffer is full don't fall back
4153 to a snextc-sputc loop, call overflow instead.
4155 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4157 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
4158 the innermost 'if' by factoring out some code.
4160 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
4162 * configure.in: Test for libintl.h.
4163 * include/bits/c++config: Define __N for everybody.
4164 * include/bits/basic_string.h, include/bits/stl_bvector.h,
4165 include/bits/stl_deque.h, include/bits/stl_vector.h,
4166 include/std/std_bitset.h: Wrap all __throw* text with __N.
4167 * po/Makefile.am (pot): New rule, mostly working.
4168 * src/functexcept.cc: Call gettext on all __throw* arguments when
4169 -fexceptions is in effect.
4170 * po/Makefile.in, config.h.in, configure: Regenerate.
4172 2003-04-28 Petur Runolfsson <peturr02@ru.is>
4175 * include/bits/ios_base.h (Init::_S_ios_create,
4176 Init::_S_ios_destroy): Remove declarations.
4177 (Init::_S_create_buffers,
4178 Init::_S_destroy_buffers): Declare
4179 * src/ios.cc (Init::_S_ios_create): Remove
4180 (Init::_S_create_buffers): Create buffers and add to streams.
4181 (Init::_S_ios_destroy): Rename to...
4182 (Init::_S_destroy_buffers): this.
4183 (Init::Init): Only construct streams once.
4184 (Init::~Init): Flush streams, don't destroy them.
4185 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
4186 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
4187 * testsuite/27_io/objects/char/5.cc: New test.
4188 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
4189 * testsuite/27_io/objects/char/6.cc: New test.
4190 * testsuite/27_io/objects/char/7.cc: New test.
4192 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4194 * testsuite/27_io/objects/char/8.cc: New test.
4196 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4198 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
4199 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
4201 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
4203 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
4204 _M_destroy_pback. _M_pback_create to
4205 _M_create_pback. _M_underflow_common to
4206 _M_underflow. _M_really_overflow to _M_overflow.
4207 * include/bits/fstream.tcc: Same.
4208 * src/fstream.cc: Same.
4209 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
4210 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
4211 * include/bits/streambuf.tcc: Same.
4212 * include/bits/fstream.tcc: Same.
4213 * include/bits/sstream.tcc: Same.
4215 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
4217 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
4218 from fixed size array.
4219 (locale): Change _S_categories as well.
4221 * include/bits/locale_facets.tcc: Tweak.
4222 * config/locale/gnu/c_locale.cc: Assign _S_categories.
4223 * config/locale/generic/c_locale.cc: Same.
4224 * src/locale.cc: Tweak.
4225 * src/globals.cc: Change facet_name to name_vec, add names_c.
4226 * src/localename.cc: Use them.
4227 (locale::_Impl::~_Impl): Destroy _M_names.
4228 (locale::_Impl::_Impl): Create _M_names.
4230 2003-04-27 Andreas Schwab <schwab@suse.de>
4232 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
4233 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
4235 2003-04-27 Nathan Myers <ncm@cantrip.org>
4237 Move some basic_string members out of line because
4238 they are too big to reasonably be inline.
4239 * include/bits/basic_string.h
4240 (assign(const basic_string&, size_type, size_type),
4241 assign(const _CharT*, size_type),
4242 insert(size_type, const basic_string&, size_type, size_type),
4243 insert(size_type, const _CharT*, size_type),
4244 replace(size_type, size_type, const _CharT*, size_type)):
4245 Move from here to...
4246 * include/bits/basic_string.tcc: ...here.
4248 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4250 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
4251 the innermost 'if' by factoring out some code.
4253 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4255 * include/bits/streambuf.tcc (__copy_streambufs): Don't
4256 use in_avail(), simplify.
4258 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4260 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
4261 in basic_stringbuf it's unused.
4263 * include/std/std_sstream.h (underflow): consistently use
4264 _M_in_cur, not gptr().
4266 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
4267 Phil Edwards <pme@gcc.gnu.org>
4269 * testsuite_flags.in: Guard against the possibility
4270 of having "xgcc" as a part of a folder name in the
4271 path to the GCC build folder.
4272 * testsuite/Makefile.am: Likewise.
4273 * testsuite/Makefile.in: Regenerated.
4275 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
4278 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
4279 exception specifications.
4280 (basic_filebuf::close): Same.
4281 (basic_filebuf::_M_pback_destroy): Same.
4282 (basic_filebuf::_M_destroy_internal_buffer): Same.
4283 (basic_filebuf): Remove __res_type typedef.
4284 * src/fstream.cc: Same.
4285 * include/bits/fstream.tcc
4286 (basic_filebuf::_M_convert_to_external): Simplify.
4287 (basic_filebuf::seekoff): Use has_facet before use_facet.
4288 (basic_filebuf::close): Add exception specification of throw().
4289 * testsuite/27_io/basic_filebuf/cons: New.
4290 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
4291 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
4292 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
4293 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
4295 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
4297 * include/bits/locale_classes.h
4298 (locale::_S_extra_categories_size): Remove.
4299 * src/locale.cc: Remove _S_extra_categories_size.
4300 * src/localename.cc: Same.
4301 * config/locale/gnu/c_locale.cc: Same.
4302 * config/locale/generic/c_locale.cc: Same.
4304 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
4306 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
4308 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
4310 * docs/html/17_intro/howto.html: Update some links.
4311 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
4312 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
4313 * docs/html/ext/howto.html: Link to demangler notes and API.
4314 * docs/html/faq/index.html: Remove trailing whitespace.
4315 (1.4, 2.4, 3.8, 4.1): Bring up to date.
4316 (5.6): Change to a bulleted list.
4318 * docs/html/faq/index.txt, docs/html/documentation.html,
4319 docs/html/17_intro/porting.html: Regenerate.
4321 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
4323 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
4324 belongs to basic_filebuf.
4325 * testsuite/27_io/basic_fstream/3.cc: Likewise.
4326 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
4327 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
4328 instantiation (now belongs to basic_filebuf).
4329 * testsuite/27_io/basic_iostream/3.cc: Likewise.
4330 * testsuite/27_io/basic_istream/3.cc: Likewise.
4331 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4332 _S_pback_size now belongs to basic_filebuf.
4333 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
4334 instantiation (now belongs to basic_filebuf).
4335 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
4336 belongs to basic_filebuf.
4337 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
4338 instantiation (now belongs to basic_filebuf).
4339 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
4340 _S_pback_size now belongs to basic_filebuf.
4341 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
4342 instantiation (now belongs to basic_filebuf).
4343 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
4345 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
4346 instantiation (now belongs to basic_filebuf).
4347 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
4349 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
4351 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
4352 * configure: Regenerated.
4354 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
4356 * config/locale/generic/c_locale.h (__convert_from_v): Use
4359 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
4361 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
4362 implementation only.
4363 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
4364 Comment and change to comply with DR 60 and the effect on gcount().
4365 * include/std/std_istream.h: Update comments.
4366 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
4367 comments about reasons for tests. Test sync() against gcount().
4368 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
4369 for effect on gcount().
4370 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
4371 for effect on gcount().
4373 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
4375 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
4378 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
4380 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
4381 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
4382 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
4383 (basic_streambuf::basic_streambuf()): Adjust.
4384 * include/std/std_fstream.h (_S_pback_size, _M_pback,
4385 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
4386 _M_pback_create(), _M_pback_destroy()): Moved here
4387 from basic_streambuf.
4388 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
4390 (basic_filebuf::_S_pback_size): Add declaration.
4391 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
4394 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4396 Consistently use _M_in_beg instead of eback(), _M_in_cur
4397 instead of gptr(), and so on.
4398 * include/bits/fstream.tcc (pbackfail, imbue): Here.
4399 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
4400 * include/bits/streambuf.tcc (sbumpc, sputbackc,
4401 __copy_streambufs): Ditto.
4402 * include/std/std_streambuf.h (sgetc): Ditto.
4404 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4406 * include/bits/sstream.tcc (pbackfail, overflow):
4409 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4411 * include/std/std_streambuf.h (uflow()): It's used only by
4412 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
4413 therefore do not consider the _M_buf_unified == true case.
4415 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
4417 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4419 * docs/html/ext/howto.html ('LWG Issues'):
4420 Add issues 19, 90, 171, 231, 271.
4422 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4424 * include/bits/sstream.tcc (pbackfail): Remove redundant
4425 NULL pointer check from test involving _M_in_*.
4426 (overflow, seekoff, seekpos): Const qualify bool variables.
4427 * include/std/std_sstream.h (underflow): Remove redundant
4428 NULL pointer check from test involving _M_in_*.
4429 (_M_really_sync): Const qualify bool variables.
4430 * src/fstream.cc (_M_underflow_common): Remove redundant
4431 NULL pointer check from test involving _M_in_*, const qualify
4434 * include/std/std_streambuf.h (sgetc): Remove redundant
4437 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
4439 According to 5.9 para 2 (second bullet) for pointers p, q
4440 pointing to the same type, with p == 0 and q == 0, (p < q)
4442 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
4443 seekoff): Remove redundant NULL pointer checks from tests
4444 involving _M_out_* and _M_in_*, const qualify bool variables.
4445 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
4446 qualify bool variables.
4447 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
4448 Remove redundant NULL pointer checks from tests involving
4449 _M_out_* and _M_in_*, const qualify bool variables.
4450 * include/std/std_fstream.h (sync): Likewise.
4451 (_M_is_indeterminate): Const qualify bool variables.
4452 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
4453 NULL pointer checks from tests involving _M_out_* and _M_in_*,
4454 const qualify bool variables.
4455 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
4458 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
4460 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
4461 C99 FP macros, if actually captured.
4463 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
4464 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4465 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4466 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4467 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
4469 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4470 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4471 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4472 * include/c_std/std_cstdlib.h: Use new macros.
4473 * include/c_std/std_cstdio.h: Use new macros.
4474 * include/c_std/std_cwchar.h: Use new macros.
4476 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
4479 * include/bits/ostream.tcc: Catch all exceptions for formatted
4480 output, instead of std::exception and derivatives.
4481 * include/bits/istream.tcc: Same.
4482 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
4483 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
4484 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
4485 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
4486 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
4487 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
4490 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
4492 * include/bits/c++config: Minor cosmetic tweaks.
4494 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
4496 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
4497 * include/Makefile.am (pch_input): Find in ${target_builddir}.
4498 (pch_output): Rename to...
4499 (pch_output_builddir): ..this. Find in ${target_builddir}.
4500 (pch_source): Tweak.
4501 (pch_build): Key off a built file.
4502 (pch_output rule): Rename to...
4503 (pch_input rule): ...this. Produce ${pch_output_builddir}
4504 instead of ${pch_output}.
4505 (install-pch rule): Install ${pch_output_builddir}.
4506 * include/Makefile.in: Regenerated.
4508 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
4510 * include/std/std_streambuf.h (setp): _M_out_lim, being
4511 the end limit of used put area, is set equal to _M_out_beg.
4513 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
4515 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
4516 * aclocal.m4: Regenerated.
4517 * configure.in: Remove old demangler bits.
4519 * configure: Regenerate.
4520 * config.h.in: Regenerate.
4521 * include/Makefile.am (allstamps): Now allstamped.
4522 (allcreated): Define this.
4523 (all-local): Use 'em.
4524 Conditionally define pch_build, pch_install based on
4526 (${pch_output}): New rule.
4527 (install-pch): New rule.
4528 (install-headers): New rule.
4529 (install-data-local): Install headers and conditionally pch.
4530 * include/Makefile.in: Regenerate.
4531 * testsuite_flags.in (--build-cxx): Use pch file.
4533 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
4535 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
4537 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
4538 Paolo Carlini <pcarlini at unitus dot it>
4541 * docs/html/27_io/howto.html
4542 ('The buffering is screwing up my program!'): Explain that
4543 opening counts as an I/O operation.
4545 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
4547 * testsuite/thread/pthread1.cc: Enable for darwin test.
4548 * testsuite/thread/pthread2.cc: Same.
4549 * testsuite/thread/pthread3.cc: Same.
4550 * testsuite/thread/pthread4.cc: Same.
4551 * testsuite/thread/pthread5.cc: Same.
4552 * testsuite/thread/pthread6.cc: Same.
4554 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
4557 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
4558 Populate it with multiple legal ways to obtain the C99 float
4559 transcendentals. Use them instead of direct global reference.
4560 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
4561 * docs/html/17_intro/porting.texi
4562 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4563 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4564 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
4565 * config/os/bsd/freebsd/os_defines.h
4566 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4567 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4568 * testsuite/26_numerics/c_math_dynamic.cc: New file.
4570 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4571 Benjamin Kosnik <bkoz@redhat.com>
4573 * config/os/generic/ctype_inline.h: Fix.
4575 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
4577 * testsuite/testsuite_hooks.h
4578 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
4579 Change to try_named_locale.
4580 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
4582 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
4584 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4585 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4586 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
4587 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
4588 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
4589 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
4590 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
4591 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
4592 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
4593 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
4594 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
4595 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
4596 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
4597 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
4598 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
4599 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4600 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4601 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4602 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
4603 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
4604 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
4605 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
4606 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
4607 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
4608 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
4609 * testsuite/22_locale/collate/compare/char/1.cc: Same.
4610 * testsuite/22_locale/collate/compare/char/2.cc: Same.
4611 * testsuite/22_locale/collate/compare/char/3.cc: Same.
4612 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
4613 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
4614 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
4615 * testsuite/22_locale/collate/hash/char/2.cc: Same.
4616 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
4617 * testsuite/22_locale/collate/transform/char/2.cc: Same.
4618 * testsuite/22_locale/collate/transform/char/3.cc: Same.
4619 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
4620 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
4621 * testsuite/22_locale/collate_byname/1.cc: Same.
4622 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4623 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4624 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
4625 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
4626 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
4627 * testsuite/22_locale/facet/2.cc: Same.
4628 * testsuite/22_locale/locale/cons/2.cc: Same.
4629 * testsuite/22_locale/locale/cons/4.cc: Same.
4630 * testsuite/22_locale/locale/cons/5.cc: Same.
4631 * testsuite/22_locale/locale/cons/7.cc: Same.
4632 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
4633 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
4634 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
4635 * testsuite/22_locale/messages/members/char/1.cc: Same.
4636 * testsuite/22_locale/messages/members/char/2.cc: Same.
4637 * testsuite/22_locale/messages/members/char/3.cc: Same.
4638 * testsuite/22_locale/messages_byname/1.cc: Same.
4639 * testsuite/22_locale/money_get/get/char/1.cc: Same.
4640 * testsuite/22_locale/money_get/get/char/2.cc: Same.
4641 * testsuite/22_locale/money_get/get/char/3.cc: Same.
4642 * testsuite/22_locale/money_get/get/char/4.cc: Same.
4643 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
4644 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
4645 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
4646 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
4647 * testsuite/22_locale/money_put/put/char/1.cc: Same.
4648 * testsuite/22_locale/money_put/put/char/2.cc: Same.
4649 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4650 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4651 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4652 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4653 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4654 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4655 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4656 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4657 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4658 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4659 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4660 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4661 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4662 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4663 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4664 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4665 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4666 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4667 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4668 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4669 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4670 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4671 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4672 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4673 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4674 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4675 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4676 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4677 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4678 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4679 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4680 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4681 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4682 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4683 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4684 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4685 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4686 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4687 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4688 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4689 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4690 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4691 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4692 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4693 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4694 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4695 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4696 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4697 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4698 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4699 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4700 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4701 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4702 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4703 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4704 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4705 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4706 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4707 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4708 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4709 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4710 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4711 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4712 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4713 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4714 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4715 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4716 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4717 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4718 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4719 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4720 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4722 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4724 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4725 solaris includes, not generic.
4727 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4729 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4731 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4732 * include/bits/concept_check.h: Fix multi-line comment.
4733 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4734 when target is *-*-freebsd*.
4736 2003-04-14 Nathan Myers <ncm@cantrip.org>
4737 Paolo Carlini <pcarlini@unitus.it>
4739 PR libstdc++/9701 (in_avail())
4740 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4741 doesn't care if there is anything in some putback cell.
4742 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4744 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4745 unused string literals.
4747 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4749 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4750 _M_out_end, _M_set_indeterminate() does it.
4752 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4754 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4756 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4758 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4759 Change basic_streambuf instantiation to "unsigned char".
4760 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4762 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4764 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4765 * include/bits/fstream.tcc
4766 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4767 references to _M_buf_size_opt.
4768 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4769 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4770 __bufsize to __in_avail and __size_opt to __buf_size.
4771 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4772 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4773 * include/std/std_streambuf.h (~basic_streambuf(),
4774 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4775 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4776 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4777 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4778 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4779 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4780 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4781 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4782 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4783 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4784 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4785 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4786 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4788 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4790 * include/ext/stdio_filebuf.h
4791 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4792 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4793 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4794 since a stack-based buffer is used for small values of the size_t
4796 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4797 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4798 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4800 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4803 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4804 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4806 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4808 * testsuite/22_locale/locale/cons/3.cc: Split.
4809 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4810 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4811 Check before trying to create a locale from the environment.
4812 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4813 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4816 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4818 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4819 locale to construct this hybrid locale, not the global locale.
4821 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4823 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4824 instantiation for AIX.
4825 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4826 * testsuite/25_algorithms/min_max.cc: Same.
4828 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4830 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4831 twice. Always set _M_cfile to 0 when stream was open.
4833 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4835 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4836 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4837 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4838 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4839 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4840 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4841 ifstream_members.cc, instantiations.cc, ios.cc,
4842 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4843 ios_base_members_static.cc, ios_base_storage.cc,
4844 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4845 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4846 iostream.cc, iostream_members.cc, istream.cc,
4847 istream_exception.cc, istream_extractor_char.cc,
4848 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4849 istream_extractor_other-2.tst, istream_extractor_other.cc,
4850 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4851 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4852 istream_sentry.cc, istream_unformatted-1.tst,
4853 istream_unformatted-1.txt, istream_unformatted.cc,
4854 istringstream.cc, istringstream_members.cc,
4855 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4856 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4857 ostream_fail.cc, ostream_inserter_arith.cc,
4858 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4859 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4860 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4861 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4862 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4863 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4864 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4865 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4866 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4867 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4868 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4869 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4870 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4871 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4873 * 27_io/basic_filebuf/1.cc: New.
4874 * 27_io/basic_filebuf/2.cc: New.
4875 * 27_io/basic_filebuf/3.cc: New.
4876 * 27_io/basic_filebuf/4.cc: New.
4877 * 27_io/basic_filebuf/close/char/1.cc: New.
4878 * 27_io/basic_filebuf/close/char/2.cc: New.
4879 * 27_io/basic_filebuf/close/char/3.cc: New.
4880 * 27_io/basic_filebuf/close/char/4879.cc: New.
4881 * 27_io/basic_filebuf/close/char/9964.cc: New.
4882 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4883 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4884 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4885 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4886 * 27_io/basic_filebuf/open/char/1.cc: New.
4887 * 27_io/basic_filebuf/open/char/2.cc: New.
4888 * 27_io/basic_filebuf/open/char/3.cc: New.
4889 * 27_io/basic_filebuf/open/char/9507.cc: New.
4890 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4891 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4892 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4893 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4894 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4895 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4896 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4897 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4898 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4899 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4900 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4901 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4902 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4903 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4904 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4905 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4906 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4907 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4908 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4909 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4910 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4911 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4912 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4913 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4914 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4915 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4916 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4917 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4918 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4919 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4920 * 27_io/basic_fstream/1.cc: New.
4921 * 27_io/basic_fstream/2.cc: New.
4922 * 27_io/basic_fstream/3.cc: New.
4923 * 27_io/basic_fstream/4.cc: New.
4924 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4925 * 27_io/basic_ifstream/1.cc: New.
4926 * 27_io/basic_ifstream/2.cc: New.
4927 * 27_io/basic_ifstream/3.cc: New.
4928 * 27_io/basic_ifstream/4.cc: New.
4929 * 27_io/basic_ifstream/cons/char/1.cc: New.
4930 * 27_io/basic_ifstream/open/char/1.cc: New.
4931 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4932 * 27_io/basic_ios/1.cc: New.
4933 * 27_io/basic_ios/2.cc: New.
4934 * 27_io/basic_ios/3.cc: New.
4935 * 27_io/basic_ios/4.cc: New.
4936 * 27_io/basic_ios/clear/char/1.cc: New.
4937 * 27_io/basic_ios/cons/char/1.cc: New.
4938 * 27_io/basic_ios/cons/char/2.cc: New.
4939 * 27_io/basic_ios/cons/char/3.cc: New.
4940 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4941 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4942 * 27_io/basic_ios/exceptions/char/1.cc: New.
4943 * 27_io/basic_ios/locales/char/1.cc: New.
4944 * 27_io/basic_iostream/1.cc: New.
4945 * 27_io/basic_iostream/2.cc: New.
4946 * 27_io/basic_iostream/3.cc: New.
4947 * 27_io/basic_iostream/4.cc: New.
4948 * 27_io/basic_istream/1.cc: New.
4949 * 27_io/basic_istream/2.cc: New.
4950 * 27_io/basic_istream/3.cc: New.
4951 * 27_io/basic_istream/4.cc: New.
4952 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4953 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4954 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4955 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4956 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4957 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4958 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4959 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4960 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4961 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4962 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4963 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4964 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4965 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4966 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4967 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4968 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4969 * 27_io/basic_istream/extractors_other/char/2.cc: New.
4970 * 27_io/basic_istream/extractors_other/char/3.cc: New.
4971 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
4972 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
4973 * 27_io/basic_istream/get/char/1.cc: New.
4974 * 27_io/basic_istream/get/char/2.cc: New.
4975 * 27_io/basic_istream/getline/char/1.cc: New.
4976 * 27_io/basic_istream/getline/char/2.cc: New.
4977 * 27_io/basic_istream/getline/char/3.cc: New.
4978 * 27_io/basic_istream/ignore/char/1.cc: New.
4979 * 27_io/basic_istream/ignore/char/6360.cc: New.
4980 * 27_io/basic_istream/ignore/char/7220.cc: New.
4981 * 27_io/basic_istream/peek/char/1.cc: New.
4982 * 27_io/basic_istream/peek/char/6414.cc: New.
4983 * 27_io/basic_istream/putback/char/1.cc: New.
4984 * 27_io/basic_istream/read/char/1.cc: New.
4985 * 27_io/basic_istream/read/char/2.cc: New.
4986 * 27_io/basic_istream/read/char/3.cc: New.
4987 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
4988 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
4989 * 27_io/basic_istream/readsome/char/8258.cc: New.
4990 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
4991 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
4992 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
4993 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
4994 * 27_io/basic_istream/seekg/char/fstream.cc: New.
4995 * 27_io/basic_istream/seekg/char/sstream.cc: New.
4996 * 27_io/basic_istream/sentry/char/1.cc: New.
4997 * 27_io/basic_istream/sentry/char/2.cc: New.
4998 * 27_io/basic_istream/sentry/char/3.cc: New.
4999 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
5000 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
5001 * 27_io/basic_istream/tellg/char/1.cc: New.
5002 * 27_io/basic_istream/tellg/char/8348.cc: New.
5003 * 27_io/basic_istream/tellg/char/fstream.cc: New.
5004 * 27_io/basic_istream/tellg/char/sstream.cc: New.
5005 * 27_io/basic_istream/ws/char/1.cc: New.
5006 * 27_io/basic_istringstream/1.cc: New.
5007 * 27_io/basic_istringstream/2.cc: New.
5008 * 27_io/basic_istringstream/3.cc: New.
5009 * 27_io/basic_istringstream/4.cc: New.
5010 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
5011 * 27_io/basic_istringstream/str/char/1.cc: New.
5012 * 27_io/basic_ofstream/1.cc: New.
5013 * 27_io/basic_ofstream/2.cc: New.
5014 * 27_io/basic_ofstream/3.cc: New.
5015 * 27_io/basic_ofstream/4.cc: New.
5016 * 27_io/basic_ofstream/cons/char/2.cc: New.
5017 * 27_io/basic_ofstream/open/char/1.cc: New.
5018 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
5019 * 27_io/basic_ostream/1.cc: New.
5020 * 27_io/basic_ostream/2.cc: New.
5021 * 27_io/basic_ostream/3.cc: New.
5022 * 27_io/basic_ostream/4.cc: New.
5023 * 27_io/basic_ostream/cons/char/9827.cc: New.
5024 * 27_io/basic_ostream/endl/char/1.cc: New.
5025 * 27_io/basic_ostream/ends/char/1.cc: New.
5026 * 27_io/basic_ostream/ends/char/2.cc: New.
5027 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
5028 * 27_io/basic_ostream/flush/char/1.cc: New.
5029 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
5030 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
5031 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
5032 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
5033 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
5034 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
5035 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
5036 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
5037 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
5038 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
5039 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
5040 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
5041 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
5042 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
5043 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
5044 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
5045 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
5046 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
5047 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
5048 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
5049 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
5050 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
5051 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
5052 * 27_io/basic_ostream/sentry/char/1.cc: New.
5053 * 27_io/basic_ostream/sentry/char/2.cc: New.
5054 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
5055 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
5056 * 27_io/basic_ostream/tellp/char/1.cc: New.
5057 * 27_io/basic_ostream/tellp/char/2.cc: New.
5058 * 27_io/basic_ostringstream/1.cc: New.
5059 * 27_io/basic_ostringstream/2.cc: New.
5060 * 27_io/basic_ostringstream/3.cc: New.
5061 * 27_io/basic_ostringstream/4.cc: New.
5062 * 27_io/basic_ostringstream/cons/char/3.cc: New.
5063 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
5064 * 27_io/basic_ostringstream/str/char/1.cc: New.
5065 * 27_io/basic_ostringstream/str/char/2.cc: New.
5066 * 27_io/basic_streambuf/1.cc: New.
5067 * 27_io/basic_streambuf/2.cc: New.
5068 * 27_io/basic_streambuf/3.cc: New.
5069 * 27_io/basic_streambuf/cons/char/1.cc: New.
5070 * 27_io/basic_streambuf/imbue/char/1.cc: New.
5071 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
5072 * 27_io/basic_streambuf/overflow/char/1.cc: New.
5073 * 27_io/basic_streambuf/overflow/char/2.cc: New.
5074 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
5075 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
5076 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
5077 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
5078 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
5079 * 27_io/basic_streambuf/sputn/char/1.cc: New.
5080 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
5081 * 27_io/basic_streambuf/sync/char/1057.cc: New.
5082 * 27_io/basic_stringbuf/1.cc: New.
5083 * 27_io/basic_stringbuf/2.cc: New.
5084 * 27_io/basic_stringbuf/3.cc: New.
5085 * 27_io/basic_stringbuf/4.cc: New.
5086 * 27_io/basic_stringbuf/5.cc: New.
5087 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
5088 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
5089 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
5090 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
5091 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
5092 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
5093 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
5094 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
5095 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
5096 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
5097 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
5098 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
5099 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
5100 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
5101 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
5102 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
5103 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
5104 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
5105 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
5106 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
5107 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
5108 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
5109 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
5110 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
5111 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
5112 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
5113 * 27_io/basic_stringbuf/str/char/1.cc: New.
5114 * 27_io/basic_stringbuf/str/char/2.cc: New.
5115 * 27_io/basic_stringbuf/str/char/3.cc: New.
5116 * 27_io/basic_stringbuf/str/char/3955.cc: New.
5117 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
5118 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
5119 * 27_io/basic_stringstream/1.cc: New.
5120 * 27_io/basic_stringstream/2.cc: New.
5121 * 27_io/basic_stringstream/3.cc: New.
5122 * 27_io/basic_stringstream/4.cc: New.
5123 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
5124 * 27_io/basic_stringstream/str/char/1.cc: New.
5125 * 27_io/basic_stringstream/str/char/2.cc: New.
5126 * 27_io/basic_stringstream/str/char/3.cc: New.
5127 * 27_io/basic_stringstream/str/char/4.cc: New.
5128 * 27_io/fpos/1.cc: New.
5129 * 27_io/fpos/2.cc: New.
5130 * 27_io/fpos/3.cc: New.
5131 * 27_io/ios_base/callbacks/1.cc: New.
5132 * 27_io/ios_base/state/1.cc: New.
5133 * 27_io/ios_base/storage/1.cc: New.
5134 * 27_io/ios_base/storage/2.cc: New.
5135 * 27_io/ios_base/storage/3.cc: New.
5136 * 27_io/ios_base/sync_with_stdio/1.cc: New.
5137 * 27_io/ios_base/sync_with_stdio/2.cc: New.
5138 * 27_io/manipulators/adjustfield/char/1.cc: New.
5139 * 27_io/manipulators/adjustfield/char/2.cc: New.
5140 * 27_io/manipulators/basefield/char/1.cc: New.
5141 * 27_io/manipulators/standard/char/1.cc: New.
5142 * 27_io/manipulators/standard/char/2.cc: New.
5143 * 27_io/objects/char/1.cc: New.
5144 * 27_io/objects/char/2.cc: New.
5145 * 27_io/objects/char/2523-1_xin.cc: New.
5146 * 27_io/objects/char/2523-1_xin.in: New.
5147 * 27_io/objects/char/2523-2_xin.cc: New.
5148 * 27_io/objects/char/2523-2_xin.in: New.
5149 * 27_io/objects/char/3045.cc: New.
5150 * 27_io/objects/char/3647.cc: New.
5151 * 27_io/objects/char/3_xin.cc: New.
5152 * 27_io/objects/char/3_xin.in: New.
5153 * 27_io/objects/char/4_xin.cc: New.
5154 * 27_io/objects/char/4_xin.in: New.
5155 * 27_io/objects/char/5268.cc: New.
5156 * 27_io/objects/char/5280_xin.cc: New.
5157 * 27_io/objects/char/5280_xin.in: New.
5158 * 27_io/objects/char/6548_xin.cc: New.
5159 * 27_io/objects/char/6548_xin.in: New.
5160 * 27_io/objects/char/6648-1_xin.cc: New.
5161 * 27_io/objects/char/6648-1_xin.in: New.
5162 * 27_io/objects/char/6648-2_xin.cc: New.
5163 * 27_io/objects/char/6648-2_xin.in: New.
5164 * 27_io/objects/char/7744_xin.cc: New.
5165 * 27_io/objects/char/7744_xin.in: New.
5166 * 27_io/objects/wchar_t/1.cc: New.
5167 * 27_io/types/1.cc: New.
5168 * 27_io/types/2.cc: New.
5169 * data/filebuf_members-1.tst: New.
5170 * data/filebuf_members-1.txt: New.
5171 * data/filebuf_virtuals-1.tst: New.
5172 * data/filebuf_virtuals-1.txt: New.
5173 * data/filebuf_virtuals-2.tst: New.
5174 * data/filebuf_virtuals-3.tst: New.
5175 * data/ifstream_members-1.tst: New.
5176 * data/ifstream_members-1.txt: New.
5177 * data/ios_base_members_static-1.tst: New.
5178 * data/istream_extractor_other-1.tst: New.
5179 * data/istream_extractor_other-1.txt: New.
5180 * data/istream_extractor_other-2.tst: New.
5181 * data/istream_seeks-1.tst: New.
5182 * data/istream_seeks-1.txt: New.
5183 * data/istream_seeks-2.tst: New.
5184 * data/istream_seeks-3.tst: New.
5185 * data/istream_unformatted-1.tst: New.
5186 * data/istream_unformatted-1.txt: New.
5187 * data/ofstream_members-1.tst: New.
5188 * data/ostream_inserter_char-1.tst: New.
5189 * data/ostream_inserter_char-1.txt: New.
5190 * data/ostream_inserter_other-1.tst: New.
5191 * data/ostream_inserter_other-2.tst: New.
5192 * data/ostream_seeks-1.tst: New.
5194 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5196 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
5197 requirement that __mode must be strict input or output.
5199 * include/std/std_streambuf.h (basic_streambuf::setp): Set
5202 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
5203 output string shouldn't core.
5204 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
5206 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
5208 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
5211 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5213 * testsuite/data: New directory.
5214 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
5215 to copy files from the testsuite data directory.
5216 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
5217 testfiles containing _xin, which now means this is an interactive
5218 test and should be run with the interactive dejagnu hooks.
5219 * testsuite/Makefile.am: Remove testsuite_* files.
5220 * testsuite/Makefile.in: Regenerate.
5222 2003-04-09 Zack Weinberg <zack@codesourcery.com>
5224 * docs/html/install.html: Document complete list of locales
5225 required by test suite. Document procedure for installing
5226 said locales under Debian. Solicit instructions for other
5229 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
5231 * include/bits/sstream.tcc (overflow): Make sure operands of min
5232 and max have the same type.
5234 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
5237 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
5240 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
5242 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
5243 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5244 Don't set _M_out_end.
5245 (basic_filebuf::overflow): Replace _M_out_buf_size() with
5246 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
5247 * include/bits/sstream.tcc (basic_stringbuf::overflow):
5248 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
5249 * include/bits/streambuf.tcc (basic_streambuf::sputc):
5250 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
5251 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
5252 _M_out_end - _M_out_cur.
5253 (__copy_streambufs): Likewise.
5254 * include/std/std_fstream.h (_M_set_determinate): Set
5257 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
5259 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
5260 _M_convert_to_external, _M_really_overflow, seekoff): Fix
5261 test for synced buffer.
5262 * include/std/std_fstream.h (sync): Likewise.
5263 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5264 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
5266 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
5268 * include/std/std_sstream.h (basic_istringstream): Adjust
5270 (basic_ostringstream): Same.
5271 (basic_stringstream): Same.
5272 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
5273 (basic_ofstream): Same.
5274 (basic_fstream): Same.
5275 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
5276 that does not call init.
5277 * include/std/std_istream.h (basic_istream): Same.
5278 (basic_iostream): Construct istream, ostream uninitialized, use
5279 init to initialize just once. Add protected ctor that does not
5282 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
5283 Nathan Myers <ncm@cantrip.org>
5286 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
5288 (basic_filebuf<>::showmanyc): Use the information provided
5289 by codecvt and __basic_file<>::showmanyc_helper to implement
5290 a non-trivial showmanyc.
5291 * config/io/basic_file_stdio.h
5292 (__basic_file<>::showmanyc_helper): New, declare.
5293 * config/io/basic_file_stdio.cc
5294 (__basic_file<>::showmanyc_helper): Define.
5295 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
5296 (__basic_file<char>::open): Don't call fcntl().
5297 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
5298 GLIBCPP_CHECK_POLL): New macros.
5299 * configure.in: Call here.
5300 * acconfig.h: Add #undefs for the corresponding symbols.
5301 * aclocal.m4: Regenerate.
5302 * configure: Regenerate.
5303 * config.h.in: Regenerate.
5305 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
5307 * config/linker-map.gnu: Remove string export restrictions.
5309 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
5311 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
5312 find_first_of, find_last_of and find_last_not_of tests.
5313 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
5314 tests here, new file.
5315 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
5316 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
5317 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
5318 wchar_t find_first_of tests here, new file.
5319 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
5321 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
5323 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
5324 wchar_t find_last_of tests here.
5325 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
5326 wchar_t find_last_not_of tests here.
5328 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
5330 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
5331 Correct return value.
5333 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
5336 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
5337 * include/std/std_complex.h (norm): Use faster,
5338 less accurate computation for builtin float types under --fast-math.
5340 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
5342 * testsuite/testsuite_hooks.h: Fix warning nits.
5344 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
5346 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
5347 Only .set mips2 for the o32 ABI.
5349 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
5351 * testsuite/21_strings/char_traits/requirements/char/1.cc:
5352 Test char not wchar_t.
5354 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
5356 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
5357 Correct size, taking into account sizeof(wchar_t).
5359 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
5361 Reshuffle 21_strings testsuite.
5362 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
5363 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
5364 element_access.cc, operations.cc, char_traits_requirements.cc,
5365 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
5366 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
5367 wchar_t tests as follows.
5368 * 21_strings/basic_string/append/char/1.cc: New.
5369 * 21_strings/basic_string/append/wchar_t/1.cc: New.
5370 * 21_strings/basic_string/assign/char/1.cc: New.
5371 * 21_strings/basic_string/assign/char/2.cc: New.
5372 * 21_strings/basic_string/assign/char/3.cc: New.
5373 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
5374 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
5375 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
5376 * 21_strings/basic_string/capacity/1.cc: New.
5377 * 21_strings/basic_string/capacity/char/1.cc: New.
5378 * 21_strings/basic_string/capacity/char/2.cc: New.
5379 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
5380 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
5381 * 21_strings/basic_string/compare/char/1.cc: New.
5382 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
5383 * 21_strings/basic_string/cons/char/1.cc: New.
5384 * 21_strings/basic_string/cons/char/2.cc: New.
5385 * 21_strings/basic_string/cons/char/3.cc: New.
5386 * 21_strings/basic_string/cons/char/4.cc: New.
5387 * 21_strings/basic_string/cons/char/5.cc: New.
5388 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
5389 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
5390 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
5391 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
5392 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
5393 * 21_strings/basic_string/element_access/char/1.cc: New.
5394 * 21_strings/basic_string/element_access/char/2.cc: New.
5395 * 21_strings/basic_string/element_access/char/3.cc: New.
5396 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
5397 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
5398 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
5399 * 21_strings/basic_string/find/char/1.cc: New.
5400 * 21_strings/basic_string/find/wchar_t/1.cc: New.
5401 * 21_strings/basic_string/insert/char/1.cc: New.
5402 * 21_strings/basic_string/insert/char/2.cc: New.
5403 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
5404 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
5405 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
5406 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
5407 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
5408 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
5409 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
5410 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
5411 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
5412 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
5413 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
5414 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
5415 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
5416 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
5417 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
5418 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
5419 * 21_strings/basic_string/operators/char/1.cc: New.
5420 * 21_strings/basic_string/operators/char/2.cc: New.
5421 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
5422 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
5423 * 21_strings/basic_string/replace/char/1.cc: New.
5424 * 21_strings/basic_string/replace/char/2.cc: New.
5425 * 21_strings/basic_string/replace/char/3.cc: New.
5426 * 21_strings/basic_string/replace/char/4.cc: New.
5427 * 21_strings/basic_string/replace/char/5.cc: New.
5428 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
5429 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
5430 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
5431 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
5432 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
5433 * 21_strings/basic_string/rfind/char/1.cc: New.
5434 * 21_strings/basic_string/rfind/char/2.cc: New.
5435 * 21_strings/basic_string/rfind/char/3.cc: New.
5436 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
5437 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
5438 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
5439 * 21_strings/basic_string/substr/char/1.cc: New.
5440 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
5441 * 21_strings/c_strings/char/1.cc: New.
5442 * 21_strings/c_strings/char/2.cc: New.
5443 * 21_strings/c_strings/wchar_t/1.cc: New.
5444 * 21_strings/c_strings/wchar_t/2.cc: New.
5445 * 21_strings/char_traits/requirements/char/1.cc: New.
5446 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
5447 * 21_strings/char_traits/typedefs/char/1.cc: New.
5449 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
5450 Petur Runolfsson <peturr02@ru.is>
5453 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5454 basic_filebuf<wchar_t>::_M_underflow_common):
5455 if (gptr() < egptr()) return *gptr().
5456 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
5458 * testsuite/27_io/filebuf_members.cc (test_04): Minor
5459 changes: unlink fifo before making it, fix spelling error.
5461 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
5463 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
5464 * testsuite/Makefile.in: Regenerate.
5465 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
5468 2003-03-17 Petur Runolfsson <peturr02@ru.is>
5471 * include/bits/fstream.tcc (basic_filebuf::close):
5472 Always close file, even when write fails.
5473 * testsuite/27_io/filebuf_members.cc (test_07): New test.
5475 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
5477 * libsupc++/Makefile.am (C_COMPILE): Remove.
5478 (LTCOMPILE): Likewise.
5479 * libsupc++/Makefile.in: Regenerate.
5481 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5483 * testsuite/23_containers/bitset_members.cc: Add test variable.
5484 * testsuite/23_containers/map_insert.cc: Same.
5485 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
5486 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
5487 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
5488 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
5489 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
5490 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
5491 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
5492 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
5493 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
5494 * testsuite/27_io/istream_exception.cc: Same.
5495 * testsuite/27_io/filebuf_virtuals.cc: Same.
5496 * testsuite/27_io/stringbuf_virtuals.cc: Same.
5497 * testsuite/27_io/ostream_inserter_arith.cc: Same.
5498 * testsuite/26_numerics/valarray_operators.cc: Same.
5499 * testsuite/26_numerics/slice.cc: Same.
5500 * testsuite/26_numerics/slice_array_assignment.cc: Same.
5501 * testsuite/24_iterators/istream_iterator.cc: Same.
5502 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
5504 2003-03-14 Petur Runolfsson <peturr02@ru.is>
5508 * config/locale/generic/ctype_members.cc,
5509 * config/locale/gnu/ctype_members.cc
5510 (ctype<wchar_t>::do_widen(char)): Cast argument to
5511 unsigned char before passing to btowc.
5512 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
5513 Convert characters with btowc instead of mbsrtowcs.
5514 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
5516 Convert characters with wctob instead of wcsrtombs.
5517 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
5518 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
5519 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
5521 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5523 * include/stdc++.h: New.
5524 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
5525 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
5526 * include/Makefile.in: Regenerate.
5527 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
5528 (--cxxflags): Put -g -O2 here.
5529 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
5531 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
5533 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
5534 missing named locale.
5536 2003-03-14 Andreas Schwab <schwab@suse.de>
5538 * configure.in: Only append to makefiles that are newly created to
5539 avoid multiple multi-do/multi-clean rules.
5540 * configure: Rebuilt.
5542 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
5544 * docs/html/configopts.html, docs/html/documentation.html,
5545 docs/html/explanations.html, docs/html/install.html,
5546 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
5547 invalid XHTML and make page header style consistent.
5549 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
5551 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
5552 * docs/html/faq/index.txt: Regenerate.
5553 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
5555 2003-03-12 Andreas Schwab <schwab@suse.de>
5557 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
5558 glibcpp_toolexeclibdir.
5559 * aclocal.m4, configure: Rebuilt.
5561 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
5563 * docs/html/faq/index.html: Update text about location of headers.
5564 * docs/html/faq/index.txt: Regenerate.
5566 2003-03-11 Carlo Wood <carlo@alinoe.com>
5568 * include/bits/demangle.h: Prepend accessors of
5569 class qualifier with 'get_' in order to fix warnings
5570 when compiling with -Wshadow.
5572 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
5574 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
5576 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
5578 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
5579 report lack of setenv().
5581 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5583 * config/io/basic_file_stdio.cc: include <unistd.h>.
5585 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5586 Nathan Myers <ncm@cantrip.org>
5589 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
5590 seekoff, seekpos): Add a boolean parameter __stdio.
5591 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
5592 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
5593 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
5595 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
5596 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
5597 * include/std/std_fstream.h (sync): Likewise.
5598 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
5599 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
5600 libstdc++/8399 commit involving isatty(0).
5601 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
5602 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
5603 * configure.in: Remove call.
5604 * aclocal.m4: Regenerate.
5605 * config.h.in: Regenerate.
5606 * configure: Regenerate.
5607 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
5609 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5612 * include/bits/fstream.tcc (overflow): don't write EOF to file.
5613 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
5615 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5618 * include/bits/basic_ios.h (_M_setstate): New.
5619 * include/bits/ostream.tcc (operator<<): Use it.
5620 * include/bits/istream.tcc (operator>>): Use it.
5621 * include/std/std_ostream.h (operator<<): Make friends.
5622 * include/std/std_istream.h (operator>>): Make friends.
5623 * testsuite/27_io/ostream_exception.cc,
5624 testsuite/27_io/istream_exception.cc: New tests.
5626 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
5628 * include/bits/locale_facets.tcc: Fix typo.
5630 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
5632 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
5634 * config/locale/generic/c_locale.cc
5635 (locale::facet::_S_create_c_locale): Throw runtime exception when
5636 unsupported language is specified.
5637 * testsuite/testsuite_hooks.h
5638 (run_test_wrapped_generic_locale_exception_catcher): New function.
5639 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
5640 Suppress runtime exception thrown by generic implementation.
5641 (run_tests_wrapped_env): Likewise.
5642 (run_test_wrapped_generic_locale_exception_catcher): New function.
5643 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
5644 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
5645 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
5646 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
5647 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
5648 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
5649 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5650 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5651 * testsuite/22_locale/facet/2.cc: New test wrap.
5652 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5653 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5654 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5655 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5656 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5657 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5658 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5659 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5660 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5661 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5662 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5663 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5664 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5665 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5666 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5667 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5668 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5669 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5670 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5671 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5672 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5673 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5674 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5675 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5676 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5677 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5678 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5679 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5680 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5681 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5682 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5683 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5684 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5685 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5686 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5687 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5688 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5689 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5690 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5691 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5692 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5693 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5694 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5695 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5696 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5697 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5698 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5699 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5700 * testsuite/27_io/ios_members.cc: New test wrap.
5701 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5703 * testsuite/27_io/streambuf_members.cc: New test wrap.
5704 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5706 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5707 Petur Runolfsson <peturr02@ru.is>
5710 * include/bits/streambuf.tcc (__copy_streambufs): Use
5711 sgetn-sputn only when sputn cannot fail, otherwise fall back
5712 to safe snextc-sputc.
5713 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5715 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5717 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5718 locale cache for truename and falsename.
5720 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5722 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5723 _M_word_size initialization.
5725 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5727 * include/bits/fstream.tcc (_M_convert_to_external):
5728 Set __elen to zero if codecvt::out eventually fails.
5730 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5733 * include/bits/fstream.tcc (_M_really_overflow): Check
5734 for _M_convert_to_external possible failures.
5735 * include/std/std_fstream.h (sync): Check _M_really_overflow
5736 return value and return -1 in case of failure.
5737 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5739 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5742 * include/bits/istream.tcc (operator>>(_CharT*),
5743 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5744 * testsuite/27_io/stringstream.cc (test02): Add.
5746 * include/bits/istream.tcc (operator>>(_CharT*)):
5747 Assign a char_type to *__s.
5749 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5752 * include/bits/locale_facets.tcc
5753 (collate::do_compare, collate::do_transform):
5754 Handle nul characters in input.
5755 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5756 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5757 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5758 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5760 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5762 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5764 * testsuite/27_io/ostream_fail.cc: New test.
5766 2003-03-07 Matthias Klose <doko@debian.org>
5768 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5769 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5770 * Makefile.in: Regenerate.
5771 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5773 AM_MAKEFLAGS: Pass gxx_include_dir.
5774 * libsupc++/Makefile.in: Regenerate.
5776 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5778 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5779 mask. Test setting small-numbered pword and iword slots. Test
5780 behavior at limit of numeric_limits::max. Check that values are
5781 still good after failures.
5783 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5785 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5786 (ios_base::ios_base): Set _M_word, _M_word_size.
5787 (ios_base::~ios_base): Remove redundant test.
5788 * testsuite/27_io/ios_base_storage.cc (test03): New.
5790 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5792 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5793 incorrect whitespace added in my previous change.
5795 2003-03-05 Carlo Wood <carlo@alinoe.com>
5797 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5798 _S_initialized() in order to allow debugging libraries to detect
5799 when the std streams are initialized from an overloaded operator
5802 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5804 * libsupc++/demangle.h: Move to..
5805 * include/bits/demangle.h: ...here.
5806 * src/demangle.cc: Adjust include.
5807 * include/Makefile.am (bits_headers): Add.
5808 * include/Makefile.in: Regenerate.
5810 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5812 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5814 * config/linker-map.gnu: Filter typeinfo and vtable info.
5816 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5818 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5819 new failure. Throw exception if badbit and exception mask when ix
5820 >= numeric_limits<int>::max().
5822 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5824 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5825 min and max have the same type.
5826 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5828 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5830 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5831 * include/Makefile.in: Regenerate.
5833 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5835 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5837 * config/linker-map.gnu: Hide more stuff.
5838 * include/Makefile.am: Cleanups.
5839 * include/Makefile.in: Regenerate.
5841 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5843 * config/locale/generic/messages_members.h (messages::messages):
5844 Remove name from unused parameter.
5846 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5848 * src/Makefile.am (sources): Add demangle.cc.
5851 * src/Makefile.in: Regenerate.
5852 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5853 * libsupc++/Makefile.in: Regenerate.
5855 * testsuite/testsuite_hooks.h
5856 (__gnu_cxx_test::verify_demangle): New.
5857 * testsuite/testsuite_hooks.cc: Define.
5859 2003-02-27 Carlo Wood <carlo@alinoe.com>
5861 * src/demangle.cc: New.
5862 * libsupc++/demangle.h: New.
5864 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5865 Carlo Wood <carlo@alinoe.com>
5867 * testsuite/demangle/abi_examples/01.cc: New.
5868 * testsuite/demangle/abi_examples/02.cc: New.
5869 * testsuite/demangle/abi_examples/03.cc: New.
5870 * testsuite/demangle/abi_examples/04.cc: New.
5871 * testsuite/demangle/abi_examples/05.cc: New.
5872 * testsuite/demangle/abi_examples/06.cc: New.
5873 * testsuite/demangle/abi_examples/07.cc: New.
5874 * testsuite/demangle/abi_examples/08.cc: New.
5875 * testsuite/demangle/abi_examples/09.cc: New.
5876 * testsuite/demangle/abi_examples/10.cc: New.
5877 * testsuite/demangle/abi_examples/11.cc: New.
5878 * testsuite/demangle/abi_examples/12.cc: New.
5879 * testsuite/demangle/abi_examples/13.cc: New.
5880 * testsuite/demangle/abi_examples/14.cc: New.
5881 * testsuite/demangle/abi_examples/15.cc: New.
5882 * testsuite/demangle/abi_examples/16.cc: New.
5883 * testsuite/demangle/abi_examples/17.cc: New.
5884 * testsuite/demangle/abi_examples/18.cc: New.
5885 * testsuite/demangle/abi_examples/19.cc: New.
5886 * testsuite/demangle/abi_examples/20.cc: New.
5887 * testsuite/demangle/abi_examples/21.cc: New.
5888 * testsuite/demangle/abi_examples/22.cc: New.
5889 * testsuite/demangle/abi_examples/23.cc: New.
5890 * testsuite/demangle/abi_examples/24.cc: New.
5891 * testsuite/demangle/abi_examples/25.cc: New.
5892 * testsuite/demangle/abi_examples/26.cc: New.
5893 * testsuite/demangle/abi_text/01.cc: New.
5894 * testsuite/demangle/abi_text/02.cc: New.
5895 * testsuite/demangle/abi_text/03.cc: New.
5896 * testsuite/demangle/abi_text/04.cc: New.
5897 * testsuite/demangle/abi_text/05.cc: New.
5898 * testsuite/demangle/abi_text/06.cc: New.
5899 * testsuite/demangle/abi_text/07.cc: New.
5900 * testsuite/demangle/abi_text/08.cc: New.
5901 * testsuite/demangle/abi_text/09.cc: New.
5902 * testsuite/demangle/abi_text/10.cc: New.
5903 * testsuite/demangle/abi_text/11.cc: New.
5904 * testsuite/demangle/abi_text/12.cc: New.
5905 * testsuite/demangle/abi_text/13.cc: New.
5906 * testsuite/demangle/abi_text/14.cc: New.
5907 * testsuite/demangle/regression/3111-1.cc: New.
5908 * testsuite/demangle/regression/3111-2.cc: New.
5909 * testsuite/demangle/regression/7986-01.cc: New.
5910 * testsuite/demangle/regression/7986-02.cc: New.
5911 * testsuite/demangle/regression/7986-03.cc: New.
5912 * testsuite/demangle/regression/7986-04.cc: New.
5913 * testsuite/demangle/regression/7986-05.cc: New.
5914 * testsuite/demangle/regression/7986-06.cc: New.
5915 * testsuite/demangle/regression/7986-07.cc: New.
5916 * testsuite/demangle/regression/7986-08.cc: New.
5917 * testsuite/demangle/regression/7986-09.cc: New.
5918 * testsuite/demangle/regression/7986-10.cc: New.
5919 * testsuite/demangle/regression/7986-11.cc: New.
5920 * testsuite/demangle/regression/7986-12.cc: New.
5921 * testsuite/demangle/regression/7986.cc: New.
5922 * testsuite/demangle/regression/8897.cc: New.
5923 * testsuite/demangle/regression/cw-01.cc: New.
5924 * testsuite/demangle/regression/cw-02.cc: New.
5925 * testsuite/demangle/regression/cw-03.cc: New.
5926 * testsuite/demangle/regression/cw-04.cc: New.
5927 * testsuite/demangle/regression/cw-05.cc: New.
5928 * testsuite/demangle/regression/cw-06.cc: New.
5929 * testsuite/demangle/regression/cw-07.cc: New.
5930 * testsuite/demangle/regression/cw-08.cc: New.
5931 * testsuite/demangle/regression/cw-09.cc: New.
5932 * testsuite/demangle/regression/cw-10.cc: New.
5933 * testsuite/demangle/regression/cw-11.cc: New.
5934 * testsuite/demangle/regression/cw-12.cc: New.
5935 * testsuite/demangle/regression/cw-13.cc: New.
5936 * testsuite/demangle/regression/cw-14.cc: New.
5937 * testsuite/demangle/regression/old.cc: New.
5939 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5941 * docs/doxygen/Intro.3: Update with new (proper) names.
5942 * docs/doxygen/TODO: Update.
5943 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5944 Fake entries for standard typedefs.
5945 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5946 * docs/html/documentation.html: Top-level man page is now called
5948 * include/std/std_limits.h: Doxygenate.
5950 2003-02-25 Scott Snyder <snyder@fnal.gov>
5953 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5954 Correct documentation.
5955 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5956 equal_range): Likewise.
5958 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5962 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5963 __bump is true (uflow), always increment the read pointer
5964 (_M_in_cur) before returning successfully.
5965 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5967 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5968 Nathan Myers <ncm@cantrip.org>
5970 PR libstdc++/9404, PR libstdc++/9701 (partial)
5971 (aka pptr == epptr implies overflow)
5972 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5973 Consistently, _M_out_end points to the end of the buffer just
5975 (overflow): Tweak to use _M_out_buf_size().
5976 (_M_convert_to_external): The role of the old _M_out_end is
5977 now played by _M_out_lim.
5978 (_M_really_overflow): Likewise.
5979 (seekoff): Likewise.
5980 (setbuf): _M_out_end points to the end of the external buffer.
5981 * include/bits/sstream.tcc (overflow): Rewrote, taking into
5982 account the resolution of DR 169 (TC).
5983 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
5984 (seekpos): Use _M_string.capacity(); tweak.
5985 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
5986 * include/std/std_fstream.h (sync): The role of the old
5987 _M_out_end is now played by _M_out_lim.
5988 (_M_set_indeterminate): Use _M_set_determinate.
5989 (_M_set_determinate): _M_out_end is now _M_out_lim.
5990 (_M_is_indeterminate): Likewise.
5991 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
5992 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
5993 which have the information readily available as _M_string.capacity();
5994 for ate and app modes, pass the string size to _M_really_sync.
5995 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
5996 point to the end of the buffer (i.e., epptr) and to the string end,
5998 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
5999 which points to the right limit of the used put area.
6000 (_M_out_cur_move): The role of the old _M_out_end is now played
6002 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
6003 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
6005 (basic_streambuf()): Initialize _M_out_lim too.
6006 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
6007 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
6008 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
6010 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
6012 * testsuite/27_io/ios_base_storage.cc (main): Call
6015 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
6017 * include/bits/locale_facets.tcc (_M_convert_float): Replace
6018 numpunct facet accesses with data from __locale_cache.
6020 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
6022 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
6023 * docs/html/faq/index.txt: Regenerate.
6025 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
6027 * config/linker-map.gnu: Also export locking symbols needed for the
6028 generic atomicity.h case.
6030 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
6032 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6034 * configure: Rebuilt.
6036 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
6038 * include/bits/sstream.tcc (overflow): According to
6039 27.7.1.3, p5, actual output is performed by sputc(c).
6041 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
6044 * include/bits/stl_alloc.h: Remove all traces of assert().
6046 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
6048 * include/std/std_sstream.h (str()): the size of the
6049 current string may be different from the initial one
6050 whenever _M_out_end > _M_out_beg.
6051 * testsuite/27_io/stringbuf_members.cc (test07): Add.
6053 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
6056 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
6058 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
6060 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
6061 * testsuite/27_io/ios_members.cc (test03): New.
6063 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
6065 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
6066 (basic_ios::_M_cache_facets): Move into above.
6067 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
6069 (basic_ios::imbue): Force locale cache to be built.
6070 (basic_ios::_M_init): Create and initialize locale cache.
6071 * include/bits/ios_base.h (__locale_cache_base): Declare.
6072 (ios_base::_M_locale_cache): New.
6073 (ios_base::_M_cache): Define.
6074 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
6076 (__locale_cache_base,__locale_cache<_CharT>): New classes.
6077 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
6078 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
6079 cache literal string, grouping flag, thousands separator.
6080 (__locale_cache<_CharT>::__locale_cache): New.
6081 (__locale_cache<_CharT>::_M_init): New.
6082 * src/ios.cc: Clear _M_locale_cache in constructor.
6083 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
6086 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6088 * src/locale-inst.cc: Do not include <cassert>.
6089 * src/locale.cc: Likewise.
6091 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6094 * include/std/std_fstream.h: Declare underflow and uflow
6095 specializations, change generic definitions to do nothing.
6096 * src/fstream.cc: Add underflow and uflow specializations.
6098 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6101 * include/bits/fstream.tcc (_M_convert_to_external):
6102 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
6103 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
6105 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
6107 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
6108 * include/bits/basic_ios.tcc: Guard use of extern template.
6109 * include/std/std_iomanip.h: Same.
6110 * include/bits/streambuf.tcc: Same.
6111 * include/bits/stl_alloc.h: Same.
6112 * include/bits/locale_facets.tcc: Same.
6113 * include/bits/ostream.tcc: Same.
6114 * include/bits/istream.tcc: Same.
6115 * include/bits/fstream.tcc: Same.
6116 * include/bits/basic_string.tcc: Same.
6118 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
6120 * include/bits/ostream.tcc (sentry::sentry): Improve
6121 performance-wise the fix for libstdc++/9563.
6123 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
6125 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
6126 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
6127 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
6128 when we don't have static mutex initialization.
6129 (__exchange_and_add): Use _Atomic_add_mutex_once.
6130 * src/misc-inst.cc: Definitions of all the above.
6132 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
6135 * include/bits/ostream.tcc (sentry::sentry): Check
6136 the state of the stream after the preparation.
6137 * testsuite/27_io/ostream_sentry.cc (test02): Add.
6139 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
6141 * include/Makefile.am (stamp-std-precompile): Add rule.
6142 * include/Makefile.in: Regenerated.
6144 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
6145 Benjamin Kosnik <benjamin@redhat.com>
6147 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
6148 Add indexes into this array.
6149 (__num_base::_S_atoms): To _S_atoms_in.
6150 (num_put::_M_insert): Rename to _M_pad.
6151 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
6152 (num_put::_M_widen_int): Rename to _M_group_int.
6153 (num_put::_M_widen_float): Rename to _M_group_float.
6154 * include/bits/locale_facets.tcc (__int_to_char): New inline
6155 function and adapter functions.
6156 (num_put::_M_group_int): Streamline.
6157 (num_put::_M_group_float): Streamline.
6158 (num_put::_M_convert_int): Remove unused parameter names. Choose
6159 large enough buffer for text. Use __int_to_char instead of
6160 __convert_from_v. Formatted text is now at the end of the buffer.
6161 (num_put::_M_convert_float): Preliminary fixups.
6162 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
6163 (__int_to_char<unsigned long long>): Same.
6164 (__int_to_char<char, unsigned long>): New.
6165 (__int_to_char<char, unsigned long long>): New.
6166 (__int_to_char<wchar_t, unsigned long>): New.
6167 (__int_to_char<wchar_t, unsigned long long>): New.
6169 2003-02-11 Scott Snyder <snyder@fnal.gov>
6172 * include/bits/fstream.tcc (seekoff): Avoid operator+
6175 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
6178 * include/ext/stdio_filebuf.h
6179 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
6180 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
6181 Change to take a __size parameter of type size_t, not
6182 of type (template parameter dependent) int_type.
6183 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
6184 size vars to size_t.
6185 * testsuite/ext/stdio_filebuf.cc: Add.
6187 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
6188 Petur Runolfsson <peturr02@ru.is>
6191 * include/bits/streambuf.tcc (__copy_streambufs):
6192 Don't conditionalize the copy to __testput.
6193 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
6195 2002-02-11 DJ Delorie <dj@redhat.com>
6197 * acinclude.m4: Check for native targets that can't link at
6198 this point in the build.
6199 * aclocal.m4: Regenerate.
6200 * configure: Regenerate.
6202 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6204 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
6206 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
6209 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
6211 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
6212 unsigned char platforms.
6214 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
6217 * include/std/std_istream.h
6218 (basic_istream::sentry::operator bool()): Make const.
6219 * include/std/std_ostream.h
6220 (basic_ostream::sentry::operator bool()): Likewise.
6221 * testsuite/27_io/istream_sentry.cc (test03): Add.
6222 * testsuite/27_io/ostream_sentry.cc: Add.
6224 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
6227 Implement resolution of DR 231 (Ready)
6228 * include/bits/locale_facets.h (__num_base::_S_format_float):
6229 Change declaration: return void, remove __prec parameter.
6230 * src/locale.cc (__num_base::_S_format_float): Implement
6231 resolution of DR 231.
6232 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
6233 Tweak uses. Check for negative precision.
6234 * testsuite/22_locale/num_put/put/char/6.cc: Add
6235 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
6237 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
6239 * config/io/basic_file_libio.h: Fixups.
6240 * config/io/c_io_libio.h: Same.
6241 * libio/Makefile.am: Same.
6242 * libio/Makefile.in: Regenerated.
6244 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
6246 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
6247 Explicitly use the "C" locale.
6248 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
6250 2003-02-06 Petur Runolfsson <peturr02@ru.is>
6254 PR libstdc++/9028 (partial)
6260 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
6261 codecvt<wchar_t, char, mbstate_t>::do_length,
6262 codecvt<wchar_t, char, mbstate_t>::do_max_length):
6264 * config/locale/generic/codecvt_members.cc: ...here.
6265 * config/locale/gnu/codecvt_members.cc: ...and here.
6267 * config/locale/generic/codecvt_members.cc,
6268 * config/locale/gnu/codecvt_members.cc
6269 (codecvt<wchar_t, char, mbstate_t>::do_encoding
6270 codecvt<wchar_t, char, mbstate_t>::do_in,
6271 codecvt<wchar_t, char, mbstate_t>::do_length,
6272 codecvt<wchar_t, char, mbstate_t>::do_max_length,
6273 codecvt<wchar_t, char, mbstate_t>::do_out):
6274 New implementation that handles stateless encodings,
6277 * config/locale/generic/codecvt_members.cc,
6278 * config/locale/gnu/codecvt_members.cc,
6279 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
6280 * include/bits/codecvt.h,
6282 (codecvt::length, codecvt::do_length):
6283 Change type of first argument of length and do_length from
6284 'const state_type&' to 'state_type&' according to DR 75.
6286 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
6287 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
6288 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
6289 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
6290 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
6291 Cleanup and check for correct return value from encoding
6293 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
6294 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
6295 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
6296 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
6297 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
6298 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
6299 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
6300 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
6301 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
6302 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
6303 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
6304 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
6305 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
6306 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
6307 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
6308 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
6309 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
6310 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
6311 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
6312 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
6313 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
6314 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
6315 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
6316 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
6317 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
6318 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
6319 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
6320 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
6321 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
6322 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
6323 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
6324 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
6325 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
6326 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
6327 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
6328 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
6329 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
6331 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
6333 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
6334 (money_put::do_put): Same.
6336 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
6338 * include/bits/ios_base.h (ios_base): Document reserved storage.
6340 * include/bits/locale_facets.h: (struct __pad): Comment on
6342 (__verify_grouping): Same.
6343 (__add_grouping): Same.
6344 * include/bits/locale_facets.tcc (__verify_grouping): Move
6345 comments to declaration.
6346 (__add_grouping): Same.
6348 * include/bits/locale_facets.tcc:
6349 (__write<_CharT, _OutIter>): New function.
6350 (__write<_CharT>): New function specialization.
6351 (num_put::_M_insert): Remove explicit loop over iterator. Use
6353 (num_put::_M_widen_float): Remove __basefield.
6354 (num_put::_M_widen_int): Move __basefield to within grouping block.
6356 * include/bits/streambuf_iterator.h: Include <streambuf>.
6357 (ostreambuf_iterator::_M_put): Add.
6359 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
6361 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
6363 2003-02-04 Nathan Myers <ncm@cantrip.org>
6365 * testsuite/25_algorithms/min_max.cc (test02): Add.
6367 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6369 PR libstdc++/9439, PR libstdc++/9425
6370 * config/io/basic_file_stdio.cc
6371 (__basic_file<char>::seekoff, seekpos): Return -1L if
6373 * include/bits/fstream.tcc (basic_filebuf::seekoff):
6374 Check _M_file.seekoff return value; always return
6375 pos_type(off_type(-1)) in case of failure.
6376 (basic_filebuf::pbackfail): Check this->seekoff return
6377 value and return traits_type::eof() in case of failure.
6378 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
6380 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
6382 * include/std/std_ostream.h (ostream::_M_write): Declare.
6383 * ostream.tcc (ostream::_M_write): Define.
6384 (basic_ostream::write): Use it.
6385 (operator<<(basic_ostream, _CharT)): Ditto.
6386 (operator<<(basic_ostream, char)): Ditto.
6387 (operator<<(basic_ostream, _CharT*)): Ditto.
6388 (operator<<(basic_ostream, char*)): Ditto.
6389 (operator<<(basic_ostream, basic_string)): Ditto.
6391 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
6393 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
6395 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6397 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
6398 add HTML comment about updating links if numbering changes.
6400 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6403 * include/bits/streambuf.tcc (sputbackc): Access
6404 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
6405 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6407 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6410 * include/bits/fstream.tcc (open): If the 'ate' repositioning
6411 operation fails, calls close _and_ returns a null pointer
6412 to indicate failure (27.8.1.3,4).
6413 * testsuite/27_io/filebuf_members.cc (test_06): Add.
6415 2003-02-04 Petur Runolfsson <peturr02@ru.is>
6417 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
6419 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6421 * docs/html/27_io/howto.html: New section on stdio_filebuf.
6422 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
6423 * docs/html/documentation.html: Regenerate.
6425 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
6427 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
6428 * docs/html/17_intro/porting.html: Regenerate.
6430 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
6431 Phil Edwards <pme@gcc.gnu.org>
6433 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
6434 numeric_limits for bits-per-word values.
6435 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
6436 Use __builtin_popcountl instead.
6437 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
6438 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
6439 Use __builtin_ctzl instead.
6440 (_S_bit_count, _S_first_one): Remove.
6441 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
6442 * src/Makefile.am (sources): Remove bitset.cc.
6443 * src/bitset.cc: Delete file.
6444 * src/Makefile.in: Regenerate.
6446 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
6448 PR libstdc++/9527, PR libstdc++/8713
6449 * docs/html/install.html: Mention glibc version requirement.
6450 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
6451 with 3.2.1+ (formatting bugfixes).
6452 * docs/html/faq/index.txt: Regenerate.
6454 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
6457 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
6460 * include/bits/valarray_before.h (__not_equal_to): Use != instead
6463 * testsuite/26_numerics/valarray_operators.cc: New test.
6465 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
6467 * docs/html/faq/index.html: Correct link to libg++ information.
6468 * docs/html/faq/index.txt: Regenerated.
6470 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
6471 Benjamin Kosnik <bkoz@redhat.com>
6473 Const correctness issue:
6474 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
6475 * include/bits/locale_classes.h
6476 (locale::_Impl::_M_facets): Change type to const facet**.
6477 (locale::_Impl::_M_install_facet): Change declaration to
6479 (locale::facet::_M_references): Make mutable.
6480 (locale::facet::_M_add_reference): Declare const.
6481 (locale::facet::_M_remove_reference): Likewise.
6482 * include/bits/locale_facets.tcc
6483 (use_facet(const locale&)): Tweak for const facet** _M_facets.
6484 (has_facet(const locale&)): Likewise.
6486 (locale::facet::_M_add_reference): Adjust definition.
6487 (locale::facet::_M_remove_reference): Likewise.
6489 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
6490 const facet** _M_facets.
6491 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
6492 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
6493 (locale::_Impl::_M_install_facet): Adjust definition to take
6494 const facet* and for const facet** _M_facets.
6495 * testsuite/22_locale/locale/cons/8.cc: Add.
6497 2003-01-29 Mark Mitchell <mark@codesourcery.com>
6499 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
6500 Use __FLT_HAS_INIFINITY__ to initialize.
6501 (numeric_limits<float>::has_quiet_NaN): Likewise.
6502 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
6504 (numeric_limits<double>::has_quiet_NaN): Likewise.
6505 (numeric_limits<long double>::has_infinity): Use
6506 __LDBL_HAS_INIFINITY__ to initialize.
6507 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
6509 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
6512 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
6513 with bases which are very ambiguous.
6515 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
6517 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
6518 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
6519 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
6520 * src/Makefile.in: Regenerate.
6521 * libsupc++/Makefile.in: Regenerate.
6523 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6525 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
6526 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
6527 version_specific_libs is enabled.
6528 * aclocal.m4, configure: Rebuilt.
6530 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
6532 * include/bits/valarray_meta.h: Remove, split into ...
6533 * include/bits/valarray_before.h: ... this, and ...
6534 * include/bits/valarray_after.h: ... this.
6535 * include/std/std_valarray.h: Adjust.
6536 * include/Makefile.am (bits_headers): Adjust.
6537 * include/Makefile.in: Regenerate.
6539 2003-01-24 Andreas Schwab <schwab@suse.de>
6541 * config/linker-map.gnu: Fix for size_t variance.
6543 2003-01-23 Petur Runolfsson <peturr02@ru.is>
6546 * include/std/std_streambuf.h
6547 (basic_streambuf::basic_streambuf,
6548 basic_streambuf::~basic_streambuf,
6549 basic_streambuf::getloc, basic_streambuf::imbue):
6550 Remove _M_buf_locale_init
6551 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
6552 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6553 * testsuite/27_io/streambuf_members.cc (test08): Add.
6554 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
6556 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6558 Revert include ordering.
6559 * config/locale/generic/c_locale.h: Add include guards.
6560 * config/locale/gnu/c_locale.h: Same.
6561 * include/bits/locale_classes.h: Remove cctype include.
6562 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
6563 * include/std/std_fstream.h: Remove streambuf include.
6564 * include/std/std_sstream.h: Remove streambuf include.
6566 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6568 * configure.in (libtool_VERSION): To 6:0:0.
6569 * configure: Regenerated.
6570 * config/linker-map.gnu: Clean.
6572 * src/misc-inst.cc: Remove instantiations.
6574 * include/bits/stl_alloc.h (__malloc_alloc_template):
6576 (__default_alloc_template): To __pool_alloc.
6577 * src/stl-inst.cc: Same.
6578 * include/backward/alloc.h: Update.
6579 * testsuite/ext/allocators.cc: Update.
6581 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
6582 really try to remove these if possible.
6583 * src/locale.cc (std): Same.
6585 * testsuite/abi_check.cc (check_version): Add.
6587 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6588 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
6589 Mark Mitchell <mark@codesourcery.com>
6592 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
6593 (basic_filebuf::underflow): Declare.
6596 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6598 * include/bits/locale_facets.h: Move non-facet classes requiring
6600 * include/bits/locale_classes.h: New.
6601 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
6602 * include/bits/Makefile.in: Regenerate.
6604 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
6605 * config/locale/gnu/c_locale.h: ...here.
6606 * config/locale/generic/c_locale.h: Same.
6608 * include/bits/locale_facets.tcc: Move declarations to...
6609 * include/bits/locale_facets.h: ...here.
6610 * include/bits/basic_ios.h: Tweak includes accordingly.
6611 * include/std/std_sstream.h: Add streambuf include.
6612 * include/std/std_fstream.h: Ditto.
6613 * include/std/std_locale.h: Add locale_classes.h include.
6614 * include/std/std_iosfwd.h: Tweak.
6615 * src/concept-inst.cc: Add iterator include.
6617 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
6618 bits as unexported in the future.
6620 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
6622 Reshuffle 22_locale testsuite.
6623 * 22_locale/(codecvt.cc money_get.cc
6624 codecvt_members_char_char.cc money_get_members_char.cc
6625 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
6626 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
6627 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
6628 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
6629 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
6630 money_put_members_char.cc ctor_copy_dtor.cc
6631 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
6632 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
6633 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
6634 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
6635 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
6636 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
6637 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
6638 operators.cc ctype_widen_char.cc static_members.cc
6639 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
6640 global_templates.cc time_get_members_wchar_t.cc, members.cc,
6641 time_put.cc, messages_byname.cc, time_put_members_char.cc,
6642 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
6643 Split up into individual test cases...
6644 * 22_locale/codecvt/1.cc: New.
6645 * 22_locale/codecvt/2.cc: New.
6646 * 22_locale/codecvt/always_noconv/char/1.cc: New.
6647 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
6648 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
6649 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6650 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6651 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6652 * 22_locale/codecvt/encoding/char/1.cc: New.
6653 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6654 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6655 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6656 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6657 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6658 * 22_locale/codecvt/in/char/1.cc: New.
6659 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6660 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6661 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6662 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6663 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6664 * 22_locale/codecvt/length/char/1.cc: New.
6665 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6666 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6667 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6668 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6669 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6670 * 22_locale/codecvt/max_length/char/1.cc: New.
6671 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6672 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6673 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6674 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6675 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6676 * 22_locale/codecvt/out/char/1.cc: New.
6677 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6678 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6679 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6680 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6681 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6682 * 22_locale/codecvt/unicode/char.cc: New.
6683 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6684 * 22_locale/codecvt/unshift/char/1.cc: New.
6685 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6686 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6687 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6688 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6689 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6690 * 22_locale/collate/1.cc: New.
6691 * 22_locale/collate/2.cc: New.
6692 * 22_locale/collate/compare/char/1.cc: New.
6693 * 22_locale/collate/compare/char/2.cc: New.
6694 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6695 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6696 * 22_locale/collate/compare/wchar_t/1.cc: New.
6697 * 22_locale/collate/compare/wchar_t/2.cc: New.
6698 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6699 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6700 * 22_locale/collate/hash/char/1.cc: New.
6701 * 22_locale/collate/hash/char/2.cc: New.
6702 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6703 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6704 * 22_locale/collate/hash/wchar_t/1.cc: New.
6705 * 22_locale/collate/hash/wchar_t/2.cc: New.
6706 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6707 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6708 * 22_locale/collate/transform/char/2.cc: New.
6709 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6710 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6711 * 22_locale/collate/transform/wchar_t/2.cc: New.
6712 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6713 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6714 * 22_locale/collate_byname/1.cc: New.
6715 * 22_locale/ctype/1.cc: New.
6716 * 22_locale/ctype/2.cc: New.
6717 * 22_locale/ctype/cons/char/1.cc: New.
6718 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6719 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6720 * 22_locale/ctype/is/char/1.cc: New.
6721 * 22_locale/ctype/is/char/2.cc: New.
6722 * 22_locale/ctype/is/char/3.cc: New.
6723 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6724 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6725 * 22_locale/ctype/is/wchar_t/1.cc: New.
6726 * 22_locale/ctype/is/wchar_t/2.cc: New.
6727 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6728 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6729 * 22_locale/ctype/narrow/char/1.cc: New.
6730 * 22_locale/ctype/narrow/char/2.cc: New.
6731 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6732 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6733 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6734 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6735 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6736 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6737 * 22_locale/ctype/scan/char/1.cc: New.
6738 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6739 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6740 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6741 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6742 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6743 * 22_locale/ctype/to/char/1.cc: New.
6744 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6745 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6746 * 22_locale/ctype/to/wchar_t/1.cc: New.
6747 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6748 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6749 * 22_locale/ctype/widen/char/1.cc: New.
6750 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6751 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6752 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6753 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6754 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6755 * 22_locale/facet/1.cc: New.
6756 * 22_locale/facet/2.cc: New.
6757 * 22_locale/global_templates/1.cc: New.
6758 * 22_locale/locale/cons/1.cc: New.
6759 * 22_locale/locale/cons/2.cc: New.
6760 * 22_locale/locale/cons/3.cc: New.
6761 * 22_locale/locale/cons/4.cc: New.
6762 * 22_locale/locale/cons/5.cc: New.
6763 * 22_locale/locale/cons/6.cc: New.
6764 * 22_locale/locale/cons/7.cc: New.
6765 * 22_locale/locale/global_locale_objects/1.cc: New.
6766 * 22_locale/locale/global_locale_objects/2.cc: New.
6767 * 22_locale/locale/global_locale_objects/3.cc: New.
6768 * 22_locale/locale/operations/1.cc: New.
6769 * 22_locale/locale/operations/2.cc: New.
6770 * 22_locale/messages/1.cc: New.
6771 * 22_locale/messages/2.cc: New.
6772 * 22_locale/messages/members/char/1.cc: New.
6773 * 22_locale/messages/members/char/2.cc: New.
6774 * 22_locale/messages/members/char/3.cc: New.
6775 * 22_locale/messages/members/char/wrapped_env.cc: New.
6776 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6777 * 22_locale/messages_byname/1.cc: New.
6778 * 22_locale/money_get/1.cc: New.
6779 * 22_locale/money_get/2.cc: New.
6780 * 22_locale/money_get/get/char/1.cc: New.
6781 * 22_locale/money_get/get/char/2.cc: New.
6782 * 22_locale/money_get/get/char/3.cc: New.
6783 * 22_locale/money_get/get/char/4.cc: New.
6784 * 22_locale/money_get/get/char/5.cc: New.
6785 * 22_locale/money_get/get/char/6.cc: New.
6786 * 22_locale/money_get/get/char/7.cc: New.
6787 * 22_locale/money_get/get/char/8.cc: New.
6788 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6789 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6790 * 22_locale/money_get/get/wchar_t/1.cc: New.
6791 * 22_locale/money_get/get/wchar_t/2.cc: New.
6792 * 22_locale/money_get/get/wchar_t/3.cc: New.
6793 * 22_locale/money_get/get/wchar_t/4.cc: New.
6794 * 22_locale/money_get/get/wchar_t/5.cc: New.
6795 * 22_locale/money_get/get/wchar_t/6.cc: New.
6796 * 22_locale/money_get/get/wchar_t/7.cc: New.
6797 * 22_locale/money_get/get/wchar_t/8.cc: New.
6798 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6799 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6800 * 22_locale/money_put/1.cc: New.
6801 * 22_locale/money_put/2.cc: New.
6802 * 22_locale/money_put/put/char/1.cc: New.
6803 * 22_locale/money_put/put/char/2.cc: New.
6804 * 22_locale/money_put/put/char/3.cc: New.
6805 * 22_locale/money_put/put/char/4.cc: New.
6806 * 22_locale/money_put/put/char/5.cc: New.
6807 * 22_locale/money_put/put/char/6.cc: New.
6808 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6809 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6810 * 22_locale/money_put/put/wchar_t/1.cc: New.
6811 * 22_locale/money_put/put/wchar_t/2.cc: New.
6812 * 22_locale/money_put/put/wchar_t/3.cc: New.
6813 * 22_locale/money_put/put/wchar_t/4.cc: New.
6814 * 22_locale/money_put/put/wchar_t/5.cc: New.
6815 * 22_locale/money_put/put/wchar_t/6.cc: New.
6816 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6817 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6818 * 22_locale/moneypunct/1.cc: New.
6819 * 22_locale/moneypunct/2.cc: New.
6820 * 22_locale/moneypunct/3.cc: New.
6821 * 22_locale/moneypunct/members/char/1.cc: New.
6822 * 22_locale/moneypunct/members/char/2.cc: New.
6823 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6824 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6825 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6826 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6827 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6828 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6829 * 22_locale/moneypunct_byname/1.cc: New.
6830 * 22_locale/num_get/1.cc: New.
6831 * 22_locale/num_get/2.cc: New.
6832 * 22_locale/num_get/get/char/1.cc: New.
6833 * 22_locale/num_get/get/char/2.cc: New.
6834 * 22_locale/num_get/get/char/3.cc: New.
6835 * 22_locale/num_get/get/char/4.cc: New.
6836 * 22_locale/num_get/get/char/5.cc: New.
6837 * 22_locale/num_get/get/char/6.cc: New.
6838 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6839 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6840 * 22_locale/num_get/get/wchar_t/1.cc: New.
6841 * 22_locale/num_get/get/wchar_t/2.cc: New.
6842 * 22_locale/num_get/get/wchar_t/3.cc: New.
6843 * 22_locale/num_get/get/wchar_t/4.cc: New.
6844 * 22_locale/num_get/get/wchar_t/5.cc: New.
6845 * 22_locale/num_get/get/wchar_t/6.cc: New.
6846 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6847 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6848 * 22_locale/num_put/1.cc: New.
6849 * 22_locale/num_put/2.cc: New.
6850 * 22_locale/num_put/put/char/1.cc: New.
6851 * 22_locale/num_put/put/char/2.cc: New.
6852 * 22_locale/num_put/put/char/3.cc: New.
6853 * 22_locale/num_put/put/char/4.cc: New.
6854 * 22_locale/num_put/put/char/5.cc: New.
6855 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6856 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6857 * 22_locale/num_put/put/wchar_t/1.cc: New.
6858 * 22_locale/num_put/put/wchar_t/2.cc: New.
6859 * 22_locale/num_put/put/wchar_t/3.cc: New.
6860 * 22_locale/num_put/put/wchar_t/4.cc: New.
6861 * 22_locale/num_put/put/wchar_t/5.cc: New.
6862 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6863 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6864 * 22_locale/numpunct/1.cc: New.
6865 * 22_locale/numpunct/2.cc: New.
6866 * 22_locale/numpunct/members/char/1.cc: New.
6867 * 22_locale/numpunct/members/char/2.cc: New.
6868 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6869 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6870 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6871 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6872 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6873 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6874 * 22_locale/numpunct_byname/1.cc: New.
6875 * 22_locale/numpunct_byname/2.cc: New.
6876 * 22_locale/time_get/1.cc: New.
6877 * 22_locale/time_get/2.cc: New.
6878 * 22_locale/time_get/date_order/char/1.cc: New.
6879 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6880 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6881 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6882 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6883 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6884 * 22_locale/time_get/get_date/char/1.cc: New.
6885 * 22_locale/time_get/get_date/char/2.cc: New.
6886 * 22_locale/time_get/get_date/char/3.cc: New.
6887 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6888 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6889 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6890 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6891 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6892 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6893 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6894 * 22_locale/time_get/get_monthname/char/1.cc: New.
6895 * 22_locale/time_get/get_monthname/char/2.cc: New.
6896 * 22_locale/time_get/get_monthname/char/3.cc: New.
6897 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6898 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6899 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6900 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6901 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6902 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6903 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6904 * 22_locale/time_get/get_time/char/1.cc: New.
6905 * 22_locale/time_get/get_time/char/2.cc: New.
6906 * 22_locale/time_get/get_time/char/3.cc: New.
6907 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6908 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6909 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6910 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6911 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6912 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6913 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6914 * 22_locale/time_get/get_weekday/char/1.cc: New.
6915 * 22_locale/time_get/get_weekday/char/2.cc: New.
6916 * 22_locale/time_get/get_weekday/char/3.cc: New.
6917 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6918 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6919 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6920 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6921 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6922 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6923 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6924 * 22_locale/time_get/get_year/char/1.cc: New.
6925 * 22_locale/time_get/get_year/char/3.cc: New.
6926 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6927 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6928 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6929 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6930 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6931 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6932 * 22_locale/time_put/1.cc: New.
6933 * 22_locale/time_put/2.cc: New.
6934 * 22_locale/time_put/put/char/1.cc: New.
6935 * 22_locale/time_put/put/char/10.cc: New.
6936 * 22_locale/time_put/put/char/2.cc: New.
6937 * 22_locale/time_put/put/char/3.cc: New.
6938 * 22_locale/time_put/put/char/4.cc: New.
6939 * 22_locale/time_put/put/char/5.cc: New.
6940 * 22_locale/time_put/put/char/6.cc: New.
6941 * 22_locale/time_put/put/char/7.cc: New.
6942 * 22_locale/time_put/put/char/8.cc: New.
6943 * 22_locale/time_put/put/char/9.cc: New.
6944 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6945 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6946 * 22_locale/time_put/put/wchar_t/1.cc: New.
6947 * 22_locale/time_put/put/wchar_t/10.cc: New.
6948 * 22_locale/time_put/put/wchar_t/2.cc: New.
6949 * 22_locale/time_put/put/wchar_t/3.cc: New.
6950 * 22_locale/time_put/put/wchar_t/4.cc: New.
6951 * 22_locale/time_put/put/wchar_t/5.cc: New.
6952 * 22_locale/time_put/put/wchar_t/6.cc: New.
6953 * 22_locale/time_put/put/wchar_t/7.cc: New.
6954 * 22_locale/time_put/put/wchar_t/8.cc: New.
6955 * 22_locale/time_put/put/wchar_t/9.cc: New.
6956 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6957 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6959 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6961 * config/locale/generic/messages_members.h
6962 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6963 unqualified members of base clasess.
6965 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6966 Jeffrey Oldham <oldham@codesourcery.com>
6968 * config/locale/gnu/messages_members.h: Use this-> to refer to
6969 unqualified members of base clasess.
6970 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
6971 * include/bits/codecvt.h: Likewise.
6972 * include/bits/deque.tcc: Likewise.
6973 * include/bits/fstream.tcc: Likewise.
6974 * include/bits/istream.tcc: Likewise.
6975 * include/bits/list.tcc: Likewise.
6976 * include/bits/locale_facets.h: Likewise.
6977 * include/bits/ostream.tcc: Likewise.
6978 * include/bits/sstream.tcc: Likewise.
6979 * include/bits/stl_bvector.h: Likewise.
6980 * include/bits/stl_deque.h: Likewise.
6981 * include/bits/stl_list.h: Likewise.
6982 * include/bits/stl_tree.h: Likewise.
6983 * include/bits/stl_vector.h: Likewise.
6984 * include/bits/vector.tcc: Likewise.
6985 * include/ext/ropeimpl.h: Likewise.
6986 * include/ext/stdio_filebuf.h: Likewise.
6987 * include/ext/stl_rope.h: Likewise.
6988 * include/std/std_fstream.h: Likewise.
6989 * include/std/std_sstream.h: Likewise.
6991 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
6993 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
6995 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
6997 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
6998 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
6999 * aclocal.m4: Regenerate.
7000 * configure: Regenerate.
7001 * testsuite/Makefile.am (all-local): Add conditional rule to
7002 generate testsuite_wchar_t.
7003 * testsuite/Makefile.in: Regenerate.
7004 * testsuite/lib/libstdc++-v3-dg.exp
7005 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
7006 testsuite_wchar_t is not present in the build directory.
7007 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
7008 Remove setulimit bits.
7009 * testsuite/26_numerics/complex_value.cc: Set to noopts.
7010 * testsuite/Makefile.am (CLEANFILES): Add.
7011 * testsuite/Makefile.in: Regenerate.
7013 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
7015 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
7018 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
7020 Further conform g++'s __vmi_class_type_info to the C++ ABI
7022 * libsupc++/cxxabi.h
7023 (__vmi_class_type_info::__flags_masks): Remove enumerations not
7024 required by the specification.
7026 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
7028 Renames, namespaces for testsuite utilities.
7029 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
7030 (gnu_allocator_tracker): Rename to allocation_tracker.
7031 (gnu_new_allocator): Rename to tracker_alloc.
7032 (__set_testsuite_memlimit): Rename to set_memory_limits.
7033 (gnu_assignment_operator): Rename to assignment_operator.
7034 (gnu_destructor): Rename to destructor.
7035 (gnu_copy_tracker): Rename to copy_tracker.
7036 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
7037 (run_tests_wrapped_locale): New.
7038 (run_tests_wrapped_env): New.
7039 * testsuite/testsuite_hooks.cc: Same.
7040 (class locale_data): Add.
7041 (class enviornment_variable): Add.
7042 (class not_found): Add.
7043 * testsuite/testsuite_allocator.h: Same.
7044 * testsuite/testsuite_allocator.cc: Same.
7045 * testsuite/23_containers/deque_ctor.cc
7046 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
7048 Change gnu_new_allocator to tracker_alloc.
7049 Change gnu_counting_struct to counter.
7050 Change gnu_copy_tracker to copy_tracker.
7051 Change gnu_copy_constructor to copy_constructor.
7052 Change gnu_assignment_operator to assignment_operator.
7054 * testsuite/23_containers/vector_capacity.cc: Same.
7055 * testsuite/23_containers/vector_ctor.cc (test01): Same.
7056 * testsuite/23_containers/list_modifiers.cc: Change
7057 gnu_copy_tracker to copy_tracker.
7058 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
7059 __set_testsuite_memlimit to set_memory_limits.
7060 * testsuite/21_strings/insert.cc (main): Same.
7061 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
7062 * testsuite/27_io/stringstream.cc: Same.
7063 * testsuite/27_io/stringbuf.cc: Same.
7064 * testsuite/27_io/streambuf.cc: Same.
7065 * testsuite/27_io/ostream.cc: Same.
7066 * testsuite/27_io/istream.cc: Same.
7067 * testsuite/27_io/fstream.cc: Same.
7068 * testsuite/lib/libstdc++-v3-dg.exp
7069 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
7070 three levels deeper in glob patterns.
7072 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
7074 * docs/doxygen/tables.html: Finished now.
7075 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
7076 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
7079 * include/bits/deque.tcc, include/bits/stl_alloc.h,
7080 include/bits/stl_deque.h, include/bits/stl_list.h,
7081 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
7084 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
7086 * configure.in: Revert.
7087 * configure: Regenerate.
7089 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
7091 * include/Makefile.am (install-data-local): Prepend
7092 $(DESTDIR) to destination paths in all (un)installation
7093 commands. Use ${c_base_builddir} and ${std_builddir}
7094 as destination subdirectories to achieve consistency with
7095 preceding mkinstalldirs commands. No effect because both
7096 variables contain "." only.
7097 * include/Makefile.in: Regenerate.
7099 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
7101 * include/Makefile.am (stamp-*): Add checks for existing stamps.
7102 * include/Makefile.in: Regenerate.
7104 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
7105 * aclocal.m4: Regenerate.
7107 * configure.in: Don't add new multi-do rules every time the
7108 directory is reconfigured.
7109 * configure: Regenerate.
7111 2003-01-08 Brad Spencer <spencer@infointeractive.com>
7112 Nathan Myers <ncm@cantrip.org>
7114 * src/Makefile.am (stamp-debug): Clean.
7115 * src/Makefile.in: Regenerate.
7117 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
7120 * Makefile.am (distclean-multi): Fix.
7121 * Makefile.in: Regenerate.
7123 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
7125 * include/bits/locale_facets.h (messages): Move ctor, dtor
7127 (__timepunct): Same.
7128 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
7129 definitions. Conditionalize for GNU systems.
7130 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
7132 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
7133 definitions. Conditionalize for GNU systems.
7134 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
7136 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
7137 * src/locale.cc: Define.
7138 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
7140 * config/locale/gnu/time_members.h: Use it.
7141 * config/locale/gnu/messages_members.h: Use it.
7142 * config/linker-map.gnu: Add locale::facets details.
7143 * include/Makefile.am (target_headers_extra): Add time_members.h.
7144 * include/Makefile.in: Regenerate.
7145 * acinclude.m4: Export CTIME_H.
7146 * aclocal.m4: Regenerate.
7147 * configure: Regnerate.
7149 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
7152 (codecvt<char, char, mbstate_t>::do_in, do_out):
7153 Tweak parameters to avoid unused parameter warnings.
7155 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
7158 * include/bits/locale_facets.cc (num_put::_M_convert_float):
7159 Limit __prec to digits10 + 2, not digits10 + 1, taking into
7160 account the possibility of %{g,G} conversion specifiers
7161 inside _S_format_float.
7162 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
7164 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7166 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
7167 libstdc++-v3-list-sourcefiles): Additionally handle files one
7168 level deeper in glob patterns.
7170 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
7171 * testsuite/27_io/istream_extractor_arith/01.cc,
7172 testsuite/27_io/istream_extractor_arith/02.cc,
7173 testsuite/27_io/istream_extractor_arith/03.cc,
7174 testsuite/27_io/istream_extractor_arith/06.cc,
7175 testsuite/27_io/istream_extractor_arith/07.cc,
7176 testsuite/27_io/istream_extractor_arith/08.cc,
7177 testsuite/27_io/istream_extractor_arith/09.cc,
7178 testsuite/27_io/istream_extractor_arith/10.cc,
7179 testsuite/27_io/istream_extractor_arith/11.cc,
7180 testsuite/27_io/istream_extractor_arith/12.cc,
7181 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
7182 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
7185 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
7189 (codecvt<char, char, mbstate_t>::do_in, do_out):
7190 Implement the resolution of DR19 (TC).
7191 * testsuite/22_locale/codecvt_members_char_char.cc
7194 2003-01-02 Jason Merrill <jason@redhat.com>
7196 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
7197 *__mem is also an output.
7198 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.