1 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
3 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
4 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
5 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
6 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
7 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
8 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
9 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
10 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
11 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
12 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
13 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
14 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
15 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
16 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
17 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
18 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
19 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
20 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
21 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
22 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
23 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
24 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
25 * data/seekoff-1.tst: Remove.
26 * data/seekoff-1io.tst: New.
27 * data/seekoff-1out.tst: New.
28 * data/seekoff-2.tst: Remove.
29 * data/seekoff-2io.tst: New.
30 * data/seekoff-2out.tst: New.
32 * data/seekpos-1.tst: Remove.
33 * data/seekpos-1io.tst: New.
34 * data/seekpos-1out.tst: New.
35 * data/seekpos-2.tst: Remove.
36 * data/seekpos-2io.tst: New.
37 * data/seekpos-2out.tst: New.
38 * data/seekpos.txt: New.
40 2003-06-27 Jerry Quinn <jlquinn@optonline.net>
42 * src/locale.cc (__use_cache<numpunct>): Move from here ...
43 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
46 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
48 * include/bits/stl_algobase.h: Fully qualify standard
49 functions with std::, thus avoiding Koenig lookup.
51 2003-06-30 Doug Gregor <dgregor@apple.com>
53 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
54 subscripting empty string.
56 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
58 * testsuite/Makefile.am (check-am): Do not override.
59 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
60 * testsuite/Makefile.in: Regenerate.
62 2003-06-30 Doug Gregor <dgregor@apple.com>
64 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
65 Don't initialize an insert_iterator with a singular iterator.
67 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
69 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
70 * aclocal.m4: Regenerate.
71 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
72 GLIBCPP_ENABLE_PCH, default to yes.
73 * configure: Regenerate.
74 * docs/html/configopts.html: Add --enable-pch.
76 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
78 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
79 (libstdc++-v3-init): Also set LD_RUN_PATH.
81 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
83 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
84 from here to filebuf and stringbuf.
85 (~basic_streambuf()): Don't set _M_mode.
86 (basic_streambuf()): Don't set _M_mode.
87 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
88 (~basic_filebuf()): Clean up.
89 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
90 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
91 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
92 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
93 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
94 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
95 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
97 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
99 * include/std/std_fstream.h (_M_underflow): Remove.
100 (uflow): Remove, inherited from streambuf.
101 (underflow): Only declare.
102 * include/bits/fstream.tcc (_M_underflow): Rename to
103 underflow, to which is equivalent for __bump == false,
105 * include/std/std_sstream.h (_M_underflow): Remove.
106 (uflow): Remove, inherited from streambuf.
107 (underflow): Only declare.
108 * include/bits/sstream.tcc (_M_underflow): Rename to
109 underflow, to which is equivalent for __bump == false,
112 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
114 * include/bits/stl_algo.h: Fully qualify standard functions
115 with std::, thus avoiding Koenig lookup.
117 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
119 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
120 Improve type correctness-wise.
121 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
123 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
125 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
128 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
130 * include/std/std_streambuf.h (uflow): According to
131 27.5.2.4.3,p16, don't check gptr() < egptr().
133 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
136 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
138 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
140 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
143 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
145 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
146 output name to libstdc++-v3-performance.sum.
147 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
148 * testsuite/Makefile.in: Regenerate.
150 2003-06-27 Matthias Klose <doko@debian.org>
152 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
153 output of abi-check in libstdc++-v3-abi.sum.
154 * testsuite/Makefile.in: Regenerate.
156 2003-06-27 Krister Walfridsson <cato@df.lth.se>
158 * config/os/bsd/netbsd/ctype_noninline.h
159 (_C_ctype_): Declare.
160 (ctype<char>::classic_table): Return _C_ctype_ + 1.
161 (ctype<char>::ctype): Use classic_table.
163 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
164 Nathan C. Myers <ncm-nospam@cantrip.org>
167 * include/bits/fstream.tcc (_M_underflow): Properly estimate
168 the worst-case number of external bytes for a given get area.
169 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
171 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
172 Petur Runolfsson <peturr02@ru.is>
175 * include/bits/fstream.tcc (overflow): Properly estimate the
176 worst-case number of external bytes for a given put area
177 (by using codecvt::max_length()).
178 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
179 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
180 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
181 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
183 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
185 * config/linker-map.gnu: Remove ; after __numpunct_cache.
187 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
189 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
190 to the imbued locale.
191 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
193 (num_put::_M_convert_float): Use.
195 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
196 Jerry Quinn <jlquinn@optonline.net>
198 * config/linker-map.gnu: Add __numpunct_cache.
199 * config/locale/gnu/numeric_members.cc
200 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
201 all elements for "C" locale.
202 (numpunct::~numpunct): Delete _M_data.
203 * config/locale/generic/numeric_members.cc: Same.
204 * include/bits/basic_ios.tcc
205 (basic_ios::init): Remove __locale_cache bits.
206 (basic_ios::_M_cache_locale): Same.
207 * include/bits/ios_base.h: Same. Tweaks.
208 * include/bits/locale_classes.h: Tweaks. Reorder classes.
209 (__use_cache): Make friends with _Impl, locale.
210 (_Impl::_M_caches): Add.
211 (_Impl::_M_install_cache): Add.
212 * include/bits/locale_facets.h (__numpunct_cache): New.
213 (numpunct): Encapsulate data members in __numpunct_cache member,
214 _M_data. Adjust virtuals.
215 (numpunct::numpunct): New ctor for the same.
216 (__locale_cache_base): Remove.
217 (__locale_cache): Remove.
218 * include/bits/locale_facets.tcc (__use_cache): New function,
220 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
221 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
222 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
223 * src/locale-inst.cc: Same. Add __numpunct_cache.
224 * src/locale.cc: Tweak inlines.
225 (__use_cache): Define specializations.
226 * src/localename.cc: Use global bits.
227 (_Impl::~Impl): Deal with __numpunct_cache destruction.
228 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
229 (_Impl::_M_init_facet): Take into account __numpunct_cache.
230 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
231 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
233 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
234 Paolo Carlini <pcarlini@unitus.it>
236 * testsuite/performance/filebuf_copy.cc: New, testing char
239 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
240 Nathan C. Myers <ncm-nospam@cantrip.org>
242 * include/bits/fstream.tcc (_M_underflow): When the actual
243 end of file is reached, set 'uncommitted' mode to allow a
244 next write without an intervening seek (see C++98 27.8.1.1,2
246 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
248 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
250 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
251 sputc): Move inline, from here...
252 * include/std/std_streambuf.h: ... to here.
254 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
255 sputbackc, sungetc, sputc): Use __builtin_expect.
257 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
259 * docs/doxygen/mainpage.html: Use a useful title.
261 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
263 * docs/html/documentation.html: Remove assignment info.
264 * docs/html/17_intro/contribute.html: Edits.
265 * docs/html/17_intro/libstdc++-assign.tx: Remove.
267 * docs/html/test.html: Update.
271 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
272 Ulrich Drepper <drepper@redhat.com>
274 * testsuite/testsuite_performance.h: Tweak mallinfo.
276 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
277 Nathan C. Myers <ncm-nospam@cantrip.org>
279 * include/std/std_fstream.h (_M_filepos): Remove.
280 (_M_reading, _M_writing): New, encode the various I/O modes:
281 'read', 'write' and 'uncommitted'.
282 (sync): If there is something to flush, do it, then go to
284 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
285 with three different cases: __off > 0 (upon underflow),
286 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
288 (_M_underflow): Don't call overflow, set _M_reading to true
290 (pbackfail): Set _M_reading to true on pback creation, tweak.
291 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
292 set _M_writing to true on success, tweak.
293 (seekoff): Simplify, set _M_reading, _M_writing to false, call
294 _M_set_buffer(-1) ('uncommitted').
295 (open, close, setbuf): Set _M_reading, _M_writing to false and
296 call _M_set_buffer(-1), tweak.
297 (basic_filebuf): Don't set _M_buf_unified.
298 (_M_destroy_internal_buffer): Don't call setg and setp.
299 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
300 _M_writing and _M_set_buffer(-1).
301 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
302 _M_out_lim, _M_buf_unified): Remove.
303 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
304 (setp): Don't set _M_out_lim.
305 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
306 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
307 upon open the mode is 'uncommitted' and therefore the put area
309 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
310 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
311 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
312 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
313 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
314 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
315 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
316 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
317 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
318 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
319 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
320 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
321 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
322 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
323 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
324 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
325 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
326 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
327 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
328 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
330 * include/bits/fstream.tcc (showmanyc): Use only the
331 documented derivation interface to basic_streambuf (gptr(),
332 setg(), etc.) to work right with user specializations.
333 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
334 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
335 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
337 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
340 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
342 * configure.host (freebsd*): Set abi_baseline_pair.
343 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
344 (at or near first release) to 3.3.
345 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
346 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
347 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
349 * include/ext/mt_allocator.h: Portability.
350 * testsuite/testsuite_performance.h: Likewise.
352 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
354 * docs/html/17_intro/libstdc++-assign.txt: Update address.
356 * testsuite/performance/ifstream_getline.cc: Fix.
358 2003-06-23 Doug Gregor <dgregor@apple.com>
360 * include/bits/boost_concept_check.h: Don't use _D or _R for type
363 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
364 Nathan C. Myers <ncm-nospam@cantrip.org>
366 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
367 is now used only for filebuf, when _M_buf_unified is true.
368 epgtr() plays the role of _M_out_lim but it's only updated
369 upon overflow, underflow, uflow, seekoff/pos.
370 * include/bits/sstream.tcc (_M_underflow): New, implements
371 stringbuf::underflow and uflow.
372 (seekoff, seekpos): Tweak, use _M_update_egptr.
373 * include/std/std_sstream.h (str): Rewrote, deal correctly
374 with the new logic, in particular, when pptr() > egptr().
375 (_M_sync): When __testout && !__testin set all the get area
376 pointers to the current string end.
377 (_M_update_egptr): New, internal function updating egptr()
378 to the actual string end.
379 (_M_underflow): New, declare.
380 (underflow): Dispatch to _M_underflow(false).
381 (uflow): Dispatch to _M_underflow(true).
383 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
384 seekpos): Use only the documented derivation interface to
385 basic_streambuf (gptr(), setg(), etc.) to work right with
386 user specializations.
387 * include/std/std_sstream.h (str, _M_sync): Likewise.
389 2003-06-20 Doug Gregor <dgregor@apple.com>
391 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
392 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
393 dereference end iterator.
394 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
395 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
396 index equal to the length of a string.
397 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
398 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
399 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
400 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
401 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
402 * testsuite/23_containers/list_modifiers.cc: Don't dereference
403 singular reverse iterator.
404 * testsuite/23_containers/vector_bool.cc: Don't increment singular
406 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
408 2003-06-20 Doug Gregor <dgregor@apple.com>
410 * include/bits/basic_string.h (basic_string::replace): Dispatch
411 _InputIterator version based on _Is_integer.
412 * include/bits/basic_string.tcc (basic_string::replace):
413 Renamed replace(iterator, iterator, size_type, _CharT) to
415 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
416 Test basic_string::assign(_InputIterator, _InputIterator),
417 which calls basic_string::replace(iterator, iterator,
418 _Input_iterator, _InputIterator).
420 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
422 * testsuite/testsuite_performance.h (resource_counter): Don't use
423 mallinfo at the moment.
425 2003-06-20 Matthias Klose <doko@debian.org>
427 * configure.host: Set try_cpu to target_cpu for existing
430 2003-06-19 Andreas Jaeger <aj@suse.de>
432 * testsuite/Makefile.am (extract_symvers): Revert accidental
434 * testsuite/Makefile.in: Regenerate.
436 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
437 * configure: Regenerated.
439 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
441 * include/std/std_sstream.h (_M_sync): Make non virtual.
443 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
445 * testsuite/testsuite_performance.h (time_counter): New.
446 (resource_counter): New.
447 (report_performance): New.
448 (start_counters): New.
449 (stop_counters): New.
450 (clear_counters): New.
451 * testsuite/performance/allocator.cc: Instrument.
452 * testsuite/performance/cout_insert_int.cc: Same.
453 * testsuite/performance/complex_norm.cc: Same.
454 * testsuite/performance/filebuf_sputc.cc: New.
455 * testsuite/performance/fstream_seek_write.cc: Same.
456 * testsuite/performance/ifstream_getline.cc: Same.
457 * testsuite/performance/map_create_fill.cc: Same.
458 * testsuite/performance/ofstream_insert_float.cc: Same.
459 * testsuite/performance/ofstream_insert_int.cc: Same.
460 * testsuite/performance/string_append.cc: Convert.
461 * scripts/check_performance: New.
462 * testsuite/Makefile.am (check-performance): New.
465 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
466 Benjamin Kosnik <bkoz@redhat.com>
468 * include/std/std_sstream.h (setbuf): Check __n >= 0.
469 * include/bits/fstream.tcc (setbuf): Tweak.
471 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
473 * include/bits/sstream.tcc (seekoff): We can't seek beyond
474 _M_out_lim, therefore _M_move_out_cur boils down to simply
476 (seekpos): Likewise, clean up.
478 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
479 Paolo Carlini <pcarlini@unitus.it>
481 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
482 simply equivalent to the unbuffered case (0, 0) as far as
483 _M_buf_size is concerned.
485 2003-06-18 Andreas Jaeger <aj@suse.de>
487 * testsuite/Makefile.am (new-abi-baseline): Create baseline
489 (baseline_file): Use baseline_dir.
491 (mkinstalldirs): New.
493 * acinclude.m4: Rename baseline_file to baseline_dir, strip
494 filename from baseline_dir.
496 * testsuite/Makefile.in: Regenerated.
497 * Makefile.in: Regenerated.
498 * aclocal.m4: Regenerated.
499 * configure: Regenerated.
501 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
503 * configure.in: Missed check_survey bit.
504 * configure: Regenerated.
506 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
509 * config/abi/extract_symvers: Move to...
510 * scripts/extract_symvers: ...here.
511 * mkcheck.in: Move to..
512 * scripts/check_survey.in: ...here.
513 * testsuite_flags.in: Move to..
514 * scripts/testsuite_flags.in: ...here.
515 * configure.in: Change check and testsuite_flags locations.
516 * configure: Regenerate.
517 * testsuite/Makefile.am (current_symbols.txt): Change location.
518 * testsuite/Makefile.in: Regenerate.
519 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
520 location of testsuite_flags.
521 * Makefile.am (check-script): Move..
522 (check-script-install): Move...
523 * testsuite/Makefile.am: ... here.
524 * testsuite/Makefile.in: Regenerate.
525 * Makefile.in: Regenerate.
527 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
529 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
531 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
533 * Makefile.am (check-abi): Move...
534 (new-abi-baseline): Move...
535 * testsuite/Makefile.am: ...here.
536 (new-abi-baseline): Conditionalize.
537 (check-abi): Conditionalize.
538 (check-abi-verbose): New.
539 * Makefile.in: Regenerate.
540 * testsuite/Makefile.in: Regenerate.
541 * configure.in: Consolidate testsuite configure bits.
542 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
543 * configure: Regenerate.
544 * aclocal.m4: Regenerate.
545 * testsuite/abi_check.cc: Add --check-verbose.
546 Only output detailed information if --check-verbose.
548 2003-06-16 Andreas Jaeger <aj@suse.de>
550 * testsuite/abi_check.cc: Create summary report.
552 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
554 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
555 for systems with BUFSIZ != 8192.
556 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
557 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
560 2003-06-16 Andreas Jaeger <aj@suse.de>
562 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
563 check-abi multilib aware.
564 * aclocal.m4: Regenerate.
565 * configure: Regenerate.
567 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
568 Andreas Jaeger <aj@suse.de>
570 * configure.host: Set x86_64 abi_baseline pair correctly.
572 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
574 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
575 fix for missing seeks between gets and puts into...
576 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
577 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
578 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
579 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
580 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
581 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
583 2003-06-15 Richard Henderson <rth@redhat.com>
585 * config/linker-map.gnu: Export virtual function thunks for
588 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
590 * config/abi/i686-pc-linux-gnu: To..
591 * config/abi/i486-linux-gnu: ...this.
592 * config/abi/alphaev67-unknown-linux-gnu: To..
593 * config/abi/alpha-linux-gnu: ...this.
594 * config/abi/ia64-unknown-linux-gnu: To...
595 * config/abi/ia64-linux-gnu: ...this.
596 * config/abi/x86_64-unknown-linux-gnu: To...
597 * config/abi/x86_64-linux-gnu: ...this.
598 * config/abi/i386-unknown-freebsd4: To...
599 * config/abi/i386-freebsd4: ...this.
600 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
602 * configure.host: abi_baseline_triplet to abi_baseline_pair.
603 Simplify cpu bits so that abi_baseline_pair can use the same
605 * acinclude.m4: Same.
606 * aclocal.m4: Regenerate.
607 * configure.in: Can't get enable_abi_check to yes unless native.
608 * configure: Regenerate.
610 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
612 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
613 fix for missing seeks between gets and puts into...
614 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
615 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
616 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
617 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
618 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
619 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
620 for missing seeks between gets and puts.
621 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
622 * testsuite/data/seekoff-1.tst: New.
623 * testsuite/data/seekoff-2.tst: New.
624 * testsuite/data/seekpos-1.tst: New.
625 * testsuite/data/seekpos-2.tst: New.
627 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
629 Avoid multi-processor bus contention on increment/decrement-and-
630 test of the reference count in the empty-string object, by comparing
631 addresses first, and never touching the reference count of the empty-
633 * include/bits/basic_string.h:
634 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
636 (_Rep::_S_empty_rep()): New accessor.
637 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
638 a base class _Rep_base.
639 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
640 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
641 since no longer must increment its refcount.
642 * include/bits/basic_string.tcc:
643 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
644 return immediately. The former might be unnecessary. The latter
645 prevents begin() and end() from cloning it unnecessarily.
646 (_S_construct(_InIterator, _InIterator, const _Alloc&,
647 input_iterator_tag), _S_construct(_InIterator, _InIterator,
648 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
649 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
650 (_M_mutate): Check for the empty string and treat it as shared.
651 This is necessary here because _M_mutate is sometimes called with
652 all-zero arguments; in all other uses of _M_is_shared, the test comes
655 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
657 * src/allocator-inst.cc: Explicitly instantiate.
658 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
660 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
662 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
664 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
665 * aclocal.m4: Regenerate.
666 * Makefile.am (SUBDIRS): Remove libio.
667 * Makefile.in: Regenerate.
668 * configure.in: Same.
669 * configure: Regenerate.
670 * config/io/basic_file_libio.cc: Remove.
671 * config/io/basic_file_libio.h: Remove.
672 * config/io/c_io_libio_codecvt.c: Remove.
673 * config/io/c_io_libio.h: Remove.
675 * src/Makefile.am: Same.
676 * src/Makefile.in: Regenerate.
677 * docs/html/configopts.html: Edits.
678 * docs/html/explanations.html: Edits.
680 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
682 * include/bits/stl_alloc.h (__debug_alloc): Move out.
683 (__malloc_alloc): Same.
684 (__pool_alloc): Same.
687 * include/bits/allocator.h: ...this.
688 * include/bits/stl_deque.h: Modify comment.
689 * include/bits/stl_tree.h: Modify include.
690 * include/std/std_memory.h: Same.
691 * include/ext/rope: Same.
692 * include/ext/slist: Same.
693 * include/std/std_vector.h: Same.
694 * include/std/std_stack.h: Same.
695 * include/std/std_queue.h: Same.
696 * include/std/std_list.h: Same.
697 * include/std/std_deque.h: Same.
698 * include/backward/alloc.h: Same.
699 * include/ext/debug_allocator.h: New.
700 * include/ext/malloc_allocator.h: New.
701 * include/ext/pool_allocator.h: New.
702 * include/ext/new_allocator.h: New.
703 * include/bits/pthread_allocimpl.h: Remove.
704 * include/bits/stl_pthread_alloc.h: Remove.
705 * include/Makefile.am (ext_headers): Add.
706 * include/Makefile.in: Regenerate.
707 * src/stl-inst.cc: Use __gnu_cxx namespace.
708 * src/stl-inst.cc: Move to...
709 * src/allocator-inst.cc: Here.
710 * src/Makefile.am (sources): Update.
711 * src/Makefile.in: Regenerate.
712 * config/linker-map.gnu: Remove __pool_alloc bits.
713 * testsuite/ext/headers.cc: Add.
714 * testsuite/ext/allocators.cc: Fixup.
716 2003-06-11 Stefan Olsson <stefan@snon.net>
717 Ola Rönnerup <fnolis@home.se>
719 * include/Makefile.am (ext_headers): Add.
720 * include/Makefile.in: Regenerate.
721 * include/ext/mt_allocator.h: New file.
723 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
725 * include/bits/fstream.tcc (close): Clean up a bit.
727 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
729 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
730 - the saved _M_in_cur, that is - cannot be null.
731 (sync): Constify a variable.
733 * include/std/std_streambuf.h: Tweak a comment.
734 (in_avail): Constify a variable.
736 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
738 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
739 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
740 correctness of container::iterator typedefs. Fix whitespace.
741 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
743 * docs/html/documentation.html: Regenerate.
745 * include/bits/basic_string.h, include/bits/basic_string.tcc,
746 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
747 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
748 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
749 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
750 include/bits/stl_vector.h, include/bits/vector.tcc,
751 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
752 Change _Iter names to _Iterator, and __pos to __position.
754 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
755 include/bits/stl_multiset.h, include/bits/stl_set.h:
756 Remove emacs markers.
758 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
760 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
762 * include/bits/fstream.tcc (overflow): According to
763 27.5.2.4.5, overflow() returns not_eof(eof()).
764 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
765 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
767 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
769 * include/bits/fstream.tcc (_M_underflow): Check overflow return
770 value; tweak slightly.
772 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
774 * include/bits/fstream.tcc (_M_underflow): Do not special
775 case the unbuffered case, which really means simply a one char
777 (basic_filebuf): Initialize _M_buf_size.
778 (setbuf): Unbuffered means _M_buf_size == 1, since only
779 _M_buf_size - 1 == 0 chars are going to be used for the
780 put area and 1 for the get area.
781 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
782 (~basic_streambuf): Tweak.
783 (basic_streambuf): Do not initialize _M_buf_size.
784 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
785 (~basic_filebuf): Tweak.
786 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
787 unbuffered situation (i.e., put area pointers NULL).
788 * include/bits/streambuf.tcc (sbumpc): Clean up.
789 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
790 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
791 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
792 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
793 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
794 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
795 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
797 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
799 * acinclude.m4: Move all AM_CONDITIONAL calls out.
800 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
802 * configure.in: Centralize AM_CONDITIONALs so that they are always
803 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
804 * aclocal.m4, configure: Regenerated.
806 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
808 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
810 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
812 * include/bits/stl_iterator.h
813 (reverse_iterator::reverse_iterator()): Apply DR235: default
814 constructor default-initializes data member. Instantiated on a
815 pointer type, the member has to end up equal to zero.
817 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
819 * include/bits/stl_alloc.h: Cleanups.
820 * include/ext/functional: Same.
821 * include/ext/hash_map: Same.
822 * include/ext/hash_set: Same.
823 * include/ext/iterator: Same.
824 * include/ext/memory: Same.
825 * include/ext/numeric: Same.
826 * include/ext/rb_tree: Same.
827 * include/ext/ropeimpl.h: Same.
828 * include/ext/slist: Same.
829 * include/ext/stdio_filebuf.h: Same.
830 * include/ext/stdio_sync_filebuf.h: Same.
831 * include/ext/stl_rope.h: Move to...
832 * include/ext/rope: ...here.
833 * include/ext/stl_hash_fun.h: Move to...
834 * include/ext/hash_fun.h: ...here.
835 * include/ext/stl_hashtable.h: Move to...
836 * include/ext/hashtable.h: ...here.
837 * include/backward/hashtable.h: Reflect new names.
838 * include/Makefile.am: Same.
839 * include/Makefile.in: Regenerated.
841 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
844 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
845 * include/bits/stl_algobase.h: Tweak.
846 * include/std/std_fstream.h: Move _M_buf_size to...
847 * include/std/std_streambuf.h: ...here. Modify.
848 * include/bits/streambuf.tcc: Same.
849 * testsuite/testsuite_hooks.h: Tweak.
850 * testsuite/testsuite_io.h (constraint_filebuf): New.
851 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
852 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
853 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
854 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
855 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
856 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
857 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
858 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
859 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
860 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
861 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
862 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
863 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
864 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
865 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
866 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
867 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
868 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
869 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
870 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
871 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
872 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
873 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
874 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
875 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
876 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
877 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
878 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
879 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
880 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
881 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
882 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
883 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
884 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
885 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
886 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
887 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
888 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
889 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
890 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
891 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
892 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
893 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
894 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
895 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
896 * testsuite/data/sgetc.txt: New.
897 * testsuite/data/sgetn.txt: New.
899 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
902 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
903 Deal with width() smaller than zero.
904 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
905 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
906 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
907 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
908 operator<<(basic_ostream, const basic_string&)): Likewise.
910 * testsuite/27_io/basic_istream/extractors_character/char/
911 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
912 * testsuite/27_io/basic_ostream/inserters_character/char/
913 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
914 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
915 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
917 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
919 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
920 .gch compilation works.
921 * aclocal.m4, configure: Regenerate.
922 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
925 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
927 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
928 erase(iterator), erase(iterator, iterator), c_str,
929 compare(const basic_string&)): Constify various variables.
930 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
931 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
932 _S_create, resize, _M_replace, _M_replace_safe,
933 append(const basic_string&), append(const basic_string&, size_type,
934 size_type), append(const _CharT*, size_type), append(size_type,
935 _CharT), operator+(const _CharT*, const basic_string&),
936 operator+(_CharT, const basic_string&), replace(iterator, iterator,
937 size_type, _CharT), find(const _CharT*, size_type, size_type),
938 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
939 rfind(_CharT, size_type), compare(size_type, size_type,
940 const basic_string&), compare(size_type, size_type,
941 const basic_string&, size_type, size_type), compare(const _CharT*),
942 compare(size_type, size_type, const _CharT*), compare(size_type,
943 size_type, const _CharT*, size_type)): Likewise.
945 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
947 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
948 'if' branch less obscure.
950 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
953 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
955 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
956 (__atomic_add): likewise.
958 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
960 * include/bits/sstream.tcc (pbackfail): Minor clean up and
961 reformatting, consistent with basic_filebuf::pbackfail.
963 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
966 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
967 __attribute__ ((__unused__)).
968 * config/os/aix/atomicity.h: Likewise.
970 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
973 * include/bits/fstream.tcc (pbackfail): If the pback buffer
974 is already active don't try to store in it a second char.
975 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
977 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
979 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
981 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
984 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
986 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
987 instead of unnecessarily taking the address of _M_pback.
988 (xsgetn): Simplify slightly for a single char pback buffer.
990 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
992 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
993 variables and two 'if', clean up.
995 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
997 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
998 not _M_out_end, since the former actually points to the string
1000 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
1002 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
1004 * docs/doxygen/filter: New file.
1005 * docs/doxygen/filter.sed: New file.
1006 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
1007 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
1008 * docs/html/documentation.html: Fix links to doxygen pages.
1010 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
1012 * include/bits/fstream.tcc (_M_convert_to_external): Don't
1013 check for __ilen > 0.
1015 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
1018 * include/bits/stl_iterator.h (class __normal_iterator):
1019 Don't inherit from iterator, add missing typedefs.
1021 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
1023 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
1024 * testsuite/24_iterators/reverse_iterator/1.cc: New.
1025 * testsuite/24_iterators/reverse_iterator/2.cc: New.
1026 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
1029 2003-05-27 Steve Ellcey <sje@cup.hp.com>
1031 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
1033 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
1034 _LIBUNWIND_STD_ABI is set.
1036 2003-05-26 Brendan Kehoe <brendan@zen.org>
1038 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
1039 make sure the number of digits required after the decimal-point
1040 (if any) is exactly the value returned by frac_digits().
1041 * testsuite/22_locale/money_get/get/char/9.cc: New.
1042 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
1044 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
1046 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
1049 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
1052 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
1053 (_M_pback): No array necessary.
1054 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
1055 unbuffered case, coalesec into ...
1056 (basic_filebuf::overflow): ...this.
1057 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
1058 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
1060 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
1062 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
1063 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
1064 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
1065 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
1066 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
1067 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
1068 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
1069 libsupc++/eh_unex_handler.cc, libsupc++/exception,
1070 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
1071 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
1072 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
1073 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
1074 Replace "GNU CC" with "GCC".
1076 * include/backward/new.h: Replace "GNU CC" with "GCC".
1078 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
1081 * configure.in: Switch target to host, don't assume newlib.
1082 (target_alias): Remove.
1083 * configure: Regenerate.
1084 * acinclude.m4: Same.
1085 * aclocal.m4: Regenerate.
1086 * configure.target: Same. Rename to...
1087 * configure.host: This.
1089 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
1091 * include/std/std_fstream.h (_S_pback_size): Remove definition.
1092 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
1094 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
1095 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
1096 of _S_pback_size for systems with no COMDAT or weak support.
1097 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
1098 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
1099 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
1100 * testsuite/27_io/basic_fstream/3.cc: Likewise.
1101 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
1102 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
1103 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
1104 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
1105 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
1107 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
1109 * include/bits/fstream.tcc (_M_underflow): Simplify:
1110 !__testout implies _M_filepos == _M_in_end, therefore
1111 the first _M_file.seekoff call is never issued.
1113 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
1115 * configure.in: Sort cross table.
1116 * configure: Regenerate.
1118 2003-05-22 Brad Spencer <spencer@infointeractive.com>
1121 * configure.in: Add Solaris cross bits.
1123 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
1125 * libstdc++-v3/config/os/mingw32/os_defines.h
1126 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
1127 (NOMINMAX): Define. Update copyright year.
1129 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
1131 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
1133 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
1135 * docs/html/faq/index.html: Fix typo.
1136 * docs/html/faq/index.txt: Regenerate.
1138 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
1140 * docs/html/test.html: Fix markup.
1142 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
1144 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
1146 Update copyright year.
1148 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
1150 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
1152 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
1154 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
1155 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
1157 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1159 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
1160 Cast via void* to avoid -Wcast-align warnings.
1161 (__default_alloc_template::_S_refill): Likewise.
1163 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
1165 * testsuite/README: Move to...
1166 * docs/html/test.html: ...here. Add documentation.
1167 * docs/html/install.html: Move testing bits out..
1168 * docs/html/documentation.html: Add separate testing link.
1169 * testsuite/performance: Add.
1170 * testsuite/performance/allocator.cc: New.
1171 * testsuite/performance/complex_norm.cc: New.
1172 * testsuite/performance/cout_insert_int.cc: New.
1173 * testsuite/performance/fstream_seek_write.cc: New.
1174 * testsuite/performance/ifstream_getline.cc: New.
1175 * testsuite/performance/map_create_fill.cc: New.
1176 * testsuite/performance/ofstream_insert_float.cc: New.
1177 * testsuite/performance/ofstream_insert_int.cc: New.
1178 * testsuite/performance/string_append.cc: New.
1179 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
1182 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
1185 * include/std/std_complex.h (pow): Tidy.
1187 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
1189 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
1190 that upon filebuf::close() 27.8.1.1,3 is enforced.
1192 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
1194 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
1196 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
1197 Nathan Myers <ncm@cantrip.org>
1199 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
1200 _M_convert_to_external only once (_M_buf_size is now the size of
1201 the put area + 1 for the overflow char of a full area); call
1202 _M_set_buffer instead of _M_set_indeterminate.
1203 (setbuf): Don't accept a buffer smaller than 2 chars.
1204 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
1205 instead of _M_set_determinate.
1206 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
1207 (seekoff): Likewise.
1208 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
1209 std::ios_base::openmode, bool, size_t),
1210 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
1212 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
1213 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
1215 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
1216 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
1217 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
1218 the put area is now BUFSIZ - 1.
1219 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
1220 that now the smallest _M_buf_size is 2 (still fails, for the same
1223 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
1225 * testsuite/thread/pthread4.cc: Tweak test.
1227 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
1229 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
1230 excess errors dg marker, use dg-errors instead.
1231 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1232 * testsuite/20_util/auto_ptr_neg.cc: Same.
1234 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
1236 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
1238 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
1239 Initialize _M_codecvt.
1240 (basic_filebuf::imbue): Same.
1241 (basic_filebuf::showmanyc): Use it.
1242 (basic_filebuf::underflow): Use it.
1243 (basic_filebuf::_M_convert_to_external): Use it.
1244 (basic_filebuf::seekoff): Use it.
1245 (basic_filebuf::imbue): Use it, tweaks.
1246 * include/bits/localefwd.h (__check_facet): New.
1247 * include/bits/locale_classes.h: Tweaks.
1248 * include/bits/locale_facets.tcc: Tweaks.
1249 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
1250 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
1251 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
1252 * include/bits/basic_ios.tcc: Same.
1253 * include/bits/istream.tcc: Same.
1254 * include/bits/ostream.tcc: Same.
1255 * include/std/std_streambuf.h: Same.
1256 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
1257 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
1258 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
1259 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
1260 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
1261 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
1263 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
1265 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
1266 unnecessary includes and unused string literals.
1267 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
1268 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
1269 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
1270 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
1272 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
1274 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
1276 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
1278 * include/std/std_fstream.h (_M_convert_to_external): Change
1279 to return bool, take two less streamsize parameters.
1280 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
1281 consistently definition.
1282 (_M_overflow): Adjust call points.
1284 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
1286 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
1288 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
1290 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
1291 * testsuite/Makefile.in: Regenerate.
1293 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
1295 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
1296 * testsuite/Makefile.in: Regenerate.
1298 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
1301 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
1302 (acos): Handle integer argument.
1321 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
1322 (__enable_if): Likewise.
1323 * testsuite/26_numerics/cmath/overloads.C: New test.
1325 2003-05-10 Petur Runolfsson <peturr02@ru.is>
1330 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
1331 implementation, based on old wchar_t specialization, add support
1332 for codecvt::in() return value of codecvt_base::noconv, remove
1333 _M_file.sys_ungetc() call.
1334 * include/std/std_fstream.h (basic_file::underflow,
1335 basic_file::uflow, basic_file::_M_underflow): Remove
1336 specialization declarations, call _M_underflow from generic versions
1337 of underflow and uflow.
1338 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
1339 basic_file::_M_underflow): Remove specializations.
1340 * src/Makefile.am (sources): Remove fstream.cc.
1341 * src/Makefile.in: Regenerated.
1342 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
1343 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
1344 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
1345 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
1347 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
1349 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
1351 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
1353 (__basic_file::xsputn): Same.
1354 (__basic_file::seekoff): Same.
1355 (__basic_file::seekpos): Same.
1356 (__basic_file::showmanyc): Same.
1357 * config/io/basic_file_stdio.cc: Same.
1358 * include/std/std_fstream.h: Same.
1359 * include/bits/fstream.tcc: Same.
1360 * src/fstream.cc: Same.
1361 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
1363 2003-05-10 Petur Runolfsson <peturr02@ru.is>
1368 * include/ext/stdio_sync_filebuf.h: New file.
1369 (basic_stdiobuf): New.
1370 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
1371 * include/Makefile.in: Regenerate.
1372 * include/bits/ios_base.h (Init::_S_create_buffers,
1373 Init::_S_destroy_buffers): Remove declarations.
1374 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
1375 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
1376 * src/ios.cc (Init::_S_create_buffers,
1377 Init::_S_destroy_buffers): Remove.
1378 (Init::Init): Create and use syncronized buffers.
1379 (ios_base::sync_with_stdio): Destroy syncronized buffers,
1380 create and install unsyncronized buffers.
1381 * testsuite/27_io/objects/char/10.cc: New test.
1382 * testsuite/27_io/objects/char/9.cc: New test.
1383 * testsuite/27_io/objects/char/9661-1.cc: New test.
1384 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
1385 * testsuite/27_io/objects/char/9661-2_xin.in: New.
1386 * testsuite/27_io/objects/wchar_t/1.cc: New test.
1387 * testsuite/27_io/objects/wchar_t/10.cc: New test.
1388 * testsuite/27_io/objects/wchar_t/2.cc: New test.
1389 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
1390 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
1391 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
1392 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
1393 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
1394 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
1395 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
1396 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
1397 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
1398 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
1399 * testsuite/27_io/objects/wchar_t/5.cc: New test.
1400 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
1401 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
1402 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
1403 * testsuite/27_io/objects/wchar_t/6.cc: New test.
1404 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
1405 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
1406 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
1407 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
1408 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
1409 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
1410 * testsuite/27_io/objects/wchar_t/7.cc: New test.
1411 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
1412 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
1413 * testsuite/27_io/objects/wchar_t/8.cc: New test.
1414 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
1415 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
1416 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
1417 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
1418 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
1419 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
1420 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
1421 * testsuite/ext/stdiobuf_char.cc: New test.
1422 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
1424 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
1426 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
1427 unnecessary includes and unused string literals.
1428 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
1430 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
1432 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
1434 2003-05-07 Richard Henderson <rth@redhat.com>
1437 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
1438 (__cxa_end_catch): Likewise.
1439 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
1440 _Unwind_Resume_or_Rethrow.
1441 * libsupc++/eh_personality.cc (empty_exception_spec): New.
1442 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
1443 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
1444 exceptions. Don't push terminate/unexpected to cxa functions.
1445 (__cxa_call_unexpected): Remove foreign exception fixmes.
1447 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
1449 * testsuite/27_io/ios_base/cons: New.
1450 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
1451 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
1453 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
1455 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
1457 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
1458 there is no buffer or __testget == !__testinit.
1461 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
1462 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
1464 * include/std/std_fstream.h (_M_destroy_pback): Don't set
1465 unnecessarily _M_pback_cur_save and _M_pback_end_save.
1467 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
1469 * include/std/std_sstream.h (_M_sync): Minor tweak.
1471 * include/bits/fstream.tcc (close): No need to call
1472 _M_destroy_pback, setting _M_pback_init to false suffices
1475 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
1477 * include/bits/stl_algo.h: Enums as _S_.
1478 * include/bits/stl_tree.h: Same.
1479 * include/bits/stl_bvector.h: Same.
1480 * include/bits/ios_base.h: Same.
1481 * include/bits/stl_alloc.h: Same.
1482 * include/ext/stl_hashtable.h: Same.
1483 * src/ios.cc: And here.
1485 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
1486 * include/bits/sstream.tcc: Same.
1488 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
1490 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
1492 * include/bits/locale_facets.h (__num_base): Remove protected.
1493 Use _S_[io]* names for enumerations.
1494 (_S_format_int): Remove.
1495 * include/bits/locale_facets.tcc: Same.
1496 * src/locale.cc: Same.
1498 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
1500 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
1502 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
1503 * docs/html/faq/index.txt: Regenerated.
1505 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
1506 Matt Kraai <kraai@alumni.cmu.edu>
1508 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
1511 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
1513 * configure.target (mips*): Use the generic atomicity.h by default.
1515 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
1516 (Inspired by an alternate patch from Danny Smith.)
1518 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
1519 (_Swap_lock_struct<>): ...and the horse it rode in on.
1520 * src/globals.cc (_Swap_lock_struct<>): Likewise.
1521 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
1522 member to support...
1523 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
1524 visibility rules related to POSIX threads.
1525 * testsuite/thread/pthread7-rope.cc: New test.
1527 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
1529 * testsuite/21_strings/basic_string/find/char/3.cc: New
1530 file, testing basic_string<char>::find_first_not_of.
1531 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
1532 Likewise for basic_string<wchar_t>.
1534 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
1536 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
1538 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
1540 * include/Makefile.am (CLEANFILES): Remove PCH files in target
1542 * include/Makefile.in: Regenerate.
1544 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
1546 * include/std/std_sstream.h (str()): Tidy.
1548 2003-05-02 Nathan Myers <ncm@cantrip.org>
1549 Paolo Carlini <pcarlini@unitus.it>
1551 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
1553 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
1555 * include/bits/basic_string.h (swap): Remove redundant template
1556 parameters from declaration of non-template member function.
1558 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
1560 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
1561 * configure.in: Move libintl.h header test...
1562 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
1563 the NLS-related test results into one symbol.
1564 * src/functexcept.cc: Use it here.
1565 * aclocal.m4, config.h.in, configure: Regenerated.
1567 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1569 * include/bits/sstream.tcc (overflow): Instead of calling
1570 str(), then _M_string.reserve, thus copying the contents
1571 of the current buffer two times, just copy the latter in
1572 a temporary, then use the 'swap trick'.
1574 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1576 * include/std/std_sstream.h (str()): Revert the best of the
1577 previous 'improvement', incorrect due to the COW nature of
1578 v3 basic_string; simplify.
1580 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1582 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
1583 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
1585 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
1587 * testsuite/abi_check.cc (check_version): Update known versions.
1588 Check added symbols for version_name != base version. Add missing
1589 symbols to incompatible list.
1591 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
1593 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
1594 * aclocal.m4: Regenerated.
1595 * configure: Regenerated.
1597 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1599 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
1600 Const-ify some variables.
1601 (basic_streambuf::xsputn): Likewise; change the type of some
1602 variables to size_t.
1603 (__copy_streambufs): Change some variables to size_t.
1605 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1607 * include/std/std_sstream.h (str()): Avoid constructing
1608 a basic_string temporary not only when it would turn out
1609 to be zero-sized but also when identical to the current
1612 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1614 * include/ext/stdio_filebuf.h
1615 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
1616 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
1617 Shorten a bit (-10 lines) by factoring out some code.
1619 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
1621 * acinclude.m4: Add bit missing from previous patch.
1622 * aclocal.m4, configure: Regenerated.
1624 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
1626 * docs/doxygen/mainpage.html: Bring up to date.
1627 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
1629 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
1630 breaks everything. Don't scan them.
1631 * docs/html/documentation.html: Point to "Write after approval"
1634 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
1636 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
1637 of libc if message translations are being used. Fix info text in
1638 xieee_1003.1-2001 case.
1639 * aclocal.m4, configure: Regenerate.
1641 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
1642 Loren J. Rittle <ljrittle@acm.org>
1643 Martin v. Loewis <martin@v.loewis.de>
1645 * config/cpu/i386/atomicity.h: New file.
1647 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
1649 * include/bits/fstream.tcc (open): Change to single return.
1651 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
1653 * include/std/std_sstream.h (underflow): Change to single return.
1655 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1657 * include/std/std_streambuf.h (_M_buf): is currently
1658 used only for basic_filebuf, therefore move it there.
1659 (basic_streambuf(), ~basic_streambuf()): Adjust.
1660 * include/std/std_fstream.h (_M_buf): Moved here.
1661 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
1662 is actually redundant for basic_stringbuf.
1663 (_M_really_sync): Likewise.
1664 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
1665 * include/bits/sstream.tcc (seekoff): Adjust.
1667 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
1669 * src/localename.cc: Standardize exception strings.
1670 * src/locale.cc: Same.
1672 * include/bits/basic_string.tcc: Same.
1673 * include/bits/basic_ios.tcc: Same.
1674 * include/std/std_bitset.h: Same.
1675 * include/ext/ropeimpl.h: Same.
1676 * include/bits/stl_vector.h: Same.
1677 * include/bits/stl_deque.h: Same.
1678 * include/bits/stl_bvector.h: Same.
1679 * config/locale/generic/c_locale.cc: Same.
1680 * config/locale/gnu/c_locale.cc: Same.
1681 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
1683 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
1685 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1687 * include/std/std_streambuf.h (_M_buf_size): is currently
1688 used only for basic_filebuf, therefore move it there.
1689 (basic_streambuf(), ~basic_streambuf()): Adjust.
1690 * include/std/std_fstream.h (_M_buf_size): Moved here.
1691 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
1693 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1695 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
1696 _M_buf_size (synced input is now correctly dealt with
1697 elsewhere); when the output buffer is full don't fall back
1698 to a snextc-sputc loop, call overflow instead.
1700 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1702 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
1703 the innermost 'if' by factoring out some code.
1705 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
1707 * configure.in: Test for libintl.h.
1708 * include/bits/c++config: Define __N for everybody.
1709 * include/bits/basic_string.h, include/bits/stl_bvector.h,
1710 include/bits/stl_deque.h, include/bits/stl_vector.h,
1711 include/std/std_bitset.h: Wrap all __throw* text with __N.
1712 * po/Makefile.am (pot): New rule, mostly working.
1713 * src/functexcept.cc: Call gettext on all __throw* arguments when
1714 -fexceptions is in effect.
1715 * po/Makefile.in, config.h.in, configure: Regenerate.
1717 2003-04-28 Petur Runolfsson <peturr02@ru.is>
1720 * include/bits/ios_base.h (Init::_S_ios_create,
1721 Init::_S_ios_destroy): Remove declarations.
1722 (Init::_S_create_buffers,
1723 Init::_S_destroy_buffers): Declare
1724 * src/ios.cc (Init::_S_ios_create): Remove
1725 (Init::_S_create_buffers): Create buffers and add to streams.
1726 (Init::_S_ios_destroy): Rename to...
1727 (Init::_S_destroy_buffers): this.
1728 (Init::Init): Only construct streams once.
1729 (Init::~Init): Flush streams, don't destroy them.
1730 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
1731 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
1732 * testsuite/27_io/objects/char/5.cc: New test.
1733 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
1734 * testsuite/27_io/objects/char/6.cc: New test.
1735 * testsuite/27_io/objects/char/7.cc: New test.
1737 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
1739 * testsuite/27_io/objects/char/8.cc: New test.
1741 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
1743 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
1744 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
1746 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
1748 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
1749 _M_destroy_pback. _M_pback_create to
1750 _M_create_pback. _M_underflow_common to
1751 _M_underflow. _M_really_overflow to _M_overflow.
1752 * include/bits/fstream.tcc: Same.
1753 * src/fstream.cc: Same.
1754 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
1755 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
1756 * include/bits/streambuf.tcc: Same.
1757 * include/bits/fstream.tcc: Same.
1758 * include/bits/sstream.tcc: Same.
1760 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
1762 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
1763 from fixed size array.
1764 (locale): Change _S_categories as well.
1766 * include/bits/locale_facets.tcc: Tweak.
1767 * config/locale/gnu/c_locale.cc: Assign _S_categories.
1768 * config/locale/generic/c_locale.cc: Same.
1769 * src/locale.cc: Tweak.
1770 * src/globals.cc: Change facet_name to name_vec, add names_c.
1771 * src/localename.cc: Use them.
1772 (locale::_Impl::~_Impl): Destroy _M_names.
1773 (locale::_Impl::_Impl): Create _M_names.
1775 2003-04-27 Andreas Schwab <schwab@suse.de>
1777 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1778 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
1780 2003-04-27 Nathan Myers <ncm@cantrip.org>
1782 Move some basic_string members out of line because
1783 they are too big to reasonably be inline.
1784 * include/bits/basic_string.h
1785 (assign(const basic_string&, size_type, size_type),
1786 assign(const _CharT*, size_type),
1787 insert(size_type, const basic_string&, size_type, size_type),
1788 insert(size_type, const _CharT*, size_type),
1789 replace(size_type, size_type, const _CharT*, size_type)):
1790 Move from here to...
1791 * include/bits/basic_string.tcc: ...here.
1793 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1795 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
1796 the innermost 'if' by factoring out some code.
1798 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1800 * include/bits/streambuf.tcc (__copy_streambufs): Don't
1801 use in_avail(), simplify.
1803 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1805 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
1806 in basic_stringbuf it's unused.
1808 * include/std/std_sstream.h (underflow): consistently use
1809 _M_in_cur, not gptr().
1811 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
1812 Phil Edwards <pme@gcc.gnu.org>
1814 * testsuite_flags.in: Guard against the possibility
1815 of having "xgcc" as a part of a folder name in the
1816 path to the GCC build folder.
1817 * testsuite/Makefile.am: Likewise.
1818 * testsuite/Makefile.in: Regenerated.
1820 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
1823 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
1824 exception specifications.
1825 (basic_filebuf::close): Same.
1826 (basic_filebuf::_M_pback_destroy): Same.
1827 (basic_filebuf::_M_destroy_internal_buffer): Same.
1828 (basic_filebuf): Remove __res_type typedef.
1829 * src/fstream.cc: Same.
1830 * include/bits/fstream.tcc
1831 (basic_filebuf::_M_convert_to_external): Simplify.
1832 (basic_filebuf::seekoff): Use has_facet before use_facet.
1833 (basic_filebuf::close): Add exception specification of throw().
1834 * testsuite/27_io/basic_filebuf/cons: New.
1835 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
1836 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
1837 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
1838 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
1840 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
1842 * include/bits/locale_classes.h
1843 (locale::_S_extra_categories_size): Remove.
1844 * src/locale.cc: Remove _S_extra_categories_size.
1845 * src/localename.cc: Same.
1846 * config/locale/gnu/c_locale.cc: Same.
1847 * config/locale/generic/c_locale.cc: Same.
1849 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
1851 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
1853 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
1855 * docs/html/17_intro/howto.html: Update some links.
1856 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
1857 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
1858 * docs/html/ext/howto.html: Link to demangler notes and API.
1859 * docs/html/faq/index.html: Remove trailing whitespace.
1860 (1.4, 2.4, 3.8, 4.1): Bring up to date.
1861 (5.6): Change to a bulleted list.
1863 * docs/html/faq/index.txt, docs/html/documentation.html,
1864 docs/html/17_intro/porting.html: Regenerate.
1866 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
1868 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
1869 belongs to basic_filebuf.
1870 * testsuite/27_io/basic_fstream/3.cc: Likewise.
1871 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
1872 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
1873 instantiation (now belongs to basic_filebuf).
1874 * testsuite/27_io/basic_iostream/3.cc: Likewise.
1875 * testsuite/27_io/basic_istream/3.cc: Likewise.
1876 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
1877 _S_pback_size now belongs to basic_filebuf.
1878 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
1879 instantiation (now belongs to basic_filebuf).
1880 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
1881 belongs to basic_filebuf.
1882 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
1883 instantiation (now belongs to basic_filebuf).
1884 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
1885 _S_pback_size now belongs to basic_filebuf.
1886 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
1887 instantiation (now belongs to basic_filebuf).
1888 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
1890 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
1891 instantiation (now belongs to basic_filebuf).
1892 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
1894 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
1896 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
1897 * configure: Regenerated.
1899 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
1901 * config/locale/generic/c_locale.h (__convert_from_v): Use
1904 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
1906 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
1907 implementation only.
1908 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
1909 Comment and change to comply with DR 60 and the effect on gcount().
1910 * include/std/std_istream.h: Update comments.
1911 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
1912 comments about reasons for tests. Test sync() against gcount().
1913 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
1914 for effect on gcount().
1915 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
1916 for effect on gcount().
1918 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
1920 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
1923 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
1925 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
1926 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
1927 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
1928 (basic_streambuf::basic_streambuf()): Adjust.
1929 * include/std/std_fstream.h (_S_pback_size, _M_pback,
1930 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
1931 _M_pback_create(), _M_pback_destroy()): Moved here
1932 from basic_streambuf.
1933 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
1935 (basic_filebuf::_S_pback_size): Add declaration.
1936 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
1939 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1941 Consistently use _M_in_beg instead of eback(), _M_in_cur
1942 instead of gptr(), and so on.
1943 * include/bits/fstream.tcc (pbackfail, imbue): Here.
1944 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
1945 * include/bits/streambuf.tcc (sbumpc, sputbackc,
1946 __copy_streambufs): Ditto.
1947 * include/std/std_streambuf.h (sgetc): Ditto.
1949 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1951 * include/bits/sstream.tcc (pbackfail, overflow):
1954 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1956 * include/std/std_streambuf.h (uflow()): It's used only by
1957 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
1958 therefore do not consider the _M_buf_unified == true case.
1960 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
1962 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
1964 * docs/html/ext/howto.html ('LWG Issues'):
1965 Add issues 19, 90, 171, 231, 271.
1967 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
1969 * include/bits/sstream.tcc (pbackfail): Remove redundant
1970 NULL pointer check from test involving _M_in_*.
1971 (overflow, seekoff, seekpos): Const qualify bool variables.
1972 * include/std/std_sstream.h (underflow): Remove redundant
1973 NULL pointer check from test involving _M_in_*.
1974 (_M_really_sync): Const qualify bool variables.
1975 * src/fstream.cc (_M_underflow_common): Remove redundant
1976 NULL pointer check from test involving _M_in_*, const qualify
1979 * include/std/std_streambuf.h (sgetc): Remove redundant
1982 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
1984 According to 5.9 para 2 (second bullet) for pointers p, q
1985 pointing to the same type, with p == 0 and q == 0, (p < q)
1987 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
1988 seekoff): Remove redundant NULL pointer checks from tests
1989 involving _M_out_* and _M_in_*, const qualify bool variables.
1990 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
1991 qualify bool variables.
1992 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
1993 Remove redundant NULL pointer checks from tests involving
1994 _M_out_* and _M_in_*, const qualify bool variables.
1995 * include/std/std_fstream.h (sync): Likewise.
1996 (_M_is_indeterminate): Const qualify bool variables.
1997 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
1998 NULL pointer checks from tests involving _M_out_* and _M_in_*,
1999 const qualify bool variables.
2000 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
2003 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
2005 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
2006 C99 FP macros, if actually captured.
2008 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
2009 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
2010 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
2011 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
2012 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
2014 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
2015 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
2016 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
2017 * include/c_std/std_cstdlib.h: Use new macros.
2018 * include/c_std/std_cstdio.h: Use new macros.
2019 * include/c_std/std_cwchar.h: Use new macros.
2021 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
2024 * include/bits/ostream.tcc: Catch all exceptions for formatted
2025 output, instead of std::exception and derivatives.
2026 * include/bits/istream.tcc: Same.
2027 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
2028 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
2029 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
2030 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
2031 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
2032 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
2035 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
2037 * include/bits/c++config: Minor cosmetic tweaks.
2039 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
2041 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
2042 * include/Makefile.am (pch_input): Find in ${target_builddir}.
2043 (pch_output): Rename to...
2044 (pch_output_builddir): ..this. Find in ${target_builddir}.
2045 (pch_source): Tweak.
2046 (pch_build): Key off a built file.
2047 (pch_output rule): Rename to...
2048 (pch_input rule): ...this. Produce ${pch_output_builddir}
2049 instead of ${pch_output}.
2050 (install-pch rule): Install ${pch_output_builddir}.
2051 * include/Makefile.in: Regenerated.
2053 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
2055 * include/std/std_streambuf.h (setp): _M_out_lim, being
2056 the end limit of used put area, is set equal to _M_out_beg.
2058 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
2060 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
2061 * aclocal.m4: Regenerated.
2062 * configure.in: Remove old demangler bits.
2064 * configure: Regenerate.
2065 * config.h.in: Regenerate.
2066 * include/Makefile.am (allstamps): Now allstamped.
2067 (allcreated): Define this.
2068 (all-local): Use 'em.
2069 Conditionally define pch_build, pch_install based on
2071 (${pch_output}): New rule.
2072 (install-pch): New rule.
2073 (install-headers): New rule.
2074 (install-data-local): Install headers and conditionally pch.
2075 * include/Makefile.in: Regenerate.
2076 * testsuite_flags.in (--build-cxx): Use pch file.
2078 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
2080 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
2082 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
2083 Paolo Carlini <pcarlini at unitus dot it>
2086 * docs/html/27_io/howto.html
2087 ('The buffering is screwing up my program!'): Explain that
2088 opening counts as an I/O operation.
2090 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
2092 * testsuite/thread/pthread1.cc: Enable for darwin test.
2093 * testsuite/thread/pthread2.cc: Same.
2094 * testsuite/thread/pthread3.cc: Same.
2095 * testsuite/thread/pthread4.cc: Same.
2096 * testsuite/thread/pthread5.cc: Same.
2097 * testsuite/thread/pthread6.cc: Same.
2099 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
2102 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
2103 Populate it with multiple legal ways to obtain the C99 float
2104 transcendentals. Use them instead of direct global reference.
2105 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
2106 * docs/html/17_intro/porting.texi
2107 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
2108 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
2109 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
2110 * config/os/bsd/freebsd/os_defines.h
2111 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
2112 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
2113 * testsuite/26_numerics/c_math_dynamic.cc: New file.
2115 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
2116 Benjamin Kosnik <bkoz@redhat.com>
2118 * config/os/generic/ctype_inline.h: Fix.
2120 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
2122 * testsuite/testsuite_hooks.h
2123 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
2124 Change to try_named_locale.
2125 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
2127 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
2129 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
2130 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
2131 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
2132 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
2133 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
2134 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
2135 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
2136 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
2137 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
2138 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
2139 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
2140 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
2141 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
2142 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
2143 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
2144 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
2145 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
2146 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
2147 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
2148 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
2149 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
2150 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
2151 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
2152 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
2153 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
2154 * testsuite/22_locale/collate/compare/char/1.cc: Same.
2155 * testsuite/22_locale/collate/compare/char/2.cc: Same.
2156 * testsuite/22_locale/collate/compare/char/3.cc: Same.
2157 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
2158 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
2159 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
2160 * testsuite/22_locale/collate/hash/char/2.cc: Same.
2161 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
2162 * testsuite/22_locale/collate/transform/char/2.cc: Same.
2163 * testsuite/22_locale/collate/transform/char/3.cc: Same.
2164 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
2165 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
2166 * testsuite/22_locale/collate_byname/1.cc: Same.
2167 * testsuite/22_locale/ctype/is/char/2.cc: Same.
2168 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
2169 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
2170 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
2171 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
2172 * testsuite/22_locale/facet/2.cc: Same.
2173 * testsuite/22_locale/locale/cons/2.cc: Same.
2174 * testsuite/22_locale/locale/cons/4.cc: Same.
2175 * testsuite/22_locale/locale/cons/5.cc: Same.
2176 * testsuite/22_locale/locale/cons/7.cc: Same.
2177 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
2178 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
2179 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
2180 * testsuite/22_locale/messages/members/char/1.cc: Same.
2181 * testsuite/22_locale/messages/members/char/2.cc: Same.
2182 * testsuite/22_locale/messages/members/char/3.cc: Same.
2183 * testsuite/22_locale/messages_byname/1.cc: Same.
2184 * testsuite/22_locale/money_get/get/char/1.cc: Same.
2185 * testsuite/22_locale/money_get/get/char/2.cc: Same.
2186 * testsuite/22_locale/money_get/get/char/3.cc: Same.
2187 * testsuite/22_locale/money_get/get/char/4.cc: Same.
2188 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
2189 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
2190 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
2191 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
2192 * testsuite/22_locale/money_put/put/char/1.cc: Same.
2193 * testsuite/22_locale/money_put/put/char/2.cc: Same.
2194 * testsuite/22_locale/money_put/put/char/3.cc: Same.
2195 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
2196 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
2197 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
2198 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
2199 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
2200 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
2201 * testsuite/22_locale/num_get/get/char/1.cc: Same.
2202 * testsuite/22_locale/num_get/get/char/2.cc: Same.
2203 * testsuite/22_locale/num_get/get/char/3.cc: Same.
2204 * testsuite/22_locale/num_get/get/char/5.cc: Same.
2205 * testsuite/22_locale/num_get/get/char/6.cc: Same.
2206 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
2207 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
2208 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
2209 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
2210 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
2211 * testsuite/22_locale/num_put/put/char/1.cc: Same.
2212 * testsuite/22_locale/num_put/put/char/2.cc: Same.
2213 * testsuite/22_locale/num_put/put/char/3.cc: Same.
2214 * testsuite/22_locale/num_put/put/char/5.cc: Same.
2215 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
2216 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
2217 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
2218 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
2219 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
2220 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
2221 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
2222 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
2223 * testsuite/22_locale/numpunct_byname/1.cc: Same.
2224 * testsuite/22_locale/numpunct_byname/2.cc: Same.
2225 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
2226 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
2227 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
2228 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
2229 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
2230 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
2231 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
2232 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
2233 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
2234 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
2235 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
2236 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
2237 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
2238 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
2239 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
2240 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
2241 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
2242 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
2243 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
2244 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
2245 * testsuite/22_locale/time_put/put/char/1.cc: Same.
2246 * testsuite/22_locale/time_put/put/char/2.cc: Same.
2247 * testsuite/22_locale/time_put/put/char/3.cc: Same.
2248 * testsuite/22_locale/time_put/put/char/4.cc: Same.
2249 * testsuite/22_locale/time_put/put/char/5.cc: Same.
2250 * testsuite/22_locale/time_put/put/char/6.cc: Same.
2251 * testsuite/22_locale/time_put/put/char/7.cc: Same.
2252 * testsuite/22_locale/time_put/put/char/8.cc: Same.
2253 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
2254 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
2255 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
2256 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
2257 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
2258 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
2259 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
2260 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
2261 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
2262 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
2263 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
2264 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
2265 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
2267 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
2269 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
2270 solaris includes, not generic.
2272 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
2274 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
2276 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
2277 * include/bits/concept_check.h: Fix multi-line comment.
2278 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
2279 when target is *-*-freebsd*.
2281 2003-04-14 Nathan Myers <ncm@cantrip.org>
2282 Paolo Carlini <pcarlini@unitus.it>
2284 PR libstdc++/9701 (in_avail())
2285 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
2286 doesn't care if there is anything in some putback cell.
2287 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
2289 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
2290 unused string literals.
2292 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
2294 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
2295 _M_out_end, _M_set_indeterminate() does it.
2297 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2299 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
2301 2003-04-12 David Edelsohn <edelsohn@gnu.org>
2303 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
2304 Change basic_streambuf instantiation to "unsigned char".
2305 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
2307 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
2309 Remove _M_buf_size_opt, use directly _M_buf_size instead.
2310 * include/bits/fstream.tcc
2311 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
2312 references to _M_buf_size_opt.
2313 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
2314 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
2315 __bufsize to __in_avail and __size_opt to __buf_size.
2316 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
2317 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
2318 * include/std/std_streambuf.h (~basic_streambuf(),
2319 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
2320 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
2321 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
2322 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
2323 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
2324 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
2325 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
2326 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
2327 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
2328 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
2329 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
2330 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
2331 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
2333 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
2335 * include/ext/stdio_filebuf.h
2336 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
2337 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
2338 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
2339 since a stack-based buffer is used for small values of the size_t
2341 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
2342 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
2343 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
2345 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
2348 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
2349 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
2351 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
2353 * testsuite/22_locale/locale/cons/3.cc: Split.
2354 * testsuite/22_locale/locale/cons/7222-c.cc: New.
2355 * testsuite/22_locale/locale/cons/7222-env.cc: New.
2356 Check before trying to create a locale from the environment.
2357 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
2358 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
2361 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
2363 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
2364 locale to construct this hybrid locale, not the global locale.
2366 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
2368 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
2369 instantiation for AIX.
2370 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
2371 * testsuite/25_algorithms/min_max.cc: Same.
2373 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2375 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
2376 twice. Always set _M_cfile to 0 when stream was open.
2378 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
2380 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
2381 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
2382 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
2383 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
2384 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
2385 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
2386 ifstream_members.cc, instantiations.cc, ios.cc,
2387 ios_base_callbacks.cc, ios_base_members_static-1.tst,
2388 ios_base_members_static.cc, ios_base_storage.cc,
2389 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
2390 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
2391 iostream.cc, iostream_members.cc, istream.cc,
2392 istream_exception.cc, istream_extractor_char.cc,
2393 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
2394 istream_extractor_other-2.tst, istream_extractor_other.cc,
2395 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
2396 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
2397 istream_sentry.cc, istream_unformatted-1.tst,
2398 istream_unformatted-1.txt, istream_unformatted.cc,
2399 istringstream.cc, istringstream_members.cc,
2400 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
2401 ofstream_members.cc, ostream.cc, ostream_exception.cc,
2402 ostream_fail.cc, ostream_inserter_arith.cc,
2403 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
2404 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
2405 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
2406 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
2407 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
2408 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
2409 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
2410 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
2411 wide_stream_objects.cc, istream_extractor_arith/01.cc,
2412 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
2413 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
2414 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
2415 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
2416 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
2418 * 27_io/basic_filebuf/1.cc: New.
2419 * 27_io/basic_filebuf/2.cc: New.
2420 * 27_io/basic_filebuf/3.cc: New.
2421 * 27_io/basic_filebuf/4.cc: New.
2422 * 27_io/basic_filebuf/close/char/1.cc: New.
2423 * 27_io/basic_filebuf/close/char/2.cc: New.
2424 * 27_io/basic_filebuf/close/char/3.cc: New.
2425 * 27_io/basic_filebuf/close/char/4879.cc: New.
2426 * 27_io/basic_filebuf/close/char/9964.cc: New.
2427 * 27_io/basic_filebuf/imbue/char/1.cc: New.
2428 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
2429 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
2430 * 27_io/basic_filebuf/is_open/char/1.cc: New.
2431 * 27_io/basic_filebuf/open/char/1.cc: New.
2432 * 27_io/basic_filebuf/open/char/2.cc: New.
2433 * 27_io/basic_filebuf/open/char/3.cc: New.
2434 * 27_io/basic_filebuf/open/char/9507.cc: New.
2435 * 27_io/basic_filebuf/overflow/char/1.cc: New.
2436 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
2437 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
2438 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
2439 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
2440 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
2441 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
2442 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
2443 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
2444 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
2445 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
2446 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
2447 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
2448 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
2449 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
2450 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
2451 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
2452 * 27_io/basic_filebuf/snextc/char/1.cc: New.
2453 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
2454 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
2455 * 27_io/basic_filebuf/sputc/char/1.cc: New.
2456 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
2457 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
2458 * 27_io/basic_filebuf/sputn/char/1.cc: New.
2459 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
2460 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
2461 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
2462 * 27_io/basic_filebuf/sync/char/1057.cc: New.
2463 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
2464 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
2465 * 27_io/basic_fstream/1.cc: New.
2466 * 27_io/basic_fstream/2.cc: New.
2467 * 27_io/basic_fstream/3.cc: New.
2468 * 27_io/basic_fstream/4.cc: New.
2469 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
2470 * 27_io/basic_ifstream/1.cc: New.
2471 * 27_io/basic_ifstream/2.cc: New.
2472 * 27_io/basic_ifstream/3.cc: New.
2473 * 27_io/basic_ifstream/4.cc: New.
2474 * 27_io/basic_ifstream/cons/char/1.cc: New.
2475 * 27_io/basic_ifstream/open/char/1.cc: New.
2476 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
2477 * 27_io/basic_ios/1.cc: New.
2478 * 27_io/basic_ios/2.cc: New.
2479 * 27_io/basic_ios/3.cc: New.
2480 * 27_io/basic_ios/4.cc: New.
2481 * 27_io/basic_ios/clear/char/1.cc: New.
2482 * 27_io/basic_ios/cons/char/1.cc: New.
2483 * 27_io/basic_ios/cons/char/2.cc: New.
2484 * 27_io/basic_ios/cons/char/3.cc: New.
2485 * 27_io/basic_ios/copyfmt/char/1.cc: New.
2486 * 27_io/basic_ios/copyfmt/char/2.cc: New.
2487 * 27_io/basic_ios/exceptions/char/1.cc: New.
2488 * 27_io/basic_ios/locales/char/1.cc: New.
2489 * 27_io/basic_iostream/1.cc: New.
2490 * 27_io/basic_iostream/2.cc: New.
2491 * 27_io/basic_iostream/3.cc: New.
2492 * 27_io/basic_iostream/4.cc: New.
2493 * 27_io/basic_istream/1.cc: New.
2494 * 27_io/basic_istream/2.cc: New.
2495 * 27_io/basic_istream/3.cc: New.
2496 * 27_io/basic_istream/4.cc: New.
2497 * 27_io/basic_istream/exceptions/char/9561.cc: New.
2498 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
2499 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
2500 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
2501 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
2502 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
2503 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
2504 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
2505 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
2506 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
2507 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
2508 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
2509 * 27_io/basic_istream/extractors_character/char/1.cc: New.
2510 * 27_io/basic_istream/extractors_character/char/2.cc: New.
2511 * 27_io/basic_istream/extractors_character/char/3.cc: New.
2512 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
2513 * 27_io/basic_istream/extractors_other/char/1.cc: New.
2514 * 27_io/basic_istream/extractors_other/char/2.cc: New.
2515 * 27_io/basic_istream/extractors_other/char/3.cc: New.
2516 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
2517 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
2518 * 27_io/basic_istream/get/char/1.cc: New.
2519 * 27_io/basic_istream/get/char/2.cc: New.
2520 * 27_io/basic_istream/getline/char/1.cc: New.
2521 * 27_io/basic_istream/getline/char/2.cc: New.
2522 * 27_io/basic_istream/getline/char/3.cc: New.
2523 * 27_io/basic_istream/ignore/char/1.cc: New.
2524 * 27_io/basic_istream/ignore/char/6360.cc: New.
2525 * 27_io/basic_istream/ignore/char/7220.cc: New.
2526 * 27_io/basic_istream/peek/char/1.cc: New.
2527 * 27_io/basic_istream/peek/char/6414.cc: New.
2528 * 27_io/basic_istream/putback/char/1.cc: New.
2529 * 27_io/basic_istream/read/char/1.cc: New.
2530 * 27_io/basic_istream/read/char/2.cc: New.
2531 * 27_io/basic_istream/read/char/3.cc: New.
2532 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
2533 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
2534 * 27_io/basic_istream/readsome/char/8258.cc: New.
2535 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
2536 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
2537 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
2538 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
2539 * 27_io/basic_istream/seekg/char/fstream.cc: New.
2540 * 27_io/basic_istream/seekg/char/sstream.cc: New.
2541 * 27_io/basic_istream/sentry/char/1.cc: New.
2542 * 27_io/basic_istream/sentry/char/2.cc: New.
2543 * 27_io/basic_istream/sentry/char/3.cc: New.
2544 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
2545 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
2546 * 27_io/basic_istream/tellg/char/1.cc: New.
2547 * 27_io/basic_istream/tellg/char/8348.cc: New.
2548 * 27_io/basic_istream/tellg/char/fstream.cc: New.
2549 * 27_io/basic_istream/tellg/char/sstream.cc: New.
2550 * 27_io/basic_istream/ws/char/1.cc: New.
2551 * 27_io/basic_istringstream/1.cc: New.
2552 * 27_io/basic_istringstream/2.cc: New.
2553 * 27_io/basic_istringstream/3.cc: New.
2554 * 27_io/basic_istringstream/4.cc: New.
2555 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
2556 * 27_io/basic_istringstream/str/char/1.cc: New.
2557 * 27_io/basic_ofstream/1.cc: New.
2558 * 27_io/basic_ofstream/2.cc: New.
2559 * 27_io/basic_ofstream/3.cc: New.
2560 * 27_io/basic_ofstream/4.cc: New.
2561 * 27_io/basic_ofstream/cons/char/2.cc: New.
2562 * 27_io/basic_ofstream/open/char/1.cc: New.
2563 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
2564 * 27_io/basic_ostream/1.cc: New.
2565 * 27_io/basic_ostream/2.cc: New.
2566 * 27_io/basic_ostream/3.cc: New.
2567 * 27_io/basic_ostream/4.cc: New.
2568 * 27_io/basic_ostream/cons/char/9827.cc: New.
2569 * 27_io/basic_ostream/endl/char/1.cc: New.
2570 * 27_io/basic_ostream/ends/char/1.cc: New.
2571 * 27_io/basic_ostream/ends/char/2.cc: New.
2572 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
2573 * 27_io/basic_ostream/flush/char/1.cc: New.
2574 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
2575 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
2576 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
2577 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
2578 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
2579 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
2580 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
2581 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
2582 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
2583 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
2584 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
2585 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
2586 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
2587 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
2588 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
2589 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
2590 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
2591 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
2592 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
2593 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
2594 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
2595 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
2596 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
2597 * 27_io/basic_ostream/sentry/char/1.cc: New.
2598 * 27_io/basic_ostream/sentry/char/2.cc: New.
2599 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
2600 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
2601 * 27_io/basic_ostream/tellp/char/1.cc: New.
2602 * 27_io/basic_ostream/tellp/char/2.cc: New.
2603 * 27_io/basic_ostringstream/1.cc: New.
2604 * 27_io/basic_ostringstream/2.cc: New.
2605 * 27_io/basic_ostringstream/3.cc: New.
2606 * 27_io/basic_ostringstream/4.cc: New.
2607 * 27_io/basic_ostringstream/cons/char/3.cc: New.
2608 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
2609 * 27_io/basic_ostringstream/str/char/1.cc: New.
2610 * 27_io/basic_ostringstream/str/char/2.cc: New.
2611 * 27_io/basic_streambuf/1.cc: New.
2612 * 27_io/basic_streambuf/2.cc: New.
2613 * 27_io/basic_streambuf/3.cc: New.
2614 * 27_io/basic_streambuf/cons/char/1.cc: New.
2615 * 27_io/basic_streambuf/imbue/char/1.cc: New.
2616 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
2617 * 27_io/basic_streambuf/overflow/char/1.cc: New.
2618 * 27_io/basic_streambuf/overflow/char/2.cc: New.
2619 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
2620 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
2621 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
2622 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
2623 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
2624 * 27_io/basic_streambuf/sputn/char/1.cc: New.
2625 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
2626 * 27_io/basic_streambuf/sync/char/1057.cc: New.
2627 * 27_io/basic_stringbuf/1.cc: New.
2628 * 27_io/basic_stringbuf/2.cc: New.
2629 * 27_io/basic_stringbuf/3.cc: New.
2630 * 27_io/basic_stringbuf/4.cc: New.
2631 * 27_io/basic_stringbuf/5.cc: New.
2632 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
2633 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
2634 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
2635 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
2636 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
2637 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
2638 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
2639 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
2640 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
2641 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
2642 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
2643 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
2644 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
2645 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
2646 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
2647 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
2648 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
2649 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
2650 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
2651 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
2652 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
2653 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
2654 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
2655 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
2656 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
2657 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
2658 * 27_io/basic_stringbuf/str/char/1.cc: New.
2659 * 27_io/basic_stringbuf/str/char/2.cc: New.
2660 * 27_io/basic_stringbuf/str/char/3.cc: New.
2661 * 27_io/basic_stringbuf/str/char/3955.cc: New.
2662 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
2663 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
2664 * 27_io/basic_stringstream/1.cc: New.
2665 * 27_io/basic_stringstream/2.cc: New.
2666 * 27_io/basic_stringstream/3.cc: New.
2667 * 27_io/basic_stringstream/4.cc: New.
2668 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
2669 * 27_io/basic_stringstream/str/char/1.cc: New.
2670 * 27_io/basic_stringstream/str/char/2.cc: New.
2671 * 27_io/basic_stringstream/str/char/3.cc: New.
2672 * 27_io/basic_stringstream/str/char/4.cc: New.
2673 * 27_io/fpos/1.cc: New.
2674 * 27_io/fpos/2.cc: New.
2675 * 27_io/fpos/3.cc: New.
2676 * 27_io/ios_base/callbacks/1.cc: New.
2677 * 27_io/ios_base/state/1.cc: New.
2678 * 27_io/ios_base/storage/1.cc: New.
2679 * 27_io/ios_base/storage/2.cc: New.
2680 * 27_io/ios_base/storage/3.cc: New.
2681 * 27_io/ios_base/sync_with_stdio/1.cc: New.
2682 * 27_io/ios_base/sync_with_stdio/2.cc: New.
2683 * 27_io/manipulators/adjustfield/char/1.cc: New.
2684 * 27_io/manipulators/adjustfield/char/2.cc: New.
2685 * 27_io/manipulators/basefield/char/1.cc: New.
2686 * 27_io/manipulators/standard/char/1.cc: New.
2687 * 27_io/manipulators/standard/char/2.cc: New.
2688 * 27_io/objects/char/1.cc: New.
2689 * 27_io/objects/char/2.cc: New.
2690 * 27_io/objects/char/2523-1_xin.cc: New.
2691 * 27_io/objects/char/2523-1_xin.in: New.
2692 * 27_io/objects/char/2523-2_xin.cc: New.
2693 * 27_io/objects/char/2523-2_xin.in: New.
2694 * 27_io/objects/char/3045.cc: New.
2695 * 27_io/objects/char/3647.cc: New.
2696 * 27_io/objects/char/3_xin.cc: New.
2697 * 27_io/objects/char/3_xin.in: New.
2698 * 27_io/objects/char/4_xin.cc: New.
2699 * 27_io/objects/char/4_xin.in: New.
2700 * 27_io/objects/char/5268.cc: New.
2701 * 27_io/objects/char/5280_xin.cc: New.
2702 * 27_io/objects/char/5280_xin.in: New.
2703 * 27_io/objects/char/6548_xin.cc: New.
2704 * 27_io/objects/char/6548_xin.in: New.
2705 * 27_io/objects/char/6648-1_xin.cc: New.
2706 * 27_io/objects/char/6648-1_xin.in: New.
2707 * 27_io/objects/char/6648-2_xin.cc: New.
2708 * 27_io/objects/char/6648-2_xin.in: New.
2709 * 27_io/objects/char/7744_xin.cc: New.
2710 * 27_io/objects/char/7744_xin.in: New.
2711 * 27_io/objects/wchar_t/1.cc: New.
2712 * 27_io/types/1.cc: New.
2713 * 27_io/types/2.cc: New.
2714 * data/filebuf_members-1.tst: New.
2715 * data/filebuf_members-1.txt: New.
2716 * data/filebuf_virtuals-1.tst: New.
2717 * data/filebuf_virtuals-1.txt: New.
2718 * data/filebuf_virtuals-2.tst: New.
2719 * data/filebuf_virtuals-3.tst: New.
2720 * data/ifstream_members-1.tst: New.
2721 * data/ifstream_members-1.txt: New.
2722 * data/ios_base_members_static-1.tst: New.
2723 * data/istream_extractor_other-1.tst: New.
2724 * data/istream_extractor_other-1.txt: New.
2725 * data/istream_extractor_other-2.tst: New.
2726 * data/istream_seeks-1.tst: New.
2727 * data/istream_seeks-1.txt: New.
2728 * data/istream_seeks-2.tst: New.
2729 * data/istream_seeks-3.tst: New.
2730 * data/istream_unformatted-1.tst: New.
2731 * data/istream_unformatted-1.txt: New.
2732 * data/ofstream_members-1.tst: New.
2733 * data/ostream_inserter_char-1.tst: New.
2734 * data/ostream_inserter_char-1.txt: New.
2735 * data/ostream_inserter_other-1.tst: New.
2736 * data/ostream_inserter_other-2.tst: New.
2737 * data/ostream_seeks-1.tst: New.
2739 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
2741 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
2742 requirement that __mode must be strict input or output.
2744 * include/std/std_streambuf.h (basic_streambuf::setp): Set
2747 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
2748 output string shouldn't core.
2749 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
2751 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
2753 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
2756 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
2758 * testsuite/data: New directory.
2759 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2760 to copy files from the testsuite data directory.
2761 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
2762 testfiles containing _xin, which now means this is an interactive
2763 test and should be run with the interactive dejagnu hooks.
2764 * testsuite/Makefile.am: Remove testsuite_* files.
2765 * testsuite/Makefile.in: Regenerate.
2767 2003-04-09 Zack Weinberg <zack@codesourcery.com>
2769 * docs/html/install.html: Document complete list of locales
2770 required by test suite. Document procedure for installing
2771 said locales under Debian. Solicit instructions for other
2774 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
2776 * include/bits/sstream.tcc (overflow): Make sure operands of min
2777 and max have the same type.
2779 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
2782 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
2785 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
2787 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
2788 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
2789 Don't set _M_out_end.
2790 (basic_filebuf::overflow): Replace _M_out_buf_size() with
2791 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
2792 * include/bits/sstream.tcc (basic_stringbuf::overflow):
2793 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
2794 * include/bits/streambuf.tcc (basic_streambuf::sputc):
2795 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
2796 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
2797 _M_out_end - _M_out_cur.
2798 (__copy_streambufs): Likewise.
2799 * include/std/std_fstream.h (_M_set_determinate): Set
2802 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
2804 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
2805 _M_convert_to_external, _M_really_overflow, seekoff): Fix
2806 test for synced buffer.
2807 * include/std/std_fstream.h (sync): Likewise.
2808 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
2809 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
2811 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
2813 * include/std/std_sstream.h (basic_istringstream): Adjust
2815 (basic_ostringstream): Same.
2816 (basic_stringstream): Same.
2817 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
2818 (basic_ofstream): Same.
2819 (basic_fstream): Same.
2820 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
2821 that does not call init.
2822 * include/std/std_istream.h (basic_istream): Same.
2823 (basic_iostream): Construct istream, ostream uninitialized, use
2824 init to initialize just once. Add protected ctor that does not
2827 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
2828 Nathan Myers <ncm@cantrip.org>
2831 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
2833 (basic_filebuf<>::showmanyc): Use the information provided
2834 by codecvt and __basic_file<>::showmanyc_helper to implement
2835 a non-trivial showmanyc.
2836 * config/io/basic_file_stdio.h
2837 (__basic_file<>::showmanyc_helper): New, declare.
2838 * config/io/basic_file_stdio.cc
2839 (__basic_file<>::showmanyc_helper): Define.
2840 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
2841 (__basic_file<char>::open): Don't call fcntl().
2842 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
2843 GLIBCPP_CHECK_POLL): New macros.
2844 * configure.in: Call here.
2845 * acconfig.h: Add #undefs for the corresponding symbols.
2846 * aclocal.m4: Regenerate.
2847 * configure: Regenerate.
2848 * config.h.in: Regenerate.
2850 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
2852 * config/linker-map.gnu: Remove string export restrictions.
2854 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
2856 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
2857 find_first_of, find_last_of and find_last_not_of tests.
2858 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
2859 tests here, new file.
2860 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
2861 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
2862 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
2863 wchar_t find_first_of tests here, new file.
2864 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
2866 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
2868 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
2869 wchar_t find_last_of tests here.
2870 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
2871 wchar_t find_last_not_of tests here.
2873 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
2875 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
2876 Correct return value.
2878 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
2881 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
2882 * include/std/std_complex.h (norm): Use faster,
2883 less accurate computation for builtin float types under --fast-math.
2885 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
2887 * testsuite/testsuite_hooks.h: Fix warning nits.
2889 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
2891 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
2892 Only .set mips2 for the o32 ABI.
2894 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
2896 * testsuite/21_strings/char_traits/requirements/char/1.cc:
2897 Test char not wchar_t.
2899 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
2901 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
2902 Correct size, taking into account sizeof(wchar_t).
2904 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
2906 Reshuffle 21_strings testsuite.
2907 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
2908 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
2909 element_access.cc, operations.cc, char_traits_requirements.cc,
2910 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
2911 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
2912 wchar_t tests as follows.
2913 * 21_strings/basic_string/append/char/1.cc: New.
2914 * 21_strings/basic_string/append/wchar_t/1.cc: New.
2915 * 21_strings/basic_string/assign/char/1.cc: New.
2916 * 21_strings/basic_string/assign/char/2.cc: New.
2917 * 21_strings/basic_string/assign/char/3.cc: New.
2918 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
2919 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
2920 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
2921 * 21_strings/basic_string/capacity/1.cc: New.
2922 * 21_strings/basic_string/capacity/char/1.cc: New.
2923 * 21_strings/basic_string/capacity/char/2.cc: New.
2924 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
2925 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
2926 * 21_strings/basic_string/compare/char/1.cc: New.
2927 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
2928 * 21_strings/basic_string/cons/char/1.cc: New.
2929 * 21_strings/basic_string/cons/char/2.cc: New.
2930 * 21_strings/basic_string/cons/char/3.cc: New.
2931 * 21_strings/basic_string/cons/char/4.cc: New.
2932 * 21_strings/basic_string/cons/char/5.cc: New.
2933 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
2934 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
2935 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
2936 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
2937 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
2938 * 21_strings/basic_string/element_access/char/1.cc: New.
2939 * 21_strings/basic_string/element_access/char/2.cc: New.
2940 * 21_strings/basic_string/element_access/char/3.cc: New.
2941 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
2942 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
2943 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
2944 * 21_strings/basic_string/find/char/1.cc: New.
2945 * 21_strings/basic_string/find/wchar_t/1.cc: New.
2946 * 21_strings/basic_string/insert/char/1.cc: New.
2947 * 21_strings/basic_string/insert/char/2.cc: New.
2948 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
2949 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
2950 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
2951 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
2952 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
2953 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
2954 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
2955 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
2956 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
2957 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
2958 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
2959 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
2960 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
2961 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
2962 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
2963 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
2964 * 21_strings/basic_string/operators/char/1.cc: New.
2965 * 21_strings/basic_string/operators/char/2.cc: New.
2966 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
2967 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
2968 * 21_strings/basic_string/replace/char/1.cc: New.
2969 * 21_strings/basic_string/replace/char/2.cc: New.
2970 * 21_strings/basic_string/replace/char/3.cc: New.
2971 * 21_strings/basic_string/replace/char/4.cc: New.
2972 * 21_strings/basic_string/replace/char/5.cc: New.
2973 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
2974 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
2975 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
2976 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
2977 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
2978 * 21_strings/basic_string/rfind/char/1.cc: New.
2979 * 21_strings/basic_string/rfind/char/2.cc: New.
2980 * 21_strings/basic_string/rfind/char/3.cc: New.
2981 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
2982 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
2983 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
2984 * 21_strings/basic_string/substr/char/1.cc: New.
2985 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
2986 * 21_strings/c_strings/char/1.cc: New.
2987 * 21_strings/c_strings/char/2.cc: New.
2988 * 21_strings/c_strings/wchar_t/1.cc: New.
2989 * 21_strings/c_strings/wchar_t/2.cc: New.
2990 * 21_strings/char_traits/requirements/char/1.cc: New.
2991 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
2992 * 21_strings/char_traits/typedefs/char/1.cc: New.
2994 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
2995 Petur Runolfsson <peturr02@ru.is>
2998 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
2999 basic_filebuf<wchar_t>::_M_underflow_common):
3000 if (gptr() < egptr()) return *gptr().
3001 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
3003 * testsuite/27_io/filebuf_members.cc (test_04): Minor
3004 changes: unlink fifo before making it, fix spelling error.
3006 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
3008 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
3009 * testsuite/Makefile.in: Regenerate.
3010 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
3013 2003-03-17 Petur Runolfsson <peturr02@ru.is>
3016 * include/bits/fstream.tcc (basic_filebuf::close):
3017 Always close file, even when write fails.
3018 * testsuite/27_io/filebuf_members.cc (test_07): New test.
3020 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
3022 * libsupc++/Makefile.am (C_COMPILE): Remove.
3023 (LTCOMPILE): Likewise.
3024 * libsupc++/Makefile.in: Regenerate.
3026 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
3028 * testsuite/23_containers/bitset_members.cc: Add test variable.
3029 * testsuite/23_containers/map_insert.cc: Same.
3030 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
3031 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
3032 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
3033 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
3034 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
3035 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
3036 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
3037 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
3038 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
3039 * testsuite/27_io/istream_exception.cc: Same.
3040 * testsuite/27_io/filebuf_virtuals.cc: Same.
3041 * testsuite/27_io/stringbuf_virtuals.cc: Same.
3042 * testsuite/27_io/ostream_inserter_arith.cc: Same.
3043 * testsuite/26_numerics/valarray_operators.cc: Same.
3044 * testsuite/26_numerics/slice.cc: Same.
3045 * testsuite/26_numerics/slice_array_assignment.cc: Same.
3046 * testsuite/24_iterators/istream_iterator.cc: Same.
3047 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
3049 2003-03-14 Petur Runolfsson <peturr02@ru.is>
3053 * config/locale/generic/ctype_members.cc,
3054 * config/locale/gnu/ctype_members.cc
3055 (ctype<wchar_t>::do_widen(char)): Cast argument to
3056 unsigned char before passing to btowc.
3057 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
3058 Convert characters with btowc instead of mbsrtowcs.
3059 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
3061 Convert characters with wctob instead of wcsrtombs.
3062 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
3063 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
3064 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
3066 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
3068 * include/stdc++.h: New.
3069 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
3070 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
3071 * include/Makefile.in: Regenerate.
3072 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
3073 (--cxxflags): Put -g -O2 here.
3074 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
3076 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
3078 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
3079 missing named locale.
3081 2003-03-14 Andreas Schwab <schwab@suse.de>
3083 * configure.in: Only append to makefiles that are newly created to
3084 avoid multiple multi-do/multi-clean rules.
3085 * configure: Rebuilt.
3087 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
3089 * docs/html/configopts.html, docs/html/documentation.html,
3090 docs/html/explanations.html, docs/html/install.html,
3091 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
3092 invalid XHTML and make page header style consistent.
3094 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
3096 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
3097 * docs/html/faq/index.txt: Regenerate.
3098 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
3100 2003-03-12 Andreas Schwab <schwab@suse.de>
3102 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
3103 glibcpp_toolexeclibdir.
3104 * aclocal.m4, configure: Rebuilt.
3106 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
3108 * docs/html/faq/index.html: Update text about location of headers.
3109 * docs/html/faq/index.txt: Regenerate.
3111 2003-03-11 Carlo Wood <carlo@alinoe.com>
3113 * include/bits/demangle.h: Prepend accessors of
3114 class qualifier with 'get_' in order to fix warnings
3115 when compiling with -Wshadow.
3117 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
3119 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
3121 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
3123 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
3124 report lack of setenv().
3126 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
3128 * config/io/basic_file_stdio.cc: include <unistd.h>.
3130 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
3131 Nathan Myers <ncm@cantrip.org>
3134 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
3135 seekoff, seekpos): Add a boolean parameter __stdio.
3136 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
3137 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
3138 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
3140 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
3141 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
3142 * include/std/std_fstream.h (sync): Likewise.
3143 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
3144 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
3145 libstdc++/8399 commit involving isatty(0).
3146 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
3147 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
3148 * configure.in: Remove call.
3149 * aclocal.m4: Regenerate.
3150 * config.h.in: Regenerate.
3151 * configure: Regenerate.
3152 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
3154 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
3157 * include/bits/fstream.tcc (overflow): don't write EOF to file.
3158 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
3160 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
3163 * include/bits/basic_ios.h (_M_setstate): New.
3164 * include/bits/ostream.tcc (operator<<): Use it.
3165 * include/bits/istream.tcc (operator>>): Use it.
3166 * include/std/std_ostream.h (operator<<): Make friends.
3167 * include/std/std_istream.h (operator>>): Make friends.
3168 * testsuite/27_io/ostream_exception.cc,
3169 testsuite/27_io/istream_exception.cc: New tests.
3171 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
3173 * include/bits/locale_facets.tcc: Fix typo.
3175 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
3177 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
3179 * config/locale/generic/c_locale.cc
3180 (locale::facet::_S_create_c_locale): Throw runtime exception when
3181 unsupported language is specified.
3182 * testsuite/testsuite_hooks.h
3183 (run_test_wrapped_generic_locale_exception_catcher): New function.
3184 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
3185 Suppress runtime exception thrown by generic implementation.
3186 (run_tests_wrapped_env): Likewise.
3187 (run_test_wrapped_generic_locale_exception_catcher): New function.
3188 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
3189 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
3190 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
3191 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
3192 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
3193 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
3194 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
3195 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
3196 * testsuite/22_locale/facet/2.cc: New test wrap.
3197 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
3198 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
3199 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
3200 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
3201 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
3202 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
3203 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
3204 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
3205 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
3206 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
3207 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
3208 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
3209 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
3210 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
3211 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
3212 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
3213 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
3214 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
3215 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
3216 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
3217 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
3218 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
3219 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
3220 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
3221 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
3222 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
3223 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
3224 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
3225 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
3226 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
3227 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
3228 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
3229 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
3230 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
3231 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
3232 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
3233 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
3234 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
3235 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
3236 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
3237 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
3238 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
3239 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
3240 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
3241 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
3242 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
3243 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
3244 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
3245 * testsuite/27_io/ios_members.cc: New test wrap.
3246 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
3248 * testsuite/27_io/streambuf_members.cc: New test wrap.
3249 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
3251 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
3252 Petur Runolfsson <peturr02@ru.is>
3255 * include/bits/streambuf.tcc (__copy_streambufs): Use
3256 sgetn-sputn only when sputn cannot fail, otherwise fall back
3257 to safe snextc-sputc.
3258 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
3260 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
3262 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
3263 locale cache for truename and falsename.
3265 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
3267 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
3268 _M_word_size initialization.
3270 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
3272 * include/bits/fstream.tcc (_M_convert_to_external):
3273 Set __elen to zero if codecvt::out eventually fails.
3275 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
3278 * include/bits/fstream.tcc (_M_really_overflow): Check
3279 for _M_convert_to_external possible failures.
3280 * include/std/std_fstream.h (sync): Check _M_really_overflow
3281 return value and return -1 in case of failure.
3282 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
3284 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
3287 * include/bits/istream.tcc (operator>>(_CharT*),
3288 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
3289 * testsuite/27_io/stringstream.cc (test02): Add.
3291 * include/bits/istream.tcc (operator>>(_CharT*)):
3292 Assign a char_type to *__s.
3294 2003-03-07 Petur Runolfsson <peturr02@ru.is>
3297 * include/bits/locale_facets.tcc
3298 (collate::do_compare, collate::do_transform):
3299 Handle nul characters in input.
3300 * testsuite/22_locale/collate/compare/char/3.cc: New test.
3301 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
3302 * testsuite/22_locale/collate/transform/char/3.cc: New test.
3303 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
3305 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
3307 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
3309 * testsuite/27_io/ostream_fail.cc: New test.
3311 2003-03-07 Matthias Klose <doko@debian.org>
3313 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
3314 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
3315 * Makefile.in: Regenerate.
3316 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
3318 AM_MAKEFLAGS: Pass gxx_include_dir.
3319 * libsupc++/Makefile.in: Regenerate.
3321 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
3323 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
3324 mask. Test setting small-numbered pword and iword slots. Test
3325 behavior at limit of numeric_limits::max. Check that values are
3326 still good after failures.
3328 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
3330 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
3331 (ios_base::ios_base): Set _M_word, _M_word_size.
3332 (ios_base::~ios_base): Remove redundant test.
3333 * testsuite/27_io/ios_base_storage.cc (test03): New.
3335 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
3337 * src/strstream.cc, include/bits/basic_string.tcc: Remove
3338 incorrect whitespace added in my previous change.
3340 2003-03-05 Carlo Wood <carlo@alinoe.com>
3342 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
3343 _S_initialized() in order to allow debugging libraries to detect
3344 when the std streams are initialized from an overloaded operator
3347 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
3349 * libsupc++/demangle.h: Move to..
3350 * include/bits/demangle.h: ...here.
3351 * src/demangle.cc: Adjust include.
3352 * include/Makefile.am (bits_headers): Add.
3353 * include/Makefile.in: Regenerate.
3355 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
3357 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
3359 * config/linker-map.gnu: Filter typeinfo and vtable info.
3361 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
3363 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
3364 new failure. Throw exception if badbit and exception mask when ix
3365 >= numeric_limits<int>::max().
3367 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
3369 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
3370 min and max have the same type.
3371 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
3373 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
3375 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
3376 * include/Makefile.in: Regenerate.
3378 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
3380 * testsuite/abi_check.cc (report_symbol_info): Add version info.
3382 * config/linker-map.gnu: Hide more stuff.
3383 * include/Makefile.am: Cleanups.
3384 * include/Makefile.in: Regenerate.
3386 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
3388 * config/locale/generic/messages_members.h (messages::messages):
3389 Remove name from unused parameter.
3391 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
3393 * src/Makefile.am (sources): Add demangle.cc.
3396 * src/Makefile.in: Regenerate.
3397 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
3398 * libsupc++/Makefile.in: Regenerate.
3400 * testsuite/testsuite_hooks.h
3401 (__gnu_cxx_test::verify_demangle): New.
3402 * testsuite/testsuite_hooks.cc: Define.
3404 2003-02-27 Carlo Wood <carlo@alinoe.com>
3406 * src/demangle.cc: New.
3407 * libsupc++/demangle.h: New.
3409 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
3410 Carlo Wood <carlo@alinoe.com>
3412 * testsuite/demangle/abi_examples/01.cc: New.
3413 * testsuite/demangle/abi_examples/02.cc: New.
3414 * testsuite/demangle/abi_examples/03.cc: New.
3415 * testsuite/demangle/abi_examples/04.cc: New.
3416 * testsuite/demangle/abi_examples/05.cc: New.
3417 * testsuite/demangle/abi_examples/06.cc: New.
3418 * testsuite/demangle/abi_examples/07.cc: New.
3419 * testsuite/demangle/abi_examples/08.cc: New.
3420 * testsuite/demangle/abi_examples/09.cc: New.
3421 * testsuite/demangle/abi_examples/10.cc: New.
3422 * testsuite/demangle/abi_examples/11.cc: New.
3423 * testsuite/demangle/abi_examples/12.cc: New.
3424 * testsuite/demangle/abi_examples/13.cc: New.
3425 * testsuite/demangle/abi_examples/14.cc: New.
3426 * testsuite/demangle/abi_examples/15.cc: New.
3427 * testsuite/demangle/abi_examples/16.cc: New.
3428 * testsuite/demangle/abi_examples/17.cc: New.
3429 * testsuite/demangle/abi_examples/18.cc: New.
3430 * testsuite/demangle/abi_examples/19.cc: New.
3431 * testsuite/demangle/abi_examples/20.cc: New.
3432 * testsuite/demangle/abi_examples/21.cc: New.
3433 * testsuite/demangle/abi_examples/22.cc: New.
3434 * testsuite/demangle/abi_examples/23.cc: New.
3435 * testsuite/demangle/abi_examples/24.cc: New.
3436 * testsuite/demangle/abi_examples/25.cc: New.
3437 * testsuite/demangle/abi_examples/26.cc: New.
3438 * testsuite/demangle/abi_text/01.cc: New.
3439 * testsuite/demangle/abi_text/02.cc: New.
3440 * testsuite/demangle/abi_text/03.cc: New.
3441 * testsuite/demangle/abi_text/04.cc: New.
3442 * testsuite/demangle/abi_text/05.cc: New.
3443 * testsuite/demangle/abi_text/06.cc: New.
3444 * testsuite/demangle/abi_text/07.cc: New.
3445 * testsuite/demangle/abi_text/08.cc: New.
3446 * testsuite/demangle/abi_text/09.cc: New.
3447 * testsuite/demangle/abi_text/10.cc: New.
3448 * testsuite/demangle/abi_text/11.cc: New.
3449 * testsuite/demangle/abi_text/12.cc: New.
3450 * testsuite/demangle/abi_text/13.cc: New.
3451 * testsuite/demangle/abi_text/14.cc: New.
3452 * testsuite/demangle/regression/3111-1.cc: New.
3453 * testsuite/demangle/regression/3111-2.cc: New.
3454 * testsuite/demangle/regression/7986-01.cc: New.
3455 * testsuite/demangle/regression/7986-02.cc: New.
3456 * testsuite/demangle/regression/7986-03.cc: New.
3457 * testsuite/demangle/regression/7986-04.cc: New.
3458 * testsuite/demangle/regression/7986-05.cc: New.
3459 * testsuite/demangle/regression/7986-06.cc: New.
3460 * testsuite/demangle/regression/7986-07.cc: New.
3461 * testsuite/demangle/regression/7986-08.cc: New.
3462 * testsuite/demangle/regression/7986-09.cc: New.
3463 * testsuite/demangle/regression/7986-10.cc: New.
3464 * testsuite/demangle/regression/7986-11.cc: New.
3465 * testsuite/demangle/regression/7986-12.cc: New.
3466 * testsuite/demangle/regression/7986.cc: New.
3467 * testsuite/demangle/regression/8897.cc: New.
3468 * testsuite/demangle/regression/cw-01.cc: New.
3469 * testsuite/demangle/regression/cw-02.cc: New.
3470 * testsuite/demangle/regression/cw-03.cc: New.
3471 * testsuite/demangle/regression/cw-04.cc: New.
3472 * testsuite/demangle/regression/cw-05.cc: New.
3473 * testsuite/demangle/regression/cw-06.cc: New.
3474 * testsuite/demangle/regression/cw-07.cc: New.
3475 * testsuite/demangle/regression/cw-08.cc: New.
3476 * testsuite/demangle/regression/cw-09.cc: New.
3477 * testsuite/demangle/regression/cw-10.cc: New.
3478 * testsuite/demangle/regression/cw-11.cc: New.
3479 * testsuite/demangle/regression/cw-12.cc: New.
3480 * testsuite/demangle/regression/cw-13.cc: New.
3481 * testsuite/demangle/regression/cw-14.cc: New.
3482 * testsuite/demangle/regression/old.cc: New.
3484 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
3486 * docs/doxygen/Intro.3: Update with new (proper) names.
3487 * docs/doxygen/TODO: Update.
3488 * docs/doxygen/run_doxygen: More comments, fix up man pages.
3489 Fake entries for standard typedefs.
3490 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
3491 * docs/html/documentation.html: Top-level man page is now called
3493 * include/std/std_limits.h: Doxygenate.
3495 2003-02-25 Scott Snyder <snyder@fnal.gov>
3498 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
3499 Correct documentation.
3500 * include/bits/stl_multimap.h (lower_bound, upper_bound,
3501 equal_range): Likewise.
3503 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
3507 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
3508 __bump is true (uflow), always increment the read pointer
3509 (_M_in_cur) before returning successfully.
3510 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
3512 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
3513 Nathan Myers <ncm@cantrip.org>
3515 PR libstdc++/9404, PR libstdc++/9701 (partial)
3516 (aka pptr == epptr implies overflow)
3517 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
3518 Consistently, _M_out_end points to the end of the buffer just
3520 (overflow): Tweak to use _M_out_buf_size().
3521 (_M_convert_to_external): The role of the old _M_out_end is
3522 now played by _M_out_lim.
3523 (_M_really_overflow): Likewise.
3524 (seekoff): Likewise.
3525 (setbuf): _M_out_end points to the end of the external buffer.
3526 * include/bits/sstream.tcc (overflow): Rewrote, taking into
3527 account the resolution of DR 169 (TC).
3528 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
3529 (seekpos): Use _M_string.capacity(); tweak.
3530 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
3531 * include/std/std_fstream.h (sync): The role of the old
3532 _M_out_end is now played by _M_out_lim.
3533 (_M_set_indeterminate): Use _M_set_determinate.
3534 (_M_set_determinate): _M_out_end is now _M_out_lim.
3535 (_M_is_indeterminate): Likewise.
3536 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
3537 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
3538 which have the information readily available as _M_string.capacity();
3539 for ate and app modes, pass the string size to _M_really_sync.
3540 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
3541 point to the end of the buffer (i.e., epptr) and to the string end,
3543 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
3544 which points to the right limit of the used put area.
3545 (_M_out_cur_move): The role of the old _M_out_end is now played
3547 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
3548 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
3550 (basic_streambuf()): Initialize _M_out_lim too.
3551 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
3552 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
3553 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
3555 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
3557 * testsuite/27_io/ios_base_storage.cc (main): Call
3560 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
3562 * include/bits/locale_facets.tcc (_M_convert_float): Replace
3563 numpunct facet accesses with data from __locale_cache.
3565 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
3567 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
3568 * docs/html/faq/index.txt: Regenerate.
3570 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
3572 * config/linker-map.gnu: Also export locking symbols needed for the
3573 generic atomicity.h case.
3575 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
3577 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3579 * configure: Rebuilt.
3581 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
3583 * include/bits/sstream.tcc (overflow): According to
3584 27.7.1.3, p5, actual output is performed by sputc(c).
3586 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
3589 * include/bits/stl_alloc.h: Remove all traces of assert().
3591 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
3593 * include/std/std_sstream.h (str()): the size of the
3594 current string may be different from the initial one
3595 whenever _M_out_end > _M_out_beg.
3596 * testsuite/27_io/stringbuf_members.cc (test07): Add.
3598 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
3601 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
3603 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
3605 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
3606 * testsuite/27_io/ios_members.cc (test03): New.
3608 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
3610 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
3611 (basic_ios::_M_cache_facets): Move into above.
3612 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
3614 (basic_ios::imbue): Force locale cache to be built.
3615 (basic_ios::_M_init): Create and initialize locale cache.
3616 * include/bits/ios_base.h (__locale_cache_base): Declare.
3617 (ios_base::_M_locale_cache): New.
3618 (ios_base::_M_cache): Define.
3619 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
3621 (__locale_cache_base,__locale_cache<_CharT>): New classes.
3622 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
3623 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
3624 cache literal string, grouping flag, thousands separator.
3625 (__locale_cache<_CharT>::__locale_cache): New.
3626 (__locale_cache<_CharT>::_M_init): New.
3627 * src/ios.cc: Clear _M_locale_cache in constructor.
3628 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
3631 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
3633 * src/locale-inst.cc: Do not include <cassert>.
3634 * src/locale.cc: Likewise.
3636 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
3639 * include/std/std_fstream.h: Declare underflow and uflow
3640 specializations, change generic definitions to do nothing.
3641 * src/fstream.cc: Add underflow and uflow specializations.
3643 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
3646 * include/bits/fstream.tcc (_M_convert_to_external):
3647 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
3648 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
3650 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
3652 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
3653 * include/bits/basic_ios.tcc: Guard use of extern template.
3654 * include/std/std_iomanip.h: Same.
3655 * include/bits/streambuf.tcc: Same.
3656 * include/bits/stl_alloc.h: Same.
3657 * include/bits/locale_facets.tcc: Same.
3658 * include/bits/ostream.tcc: Same.
3659 * include/bits/istream.tcc: Same.
3660 * include/bits/fstream.tcc: Same.
3661 * include/bits/basic_string.tcc: Same.
3663 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
3665 * include/bits/ostream.tcc (sentry::sentry): Improve
3666 performance-wise the fix for libstdc++/9563.
3668 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
3670 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
3671 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
3672 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
3673 when we don't have static mutex initialization.
3674 (__exchange_and_add): Use _Atomic_add_mutex_once.
3675 * src/misc-inst.cc: Definitions of all the above.
3677 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
3680 * include/bits/ostream.tcc (sentry::sentry): Check
3681 the state of the stream after the preparation.
3682 * testsuite/27_io/ostream_sentry.cc (test02): Add.
3684 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
3686 * include/Makefile.am (stamp-std-precompile): Add rule.
3687 * include/Makefile.in: Regenerated.
3689 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
3690 Benjamin Kosnik <benjamin@redhat.com>
3692 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
3693 Add indexes into this array.
3694 (__num_base::_S_atoms): To _S_atoms_in.
3695 (num_put::_M_insert): Rename to _M_pad.
3696 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
3697 (num_put::_M_widen_int): Rename to _M_group_int.
3698 (num_put::_M_widen_float): Rename to _M_group_float.
3699 * include/bits/locale_facets.tcc (__int_to_char): New inline
3700 function and adapter functions.
3701 (num_put::_M_group_int): Streamline.
3702 (num_put::_M_group_float): Streamline.
3703 (num_put::_M_convert_int): Remove unused parameter names. Choose
3704 large enough buffer for text. Use __int_to_char instead of
3705 __convert_from_v. Formatted text is now at the end of the buffer.
3706 (num_put::_M_convert_float): Preliminary fixups.
3707 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
3708 (__int_to_char<unsigned long long>): Same.
3709 (__int_to_char<char, unsigned long>): New.
3710 (__int_to_char<char, unsigned long long>): New.
3711 (__int_to_char<wchar_t, unsigned long>): New.
3712 (__int_to_char<wchar_t, unsigned long long>): New.
3714 2003-02-11 Scott Snyder <snyder@fnal.gov>
3717 * include/bits/fstream.tcc (seekoff): Avoid operator+
3720 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
3723 * include/ext/stdio_filebuf.h
3724 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
3725 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
3726 Change to take a __size parameter of type size_t, not
3727 of type (template parameter dependent) int_type.
3728 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
3729 size vars to size_t.
3730 * testsuite/ext/stdio_filebuf.cc: Add.
3732 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
3733 Petur Runolfsson <peturr02@ru.is>
3736 * include/bits/streambuf.tcc (__copy_streambufs):
3737 Don't conditionalize the copy to __testput.
3738 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
3740 2002-02-11 DJ Delorie <dj@redhat.com>
3742 * acinclude.m4: Check for native targets that can't link at
3743 this point in the build.
3744 * aclocal.m4: Regenerate.
3745 * configure: Regenerate.
3747 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3749 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
3751 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
3754 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
3756 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
3757 unsigned char platforms.
3759 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
3762 * include/std/std_istream.h
3763 (basic_istream::sentry::operator bool()): Make const.
3764 * include/std/std_ostream.h
3765 (basic_ostream::sentry::operator bool()): Likewise.
3766 * testsuite/27_io/istream_sentry.cc (test03): Add.
3767 * testsuite/27_io/ostream_sentry.cc: Add.
3769 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
3772 Implement resolution of DR 231 (Ready)
3773 * include/bits/locale_facets.h (__num_base::_S_format_float):
3774 Change declaration: return void, remove __prec parameter.
3775 * src/locale.cc (__num_base::_S_format_float): Implement
3776 resolution of DR 231.
3777 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3778 Tweak uses. Check for negative precision.
3779 * testsuite/22_locale/num_put/put/char/6.cc: Add
3780 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
3782 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
3784 * config/io/basic_file_libio.h: Fixups.
3785 * config/io/c_io_libio.h: Same.
3786 * libio/Makefile.am: Same.
3787 * libio/Makefile.in: Regenerated.
3789 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
3791 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
3792 Explicitly use the "C" locale.
3793 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
3795 2003-02-06 Petur Runolfsson <peturr02@ru.is>
3799 PR libstdc++/9028 (partial)
3805 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
3806 codecvt<wchar_t, char, mbstate_t>::do_length,
3807 codecvt<wchar_t, char, mbstate_t>::do_max_length):
3809 * config/locale/generic/codecvt_members.cc: ...here.
3810 * config/locale/gnu/codecvt_members.cc: ...and here.
3812 * config/locale/generic/codecvt_members.cc,
3813 * config/locale/gnu/codecvt_members.cc
3814 (codecvt<wchar_t, char, mbstate_t>::do_encoding
3815 codecvt<wchar_t, char, mbstate_t>::do_in,
3816 codecvt<wchar_t, char, mbstate_t>::do_length,
3817 codecvt<wchar_t, char, mbstate_t>::do_max_length,
3818 codecvt<wchar_t, char, mbstate_t>::do_out):
3819 New implementation that handles stateless encodings,
3822 * config/locale/generic/codecvt_members.cc,
3823 * config/locale/gnu/codecvt_members.cc,
3824 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
3825 * include/bits/codecvt.h,
3827 (codecvt::length, codecvt::do_length):
3828 Change type of first argument of length and do_length from
3829 'const state_type&' to 'state_type&' according to DR 75.
3831 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
3832 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
3833 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
3834 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
3835 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
3836 Cleanup and check for correct return value from encoding
3838 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
3839 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
3840 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
3841 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
3842 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
3843 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
3844 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
3845 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
3846 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
3847 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
3848 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
3849 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
3850 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
3851 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
3852 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
3853 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
3854 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
3855 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
3856 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
3857 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
3858 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
3859 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
3860 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
3861 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
3862 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
3863 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
3864 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
3865 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
3866 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
3867 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
3868 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
3869 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
3870 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
3871 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
3872 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
3873 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
3874 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
3876 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
3878 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
3879 (money_put::do_put): Same.
3881 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
3883 * include/bits/ios_base.h (ios_base): Document reserved storage.
3885 * include/bits/locale_facets.h: (struct __pad): Comment on
3887 (__verify_grouping): Same.
3888 (__add_grouping): Same.
3889 * include/bits/locale_facets.tcc (__verify_grouping): Move
3890 comments to declaration.
3891 (__add_grouping): Same.
3893 * include/bits/locale_facets.tcc:
3894 (__write<_CharT, _OutIter>): New function.
3895 (__write<_CharT>): New function specialization.
3896 (num_put::_M_insert): Remove explicit loop over iterator. Use
3898 (num_put::_M_widen_float): Remove __basefield.
3899 (num_put::_M_widen_int): Move __basefield to within grouping block.
3901 * include/bits/streambuf_iterator.h: Include <streambuf>.
3902 (ostreambuf_iterator::_M_put): Add.
3904 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
3906 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
3908 2003-02-04 Nathan Myers <ncm@cantrip.org>
3910 * testsuite/25_algorithms/min_max.cc (test02): Add.
3912 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3914 PR libstdc++/9439, PR libstdc++/9425
3915 * config/io/basic_file_stdio.cc
3916 (__basic_file<char>::seekoff, seekpos): Return -1L if
3918 * include/bits/fstream.tcc (basic_filebuf::seekoff):
3919 Check _M_file.seekoff return value; always return
3920 pos_type(off_type(-1)) in case of failure.
3921 (basic_filebuf::pbackfail): Check this->seekoff return
3922 value and return traits_type::eof() in case of failure.
3923 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
3925 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
3927 * include/std/std_ostream.h (ostream::_M_write): Declare.
3928 * ostream.tcc (ostream::_M_write): Define.
3929 (basic_ostream::write): Use it.
3930 (operator<<(basic_ostream, _CharT)): Ditto.
3931 (operator<<(basic_ostream, char)): Ditto.
3932 (operator<<(basic_ostream, _CharT*)): Ditto.
3933 (operator<<(basic_ostream, char*)): Ditto.
3934 (operator<<(basic_ostream, basic_string)): Ditto.
3936 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
3938 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
3940 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3942 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
3943 add HTML comment about updating links if numbering changes.
3945 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3948 * include/bits/streambuf.tcc (sputbackc): Access
3949 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
3950 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
3952 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3955 * include/bits/fstream.tcc (open): If the 'ate' repositioning
3956 operation fails, calls close _and_ returns a null pointer
3957 to indicate failure (27.8.1.3,4).
3958 * testsuite/27_io/filebuf_members.cc (test_06): Add.
3960 2003-02-04 Petur Runolfsson <peturr02@ru.is>
3962 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
3964 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3966 * docs/html/27_io/howto.html: New section on stdio_filebuf.
3967 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
3968 * docs/html/documentation.html: Regenerate.
3970 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3972 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
3973 * docs/html/17_intro/porting.html: Regenerate.
3975 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
3976 Phil Edwards <pme@gcc.gnu.org>
3978 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
3979 numeric_limits for bits-per-word values.
3980 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
3981 Use __builtin_popcountl instead.
3982 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
3983 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
3984 Use __builtin_ctzl instead.
3985 (_S_bit_count, _S_first_one): Remove.
3986 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
3987 * src/Makefile.am (sources): Remove bitset.cc.
3988 * src/bitset.cc: Delete file.
3989 * src/Makefile.in: Regenerate.
3991 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
3993 PR libstdc++/9527, PR libstdc++/8713
3994 * docs/html/install.html: Mention glibc version requirement.
3995 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
3996 with 3.2.1+ (formatting bugfixes).
3997 * docs/html/faq/index.txt: Regenerate.
3999 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4002 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
4005 * include/bits/valarray_before.h (__not_equal_to): Use != instead
4008 * testsuite/26_numerics/valarray_operators.cc: New test.
4010 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
4012 * docs/html/faq/index.html: Correct link to libg++ information.
4013 * docs/html/faq/index.txt: Regenerated.
4015 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
4016 Benjamin Kosnik <bkoz@redhat.com>
4018 Const correctness issue:
4019 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
4020 * include/bits/locale_classes.h
4021 (locale::_Impl::_M_facets): Change type to const facet**.
4022 (locale::_Impl::_M_install_facet): Change declaration to
4024 (locale::facet::_M_references): Make mutable.
4025 (locale::facet::_M_add_reference): Declare const.
4026 (locale::facet::_M_remove_reference): Likewise.
4027 * include/bits/locale_facets.tcc
4028 (use_facet(const locale&)): Tweak for const facet** _M_facets.
4029 (has_facet(const locale&)): Likewise.
4031 (locale::facet::_M_add_reference): Adjust definition.
4032 (locale::facet::_M_remove_reference): Likewise.
4034 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
4035 const facet** _M_facets.
4036 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
4037 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
4038 (locale::_Impl::_M_install_facet): Adjust definition to take
4039 const facet* and for const facet** _M_facets.
4040 * testsuite/22_locale/locale/cons/8.cc: Add.
4042 2003-01-29 Mark Mitchell <mark@codesourcery.com>
4044 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
4045 Use __FLT_HAS_INIFINITY__ to initialize.
4046 (numeric_limits<float>::has_quiet_NaN): Likewise.
4047 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
4049 (numeric_limits<double>::has_quiet_NaN): Likewise.
4050 (numeric_limits<long double>::has_infinity): Use
4051 __LDBL_HAS_INIFINITY__ to initialize.
4052 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
4054 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
4057 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
4058 with bases which are very ambiguous.
4060 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
4062 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
4063 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
4064 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
4065 * src/Makefile.in: Regenerate.
4066 * libsupc++/Makefile.in: Regenerate.
4068 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
4070 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
4071 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
4072 version_specific_libs is enabled.
4073 * aclocal.m4, configure: Rebuilt.
4075 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
4077 * include/bits/valarray_meta.h: Remove, split into ...
4078 * include/bits/valarray_before.h: ... this, and ...
4079 * include/bits/valarray_after.h: ... this.
4080 * include/std/std_valarray.h: Adjust.
4081 * include/Makefile.am (bits_headers): Adjust.
4082 * include/Makefile.in: Regenerate.
4084 2003-01-24 Andreas Schwab <schwab@suse.de>
4086 * config/linker-map.gnu: Fix for size_t variance.
4088 2003-01-23 Petur Runolfsson <peturr02@ru.is>
4091 * include/std/std_streambuf.h
4092 (basic_streambuf::basic_streambuf,
4093 basic_streambuf::~basic_streambuf,
4094 basic_streambuf::getloc, basic_streambuf::imbue):
4095 Remove _M_buf_locale_init
4096 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
4097 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
4098 * testsuite/27_io/streambuf_members.cc (test08): Add.
4099 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
4101 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
4103 Revert include ordering.
4104 * config/locale/generic/c_locale.h: Add include guards.
4105 * config/locale/gnu/c_locale.h: Same.
4106 * include/bits/locale_classes.h: Remove cctype include.
4107 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
4108 * include/std/std_fstream.h: Remove streambuf include.
4109 * include/std/std_sstream.h: Remove streambuf include.
4111 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
4113 * configure.in (libtool_VERSION): To 6:0:0.
4114 * configure: Regenerated.
4115 * config/linker-map.gnu: Clean.
4117 * src/misc-inst.cc: Remove instantiations.
4119 * include/bits/stl_alloc.h (__malloc_alloc_template):
4121 (__default_alloc_template): To __pool_alloc.
4122 * src/stl-inst.cc: Same.
4123 * include/backward/alloc.h: Update.
4124 * testsuite/ext/allocators.cc: Update.
4126 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
4127 really try to remove these if possible.
4128 * src/locale.cc (std): Same.
4130 * testsuite/abi_check.cc (check_version): Add.
4132 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
4133 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
4134 Mark Mitchell <mark@codesourcery.com>
4137 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
4138 (basic_filebuf::underflow): Declare.
4141 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
4143 * include/bits/locale_facets.h: Move non-facet classes requiring
4145 * include/bits/locale_classes.h: New.
4146 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
4147 * include/bits/Makefile.in: Regenerate.
4149 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
4150 * config/locale/gnu/c_locale.h: ...here.
4151 * config/locale/generic/c_locale.h: Same.
4153 * include/bits/locale_facets.tcc: Move declarations to...
4154 * include/bits/locale_facets.h: ...here.
4155 * include/bits/basic_ios.h: Tweak includes accordingly.
4156 * include/std/std_sstream.h: Add streambuf include.
4157 * include/std/std_fstream.h: Ditto.
4158 * include/std/std_locale.h: Add locale_classes.h include.
4159 * include/std/std_iosfwd.h: Tweak.
4160 * src/concept-inst.cc: Add iterator include.
4162 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
4163 bits as unexported in the future.
4165 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
4167 Reshuffle 22_locale testsuite.
4168 * 22_locale/(codecvt.cc money_get.cc
4169 codecvt_members_char_char.cc money_get_members_char.cc
4170 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
4171 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
4172 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
4173 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
4174 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
4175 money_put_members_char.cc ctor_copy_dtor.cc
4176 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
4177 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
4178 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
4179 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
4180 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
4181 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
4182 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
4183 operators.cc ctype_widen_char.cc static_members.cc
4184 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
4185 global_templates.cc time_get_members_wchar_t.cc, members.cc,
4186 time_put.cc, messages_byname.cc, time_put_members_char.cc,
4187 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
4188 Split up into individual test cases...
4189 * 22_locale/codecvt/1.cc: New.
4190 * 22_locale/codecvt/2.cc: New.
4191 * 22_locale/codecvt/always_noconv/char/1.cc: New.
4192 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
4193 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
4194 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
4195 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
4196 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
4197 * 22_locale/codecvt/encoding/char/1.cc: New.
4198 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
4199 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
4200 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
4201 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
4202 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
4203 * 22_locale/codecvt/in/char/1.cc: New.
4204 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
4205 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
4206 * 22_locale/codecvt/in/wchar_t/1.cc: New.
4207 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
4208 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
4209 * 22_locale/codecvt/length/char/1.cc: New.
4210 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
4211 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
4212 * 22_locale/codecvt/length/wchar_t/1.cc: New.
4213 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
4214 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
4215 * 22_locale/codecvt/max_length/char/1.cc: New.
4216 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
4217 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
4218 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
4219 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
4220 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
4221 * 22_locale/codecvt/out/char/1.cc: New.
4222 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
4223 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
4224 * 22_locale/codecvt/out/wchar_t/1.cc: New.
4225 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
4226 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
4227 * 22_locale/codecvt/unicode/char.cc: New.
4228 * 22_locale/codecvt/unicode/wchar_t.cc: New.
4229 * 22_locale/codecvt/unshift/char/1.cc: New.
4230 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
4231 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
4232 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
4233 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
4234 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
4235 * 22_locale/collate/1.cc: New.
4236 * 22_locale/collate/2.cc: New.
4237 * 22_locale/collate/compare/char/1.cc: New.
4238 * 22_locale/collate/compare/char/2.cc: New.
4239 * 22_locale/collate/compare/char/wrapped_env.cc: New.
4240 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
4241 * 22_locale/collate/compare/wchar_t/1.cc: New.
4242 * 22_locale/collate/compare/wchar_t/2.cc: New.
4243 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
4244 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
4245 * 22_locale/collate/hash/char/1.cc: New.
4246 * 22_locale/collate/hash/char/2.cc: New.
4247 * 22_locale/collate/hash/char/wrapped_env.cc: New.
4248 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
4249 * 22_locale/collate/hash/wchar_t/1.cc: New.
4250 * 22_locale/collate/hash/wchar_t/2.cc: New.
4251 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
4252 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
4253 * 22_locale/collate/transform/char/2.cc: New.
4254 * 22_locale/collate/transform/char/wrapped_env.cc: New.
4255 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
4256 * 22_locale/collate/transform/wchar_t/2.cc: New.
4257 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
4258 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
4259 * 22_locale/collate_byname/1.cc: New.
4260 * 22_locale/ctype/1.cc: New.
4261 * 22_locale/ctype/2.cc: New.
4262 * 22_locale/ctype/cons/char/1.cc: New.
4263 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
4264 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
4265 * 22_locale/ctype/is/char/1.cc: New.
4266 * 22_locale/ctype/is/char/2.cc: New.
4267 * 22_locale/ctype/is/char/3.cc: New.
4268 * 22_locale/ctype/is/char/wrapped_env.cc: New.
4269 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
4270 * 22_locale/ctype/is/wchar_t/1.cc: New.
4271 * 22_locale/ctype/is/wchar_t/2.cc: New.
4272 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
4273 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
4274 * 22_locale/ctype/narrow/char/1.cc: New.
4275 * 22_locale/ctype/narrow/char/2.cc: New.
4276 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
4277 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
4278 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
4279 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
4280 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
4281 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
4282 * 22_locale/ctype/scan/char/1.cc: New.
4283 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
4284 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
4285 * 22_locale/ctype/scan/wchar_t/1.cc: New.
4286 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
4287 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
4288 * 22_locale/ctype/to/char/1.cc: New.
4289 * 22_locale/ctype/to/char/wrapped_env.cc: New.
4290 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
4291 * 22_locale/ctype/to/wchar_t/1.cc: New.
4292 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
4293 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
4294 * 22_locale/ctype/widen/char/1.cc: New.
4295 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
4296 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
4297 * 22_locale/ctype/widen/wchar_t/1.cc: New.
4298 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
4299 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
4300 * 22_locale/facet/1.cc: New.
4301 * 22_locale/facet/2.cc: New.
4302 * 22_locale/global_templates/1.cc: New.
4303 * 22_locale/locale/cons/1.cc: New.
4304 * 22_locale/locale/cons/2.cc: New.
4305 * 22_locale/locale/cons/3.cc: New.
4306 * 22_locale/locale/cons/4.cc: New.
4307 * 22_locale/locale/cons/5.cc: New.
4308 * 22_locale/locale/cons/6.cc: New.
4309 * 22_locale/locale/cons/7.cc: New.
4310 * 22_locale/locale/global_locale_objects/1.cc: New.
4311 * 22_locale/locale/global_locale_objects/2.cc: New.
4312 * 22_locale/locale/global_locale_objects/3.cc: New.
4313 * 22_locale/locale/operations/1.cc: New.
4314 * 22_locale/locale/operations/2.cc: New.
4315 * 22_locale/messages/1.cc: New.
4316 * 22_locale/messages/2.cc: New.
4317 * 22_locale/messages/members/char/1.cc: New.
4318 * 22_locale/messages/members/char/2.cc: New.
4319 * 22_locale/messages/members/char/3.cc: New.
4320 * 22_locale/messages/members/char/wrapped_env.cc: New.
4321 * 22_locale/messages/members/char/wrapped_locale.cc: New.
4322 * 22_locale/messages_byname/1.cc: New.
4323 * 22_locale/money_get/1.cc: New.
4324 * 22_locale/money_get/2.cc: New.
4325 * 22_locale/money_get/get/char/1.cc: New.
4326 * 22_locale/money_get/get/char/2.cc: New.
4327 * 22_locale/money_get/get/char/3.cc: New.
4328 * 22_locale/money_get/get/char/4.cc: New.
4329 * 22_locale/money_get/get/char/5.cc: New.
4330 * 22_locale/money_get/get/char/6.cc: New.
4331 * 22_locale/money_get/get/char/7.cc: New.
4332 * 22_locale/money_get/get/char/8.cc: New.
4333 * 22_locale/money_get/get/char/wrapped_env.cc: New.
4334 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
4335 * 22_locale/money_get/get/wchar_t/1.cc: New.
4336 * 22_locale/money_get/get/wchar_t/2.cc: New.
4337 * 22_locale/money_get/get/wchar_t/3.cc: New.
4338 * 22_locale/money_get/get/wchar_t/4.cc: New.
4339 * 22_locale/money_get/get/wchar_t/5.cc: New.
4340 * 22_locale/money_get/get/wchar_t/6.cc: New.
4341 * 22_locale/money_get/get/wchar_t/7.cc: New.
4342 * 22_locale/money_get/get/wchar_t/8.cc: New.
4343 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
4344 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
4345 * 22_locale/money_put/1.cc: New.
4346 * 22_locale/money_put/2.cc: New.
4347 * 22_locale/money_put/put/char/1.cc: New.
4348 * 22_locale/money_put/put/char/2.cc: New.
4349 * 22_locale/money_put/put/char/3.cc: New.
4350 * 22_locale/money_put/put/char/4.cc: New.
4351 * 22_locale/money_put/put/char/5.cc: New.
4352 * 22_locale/money_put/put/char/6.cc: New.
4353 * 22_locale/money_put/put/char/wrapped_env.cc: New.
4354 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
4355 * 22_locale/money_put/put/wchar_t/1.cc: New.
4356 * 22_locale/money_put/put/wchar_t/2.cc: New.
4357 * 22_locale/money_put/put/wchar_t/3.cc: New.
4358 * 22_locale/money_put/put/wchar_t/4.cc: New.
4359 * 22_locale/money_put/put/wchar_t/5.cc: New.
4360 * 22_locale/money_put/put/wchar_t/6.cc: New.
4361 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
4362 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
4363 * 22_locale/moneypunct/1.cc: New.
4364 * 22_locale/moneypunct/2.cc: New.
4365 * 22_locale/moneypunct/3.cc: New.
4366 * 22_locale/moneypunct/members/char/1.cc: New.
4367 * 22_locale/moneypunct/members/char/2.cc: New.
4368 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
4369 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
4370 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
4371 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
4372 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
4373 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
4374 * 22_locale/moneypunct_byname/1.cc: New.
4375 * 22_locale/num_get/1.cc: New.
4376 * 22_locale/num_get/2.cc: New.
4377 * 22_locale/num_get/get/char/1.cc: New.
4378 * 22_locale/num_get/get/char/2.cc: New.
4379 * 22_locale/num_get/get/char/3.cc: New.
4380 * 22_locale/num_get/get/char/4.cc: New.
4381 * 22_locale/num_get/get/char/5.cc: New.
4382 * 22_locale/num_get/get/char/6.cc: New.
4383 * 22_locale/num_get/get/char/wrapped_env.cc: New.
4384 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
4385 * 22_locale/num_get/get/wchar_t/1.cc: New.
4386 * 22_locale/num_get/get/wchar_t/2.cc: New.
4387 * 22_locale/num_get/get/wchar_t/3.cc: New.
4388 * 22_locale/num_get/get/wchar_t/4.cc: New.
4389 * 22_locale/num_get/get/wchar_t/5.cc: New.
4390 * 22_locale/num_get/get/wchar_t/6.cc: New.
4391 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
4392 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
4393 * 22_locale/num_put/1.cc: New.
4394 * 22_locale/num_put/2.cc: New.
4395 * 22_locale/num_put/put/char/1.cc: New.
4396 * 22_locale/num_put/put/char/2.cc: New.
4397 * 22_locale/num_put/put/char/3.cc: New.
4398 * 22_locale/num_put/put/char/4.cc: New.
4399 * 22_locale/num_put/put/char/5.cc: New.
4400 * 22_locale/num_put/put/char/wrapped_env.cc: New.
4401 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
4402 * 22_locale/num_put/put/wchar_t/1.cc: New.
4403 * 22_locale/num_put/put/wchar_t/2.cc: New.
4404 * 22_locale/num_put/put/wchar_t/3.cc: New.
4405 * 22_locale/num_put/put/wchar_t/4.cc: New.
4406 * 22_locale/num_put/put/wchar_t/5.cc: New.
4407 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
4408 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
4409 * 22_locale/numpunct/1.cc: New.
4410 * 22_locale/numpunct/2.cc: New.
4411 * 22_locale/numpunct/members/char/1.cc: New.
4412 * 22_locale/numpunct/members/char/2.cc: New.
4413 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
4414 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
4415 * 22_locale/numpunct/members/wchar_t/1.cc: New.
4416 * 22_locale/numpunct/members/wchar_t/2.cc: New.
4417 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
4418 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
4419 * 22_locale/numpunct_byname/1.cc: New.
4420 * 22_locale/numpunct_byname/2.cc: New.
4421 * 22_locale/time_get/1.cc: New.
4422 * 22_locale/time_get/2.cc: New.
4423 * 22_locale/time_get/date_order/char/1.cc: New.
4424 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
4425 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
4426 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
4427 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
4428 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
4429 * 22_locale/time_get/get_date/char/1.cc: New.
4430 * 22_locale/time_get/get_date/char/2.cc: New.
4431 * 22_locale/time_get/get_date/char/3.cc: New.
4432 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
4433 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
4434 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
4435 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
4436 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
4437 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
4438 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
4439 * 22_locale/time_get/get_monthname/char/1.cc: New.
4440 * 22_locale/time_get/get_monthname/char/2.cc: New.
4441 * 22_locale/time_get/get_monthname/char/3.cc: New.
4442 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
4443 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
4444 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
4445 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
4446 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
4447 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
4448 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
4449 * 22_locale/time_get/get_time/char/1.cc: New.
4450 * 22_locale/time_get/get_time/char/2.cc: New.
4451 * 22_locale/time_get/get_time/char/3.cc: New.
4452 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
4453 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
4454 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
4455 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
4456 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
4457 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
4458 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
4459 * 22_locale/time_get/get_weekday/char/1.cc: New.
4460 * 22_locale/time_get/get_weekday/char/2.cc: New.
4461 * 22_locale/time_get/get_weekday/char/3.cc: New.
4462 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
4463 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
4464 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
4465 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
4466 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
4467 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
4468 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
4469 * 22_locale/time_get/get_year/char/1.cc: New.
4470 * 22_locale/time_get/get_year/char/3.cc: New.
4471 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
4472 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
4473 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
4474 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
4475 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
4476 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
4477 * 22_locale/time_put/1.cc: New.
4478 * 22_locale/time_put/2.cc: New.
4479 * 22_locale/time_put/put/char/1.cc: New.
4480 * 22_locale/time_put/put/char/10.cc: New.
4481 * 22_locale/time_put/put/char/2.cc: New.
4482 * 22_locale/time_put/put/char/3.cc: New.
4483 * 22_locale/time_put/put/char/4.cc: New.
4484 * 22_locale/time_put/put/char/5.cc: New.
4485 * 22_locale/time_put/put/char/6.cc: New.
4486 * 22_locale/time_put/put/char/7.cc: New.
4487 * 22_locale/time_put/put/char/8.cc: New.
4488 * 22_locale/time_put/put/char/9.cc: New.
4489 * 22_locale/time_put/put/char/wrapped_env.cc: New.
4490 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
4491 * 22_locale/time_put/put/wchar_t/1.cc: New.
4492 * 22_locale/time_put/put/wchar_t/10.cc: New.
4493 * 22_locale/time_put/put/wchar_t/2.cc: New.
4494 * 22_locale/time_put/put/wchar_t/3.cc: New.
4495 * 22_locale/time_put/put/wchar_t/4.cc: New.
4496 * 22_locale/time_put/put/wchar_t/5.cc: New.
4497 * 22_locale/time_put/put/wchar_t/6.cc: New.
4498 * 22_locale/time_put/put/wchar_t/7.cc: New.
4499 * 22_locale/time_put/put/wchar_t/8.cc: New.
4500 * 22_locale/time_put/put/wchar_t/9.cc: New.
4501 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
4502 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
4504 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
4506 * config/locale/generic/messages_members.h
4507 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
4508 unqualified members of base clasess.
4510 2003-01-16 Mark Mitchell <mark@codesourcery.com>
4511 Jeffrey Oldham <oldham@codesourcery.com>
4513 * config/locale/gnu/messages_members.h: Use this-> to refer to
4514 unqualified members of base clasess.
4515 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
4516 * include/bits/codecvt.h: Likewise.
4517 * include/bits/deque.tcc: Likewise.
4518 * include/bits/fstream.tcc: Likewise.
4519 * include/bits/istream.tcc: Likewise.
4520 * include/bits/list.tcc: Likewise.
4521 * include/bits/locale_facets.h: Likewise.
4522 * include/bits/ostream.tcc: Likewise.
4523 * include/bits/sstream.tcc: Likewise.
4524 * include/bits/stl_bvector.h: Likewise.
4525 * include/bits/stl_deque.h: Likewise.
4526 * include/bits/stl_list.h: Likewise.
4527 * include/bits/stl_tree.h: Likewise.
4528 * include/bits/stl_vector.h: Likewise.
4529 * include/bits/vector.tcc: Likewise.
4530 * include/ext/ropeimpl.h: Likewise.
4531 * include/ext/stdio_filebuf.h: Likewise.
4532 * include/ext/stl_rope.h: Likewise.
4533 * include/std/std_fstream.h: Likewise.
4534 * include/std/std_sstream.h: Likewise.
4536 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
4538 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
4540 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
4542 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
4543 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
4544 * aclocal.m4: Regenerate.
4545 * configure: Regenerate.
4546 * testsuite/Makefile.am (all-local): Add conditional rule to
4547 generate testsuite_wchar_t.
4548 * testsuite/Makefile.in: Regenerate.
4549 * testsuite/lib/libstdc++-v3-dg.exp
4550 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
4551 testsuite_wchar_t is not present in the build directory.
4552 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
4553 Remove setulimit bits.
4554 * testsuite/26_numerics/complex_value.cc: Set to noopts.
4555 * testsuite/Makefile.am (CLEANFILES): Add.
4556 * testsuite/Makefile.in: Regenerate.
4558 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
4560 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
4563 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
4565 Further conform g++'s __vmi_class_type_info to the C++ ABI
4567 * libsupc++/cxxabi.h
4568 (__vmi_class_type_info::__flags_masks): Remove enumerations not
4569 required by the specification.
4571 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
4573 Renames, namespaces for testsuite utilities.
4574 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
4575 (gnu_allocator_tracker): Rename to allocation_tracker.
4576 (gnu_new_allocator): Rename to tracker_alloc.
4577 (__set_testsuite_memlimit): Rename to set_memory_limits.
4578 (gnu_assignment_operator): Rename to assignment_operator.
4579 (gnu_destructor): Rename to destructor.
4580 (gnu_copy_tracker): Rename to copy_tracker.
4581 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
4582 (run_tests_wrapped_locale): New.
4583 (run_tests_wrapped_env): New.
4584 * testsuite/testsuite_hooks.cc: Same.
4585 (class locale_data): Add.
4586 (class enviornment_variable): Add.
4587 (class not_found): Add.
4588 * testsuite/testsuite_allocator.h: Same.
4589 * testsuite/testsuite_allocator.cc: Same.
4590 * testsuite/23_containers/deque_ctor.cc
4591 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
4593 Change gnu_new_allocator to tracker_alloc.
4594 Change gnu_counting_struct to counter.
4595 Change gnu_copy_tracker to copy_tracker.
4596 Change gnu_copy_constructor to copy_constructor.
4597 Change gnu_assignment_operator to assignment_operator.
4599 * testsuite/23_containers/vector_capacity.cc: Same.
4600 * testsuite/23_containers/vector_ctor.cc (test01): Same.
4601 * testsuite/23_containers/list_modifiers.cc: Change
4602 gnu_copy_tracker to copy_tracker.
4603 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
4604 __set_testsuite_memlimit to set_memory_limits.
4605 * testsuite/21_strings/insert.cc (main): Same.
4606 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
4607 * testsuite/27_io/stringstream.cc: Same.
4608 * testsuite/27_io/stringbuf.cc: Same.
4609 * testsuite/27_io/streambuf.cc: Same.
4610 * testsuite/27_io/ostream.cc: Same.
4611 * testsuite/27_io/istream.cc: Same.
4612 * testsuite/27_io/fstream.cc: Same.
4613 * testsuite/lib/libstdc++-v3-dg.exp
4614 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
4615 three levels deeper in glob patterns.
4617 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
4619 * docs/doxygen/tables.html: Finished now.
4620 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
4621 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
4624 * include/bits/deque.tcc, include/bits/stl_alloc.h,
4625 include/bits/stl_deque.h, include/bits/stl_list.h,
4626 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
4629 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
4631 * configure.in: Revert.
4632 * configure: Regenerate.
4634 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
4636 * include/Makefile.am (install-data-local): Prepend
4637 $(DESTDIR) to destination paths in all (un)installation
4638 commands. Use ${c_base_builddir} and ${std_builddir}
4639 as destination subdirectories to achieve consistency with
4640 preceding mkinstalldirs commands. No effect because both
4641 variables contain "." only.
4642 * include/Makefile.in: Regenerate.
4644 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
4646 * include/Makefile.am (stamp-*): Add checks for existing stamps.
4647 * include/Makefile.in: Regenerate.
4649 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
4650 * aclocal.m4: Regenerate.
4652 * configure.in: Don't add new multi-do rules every time the
4653 directory is reconfigured.
4654 * configure: Regenerate.
4656 2003-01-08 Brad Spencer <spencer@infointeractive.com>
4657 Nathan Myers <ncm@cantrip.org>
4659 * src/Makefile.am (stamp-debug): Clean.
4660 * src/Makefile.in: Regenerate.
4662 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
4665 * Makefile.am (distclean-multi): Fix.
4666 * Makefile.in: Regenerate.
4668 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
4670 * include/bits/locale_facets.h (messages): Move ctor, dtor
4672 (__timepunct): Same.
4673 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
4674 definitions. Conditionalize for GNU systems.
4675 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
4677 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
4678 definitions. Conditionalize for GNU systems.
4679 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
4681 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
4682 * src/locale.cc: Define.
4683 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
4685 * config/locale/gnu/time_members.h: Use it.
4686 * config/locale/gnu/messages_members.h: Use it.
4687 * config/linker-map.gnu: Add locale::facets details.
4688 * include/Makefile.am (target_headers_extra): Add time_members.h.
4689 * include/Makefile.in: Regenerate.
4690 * acinclude.m4: Export CTIME_H.
4691 * aclocal.m4: Regenerate.
4692 * configure: Regnerate.
4694 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
4697 (codecvt<char, char, mbstate_t>::do_in, do_out):
4698 Tweak parameters to avoid unused parameter warnings.
4700 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
4703 * include/bits/locale_facets.cc (num_put::_M_convert_float):
4704 Limit __prec to digits10 + 2, not digits10 + 1, taking into
4705 account the possibility of %{g,G} conversion specifiers
4706 inside _S_format_float.
4707 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
4709 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4711 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
4712 libstdc++-v3-list-sourcefiles): Additionally handle files one
4713 level deeper in glob patterns.
4715 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
4716 * testsuite/27_io/istream_extractor_arith/01.cc,
4717 testsuite/27_io/istream_extractor_arith/02.cc,
4718 testsuite/27_io/istream_extractor_arith/03.cc,
4719 testsuite/27_io/istream_extractor_arith/06.cc,
4720 testsuite/27_io/istream_extractor_arith/07.cc,
4721 testsuite/27_io/istream_extractor_arith/08.cc,
4722 testsuite/27_io/istream_extractor_arith/09.cc,
4723 testsuite/27_io/istream_extractor_arith/10.cc,
4724 testsuite/27_io/istream_extractor_arith/11.cc,
4725 testsuite/27_io/istream_extractor_arith/12.cc,
4726 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
4727 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
4730 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
4734 (codecvt<char, char, mbstate_t>::do_in, do_out):
4735 Implement the resolution of DR19 (TC).
4736 * testsuite/22_locale/codecvt_members_char_char.cc
4739 2003-01-02 Jason Merrill <jason@redhat.com>
4741 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
4742 *__mem is also an output.
4743 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.