1 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
3 * config/linker-map.gnu: Remove ; after __numpunct_cache.
5 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
7 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
9 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
11 (num_put::_M_convert_float): Use.
13 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
14 Jerry Quinn <jlquinn@optonline.net>
16 * config/linker-map.gnu: Add __numpunct_cache.
17 * config/locale/gnu/numeric_members.cc
18 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
19 all elements for "C" locale.
20 (numpunct::~numpunct): Delete _M_data.
21 * config/locale/generic/numeric_members.cc: Same.
22 * include/bits/basic_ios.tcc
23 (basic_ios::init): Remove __locale_cache bits.
24 (basic_ios::_M_cache_locale): Same.
25 * include/bits/ios_base.h: Same. Tweaks.
26 * include/bits/locale_classes.h: Tweaks. Reorder classes.
27 (__use_cache): Make friends with _Impl, locale.
28 (_Impl::_M_caches): Add.
29 (_Impl::_M_install_cache): Add.
30 * include/bits/locale_facets.h (__numpunct_cache): New.
31 (numpunct): Encapsulate data members in __numpunct_cache member,
32 _M_data. Adjust virtuals.
33 (numpunct::numpunct): New ctor for the same.
34 (__locale_cache_base): Remove.
35 (__locale_cache): Remove.
36 * include/bits/locale_facets.tcc (__use_cache): New function,
38 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
39 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
40 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
41 * src/locale-inst.cc: Same. Add __numpunct_cache.
42 * src/locale.cc: Tweak inlines.
43 (__use_cache): Define specializations.
44 * src/localename.cc: Use global bits.
45 (_Impl::~Impl): Deal with __numpunct_cache destruction.
46 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
47 (_Impl::_M_init_facet): Take into account __numpunct_cache.
48 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
49 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
51 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
52 Paolo Carlini <pcarlini@unitus.it>
54 * testsuite/performance/filebuf_copy.cc: New, testing char
57 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
58 Nathan C. Myers <ncm-nospam@cantrip.org>
60 * include/bits/fstream.tcc (_M_underflow): When the actual
61 end of file is reached, set 'uncommitted' mode to allow a
62 next write without an intervening seek (see C++98 27.8.1.1,2
64 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
66 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
68 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
69 sputc): Move inline, from here...
70 * include/std/std_streambuf.h: ... to here.
72 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
73 sputbackc, sungetc, sputc): Use __builtin_expect.
75 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
77 * docs/doxygen/mainpage.html: Use a useful title.
79 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
81 * docs/html/documentation.html: Remove assignment info.
82 * docs/html/17_intro/contribute.html: Edits.
83 * docs/html/17_intro/libstdc++-assign.tx: Remove.
85 * docs/html/test.html: Update.
89 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
90 Ulrich Drepper <drepper@redhat.com>
92 * testsuite/testsuite_performance.h: Tweak mallinfo.
94 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
95 Nathan C. Myers <ncm-nospam@cantrip.org>
97 * include/std/std_fstream.h (_M_filepos): Remove.
98 (_M_reading, _M_writing): New, encode the various I/O modes:
99 'read', 'write' and 'uncommitted'.
100 (sync): If there is something to flush, do it, then go to
102 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
103 with three different cases: __off > 0 (upon underflow),
104 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
106 (_M_underflow): Don't call overflow, set _M_reading to true
108 (pbackfail): Set _M_reading to true on pback creation, tweak.
109 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
110 set _M_writing to true on success, tweak.
111 (seekoff): Simplify, set _M_reading, _M_writing to false, call
112 _M_set_buffer(-1) ('uncommitted').
113 (open, close, setbuf): Set _M_reading, _M_writing to false and
114 call _M_set_buffer(-1), tweak.
115 (basic_filebuf): Don't set _M_buf_unified.
116 (_M_destroy_internal_buffer): Don't call setg and setp.
117 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
118 _M_writing and _M_set_buffer(-1).
119 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
120 _M_out_lim, _M_buf_unified): Remove.
121 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
122 (setp): Don't set _M_out_lim.
123 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
124 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
125 upon open the mode is 'uncommitted' and therefore the put area
127 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
128 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
129 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
130 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
131 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
132 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
133 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
134 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
135 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
136 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
137 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
138 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
139 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
140 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
141 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
142 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
143 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
144 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
145 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
146 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
148 * include/bits/fstream.tcc (showmanyc): Use only the
149 documented derivation interface to basic_streambuf (gptr(),
150 setg(), etc.) to work right with user specializations.
151 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
152 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
153 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
155 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
158 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
160 * configure.host (freebsd*): Set abi_baseline_pair.
161 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
162 (at or near first release) to 3.3.
163 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
164 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
165 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
167 * include/ext/mt_allocator.h: Portability.
168 * testsuite/testsuite_performance.h: Likewise.
170 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
172 * docs/html/17_intro/libstdc++-assign.txt: Update address.
174 * testsuite/performance/ifstream_getline.cc: Fix.
176 2003-06-23 Doug Gregor <dgregor@apple.com>
178 * include/bits/boost_concept_check.h: Don't use _D or _R for type
181 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
182 Nathan C. Myers <ncm-nospam@cantrip.org>
184 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
185 is now used only for filebuf, when _M_buf_unified is true.
186 epgtr() plays the role of _M_out_lim but it's only updated
187 upon overflow, underflow, uflow, seekoff/pos.
188 * include/bits/sstream.tcc (_M_underflow): New, implements
189 stringbuf::underflow and uflow.
190 (seekoff, seekpos): Tweak, use _M_update_egptr.
191 * include/std/std_sstream.h (str): Rewrote, deal correctly
192 with the new logic, in particular, when pptr() > egptr().
193 (_M_sync): When __testout && !__testin set all the get area
194 pointers to the current string end.
195 (_M_update_egptr): New, internal function updating egptr()
196 to the actual string end.
197 (_M_underflow): New, declare.
198 (underflow): Dispatch to _M_underflow(false).
199 (uflow): Dispatch to _M_underflow(true).
201 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
202 seekpos): Use only the documented derivation interface to
203 basic_streambuf (gptr(), setg(), etc.) to work right with
204 user specializations.
205 * include/std/std_sstream.h (str, _M_sync): Likewise.
207 2003-06-20 Doug Gregor <dgregor@apple.com>
209 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
210 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
211 dereference end iterator.
212 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
213 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
214 index equal to the length of a string.
215 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
216 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
217 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
218 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
219 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
220 * testsuite/23_containers/list_modifiers.cc: Don't dereference
221 singular reverse iterator.
222 * testsuite/23_containers/vector_bool.cc: Don't increment singular
224 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
226 2003-06-20 Doug Gregor <dgregor@apple.com>
228 * include/bits/basic_string.h (basic_string::replace): Dispatch
229 _InputIterator version based on _Is_integer.
230 * include/bits/basic_string.tcc (basic_string::replace):
231 Renamed replace(iterator, iterator, size_type, _CharT) to
233 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
234 Test basic_string::assign(_InputIterator, _InputIterator),
235 which calls basic_string::replace(iterator, iterator,
236 _Input_iterator, _InputIterator).
238 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
240 * testsuite/testsuite_performance.h (resource_counter): Don't use
241 mallinfo at the moment.
243 2003-06-20 Matthias Klose <doko@debian.org>
245 * configure.host: Set try_cpu to target_cpu for existing
248 2003-06-19 Andreas Jaeger <aj@suse.de>
250 * testsuite/Makefile.am (extract_symvers): Revert accidental
252 * testsuite/Makefile.in: Regenerate.
254 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
255 * configure: Regenerated.
257 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
259 * include/std/std_sstream.h (_M_sync): Make non virtual.
261 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
263 * testsuite/testsuite_performance.h (time_counter): New.
264 (resource_counter): New.
265 (report_performance): New.
266 (start_counters): New.
267 (stop_counters): New.
268 (clear_counters): New.
269 * testsuite/performance/allocator.cc: Instrument.
270 * testsuite/performance/cout_insert_int.cc: Same.
271 * testsuite/performance/complex_norm.cc: Same.
272 * testsuite/performance/filebuf_sputc.cc: New.
273 * testsuite/performance/fstream_seek_write.cc: Same.
274 * testsuite/performance/ifstream_getline.cc: Same.
275 * testsuite/performance/map_create_fill.cc: Same.
276 * testsuite/performance/ofstream_insert_float.cc: Same.
277 * testsuite/performance/ofstream_insert_int.cc: Same.
278 * testsuite/performance/string_append.cc: Convert.
279 * scripts/check_performance: New.
280 * testsuite/Makefile.am (check-performance): New.
283 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
284 Benjamin Kosnik <bkoz@redhat.com>
286 * include/std/std_sstream.h (setbuf): Check __n >= 0.
287 * include/bits/fstream.tcc (setbuf): Tweak.
289 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
291 * include/bits/sstream.tcc (seekoff): We can't seek beyond
292 _M_out_lim, therefore _M_move_out_cur boils down to simply
294 (seekpos): Likewise, clean up.
296 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
297 Paolo Carlini <pcarlini@unitus.it>
299 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
300 simply equivalent to the unbuffered case (0, 0) as far as
301 _M_buf_size is concerned.
303 2003-06-18 Andreas Jaeger <aj@suse.de>
305 * testsuite/Makefile.am (new-abi-baseline): Create baseline
307 (baseline_file): Use baseline_dir.
309 (mkinstalldirs): New.
311 * acinclude.m4: Rename baseline_file to baseline_dir, strip
312 filename from baseline_dir.
314 * testsuite/Makefile.in: Regenerated.
315 * Makefile.in: Regenerated.
316 * aclocal.m4: Regenerated.
317 * configure: Regenerated.
319 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
321 * configure.in: Missed check_survey bit.
322 * configure: Regenerated.
324 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
327 * config/abi/extract_symvers: Move to...
328 * scripts/extract_symvers: ...here.
329 * mkcheck.in: Move to..
330 * scripts/check_survey.in: ...here.
331 * testsuite_flags.in: Move to..
332 * scripts/testsuite_flags.in: ...here.
333 * configure.in: Change check and testsuite_flags locations.
334 * configure: Regenerate.
335 * testsuite/Makefile.am (current_symbols.txt): Change location.
336 * testsuite/Makefile.in: Regenerate.
337 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
338 location of testsuite_flags.
339 * Makefile.am (check-script): Move..
340 (check-script-install): Move...
341 * testsuite/Makefile.am: ... here.
342 * testsuite/Makefile.in: Regenerate.
343 * Makefile.in: Regenerate.
345 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
347 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
349 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
351 * Makefile.am (check-abi): Move...
352 (new-abi-baseline): Move...
353 * testsuite/Makefile.am: ...here.
354 (new-abi-baseline): Conditionalize.
355 (check-abi): Conditionalize.
356 (check-abi-verbose): New.
357 * Makefile.in: Regenerate.
358 * testsuite/Makefile.in: Regenerate.
359 * configure.in: Consolidate testsuite configure bits.
360 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
361 * configure: Regenerate.
362 * aclocal.m4: Regenerate.
363 * testsuite/abi_check.cc: Add --check-verbose.
364 Only output detailed information if --check-verbose.
366 2003-06-16 Andreas Jaeger <aj@suse.de>
368 * testsuite/abi_check.cc: Create summary report.
370 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
372 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
373 for systems with BUFSIZ != 8192.
374 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
375 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
378 2003-06-16 Andreas Jaeger <aj@suse.de>
380 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
381 check-abi multilib aware.
382 * aclocal.m4: Regenerate.
383 * configure: Regenerate.
385 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
386 Andreas Jaeger <aj@suse.de>
388 * configure.host: Set x86_64 abi_baseline pair correctly.
390 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
392 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
393 fix for missing seeks between gets and puts into...
394 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
395 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
396 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
397 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
398 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
399 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
401 2003-06-15 Richard Henderson <rth@redhat.com>
403 * config/linker-map.gnu: Export virtual function thunks for
406 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
408 * config/abi/i686-pc-linux-gnu: To..
409 * config/abi/i486-linux-gnu: ...this.
410 * config/abi/alphaev67-unknown-linux-gnu: To..
411 * config/abi/alpha-linux-gnu: ...this.
412 * config/abi/ia64-unknown-linux-gnu: To...
413 * config/abi/ia64-linux-gnu: ...this.
414 * config/abi/x86_64-unknown-linux-gnu: To...
415 * config/abi/x86_64-linux-gnu: ...this.
416 * config/abi/i386-unknown-freebsd4: To...
417 * config/abi/i386-freebsd4: ...this.
418 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
420 * configure.host: abi_baseline_triplet to abi_baseline_pair.
421 Simplify cpu bits so that abi_baseline_pair can use the same
423 * acinclude.m4: Same.
424 * aclocal.m4: Regenerate.
425 * configure.in: Can't get enable_abi_check to yes unless native.
426 * configure: Regenerate.
428 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
430 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
431 fix for missing seeks between gets and puts into...
432 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
433 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
434 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
435 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
436 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
437 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
438 for missing seeks between gets and puts.
439 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
440 * testsuite/data/seekoff-1.tst: New.
441 * testsuite/data/seekoff-2.tst: New.
442 * testsuite/data/seekpos-1.tst: New.
443 * testsuite/data/seekpos-2.tst: New.
445 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
447 Avoid multi-processor bus contention on increment/decrement-and-
448 test of the reference count in the empty-string object, by comparing
449 addresses first, and never touching the reference count of the empty-
451 * include/bits/basic_string.h:
452 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
454 (_Rep::_S_empty_rep()): New accessor.
455 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
456 a base class _Rep_base.
457 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
458 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
459 since no longer must increment its refcount.
460 * include/bits/basic_string.tcc:
461 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
462 return immediately. The former might be unnecessary. The latter
463 prevents begin() and end() from cloning it unnecessarily.
464 (_S_construct(_InIterator, _InIterator, const _Alloc&,
465 input_iterator_tag), _S_construct(_InIterator, _InIterator,
466 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
467 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
468 (_M_mutate): Check for the empty string and treat it as shared.
469 This is necessary here because _M_mutate is sometimes called with
470 all-zero arguments; in all other uses of _M_is_shared, the test comes
473 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
475 * src/allocator-inst.cc: Explicitly instantiate.
476 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
478 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
480 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
482 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
483 * aclocal.m4: Regenerate.
484 * Makefile.am (SUBDIRS): Remove libio.
485 * Makefile.in: Regenerate.
486 * configure.in: Same.
487 * configure: Regenerate.
488 * config/io/basic_file_libio.cc: Remove.
489 * config/io/basic_file_libio.h: Remove.
490 * config/io/c_io_libio_codecvt.c: Remove.
491 * config/io/c_io_libio.h: Remove.
493 * src/Makefile.am: Same.
494 * src/Makefile.in: Regenerate.
495 * docs/html/configopts.html: Edits.
496 * docs/html/explanations.html: Edits.
498 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
500 * include/bits/stl_alloc.h (__debug_alloc): Move out.
501 (__malloc_alloc): Same.
502 (__pool_alloc): Same.
505 * include/bits/allocator.h: ...this.
506 * include/bits/stl_deque.h: Modify comment.
507 * include/bits/stl_tree.h: Modify include.
508 * include/std/std_memory.h: Same.
509 * include/ext/rope: Same.
510 * include/ext/slist: Same.
511 * include/std/std_vector.h: Same.
512 * include/std/std_stack.h: Same.
513 * include/std/std_queue.h: Same.
514 * include/std/std_list.h: Same.
515 * include/std/std_deque.h: Same.
516 * include/backward/alloc.h: Same.
517 * include/ext/debug_allocator.h: New.
518 * include/ext/malloc_allocator.h: New.
519 * include/ext/pool_allocator.h: New.
520 * include/ext/new_allocator.h: New.
521 * include/bits/pthread_allocimpl.h: Remove.
522 * include/bits/stl_pthread_alloc.h: Remove.
523 * include/Makefile.am (ext_headers): Add.
524 * include/Makefile.in: Regenerate.
525 * src/stl-inst.cc: Use __gnu_cxx namespace.
526 * src/stl-inst.cc: Move to...
527 * src/allocator-inst.cc: Here.
528 * src/Makefile.am (sources): Update.
529 * src/Makefile.in: Regenerate.
530 * config/linker-map.gnu: Remove __pool_alloc bits.
531 * testsuite/ext/headers.cc: Add.
532 * testsuite/ext/allocators.cc: Fixup.
534 2003-06-11 Stefan Olsson <stefan@snon.net>
535 Ola Rönnerup <fnolis@home.se>
537 * include/Makefile.am (ext_headers): Add.
538 * include/Makefile.in: Regenerate.
539 * include/ext/mt_allocator.h: New file.
541 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
543 * include/bits/fstream.tcc (close): Clean up a bit.
545 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
547 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
548 - the saved _M_in_cur, that is - cannot be null.
549 (sync): Constify a variable.
551 * include/std/std_streambuf.h: Tweak a comment.
552 (in_avail): Constify a variable.
554 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
556 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
557 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
558 correctness of container::iterator typedefs. Fix whitespace.
559 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
561 * docs/html/documentation.html: Regenerate.
563 * include/bits/basic_string.h, include/bits/basic_string.tcc,
564 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
565 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
566 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
567 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
568 include/bits/stl_vector.h, include/bits/vector.tcc,
569 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
570 Change _Iter names to _Iterator, and __pos to __position.
572 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
573 include/bits/stl_multiset.h, include/bits/stl_set.h:
574 Remove emacs markers.
576 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
578 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
580 * include/bits/fstream.tcc (overflow): According to
581 27.5.2.4.5, overflow() returns not_eof(eof()).
582 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
583 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
585 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
587 * include/bits/fstream.tcc (_M_underflow): Check overflow return
588 value; tweak slightly.
590 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
592 * include/bits/fstream.tcc (_M_underflow): Do not special
593 case the unbuffered case, which really means simply a one char
595 (basic_filebuf): Initialize _M_buf_size.
596 (setbuf): Unbuffered means _M_buf_size == 1, since only
597 _M_buf_size - 1 == 0 chars are going to be used for the
598 put area and 1 for the get area.
599 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
600 (~basic_streambuf): Tweak.
601 (basic_streambuf): Do not initialize _M_buf_size.
602 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
603 (~basic_filebuf): Tweak.
604 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
605 unbuffered situation (i.e., put area pointers NULL).
606 * include/bits/streambuf.tcc (sbumpc): Clean up.
607 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
608 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
609 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
610 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
611 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
612 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
613 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
615 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
617 * acinclude.m4: Move all AM_CONDITIONAL calls out.
618 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
620 * configure.in: Centralize AM_CONDITIONALs so that they are always
621 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
622 * aclocal.m4, configure: Regenerated.
624 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
626 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
628 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
630 * include/bits/stl_iterator.h
631 (reverse_iterator::reverse_iterator()): Apply DR235: default
632 constructor default-initializes data member. Instantiated on a
633 pointer type, the member has to end up equal to zero.
635 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
637 * include/bits/stl_alloc.h: Cleanups.
638 * include/ext/functional: Same.
639 * include/ext/hash_map: Same.
640 * include/ext/hash_set: Same.
641 * include/ext/iterator: Same.
642 * include/ext/memory: Same.
643 * include/ext/numeric: Same.
644 * include/ext/rb_tree: Same.
645 * include/ext/ropeimpl.h: Same.
646 * include/ext/slist: Same.
647 * include/ext/stdio_filebuf.h: Same.
648 * include/ext/stdio_sync_filebuf.h: Same.
649 * include/ext/stl_rope.h: Move to...
650 * include/ext/rope: ...here.
651 * include/ext/stl_hash_fun.h: Move to...
652 * include/ext/hash_fun.h: ...here.
653 * include/ext/stl_hashtable.h: Move to...
654 * include/ext/hashtable.h: ...here.
655 * include/backward/hashtable.h: Reflect new names.
656 * include/Makefile.am: Same.
657 * include/Makefile.in: Regenerated.
659 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
662 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
663 * include/bits/stl_algobase.h: Tweak.
664 * include/std/std_fstream.h: Move _M_buf_size to...
665 * include/std/std_streambuf.h: ...here. Modify.
666 * include/bits/streambuf.tcc: Same.
667 * testsuite/testsuite_hooks.h: Tweak.
668 * testsuite/testsuite_io.h (constraint_filebuf): New.
669 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
670 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
671 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
672 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
673 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
674 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
675 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
676 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
677 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
678 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
679 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
680 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
681 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
682 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
683 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
684 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
685 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
686 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
687 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
688 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
689 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
690 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
691 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
692 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
693 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
694 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
695 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
696 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
697 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
698 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
699 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
700 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
701 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
702 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
703 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
704 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
705 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
706 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
707 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
708 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
709 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
710 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
711 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
712 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
713 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
714 * testsuite/data/sgetc.txt: New.
715 * testsuite/data/sgetn.txt: New.
717 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
720 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
721 Deal with width() smaller than zero.
722 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
723 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
724 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
725 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
726 operator<<(basic_ostream, const basic_string&)): Likewise.
728 * testsuite/27_io/basic_istream/extractors_character/char/
729 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
730 * testsuite/27_io/basic_ostream/inserters_character/char/
731 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
732 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
733 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
735 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
737 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
738 .gch compilation works.
739 * aclocal.m4, configure: Regenerate.
740 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
743 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
745 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
746 erase(iterator), erase(iterator, iterator), c_str,
747 compare(const basic_string&)): Constify various variables.
748 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
749 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
750 _S_create, resize, _M_replace, _M_replace_safe,
751 append(const basic_string&), append(const basic_string&, size_type,
752 size_type), append(const _CharT*, size_type), append(size_type,
753 _CharT), operator+(const _CharT*, const basic_string&),
754 operator+(_CharT, const basic_string&), replace(iterator, iterator,
755 size_type, _CharT), find(const _CharT*, size_type, size_type),
756 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
757 rfind(_CharT, size_type), compare(size_type, size_type,
758 const basic_string&), compare(size_type, size_type,
759 const basic_string&, size_type, size_type), compare(const _CharT*),
760 compare(size_type, size_type, const _CharT*), compare(size_type,
761 size_type, const _CharT*, size_type)): Likewise.
763 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
765 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
766 'if' branch less obscure.
768 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
771 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
773 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
774 (__atomic_add): likewise.
776 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
778 * include/bits/sstream.tcc (pbackfail): Minor clean up and
779 reformatting, consistent with basic_filebuf::pbackfail.
781 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
784 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
785 __attribute__ ((__unused__)).
786 * config/os/aix/atomicity.h: Likewise.
788 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
791 * include/bits/fstream.tcc (pbackfail): If the pback buffer
792 is already active don't try to store in it a second char.
793 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
795 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
797 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
799 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
802 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
804 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
805 instead of unnecessarily taking the address of _M_pback.
806 (xsgetn): Simplify slightly for a single char pback buffer.
808 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
810 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
811 variables and two 'if', clean up.
813 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
815 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
816 not _M_out_end, since the former actually points to the string
818 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
820 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
822 * docs/doxygen/filter: New file.
823 * docs/doxygen/filter.sed: New file.
824 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
825 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
826 * docs/html/documentation.html: Fix links to doxygen pages.
828 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
830 * include/bits/fstream.tcc (_M_convert_to_external): Don't
831 check for __ilen > 0.
833 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
836 * include/bits/stl_iterator.h (class __normal_iterator):
837 Don't inherit from iterator, add missing typedefs.
839 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
841 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
842 * testsuite/24_iterators/reverse_iterator/1.cc: New.
843 * testsuite/24_iterators/reverse_iterator/2.cc: New.
844 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
847 2003-05-27 Steve Ellcey <sje@cup.hp.com>
849 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
851 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
852 _LIBUNWIND_STD_ABI is set.
854 2003-05-26 Brendan Kehoe <brendan@zen.org>
856 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
857 make sure the number of digits required after the decimal-point
858 (if any) is exactly the value returned by frac_digits().
859 * testsuite/22_locale/money_get/get/char/9.cc: New.
860 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
862 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
864 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
867 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
870 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
871 (_M_pback): No array necessary.
872 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
873 unbuffered case, coalesec into ...
874 (basic_filebuf::overflow): ...this.
875 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
876 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
878 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
880 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
881 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
882 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
883 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
884 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
885 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
886 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
887 libsupc++/eh_unex_handler.cc, libsupc++/exception,
888 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
889 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
890 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
891 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
892 Replace "GNU CC" with "GCC".
894 * include/backward/new.h: Replace "GNU CC" with "GCC".
896 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
899 * configure.in: Switch target to host, don't assume newlib.
900 (target_alias): Remove.
901 * configure: Regenerate.
902 * acinclude.m4: Same.
903 * aclocal.m4: Regenerate.
904 * configure.target: Same. Rename to...
905 * configure.host: This.
907 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
909 * include/std/std_fstream.h (_S_pback_size): Remove definition.
910 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
912 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
913 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
914 of _S_pback_size for systems with no COMDAT or weak support.
915 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
916 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
917 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
918 * testsuite/27_io/basic_fstream/3.cc: Likewise.
919 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
920 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
921 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
922 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
923 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
925 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
927 * include/bits/fstream.tcc (_M_underflow): Simplify:
928 !__testout implies _M_filepos == _M_in_end, therefore
929 the first _M_file.seekoff call is never issued.
931 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
933 * configure.in: Sort cross table.
934 * configure: Regenerate.
936 2003-05-22 Brad Spencer <spencer@infointeractive.com>
939 * configure.in: Add Solaris cross bits.
941 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
943 * libstdc++-v3/config/os/mingw32/os_defines.h
944 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
945 (NOMINMAX): Define. Update copyright year.
947 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
949 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
951 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
953 * docs/html/faq/index.html: Fix typo.
954 * docs/html/faq/index.txt: Regenerate.
956 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
958 * docs/html/test.html: Fix markup.
960 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
962 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
964 Update copyright year.
966 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
968 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
970 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
972 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
973 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
975 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
977 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
978 Cast via void* to avoid -Wcast-align warnings.
979 (__default_alloc_template::_S_refill): Likewise.
981 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
983 * testsuite/README: Move to...
984 * docs/html/test.html: ...here. Add documentation.
985 * docs/html/install.html: Move testing bits out..
986 * docs/html/documentation.html: Add separate testing link.
987 * testsuite/performance: Add.
988 * testsuite/performance/allocator.cc: New.
989 * testsuite/performance/complex_norm.cc: New.
990 * testsuite/performance/cout_insert_int.cc: New.
991 * testsuite/performance/fstream_seek_write.cc: New.
992 * testsuite/performance/ifstream_getline.cc: New.
993 * testsuite/performance/map_create_fill.cc: New.
994 * testsuite/performance/ofstream_insert_float.cc: New.
995 * testsuite/performance/ofstream_insert_int.cc: New.
996 * testsuite/performance/string_append.cc: New.
997 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
1000 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
1003 * include/std/std_complex.h (pow): Tidy.
1005 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
1007 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
1008 that upon filebuf::close() 27.8.1.1,3 is enforced.
1010 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
1012 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
1014 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
1015 Nathan Myers <ncm@cantrip.org>
1017 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
1018 _M_convert_to_external only once (_M_buf_size is now the size of
1019 the put area + 1 for the overflow char of a full area); call
1020 _M_set_buffer instead of _M_set_indeterminate.
1021 (setbuf): Don't accept a buffer smaller than 2 chars.
1022 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
1023 instead of _M_set_determinate.
1024 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
1025 (seekoff): Likewise.
1026 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
1027 std::ios_base::openmode, bool, size_t),
1028 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
1030 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
1031 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
1033 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
1034 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
1035 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
1036 the put area is now BUFSIZ - 1.
1037 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
1038 that now the smallest _M_buf_size is 2 (still fails, for the same
1041 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
1043 * testsuite/thread/pthread4.cc: Tweak test.
1045 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
1047 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
1048 excess errors dg marker, use dg-errors instead.
1049 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1050 * testsuite/20_util/auto_ptr_neg.cc: Same.
1052 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
1054 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
1056 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
1057 Initialize _M_codecvt.
1058 (basic_filebuf::imbue): Same.
1059 (basic_filebuf::showmanyc): Use it.
1060 (basic_filebuf::underflow): Use it.
1061 (basic_filebuf::_M_convert_to_external): Use it.
1062 (basic_filebuf::seekoff): Use it.
1063 (basic_filebuf::imbue): Use it, tweaks.
1064 * include/bits/localefwd.h (__check_facet): New.
1065 * include/bits/locale_classes.h: Tweaks.
1066 * include/bits/locale_facets.tcc: Tweaks.
1067 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
1068 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
1069 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
1070 * include/bits/basic_ios.tcc: Same.
1071 * include/bits/istream.tcc: Same.
1072 * include/bits/ostream.tcc: Same.
1073 * include/std/std_streambuf.h: Same.
1074 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
1075 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
1076 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
1077 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
1078 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
1079 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
1081 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
1083 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
1084 unnecessary includes and unused string literals.
1085 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
1086 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
1087 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
1088 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
1090 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
1092 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
1094 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
1096 * include/std/std_fstream.h (_M_convert_to_external): Change
1097 to return bool, take two less streamsize parameters.
1098 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
1099 consistently definition.
1100 (_M_overflow): Adjust call points.
1102 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
1104 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
1106 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
1108 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
1109 * testsuite/Makefile.in: Regenerate.
1111 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
1113 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
1114 * testsuite/Makefile.in: Regenerate.
1116 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
1119 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
1120 (acos): Handle integer argument.
1139 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
1140 (__enable_if): Likewise.
1141 * testsuite/26_numerics/cmath/overloads.C: New test.
1143 2003-05-10 Petur Runolfsson <peturr02@ru.is>
1148 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
1149 implementation, based on old wchar_t specialization, add support
1150 for codecvt::in() return value of codecvt_base::noconv, remove
1151 _M_file.sys_ungetc() call.
1152 * include/std/std_fstream.h (basic_file::underflow,
1153 basic_file::uflow, basic_file::_M_underflow): Remove
1154 specialization declarations, call _M_underflow from generic versions
1155 of underflow and uflow.
1156 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
1157 basic_file::_M_underflow): Remove specializations.
1158 * src/Makefile.am (sources): Remove fstream.cc.
1159 * src/Makefile.in: Regenerated.
1160 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
1161 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
1162 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
1163 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
1165 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
1167 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
1169 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
1171 (__basic_file::xsputn): Same.
1172 (__basic_file::seekoff): Same.
1173 (__basic_file::seekpos): Same.
1174 (__basic_file::showmanyc): Same.
1175 * config/io/basic_file_stdio.cc: Same.
1176 * include/std/std_fstream.h: Same.
1177 * include/bits/fstream.tcc: Same.
1178 * src/fstream.cc: Same.
1179 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
1181 2003-05-10 Petur Runolfsson <peturr02@ru.is>
1186 * include/ext/stdio_sync_filebuf.h: New file.
1187 (basic_stdiobuf): New.
1188 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
1189 * include/Makefile.in: Regenerate.
1190 * include/bits/ios_base.h (Init::_S_create_buffers,
1191 Init::_S_destroy_buffers): Remove declarations.
1192 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
1193 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
1194 * src/ios.cc (Init::_S_create_buffers,
1195 Init::_S_destroy_buffers): Remove.
1196 (Init::Init): Create and use syncronized buffers.
1197 (ios_base::sync_with_stdio): Destroy syncronized buffers,
1198 create and install unsyncronized buffers.
1199 * testsuite/27_io/objects/char/10.cc: New test.
1200 * testsuite/27_io/objects/char/9.cc: New test.
1201 * testsuite/27_io/objects/char/9661-1.cc: New test.
1202 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
1203 * testsuite/27_io/objects/char/9661-2_xin.in: New.
1204 * testsuite/27_io/objects/wchar_t/1.cc: New test.
1205 * testsuite/27_io/objects/wchar_t/10.cc: New test.
1206 * testsuite/27_io/objects/wchar_t/2.cc: New test.
1207 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
1208 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
1209 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
1210 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
1211 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
1212 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
1213 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
1214 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
1215 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
1216 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
1217 * testsuite/27_io/objects/wchar_t/5.cc: New test.
1218 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
1219 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
1220 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
1221 * testsuite/27_io/objects/wchar_t/6.cc: New test.
1222 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
1223 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
1224 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
1225 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
1226 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
1227 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
1228 * testsuite/27_io/objects/wchar_t/7.cc: New test.
1229 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
1230 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
1231 * testsuite/27_io/objects/wchar_t/8.cc: New test.
1232 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
1233 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
1234 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
1235 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
1236 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
1237 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
1238 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
1239 * testsuite/ext/stdiobuf_char.cc: New test.
1240 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
1242 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
1244 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
1245 unnecessary includes and unused string literals.
1246 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
1248 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
1250 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
1252 2003-05-07 Richard Henderson <rth@redhat.com>
1255 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
1256 (__cxa_end_catch): Likewise.
1257 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
1258 _Unwind_Resume_or_Rethrow.
1259 * libsupc++/eh_personality.cc (empty_exception_spec): New.
1260 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
1261 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
1262 exceptions. Don't push terminate/unexpected to cxa functions.
1263 (__cxa_call_unexpected): Remove foreign exception fixmes.
1265 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
1267 * testsuite/27_io/ios_base/cons: New.
1268 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
1269 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
1271 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
1273 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
1275 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
1276 there is no buffer or __testget == !__testinit.
1279 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
1280 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
1282 * include/std/std_fstream.h (_M_destroy_pback): Don't set
1283 unnecessarily _M_pback_cur_save and _M_pback_end_save.
1285 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
1287 * include/std/std_sstream.h (_M_sync): Minor tweak.
1289 * include/bits/fstream.tcc (close): No need to call
1290 _M_destroy_pback, setting _M_pback_init to false suffices
1293 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
1295 * include/bits/stl_algo.h: Enums as _S_.
1296 * include/bits/stl_tree.h: Same.
1297 * include/bits/stl_bvector.h: Same.
1298 * include/bits/ios_base.h: Same.
1299 * include/bits/stl_alloc.h: Same.
1300 * include/ext/stl_hashtable.h: Same.
1301 * src/ios.cc: And here.
1303 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
1304 * include/bits/sstream.tcc: Same.
1306 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
1308 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
1310 * include/bits/locale_facets.h (__num_base): Remove protected.
1311 Use _S_[io]* names for enumerations.
1312 (_S_format_int): Remove.
1313 * include/bits/locale_facets.tcc: Same.
1314 * src/locale.cc: Same.
1316 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
1318 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
1320 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
1321 * docs/html/faq/index.txt: Regenerated.
1323 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
1324 Matt Kraai <kraai@alumni.cmu.edu>
1326 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
1329 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
1331 * configure.target (mips*): Use the generic atomicity.h by default.
1333 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
1334 (Inspired by an alternate patch from Danny Smith.)
1336 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
1337 (_Swap_lock_struct<>): ...and the horse it rode in on.
1338 * src/globals.cc (_Swap_lock_struct<>): Likewise.
1339 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
1340 member to support...
1341 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
1342 visibility rules related to POSIX threads.
1343 * testsuite/thread/pthread7-rope.cc: New test.
1345 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
1347 * testsuite/21_strings/basic_string/find/char/3.cc: New
1348 file, testing basic_string<char>::find_first_not_of.
1349 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
1350 Likewise for basic_string<wchar_t>.
1352 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
1354 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
1356 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
1358 * include/Makefile.am (CLEANFILES): Remove PCH files in target
1360 * include/Makefile.in: Regenerate.
1362 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
1364 * include/std/std_sstream.h (str()): Tidy.
1366 2003-05-02 Nathan Myers <ncm@cantrip.org>
1367 Paolo Carlini <pcarlini@unitus.it>
1369 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
1371 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
1373 * include/bits/basic_string.h (swap): Remove redundant template
1374 parameters from declaration of non-template member function.
1376 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
1378 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
1379 * configure.in: Move libintl.h header test...
1380 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
1381 the NLS-related test results into one symbol.
1382 * src/functexcept.cc: Use it here.
1383 * aclocal.m4, config.h.in, configure: Regenerated.
1385 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1387 * include/bits/sstream.tcc (overflow): Instead of calling
1388 str(), then _M_string.reserve, thus copying the contents
1389 of the current buffer two times, just copy the latter in
1390 a temporary, then use the 'swap trick'.
1392 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1394 * include/std/std_sstream.h (str()): Revert the best of the
1395 previous 'improvement', incorrect due to the COW nature of
1396 v3 basic_string; simplify.
1398 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1400 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
1401 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
1403 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
1405 * testsuite/abi_check.cc (check_version): Update known versions.
1406 Check added symbols for version_name != base version. Add missing
1407 symbols to incompatible list.
1409 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
1411 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
1412 * aclocal.m4: Regenerated.
1413 * configure: Regenerated.
1415 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1417 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
1418 Const-ify some variables.
1419 (basic_streambuf::xsputn): Likewise; change the type of some
1420 variables to size_t.
1421 (__copy_streambufs): Change some variables to size_t.
1423 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1425 * include/std/std_sstream.h (str()): Avoid constructing
1426 a basic_string temporary not only when it would turn out
1427 to be zero-sized but also when identical to the current
1430 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1432 * include/ext/stdio_filebuf.h
1433 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
1434 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
1435 Shorten a bit (-10 lines) by factoring out some code.
1437 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
1439 * acinclude.m4: Add bit missing from previous patch.
1440 * aclocal.m4, configure: Regenerated.
1442 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
1444 * docs/doxygen/mainpage.html: Bring up to date.
1445 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
1447 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
1448 breaks everything. Don't scan them.
1449 * docs/html/documentation.html: Point to "Write after approval"
1452 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
1454 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
1455 of libc if message translations are being used. Fix info text in
1456 xieee_1003.1-2001 case.
1457 * aclocal.m4, configure: Regenerate.
1459 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
1460 Loren J. Rittle <ljrittle@acm.org>
1461 Martin v. Loewis <martin@v.loewis.de>
1463 * config/cpu/i386/atomicity.h: New file.
1465 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
1467 * include/bits/fstream.tcc (open): Change to single return.
1469 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
1471 * include/std/std_sstream.h (underflow): Change to single return.
1473 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1475 * include/std/std_streambuf.h (_M_buf): is currently
1476 used only for basic_filebuf, therefore move it there.
1477 (basic_streambuf(), ~basic_streambuf()): Adjust.
1478 * include/std/std_fstream.h (_M_buf): Moved here.
1479 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
1480 is actually redundant for basic_stringbuf.
1481 (_M_really_sync): Likewise.
1482 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
1483 * include/bits/sstream.tcc (seekoff): Adjust.
1485 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
1487 * src/localename.cc: Standardize exception strings.
1488 * src/locale.cc: Same.
1490 * include/bits/basic_string.tcc: Same.
1491 * include/bits/basic_ios.tcc: Same.
1492 * include/std/std_bitset.h: Same.
1493 * include/ext/ropeimpl.h: Same.
1494 * include/bits/stl_vector.h: Same.
1495 * include/bits/stl_deque.h: Same.
1496 * include/bits/stl_bvector.h: Same.
1497 * config/locale/generic/c_locale.cc: Same.
1498 * config/locale/gnu/c_locale.cc: Same.
1499 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
1501 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
1503 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1505 * include/std/std_streambuf.h (_M_buf_size): is currently
1506 used only for basic_filebuf, therefore move it there.
1507 (basic_streambuf(), ~basic_streambuf()): Adjust.
1508 * include/std/std_fstream.h (_M_buf_size): Moved here.
1509 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
1511 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1513 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
1514 _M_buf_size (synced input is now correctly dealt with
1515 elsewhere); when the output buffer is full don't fall back
1516 to a snextc-sputc loop, call overflow instead.
1518 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1520 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
1521 the innermost 'if' by factoring out some code.
1523 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
1525 * configure.in: Test for libintl.h.
1526 * include/bits/c++config: Define __N for everybody.
1527 * include/bits/basic_string.h, include/bits/stl_bvector.h,
1528 include/bits/stl_deque.h, include/bits/stl_vector.h,
1529 include/std/std_bitset.h: Wrap all __throw* text with __N.
1530 * po/Makefile.am (pot): New rule, mostly working.
1531 * src/functexcept.cc: Call gettext on all __throw* arguments when
1532 -fexceptions is in effect.
1533 * po/Makefile.in, config.h.in, configure: Regenerate.
1535 2003-04-28 Petur Runolfsson <peturr02@ru.is>
1538 * include/bits/ios_base.h (Init::_S_ios_create,
1539 Init::_S_ios_destroy): Remove declarations.
1540 (Init::_S_create_buffers,
1541 Init::_S_destroy_buffers): Declare
1542 * src/ios.cc (Init::_S_ios_create): Remove
1543 (Init::_S_create_buffers): Create buffers and add to streams.
1544 (Init::_S_ios_destroy): Rename to...
1545 (Init::_S_destroy_buffers): this.
1546 (Init::Init): Only construct streams once.
1547 (Init::~Init): Flush streams, don't destroy them.
1548 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
1549 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
1550 * testsuite/27_io/objects/char/5.cc: New test.
1551 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
1552 * testsuite/27_io/objects/char/6.cc: New test.
1553 * testsuite/27_io/objects/char/7.cc: New test.
1555 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
1557 * testsuite/27_io/objects/char/8.cc: New test.
1559 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
1561 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
1562 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
1564 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
1566 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
1567 _M_destroy_pback. _M_pback_create to
1568 _M_create_pback. _M_underflow_common to
1569 _M_underflow. _M_really_overflow to _M_overflow.
1570 * include/bits/fstream.tcc: Same.
1571 * src/fstream.cc: Same.
1572 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
1573 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
1574 * include/bits/streambuf.tcc: Same.
1575 * include/bits/fstream.tcc: Same.
1576 * include/bits/sstream.tcc: Same.
1578 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
1580 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
1581 from fixed size array.
1582 (locale): Change _S_categories as well.
1584 * include/bits/locale_facets.tcc: Tweak.
1585 * config/locale/gnu/c_locale.cc: Assign _S_categories.
1586 * config/locale/generic/c_locale.cc: Same.
1587 * src/locale.cc: Tweak.
1588 * src/globals.cc: Change facet_name to name_vec, add names_c.
1589 * src/localename.cc: Use them.
1590 (locale::_Impl::~_Impl): Destroy _M_names.
1591 (locale::_Impl::_Impl): Create _M_names.
1593 2003-04-27 Andreas Schwab <schwab@suse.de>
1595 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1596 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
1598 2003-04-27 Nathan Myers <ncm@cantrip.org>
1600 Move some basic_string members out of line because
1601 they are too big to reasonably be inline.
1602 * include/bits/basic_string.h
1603 (assign(const basic_string&, size_type, size_type),
1604 assign(const _CharT*, size_type),
1605 insert(size_type, const basic_string&, size_type, size_type),
1606 insert(size_type, const _CharT*, size_type),
1607 replace(size_type, size_type, const _CharT*, size_type)):
1608 Move from here to...
1609 * include/bits/basic_string.tcc: ...here.
1611 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1613 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
1614 the innermost 'if' by factoring out some code.
1616 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1618 * include/bits/streambuf.tcc (__copy_streambufs): Don't
1619 use in_avail(), simplify.
1621 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1623 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
1624 in basic_stringbuf it's unused.
1626 * include/std/std_sstream.h (underflow): consistently use
1627 _M_in_cur, not gptr().
1629 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
1630 Phil Edwards <pme@gcc.gnu.org>
1632 * testsuite_flags.in: Guard against the possibility
1633 of having "xgcc" as a part of a folder name in the
1634 path to the GCC build folder.
1635 * testsuite/Makefile.am: Likewise.
1636 * testsuite/Makefile.in: Regenerated.
1638 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
1641 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
1642 exception specifications.
1643 (basic_filebuf::close): Same.
1644 (basic_filebuf::_M_pback_destroy): Same.
1645 (basic_filebuf::_M_destroy_internal_buffer): Same.
1646 (basic_filebuf): Remove __res_type typedef.
1647 * src/fstream.cc: Same.
1648 * include/bits/fstream.tcc
1649 (basic_filebuf::_M_convert_to_external): Simplify.
1650 (basic_filebuf::seekoff): Use has_facet before use_facet.
1651 (basic_filebuf::close): Add exception specification of throw().
1652 * testsuite/27_io/basic_filebuf/cons: New.
1653 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
1654 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
1655 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
1656 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
1658 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
1660 * include/bits/locale_classes.h
1661 (locale::_S_extra_categories_size): Remove.
1662 * src/locale.cc: Remove _S_extra_categories_size.
1663 * src/localename.cc: Same.
1664 * config/locale/gnu/c_locale.cc: Same.
1665 * config/locale/generic/c_locale.cc: Same.
1667 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
1669 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
1671 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
1673 * docs/html/17_intro/howto.html: Update some links.
1674 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
1675 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
1676 * docs/html/ext/howto.html: Link to demangler notes and API.
1677 * docs/html/faq/index.html: Remove trailing whitespace.
1678 (1.4, 2.4, 3.8, 4.1): Bring up to date.
1679 (5.6): Change to a bulleted list.
1681 * docs/html/faq/index.txt, docs/html/documentation.html,
1682 docs/html/17_intro/porting.html: Regenerate.
1684 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
1686 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
1687 belongs to basic_filebuf.
1688 * testsuite/27_io/basic_fstream/3.cc: Likewise.
1689 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
1690 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
1691 instantiation (now belongs to basic_filebuf).
1692 * testsuite/27_io/basic_iostream/3.cc: Likewise.
1693 * testsuite/27_io/basic_istream/3.cc: Likewise.
1694 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
1695 _S_pback_size now belongs to basic_filebuf.
1696 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
1697 instantiation (now belongs to basic_filebuf).
1698 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
1699 belongs to basic_filebuf.
1700 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
1701 instantiation (now belongs to basic_filebuf).
1702 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
1703 _S_pback_size now belongs to basic_filebuf.
1704 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
1705 instantiation (now belongs to basic_filebuf).
1706 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
1708 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
1709 instantiation (now belongs to basic_filebuf).
1710 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
1712 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
1714 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
1715 * configure: Regenerated.
1717 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
1719 * config/locale/generic/c_locale.h (__convert_from_v): Use
1722 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
1724 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
1725 implementation only.
1726 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
1727 Comment and change to comply with DR 60 and the effect on gcount().
1728 * include/std/std_istream.h: Update comments.
1729 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
1730 comments about reasons for tests. Test sync() against gcount().
1731 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
1732 for effect on gcount().
1733 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
1734 for effect on gcount().
1736 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
1738 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
1741 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
1743 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
1744 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
1745 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
1746 (basic_streambuf::basic_streambuf()): Adjust.
1747 * include/std/std_fstream.h (_S_pback_size, _M_pback,
1748 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
1749 _M_pback_create(), _M_pback_destroy()): Moved here
1750 from basic_streambuf.
1751 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
1753 (basic_filebuf::_S_pback_size): Add declaration.
1754 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
1757 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1759 Consistently use _M_in_beg instead of eback(), _M_in_cur
1760 instead of gptr(), and so on.
1761 * include/bits/fstream.tcc (pbackfail, imbue): Here.
1762 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
1763 * include/bits/streambuf.tcc (sbumpc, sputbackc,
1764 __copy_streambufs): Ditto.
1765 * include/std/std_streambuf.h (sgetc): Ditto.
1767 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1769 * include/bits/sstream.tcc (pbackfail, overflow):
1772 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1774 * include/std/std_streambuf.h (uflow()): It's used only by
1775 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
1776 therefore do not consider the _M_buf_unified == true case.
1778 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
1780 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
1782 * docs/html/ext/howto.html ('LWG Issues'):
1783 Add issues 19, 90, 171, 231, 271.
1785 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
1787 * include/bits/sstream.tcc (pbackfail): Remove redundant
1788 NULL pointer check from test involving _M_in_*.
1789 (overflow, seekoff, seekpos): Const qualify bool variables.
1790 * include/std/std_sstream.h (underflow): Remove redundant
1791 NULL pointer check from test involving _M_in_*.
1792 (_M_really_sync): Const qualify bool variables.
1793 * src/fstream.cc (_M_underflow_common): Remove redundant
1794 NULL pointer check from test involving _M_in_*, const qualify
1797 * include/std/std_streambuf.h (sgetc): Remove redundant
1800 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
1802 According to 5.9 para 2 (second bullet) for pointers p, q
1803 pointing to the same type, with p == 0 and q == 0, (p < q)
1805 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
1806 seekoff): Remove redundant NULL pointer checks from tests
1807 involving _M_out_* and _M_in_*, const qualify bool variables.
1808 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
1809 qualify bool variables.
1810 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
1811 Remove redundant NULL pointer checks from tests involving
1812 _M_out_* and _M_in_*, const qualify bool variables.
1813 * include/std/std_fstream.h (sync): Likewise.
1814 (_M_is_indeterminate): Const qualify bool variables.
1815 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
1816 NULL pointer checks from tests involving _M_out_* and _M_in_*,
1817 const qualify bool variables.
1818 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
1821 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
1823 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
1824 C99 FP macros, if actually captured.
1826 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
1827 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
1828 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
1829 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
1830 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
1832 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
1833 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
1834 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
1835 * include/c_std/std_cstdlib.h: Use new macros.
1836 * include/c_std/std_cstdio.h: Use new macros.
1837 * include/c_std/std_cwchar.h: Use new macros.
1839 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
1842 * include/bits/ostream.tcc: Catch all exceptions for formatted
1843 output, instead of std::exception and derivatives.
1844 * include/bits/istream.tcc: Same.
1845 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
1846 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
1847 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
1848 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
1849 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
1850 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
1853 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
1855 * include/bits/c++config: Minor cosmetic tweaks.
1857 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
1859 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
1860 * include/Makefile.am (pch_input): Find in ${target_builddir}.
1861 (pch_output): Rename to...
1862 (pch_output_builddir): ..this. Find in ${target_builddir}.
1863 (pch_source): Tweak.
1864 (pch_build): Key off a built file.
1865 (pch_output rule): Rename to...
1866 (pch_input rule): ...this. Produce ${pch_output_builddir}
1867 instead of ${pch_output}.
1868 (install-pch rule): Install ${pch_output_builddir}.
1869 * include/Makefile.in: Regenerated.
1871 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
1873 * include/std/std_streambuf.h (setp): _M_out_lim, being
1874 the end limit of used put area, is set equal to _M_out_beg.
1876 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
1878 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
1879 * aclocal.m4: Regenerated.
1880 * configure.in: Remove old demangler bits.
1882 * configure: Regenerate.
1883 * config.h.in: Regenerate.
1884 * include/Makefile.am (allstamps): Now allstamped.
1885 (allcreated): Define this.
1886 (all-local): Use 'em.
1887 Conditionally define pch_build, pch_install based on
1889 (${pch_output}): New rule.
1890 (install-pch): New rule.
1891 (install-headers): New rule.
1892 (install-data-local): Install headers and conditionally pch.
1893 * include/Makefile.in: Regenerate.
1894 * testsuite_flags.in (--build-cxx): Use pch file.
1896 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
1898 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
1900 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
1901 Paolo Carlini <pcarlini at unitus dot it>
1904 * docs/html/27_io/howto.html
1905 ('The buffering is screwing up my program!'): Explain that
1906 opening counts as an I/O operation.
1908 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
1910 * testsuite/thread/pthread1.cc: Enable for darwin test.
1911 * testsuite/thread/pthread2.cc: Same.
1912 * testsuite/thread/pthread3.cc: Same.
1913 * testsuite/thread/pthread4.cc: Same.
1914 * testsuite/thread/pthread5.cc: Same.
1915 * testsuite/thread/pthread6.cc: Same.
1917 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
1920 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
1921 Populate it with multiple legal ways to obtain the C99 float
1922 transcendentals. Use them instead of direct global reference.
1923 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
1924 * docs/html/17_intro/porting.texi
1925 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
1926 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
1927 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
1928 * config/os/bsd/freebsd/os_defines.h
1929 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
1930 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
1931 * testsuite/26_numerics/c_math_dynamic.cc: New file.
1933 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
1934 Benjamin Kosnik <bkoz@redhat.com>
1936 * config/os/generic/ctype_inline.h: Fix.
1938 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
1940 * testsuite/testsuite_hooks.h
1941 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
1942 Change to try_named_locale.
1943 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
1945 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
1947 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
1948 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
1949 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
1950 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
1951 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
1952 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
1953 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
1954 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
1955 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
1956 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
1957 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
1958 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
1959 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
1960 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
1961 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
1962 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
1963 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
1964 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
1965 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
1966 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
1967 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
1968 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
1969 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
1970 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
1971 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
1972 * testsuite/22_locale/collate/compare/char/1.cc: Same.
1973 * testsuite/22_locale/collate/compare/char/2.cc: Same.
1974 * testsuite/22_locale/collate/compare/char/3.cc: Same.
1975 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
1976 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
1977 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
1978 * testsuite/22_locale/collate/hash/char/2.cc: Same.
1979 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
1980 * testsuite/22_locale/collate/transform/char/2.cc: Same.
1981 * testsuite/22_locale/collate/transform/char/3.cc: Same.
1982 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
1983 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
1984 * testsuite/22_locale/collate_byname/1.cc: Same.
1985 * testsuite/22_locale/ctype/is/char/2.cc: Same.
1986 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
1987 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
1988 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
1989 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
1990 * testsuite/22_locale/facet/2.cc: Same.
1991 * testsuite/22_locale/locale/cons/2.cc: Same.
1992 * testsuite/22_locale/locale/cons/4.cc: Same.
1993 * testsuite/22_locale/locale/cons/5.cc: Same.
1994 * testsuite/22_locale/locale/cons/7.cc: Same.
1995 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
1996 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
1997 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
1998 * testsuite/22_locale/messages/members/char/1.cc: Same.
1999 * testsuite/22_locale/messages/members/char/2.cc: Same.
2000 * testsuite/22_locale/messages/members/char/3.cc: Same.
2001 * testsuite/22_locale/messages_byname/1.cc: Same.
2002 * testsuite/22_locale/money_get/get/char/1.cc: Same.
2003 * testsuite/22_locale/money_get/get/char/2.cc: Same.
2004 * testsuite/22_locale/money_get/get/char/3.cc: Same.
2005 * testsuite/22_locale/money_get/get/char/4.cc: Same.
2006 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
2007 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
2008 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
2009 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
2010 * testsuite/22_locale/money_put/put/char/1.cc: Same.
2011 * testsuite/22_locale/money_put/put/char/2.cc: Same.
2012 * testsuite/22_locale/money_put/put/char/3.cc: Same.
2013 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
2014 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
2015 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
2016 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
2017 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
2018 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
2019 * testsuite/22_locale/num_get/get/char/1.cc: Same.
2020 * testsuite/22_locale/num_get/get/char/2.cc: Same.
2021 * testsuite/22_locale/num_get/get/char/3.cc: Same.
2022 * testsuite/22_locale/num_get/get/char/5.cc: Same.
2023 * testsuite/22_locale/num_get/get/char/6.cc: Same.
2024 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
2025 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
2026 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
2027 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
2028 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
2029 * testsuite/22_locale/num_put/put/char/1.cc: Same.
2030 * testsuite/22_locale/num_put/put/char/2.cc: Same.
2031 * testsuite/22_locale/num_put/put/char/3.cc: Same.
2032 * testsuite/22_locale/num_put/put/char/5.cc: Same.
2033 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
2034 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
2035 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
2036 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
2037 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
2038 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
2039 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
2040 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
2041 * testsuite/22_locale/numpunct_byname/1.cc: Same.
2042 * testsuite/22_locale/numpunct_byname/2.cc: Same.
2043 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
2044 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
2045 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
2046 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
2047 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
2048 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
2049 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
2050 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
2051 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
2052 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
2053 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
2054 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
2055 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
2056 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
2057 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
2058 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
2059 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
2060 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
2061 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
2062 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
2063 * testsuite/22_locale/time_put/put/char/1.cc: Same.
2064 * testsuite/22_locale/time_put/put/char/2.cc: Same.
2065 * testsuite/22_locale/time_put/put/char/3.cc: Same.
2066 * testsuite/22_locale/time_put/put/char/4.cc: Same.
2067 * testsuite/22_locale/time_put/put/char/5.cc: Same.
2068 * testsuite/22_locale/time_put/put/char/6.cc: Same.
2069 * testsuite/22_locale/time_put/put/char/7.cc: Same.
2070 * testsuite/22_locale/time_put/put/char/8.cc: Same.
2071 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
2072 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
2073 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
2074 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
2075 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
2076 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
2077 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
2078 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
2079 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
2080 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
2081 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
2082 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
2083 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
2085 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
2087 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
2088 solaris includes, not generic.
2090 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
2092 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
2094 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
2095 * include/bits/concept_check.h: Fix multi-line comment.
2096 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
2097 when target is *-*-freebsd*.
2099 2003-04-14 Nathan Myers <ncm@cantrip.org>
2100 Paolo Carlini <pcarlini@unitus.it>
2102 PR libstdc++/9701 (in_avail())
2103 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
2104 doesn't care if there is anything in some putback cell.
2105 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
2107 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
2108 unused string literals.
2110 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
2112 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
2113 _M_out_end, _M_set_indeterminate() does it.
2115 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2117 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
2119 2003-04-12 David Edelsohn <edelsohn@gnu.org>
2121 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
2122 Change basic_streambuf instantiation to "unsigned char".
2123 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
2125 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
2127 Remove _M_buf_size_opt, use directly _M_buf_size instead.
2128 * include/bits/fstream.tcc
2129 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
2130 references to _M_buf_size_opt.
2131 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
2132 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
2133 __bufsize to __in_avail and __size_opt to __buf_size.
2134 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
2135 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
2136 * include/std/std_streambuf.h (~basic_streambuf(),
2137 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
2138 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
2139 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
2140 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
2141 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
2142 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
2143 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
2144 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
2145 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
2146 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
2147 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
2148 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
2149 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
2151 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
2153 * include/ext/stdio_filebuf.h
2154 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
2155 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
2156 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
2157 since a stack-based buffer is used for small values of the size_t
2159 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
2160 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
2161 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
2163 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
2166 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
2167 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
2169 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
2171 * testsuite/22_locale/locale/cons/3.cc: Split.
2172 * testsuite/22_locale/locale/cons/7222-c.cc: New.
2173 * testsuite/22_locale/locale/cons/7222-env.cc: New.
2174 Check before trying to create a locale from the environment.
2175 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
2176 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
2179 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
2181 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
2182 locale to construct this hybrid locale, not the global locale.
2184 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
2186 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
2187 instantiation for AIX.
2188 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
2189 * testsuite/25_algorithms/min_max.cc: Same.
2191 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2193 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
2194 twice. Always set _M_cfile to 0 when stream was open.
2196 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
2198 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
2199 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
2200 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
2201 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
2202 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
2203 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
2204 ifstream_members.cc, instantiations.cc, ios.cc,
2205 ios_base_callbacks.cc, ios_base_members_static-1.tst,
2206 ios_base_members_static.cc, ios_base_storage.cc,
2207 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
2208 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
2209 iostream.cc, iostream_members.cc, istream.cc,
2210 istream_exception.cc, istream_extractor_char.cc,
2211 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
2212 istream_extractor_other-2.tst, istream_extractor_other.cc,
2213 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
2214 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
2215 istream_sentry.cc, istream_unformatted-1.tst,
2216 istream_unformatted-1.txt, istream_unformatted.cc,
2217 istringstream.cc, istringstream_members.cc,
2218 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
2219 ofstream_members.cc, ostream.cc, ostream_exception.cc,
2220 ostream_fail.cc, ostream_inserter_arith.cc,
2221 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
2222 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
2223 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
2224 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
2225 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
2226 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
2227 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
2228 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
2229 wide_stream_objects.cc, istream_extractor_arith/01.cc,
2230 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
2231 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
2232 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
2233 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
2234 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
2236 * 27_io/basic_filebuf/1.cc: New.
2237 * 27_io/basic_filebuf/2.cc: New.
2238 * 27_io/basic_filebuf/3.cc: New.
2239 * 27_io/basic_filebuf/4.cc: New.
2240 * 27_io/basic_filebuf/close/char/1.cc: New.
2241 * 27_io/basic_filebuf/close/char/2.cc: New.
2242 * 27_io/basic_filebuf/close/char/3.cc: New.
2243 * 27_io/basic_filebuf/close/char/4879.cc: New.
2244 * 27_io/basic_filebuf/close/char/9964.cc: New.
2245 * 27_io/basic_filebuf/imbue/char/1.cc: New.
2246 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
2247 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
2248 * 27_io/basic_filebuf/is_open/char/1.cc: New.
2249 * 27_io/basic_filebuf/open/char/1.cc: New.
2250 * 27_io/basic_filebuf/open/char/2.cc: New.
2251 * 27_io/basic_filebuf/open/char/3.cc: New.
2252 * 27_io/basic_filebuf/open/char/9507.cc: New.
2253 * 27_io/basic_filebuf/overflow/char/1.cc: New.
2254 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
2255 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
2256 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
2257 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
2258 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
2259 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
2260 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
2261 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
2262 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
2263 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
2264 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
2265 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
2266 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
2267 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
2268 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
2269 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
2270 * 27_io/basic_filebuf/snextc/char/1.cc: New.
2271 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
2272 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
2273 * 27_io/basic_filebuf/sputc/char/1.cc: New.
2274 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
2275 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
2276 * 27_io/basic_filebuf/sputn/char/1.cc: New.
2277 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
2278 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
2279 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
2280 * 27_io/basic_filebuf/sync/char/1057.cc: New.
2281 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
2282 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
2283 * 27_io/basic_fstream/1.cc: New.
2284 * 27_io/basic_fstream/2.cc: New.
2285 * 27_io/basic_fstream/3.cc: New.
2286 * 27_io/basic_fstream/4.cc: New.
2287 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
2288 * 27_io/basic_ifstream/1.cc: New.
2289 * 27_io/basic_ifstream/2.cc: New.
2290 * 27_io/basic_ifstream/3.cc: New.
2291 * 27_io/basic_ifstream/4.cc: New.
2292 * 27_io/basic_ifstream/cons/char/1.cc: New.
2293 * 27_io/basic_ifstream/open/char/1.cc: New.
2294 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
2295 * 27_io/basic_ios/1.cc: New.
2296 * 27_io/basic_ios/2.cc: New.
2297 * 27_io/basic_ios/3.cc: New.
2298 * 27_io/basic_ios/4.cc: New.
2299 * 27_io/basic_ios/clear/char/1.cc: New.
2300 * 27_io/basic_ios/cons/char/1.cc: New.
2301 * 27_io/basic_ios/cons/char/2.cc: New.
2302 * 27_io/basic_ios/cons/char/3.cc: New.
2303 * 27_io/basic_ios/copyfmt/char/1.cc: New.
2304 * 27_io/basic_ios/copyfmt/char/2.cc: New.
2305 * 27_io/basic_ios/exceptions/char/1.cc: New.
2306 * 27_io/basic_ios/locales/char/1.cc: New.
2307 * 27_io/basic_iostream/1.cc: New.
2308 * 27_io/basic_iostream/2.cc: New.
2309 * 27_io/basic_iostream/3.cc: New.
2310 * 27_io/basic_iostream/4.cc: New.
2311 * 27_io/basic_istream/1.cc: New.
2312 * 27_io/basic_istream/2.cc: New.
2313 * 27_io/basic_istream/3.cc: New.
2314 * 27_io/basic_istream/4.cc: New.
2315 * 27_io/basic_istream/exceptions/char/9561.cc: New.
2316 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
2317 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
2318 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
2319 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
2320 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
2321 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
2322 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
2323 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
2324 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
2325 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
2326 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
2327 * 27_io/basic_istream/extractors_character/char/1.cc: New.
2328 * 27_io/basic_istream/extractors_character/char/2.cc: New.
2329 * 27_io/basic_istream/extractors_character/char/3.cc: New.
2330 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
2331 * 27_io/basic_istream/extractors_other/char/1.cc: New.
2332 * 27_io/basic_istream/extractors_other/char/2.cc: New.
2333 * 27_io/basic_istream/extractors_other/char/3.cc: New.
2334 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
2335 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
2336 * 27_io/basic_istream/get/char/1.cc: New.
2337 * 27_io/basic_istream/get/char/2.cc: New.
2338 * 27_io/basic_istream/getline/char/1.cc: New.
2339 * 27_io/basic_istream/getline/char/2.cc: New.
2340 * 27_io/basic_istream/getline/char/3.cc: New.
2341 * 27_io/basic_istream/ignore/char/1.cc: New.
2342 * 27_io/basic_istream/ignore/char/6360.cc: New.
2343 * 27_io/basic_istream/ignore/char/7220.cc: New.
2344 * 27_io/basic_istream/peek/char/1.cc: New.
2345 * 27_io/basic_istream/peek/char/6414.cc: New.
2346 * 27_io/basic_istream/putback/char/1.cc: New.
2347 * 27_io/basic_istream/read/char/1.cc: New.
2348 * 27_io/basic_istream/read/char/2.cc: New.
2349 * 27_io/basic_istream/read/char/3.cc: New.
2350 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
2351 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
2352 * 27_io/basic_istream/readsome/char/8258.cc: New.
2353 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
2354 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
2355 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
2356 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
2357 * 27_io/basic_istream/seekg/char/fstream.cc: New.
2358 * 27_io/basic_istream/seekg/char/sstream.cc: New.
2359 * 27_io/basic_istream/sentry/char/1.cc: New.
2360 * 27_io/basic_istream/sentry/char/2.cc: New.
2361 * 27_io/basic_istream/sentry/char/3.cc: New.
2362 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
2363 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
2364 * 27_io/basic_istream/tellg/char/1.cc: New.
2365 * 27_io/basic_istream/tellg/char/8348.cc: New.
2366 * 27_io/basic_istream/tellg/char/fstream.cc: New.
2367 * 27_io/basic_istream/tellg/char/sstream.cc: New.
2368 * 27_io/basic_istream/ws/char/1.cc: New.
2369 * 27_io/basic_istringstream/1.cc: New.
2370 * 27_io/basic_istringstream/2.cc: New.
2371 * 27_io/basic_istringstream/3.cc: New.
2372 * 27_io/basic_istringstream/4.cc: New.
2373 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
2374 * 27_io/basic_istringstream/str/char/1.cc: New.
2375 * 27_io/basic_ofstream/1.cc: New.
2376 * 27_io/basic_ofstream/2.cc: New.
2377 * 27_io/basic_ofstream/3.cc: New.
2378 * 27_io/basic_ofstream/4.cc: New.
2379 * 27_io/basic_ofstream/cons/char/2.cc: New.
2380 * 27_io/basic_ofstream/open/char/1.cc: New.
2381 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
2382 * 27_io/basic_ostream/1.cc: New.
2383 * 27_io/basic_ostream/2.cc: New.
2384 * 27_io/basic_ostream/3.cc: New.
2385 * 27_io/basic_ostream/4.cc: New.
2386 * 27_io/basic_ostream/cons/char/9827.cc: New.
2387 * 27_io/basic_ostream/endl/char/1.cc: New.
2388 * 27_io/basic_ostream/ends/char/1.cc: New.
2389 * 27_io/basic_ostream/ends/char/2.cc: New.
2390 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
2391 * 27_io/basic_ostream/flush/char/1.cc: New.
2392 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
2393 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
2394 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
2395 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
2396 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
2397 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
2398 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
2399 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
2400 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
2401 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
2402 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
2403 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
2404 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
2405 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
2406 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
2407 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
2408 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
2409 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
2410 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
2411 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
2412 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
2413 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
2414 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
2415 * 27_io/basic_ostream/sentry/char/1.cc: New.
2416 * 27_io/basic_ostream/sentry/char/2.cc: New.
2417 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
2418 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
2419 * 27_io/basic_ostream/tellp/char/1.cc: New.
2420 * 27_io/basic_ostream/tellp/char/2.cc: New.
2421 * 27_io/basic_ostringstream/1.cc: New.
2422 * 27_io/basic_ostringstream/2.cc: New.
2423 * 27_io/basic_ostringstream/3.cc: New.
2424 * 27_io/basic_ostringstream/4.cc: New.
2425 * 27_io/basic_ostringstream/cons/char/3.cc: New.
2426 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
2427 * 27_io/basic_ostringstream/str/char/1.cc: New.
2428 * 27_io/basic_ostringstream/str/char/2.cc: New.
2429 * 27_io/basic_streambuf/1.cc: New.
2430 * 27_io/basic_streambuf/2.cc: New.
2431 * 27_io/basic_streambuf/3.cc: New.
2432 * 27_io/basic_streambuf/cons/char/1.cc: New.
2433 * 27_io/basic_streambuf/imbue/char/1.cc: New.
2434 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
2435 * 27_io/basic_streambuf/overflow/char/1.cc: New.
2436 * 27_io/basic_streambuf/overflow/char/2.cc: New.
2437 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
2438 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
2439 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
2440 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
2441 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
2442 * 27_io/basic_streambuf/sputn/char/1.cc: New.
2443 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
2444 * 27_io/basic_streambuf/sync/char/1057.cc: New.
2445 * 27_io/basic_stringbuf/1.cc: New.
2446 * 27_io/basic_stringbuf/2.cc: New.
2447 * 27_io/basic_stringbuf/3.cc: New.
2448 * 27_io/basic_stringbuf/4.cc: New.
2449 * 27_io/basic_stringbuf/5.cc: New.
2450 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
2451 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
2452 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
2453 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
2454 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
2455 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
2456 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
2457 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
2458 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
2459 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
2460 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
2461 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
2462 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
2463 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
2464 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
2465 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
2466 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
2467 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
2468 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
2469 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
2470 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
2471 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
2472 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
2473 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
2474 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
2475 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
2476 * 27_io/basic_stringbuf/str/char/1.cc: New.
2477 * 27_io/basic_stringbuf/str/char/2.cc: New.
2478 * 27_io/basic_stringbuf/str/char/3.cc: New.
2479 * 27_io/basic_stringbuf/str/char/3955.cc: New.
2480 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
2481 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
2482 * 27_io/basic_stringstream/1.cc: New.
2483 * 27_io/basic_stringstream/2.cc: New.
2484 * 27_io/basic_stringstream/3.cc: New.
2485 * 27_io/basic_stringstream/4.cc: New.
2486 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
2487 * 27_io/basic_stringstream/str/char/1.cc: New.
2488 * 27_io/basic_stringstream/str/char/2.cc: New.
2489 * 27_io/basic_stringstream/str/char/3.cc: New.
2490 * 27_io/basic_stringstream/str/char/4.cc: New.
2491 * 27_io/fpos/1.cc: New.
2492 * 27_io/fpos/2.cc: New.
2493 * 27_io/fpos/3.cc: New.
2494 * 27_io/ios_base/callbacks/1.cc: New.
2495 * 27_io/ios_base/state/1.cc: New.
2496 * 27_io/ios_base/storage/1.cc: New.
2497 * 27_io/ios_base/storage/2.cc: New.
2498 * 27_io/ios_base/storage/3.cc: New.
2499 * 27_io/ios_base/sync_with_stdio/1.cc: New.
2500 * 27_io/ios_base/sync_with_stdio/2.cc: New.
2501 * 27_io/manipulators/adjustfield/char/1.cc: New.
2502 * 27_io/manipulators/adjustfield/char/2.cc: New.
2503 * 27_io/manipulators/basefield/char/1.cc: New.
2504 * 27_io/manipulators/standard/char/1.cc: New.
2505 * 27_io/manipulators/standard/char/2.cc: New.
2506 * 27_io/objects/char/1.cc: New.
2507 * 27_io/objects/char/2.cc: New.
2508 * 27_io/objects/char/2523-1_xin.cc: New.
2509 * 27_io/objects/char/2523-1_xin.in: New.
2510 * 27_io/objects/char/2523-2_xin.cc: New.
2511 * 27_io/objects/char/2523-2_xin.in: New.
2512 * 27_io/objects/char/3045.cc: New.
2513 * 27_io/objects/char/3647.cc: New.
2514 * 27_io/objects/char/3_xin.cc: New.
2515 * 27_io/objects/char/3_xin.in: New.
2516 * 27_io/objects/char/4_xin.cc: New.
2517 * 27_io/objects/char/4_xin.in: New.
2518 * 27_io/objects/char/5268.cc: New.
2519 * 27_io/objects/char/5280_xin.cc: New.
2520 * 27_io/objects/char/5280_xin.in: New.
2521 * 27_io/objects/char/6548_xin.cc: New.
2522 * 27_io/objects/char/6548_xin.in: New.
2523 * 27_io/objects/char/6648-1_xin.cc: New.
2524 * 27_io/objects/char/6648-1_xin.in: New.
2525 * 27_io/objects/char/6648-2_xin.cc: New.
2526 * 27_io/objects/char/6648-2_xin.in: New.
2527 * 27_io/objects/char/7744_xin.cc: New.
2528 * 27_io/objects/char/7744_xin.in: New.
2529 * 27_io/objects/wchar_t/1.cc: New.
2530 * 27_io/types/1.cc: New.
2531 * 27_io/types/2.cc: New.
2532 * data/filebuf_members-1.tst: New.
2533 * data/filebuf_members-1.txt: New.
2534 * data/filebuf_virtuals-1.tst: New.
2535 * data/filebuf_virtuals-1.txt: New.
2536 * data/filebuf_virtuals-2.tst: New.
2537 * data/filebuf_virtuals-3.tst: New.
2538 * data/ifstream_members-1.tst: New.
2539 * data/ifstream_members-1.txt: New.
2540 * data/ios_base_members_static-1.tst: New.
2541 * data/istream_extractor_other-1.tst: New.
2542 * data/istream_extractor_other-1.txt: New.
2543 * data/istream_extractor_other-2.tst: New.
2544 * data/istream_seeks-1.tst: New.
2545 * data/istream_seeks-1.txt: New.
2546 * data/istream_seeks-2.tst: New.
2547 * data/istream_seeks-3.tst: New.
2548 * data/istream_unformatted-1.tst: New.
2549 * data/istream_unformatted-1.txt: New.
2550 * data/ofstream_members-1.tst: New.
2551 * data/ostream_inserter_char-1.tst: New.
2552 * data/ostream_inserter_char-1.txt: New.
2553 * data/ostream_inserter_other-1.tst: New.
2554 * data/ostream_inserter_other-2.tst: New.
2555 * data/ostream_seeks-1.tst: New.
2557 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
2559 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
2560 requirement that __mode must be strict input or output.
2562 * include/std/std_streambuf.h (basic_streambuf::setp): Set
2565 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
2566 output string shouldn't core.
2567 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
2569 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
2571 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
2574 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
2576 * testsuite/data: New directory.
2577 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2578 to copy files from the testsuite data directory.
2579 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
2580 testfiles containing _xin, which now means this is an interactive
2581 test and should be run with the interactive dejagnu hooks.
2582 * testsuite/Makefile.am: Remove testsuite_* files.
2583 * testsuite/Makefile.in: Regenerate.
2585 2003-04-09 Zack Weinberg <zack@codesourcery.com>
2587 * docs/html/install.html: Document complete list of locales
2588 required by test suite. Document procedure for installing
2589 said locales under Debian. Solicit instructions for other
2592 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
2594 * include/bits/sstream.tcc (overflow): Make sure operands of min
2595 and max have the same type.
2597 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
2600 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
2603 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
2605 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
2606 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
2607 Don't set _M_out_end.
2608 (basic_filebuf::overflow): Replace _M_out_buf_size() with
2609 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
2610 * include/bits/sstream.tcc (basic_stringbuf::overflow):
2611 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
2612 * include/bits/streambuf.tcc (basic_streambuf::sputc):
2613 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
2614 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
2615 _M_out_end - _M_out_cur.
2616 (__copy_streambufs): Likewise.
2617 * include/std/std_fstream.h (_M_set_determinate): Set
2620 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
2622 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
2623 _M_convert_to_external, _M_really_overflow, seekoff): Fix
2624 test for synced buffer.
2625 * include/std/std_fstream.h (sync): Likewise.
2626 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
2627 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
2629 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
2631 * include/std/std_sstream.h (basic_istringstream): Adjust
2633 (basic_ostringstream): Same.
2634 (basic_stringstream): Same.
2635 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
2636 (basic_ofstream): Same.
2637 (basic_fstream): Same.
2638 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
2639 that does not call init.
2640 * include/std/std_istream.h (basic_istream): Same.
2641 (basic_iostream): Construct istream, ostream uninitialized, use
2642 init to initialize just once. Add protected ctor that does not
2645 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
2646 Nathan Myers <ncm@cantrip.org>
2649 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
2651 (basic_filebuf<>::showmanyc): Use the information provided
2652 by codecvt and __basic_file<>::showmanyc_helper to implement
2653 a non-trivial showmanyc.
2654 * config/io/basic_file_stdio.h
2655 (__basic_file<>::showmanyc_helper): New, declare.
2656 * config/io/basic_file_stdio.cc
2657 (__basic_file<>::showmanyc_helper): Define.
2658 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
2659 (__basic_file<char>::open): Don't call fcntl().
2660 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
2661 GLIBCPP_CHECK_POLL): New macros.
2662 * configure.in: Call here.
2663 * acconfig.h: Add #undefs for the corresponding symbols.
2664 * aclocal.m4: Regenerate.
2665 * configure: Regenerate.
2666 * config.h.in: Regenerate.
2668 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
2670 * config/linker-map.gnu: Remove string export restrictions.
2672 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
2674 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
2675 find_first_of, find_last_of and find_last_not_of tests.
2676 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
2677 tests here, new file.
2678 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
2679 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
2680 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
2681 wchar_t find_first_of tests here, new file.
2682 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
2684 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
2686 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
2687 wchar_t find_last_of tests here.
2688 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
2689 wchar_t find_last_not_of tests here.
2691 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
2693 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
2694 Correct return value.
2696 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
2699 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
2700 * include/std/std_complex.h (norm): Use faster,
2701 less accurate computation for builtin float types under --fast-math.
2703 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
2705 * testsuite/testsuite_hooks.h: Fix warning nits.
2707 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
2709 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
2710 Only .set mips2 for the o32 ABI.
2712 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
2714 * testsuite/21_strings/char_traits/requirements/char/1.cc:
2715 Test char not wchar_t.
2717 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
2719 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
2720 Correct size, taking into account sizeof(wchar_t).
2722 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
2724 Reshuffle 21_strings testsuite.
2725 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
2726 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
2727 element_access.cc, operations.cc, char_traits_requirements.cc,
2728 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
2729 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
2730 wchar_t tests as follows.
2731 * 21_strings/basic_string/append/char/1.cc: New.
2732 * 21_strings/basic_string/append/wchar_t/1.cc: New.
2733 * 21_strings/basic_string/assign/char/1.cc: New.
2734 * 21_strings/basic_string/assign/char/2.cc: New.
2735 * 21_strings/basic_string/assign/char/3.cc: New.
2736 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
2737 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
2738 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
2739 * 21_strings/basic_string/capacity/1.cc: New.
2740 * 21_strings/basic_string/capacity/char/1.cc: New.
2741 * 21_strings/basic_string/capacity/char/2.cc: New.
2742 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
2743 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
2744 * 21_strings/basic_string/compare/char/1.cc: New.
2745 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
2746 * 21_strings/basic_string/cons/char/1.cc: New.
2747 * 21_strings/basic_string/cons/char/2.cc: New.
2748 * 21_strings/basic_string/cons/char/3.cc: New.
2749 * 21_strings/basic_string/cons/char/4.cc: New.
2750 * 21_strings/basic_string/cons/char/5.cc: New.
2751 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
2752 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
2753 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
2754 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
2755 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
2756 * 21_strings/basic_string/element_access/char/1.cc: New.
2757 * 21_strings/basic_string/element_access/char/2.cc: New.
2758 * 21_strings/basic_string/element_access/char/3.cc: New.
2759 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
2760 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
2761 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
2762 * 21_strings/basic_string/find/char/1.cc: New.
2763 * 21_strings/basic_string/find/wchar_t/1.cc: New.
2764 * 21_strings/basic_string/insert/char/1.cc: New.
2765 * 21_strings/basic_string/insert/char/2.cc: New.
2766 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
2767 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
2768 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
2769 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
2770 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
2771 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
2772 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
2773 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
2774 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
2775 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
2776 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
2777 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
2778 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
2779 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
2780 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
2781 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
2782 * 21_strings/basic_string/operators/char/1.cc: New.
2783 * 21_strings/basic_string/operators/char/2.cc: New.
2784 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
2785 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
2786 * 21_strings/basic_string/replace/char/1.cc: New.
2787 * 21_strings/basic_string/replace/char/2.cc: New.
2788 * 21_strings/basic_string/replace/char/3.cc: New.
2789 * 21_strings/basic_string/replace/char/4.cc: New.
2790 * 21_strings/basic_string/replace/char/5.cc: New.
2791 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
2792 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
2793 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
2794 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
2795 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
2796 * 21_strings/basic_string/rfind/char/1.cc: New.
2797 * 21_strings/basic_string/rfind/char/2.cc: New.
2798 * 21_strings/basic_string/rfind/char/3.cc: New.
2799 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
2800 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
2801 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
2802 * 21_strings/basic_string/substr/char/1.cc: New.
2803 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
2804 * 21_strings/c_strings/char/1.cc: New.
2805 * 21_strings/c_strings/char/2.cc: New.
2806 * 21_strings/c_strings/wchar_t/1.cc: New.
2807 * 21_strings/c_strings/wchar_t/2.cc: New.
2808 * 21_strings/char_traits/requirements/char/1.cc: New.
2809 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
2810 * 21_strings/char_traits/typedefs/char/1.cc: New.
2812 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
2813 Petur Runolfsson <peturr02@ru.is>
2816 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
2817 basic_filebuf<wchar_t>::_M_underflow_common):
2818 if (gptr() < egptr()) return *gptr().
2819 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
2821 * testsuite/27_io/filebuf_members.cc (test_04): Minor
2822 changes: unlink fifo before making it, fix spelling error.
2824 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
2826 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
2827 * testsuite/Makefile.in: Regenerate.
2828 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
2831 2003-03-17 Petur Runolfsson <peturr02@ru.is>
2834 * include/bits/fstream.tcc (basic_filebuf::close):
2835 Always close file, even when write fails.
2836 * testsuite/27_io/filebuf_members.cc (test_07): New test.
2838 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
2840 * libsupc++/Makefile.am (C_COMPILE): Remove.
2841 (LTCOMPILE): Likewise.
2842 * libsupc++/Makefile.in: Regenerate.
2844 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
2846 * testsuite/23_containers/bitset_members.cc: Add test variable.
2847 * testsuite/23_containers/map_insert.cc: Same.
2848 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
2849 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
2850 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
2851 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
2852 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
2853 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
2854 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
2855 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
2856 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
2857 * testsuite/27_io/istream_exception.cc: Same.
2858 * testsuite/27_io/filebuf_virtuals.cc: Same.
2859 * testsuite/27_io/stringbuf_virtuals.cc: Same.
2860 * testsuite/27_io/ostream_inserter_arith.cc: Same.
2861 * testsuite/26_numerics/valarray_operators.cc: Same.
2862 * testsuite/26_numerics/slice.cc: Same.
2863 * testsuite/26_numerics/slice_array_assignment.cc: Same.
2864 * testsuite/24_iterators/istream_iterator.cc: Same.
2865 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
2867 2003-03-14 Petur Runolfsson <peturr02@ru.is>
2871 * config/locale/generic/ctype_members.cc,
2872 * config/locale/gnu/ctype_members.cc
2873 (ctype<wchar_t>::do_widen(char)): Cast argument to
2874 unsigned char before passing to btowc.
2875 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
2876 Convert characters with btowc instead of mbsrtowcs.
2877 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
2879 Convert characters with wctob instead of wcsrtombs.
2880 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
2881 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
2882 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
2884 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
2886 * include/stdc++.h: New.
2887 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
2888 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
2889 * include/Makefile.in: Regenerate.
2890 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
2891 (--cxxflags): Put -g -O2 here.
2892 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
2894 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
2896 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
2897 missing named locale.
2899 2003-03-14 Andreas Schwab <schwab@suse.de>
2901 * configure.in: Only append to makefiles that are newly created to
2902 avoid multiple multi-do/multi-clean rules.
2903 * configure: Rebuilt.
2905 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
2907 * docs/html/configopts.html, docs/html/documentation.html,
2908 docs/html/explanations.html, docs/html/install.html,
2909 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
2910 invalid XHTML and make page header style consistent.
2912 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
2914 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
2915 * docs/html/faq/index.txt: Regenerate.
2916 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
2918 2003-03-12 Andreas Schwab <schwab@suse.de>
2920 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2921 glibcpp_toolexeclibdir.
2922 * aclocal.m4, configure: Rebuilt.
2924 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
2926 * docs/html/faq/index.html: Update text about location of headers.
2927 * docs/html/faq/index.txt: Regenerate.
2929 2003-03-11 Carlo Wood <carlo@alinoe.com>
2931 * include/bits/demangle.h: Prepend accessors of
2932 class qualifier with 'get_' in order to fix warnings
2933 when compiling with -Wshadow.
2935 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
2937 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
2939 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
2941 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
2942 report lack of setenv().
2944 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2946 * config/io/basic_file_stdio.cc: include <unistd.h>.
2948 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2949 Nathan Myers <ncm@cantrip.org>
2952 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
2953 seekoff, seekpos): Add a boolean parameter __stdio.
2954 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
2955 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
2956 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
2958 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
2959 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
2960 * include/std/std_fstream.h (sync): Likewise.
2961 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
2962 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
2963 libstdc++/8399 commit involving isatty(0).
2964 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
2965 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
2966 * configure.in: Remove call.
2967 * aclocal.m4: Regenerate.
2968 * config.h.in: Regenerate.
2969 * configure: Regenerate.
2970 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
2972 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2975 * include/bits/fstream.tcc (overflow): don't write EOF to file.
2976 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
2978 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
2981 * include/bits/basic_ios.h (_M_setstate): New.
2982 * include/bits/ostream.tcc (operator<<): Use it.
2983 * include/bits/istream.tcc (operator>>): Use it.
2984 * include/std/std_ostream.h (operator<<): Make friends.
2985 * include/std/std_istream.h (operator>>): Make friends.
2986 * testsuite/27_io/ostream_exception.cc,
2987 testsuite/27_io/istream_exception.cc: New tests.
2989 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
2991 * include/bits/locale_facets.tcc: Fix typo.
2993 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
2995 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
2997 * config/locale/generic/c_locale.cc
2998 (locale::facet::_S_create_c_locale): Throw runtime exception when
2999 unsupported language is specified.
3000 * testsuite/testsuite_hooks.h
3001 (run_test_wrapped_generic_locale_exception_catcher): New function.
3002 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
3003 Suppress runtime exception thrown by generic implementation.
3004 (run_tests_wrapped_env): Likewise.
3005 (run_test_wrapped_generic_locale_exception_catcher): New function.
3006 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
3007 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
3008 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
3009 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
3010 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
3011 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
3012 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
3013 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
3014 * testsuite/22_locale/facet/2.cc: New test wrap.
3015 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
3016 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
3017 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
3018 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
3019 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
3020 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
3021 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
3022 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
3023 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
3024 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
3025 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
3026 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
3027 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
3028 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
3029 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
3030 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
3031 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
3032 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
3033 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
3034 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
3035 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
3036 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
3037 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
3038 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
3039 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
3040 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
3041 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
3042 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
3043 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
3044 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
3045 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
3046 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
3047 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
3048 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
3049 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
3050 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
3051 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
3052 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
3053 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
3054 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
3055 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
3056 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
3057 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
3058 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
3059 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
3060 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
3061 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
3062 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
3063 * testsuite/27_io/ios_members.cc: New test wrap.
3064 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
3066 * testsuite/27_io/streambuf_members.cc: New test wrap.
3067 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
3069 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
3070 Petur Runolfsson <peturr02@ru.is>
3073 * include/bits/streambuf.tcc (__copy_streambufs): Use
3074 sgetn-sputn only when sputn cannot fail, otherwise fall back
3075 to safe snextc-sputc.
3076 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
3078 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
3080 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
3081 locale cache for truename and falsename.
3083 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
3085 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
3086 _M_word_size initialization.
3088 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
3090 * include/bits/fstream.tcc (_M_convert_to_external):
3091 Set __elen to zero if codecvt::out eventually fails.
3093 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
3096 * include/bits/fstream.tcc (_M_really_overflow): Check
3097 for _M_convert_to_external possible failures.
3098 * include/std/std_fstream.h (sync): Check _M_really_overflow
3099 return value and return -1 in case of failure.
3100 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
3102 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
3105 * include/bits/istream.tcc (operator>>(_CharT*),
3106 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
3107 * testsuite/27_io/stringstream.cc (test02): Add.
3109 * include/bits/istream.tcc (operator>>(_CharT*)):
3110 Assign a char_type to *__s.
3112 2003-03-07 Petur Runolfsson <peturr02@ru.is>
3115 * include/bits/locale_facets.tcc
3116 (collate::do_compare, collate::do_transform):
3117 Handle nul characters in input.
3118 * testsuite/22_locale/collate/compare/char/3.cc: New test.
3119 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
3120 * testsuite/22_locale/collate/transform/char/3.cc: New test.
3121 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
3123 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
3125 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
3127 * testsuite/27_io/ostream_fail.cc: New test.
3129 2003-03-07 Matthias Klose <doko@debian.org>
3131 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
3132 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
3133 * Makefile.in: Regenerate.
3134 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
3136 AM_MAKEFLAGS: Pass gxx_include_dir.
3137 * libsupc++/Makefile.in: Regenerate.
3139 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
3141 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
3142 mask. Test setting small-numbered pword and iword slots. Test
3143 behavior at limit of numeric_limits::max. Check that values are
3144 still good after failures.
3146 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
3148 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
3149 (ios_base::ios_base): Set _M_word, _M_word_size.
3150 (ios_base::~ios_base): Remove redundant test.
3151 * testsuite/27_io/ios_base_storage.cc (test03): New.
3153 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
3155 * src/strstream.cc, include/bits/basic_string.tcc: Remove
3156 incorrect whitespace added in my previous change.
3158 2003-03-05 Carlo Wood <carlo@alinoe.com>
3160 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
3161 _S_initialized() in order to allow debugging libraries to detect
3162 when the std streams are initialized from an overloaded operator
3165 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
3167 * libsupc++/demangle.h: Move to..
3168 * include/bits/demangle.h: ...here.
3169 * src/demangle.cc: Adjust include.
3170 * include/Makefile.am (bits_headers): Add.
3171 * include/Makefile.in: Regenerate.
3173 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
3175 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
3177 * config/linker-map.gnu: Filter typeinfo and vtable info.
3179 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
3181 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
3182 new failure. Throw exception if badbit and exception mask when ix
3183 >= numeric_limits<int>::max().
3185 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
3187 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
3188 min and max have the same type.
3189 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
3191 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
3193 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
3194 * include/Makefile.in: Regenerate.
3196 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
3198 * testsuite/abi_check.cc (report_symbol_info): Add version info.
3200 * config/linker-map.gnu: Hide more stuff.
3201 * include/Makefile.am: Cleanups.
3202 * include/Makefile.in: Regenerate.
3204 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
3206 * config/locale/generic/messages_members.h (messages::messages):
3207 Remove name from unused parameter.
3209 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
3211 * src/Makefile.am (sources): Add demangle.cc.
3214 * src/Makefile.in: Regenerate.
3215 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
3216 * libsupc++/Makefile.in: Regenerate.
3218 * testsuite/testsuite_hooks.h
3219 (__gnu_cxx_test::verify_demangle): New.
3220 * testsuite/testsuite_hooks.cc: Define.
3222 2003-02-27 Carlo Wood <carlo@alinoe.com>
3224 * src/demangle.cc: New.
3225 * libsupc++/demangle.h: New.
3227 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
3228 Carlo Wood <carlo@alinoe.com>
3230 * testsuite/demangle/abi_examples/01.cc: New.
3231 * testsuite/demangle/abi_examples/02.cc: New.
3232 * testsuite/demangle/abi_examples/03.cc: New.
3233 * testsuite/demangle/abi_examples/04.cc: New.
3234 * testsuite/demangle/abi_examples/05.cc: New.
3235 * testsuite/demangle/abi_examples/06.cc: New.
3236 * testsuite/demangle/abi_examples/07.cc: New.
3237 * testsuite/demangle/abi_examples/08.cc: New.
3238 * testsuite/demangle/abi_examples/09.cc: New.
3239 * testsuite/demangle/abi_examples/10.cc: New.
3240 * testsuite/demangle/abi_examples/11.cc: New.
3241 * testsuite/demangle/abi_examples/12.cc: New.
3242 * testsuite/demangle/abi_examples/13.cc: New.
3243 * testsuite/demangle/abi_examples/14.cc: New.
3244 * testsuite/demangle/abi_examples/15.cc: New.
3245 * testsuite/demangle/abi_examples/16.cc: New.
3246 * testsuite/demangle/abi_examples/17.cc: New.
3247 * testsuite/demangle/abi_examples/18.cc: New.
3248 * testsuite/demangle/abi_examples/19.cc: New.
3249 * testsuite/demangle/abi_examples/20.cc: New.
3250 * testsuite/demangle/abi_examples/21.cc: New.
3251 * testsuite/demangle/abi_examples/22.cc: New.
3252 * testsuite/demangle/abi_examples/23.cc: New.
3253 * testsuite/demangle/abi_examples/24.cc: New.
3254 * testsuite/demangle/abi_examples/25.cc: New.
3255 * testsuite/demangle/abi_examples/26.cc: New.
3256 * testsuite/demangle/abi_text/01.cc: New.
3257 * testsuite/demangle/abi_text/02.cc: New.
3258 * testsuite/demangle/abi_text/03.cc: New.
3259 * testsuite/demangle/abi_text/04.cc: New.
3260 * testsuite/demangle/abi_text/05.cc: New.
3261 * testsuite/demangle/abi_text/06.cc: New.
3262 * testsuite/demangle/abi_text/07.cc: New.
3263 * testsuite/demangle/abi_text/08.cc: New.
3264 * testsuite/demangle/abi_text/09.cc: New.
3265 * testsuite/demangle/abi_text/10.cc: New.
3266 * testsuite/demangle/abi_text/11.cc: New.
3267 * testsuite/demangle/abi_text/12.cc: New.
3268 * testsuite/demangle/abi_text/13.cc: New.
3269 * testsuite/demangle/abi_text/14.cc: New.
3270 * testsuite/demangle/regression/3111-1.cc: New.
3271 * testsuite/demangle/regression/3111-2.cc: New.
3272 * testsuite/demangle/regression/7986-01.cc: New.
3273 * testsuite/demangle/regression/7986-02.cc: New.
3274 * testsuite/demangle/regression/7986-03.cc: New.
3275 * testsuite/demangle/regression/7986-04.cc: New.
3276 * testsuite/demangle/regression/7986-05.cc: New.
3277 * testsuite/demangle/regression/7986-06.cc: New.
3278 * testsuite/demangle/regression/7986-07.cc: New.
3279 * testsuite/demangle/regression/7986-08.cc: New.
3280 * testsuite/demangle/regression/7986-09.cc: New.
3281 * testsuite/demangle/regression/7986-10.cc: New.
3282 * testsuite/demangle/regression/7986-11.cc: New.
3283 * testsuite/demangle/regression/7986-12.cc: New.
3284 * testsuite/demangle/regression/7986.cc: New.
3285 * testsuite/demangle/regression/8897.cc: New.
3286 * testsuite/demangle/regression/cw-01.cc: New.
3287 * testsuite/demangle/regression/cw-02.cc: New.
3288 * testsuite/demangle/regression/cw-03.cc: New.
3289 * testsuite/demangle/regression/cw-04.cc: New.
3290 * testsuite/demangle/regression/cw-05.cc: New.
3291 * testsuite/demangle/regression/cw-06.cc: New.
3292 * testsuite/demangle/regression/cw-07.cc: New.
3293 * testsuite/demangle/regression/cw-08.cc: New.
3294 * testsuite/demangle/regression/cw-09.cc: New.
3295 * testsuite/demangle/regression/cw-10.cc: New.
3296 * testsuite/demangle/regression/cw-11.cc: New.
3297 * testsuite/demangle/regression/cw-12.cc: New.
3298 * testsuite/demangle/regression/cw-13.cc: New.
3299 * testsuite/demangle/regression/cw-14.cc: New.
3300 * testsuite/demangle/regression/old.cc: New.
3302 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
3304 * docs/doxygen/Intro.3: Update with new (proper) names.
3305 * docs/doxygen/TODO: Update.
3306 * docs/doxygen/run_doxygen: More comments, fix up man pages.
3307 Fake entries for standard typedefs.
3308 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
3309 * docs/html/documentation.html: Top-level man page is now called
3311 * include/std/std_limits.h: Doxygenate.
3313 2003-02-25 Scott Snyder <snyder@fnal.gov>
3316 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
3317 Correct documentation.
3318 * include/bits/stl_multimap.h (lower_bound, upper_bound,
3319 equal_range): Likewise.
3321 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
3325 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
3326 __bump is true (uflow), always increment the read pointer
3327 (_M_in_cur) before returning successfully.
3328 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
3330 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
3331 Nathan Myers <ncm@cantrip.org>
3333 PR libstdc++/9404, PR libstdc++/9701 (partial)
3334 (aka pptr == epptr implies overflow)
3335 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
3336 Consistently, _M_out_end points to the end of the buffer just
3338 (overflow): Tweak to use _M_out_buf_size().
3339 (_M_convert_to_external): The role of the old _M_out_end is
3340 now played by _M_out_lim.
3341 (_M_really_overflow): Likewise.
3342 (seekoff): Likewise.
3343 (setbuf): _M_out_end points to the end of the external buffer.
3344 * include/bits/sstream.tcc (overflow): Rewrote, taking into
3345 account the resolution of DR 169 (TC).
3346 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
3347 (seekpos): Use _M_string.capacity(); tweak.
3348 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
3349 * include/std/std_fstream.h (sync): The role of the old
3350 _M_out_end is now played by _M_out_lim.
3351 (_M_set_indeterminate): Use _M_set_determinate.
3352 (_M_set_determinate): _M_out_end is now _M_out_lim.
3353 (_M_is_indeterminate): Likewise.
3354 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
3355 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
3356 which have the information readily available as _M_string.capacity();
3357 for ate and app modes, pass the string size to _M_really_sync.
3358 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
3359 point to the end of the buffer (i.e., epptr) and to the string end,
3361 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
3362 which points to the right limit of the used put area.
3363 (_M_out_cur_move): The role of the old _M_out_end is now played
3365 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
3366 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
3368 (basic_streambuf()): Initialize _M_out_lim too.
3369 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
3370 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
3371 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
3373 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
3375 * testsuite/27_io/ios_base_storage.cc (main): Call
3378 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
3380 * include/bits/locale_facets.tcc (_M_convert_float): Replace
3381 numpunct facet accesses with data from __locale_cache.
3383 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
3385 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
3386 * docs/html/faq/index.txt: Regenerate.
3388 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
3390 * config/linker-map.gnu: Also export locking symbols needed for the
3391 generic atomicity.h case.
3393 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
3395 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3397 * configure: Rebuilt.
3399 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
3401 * include/bits/sstream.tcc (overflow): According to
3402 27.7.1.3, p5, actual output is performed by sputc(c).
3404 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
3407 * include/bits/stl_alloc.h: Remove all traces of assert().
3409 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
3411 * include/std/std_sstream.h (str()): the size of the
3412 current string may be different from the initial one
3413 whenever _M_out_end > _M_out_beg.
3414 * testsuite/27_io/stringbuf_members.cc (test07): Add.
3416 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
3419 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
3421 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
3423 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
3424 * testsuite/27_io/ios_members.cc (test03): New.
3426 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
3428 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
3429 (basic_ios::_M_cache_facets): Move into above.
3430 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
3432 (basic_ios::imbue): Force locale cache to be built.
3433 (basic_ios::_M_init): Create and initialize locale cache.
3434 * include/bits/ios_base.h (__locale_cache_base): Declare.
3435 (ios_base::_M_locale_cache): New.
3436 (ios_base::_M_cache): Define.
3437 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
3439 (__locale_cache_base,__locale_cache<_CharT>): New classes.
3440 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
3441 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
3442 cache literal string, grouping flag, thousands separator.
3443 (__locale_cache<_CharT>::__locale_cache): New.
3444 (__locale_cache<_CharT>::_M_init): New.
3445 * src/ios.cc: Clear _M_locale_cache in constructor.
3446 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
3449 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
3451 * src/locale-inst.cc: Do not include <cassert>.
3452 * src/locale.cc: Likewise.
3454 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
3457 * include/std/std_fstream.h: Declare underflow and uflow
3458 specializations, change generic definitions to do nothing.
3459 * src/fstream.cc: Add underflow and uflow specializations.
3461 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
3464 * include/bits/fstream.tcc (_M_convert_to_external):
3465 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
3466 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
3468 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
3470 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
3471 * include/bits/basic_ios.tcc: Guard use of extern template.
3472 * include/std/std_iomanip.h: Same.
3473 * include/bits/streambuf.tcc: Same.
3474 * include/bits/stl_alloc.h: Same.
3475 * include/bits/locale_facets.tcc: Same.
3476 * include/bits/ostream.tcc: Same.
3477 * include/bits/istream.tcc: Same.
3478 * include/bits/fstream.tcc: Same.
3479 * include/bits/basic_string.tcc: Same.
3481 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
3483 * include/bits/ostream.tcc (sentry::sentry): Improve
3484 performance-wise the fix for libstdc++/9563.
3486 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
3488 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
3489 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
3490 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
3491 when we don't have static mutex initialization.
3492 (__exchange_and_add): Use _Atomic_add_mutex_once.
3493 * src/misc-inst.cc: Definitions of all the above.
3495 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
3498 * include/bits/ostream.tcc (sentry::sentry): Check
3499 the state of the stream after the preparation.
3500 * testsuite/27_io/ostream_sentry.cc (test02): Add.
3502 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
3504 * include/Makefile.am (stamp-std-precompile): Add rule.
3505 * include/Makefile.in: Regenerated.
3507 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
3508 Benjamin Kosnik <benjamin@redhat.com>
3510 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
3511 Add indexes into this array.
3512 (__num_base::_S_atoms): To _S_atoms_in.
3513 (num_put::_M_insert): Rename to _M_pad.
3514 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
3515 (num_put::_M_widen_int): Rename to _M_group_int.
3516 (num_put::_M_widen_float): Rename to _M_group_float.
3517 * include/bits/locale_facets.tcc (__int_to_char): New inline
3518 function and adapter functions.
3519 (num_put::_M_group_int): Streamline.
3520 (num_put::_M_group_float): Streamline.
3521 (num_put::_M_convert_int): Remove unused parameter names. Choose
3522 large enough buffer for text. Use __int_to_char instead of
3523 __convert_from_v. Formatted text is now at the end of the buffer.
3524 (num_put::_M_convert_float): Preliminary fixups.
3525 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
3526 (__int_to_char<unsigned long long>): Same.
3527 (__int_to_char<char, unsigned long>): New.
3528 (__int_to_char<char, unsigned long long>): New.
3529 (__int_to_char<wchar_t, unsigned long>): New.
3530 (__int_to_char<wchar_t, unsigned long long>): New.
3532 2003-02-11 Scott Snyder <snyder@fnal.gov>
3535 * include/bits/fstream.tcc (seekoff): Avoid operator+
3538 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
3541 * include/ext/stdio_filebuf.h
3542 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
3543 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
3544 Change to take a __size parameter of type size_t, not
3545 of type (template parameter dependent) int_type.
3546 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
3547 size vars to size_t.
3548 * testsuite/ext/stdio_filebuf.cc: Add.
3550 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
3551 Petur Runolfsson <peturr02@ru.is>
3554 * include/bits/streambuf.tcc (__copy_streambufs):
3555 Don't conditionalize the copy to __testput.
3556 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
3558 2002-02-11 DJ Delorie <dj@redhat.com>
3560 * acinclude.m4: Check for native targets that can't link at
3561 this point in the build.
3562 * aclocal.m4: Regenerate.
3563 * configure: Regenerate.
3565 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3567 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
3569 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
3572 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
3574 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
3575 unsigned char platforms.
3577 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
3580 * include/std/std_istream.h
3581 (basic_istream::sentry::operator bool()): Make const.
3582 * include/std/std_ostream.h
3583 (basic_ostream::sentry::operator bool()): Likewise.
3584 * testsuite/27_io/istream_sentry.cc (test03): Add.
3585 * testsuite/27_io/ostream_sentry.cc: Add.
3587 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
3590 Implement resolution of DR 231 (Ready)
3591 * include/bits/locale_facets.h (__num_base::_S_format_float):
3592 Change declaration: return void, remove __prec parameter.
3593 * src/locale.cc (__num_base::_S_format_float): Implement
3594 resolution of DR 231.
3595 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3596 Tweak uses. Check for negative precision.
3597 * testsuite/22_locale/num_put/put/char/6.cc: Add
3598 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
3600 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
3602 * config/io/basic_file_libio.h: Fixups.
3603 * config/io/c_io_libio.h: Same.
3604 * libio/Makefile.am: Same.
3605 * libio/Makefile.in: Regenerated.
3607 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
3609 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
3610 Explicitly use the "C" locale.
3611 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
3613 2003-02-06 Petur Runolfsson <peturr02@ru.is>
3617 PR libstdc++/9028 (partial)
3623 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
3624 codecvt<wchar_t, char, mbstate_t>::do_length,
3625 codecvt<wchar_t, char, mbstate_t>::do_max_length):
3627 * config/locale/generic/codecvt_members.cc: ...here.
3628 * config/locale/gnu/codecvt_members.cc: ...and here.
3630 * config/locale/generic/codecvt_members.cc,
3631 * config/locale/gnu/codecvt_members.cc
3632 (codecvt<wchar_t, char, mbstate_t>::do_encoding
3633 codecvt<wchar_t, char, mbstate_t>::do_in,
3634 codecvt<wchar_t, char, mbstate_t>::do_length,
3635 codecvt<wchar_t, char, mbstate_t>::do_max_length,
3636 codecvt<wchar_t, char, mbstate_t>::do_out):
3637 New implementation that handles stateless encodings,
3640 * config/locale/generic/codecvt_members.cc,
3641 * config/locale/gnu/codecvt_members.cc,
3642 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
3643 * include/bits/codecvt.h,
3645 (codecvt::length, codecvt::do_length):
3646 Change type of first argument of length and do_length from
3647 'const state_type&' to 'state_type&' according to DR 75.
3649 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
3650 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
3651 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
3652 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
3653 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
3654 Cleanup and check for correct return value from encoding
3656 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
3657 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
3658 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
3659 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
3660 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
3661 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
3662 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
3663 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
3664 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
3665 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
3666 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
3667 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
3668 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
3669 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
3670 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
3671 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
3672 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
3673 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
3674 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
3675 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
3676 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
3677 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
3678 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
3679 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
3680 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
3681 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
3682 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
3683 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
3684 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
3685 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
3686 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
3687 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
3688 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
3689 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
3690 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
3691 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
3692 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
3694 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
3696 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
3697 (money_put::do_put): Same.
3699 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
3701 * include/bits/ios_base.h (ios_base): Document reserved storage.
3703 * include/bits/locale_facets.h: (struct __pad): Comment on
3705 (__verify_grouping): Same.
3706 (__add_grouping): Same.
3707 * include/bits/locale_facets.tcc (__verify_grouping): Move
3708 comments to declaration.
3709 (__add_grouping): Same.
3711 * include/bits/locale_facets.tcc:
3712 (__write<_CharT, _OutIter>): New function.
3713 (__write<_CharT>): New function specialization.
3714 (num_put::_M_insert): Remove explicit loop over iterator. Use
3716 (num_put::_M_widen_float): Remove __basefield.
3717 (num_put::_M_widen_int): Move __basefield to within grouping block.
3719 * include/bits/streambuf_iterator.h: Include <streambuf>.
3720 (ostreambuf_iterator::_M_put): Add.
3722 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
3724 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
3726 2003-02-04 Nathan Myers <ncm@cantrip.org>
3728 * testsuite/25_algorithms/min_max.cc (test02): Add.
3730 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3732 PR libstdc++/9439, PR libstdc++/9425
3733 * config/io/basic_file_stdio.cc
3734 (__basic_file<char>::seekoff, seekpos): Return -1L if
3736 * include/bits/fstream.tcc (basic_filebuf::seekoff):
3737 Check _M_file.seekoff return value; always return
3738 pos_type(off_type(-1)) in case of failure.
3739 (basic_filebuf::pbackfail): Check this->seekoff return
3740 value and return traits_type::eof() in case of failure.
3741 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
3743 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
3745 * include/std/std_ostream.h (ostream::_M_write): Declare.
3746 * ostream.tcc (ostream::_M_write): Define.
3747 (basic_ostream::write): Use it.
3748 (operator<<(basic_ostream, _CharT)): Ditto.
3749 (operator<<(basic_ostream, char)): Ditto.
3750 (operator<<(basic_ostream, _CharT*)): Ditto.
3751 (operator<<(basic_ostream, char*)): Ditto.
3752 (operator<<(basic_ostream, basic_string)): Ditto.
3754 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
3756 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
3758 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3760 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
3761 add HTML comment about updating links if numbering changes.
3763 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3766 * include/bits/streambuf.tcc (sputbackc): Access
3767 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
3768 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
3770 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3773 * include/bits/fstream.tcc (open): If the 'ate' repositioning
3774 operation fails, calls close _and_ returns a null pointer
3775 to indicate failure (27.8.1.3,4).
3776 * testsuite/27_io/filebuf_members.cc (test_06): Add.
3778 2003-02-04 Petur Runolfsson <peturr02@ru.is>
3780 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
3782 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3784 * docs/html/27_io/howto.html: New section on stdio_filebuf.
3785 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
3786 * docs/html/documentation.html: Regenerate.
3788 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3790 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
3791 * docs/html/17_intro/porting.html: Regenerate.
3793 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
3794 Phil Edwards <pme@gcc.gnu.org>
3796 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
3797 numeric_limits for bits-per-word values.
3798 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
3799 Use __builtin_popcountl instead.
3800 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
3801 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
3802 Use __builtin_ctzl instead.
3803 (_S_bit_count, _S_first_one): Remove.
3804 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
3805 * src/Makefile.am (sources): Remove bitset.cc.
3806 * src/bitset.cc: Delete file.
3807 * src/Makefile.in: Regenerate.
3809 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
3811 PR libstdc++/9527, PR libstdc++/8713
3812 * docs/html/install.html: Mention glibc version requirement.
3813 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
3814 with 3.2.1+ (formatting bugfixes).
3815 * docs/html/faq/index.txt: Regenerate.
3817 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3820 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
3823 * include/bits/valarray_before.h (__not_equal_to): Use != instead
3826 * testsuite/26_numerics/valarray_operators.cc: New test.
3828 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
3830 * docs/html/faq/index.html: Correct link to libg++ information.
3831 * docs/html/faq/index.txt: Regenerated.
3833 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
3834 Benjamin Kosnik <bkoz@redhat.com>
3836 Const correctness issue:
3837 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
3838 * include/bits/locale_classes.h
3839 (locale::_Impl::_M_facets): Change type to const facet**.
3840 (locale::_Impl::_M_install_facet): Change declaration to
3842 (locale::facet::_M_references): Make mutable.
3843 (locale::facet::_M_add_reference): Declare const.
3844 (locale::facet::_M_remove_reference): Likewise.
3845 * include/bits/locale_facets.tcc
3846 (use_facet(const locale&)): Tweak for const facet** _M_facets.
3847 (has_facet(const locale&)): Likewise.
3849 (locale::facet::_M_add_reference): Adjust definition.
3850 (locale::facet::_M_remove_reference): Likewise.
3852 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
3853 const facet** _M_facets.
3854 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
3855 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
3856 (locale::_Impl::_M_install_facet): Adjust definition to take
3857 const facet* and for const facet** _M_facets.
3858 * testsuite/22_locale/locale/cons/8.cc: Add.
3860 2003-01-29 Mark Mitchell <mark@codesourcery.com>
3862 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
3863 Use __FLT_HAS_INIFINITY__ to initialize.
3864 (numeric_limits<float>::has_quiet_NaN): Likewise.
3865 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
3867 (numeric_limits<double>::has_quiet_NaN): Likewise.
3868 (numeric_limits<long double>::has_infinity): Use
3869 __LDBL_HAS_INIFINITY__ to initialize.
3870 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
3872 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
3875 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
3876 with bases which are very ambiguous.
3878 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
3880 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
3881 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
3882 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
3883 * src/Makefile.in: Regenerate.
3884 * libsupc++/Makefile.in: Regenerate.
3886 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
3888 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
3889 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
3890 version_specific_libs is enabled.
3891 * aclocal.m4, configure: Rebuilt.
3893 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
3895 * include/bits/valarray_meta.h: Remove, split into ...
3896 * include/bits/valarray_before.h: ... this, and ...
3897 * include/bits/valarray_after.h: ... this.
3898 * include/std/std_valarray.h: Adjust.
3899 * include/Makefile.am (bits_headers): Adjust.
3900 * include/Makefile.in: Regenerate.
3902 2003-01-24 Andreas Schwab <schwab@suse.de>
3904 * config/linker-map.gnu: Fix for size_t variance.
3906 2003-01-23 Petur Runolfsson <peturr02@ru.is>
3909 * include/std/std_streambuf.h
3910 (basic_streambuf::basic_streambuf,
3911 basic_streambuf::~basic_streambuf,
3912 basic_streambuf::getloc, basic_streambuf::imbue):
3913 Remove _M_buf_locale_init
3914 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
3915 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
3916 * testsuite/27_io/streambuf_members.cc (test08): Add.
3917 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
3919 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
3921 Revert include ordering.
3922 * config/locale/generic/c_locale.h: Add include guards.
3923 * config/locale/gnu/c_locale.h: Same.
3924 * include/bits/locale_classes.h: Remove cctype include.
3925 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
3926 * include/std/std_fstream.h: Remove streambuf include.
3927 * include/std/std_sstream.h: Remove streambuf include.
3929 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
3931 * configure.in (libtool_VERSION): To 6:0:0.
3932 * configure: Regenerated.
3933 * config/linker-map.gnu: Clean.
3935 * src/misc-inst.cc: Remove instantiations.
3937 * include/bits/stl_alloc.h (__malloc_alloc_template):
3939 (__default_alloc_template): To __pool_alloc.
3940 * src/stl-inst.cc: Same.
3941 * include/backward/alloc.h: Update.
3942 * testsuite/ext/allocators.cc: Update.
3944 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
3945 really try to remove these if possible.
3946 * src/locale.cc (std): Same.
3948 * testsuite/abi_check.cc (check_version): Add.
3950 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
3951 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
3952 Mark Mitchell <mark@codesourcery.com>
3955 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
3956 (basic_filebuf::underflow): Declare.
3959 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
3961 * include/bits/locale_facets.h: Move non-facet classes requiring
3963 * include/bits/locale_classes.h: New.
3964 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
3965 * include/bits/Makefile.in: Regenerate.
3967 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
3968 * config/locale/gnu/c_locale.h: ...here.
3969 * config/locale/generic/c_locale.h: Same.
3971 * include/bits/locale_facets.tcc: Move declarations to...
3972 * include/bits/locale_facets.h: ...here.
3973 * include/bits/basic_ios.h: Tweak includes accordingly.
3974 * include/std/std_sstream.h: Add streambuf include.
3975 * include/std/std_fstream.h: Ditto.
3976 * include/std/std_locale.h: Add locale_classes.h include.
3977 * include/std/std_iosfwd.h: Tweak.
3978 * src/concept-inst.cc: Add iterator include.
3980 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
3981 bits as unexported in the future.
3983 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
3985 Reshuffle 22_locale testsuite.
3986 * 22_locale/(codecvt.cc money_get.cc
3987 codecvt_members_char_char.cc money_get_members_char.cc
3988 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
3989 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
3990 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
3991 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
3992 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
3993 money_put_members_char.cc ctor_copy_dtor.cc
3994 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
3995 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
3996 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
3997 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
3998 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
3999 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
4000 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
4001 operators.cc ctype_widen_char.cc static_members.cc
4002 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
4003 global_templates.cc time_get_members_wchar_t.cc, members.cc,
4004 time_put.cc, messages_byname.cc, time_put_members_char.cc,
4005 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
4006 Split up into individual test cases...
4007 * 22_locale/codecvt/1.cc: New.
4008 * 22_locale/codecvt/2.cc: New.
4009 * 22_locale/codecvt/always_noconv/char/1.cc: New.
4010 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
4011 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
4012 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
4013 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
4014 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
4015 * 22_locale/codecvt/encoding/char/1.cc: New.
4016 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
4017 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
4018 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
4019 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
4020 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
4021 * 22_locale/codecvt/in/char/1.cc: New.
4022 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
4023 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
4024 * 22_locale/codecvt/in/wchar_t/1.cc: New.
4025 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
4026 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
4027 * 22_locale/codecvt/length/char/1.cc: New.
4028 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
4029 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
4030 * 22_locale/codecvt/length/wchar_t/1.cc: New.
4031 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
4032 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
4033 * 22_locale/codecvt/max_length/char/1.cc: New.
4034 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
4035 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
4036 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
4037 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
4038 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
4039 * 22_locale/codecvt/out/char/1.cc: New.
4040 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
4041 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
4042 * 22_locale/codecvt/out/wchar_t/1.cc: New.
4043 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
4044 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
4045 * 22_locale/codecvt/unicode/char.cc: New.
4046 * 22_locale/codecvt/unicode/wchar_t.cc: New.
4047 * 22_locale/codecvt/unshift/char/1.cc: New.
4048 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
4049 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
4050 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
4051 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
4052 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
4053 * 22_locale/collate/1.cc: New.
4054 * 22_locale/collate/2.cc: New.
4055 * 22_locale/collate/compare/char/1.cc: New.
4056 * 22_locale/collate/compare/char/2.cc: New.
4057 * 22_locale/collate/compare/char/wrapped_env.cc: New.
4058 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
4059 * 22_locale/collate/compare/wchar_t/1.cc: New.
4060 * 22_locale/collate/compare/wchar_t/2.cc: New.
4061 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
4062 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
4063 * 22_locale/collate/hash/char/1.cc: New.
4064 * 22_locale/collate/hash/char/2.cc: New.
4065 * 22_locale/collate/hash/char/wrapped_env.cc: New.
4066 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
4067 * 22_locale/collate/hash/wchar_t/1.cc: New.
4068 * 22_locale/collate/hash/wchar_t/2.cc: New.
4069 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
4070 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
4071 * 22_locale/collate/transform/char/2.cc: New.
4072 * 22_locale/collate/transform/char/wrapped_env.cc: New.
4073 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
4074 * 22_locale/collate/transform/wchar_t/2.cc: New.
4075 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
4076 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
4077 * 22_locale/collate_byname/1.cc: New.
4078 * 22_locale/ctype/1.cc: New.
4079 * 22_locale/ctype/2.cc: New.
4080 * 22_locale/ctype/cons/char/1.cc: New.
4081 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
4082 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
4083 * 22_locale/ctype/is/char/1.cc: New.
4084 * 22_locale/ctype/is/char/2.cc: New.
4085 * 22_locale/ctype/is/char/3.cc: New.
4086 * 22_locale/ctype/is/char/wrapped_env.cc: New.
4087 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
4088 * 22_locale/ctype/is/wchar_t/1.cc: New.
4089 * 22_locale/ctype/is/wchar_t/2.cc: New.
4090 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
4091 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
4092 * 22_locale/ctype/narrow/char/1.cc: New.
4093 * 22_locale/ctype/narrow/char/2.cc: New.
4094 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
4095 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
4096 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
4097 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
4098 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
4099 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
4100 * 22_locale/ctype/scan/char/1.cc: New.
4101 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
4102 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
4103 * 22_locale/ctype/scan/wchar_t/1.cc: New.
4104 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
4105 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
4106 * 22_locale/ctype/to/char/1.cc: New.
4107 * 22_locale/ctype/to/char/wrapped_env.cc: New.
4108 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
4109 * 22_locale/ctype/to/wchar_t/1.cc: New.
4110 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
4111 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
4112 * 22_locale/ctype/widen/char/1.cc: New.
4113 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
4114 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
4115 * 22_locale/ctype/widen/wchar_t/1.cc: New.
4116 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
4117 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
4118 * 22_locale/facet/1.cc: New.
4119 * 22_locale/facet/2.cc: New.
4120 * 22_locale/global_templates/1.cc: New.
4121 * 22_locale/locale/cons/1.cc: New.
4122 * 22_locale/locale/cons/2.cc: New.
4123 * 22_locale/locale/cons/3.cc: New.
4124 * 22_locale/locale/cons/4.cc: New.
4125 * 22_locale/locale/cons/5.cc: New.
4126 * 22_locale/locale/cons/6.cc: New.
4127 * 22_locale/locale/cons/7.cc: New.
4128 * 22_locale/locale/global_locale_objects/1.cc: New.
4129 * 22_locale/locale/global_locale_objects/2.cc: New.
4130 * 22_locale/locale/global_locale_objects/3.cc: New.
4131 * 22_locale/locale/operations/1.cc: New.
4132 * 22_locale/locale/operations/2.cc: New.
4133 * 22_locale/messages/1.cc: New.
4134 * 22_locale/messages/2.cc: New.
4135 * 22_locale/messages/members/char/1.cc: New.
4136 * 22_locale/messages/members/char/2.cc: New.
4137 * 22_locale/messages/members/char/3.cc: New.
4138 * 22_locale/messages/members/char/wrapped_env.cc: New.
4139 * 22_locale/messages/members/char/wrapped_locale.cc: New.
4140 * 22_locale/messages_byname/1.cc: New.
4141 * 22_locale/money_get/1.cc: New.
4142 * 22_locale/money_get/2.cc: New.
4143 * 22_locale/money_get/get/char/1.cc: New.
4144 * 22_locale/money_get/get/char/2.cc: New.
4145 * 22_locale/money_get/get/char/3.cc: New.
4146 * 22_locale/money_get/get/char/4.cc: New.
4147 * 22_locale/money_get/get/char/5.cc: New.
4148 * 22_locale/money_get/get/char/6.cc: New.
4149 * 22_locale/money_get/get/char/7.cc: New.
4150 * 22_locale/money_get/get/char/8.cc: New.
4151 * 22_locale/money_get/get/char/wrapped_env.cc: New.
4152 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
4153 * 22_locale/money_get/get/wchar_t/1.cc: New.
4154 * 22_locale/money_get/get/wchar_t/2.cc: New.
4155 * 22_locale/money_get/get/wchar_t/3.cc: New.
4156 * 22_locale/money_get/get/wchar_t/4.cc: New.
4157 * 22_locale/money_get/get/wchar_t/5.cc: New.
4158 * 22_locale/money_get/get/wchar_t/6.cc: New.
4159 * 22_locale/money_get/get/wchar_t/7.cc: New.
4160 * 22_locale/money_get/get/wchar_t/8.cc: New.
4161 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
4162 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
4163 * 22_locale/money_put/1.cc: New.
4164 * 22_locale/money_put/2.cc: New.
4165 * 22_locale/money_put/put/char/1.cc: New.
4166 * 22_locale/money_put/put/char/2.cc: New.
4167 * 22_locale/money_put/put/char/3.cc: New.
4168 * 22_locale/money_put/put/char/4.cc: New.
4169 * 22_locale/money_put/put/char/5.cc: New.
4170 * 22_locale/money_put/put/char/6.cc: New.
4171 * 22_locale/money_put/put/char/wrapped_env.cc: New.
4172 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
4173 * 22_locale/money_put/put/wchar_t/1.cc: New.
4174 * 22_locale/money_put/put/wchar_t/2.cc: New.
4175 * 22_locale/money_put/put/wchar_t/3.cc: New.
4176 * 22_locale/money_put/put/wchar_t/4.cc: New.
4177 * 22_locale/money_put/put/wchar_t/5.cc: New.
4178 * 22_locale/money_put/put/wchar_t/6.cc: New.
4179 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
4180 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
4181 * 22_locale/moneypunct/1.cc: New.
4182 * 22_locale/moneypunct/2.cc: New.
4183 * 22_locale/moneypunct/3.cc: New.
4184 * 22_locale/moneypunct/members/char/1.cc: New.
4185 * 22_locale/moneypunct/members/char/2.cc: New.
4186 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
4187 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
4188 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
4189 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
4190 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
4191 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
4192 * 22_locale/moneypunct_byname/1.cc: New.
4193 * 22_locale/num_get/1.cc: New.
4194 * 22_locale/num_get/2.cc: New.
4195 * 22_locale/num_get/get/char/1.cc: New.
4196 * 22_locale/num_get/get/char/2.cc: New.
4197 * 22_locale/num_get/get/char/3.cc: New.
4198 * 22_locale/num_get/get/char/4.cc: New.
4199 * 22_locale/num_get/get/char/5.cc: New.
4200 * 22_locale/num_get/get/char/6.cc: New.
4201 * 22_locale/num_get/get/char/wrapped_env.cc: New.
4202 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
4203 * 22_locale/num_get/get/wchar_t/1.cc: New.
4204 * 22_locale/num_get/get/wchar_t/2.cc: New.
4205 * 22_locale/num_get/get/wchar_t/3.cc: New.
4206 * 22_locale/num_get/get/wchar_t/4.cc: New.
4207 * 22_locale/num_get/get/wchar_t/5.cc: New.
4208 * 22_locale/num_get/get/wchar_t/6.cc: New.
4209 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
4210 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
4211 * 22_locale/num_put/1.cc: New.
4212 * 22_locale/num_put/2.cc: New.
4213 * 22_locale/num_put/put/char/1.cc: New.
4214 * 22_locale/num_put/put/char/2.cc: New.
4215 * 22_locale/num_put/put/char/3.cc: New.
4216 * 22_locale/num_put/put/char/4.cc: New.
4217 * 22_locale/num_put/put/char/5.cc: New.
4218 * 22_locale/num_put/put/char/wrapped_env.cc: New.
4219 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
4220 * 22_locale/num_put/put/wchar_t/1.cc: New.
4221 * 22_locale/num_put/put/wchar_t/2.cc: New.
4222 * 22_locale/num_put/put/wchar_t/3.cc: New.
4223 * 22_locale/num_put/put/wchar_t/4.cc: New.
4224 * 22_locale/num_put/put/wchar_t/5.cc: New.
4225 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
4226 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
4227 * 22_locale/numpunct/1.cc: New.
4228 * 22_locale/numpunct/2.cc: New.
4229 * 22_locale/numpunct/members/char/1.cc: New.
4230 * 22_locale/numpunct/members/char/2.cc: New.
4231 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
4232 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
4233 * 22_locale/numpunct/members/wchar_t/1.cc: New.
4234 * 22_locale/numpunct/members/wchar_t/2.cc: New.
4235 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
4236 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
4237 * 22_locale/numpunct_byname/1.cc: New.
4238 * 22_locale/numpunct_byname/2.cc: New.
4239 * 22_locale/time_get/1.cc: New.
4240 * 22_locale/time_get/2.cc: New.
4241 * 22_locale/time_get/date_order/char/1.cc: New.
4242 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
4243 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
4244 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
4245 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
4246 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
4247 * 22_locale/time_get/get_date/char/1.cc: New.
4248 * 22_locale/time_get/get_date/char/2.cc: New.
4249 * 22_locale/time_get/get_date/char/3.cc: New.
4250 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
4251 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
4252 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
4253 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
4254 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
4255 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
4256 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
4257 * 22_locale/time_get/get_monthname/char/1.cc: New.
4258 * 22_locale/time_get/get_monthname/char/2.cc: New.
4259 * 22_locale/time_get/get_monthname/char/3.cc: New.
4260 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
4261 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
4262 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
4263 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
4264 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
4265 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
4266 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
4267 * 22_locale/time_get/get_time/char/1.cc: New.
4268 * 22_locale/time_get/get_time/char/2.cc: New.
4269 * 22_locale/time_get/get_time/char/3.cc: New.
4270 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
4271 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
4272 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
4273 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
4274 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
4275 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
4276 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
4277 * 22_locale/time_get/get_weekday/char/1.cc: New.
4278 * 22_locale/time_get/get_weekday/char/2.cc: New.
4279 * 22_locale/time_get/get_weekday/char/3.cc: New.
4280 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
4281 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
4282 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
4283 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
4284 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
4285 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
4286 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
4287 * 22_locale/time_get/get_year/char/1.cc: New.
4288 * 22_locale/time_get/get_year/char/3.cc: New.
4289 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
4290 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
4291 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
4292 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
4293 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
4294 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
4295 * 22_locale/time_put/1.cc: New.
4296 * 22_locale/time_put/2.cc: New.
4297 * 22_locale/time_put/put/char/1.cc: New.
4298 * 22_locale/time_put/put/char/10.cc: New.
4299 * 22_locale/time_put/put/char/2.cc: New.
4300 * 22_locale/time_put/put/char/3.cc: New.
4301 * 22_locale/time_put/put/char/4.cc: New.
4302 * 22_locale/time_put/put/char/5.cc: New.
4303 * 22_locale/time_put/put/char/6.cc: New.
4304 * 22_locale/time_put/put/char/7.cc: New.
4305 * 22_locale/time_put/put/char/8.cc: New.
4306 * 22_locale/time_put/put/char/9.cc: New.
4307 * 22_locale/time_put/put/char/wrapped_env.cc: New.
4308 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
4309 * 22_locale/time_put/put/wchar_t/1.cc: New.
4310 * 22_locale/time_put/put/wchar_t/10.cc: New.
4311 * 22_locale/time_put/put/wchar_t/2.cc: New.
4312 * 22_locale/time_put/put/wchar_t/3.cc: New.
4313 * 22_locale/time_put/put/wchar_t/4.cc: New.
4314 * 22_locale/time_put/put/wchar_t/5.cc: New.
4315 * 22_locale/time_put/put/wchar_t/6.cc: New.
4316 * 22_locale/time_put/put/wchar_t/7.cc: New.
4317 * 22_locale/time_put/put/wchar_t/8.cc: New.
4318 * 22_locale/time_put/put/wchar_t/9.cc: New.
4319 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
4320 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
4322 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
4324 * config/locale/generic/messages_members.h
4325 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
4326 unqualified members of base clasess.
4328 2003-01-16 Mark Mitchell <mark@codesourcery.com>
4329 Jeffrey Oldham <oldham@codesourcery.com>
4331 * config/locale/gnu/messages_members.h: Use this-> to refer to
4332 unqualified members of base clasess.
4333 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
4334 * include/bits/codecvt.h: Likewise.
4335 * include/bits/deque.tcc: Likewise.
4336 * include/bits/fstream.tcc: Likewise.
4337 * include/bits/istream.tcc: Likewise.
4338 * include/bits/list.tcc: Likewise.
4339 * include/bits/locale_facets.h: Likewise.
4340 * include/bits/ostream.tcc: Likewise.
4341 * include/bits/sstream.tcc: Likewise.
4342 * include/bits/stl_bvector.h: Likewise.
4343 * include/bits/stl_deque.h: Likewise.
4344 * include/bits/stl_list.h: Likewise.
4345 * include/bits/stl_tree.h: Likewise.
4346 * include/bits/stl_vector.h: Likewise.
4347 * include/bits/vector.tcc: Likewise.
4348 * include/ext/ropeimpl.h: Likewise.
4349 * include/ext/stdio_filebuf.h: Likewise.
4350 * include/ext/stl_rope.h: Likewise.
4351 * include/std/std_fstream.h: Likewise.
4352 * include/std/std_sstream.h: Likewise.
4354 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
4356 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
4358 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
4360 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
4361 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
4362 * aclocal.m4: Regenerate.
4363 * configure: Regenerate.
4364 * testsuite/Makefile.am (all-local): Add conditional rule to
4365 generate testsuite_wchar_t.
4366 * testsuite/Makefile.in: Regenerate.
4367 * testsuite/lib/libstdc++-v3-dg.exp
4368 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
4369 testsuite_wchar_t is not present in the build directory.
4370 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
4371 Remove setulimit bits.
4372 * testsuite/26_numerics/complex_value.cc: Set to noopts.
4373 * testsuite/Makefile.am (CLEANFILES): Add.
4374 * testsuite/Makefile.in: Regenerate.
4376 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4378 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
4381 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
4383 Further conform g++'s __vmi_class_type_info to the C++ ABI
4385 * libsupc++/cxxabi.h
4386 (__vmi_class_type_info::__flags_masks): Remove enumerations not
4387 required by the specification.
4389 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
4391 Renames, namespaces for testsuite utilities.
4392 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
4393 (gnu_allocator_tracker): Rename to allocation_tracker.
4394 (gnu_new_allocator): Rename to tracker_alloc.
4395 (__set_testsuite_memlimit): Rename to set_memory_limits.
4396 (gnu_assignment_operator): Rename to assignment_operator.
4397 (gnu_destructor): Rename to destructor.
4398 (gnu_copy_tracker): Rename to copy_tracker.
4399 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
4400 (run_tests_wrapped_locale): New.
4401 (run_tests_wrapped_env): New.
4402 * testsuite/testsuite_hooks.cc: Same.
4403 (class locale_data): Add.
4404 (class enviornment_variable): Add.
4405 (class not_found): Add.
4406 * testsuite/testsuite_allocator.h: Same.
4407 * testsuite/testsuite_allocator.cc: Same.
4408 * testsuite/23_containers/deque_ctor.cc
4409 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
4411 Change gnu_new_allocator to tracker_alloc.
4412 Change gnu_counting_struct to counter.
4413 Change gnu_copy_tracker to copy_tracker.
4414 Change gnu_copy_constructor to copy_constructor.
4415 Change gnu_assignment_operator to assignment_operator.
4417 * testsuite/23_containers/vector_capacity.cc: Same.
4418 * testsuite/23_containers/vector_ctor.cc (test01): Same.
4419 * testsuite/23_containers/list_modifiers.cc: Change
4420 gnu_copy_tracker to copy_tracker.
4421 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
4422 __set_testsuite_memlimit to set_memory_limits.
4423 * testsuite/21_strings/insert.cc (main): Same.
4424 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
4425 * testsuite/27_io/stringstream.cc: Same.
4426 * testsuite/27_io/stringbuf.cc: Same.
4427 * testsuite/27_io/streambuf.cc: Same.
4428 * testsuite/27_io/ostream.cc: Same.
4429 * testsuite/27_io/istream.cc: Same.
4430 * testsuite/27_io/fstream.cc: Same.
4431 * testsuite/lib/libstdc++-v3-dg.exp
4432 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
4433 three levels deeper in glob patterns.
4435 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
4437 * docs/doxygen/tables.html: Finished now.
4438 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
4439 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
4442 * include/bits/deque.tcc, include/bits/stl_alloc.h,
4443 include/bits/stl_deque.h, include/bits/stl_list.h,
4444 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
4447 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
4449 * configure.in: Revert.
4450 * configure: Regenerate.
4452 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
4454 * include/Makefile.am (install-data-local): Prepend
4455 $(DESTDIR) to destination paths in all (un)installation
4456 commands. Use ${c_base_builddir} and ${std_builddir}
4457 as destination subdirectories to achieve consistency with
4458 preceding mkinstalldirs commands. No effect because both
4459 variables contain "." only.
4460 * include/Makefile.in: Regenerate.
4462 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
4464 * include/Makefile.am (stamp-*): Add checks for existing stamps.
4465 * include/Makefile.in: Regenerate.
4467 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
4468 * aclocal.m4: Regenerate.
4470 * configure.in: Don't add new multi-do rules every time the
4471 directory is reconfigured.
4472 * configure: Regenerate.
4474 2003-01-08 Brad Spencer <spencer@infointeractive.com>
4475 Nathan Myers <ncm@cantrip.org>
4477 * src/Makefile.am (stamp-debug): Clean.
4478 * src/Makefile.in: Regenerate.
4480 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
4483 * Makefile.am (distclean-multi): Fix.
4484 * Makefile.in: Regenerate.
4486 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
4488 * include/bits/locale_facets.h (messages): Move ctor, dtor
4490 (__timepunct): Same.
4491 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
4492 definitions. Conditionalize for GNU systems.
4493 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
4495 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
4496 definitions. Conditionalize for GNU systems.
4497 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
4499 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
4500 * src/locale.cc: Define.
4501 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
4503 * config/locale/gnu/time_members.h: Use it.
4504 * config/locale/gnu/messages_members.h: Use it.
4505 * config/linker-map.gnu: Add locale::facets details.
4506 * include/Makefile.am (target_headers_extra): Add time_members.h.
4507 * include/Makefile.in: Regenerate.
4508 * acinclude.m4: Export CTIME_H.
4509 * aclocal.m4: Regenerate.
4510 * configure: Regnerate.
4512 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
4515 (codecvt<char, char, mbstate_t>::do_in, do_out):
4516 Tweak parameters to avoid unused parameter warnings.
4518 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
4521 * include/bits/locale_facets.cc (num_put::_M_convert_float):
4522 Limit __prec to digits10 + 2, not digits10 + 1, taking into
4523 account the possibility of %{g,G} conversion specifiers
4524 inside _S_format_float.
4525 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
4527 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4529 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
4530 libstdc++-v3-list-sourcefiles): Additionally handle files one
4531 level deeper in glob patterns.
4533 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
4534 * testsuite/27_io/istream_extractor_arith/01.cc,
4535 testsuite/27_io/istream_extractor_arith/02.cc,
4536 testsuite/27_io/istream_extractor_arith/03.cc,
4537 testsuite/27_io/istream_extractor_arith/06.cc,
4538 testsuite/27_io/istream_extractor_arith/07.cc,
4539 testsuite/27_io/istream_extractor_arith/08.cc,
4540 testsuite/27_io/istream_extractor_arith/09.cc,
4541 testsuite/27_io/istream_extractor_arith/10.cc,
4542 testsuite/27_io/istream_extractor_arith/11.cc,
4543 testsuite/27_io/istream_extractor_arith/12.cc,
4544 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
4545 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
4548 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
4552 (codecvt<char, char, mbstate_t>::do_in, do_out):
4553 Implement the resolution of DR19 (TC).
4554 * testsuite/22_locale/codecvt_members_char_char.cc
4557 2003-01-02 Jason Merrill <jason@redhat.com>
4559 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
4560 *__mem is also an output.
4561 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.