1 2003-08-25 Zack Weinberg <zack@codesourcery.com>
3 * config/os/hpux/os_defines.h: Unconditionally define
4 _GLIBCXX_GTHREAD_USE_WEAK to 0.
6 2003-08-19 Geoffrey Keating <geoffk@apple.com>
8 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
9 crosses to Darwin targets.
10 * configure: Regenerate.
12 2003-08-19 Petur Runolfsson <peturr02@ru.is>
14 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
16 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
18 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
19 in the patch from 3 minutes ago. Boy, is my face red.
20 * configure: At least I remembered to regenerate this.
22 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
24 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
25 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
26 things from the top level.
27 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
28 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
29 (currently unused). Strip the fake-VPATH shell fragment from
30 automake-generated rules, if present.
31 * linkage.m4: Add comment.
33 * fragment.am: New file, containing factored-out common settings.
34 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
35 * Makefile.am: Include fragment.am. Remove common variables.
36 * include/Makefile.am: Likewise.
37 * libmath/Makefile.am: Likewise.
38 * libsupc++/Makefile.am: Likewise.
39 * po/Makefile.am: Likewise. Print rules during check.
40 * src/Makefile.am: Likewise.
41 * testsuite/Makefile.am: Likewise.
43 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
44 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
45 src/Makefile.in, testsuite/Makefile.in: Regenerate.
47 2003-08-11 John Levon <levon@movementarian.org>
49 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
50 remaining places for the name change from GLIBCPP_FORCE_NEW
53 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
55 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
57 * include/bits/basic_ios.tcc: Same.
58 * include/bits/istream.tcc: Same.
59 * include/bits/locale_facets.h: Same.
60 * include/bits/ostream.tcc: Same.
61 * include/std/std_istream.h: Same.
62 * include/std/std_ostream.h: Same.
63 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
65 * include/ext/rope: Remove build warning.
67 2003-08-11 Andreas Jaeger <aj@suse.de>
69 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
71 * include/Makefile.in: Regenerated.
73 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
75 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
76 when calling AC_PROG_CC.
77 * aclocal.m4, configure: Regenerate.
79 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
81 * acinclude.m4: Properly quote variable which will be expanded
82 inside makefiles. Use CXX instead of CC to extract compiler info.
83 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
84 correct form in PACKAGE.
85 * aclocal.m4, configure: Regenerate.
87 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
89 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
90 (check-abi-verbose): Same.
91 * testsuite/testsuite_performance.h (report_performance): Same.
93 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
95 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
97 2003-08-07 Doug Gregor <dgregor@apple.com>
99 * include/bits/char_traits.h (char_traits::not_eof): Match operand
102 2003-08-07 Bernardo Innocenti <bernie@develer.com>
105 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
106 Replace variants with new BSET-based version.
108 2003-08-07 Carlo Wood <carlo@alinoe.com>
110 * include/bits/demangle.h: Do not use cctype functions that depend
113 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
115 * configure.in: Rename...
116 * configure.ac: ...to this.
117 * docs/html/17_intro/porting.texi: Update name.
119 * docs/html/17_intro/porting.html: Regenerate.
120 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
121 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
122 testsuite/Makefile.in: Regenerate (picks up new dependancy).
124 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
126 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
127 pipe, open the window to let out the fumes, redo the option-handling
128 logic to properly execute the detection test.
129 * aclocal.m4, configure: Regenerate.
131 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
133 Convert to new autotools.
134 * acconfig.h: Update with correct names.
135 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
136 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
137 * configure.in: Update. Split hardcoded cross-configury settings
139 * crossconfig.m4: ...here. New file. Contents untouched.
140 * acinclude.m4: Reorganize and rewrite as needed. Split large
142 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
144 * scripts/testsuite_flags.in: Update.
146 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
147 variables (already generated by automake).
148 * include/Makefile.am: Ditto.
149 * libmath/Makefile.am: Ditto.
150 * libsupc++/Makefile.am: Ditto.
151 * po/Makefile.am: Ditto.
152 * src/Makefile.am: Ditto.
154 * aclocal.m4: Regenerate using new versions.
155 * config.h.in: Ditto.
157 * Makefile.in: Ditto.
158 * include/Makefile.in: Ditto.
159 * libmath/Makefile.in: Ditto.
160 * libsupc++/Makefile.in: Ditto.
161 * po/Makefile.in: Ditto.
162 * src/Makefile.in: Ditto.
163 * testsuite/Makefile.in: Ditto.
165 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
167 * po/libstdc++.pot: Re-extract/regenerate.
169 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
171 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
172 Remove unneeded variable assignments. Leave them for automake.
173 * testsuite/lib/libstdc++-v3.exp: Rename...
174 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
176 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
177 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
180 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
182 * docs/doxygen/guide.html: run_doxygen uses bash.
183 * docs/doxygen/mainpage.html: We'll be shipping tag files.
184 * docs/doxygen/run_doxygen: Tweaks and improvements.
185 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
186 * docs/html/install.html: Update autoconf/automake requirements.
187 * docs/html/test.html: Add section describing DejaGNU support.
188 * docs/html/17_intro/confdeps.dot: New file, generates...
189 * docs/html/17_intro/confdeps.png: ...this new file.
190 * docs/html/Makefile: Generated here.
191 * docs/html/17_intro/configury.html: New file.
193 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
195 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
196 * testsuite/lib/libstdc++-v3.exp: ...to this.
197 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
199 2003-07-31 Doug Gregor <dgregor@apple.com>
201 Add user specialization tests.
202 * testsuite/23_containers/deque/1.cc: New.
203 * testsuite/23_containers/list/1.cc: New.
204 * testsuite/23_containers/map/1.cc: New.
205 * testsuite/23_containers/multimap/1.cc: New.
206 * testsuite/23_containers/multiset/1.cc: New.
207 * testsuite/23_containers/set/1.cc: New.
208 * testsuite/23_containers/vector/1.cc: New.
210 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
212 Reshuffle 23_containers testsuite.
213 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
214 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
215 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
216 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
217 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
218 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
219 vector_resize.cc: Split into...
220 * 23_containers/bitset/cons/1.cc: New.
221 * 23_containers/bitset/cons/6282.cc: New.
222 * 23_containers/bitset/count/6124.cc: New.
223 * 23_containers/bitset/operations/1.cc: New.
224 * 23_containers/bitset/operations/2.cc: New.
225 * 23_containers/bitset/test/1.cc: New.
226 * 23_containers/bitset/to_ulong/1.cc: New.
227 * 23_containers/deque/cons/1.cc: New.
228 * 23_containers/deque/cons/2.cc: New.
229 * 23_containers/deque/operators/1.cc: New.
230 * 23_containers/list/capacity/1.cc: New.
231 * 23_containers/list/cons/1.cc: New.
232 * 23_containers/list/cons/2.cc: New.
233 * 23_containers/list/cons/3.cc: New.
234 * 23_containers/list/cons/4.cc: New.
235 * 23_containers/list/cons/5.cc: New.
236 * 23_containers/list/cons/6.cc: New.
237 * 23_containers/list/cons/7.cc: New.
238 * 23_containers/list/cons/8.cc: New.
239 * 23_containers/list/cons/9.cc: New.
240 * 23_containers/list/modifiers/1.cc: New.
241 * 23_containers/list/modifiers/2.cc: New.
242 * 23_containers/list/modifiers/3.cc: New.
243 * 23_containers/list/operators/1.cc: New.
244 * 23_containers/list/operators/2.cc: New.
245 * 23_containers/list/operators/3.cc: New.
246 * 23_containers/list/operators/4.cc: New.
247 * 23_containers/map/insert/1.cc: New.
248 * 23_containers/map/operators/1.cc: New.
249 * 23_containers/map/operators/1_neg.cc: New.
250 * 23_containers/multiset/insert/1.cc: New.
251 * 23_containers/priority_queue/members/7161.cc: New.
252 * 23_containers/queue/members/7157.cc: New.
253 * 23_containers/set/operators/1_neg.cc: New.
254 * 23_containers/stack/members/7158.cc: New.
255 * 23_containers/vector/bool/1.cc: New.
256 * 23_containers/vector/bool/6886.cc: New.
257 * 23_containers/vector/capacity/1.cc: New.
258 * 23_containers/vector/capacity/2.cc: New.
259 * 23_containers/vector/capacity/8230.cc: New.
260 * 23_containers/vector/cons/1.cc: New.
261 * 23_containers/vector/cons/2.cc: New.
262 * 23_containers/vector/cons/3.cc: New.
263 * 23_containers/vector/cons/4.cc: New.
264 * 23_containers/vector/cons/6513.cc: New.
265 * 23_containers/vector/element_access/1.cc: New.
266 * 23_containers/vector/modifiers/1.cc: New.
267 * 23_containers/vector/modifiers/2.cc: New.
268 * 23_containers/vector/resize/1.cc: New.
270 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
272 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
274 * testsuite/thread/pthread2.cc: Likewise.
275 * testsuite/thread/pthread3.cc: Likewise.
276 * testsuite/thread/pthread4.cc: Likewise.
277 * testsuite/thread/pthread5.cc: Likewise.
278 * testsuite/thread/pthread6.cc: Likewise.
279 * testsuite/thread/pthread7-rope.cc: Likewise.
281 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
283 * include/bits/c++config: Partial reversion (comment placement) of
286 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
288 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
289 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
290 (_GLIBCXX_AT_AT): Remove.
291 (__USE_MALLOC): Remove.
292 * include/std/std_fstream.h: Modify.
293 * include/bits/basic_ios.h: Same.
294 * include/bits/valarray_array.h: Same.
295 * include/c_std/std_cmath.h: Same.
296 * include/c_std/cmath.tcc: Same.
297 * include/std/std_vector.h: Same.
298 * include/std/std_string.h: Same.
299 * include/std/std_stack.h: Same.
300 * include/std/std_queue.h: Same.
301 * include/std/std_list.h: Same.
302 * include/std/std_deque.h: Same.
303 * include/std/std_streambuf.h: Same.
304 * include/std/std_sstream.h: Same.
305 * include/std/std_ostream.h: Same.
306 * include/std/std_istream.h: Same.
307 * include/bits/valarray_array.tcc: Same, format.
309 * include/c/std_cctype.h: Fix include guards.
310 * include/c/std_cerrno.h: Same.
311 * include/c/std_cfloat.h: Same.
312 * include/c/std_climits.h: Same.
313 * include/c/std_clocale.h: Same.
314 * include/c/std_cmath.h: Same.
315 * include/c/std_csetjmp.h: Same.
316 * include/c/std_csignal.h: Same.
317 * include/c/std_cstdarg.h: Same.
318 * include/c/std_cstddef.h: Same.
319 * include/c/std_cstdio.h: Same.
320 * include/c/std_cstdlib.h: Same.
321 * include/c/std_cstring.h: Same.
322 * include/c/std_ctime.h: Same.
323 * include/c/std_cwchar.h: Same.
324 * include/c/std_cwctype.h: Same.
325 * include/c_std/cmath.tcc: Same.
326 * include/c_std/std_cmath.h: Same.
328 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
331 * include/bits/stl_tree.h: Replace C-style casts with C++-style
332 casts. Changes to avoid casting away constness. Eliminate
333 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
334 initialization lists. Move out implementation of __black_count()
336 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
337 Rename_Rb_tree_base_iterator::_M_increment() to
338 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
340 * config/linker-map.gnu: Add and change symbols here.
342 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
344 * docs/html/22_locale/howto.html: Use locale::classic() instead
347 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
349 * testsuite/testsuite_hooks.h: Remove list include.
350 (func_callback): Define as unique type, not std::list.
351 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
352 * testsuite/libstdc++-v3.dg/dg.exp: Same.
353 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
354 * testsuite/23_containers/bitset_ctor.cc:
355 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
356 * testsuite/18_support/numeric_limits.cc: Same.
357 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
358 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
359 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
360 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
361 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
362 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
363 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
364 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
365 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
366 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
367 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
368 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
369 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
370 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
371 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
372 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
373 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
374 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
375 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
376 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
377 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
378 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
379 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
380 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
381 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
382 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
383 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
384 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
385 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
386 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
387 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
388 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
389 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
390 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
391 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
392 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
393 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
394 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
395 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
396 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
397 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
398 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
399 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
400 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
401 * testsuite/23_containers/bitset_ctor.cc: Same.
402 * testsuite/23_containers/bitset_shift.cc: Same.
403 * testsuite/23_containers/vector_ctor.cc: Same.
404 * testsuite/23_containers/vector_element_access.cc: Same.
405 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
406 * testsuite/24_iterators/iterator.cc: Same.
407 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
408 * testsuite/25_algorithms/lower_bound.cc: Same.
409 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
410 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
411 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
412 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
413 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
414 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
415 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
416 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
417 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
418 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
419 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
422 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
424 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
425 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
426 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
427 GLIBCPP to GLIBCXX (and explain as needed).
429 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
433 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
435 * testsuite/22_locale/messages/members/char/1.cc,
436 testsuite/22_locale/messages/members/char/2.cc,
437 testsuite/22_locale/messages/members/char/3.cc,
438 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
439 the origin of LOCALEDIR.
440 * testsuite/lib/libstdc++-v3.exp: New file.
442 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
444 * include/bits/char_traits.h: Update copyright, tweak.
445 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
448 2003-07-24 Matt Austern <austern@apple.com>
450 * /include/bits/char_traits.h (class char_traits): Put all the
451 real work into the new class template __gnu_cxx::char_traits.
452 Gave generic definitions for member functions. Types are taken
453 from the new class template __gnu_cxx::_Char_types.
454 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
455 file. Test of std::char_traits<short>, which serves as a test of
456 the char_traits primary template.
458 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
460 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
462 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
464 * testsuite/23_containers/map_operators.cc: Conform to
465 container requirement as value must be Assignable.
467 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
469 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
470 tests not only generation of pch files, but also their use.
471 * aclocal.m4, configure: Rebuilt.
473 2003-07-23 Steve Ellcey <sje@cup.hp.com>
475 * config/cpu/hppa/atomicity.h: Change
476 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
477 to match misc-inst.cc
479 2003-07-23 Steve Ellcey <sje@cup.hp.com>
481 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
482 * include/c_std/std_cctype.h: Ditto.
483 * include/c_std/std_cerrno.h: Ditto.
484 * include/c_std/std_cfloat.h: Ditto.
485 * include/c_std/std_climits.h: Ditto.
486 * include/c_std/std_clocale.h: Ditto.
487 * include/c_std/std_cmath.h: Ditto.
488 * include/c_std/std_csetjmp.h: Ditto.
489 * include/c_std/std_csignal.h: Ditto.
490 * include/c_std/std_cstdarg.h: Ditto.
491 * include/c_std/std_cstddef.h: Ditto.
492 * include/c_std/std_cstdio.h: Ditto.
493 * include/c_std/std_cstdlib.h: Ditto.
494 * include/c_std/std_cstring.h: Ditto.
495 * include/c_std/std_ctime.h: Ditto.
496 * include/c_std/std_cwchar.h: Ditto.
497 * include/c_std/std_cwctype.h: Ditto.
498 * include/std/std_algorithm.h: Ditto.
499 * include/std/std_bitset.h: Ditto.
500 * include/std/std_complex.h: Ditto.
501 * include/std/std_deque.h: Ditto.
502 * include/std/std_fstream.h: Ditto.
503 * include/std/std_functional.h: Ditto.
504 * include/std/std_iomanip.h: Ditto.
505 * include/std/std_ios.h: Ditto.
506 * include/std/std_iosfwd.h: Ditto.
507 * include/std/std_iostream.h: Ditto.
508 * include/std/std_istream.h: Ditto.
509 * include/std/std_iterator.h: Ditto.
510 * include/std/std_limits.h: Ditto.
511 * include/std/std_list.h: Ditto.
512 * include/std/std_locale.h: Ditto.
513 * include/std/std_map.h: Ditto.
514 * include/std/std_memory.h: Ditto.
515 * include/std/std_numeric.h: Ditto.
516 * include/std/std_ostream.h: Ditto.
517 * include/std/std_queue.h: Ditto.
518 * include/std/std_set.h: Ditto.
519 * include/std/std_sstream.h: Ditto.
520 * include/std/std_stack.h: Ditto.
521 * include/std/std_stdexcept.h: Ditto.
522 * include/std/std_streambuf.h: Ditto.
523 * include/std/std_string.h: Ditto.
524 * include/std/std_utility.h: Ditto.
525 * include/std/std_valarray.h: Ditto.
526 * include/std/std_vector.h: Ditto.
528 2003-07-22 Doug Gregor <dgregor@apple.com>
530 * include/bits/basic_string.h (basic_string::insert): Deprecate
533 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
535 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
537 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
538 (test03): Include typeinfo for bad_cast.
539 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
540 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
541 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
543 2003-07-21 Doug Gregor <dgregor@apple.com>
545 * include/bits/boost_concept_check.h:
546 (_EqualityComparableConcept::__constraints): Remove != from the
547 list of constraints; it is not listed in Table 28 of the C++98
550 2003-07-18 Andreas Jaeger <aj@suse.de>
552 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
553 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
554 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
555 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
557 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
559 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
560 * config/locale/generic/messages_members.h: Tweaks.
561 * config/locale/generic/monetary_members.cc
562 (moneypunct::_M_initialize_moneypunct): Use cache.
563 (moneypunct::~moneypunct): Delete cache.
564 * config/locale/generic/time_members.cc:
565 (__timepunct::_M_initialize_timepunct): Use cache.
566 * config/locale/generic/time_members.h:
567 (__timepunct::~__timepunct): Delete cache.
568 (__timepunct::__timepunct): Set cache.
569 * config/locale/gnu/messages_members.h: Tweaks.
570 * config/locale/gnu/monetary_members.cc:
571 (moneypunct::_M_initialize_moneypunct): Use cache.
572 (moneypunct::~moneypunct): Delete cache.
573 * config/locale/gnu/time_members.cc:
574 (__timepunct::_M_initialize_timepunct): Use cache.
575 * config/locale/gnu/time_members.h:
576 (__timepunct::~__timepunct): Delete cache.
577 (__timepunct::__timepunct): Set cache.
578 * include/bits/locale_facets.h (__timepunct_cache): New.
579 (__moneypunct_cache): New.
580 * include/bits/locale_facets.tcc: Tweak.
581 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
582 * src/locale-inst.cc: Instantiate caches.
583 * src/globals.cc: Add "C" caches.
584 * src/localename.cc: Use external "C" caches.
586 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
588 * docs/doxygen/guide.html: Fix typo.
590 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
592 * include/ext/pod_char_traits.h: Add state template argument.
594 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
596 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
597 (num_get::_M_convert_int): To _M_insert_int.
598 (num_get::_M_convert_float): To _M_insert_float.
599 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
600 Use caches for ctype, num_get.
601 (num_get::_M_extract_int): Same.
602 (num_get::get(bool)): Same.
603 (__verify_grouping): Use size_t.
604 * src/locale-inst.cc: Update.
605 * src/locale.cc: Adjust _S_atoms_in.
607 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
609 * docs/doxygen/mainpage.html: Move building/writing instructions...
610 * docs/doxygen/guide.html: ...to here. New file.
612 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
614 * docs/html/ext/howto.html: Update URL for SGI STL docs.
615 * docs/html/faq/index.html: Same.
616 * docs/html/faq/index.txt: Regenerate.
618 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
621 * include/bits/locale_facets.tcc (money_get::do_get):
622 Strip only _leading_ zeros.
623 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
624 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
626 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
628 * include/ext/hash_map (class hash_multimap): Remove extra
629 semicolons from __glibcxx_class_requires3 entries.
630 * include/ext/hash_set (class hash_set): Ditto.
631 (class hash_multiset): Ditto.
633 2003-07-15 Petur Runolfsson <peturr02@ru.is>
635 * include/bits/char_traits.h (char_traits<wchar_t>::move):
636 Change last parameter from int_type to size_t.
638 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
640 * include/bits/stl_algo.h (includes, set_union, set_intersection,
641 set_difference, set_symmetric_difference, max_element, min_element,
642 next_permutation, prev_permutation, find_first_of, find_end):
644 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
645 restrictions in docs.
646 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
648 * docs/doxygen/doxygroups.cc (setoperations): New group.
650 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
652 * include/bits/basic_string.h: Document public functions.
653 * docs/doxygen/TODO: Update c21 todo.
655 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
657 * include/bits/stl_list.h: Document more functions.
658 * docs/doxygen/TODO: Update c23 todo.
660 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
662 * config/locale/gnu/c_locale.h (__convert_from_v): One more
665 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
667 * include/bits/stl_tempbuf.h: Qualify free with std::.
668 * src/locale.cc: Include <cstdlib>, qualify getenv.
670 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
672 * config/locale/gnu/c_locale.h (__convert_from_v): Include
673 <cstdio>. Qualify names.
674 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
676 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
677 Nathan C. Myers <ncm-nospam@cantrip.org>
680 * include/std/std_fstream.h (xsputn): Declare only.
681 * include/bits/fstream.tcc (xsputn): Define, optimize for the
682 always_noconv() case: when __n is sufficiently large flush
683 the buffer and issue a direct write, if possible combining the
684 two with writev in __basic_file<>::xsputn_2.
685 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
687 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
689 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
690 the availability of writev in <sys/uio.h>.
691 * configure.in: Call here.
692 * acconfig.h: Add undef for the corresponding symbol.
693 * aclocal.m4: Regenerate.
694 * configure: Regenerate.
695 * config.h.in: Regenerate.
696 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
698 * include/std/std_fstream.h (sync): Constify a variable.
700 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
702 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
703 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
705 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
707 * config/locale/gnu/c_locale.h (__convert_from_v): Include
708 <cstring> and <cstdlib>. Qualify names.
710 2003-07-13 Mark Mitchell <mark@codesourcery.com>
712 * config/locale/generic/c_locale.h: Include <cstdlib> and
714 * include/bits/boost_concept_check.h: Add this-> to unqualified
716 * include/bits/deque.tcc: Likewise.
717 * include/bits/locale_facets.h : Likewise.
718 * include/bits/ostream.tcc: Likewise.
719 * include/bits/stl_algo.h: Likewise.
720 * include/bits/stl_bvector.h: Likewise.
721 * include/bits/stl_deque.h: Likewise.
722 * include/bits/stl_list.h: Likewise.
723 * include/bits/stl_tree.h: Likewise.
724 * include/bits/stl_vector.h: Likewise.
725 * include/bits/vector.tcc: Likewise.
726 * include/ext/rope: Likewise.
727 * include/ext/ropeimpl.h: Likewise.
728 * include/ext/stdio_filebuf.h: Likewise.
730 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
732 * include/bits/basic_ios.h (copyfmt): Document.
733 * include/bits/ios_base.h (event, event_callback, register_callback,
734 xalloc, iword, pword): Document.
735 (imbue, ~ios_base): Update docs on callbacks.
737 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
739 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
740 warning messages if the environment cannot support symbol versioning.
741 (port_specific_symbol_file): It's plural, add an 's' on the end.
742 * configure.host: Likewise.
743 * src/Makefile.am: Likewise.
744 * config/linker-map.gnu: Remove one semicolon, heh.
745 * scripts/extract_symvers: Don't assume useful 'export' syntax.
746 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
747 * aclocal.m4, configure, src/Makefile.in: Regenerated.
749 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
751 * include/bits/locale_facets.tcc: Use function object for
752 __use_cache instead of template function. Partially specialize for
754 * include/bits/locale_classes.h: Update friend declaration for
756 (_M_install_cache): No throw exception specs.
757 * src/locale.cc: Remove __use_cache specializations.
758 * include/ext/pod_char_traits.h (length): Tweak.
759 * include/bits/locale_facets.h (__numpunct_cache): Remove
761 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
763 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
764 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
765 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
766 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
767 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
768 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
770 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
772 * src/ios.cc (_M_grow_words): Fix spelling.
774 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
776 * include/bits/stl_tree.h: Move larger member functions in
777 _Rb_tree_base_iterator and _Rb_tree_node to...
778 * src/stl_tree.cc: Here.
779 * src/Makefile.in: Add stl_tree.cc.
780 * src/Makefile.in: Regenerated.
781 * config/linker-map.gnu: Add symbols here.
783 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
785 * testsuite/ext/pod_char_traits.cc: New.
786 * include/ext/pod_char_traits.h: New.
787 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
788 * include/Makefile.in: Regenerate.
789 * docs/html/21_strings/howto.html: Update.
791 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
793 * testsuite/performance/list_create_fill_sort.cc: New.
795 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
797 * config/locale/generic/numeric_members.cc: Correct type info.
798 * config/locale/gnu/numeric_members.cc: Same.
799 * include/bits/locale_facets.h: Same.
801 * include/bits/char_traits.h: Correct spacing.
803 * src/locale.cc: Wrap to 80 col.
805 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
807 * include/std/std_complex.h: Partially revert last
808 changes: cmath functions must not be qualified.
810 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
812 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
813 2.11 with globbing backport fix.
814 * aclocal.m4, configure: Regenerated.
816 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
818 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
819 if output is at all possible (!_M_reading), cannot be active.
821 * include/std/std_fstream.h: Tweak comments to doxygen style.
823 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
825 * include/bits/locale_classes.h: Fully qualify standard
826 functions with std::, thus avoiding Koenig lookup.
827 * include/bits/locale_facets.tcc: Likewise.
828 * src/locale.cc: Likewise.
829 * src/localename.cc: Likewise.
831 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
833 * include/bits/allocator_traits.h: Fix doxygen markup.
834 * include/ext/mt_allocator.h: Likewise.
836 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
838 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
840 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
842 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
843 requirement. Add port_specific_symbol_file variable.
844 * configure.host: Add docs for port_specific_symbol_file.
845 Clean up try_cpu block for x86.
846 * config/linker-map.gnu: No more "last symbol can't have a
847 semicolon" kaka. Add hook for port-specific symbols.
848 * src/Makefile.am: Remove trailing whitespace.
849 (libstdc++-symbol.ver): Detect the presence of port-specific
850 symbols, and add them accordingly.
852 * docs/html/17_intro/porting.texi: Bring up to date.
854 * src/Makefile.in, aclocal.m4, configure,
855 docs/html/17_intro/porting.html: Regenerated.
857 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
859 * scripts/create_testsuite_files: New file.
860 * testsuite/Makefile.am (all-local, check-performance): Use it.
861 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
862 * testsuite/Makefile.in: Regenerated.
864 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
866 * testsuite/performance/fstream_seek_write.cc: Likewise.
867 * testsuite/performance/ofstream_insert_float.cc: Likewise.
868 * testsuite/performance/ofstream_insert_int.cc: Likewise.
869 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
871 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
873 * include/bits/stl_list.h: Performance and memory usage
874 improvements. In particular, the behaviour of the constructor and
875 destructor as the list header node is no longer dynamically
876 allocated/de-allocated.
877 * include/bits/list.tcc: Likewise.
879 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
881 * include/std/std_complex.h: Fully qualify standard
882 functions with std::, thus avoiding Koenig lookup.
883 * include/std/std_memory.h: Likewise.
884 * include/std/std_valarray.h: Likewise.
886 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
888 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
889 variable for grandparent and use const
891 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
893 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
894 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
895 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
896 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
897 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
898 * testsuite/27_io/objects/char/7.cc: Ditto
899 * testsuite/27_io/objects/char/9661-1.cc: Ditto
901 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
903 * include/std/std_bitset.h: Fully qualify standard
904 functions with std::, thus avoiding Koenig lookup.
906 * include/std/std_fstream.h: Change comment to doxygen style.
908 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
910 * include/std/std_limits.h: More CPP->CXX changes.
911 * scripts/check_survey.in: Likewise.
913 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
915 Move from CPP to CXX.
916 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
917 * testsuite/Makefile.am: Same.
918 * testsuite/Makefile.in: Regenerate.
919 * po/Makefile.am: Same.
920 * po/Makefile.in: Regenerate.
921 * libsupc++/Makefile.am: Same.
922 * libsupc++/Makefile.in: Regenerate.
923 * libmath/Makefile.am: Same.
924 * libmath/Makefile.in: Regenerate.
925 * include/Makefile.am: Same.
926 * include/Makefile.in: Regenerate.
927 * src/Makefile.am: Same.
928 * src/Makefile.in: Regenerate.
930 * configure.host: Same.
931 * configure.in: Same.
932 * configure: Regenerate.
933 * acinclude.m4: Same.
935 * src: Change all files in this directory.
937 * include: Same, standardize include guards.
941 2003-07-04 Zack Weinberg <zack@codesourcery.com>
943 * testsuite/22_locale/collate/compare/wchar_t/2.cc
944 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
945 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
946 * testsuite/22_locale/collate/hash/wchar_t/2.cc
947 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
948 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
949 * testsuite/22_locale/collate/transform/wchar_t/2.cc
950 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
951 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
952 XFAIL on all targets.
954 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
956 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
957 * aclocal.m4: Regenerate.
958 * configure: Regenerate.
960 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
962 * include/bits/locale_facets.tcc (__int_to_char): Move common case
965 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
966 Petur Runolfsson <peturr02@ru.is>
968 * config/io/basic_file_stdio.cc: Revert.
970 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
972 * include/bits/deque.tcc: Fully qualify standard
973 functions with std::, thus avoiding Koenig lookup.
974 * include/bits/gslice_array.h: Likewise.
975 * include/bits/indirect_array.h: Likewise.
976 * include/bits/list.tcc: Likewise.
977 * include/bits/mask_array.h: Likewise.
978 * include/bits/slice_array.h: Likewise.
980 2003-07-04 Gawain Bolton <gbolton@free.fr>
982 * include/bits/stl_tree.h: Performance and memory usage
985 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
987 * Makefile.am: Replace PWD with PWD_COMMAND.
988 * Makefile.in: Regenerated.
989 * docs/html/Makefile: Likewise.
991 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
993 * include/bits/valarray_array.h: Fully qualify standard
994 functions with std::, thus avoiding Koenig lookup.
995 * include/bits/vector.tcc: Likewise.
997 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
999 * include/Makefile.am: Update target_ to host_.
1000 * include/Makefile.in: Regenerate.
1001 * src/Makefile.am: Same.
1002 * src/Makefile.in: Regenerate.
1004 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1006 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1008 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1009 --enable-libstdcxx-debug-flags.
1010 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1011 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1012 * aclocal.m4: Regenerate.
1014 * docs/html/configopts.html: Update.
1016 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1018 Revert the fix for libstdc++/11378.
1020 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1023 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1024 provided always_noconv(), issue directly _M_file.xsputn.
1025 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1027 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1029 * include/bits/stl_list.h: Fully qualify standard
1030 functions with std::, thus avoiding Koenig lookup.
1031 * include/bits/stl_queue.h: Likewise.
1032 * include/bits/stl_raw_storage_iter.h: Likewise.
1033 * include/bits/stl_tempbuf.h: Likewise.
1034 * include/bits/stl_tree.h: Likewise.
1035 * include/bits/stl_uninitialized.h: Likewise.
1036 * include/bits/stl_vector.h: Likewise.
1037 * include/ext/rope: Change includes order.
1039 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1041 * configure.host (fpos_include_dir): Fix.
1043 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1045 * include/bits/stl_heap.h: Fully qualify standard
1046 functions with std::, thus avoiding Koenig lookup.
1047 * include/bits/stl_iterator_base_funcs.h: Likewise.
1049 * include/bits/stl_algo.h: Qualify __iterator_category too.
1050 * include/bits/stl_algobase.h: Likewise.
1051 * include/bits/stl_bvector.h: Likewise.
1053 * include/bits/stl_algo.h: Don't qualify the pair type.
1055 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1057 * include/Makefile.am (target_headers): Add fpos.h
1058 (bits_headers): Remove.
1059 * include/Makefile.in: Regenerate.
1060 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1061 * configure: Regenerate.
1062 * configure.host: Add fpos_include_dir.
1063 * config/os/gnu-linux/fpos.h: New.
1064 * config/os/generic/fpos.h: Add.
1065 * include/bits/fpos.h: Remove.
1067 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1069 * include/bits/fstream.tcc: Tweaks.
1070 * include/std/std_fstream.h: Same.
1072 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1073 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1074 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1075 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1076 * testsuite/27_io/fpos/1.cc: New.
1078 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1079 Petur Runolfsson <peturr02@ru.is>
1081 * include/std/std_streambuf.h: Remove _M_pos.
1082 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1083 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1084 use fread/fwrite instead of read/write.
1085 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1086 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1087 before reading again.
1088 * testsuite/27_io/objects/char/6.cc: Tweak.
1090 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1092 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1093 _GLIBCPP_USE_WCHAR_T.
1095 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1097 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1100 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1102 * include/bits/stl_bvector.h: Fully qualify standard
1103 functions with std::, thus avoiding Koenig lookup.
1104 * include/bits/stl_construct.h: Likewise.
1105 * include/bits/stl_deque.h: Likewise.
1107 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1109 * testsuite/22_locale/num_put/put/char/7.cc: Include
1110 <testsuite_hooks.h>, tweak.
1111 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1113 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
1115 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1116 check* targets, but not libs/programs).
1117 * testsuite/Makefile.in: Regenerate.
1119 2003-07-01 Roger Sayle <roger@eyesopen.com>
1121 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1122 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1123 * aclocal.m4: Regenerate.
1124 * configure: Regenerate.
1126 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1128 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1129 * aclocal.m4: Regenerated.
1130 * configure: Regenerated.
1132 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
1135 * include/bits/fstream.tcc (underflow): For encoding() == 0
1136 don't read more than __buflen chars.
1137 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1138 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1139 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1140 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1142 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
1144 * 22_locale/num_put/put/char/7.cc: New.
1145 * 22_locale/num_put/put/wchar_t/7.cc: New.
1147 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1149 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1150 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1152 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1154 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1155 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1156 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1157 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1158 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1159 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1160 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1161 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1162 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1163 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1164 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1165 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1166 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1167 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1168 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1169 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1170 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1171 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1172 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1173 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1174 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1175 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1176 * data/seekoff-1.tst: Remove.
1177 * data/seekoff-1io.tst: New.
1178 * data/seekoff-1out.tst: New.
1179 * data/seekoff-2.tst: Remove.
1180 * data/seekoff-2io.tst: New.
1181 * data/seekoff-2out.tst: New.
1183 * data/seekpos-1.tst: Remove.
1184 * data/seekpos-1io.tst: New.
1185 * data/seekpos-1out.tst: New.
1186 * data/seekpos-2.tst: Remove.
1187 * data/seekpos-2io.tst: New.
1188 * data/seekpos-2out.tst: New.
1189 * data/seekpos.txt: New.
1191 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1193 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1194 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1197 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1199 * include/bits/stl_algobase.h: Fully qualify standard
1200 functions with std::, thus avoiding Koenig lookup.
1202 2003-06-30 Doug Gregor <dgregor@apple.com>
1204 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1205 subscripting empty string.
1207 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1209 * testsuite/Makefile.am (check-am): Do not override.
1210 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1211 * testsuite/Makefile.in: Regenerate.
1213 2003-06-30 Doug Gregor <dgregor@apple.com>
1215 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1216 Don't initialize an insert_iterator with a singular iterator.
1218 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1220 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1221 * aclocal.m4: Regenerate.
1222 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1223 GLIBCPP_ENABLE_PCH, default to yes.
1224 * configure: Regenerate.
1225 * docs/html/configopts.html: Add --enable-pch.
1227 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1229 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1230 (libstdc++-v3-init): Also set LD_RUN_PATH.
1232 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1234 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1235 from here to filebuf and stringbuf.
1236 (~basic_streambuf()): Don't set _M_mode.
1237 (basic_streambuf()): Don't set _M_mode.
1238 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1239 (~basic_filebuf()): Clean up.
1240 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1241 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1242 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1243 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1244 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1245 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1246 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1248 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1250 * include/std/std_fstream.h (_M_underflow): Remove.
1251 (uflow): Remove, inherited from streambuf.
1252 (underflow): Only declare.
1253 * include/bits/fstream.tcc (_M_underflow): Rename to
1254 underflow, to which is equivalent for __bump == false,
1256 * include/std/std_sstream.h (_M_underflow): Remove.
1257 (uflow): Remove, inherited from streambuf.
1258 (underflow): Only declare.
1259 * include/bits/sstream.tcc (_M_underflow): Rename to
1260 underflow, to which is equivalent for __bump == false,
1263 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1265 * include/bits/stl_algo.h: Fully qualify standard functions
1266 with std::, thus avoiding Koenig lookup.
1268 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1270 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1271 Improve type correctness-wise.
1272 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1274 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1276 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1279 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1281 * include/std/std_streambuf.h (uflow): According to
1282 27.5.2.4.3,p16, don't check gptr() < egptr().
1284 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
1287 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1288 (seekpos): Likewise.
1289 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1291 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1294 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
1296 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1297 output name to libstdc++-v3-performance.sum.
1298 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1299 * testsuite/Makefile.in: Regenerate.
1301 2003-06-27 Matthias Klose <doko@debian.org>
1303 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1304 output of abi-check in libstdc++-v3-abi.sum.
1305 * testsuite/Makefile.in: Regenerate.
1307 2003-06-27 Krister Walfridsson <cato@df.lth.se>
1309 * config/os/bsd/netbsd/ctype_noninline.h
1310 (_C_ctype_): Declare.
1311 (ctype<char>::classic_table): Return _C_ctype_ + 1.
1312 (ctype<char>::ctype): Use classic_table.
1314 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
1315 Nathan C. Myers <ncm-nospam@cantrip.org>
1318 * include/bits/fstream.tcc (_M_underflow): Properly estimate
1319 the worst-case number of external bytes for a given get area.
1320 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
1322 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
1323 Petur Runolfsson <peturr02@ru.is>
1326 * include/bits/fstream.tcc (overflow): Properly estimate the
1327 worst-case number of external bytes for a given put area
1328 (by using codecvt::max_length()).
1329 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
1330 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
1331 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
1332 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
1334 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
1336 * config/linker-map.gnu: Remove ; after __numpunct_cache.
1338 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1340 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
1341 to the imbued locale.
1342 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
1344 (num_put::_M_convert_float): Use.
1346 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1347 Jerry Quinn <jlquinn@optonline.net>
1349 * config/linker-map.gnu: Add __numpunct_cache.
1350 * config/locale/gnu/numeric_members.cc
1351 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
1352 all elements for "C" locale.
1353 (numpunct::~numpunct): Delete _M_data.
1354 * config/locale/generic/numeric_members.cc: Same.
1355 * include/bits/basic_ios.tcc
1356 (basic_ios::init): Remove __locale_cache bits.
1357 (basic_ios::_M_cache_locale): Same.
1358 * include/bits/ios_base.h: Same. Tweaks.
1359 * include/bits/locale_classes.h: Tweaks. Reorder classes.
1360 (__use_cache): Make friends with _Impl, locale.
1361 (_Impl::_M_caches): Add.
1362 (_Impl::_M_install_cache): Add.
1363 * include/bits/locale_facets.h (__numpunct_cache): New.
1364 (numpunct): Encapsulate data members in __numpunct_cache member,
1365 _M_data. Adjust virtuals.
1366 (numpunct::numpunct): New ctor for the same.
1367 (__locale_cache_base): Remove.
1368 (__locale_cache): Remove.
1369 * include/bits/locale_facets.tcc (__use_cache): New function,
1371 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
1372 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
1373 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
1374 * src/locale-inst.cc: Same. Add __numpunct_cache.
1375 * src/locale.cc: Tweak inlines.
1376 (__use_cache): Define specializations.
1377 * src/localename.cc: Use global bits.
1378 (_Impl::~Impl): Deal with __numpunct_cache destruction.
1379 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
1380 (_Impl::_M_init_facet): Take into account __numpunct_cache.
1381 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
1382 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1384 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
1385 Paolo Carlini <pcarlini@unitus.it>
1387 * testsuite/performance/filebuf_copy.cc: New, testing char
1390 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
1391 Nathan C. Myers <ncm-nospam@cantrip.org>
1393 * include/bits/fstream.tcc (_M_underflow): When the actual
1394 end of file is reached, set 'uncommitted' mode to allow a
1395 next write without an intervening seek (see C++98 27.8.1.1,2
1397 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
1399 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
1401 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1402 sputc): Move inline, from here...
1403 * include/std/std_streambuf.h: ... to here.
1405 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
1406 sputbackc, sungetc, sputc): Use __builtin_expect.
1408 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
1410 * docs/doxygen/mainpage.html: Use a useful title.
1412 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1414 * docs/html/documentation.html: Remove assignment info.
1415 * docs/html/17_intro/contribute.html: Edits.
1416 * docs/html/17_intro/libstdc++-assign.tx: Remove.
1418 * docs/html/test.html: Update.
1422 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1423 Ulrich Drepper <drepper@redhat.com>
1425 * testsuite/testsuite_performance.h: Tweak mallinfo.
1427 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
1428 Nathan C. Myers <ncm-nospam@cantrip.org>
1430 * include/std/std_fstream.h (_M_filepos): Remove.
1431 (_M_reading, _M_writing): New, encode the various I/O modes:
1432 'read', 'write' and 'uncommitted'.
1433 (sync): If there is something to flush, do it, then go to
1435 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
1436 with three different cases: __off > 0 (upon underflow),
1437 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
1439 (_M_underflow): Don't call overflow, set _M_reading to true
1441 (pbackfail): Set _M_reading to true on pback creation, tweak.
1442 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
1443 set _M_writing to true on success, tweak.
1444 (seekoff): Simplify, set _M_reading, _M_writing to false, call
1445 _M_set_buffer(-1) ('uncommitted').
1446 (open, close, setbuf): Set _M_reading, _M_writing to false and
1447 call _M_set_buffer(-1), tweak.
1448 (basic_filebuf): Don't set _M_buf_unified.
1449 (_M_destroy_internal_buffer): Don't call setg and setp.
1450 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
1451 _M_writing and _M_set_buffer(-1).
1452 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
1453 _M_out_lim, _M_buf_unified): Remove.
1454 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
1455 (setp): Don't set _M_out_lim.
1456 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
1457 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
1458 upon open the mode is 'uncommitted' and therefore the put area
1460 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
1461 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
1462 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
1463 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
1464 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
1465 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
1466 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1467 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
1468 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
1469 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
1470 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
1471 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
1472 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
1473 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
1474 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
1475 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
1476 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
1477 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
1478 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
1479 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
1481 * include/bits/fstream.tcc (showmanyc): Use only the
1482 documented derivation interface to basic_streambuf (gptr(),
1483 setg(), etc.) to work right with user specializations.
1484 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1485 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
1486 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
1488 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
1491 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
1493 * configure.host (freebsd*): Set abi_baseline_pair.
1494 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
1495 (at or near first release) to 3.3.
1496 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
1497 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
1498 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
1500 * include/ext/mt_allocator.h: Portability.
1501 * testsuite/testsuite_performance.h: Likewise.
1503 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
1505 * docs/html/17_intro/libstdc++-assign.txt: Update address.
1507 * testsuite/performance/ifstream_getline.cc: Fix.
1509 2003-06-23 Doug Gregor <dgregor@apple.com>
1511 * include/bits/boost_concept_check.h: Don't use _D or _R for type
1514 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
1515 Nathan C. Myers <ncm-nospam@cantrip.org>
1517 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
1518 is now used only for filebuf, when _M_buf_unified is true.
1519 epgtr() plays the role of _M_out_lim but it's only updated
1520 upon overflow, underflow, uflow, seekoff/pos.
1521 * include/bits/sstream.tcc (_M_underflow): New, implements
1522 stringbuf::underflow and uflow.
1523 (seekoff, seekpos): Tweak, use _M_update_egptr.
1524 * include/std/std_sstream.h (str): Rewrote, deal correctly
1525 with the new logic, in particular, when pptr() > egptr().
1526 (_M_sync): When __testout && !__testin set all the get area
1527 pointers to the current string end.
1528 (_M_update_egptr): New, internal function updating egptr()
1529 to the actual string end.
1530 (_M_underflow): New, declare.
1531 (underflow): Dispatch to _M_underflow(false).
1532 (uflow): Dispatch to _M_underflow(true).
1534 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
1535 seekpos): Use only the documented derivation interface to
1536 basic_streambuf (gptr(), setg(), etc.) to work right with
1537 user specializations.
1538 * include/std/std_sstream.h (str, _M_sync): Likewise.
1540 2003-06-20 Doug Gregor <dgregor@apple.com>
1542 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
1543 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
1544 dereference end iterator.
1545 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
1546 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
1547 index equal to the length of a string.
1548 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
1549 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
1550 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
1551 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
1552 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
1553 * testsuite/23_containers/list_modifiers.cc: Don't dereference
1554 singular reverse iterator.
1555 * testsuite/23_containers/vector_bool.cc: Don't increment singular
1557 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
1559 2003-06-20 Doug Gregor <dgregor@apple.com>
1561 * include/bits/basic_string.h (basic_string::replace): Dispatch
1562 _InputIterator version based on _Is_integer.
1563 * include/bits/basic_string.tcc (basic_string::replace):
1564 Renamed replace(iterator, iterator, size_type, _CharT) to
1566 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
1567 Test basic_string::assign(_InputIterator, _InputIterator),
1568 which calls basic_string::replace(iterator, iterator,
1569 _Input_iterator, _InputIterator).
1571 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
1573 * testsuite/testsuite_performance.h (resource_counter): Don't use
1574 mallinfo at the moment.
1576 2003-06-20 Matthias Klose <doko@debian.org>
1578 * configure.host: Set try_cpu to target_cpu for existing
1581 2003-06-19 Andreas Jaeger <aj@suse.de>
1583 * testsuite/Makefile.am (extract_symvers): Revert accidental
1585 * testsuite/Makefile.in: Regenerate.
1587 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
1588 * configure: Regenerated.
1590 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
1592 * include/std/std_sstream.h (_M_sync): Make non virtual.
1594 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
1596 * testsuite/testsuite_performance.h (time_counter): New.
1597 (resource_counter): New.
1598 (report_performance): New.
1599 (start_counters): New.
1600 (stop_counters): New.
1601 (clear_counters): New.
1602 * testsuite/performance/allocator.cc: Instrument.
1603 * testsuite/performance/cout_insert_int.cc: Same.
1604 * testsuite/performance/complex_norm.cc: Same.
1605 * testsuite/performance/filebuf_sputc.cc: New.
1606 * testsuite/performance/fstream_seek_write.cc: Same.
1607 * testsuite/performance/ifstream_getline.cc: Same.
1608 * testsuite/performance/map_create_fill.cc: Same.
1609 * testsuite/performance/ofstream_insert_float.cc: Same.
1610 * testsuite/performance/ofstream_insert_int.cc: Same.
1611 * testsuite/performance/string_append.cc: Convert.
1612 * scripts/check_performance: New.
1613 * testsuite/Makefile.am (check-performance): New.
1616 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
1617 Benjamin Kosnik <bkoz@redhat.com>
1619 * include/std/std_sstream.h (setbuf): Check __n >= 0.
1620 * include/bits/fstream.tcc (setbuf): Tweak.
1622 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
1624 * include/bits/sstream.tcc (seekoff): We can't seek beyond
1625 _M_out_lim, therefore _M_move_out_cur boils down to simply
1626 updating _M_out_cur.
1627 (seekpos): Likewise, clean up.
1629 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
1630 Paolo Carlini <pcarlini@unitus.it>
1632 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
1633 simply equivalent to the unbuffered case (0, 0) as far as
1634 _M_buf_size is concerned.
1636 2003-06-18 Andreas Jaeger <aj@suse.de>
1638 * testsuite/Makefile.am (new-abi-baseline): Create baseline
1640 (baseline_file): Use baseline_dir.
1641 (baseline_dir): New.
1642 (mkinstalldirs): New.
1644 * acinclude.m4: Rename baseline_file to baseline_dir, strip
1645 filename from baseline_dir.
1647 * testsuite/Makefile.in: Regenerated.
1648 * Makefile.in: Regenerated.
1649 * aclocal.m4: Regenerated.
1650 * configure: Regenerated.
1652 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1654 * configure.in: Missed check_survey bit.
1655 * configure: Regenerated.
1657 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1660 * config/abi/extract_symvers: Move to...
1661 * scripts/extract_symvers: ...here.
1662 * mkcheck.in: Move to..
1663 * scripts/check_survey.in: ...here.
1664 * testsuite_flags.in: Move to..
1665 * scripts/testsuite_flags.in: ...here.
1666 * configure.in: Change check and testsuite_flags locations.
1667 * configure: Regenerate.
1668 * testsuite/Makefile.am (current_symbols.txt): Change location.
1669 * testsuite/Makefile.in: Regenerate.
1670 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1671 location of testsuite_flags.
1672 * Makefile.am (check-script): Move..
1673 (check-script-install): Move...
1674 * testsuite/Makefile.am: ... here.
1675 * testsuite/Makefile.in: Regenerate.
1676 * Makefile.in: Regenerate.
1678 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1680 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
1682 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
1684 * Makefile.am (check-abi): Move...
1685 (new-abi-baseline): Move...
1686 * testsuite/Makefile.am: ...here.
1687 (new-abi-baseline): Conditionalize.
1688 (check-abi): Conditionalize.
1689 (check-abi-verbose): New.
1690 * Makefile.in: Regenerate.
1691 * testsuite/Makefile.in: Regenerate.
1692 * configure.in: Consolidate testsuite configure bits.
1693 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
1694 * configure: Regenerate.
1695 * aclocal.m4: Regenerate.
1696 * testsuite/abi_check.cc: Add --check-verbose.
1697 Only output detailed information if --check-verbose.
1699 2003-06-16 Andreas Jaeger <aj@suse.de>
1701 * testsuite/abi_check.cc: Create summary report.
1703 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
1705 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
1706 for systems with BUFSIZ != 8192.
1707 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1708 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
1711 2003-06-16 Andreas Jaeger <aj@suse.de>
1713 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
1714 check-abi multilib aware.
1715 * aclocal.m4: Regenerate.
1716 * configure: Regenerate.
1718 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
1719 Andreas Jaeger <aj@suse.de>
1721 * configure.host: Set x86_64 abi_baseline pair correctly.
1723 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
1725 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
1726 fix for missing seeks between gets and puts into...
1727 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
1728 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
1729 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
1730 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
1731 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
1732 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
1734 2003-06-15 Richard Henderson <rth@redhat.com>
1736 * config/linker-map.gnu: Export virtual function thunks for
1739 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
1741 * config/abi/i686-pc-linux-gnu: To..
1742 * config/abi/i486-linux-gnu: ...this.
1743 * config/abi/alphaev67-unknown-linux-gnu: To..
1744 * config/abi/alpha-linux-gnu: ...this.
1745 * config/abi/ia64-unknown-linux-gnu: To...
1746 * config/abi/ia64-linux-gnu: ...this.
1747 * config/abi/x86_64-unknown-linux-gnu: To...
1748 * config/abi/x86_64-linux-gnu: ...this.
1749 * config/abi/i386-unknown-freebsd4: To...
1750 * config/abi/i386-freebsd4: ...this.
1751 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
1753 * configure.host: abi_baseline_triplet to abi_baseline_pair.
1754 Simplify cpu bits so that abi_baseline_pair can use the same
1756 * acinclude.m4: Same.
1757 * aclocal.m4: Regenerate.
1758 * configure.in: Can't get enable_abi_check to yes unless native.
1759 * configure: Regenerate.
1761 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
1763 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
1764 fix for missing seeks between gets and puts into...
1765 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
1766 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
1767 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
1768 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
1769 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
1770 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
1771 for missing seeks between gets and puts.
1772 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
1773 * testsuite/data/seekoff-1.tst: New.
1774 * testsuite/data/seekoff-2.tst: New.
1775 * testsuite/data/seekpos-1.tst: New.
1776 * testsuite/data/seekpos-2.tst: New.
1778 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
1780 Avoid multi-processor bus contention on increment/decrement-and-
1781 test of the reference count in the empty-string object, by comparing
1782 addresses first, and never touching the reference count of the empty-
1784 * include/bits/basic_string.h:
1785 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
1787 (_Rep::_S_empty_rep()): New accessor.
1788 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
1789 a base class _Rep_base.
1790 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
1791 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
1792 since no longer must increment its refcount.
1793 * include/bits/basic_string.tcc:
1794 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
1795 return immediately. The former might be unnecessary. The latter
1796 prevents begin() and end() from cloning it unnecessarily.
1797 (_S_construct(_InIterator, _InIterator, const _Alloc&,
1798 input_iterator_tag), _S_construct(_InIterator, _InIterator,
1799 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
1800 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
1801 (_M_mutate): Check for the empty string and treat it as shared.
1802 This is necessary here because _M_mutate is sometimes called with
1803 all-zero arguments; in all other uses of _M_is_shared, the test comes
1806 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
1808 * src/allocator-inst.cc: Explicitly instantiate.
1809 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
1811 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
1813 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
1815 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
1816 * aclocal.m4: Regenerate.
1817 * Makefile.am (SUBDIRS): Remove libio.
1818 * Makefile.in: Regenerate.
1819 * configure.in: Same.
1820 * configure: Regenerate.
1821 * config/io/basic_file_libio.cc: Remove.
1822 * config/io/basic_file_libio.h: Remove.
1823 * config/io/c_io_libio_codecvt.c: Remove.
1824 * config/io/c_io_libio.h: Remove.
1826 * src/Makefile.am: Same.
1827 * src/Makefile.in: Regenerate.
1828 * docs/html/configopts.html: Edits.
1829 * docs/html/explanations.html: Edits.
1831 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
1833 * include/bits/stl_alloc.h (__debug_alloc): Move out.
1834 (__malloc_alloc): Same.
1835 (__pool_alloc): Same.
1836 (__new_alloc): Same.
1838 * include/bits/allocator.h: ...this.
1839 * include/bits/stl_deque.h: Modify comment.
1840 * include/bits/stl_tree.h: Modify include.
1841 * include/std/std_memory.h: Same.
1842 * include/ext/rope: Same.
1843 * include/ext/slist: Same.
1844 * include/std/std_vector.h: Same.
1845 * include/std/std_stack.h: Same.
1846 * include/std/std_queue.h: Same.
1847 * include/std/std_list.h: Same.
1848 * include/std/std_deque.h: Same.
1849 * include/backward/alloc.h: Same.
1850 * include/ext/debug_allocator.h: New.
1851 * include/ext/malloc_allocator.h: New.
1852 * include/ext/pool_allocator.h: New.
1853 * include/ext/new_allocator.h: New.
1854 * include/bits/pthread_allocimpl.h: Remove.
1855 * include/bits/stl_pthread_alloc.h: Remove.
1856 * include/Makefile.am (ext_headers): Add.
1857 * include/Makefile.in: Regenerate.
1858 * src/stl-inst.cc: Use __gnu_cxx namespace.
1859 * src/stl-inst.cc: Move to...
1860 * src/allocator-inst.cc: Here.
1861 * src/Makefile.am (sources): Update.
1862 * src/Makefile.in: Regenerate.
1863 * config/linker-map.gnu: Remove __pool_alloc bits.
1864 * testsuite/ext/headers.cc: Add.
1865 * testsuite/ext/allocators.cc: Fixup.
1867 2003-06-11 Stefan Olsson <stefan@snon.net>
1868 Ola Rönnerup <fnolis@home.se>
1870 * include/Makefile.am (ext_headers): Add.
1871 * include/Makefile.in: Regenerate.
1872 * include/ext/mt_allocator.h: New file.
1874 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
1876 * include/bits/fstream.tcc (close): Clean up a bit.
1878 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
1880 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
1881 - the saved _M_in_cur, that is - cannot be null.
1882 (sync): Constify a variable.
1884 * include/std/std_streambuf.h: Tweak a comment.
1885 (in_avail): Constify a variable.
1887 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
1889 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
1890 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
1891 correctness of container::iterator typedefs. Fix whitespace.
1892 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
1894 * docs/html/documentation.html: Regenerate.
1896 * include/bits/basic_string.h, include/bits/basic_string.tcc,
1897 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
1898 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
1899 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
1900 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
1901 include/bits/stl_vector.h, include/bits/vector.tcc,
1902 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
1903 Change _Iter names to _Iterator, and __pos to __position.
1905 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
1906 include/bits/stl_multiset.h, include/bits/stl_set.h:
1907 Remove emacs markers.
1909 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
1911 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
1913 * include/bits/fstream.tcc (overflow): According to
1914 27.5.2.4.5, overflow() returns not_eof(eof()).
1915 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
1916 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
1918 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
1920 * include/bits/fstream.tcc (_M_underflow): Check overflow return
1921 value; tweak slightly.
1923 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
1925 * include/bits/fstream.tcc (_M_underflow): Do not special
1926 case the unbuffered case, which really means simply a one char
1928 (basic_filebuf): Initialize _M_buf_size.
1929 (setbuf): Unbuffered means _M_buf_size == 1, since only
1930 _M_buf_size - 1 == 0 chars are going to be used for the
1931 put area and 1 for the get area.
1932 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
1933 (~basic_streambuf): Tweak.
1934 (basic_streambuf): Do not initialize _M_buf_size.
1935 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
1936 (~basic_filebuf): Tweak.
1937 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
1938 unbuffered situation (i.e., put area pointers NULL).
1939 * include/bits/streambuf.tcc (sbumpc): Clean up.
1940 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
1941 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
1942 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
1943 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
1944 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
1945 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
1946 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
1948 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
1950 * acinclude.m4: Move all AM_CONDITIONAL calls out.
1951 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
1953 * configure.in: Centralize AM_CONDITIONALs so that they are always
1954 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
1955 * aclocal.m4, configure: Regenerated.
1957 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
1959 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
1961 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
1963 * include/bits/stl_iterator.h
1964 (reverse_iterator::reverse_iterator()): Apply DR235: default
1965 constructor default-initializes data member. Instantiated on a
1966 pointer type, the member has to end up equal to zero.
1968 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
1970 * include/bits/stl_alloc.h: Cleanups.
1971 * include/ext/functional: Same.
1972 * include/ext/hash_map: Same.
1973 * include/ext/hash_set: Same.
1974 * include/ext/iterator: Same.
1975 * include/ext/memory: Same.
1976 * include/ext/numeric: Same.
1977 * include/ext/rb_tree: Same.
1978 * include/ext/ropeimpl.h: Same.
1979 * include/ext/slist: Same.
1980 * include/ext/stdio_filebuf.h: Same.
1981 * include/ext/stdio_sync_filebuf.h: Same.
1982 * include/ext/stl_rope.h: Move to...
1983 * include/ext/rope: ...here.
1984 * include/ext/stl_hash_fun.h: Move to...
1985 * include/ext/hash_fun.h: ...here.
1986 * include/ext/stl_hashtable.h: Move to...
1987 * include/ext/hashtable.h: ...here.
1988 * include/backward/hashtable.h: Reflect new names.
1989 * include/Makefile.am: Same.
1990 * include/Makefile.in: Regenerated.
1992 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
1995 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
1996 * include/bits/stl_algobase.h: Tweak.
1997 * include/std/std_fstream.h: Move _M_buf_size to...
1998 * include/std/std_streambuf.h: ...here. Modify.
1999 * include/bits/streambuf.tcc: Same.
2000 * testsuite/testsuite_hooks.h: Tweak.
2001 * testsuite/testsuite_io.h (constraint_filebuf): New.
2002 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2003 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2004 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2005 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2006 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2007 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2008 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2009 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2010 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2011 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2012 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2013 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2014 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2015 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2016 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2017 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2018 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2019 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2020 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2021 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2022 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2023 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2024 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2025 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2026 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2027 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2028 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2029 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2030 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2031 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2032 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2033 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2034 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2035 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2036 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2037 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2038 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2039 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2040 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2041 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2042 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2043 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2044 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2045 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2046 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2047 * testsuite/data/sgetc.txt: New.
2048 * testsuite/data/sgetn.txt: New.
2050 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2053 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2054 Deal with width() smaller than zero.
2055 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2056 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2057 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2058 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2059 operator<<(basic_ostream, const basic_string&)): Likewise.
2061 * testsuite/27_io/basic_istream/extractors_character/char/
2062 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2063 * testsuite/27_io/basic_ostream/inserters_character/char/
2064 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2065 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2066 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2068 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2070 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2071 .gch compilation works.
2072 * aclocal.m4, configure: Regenerate.
2073 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2074 initialize PCHFLAGS.
2076 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2078 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2079 erase(iterator), erase(iterator, iterator), c_str,
2080 compare(const basic_string&)): Constify various variables.
2081 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2082 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2083 _S_create, resize, _M_replace, _M_replace_safe,
2084 append(const basic_string&), append(const basic_string&, size_type,
2085 size_type), append(const _CharT*, size_type), append(size_type,
2086 _CharT), operator+(const _CharT*, const basic_string&),
2087 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2088 size_type, _CharT), find(const _CharT*, size_type, size_type),
2089 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2090 rfind(_CharT, size_type), compare(size_type, size_type,
2091 const basic_string&), compare(size_type, size_type,
2092 const basic_string&, size_type, size_type), compare(const _CharT*),
2093 compare(size_type, size_type, const _CharT*), compare(size_type,
2094 size_type, const _CharT*, size_type)): Likewise.
2096 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
2098 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2099 'if' branch less obscure.
2101 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
2104 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2106 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2107 (__atomic_add): likewise.
2109 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2111 * include/bits/sstream.tcc (pbackfail): Minor clean up and
2112 reformatting, consistent with basic_filebuf::pbackfail.
2114 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
2117 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
2118 __attribute__ ((__unused__)).
2119 * config/os/aix/atomicity.h: Likewise.
2121 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2124 * include/bits/fstream.tcc (pbackfail): If the pback buffer
2125 is already active don't try to store in it a second char.
2126 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2128 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2130 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2132 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2135 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2137 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2138 instead of unnecessarily taking the address of _M_pback.
2139 (xsgetn): Simplify slightly for a single char pback buffer.
2141 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2143 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2144 variables and two 'if', clean up.
2146 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2148 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2149 not _M_out_end, since the former actually points to the string
2150 end (vs buffer end).
2151 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2153 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
2155 * docs/doxygen/filter: New file.
2156 * docs/doxygen/filter.sed: New file.
2157 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
2158 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
2159 * docs/html/documentation.html: Fix links to doxygen pages.
2161 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
2163 * include/bits/fstream.tcc (_M_convert_to_external): Don't
2164 check for __ilen > 0.
2166 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
2169 * include/bits/stl_iterator.h (class __normal_iterator):
2170 Don't inherit from iterator, add missing typedefs.
2172 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
2174 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2175 * testsuite/24_iterators/reverse_iterator/1.cc: New.
2176 * testsuite/24_iterators/reverse_iterator/2.cc: New.
2177 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2180 2003-05-27 Steve Ellcey <sje@cup.hp.com>
2182 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2184 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2185 _LIBUNWIND_STD_ABI is set.
2187 2003-05-26 Brendan Kehoe <brendan@zen.org>
2189 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2190 make sure the number of digits required after the decimal-point
2191 (if any) is exactly the value returned by frac_digits().
2192 * testsuite/22_locale/money_get/get/char/9.cc: New.
2193 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2195 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
2197 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2200 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
2203 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2204 (_M_pback): No array necessary.
2205 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2206 unbuffered case, coalesec into ...
2207 (basic_filebuf::overflow): ...this.
2208 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2209 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2211 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
2213 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2214 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2215 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2216 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2217 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2218 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2219 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2220 libsupc++/eh_unex_handler.cc, libsupc++/exception,
2221 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2222 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2223 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2224 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2225 Replace "GNU CC" with "GCC".
2227 * include/backward/new.h: Replace "GNU CC" with "GCC".
2229 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2232 * configure.in: Switch target to host, don't assume newlib.
2233 (target_alias): Remove.
2234 * configure: Regenerate.
2235 * acinclude.m4: Same.
2236 * aclocal.m4: Regenerate.
2237 * configure.target: Same. Rename to...
2238 * configure.host: This.
2240 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2242 * include/std/std_fstream.h (_S_pback_size): Remove definition.
2243 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
2245 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
2246 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
2247 of _S_pback_size for systems with no COMDAT or weak support.
2248 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
2249 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
2250 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
2251 * testsuite/27_io/basic_fstream/3.cc: Likewise.
2252 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
2253 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
2254 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
2255 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
2256 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
2258 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2260 * include/bits/fstream.tcc (_M_underflow): Simplify:
2261 !__testout implies _M_filepos == _M_in_end, therefore
2262 the first _M_file.seekoff call is never issued.
2264 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2266 * configure.in: Sort cross table.
2267 * configure: Regenerate.
2269 2003-05-22 Brad Spencer <spencer@infointeractive.com>
2272 * configure.in: Add Solaris cross bits.
2274 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2276 * libstdc++-v3/config/os/mingw32/os_defines.h
2277 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
2278 (NOMINMAX): Define. Update copyright year.
2280 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
2282 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
2284 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2286 * docs/html/faq/index.html: Fix typo.
2287 * docs/html/faq/index.txt: Regenerate.
2289 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2291 * docs/html/test.html: Fix markup.
2293 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2295 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
2297 Update copyright year.
2299 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2301 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
2303 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2305 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
2306 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
2308 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2310 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
2311 Cast via void* to avoid -Wcast-align warnings.
2312 (__default_alloc_template::_S_refill): Likewise.
2314 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
2316 * testsuite/README: Move to...
2317 * docs/html/test.html: ...here. Add documentation.
2318 * docs/html/install.html: Move testing bits out..
2319 * docs/html/documentation.html: Add separate testing link.
2320 * testsuite/performance: Add.
2321 * testsuite/performance/allocator.cc: New.
2322 * testsuite/performance/complex_norm.cc: New.
2323 * testsuite/performance/cout_insert_int.cc: New.
2324 * testsuite/performance/fstream_seek_write.cc: New.
2325 * testsuite/performance/ifstream_getline.cc: New.
2326 * testsuite/performance/map_create_fill.cc: New.
2327 * testsuite/performance/ofstream_insert_float.cc: New.
2328 * testsuite/performance/ofstream_insert_int.cc: New.
2329 * testsuite/performance/string_append.cc: New.
2330 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
2333 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
2336 * include/std/std_complex.h (pow): Tidy.
2338 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
2340 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
2341 that upon filebuf::close() 27.8.1.1,3 is enforced.
2343 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
2345 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
2347 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
2348 Nathan Myers <ncm@cantrip.org>
2350 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
2351 _M_convert_to_external only once (_M_buf_size is now the size of
2352 the put area + 1 for the overflow char of a full area); call
2353 _M_set_buffer instead of _M_set_indeterminate.
2354 (setbuf): Don't accept a buffer smaller than 2 chars.
2355 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
2356 instead of _M_set_determinate.
2357 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
2358 (seekoff): Likewise.
2359 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
2360 std::ios_base::openmode, bool, size_t),
2361 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
2363 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
2364 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
2366 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
2367 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
2368 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
2369 the put area is now BUFSIZ - 1.
2370 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
2371 that now the smallest _M_buf_size is 2 (still fails, for the same
2374 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
2376 * testsuite/thread/pthread4.cc: Tweak test.
2378 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
2380 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
2381 excess errors dg marker, use dg-errors instead.
2382 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2383 * testsuite/20_util/auto_ptr_neg.cc: Same.
2385 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2387 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
2389 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
2390 Initialize _M_codecvt.
2391 (basic_filebuf::imbue): Same.
2392 (basic_filebuf::showmanyc): Use it.
2393 (basic_filebuf::underflow): Use it.
2394 (basic_filebuf::_M_convert_to_external): Use it.
2395 (basic_filebuf::seekoff): Use it.
2396 (basic_filebuf::imbue): Use it, tweaks.
2397 * include/bits/localefwd.h (__check_facet): New.
2398 * include/bits/locale_classes.h: Tweaks.
2399 * include/bits/locale_facets.tcc: Tweaks.
2400 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
2401 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
2402 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
2403 * include/bits/basic_ios.tcc: Same.
2404 * include/bits/istream.tcc: Same.
2405 * include/bits/ostream.tcc: Same.
2406 * include/std/std_streambuf.h: Same.
2407 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
2408 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
2409 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
2410 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
2411 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
2412 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
2414 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
2416 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
2417 unnecessary includes and unused string literals.
2418 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
2419 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
2420 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
2421 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
2423 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2425 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
2427 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
2429 * include/std/std_fstream.h (_M_convert_to_external): Change
2430 to return bool, take two less streamsize parameters.
2431 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
2432 consistently definition.
2433 (_M_overflow): Adjust call points.
2435 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
2437 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
2439 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
2441 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
2442 * testsuite/Makefile.in: Regenerate.
2444 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
2446 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
2447 * testsuite/Makefile.in: Regenerate.
2449 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
2452 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
2453 (acos): Handle integer argument.
2472 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
2473 (__enable_if): Likewise.
2474 * testsuite/26_numerics/cmath/overloads.C: New test.
2476 2003-05-10 Petur Runolfsson <peturr02@ru.is>
2481 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
2482 implementation, based on old wchar_t specialization, add support
2483 for codecvt::in() return value of codecvt_base::noconv, remove
2484 _M_file.sys_ungetc() call.
2485 * include/std/std_fstream.h (basic_file::underflow,
2486 basic_file::uflow, basic_file::_M_underflow): Remove
2487 specialization declarations, call _M_underflow from generic versions
2488 of underflow and uflow.
2489 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
2490 basic_file::_M_underflow): Remove specializations.
2491 * src/Makefile.am (sources): Remove fstream.cc.
2492 * src/Makefile.in: Regenerated.
2493 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
2494 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
2495 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
2496 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
2498 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
2500 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
2502 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
2504 (__basic_file::xsputn): Same.
2505 (__basic_file::seekoff): Same.
2506 (__basic_file::seekpos): Same.
2507 (__basic_file::showmanyc): Same.
2508 * config/io/basic_file_stdio.cc: Same.
2509 * include/std/std_fstream.h: Same.
2510 * include/bits/fstream.tcc: Same.
2511 * src/fstream.cc: Same.
2512 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
2514 2003-05-10 Petur Runolfsson <peturr02@ru.is>
2519 * include/ext/stdio_sync_filebuf.h: New file.
2520 (basic_stdiobuf): New.
2521 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
2522 * include/Makefile.in: Regenerate.
2523 * include/bits/ios_base.h (Init::_S_create_buffers,
2524 Init::_S_destroy_buffers): Remove declarations.
2525 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
2526 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
2527 * src/ios.cc (Init::_S_create_buffers,
2528 Init::_S_destroy_buffers): Remove.
2529 (Init::Init): Create and use syncronized buffers.
2530 (ios_base::sync_with_stdio): Destroy syncronized buffers,
2531 create and install unsyncronized buffers.
2532 * testsuite/27_io/objects/char/10.cc: New test.
2533 * testsuite/27_io/objects/char/9.cc: New test.
2534 * testsuite/27_io/objects/char/9661-1.cc: New test.
2535 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
2536 * testsuite/27_io/objects/char/9661-2_xin.in: New.
2537 * testsuite/27_io/objects/wchar_t/1.cc: New test.
2538 * testsuite/27_io/objects/wchar_t/10.cc: New test.
2539 * testsuite/27_io/objects/wchar_t/2.cc: New test.
2540 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
2541 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
2542 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
2543 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
2544 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
2545 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
2546 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
2547 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
2548 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
2549 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
2550 * testsuite/27_io/objects/wchar_t/5.cc: New test.
2551 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
2552 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
2553 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
2554 * testsuite/27_io/objects/wchar_t/6.cc: New test.
2555 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
2556 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
2557 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
2558 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
2559 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
2560 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
2561 * testsuite/27_io/objects/wchar_t/7.cc: New test.
2562 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
2563 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
2564 * testsuite/27_io/objects/wchar_t/8.cc: New test.
2565 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
2566 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
2567 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
2568 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
2569 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
2570 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
2571 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
2572 * testsuite/ext/stdiobuf_char.cc: New test.
2573 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
2575 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
2577 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
2578 unnecessary includes and unused string literals.
2579 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
2581 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
2583 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
2585 2003-05-07 Richard Henderson <rth@redhat.com>
2588 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
2589 (__cxa_end_catch): Likewise.
2590 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
2591 _Unwind_Resume_or_Rethrow.
2592 * libsupc++/eh_personality.cc (empty_exception_spec): New.
2593 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
2594 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
2595 exceptions. Don't push terminate/unexpected to cxa functions.
2596 (__cxa_call_unexpected): Remove foreign exception fixmes.
2598 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
2600 * testsuite/27_io/ios_base/cons: New.
2601 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
2602 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
2604 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
2606 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
2608 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
2609 there is no buffer or __testget == !__testinit.
2612 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
2613 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
2615 * include/std/std_fstream.h (_M_destroy_pback): Don't set
2616 unnecessarily _M_pback_cur_save and _M_pback_end_save.
2618 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
2620 * include/std/std_sstream.h (_M_sync): Minor tweak.
2622 * include/bits/fstream.tcc (close): No need to call
2623 _M_destroy_pback, setting _M_pback_init to false suffices
2626 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
2628 * include/bits/stl_algo.h: Enums as _S_.
2629 * include/bits/stl_tree.h: Same.
2630 * include/bits/stl_bvector.h: Same.
2631 * include/bits/ios_base.h: Same.
2632 * include/bits/stl_alloc.h: Same.
2633 * include/ext/stl_hashtable.h: Same.
2634 * src/ios.cc: And here.
2636 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
2637 * include/bits/sstream.tcc: Same.
2639 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
2641 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
2643 * include/bits/locale_facets.h (__num_base): Remove protected.
2644 Use _S_[io]* names for enumerations.
2645 (_S_format_int): Remove.
2646 * include/bits/locale_facets.tcc: Same.
2647 * src/locale.cc: Same.
2649 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
2651 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
2653 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
2654 * docs/html/faq/index.txt: Regenerated.
2656 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
2657 Matt Kraai <kraai@alumni.cmu.edu>
2659 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
2662 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
2664 * configure.target (mips*): Use the generic atomicity.h by default.
2666 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
2667 (Inspired by an alternate patch from Danny Smith.)
2669 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
2670 (_Swap_lock_struct<>): ...and the horse it rode in on.
2671 * src/globals.cc (_Swap_lock_struct<>): Likewise.
2672 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
2673 member to support...
2674 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
2675 visibility rules related to POSIX threads.
2676 * testsuite/thread/pthread7-rope.cc: New test.
2678 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
2680 * testsuite/21_strings/basic_string/find/char/3.cc: New
2681 file, testing basic_string<char>::find_first_not_of.
2682 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
2683 Likewise for basic_string<wchar_t>.
2685 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
2687 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
2689 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
2691 * include/Makefile.am (CLEANFILES): Remove PCH files in target
2693 * include/Makefile.in: Regenerate.
2695 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
2697 * include/std/std_sstream.h (str()): Tidy.
2699 2003-05-02 Nathan Myers <ncm@cantrip.org>
2700 Paolo Carlini <pcarlini@unitus.it>
2702 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
2704 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
2706 * include/bits/basic_string.h (swap): Remove redundant template
2707 parameters from declaration of non-template member function.
2709 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
2711 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
2712 * configure.in: Move libintl.h header test...
2713 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
2714 the NLS-related test results into one symbol.
2715 * src/functexcept.cc: Use it here.
2716 * aclocal.m4, config.h.in, configure: Regenerated.
2718 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2720 * include/bits/sstream.tcc (overflow): Instead of calling
2721 str(), then _M_string.reserve, thus copying the contents
2722 of the current buffer two times, just copy the latter in
2723 a temporary, then use the 'swap trick'.
2725 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2727 * include/std/std_sstream.h (str()): Revert the best of the
2728 previous 'improvement', incorrect due to the COW nature of
2729 v3 basic_string; simplify.
2731 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2733 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
2734 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
2736 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
2738 * testsuite/abi_check.cc (check_version): Update known versions.
2739 Check added symbols for version_name != base version. Add missing
2740 symbols to incompatible list.
2742 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
2744 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
2745 * aclocal.m4: Regenerated.
2746 * configure: Regenerated.
2748 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2750 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
2751 Const-ify some variables.
2752 (basic_streambuf::xsputn): Likewise; change the type of some
2753 variables to size_t.
2754 (__copy_streambufs): Change some variables to size_t.
2756 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2758 * include/std/std_sstream.h (str()): Avoid constructing
2759 a basic_string temporary not only when it would turn out
2760 to be zero-sized but also when identical to the current
2763 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
2765 * include/ext/stdio_filebuf.h
2766 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
2767 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
2768 Shorten a bit (-10 lines) by factoring out some code.
2770 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
2772 * acinclude.m4: Add bit missing from previous patch.
2773 * aclocal.m4, configure: Regenerated.
2775 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
2777 * docs/doxygen/mainpage.html: Bring up to date.
2778 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
2780 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
2781 breaks everything. Don't scan them.
2782 * docs/html/documentation.html: Point to "Write after approval"
2785 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
2787 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
2788 of libc if message translations are being used. Fix info text in
2789 xieee_1003.1-2001 case.
2790 * aclocal.m4, configure: Regenerate.
2792 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
2793 Loren J. Rittle <ljrittle@acm.org>
2794 Martin v. Loewis <martin@v.loewis.de>
2796 * config/cpu/i386/atomicity.h: New file.
2798 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
2800 * include/bits/fstream.tcc (open): Change to single return.
2802 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
2804 * include/std/std_sstream.h (underflow): Change to single return.
2806 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
2808 * include/std/std_streambuf.h (_M_buf): is currently
2809 used only for basic_filebuf, therefore move it there.
2810 (basic_streambuf(), ~basic_streambuf()): Adjust.
2811 * include/std/std_fstream.h (_M_buf): Moved here.
2812 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
2813 is actually redundant for basic_stringbuf.
2814 (_M_really_sync): Likewise.
2815 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
2816 * include/bits/sstream.tcc (seekoff): Adjust.
2818 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
2820 * src/localename.cc: Standardize exception strings.
2821 * src/locale.cc: Same.
2823 * include/bits/basic_string.tcc: Same.
2824 * include/bits/basic_ios.tcc: Same.
2825 * include/std/std_bitset.h: Same.
2826 * include/ext/ropeimpl.h: Same.
2827 * include/bits/stl_vector.h: Same.
2828 * include/bits/stl_deque.h: Same.
2829 * include/bits/stl_bvector.h: Same.
2830 * config/locale/generic/c_locale.cc: Same.
2831 * config/locale/gnu/c_locale.cc: Same.
2832 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
2834 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
2836 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
2838 * include/std/std_streambuf.h (_M_buf_size): is currently
2839 used only for basic_filebuf, therefore move it there.
2840 (basic_streambuf(), ~basic_streambuf()): Adjust.
2841 * include/std/std_fstream.h (_M_buf_size): Moved here.
2842 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
2844 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
2846 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
2847 _M_buf_size (synced input is now correctly dealt with
2848 elsewhere); when the output buffer is full don't fall back
2849 to a snextc-sputc loop, call overflow instead.
2851 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
2853 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
2854 the innermost 'if' by factoring out some code.
2856 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
2858 * configure.in: Test for libintl.h.
2859 * include/bits/c++config: Define __N for everybody.
2860 * include/bits/basic_string.h, include/bits/stl_bvector.h,
2861 include/bits/stl_deque.h, include/bits/stl_vector.h,
2862 include/std/std_bitset.h: Wrap all __throw* text with __N.
2863 * po/Makefile.am (pot): New rule, mostly working.
2864 * src/functexcept.cc: Call gettext on all __throw* arguments when
2865 -fexceptions is in effect.
2866 * po/Makefile.in, config.h.in, configure: Regenerate.
2868 2003-04-28 Petur Runolfsson <peturr02@ru.is>
2871 * include/bits/ios_base.h (Init::_S_ios_create,
2872 Init::_S_ios_destroy): Remove declarations.
2873 (Init::_S_create_buffers,
2874 Init::_S_destroy_buffers): Declare
2875 * src/ios.cc (Init::_S_ios_create): Remove
2876 (Init::_S_create_buffers): Create buffers and add to streams.
2877 (Init::_S_ios_destroy): Rename to...
2878 (Init::_S_destroy_buffers): this.
2879 (Init::Init): Only construct streams once.
2880 (Init::~Init): Flush streams, don't destroy them.
2881 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
2882 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
2883 * testsuite/27_io/objects/char/5.cc: New test.
2884 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
2885 * testsuite/27_io/objects/char/6.cc: New test.
2886 * testsuite/27_io/objects/char/7.cc: New test.
2888 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
2890 * testsuite/27_io/objects/char/8.cc: New test.
2892 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
2894 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
2895 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
2897 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
2899 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
2900 _M_destroy_pback. _M_pback_create to
2901 _M_create_pback. _M_underflow_common to
2902 _M_underflow. _M_really_overflow to _M_overflow.
2903 * include/bits/fstream.tcc: Same.
2904 * src/fstream.cc: Same.
2905 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
2906 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
2907 * include/bits/streambuf.tcc: Same.
2908 * include/bits/fstream.tcc: Same.
2909 * include/bits/sstream.tcc: Same.
2911 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
2913 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
2914 from fixed size array.
2915 (locale): Change _S_categories as well.
2917 * include/bits/locale_facets.tcc: Tweak.
2918 * config/locale/gnu/c_locale.cc: Assign _S_categories.
2919 * config/locale/generic/c_locale.cc: Same.
2920 * src/locale.cc: Tweak.
2921 * src/globals.cc: Change facet_name to name_vec, add names_c.
2922 * src/localename.cc: Use them.
2923 (locale::_Impl::~_Impl): Destroy _M_names.
2924 (locale::_Impl::_Impl): Create _M_names.
2926 2003-04-27 Andreas Schwab <schwab@suse.de>
2928 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2929 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
2931 2003-04-27 Nathan Myers <ncm@cantrip.org>
2933 Move some basic_string members out of line because
2934 they are too big to reasonably be inline.
2935 * include/bits/basic_string.h
2936 (assign(const basic_string&, size_type, size_type),
2937 assign(const _CharT*, size_type),
2938 insert(size_type, const basic_string&, size_type, size_type),
2939 insert(size_type, const _CharT*, size_type),
2940 replace(size_type, size_type, const _CharT*, size_type)):
2941 Move from here to...
2942 * include/bits/basic_string.tcc: ...here.
2944 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
2946 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
2947 the innermost 'if' by factoring out some code.
2949 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
2951 * include/bits/streambuf.tcc (__copy_streambufs): Don't
2952 use in_avail(), simplify.
2954 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
2956 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
2957 in basic_stringbuf it's unused.
2959 * include/std/std_sstream.h (underflow): consistently use
2960 _M_in_cur, not gptr().
2962 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
2963 Phil Edwards <pme@gcc.gnu.org>
2965 * testsuite_flags.in: Guard against the possibility
2966 of having "xgcc" as a part of a folder name in the
2967 path to the GCC build folder.
2968 * testsuite/Makefile.am: Likewise.
2969 * testsuite/Makefile.in: Regenerated.
2971 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
2974 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
2975 exception specifications.
2976 (basic_filebuf::close): Same.
2977 (basic_filebuf::_M_pback_destroy): Same.
2978 (basic_filebuf::_M_destroy_internal_buffer): Same.
2979 (basic_filebuf): Remove __res_type typedef.
2980 * src/fstream.cc: Same.
2981 * include/bits/fstream.tcc
2982 (basic_filebuf::_M_convert_to_external): Simplify.
2983 (basic_filebuf::seekoff): Use has_facet before use_facet.
2984 (basic_filebuf::close): Add exception specification of throw().
2985 * testsuite/27_io/basic_filebuf/cons: New.
2986 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
2987 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
2988 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
2989 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
2991 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
2993 * include/bits/locale_classes.h
2994 (locale::_S_extra_categories_size): Remove.
2995 * src/locale.cc: Remove _S_extra_categories_size.
2996 * src/localename.cc: Same.
2997 * config/locale/gnu/c_locale.cc: Same.
2998 * config/locale/generic/c_locale.cc: Same.
3000 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3002 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3004 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3006 * docs/html/17_intro/howto.html: Update some links.
3007 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3008 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3009 * docs/html/ext/howto.html: Link to demangler notes and API.
3010 * docs/html/faq/index.html: Remove trailing whitespace.
3011 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3012 (5.6): Change to a bulleted list.
3014 * docs/html/faq/index.txt, docs/html/documentation.html,
3015 docs/html/17_intro/porting.html: Regenerate.
3017 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3019 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3020 belongs to basic_filebuf.
3021 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3022 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3023 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3024 instantiation (now belongs to basic_filebuf).
3025 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3026 * testsuite/27_io/basic_istream/3.cc: Likewise.
3027 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3028 _S_pback_size now belongs to basic_filebuf.
3029 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3030 instantiation (now belongs to basic_filebuf).
3031 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3032 belongs to basic_filebuf.
3033 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3034 instantiation (now belongs to basic_filebuf).
3035 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3036 _S_pback_size now belongs to basic_filebuf.
3037 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3038 instantiation (now belongs to basic_filebuf).
3039 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3041 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3042 instantiation (now belongs to basic_filebuf).
3043 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3045 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3047 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3048 * configure: Regenerated.
3050 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3052 * config/locale/generic/c_locale.h (__convert_from_v): Use
3055 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3057 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3058 implementation only.
3059 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3060 Comment and change to comply with DR 60 and the effect on gcount().
3061 * include/std/std_istream.h: Update comments.
3062 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3063 comments about reasons for tests. Test sync() against gcount().
3064 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3065 for effect on gcount().
3066 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3067 for effect on gcount().
3069 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3071 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3074 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3076 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3077 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3078 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3079 (basic_streambuf::basic_streambuf()): Adjust.
3080 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3081 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3082 _M_pback_create(), _M_pback_destroy()): Moved here
3083 from basic_streambuf.
3084 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3086 (basic_filebuf::_S_pback_size): Add declaration.
3087 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3090 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3092 Consistently use _M_in_beg instead of eback(), _M_in_cur
3093 instead of gptr(), and so on.
3094 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3095 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3096 * include/bits/streambuf.tcc (sbumpc, sputbackc,
3097 __copy_streambufs): Ditto.
3098 * include/std/std_streambuf.h (sgetc): Ditto.
3100 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3102 * include/bits/sstream.tcc (pbackfail, overflow):
3105 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3107 * include/std/std_streambuf.h (uflow()): It's used only by
3108 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3109 therefore do not consider the _M_buf_unified == true case.
3111 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3113 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3115 * docs/html/ext/howto.html ('LWG Issues'):
3116 Add issues 19, 90, 171, 231, 271.
3118 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3120 * include/bits/sstream.tcc (pbackfail): Remove redundant
3121 NULL pointer check from test involving _M_in_*.
3122 (overflow, seekoff, seekpos): Const qualify bool variables.
3123 * include/std/std_sstream.h (underflow): Remove redundant
3124 NULL pointer check from test involving _M_in_*.
3125 (_M_really_sync): Const qualify bool variables.
3126 * src/fstream.cc (_M_underflow_common): Remove redundant
3127 NULL pointer check from test involving _M_in_*, const qualify
3130 * include/std/std_streambuf.h (sgetc): Remove redundant
3133 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
3135 According to 5.9 para 2 (second bullet) for pointers p, q
3136 pointing to the same type, with p == 0 and q == 0, (p < q)
3138 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3139 seekoff): Remove redundant NULL pointer checks from tests
3140 involving _M_out_* and _M_in_*, const qualify bool variables.
3141 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3142 qualify bool variables.
3143 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3144 Remove redundant NULL pointer checks from tests involving
3145 _M_out_* and _M_in_*, const qualify bool variables.
3146 * include/std/std_fstream.h (sync): Likewise.
3147 (_M_is_indeterminate): Const qualify bool variables.
3148 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3149 NULL pointer checks from tests involving _M_out_* and _M_in_*,
3150 const qualify bool variables.
3151 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3154 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
3156 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3157 C99 FP macros, if actually captured.
3159 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3160 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3161 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3162 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3163 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3165 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3166 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3167 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3168 * include/c_std/std_cstdlib.h: Use new macros.
3169 * include/c_std/std_cstdio.h: Use new macros.
3170 * include/c_std/std_cwchar.h: Use new macros.
3172 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
3175 * include/bits/ostream.tcc: Catch all exceptions for formatted
3176 output, instead of std::exception and derivatives.
3177 * include/bits/istream.tcc: Same.
3178 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3179 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3180 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3181 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3182 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3183 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3186 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
3188 * include/bits/c++config: Minor cosmetic tweaks.
3190 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
3192 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3193 * include/Makefile.am (pch_input): Find in ${target_builddir}.
3194 (pch_output): Rename to...
3195 (pch_output_builddir): ..this. Find in ${target_builddir}.
3196 (pch_source): Tweak.
3197 (pch_build): Key off a built file.
3198 (pch_output rule): Rename to...
3199 (pch_input rule): ...this. Produce ${pch_output_builddir}
3200 instead of ${pch_output}.
3201 (install-pch rule): Install ${pch_output_builddir}.
3202 * include/Makefile.in: Regenerated.
3204 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
3206 * include/std/std_streambuf.h (setp): _M_out_lim, being
3207 the end limit of used put area, is set equal to _M_out_beg.
3209 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
3211 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3212 * aclocal.m4: Regenerated.
3213 * configure.in: Remove old demangler bits.
3215 * configure: Regenerate.
3216 * config.h.in: Regenerate.
3217 * include/Makefile.am (allstamps): Now allstamped.
3218 (allcreated): Define this.
3219 (all-local): Use 'em.
3220 Conditionally define pch_build, pch_install based on
3222 (${pch_output}): New rule.
3223 (install-pch): New rule.
3224 (install-headers): New rule.
3225 (install-data-local): Install headers and conditionally pch.
3226 * include/Makefile.in: Regenerate.
3227 * testsuite_flags.in (--build-cxx): Use pch file.
3229 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
3231 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
3233 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
3234 Paolo Carlini <pcarlini at unitus dot it>
3237 * docs/html/27_io/howto.html
3238 ('The buffering is screwing up my program!'): Explain that
3239 opening counts as an I/O operation.
3241 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
3243 * testsuite/thread/pthread1.cc: Enable for darwin test.
3244 * testsuite/thread/pthread2.cc: Same.
3245 * testsuite/thread/pthread3.cc: Same.
3246 * testsuite/thread/pthread4.cc: Same.
3247 * testsuite/thread/pthread5.cc: Same.
3248 * testsuite/thread/pthread6.cc: Same.
3250 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
3253 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
3254 Populate it with multiple legal ways to obtain the C99 float
3255 transcendentals. Use them instead of direct global reference.
3256 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
3257 * docs/html/17_intro/porting.texi
3258 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3259 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3260 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
3261 * config/os/bsd/freebsd/os_defines.h
3262 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3263 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3264 * testsuite/26_numerics/c_math_dynamic.cc: New file.
3266 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3267 Benjamin Kosnik <bkoz@redhat.com>
3269 * config/os/generic/ctype_inline.h: Fix.
3271 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
3273 * testsuite/testsuite_hooks.h
3274 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
3275 Change to try_named_locale.
3276 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
3278 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
3280 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
3281 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
3282 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
3283 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
3284 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
3285 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
3286 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
3287 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
3288 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
3289 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
3290 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
3291 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
3292 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
3293 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
3294 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
3295 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
3296 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
3297 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
3298 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
3299 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
3300 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
3301 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
3302 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
3303 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
3304 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
3305 * testsuite/22_locale/collate/compare/char/1.cc: Same.
3306 * testsuite/22_locale/collate/compare/char/2.cc: Same.
3307 * testsuite/22_locale/collate/compare/char/3.cc: Same.
3308 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
3309 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
3310 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
3311 * testsuite/22_locale/collate/hash/char/2.cc: Same.
3312 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
3313 * testsuite/22_locale/collate/transform/char/2.cc: Same.
3314 * testsuite/22_locale/collate/transform/char/3.cc: Same.
3315 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
3316 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
3317 * testsuite/22_locale/collate_byname/1.cc: Same.
3318 * testsuite/22_locale/ctype/is/char/2.cc: Same.
3319 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
3320 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
3321 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
3322 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
3323 * testsuite/22_locale/facet/2.cc: Same.
3324 * testsuite/22_locale/locale/cons/2.cc: Same.
3325 * testsuite/22_locale/locale/cons/4.cc: Same.
3326 * testsuite/22_locale/locale/cons/5.cc: Same.
3327 * testsuite/22_locale/locale/cons/7.cc: Same.
3328 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
3329 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
3330 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
3331 * testsuite/22_locale/messages/members/char/1.cc: Same.
3332 * testsuite/22_locale/messages/members/char/2.cc: Same.
3333 * testsuite/22_locale/messages/members/char/3.cc: Same.
3334 * testsuite/22_locale/messages_byname/1.cc: Same.
3335 * testsuite/22_locale/money_get/get/char/1.cc: Same.
3336 * testsuite/22_locale/money_get/get/char/2.cc: Same.
3337 * testsuite/22_locale/money_get/get/char/3.cc: Same.
3338 * testsuite/22_locale/money_get/get/char/4.cc: Same.
3339 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
3340 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
3341 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
3342 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
3343 * testsuite/22_locale/money_put/put/char/1.cc: Same.
3344 * testsuite/22_locale/money_put/put/char/2.cc: Same.
3345 * testsuite/22_locale/money_put/put/char/3.cc: Same.
3346 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
3347 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
3348 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
3349 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
3350 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
3351 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
3352 * testsuite/22_locale/num_get/get/char/1.cc: Same.
3353 * testsuite/22_locale/num_get/get/char/2.cc: Same.
3354 * testsuite/22_locale/num_get/get/char/3.cc: Same.
3355 * testsuite/22_locale/num_get/get/char/5.cc: Same.
3356 * testsuite/22_locale/num_get/get/char/6.cc: Same.
3357 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
3358 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
3359 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
3360 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
3361 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
3362 * testsuite/22_locale/num_put/put/char/1.cc: Same.
3363 * testsuite/22_locale/num_put/put/char/2.cc: Same.
3364 * testsuite/22_locale/num_put/put/char/3.cc: Same.
3365 * testsuite/22_locale/num_put/put/char/5.cc: Same.
3366 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
3367 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
3368 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
3369 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
3370 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
3371 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
3372 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
3373 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
3374 * testsuite/22_locale/numpunct_byname/1.cc: Same.
3375 * testsuite/22_locale/numpunct_byname/2.cc: Same.
3376 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
3377 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
3378 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
3379 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
3380 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
3381 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
3382 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
3383 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
3384 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
3385 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
3386 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
3387 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
3388 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
3389 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
3390 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
3391 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
3392 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
3393 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
3394 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
3395 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
3396 * testsuite/22_locale/time_put/put/char/1.cc: Same.
3397 * testsuite/22_locale/time_put/put/char/2.cc: Same.
3398 * testsuite/22_locale/time_put/put/char/3.cc: Same.
3399 * testsuite/22_locale/time_put/put/char/4.cc: Same.
3400 * testsuite/22_locale/time_put/put/char/5.cc: Same.
3401 * testsuite/22_locale/time_put/put/char/6.cc: Same.
3402 * testsuite/22_locale/time_put/put/char/7.cc: Same.
3403 * testsuite/22_locale/time_put/put/char/8.cc: Same.
3404 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
3405 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
3406 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
3407 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
3408 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
3409 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
3410 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
3411 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
3412 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
3413 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
3414 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
3415 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
3416 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
3418 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3420 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
3421 solaris includes, not generic.
3423 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
3425 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
3427 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
3428 * include/bits/concept_check.h: Fix multi-line comment.
3429 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
3430 when target is *-*-freebsd*.
3432 2003-04-14 Nathan Myers <ncm@cantrip.org>
3433 Paolo Carlini <pcarlini@unitus.it>
3435 PR libstdc++/9701 (in_avail())
3436 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
3437 doesn't care if there is anything in some putback cell.
3438 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
3440 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
3441 unused string literals.
3443 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
3445 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
3446 _M_out_end, _M_set_indeterminate() does it.
3448 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3450 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
3452 2003-04-12 David Edelsohn <edelsohn@gnu.org>
3454 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3455 Change basic_streambuf instantiation to "unsigned char".
3456 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3458 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
3460 Remove _M_buf_size_opt, use directly _M_buf_size instead.
3461 * include/bits/fstream.tcc
3462 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
3463 references to _M_buf_size_opt.
3464 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
3465 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
3466 __bufsize to __in_avail and __size_opt to __buf_size.
3467 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
3468 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
3469 * include/std/std_streambuf.h (~basic_streambuf(),
3470 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
3471 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
3472 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3473 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
3474 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
3475 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
3476 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
3477 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
3478 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
3479 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3480 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3481 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3482 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3484 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
3486 * include/ext/stdio_filebuf.h
3487 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
3488 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
3489 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
3490 since a stack-based buffer is used for small values of the size_t
3492 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
3493 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
3494 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
3496 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
3499 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
3500 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
3502 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3504 * testsuite/22_locale/locale/cons/3.cc: Split.
3505 * testsuite/22_locale/locale/cons/7222-c.cc: New.
3506 * testsuite/22_locale/locale/cons/7222-env.cc: New.
3507 Check before trying to create a locale from the environment.
3508 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
3509 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
3512 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3514 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
3515 locale to construct this hybrid locale, not the global locale.
3517 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
3519 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
3520 instantiation for AIX.
3521 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3522 * testsuite/25_algorithms/min_max.cc: Same.
3524 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3526 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
3527 twice. Always set _M_cfile to 0 when stream was open.
3529 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
3531 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
3532 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
3533 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
3534 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
3535 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
3536 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
3537 ifstream_members.cc, instantiations.cc, ios.cc,
3538 ios_base_callbacks.cc, ios_base_members_static-1.tst,
3539 ios_base_members_static.cc, ios_base_storage.cc,
3540 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
3541 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
3542 iostream.cc, iostream_members.cc, istream.cc,
3543 istream_exception.cc, istream_extractor_char.cc,
3544 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
3545 istream_extractor_other-2.tst, istream_extractor_other.cc,
3546 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
3547 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
3548 istream_sentry.cc, istream_unformatted-1.tst,
3549 istream_unformatted-1.txt, istream_unformatted.cc,
3550 istringstream.cc, istringstream_members.cc,
3551 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
3552 ofstream_members.cc, ostream.cc, ostream_exception.cc,
3553 ostream_fail.cc, ostream_inserter_arith.cc,
3554 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
3555 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
3556 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
3557 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
3558 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
3559 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
3560 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
3561 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
3562 wide_stream_objects.cc, istream_extractor_arith/01.cc,
3563 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
3564 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
3565 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
3566 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
3567 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
3569 * 27_io/basic_filebuf/1.cc: New.
3570 * 27_io/basic_filebuf/2.cc: New.
3571 * 27_io/basic_filebuf/3.cc: New.
3572 * 27_io/basic_filebuf/4.cc: New.
3573 * 27_io/basic_filebuf/close/char/1.cc: New.
3574 * 27_io/basic_filebuf/close/char/2.cc: New.
3575 * 27_io/basic_filebuf/close/char/3.cc: New.
3576 * 27_io/basic_filebuf/close/char/4879.cc: New.
3577 * 27_io/basic_filebuf/close/char/9964.cc: New.
3578 * 27_io/basic_filebuf/imbue/char/1.cc: New.
3579 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
3580 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
3581 * 27_io/basic_filebuf/is_open/char/1.cc: New.
3582 * 27_io/basic_filebuf/open/char/1.cc: New.
3583 * 27_io/basic_filebuf/open/char/2.cc: New.
3584 * 27_io/basic_filebuf/open/char/3.cc: New.
3585 * 27_io/basic_filebuf/open/char/9507.cc: New.
3586 * 27_io/basic_filebuf/overflow/char/1.cc: New.
3587 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
3588 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
3589 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
3590 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
3591 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
3592 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
3593 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
3594 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
3595 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
3596 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
3597 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
3598 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
3599 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
3600 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
3601 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
3602 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
3603 * 27_io/basic_filebuf/snextc/char/1.cc: New.
3604 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
3605 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
3606 * 27_io/basic_filebuf/sputc/char/1.cc: New.
3607 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
3608 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
3609 * 27_io/basic_filebuf/sputn/char/1.cc: New.
3610 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
3611 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
3612 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
3613 * 27_io/basic_filebuf/sync/char/1057.cc: New.
3614 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
3615 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
3616 * 27_io/basic_fstream/1.cc: New.
3617 * 27_io/basic_fstream/2.cc: New.
3618 * 27_io/basic_fstream/3.cc: New.
3619 * 27_io/basic_fstream/4.cc: New.
3620 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
3621 * 27_io/basic_ifstream/1.cc: New.
3622 * 27_io/basic_ifstream/2.cc: New.
3623 * 27_io/basic_ifstream/3.cc: New.
3624 * 27_io/basic_ifstream/4.cc: New.
3625 * 27_io/basic_ifstream/cons/char/1.cc: New.
3626 * 27_io/basic_ifstream/open/char/1.cc: New.
3627 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
3628 * 27_io/basic_ios/1.cc: New.
3629 * 27_io/basic_ios/2.cc: New.
3630 * 27_io/basic_ios/3.cc: New.
3631 * 27_io/basic_ios/4.cc: New.
3632 * 27_io/basic_ios/clear/char/1.cc: New.
3633 * 27_io/basic_ios/cons/char/1.cc: New.
3634 * 27_io/basic_ios/cons/char/2.cc: New.
3635 * 27_io/basic_ios/cons/char/3.cc: New.
3636 * 27_io/basic_ios/copyfmt/char/1.cc: New.
3637 * 27_io/basic_ios/copyfmt/char/2.cc: New.
3638 * 27_io/basic_ios/exceptions/char/1.cc: New.
3639 * 27_io/basic_ios/locales/char/1.cc: New.
3640 * 27_io/basic_iostream/1.cc: New.
3641 * 27_io/basic_iostream/2.cc: New.
3642 * 27_io/basic_iostream/3.cc: New.
3643 * 27_io/basic_iostream/4.cc: New.
3644 * 27_io/basic_istream/1.cc: New.
3645 * 27_io/basic_istream/2.cc: New.
3646 * 27_io/basic_istream/3.cc: New.
3647 * 27_io/basic_istream/4.cc: New.
3648 * 27_io/basic_istream/exceptions/char/9561.cc: New.
3649 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
3650 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
3651 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
3652 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
3653 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
3654 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
3655 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
3656 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
3657 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
3658 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
3659 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
3660 * 27_io/basic_istream/extractors_character/char/1.cc: New.
3661 * 27_io/basic_istream/extractors_character/char/2.cc: New.
3662 * 27_io/basic_istream/extractors_character/char/3.cc: New.
3663 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
3664 * 27_io/basic_istream/extractors_other/char/1.cc: New.
3665 * 27_io/basic_istream/extractors_other/char/2.cc: New.
3666 * 27_io/basic_istream/extractors_other/char/3.cc: New.
3667 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
3668 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
3669 * 27_io/basic_istream/get/char/1.cc: New.
3670 * 27_io/basic_istream/get/char/2.cc: New.
3671 * 27_io/basic_istream/getline/char/1.cc: New.
3672 * 27_io/basic_istream/getline/char/2.cc: New.
3673 * 27_io/basic_istream/getline/char/3.cc: New.
3674 * 27_io/basic_istream/ignore/char/1.cc: New.
3675 * 27_io/basic_istream/ignore/char/6360.cc: New.
3676 * 27_io/basic_istream/ignore/char/7220.cc: New.
3677 * 27_io/basic_istream/peek/char/1.cc: New.
3678 * 27_io/basic_istream/peek/char/6414.cc: New.
3679 * 27_io/basic_istream/putback/char/1.cc: New.
3680 * 27_io/basic_istream/read/char/1.cc: New.
3681 * 27_io/basic_istream/read/char/2.cc: New.
3682 * 27_io/basic_istream/read/char/3.cc: New.
3683 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
3684 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
3685 * 27_io/basic_istream/readsome/char/8258.cc: New.
3686 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
3687 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
3688 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
3689 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
3690 * 27_io/basic_istream/seekg/char/fstream.cc: New.
3691 * 27_io/basic_istream/seekg/char/sstream.cc: New.
3692 * 27_io/basic_istream/sentry/char/1.cc: New.
3693 * 27_io/basic_istream/sentry/char/2.cc: New.
3694 * 27_io/basic_istream/sentry/char/3.cc: New.
3695 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
3696 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
3697 * 27_io/basic_istream/tellg/char/1.cc: New.
3698 * 27_io/basic_istream/tellg/char/8348.cc: New.
3699 * 27_io/basic_istream/tellg/char/fstream.cc: New.
3700 * 27_io/basic_istream/tellg/char/sstream.cc: New.
3701 * 27_io/basic_istream/ws/char/1.cc: New.
3702 * 27_io/basic_istringstream/1.cc: New.
3703 * 27_io/basic_istringstream/2.cc: New.
3704 * 27_io/basic_istringstream/3.cc: New.
3705 * 27_io/basic_istringstream/4.cc: New.
3706 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
3707 * 27_io/basic_istringstream/str/char/1.cc: New.
3708 * 27_io/basic_ofstream/1.cc: New.
3709 * 27_io/basic_ofstream/2.cc: New.
3710 * 27_io/basic_ofstream/3.cc: New.
3711 * 27_io/basic_ofstream/4.cc: New.
3712 * 27_io/basic_ofstream/cons/char/2.cc: New.
3713 * 27_io/basic_ofstream/open/char/1.cc: New.
3714 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
3715 * 27_io/basic_ostream/1.cc: New.
3716 * 27_io/basic_ostream/2.cc: New.
3717 * 27_io/basic_ostream/3.cc: New.
3718 * 27_io/basic_ostream/4.cc: New.
3719 * 27_io/basic_ostream/cons/char/9827.cc: New.
3720 * 27_io/basic_ostream/endl/char/1.cc: New.
3721 * 27_io/basic_ostream/ends/char/1.cc: New.
3722 * 27_io/basic_ostream/ends/char/2.cc: New.
3723 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
3724 * 27_io/basic_ostream/flush/char/1.cc: New.
3725 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
3726 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
3727 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
3728 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
3729 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
3730 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
3731 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
3732 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
3733 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
3734 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
3735 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
3736 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
3737 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
3738 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
3739 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
3740 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
3741 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
3742 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
3743 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
3744 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
3745 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
3746 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
3747 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
3748 * 27_io/basic_ostream/sentry/char/1.cc: New.
3749 * 27_io/basic_ostream/sentry/char/2.cc: New.
3750 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
3751 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
3752 * 27_io/basic_ostream/tellp/char/1.cc: New.
3753 * 27_io/basic_ostream/tellp/char/2.cc: New.
3754 * 27_io/basic_ostringstream/1.cc: New.
3755 * 27_io/basic_ostringstream/2.cc: New.
3756 * 27_io/basic_ostringstream/3.cc: New.
3757 * 27_io/basic_ostringstream/4.cc: New.
3758 * 27_io/basic_ostringstream/cons/char/3.cc: New.
3759 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
3760 * 27_io/basic_ostringstream/str/char/1.cc: New.
3761 * 27_io/basic_ostringstream/str/char/2.cc: New.
3762 * 27_io/basic_streambuf/1.cc: New.
3763 * 27_io/basic_streambuf/2.cc: New.
3764 * 27_io/basic_streambuf/3.cc: New.
3765 * 27_io/basic_streambuf/cons/char/1.cc: New.
3766 * 27_io/basic_streambuf/imbue/char/1.cc: New.
3767 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
3768 * 27_io/basic_streambuf/overflow/char/1.cc: New.
3769 * 27_io/basic_streambuf/overflow/char/2.cc: New.
3770 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
3771 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
3772 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
3773 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
3774 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
3775 * 27_io/basic_streambuf/sputn/char/1.cc: New.
3776 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
3777 * 27_io/basic_streambuf/sync/char/1057.cc: New.
3778 * 27_io/basic_stringbuf/1.cc: New.
3779 * 27_io/basic_stringbuf/2.cc: New.
3780 * 27_io/basic_stringbuf/3.cc: New.
3781 * 27_io/basic_stringbuf/4.cc: New.
3782 * 27_io/basic_stringbuf/5.cc: New.
3783 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
3784 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
3785 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
3786 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
3787 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
3788 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
3789 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
3790 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
3791 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
3792 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
3793 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
3794 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
3795 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
3796 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
3797 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
3798 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
3799 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
3800 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
3801 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
3802 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
3803 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
3804 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
3805 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
3806 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
3807 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
3808 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
3809 * 27_io/basic_stringbuf/str/char/1.cc: New.
3810 * 27_io/basic_stringbuf/str/char/2.cc: New.