]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
streambuf.tcc (__copy_streambufs): Don't use _M_buf_size (synced input is now correct...
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
44b84cc9
PC
12003-04-28 Paolo Carlini <pcarlini@unitus.it>
2
3 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
4 _M_buf_size (synced input is now correctly dealt with
5 elsewhere); when the output buffer is full don't fall back
6 to a snextc-sputc loop, call overflow instead.
7
ca78f36a
PC
82003-04-28 Paolo Carlini <pcarlini@unitus.it>
9
10 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
11 the innermost 'if' by factoring out some code.
12
ad414290
PE
132003-04-28 Phil Edwards <pme@gcc.gnu.org>
14
15 * configure.in: Test for libintl.h.
16 * include/bits/c++config: Define __N for everybody.
17 * include/bits/basic_string.h, include/bits/stl_bvector.h,
18 include/bits/stl_deque.h, include/bits/stl_vector.h,
19 include/std/std_bitset.h: Wrap all __throw* text with __N.
20 * po/Makefile.am (pot): New rule, mostly working.
21 * src/functexcept.cc: Call gettext on all __throw* arguments when
22 -fexceptions is in effect.
23 * po/Makefile.in, config.h.in, configure: Regenerate.
24
2aacd735
BK
252003-04-28 Petur Runolfsson <peturr02@ru.is>
26
27 PR libstdc++/9523
28 * include/bits/ios_base.h (Init::_S_ios_create,
29 Init::_S_ios_destroy): Remove declarations.
30 (Init::_S_create_buffers,
31 Init::_S_destroy_buffers): Declare
32 * src/ios.cc (Init::_S_ios_create): Remove
33 (Init::_S_create_buffers): Create buffers and add to streams.
34 (Init::_S_ios_destroy): Rename to...
35 (Init::_S_destroy_buffers): this.
36 (Init::Init): Only construct streams once.
37 (Init::~Init): Flush streams, don't destroy them.
38 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
39 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
40 * testsuite/27_io/objects/char/5.cc: New test.
41 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
42 * testsuite/27_io/objects/char/6.cc: New test.
43 * testsuite/27_io/objects/char/7.cc: New test.
44
452003-04-28 Benjamin Kosnik <bkoz@redhat.com>
46
47 * testsuite/27_io/objects/char/8.cc: New test.
48
af779169
BK
492003-04-28 Benjamin Kosnik <bkoz@redhat.com>
50
51 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
52 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
53
aa438e8f
BK
542003-04-27 Benjamin Kosnik <bkoz@redhat.com>
55
56 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
57 _M_destroy_pback. _M_pback_create to
58 _M_create_pback. _M_underflow_common to
59 _M_underflow. _M_really_overflow to _M_overflow.
60 * include/bits/fstream.tcc: Same.
61 * src/fstream.cc: Same.
62 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
63 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
64 * include/bits/streambuf.tcc: Same.
65 * include/bits/fstream.tcc: Same.
66 * include/bits/sstream.tcc: Same.
67
73c4dcc6
BK
682003-04-27 Benjamin Kosnik <bkoz@redhat.com>
69
70 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
71 from fixed size array.
72 (locale): Change _S_categories as well.
73 Formatting tweaks.
74 * include/bits/locale_facets.tcc: Tweak.
75 * config/locale/gnu/c_locale.cc: Assign _S_categories.
76 * config/locale/generic/c_locale.cc: Same.
77 * src/locale.cc: Tweak.
78 * src/globals.cc: Change facet_name to name_vec, add names_c.
79 * src/localename.cc: Use them.
80 (locale::_Impl::~_Impl): Destroy _M_names.
81 (locale::_Impl::_Impl): Create _M_names.
82
691d0896
AS
832003-04-27 Andreas Schwab <schwab@suse.de>
84
85 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
86 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
87
2d9d5235
NM
882003-04-27 Nathan Myers <ncm@cantrip.org>
89
90 Move some basic_string members out of line because
91 they are too big to reasonably be inline.
92 * include/bits/basic_string.h
93 (assign(const basic_string&, size_type, size_type),
94 assign(const _CharT*, size_type),
95 insert(size_type, const basic_string&, size_type, size_type),
96 insert(size_type, const _CharT*, size_type),
97 replace(size_type, size_type, const _CharT*, size_type)):
98 Move from here to...
99 * include/bits/basic_string.tcc: ...here.
100
c7f79b4c
PC
1012003-04-26 Paolo Carlini <pcarlini@unitus.it>
102
103 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
104 the innermost 'if' by factoring out some code.
105
ac5b7972
PC
1062003-04-26 Paolo Carlini <pcarlini@unitus.it>
107
108 * include/bits/streambuf.tcc (__copy_streambufs): Don't
109 use in_avail(), simplify.
110
1112003-04-26 Paolo Carlini <pcarlini@unitus.it>
112
113 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
114 in basic_stringbuf it's unused.
115
116 * include/std/std_sstream.h (underflow): consistently use
117 _M_in_cur, not gptr().
118
04ab0b3e
RM
1192003-04-25 Ranjit Mathew <rmathew@hotmail.com>
120 Phil Edwards <pme@gcc.gnu.org>
121
122 * testsuite_flags.in: Guard against the possibility
123 of having "xgcc" as a part of a folder name in the
124 path to the GCC build folder.
125 * testsuite/Makefile.am: Likewise.
126 * testsuite/Makefile.in: Regenerated.
127
a1796d12
BK
1282003-04-25 Benjamin Kosnik <bkoz@redhat.com>
129
130 PR libstdc++/10132
131 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
132 exception specifications.
133 (basic_filebuf::close): Same.
134 (basic_filebuf::_M_pback_destroy): Same.
135 (basic_filebuf::_M_destroy_internal_buffer): Same.
136 (basic_filebuf): Remove __res_type typedef.
137 * src/fstream.cc: Same.
138 * include/bits/fstream.tcc
139 (basic_filebuf::_M_convert_to_external): Simplify.
140 (basic_filebuf::seekoff): Use has_facet before use_facet.
141 (basic_filebuf::close): Add exception specification of throw().
142 * testsuite/27_io/basic_filebuf/cons: New.
143 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
144 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
145 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
146 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
147
89e9920b
BK
1482003-04-25 Benjamin Kosnik <bkoz@redhat.com>
149
150 * include/bits/locale_classes.h
151 (locale::_S_extra_categories_size): Remove.
152 * src/locale.cc: Remove _S_extra_categories_size.
153 * src/localename.cc: Same.
154 * config/locale/gnu/c_locale.cc: Same.
155 * config/locale/generic/c_locale.cc: Same.
156
ee8ce6db
RS
1572003-04-24 Richard Sandiford <rsandifo@redhat.com>
158
159 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
160
39ec5225
PE
1612003-04-24 Phil Edwards <pme@gcc.gnu.org>
162
163 * docs/html/17_intro/howto.html: Update some links.
164 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
165 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
166 * docs/html/ext/howto.html: Link to demangler notes and API.
167 * docs/html/faq/index.html: Remove trailing whitespace.
168 (1.4, 2.4, 3.8, 4.1): Bring up to date.
169 (5.6): Change to a bulleted list.
170
171 * docs/html/faq/index.txt, docs/html/documentation.html,
172 docs/html/17_intro/porting.html: Regenerate.
173
06f5e637
PC
1742003-04-23 Paolo Carlini <pcarlini@unitus.it>
175
176 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
177 belongs to basic_filebuf.
178 * testsuite/27_io/basic_fstream/3.cc: Likewise.
179 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
180 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
181 instantiation (now belongs to basic_filebuf).
182 * testsuite/27_io/basic_iostream/3.cc: Likewise.
183 * testsuite/27_io/basic_istream/3.cc: Likewise.
184 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
185 _S_pback_size now belongs to basic_filebuf.
186 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
187 instantiation (now belongs to basic_filebuf).
188 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
189 belongs to basic_filebuf.
190 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
191 instantiation (now belongs to basic_filebuf).
192 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
193 _S_pback_size now belongs to basic_filebuf.
194 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
195 instantiation (now belongs to basic_filebuf).
196 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
197 to basic_filebuf.
198 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
199 instantiation (now belongs to basic_filebuf).
200 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
201
249ed716 2022003-04-23 Benjamin Kosnik <bkoz@redhat.com>
40a22d93 203
249ed716
BK
204 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
205 * configure: Regenerated.
206
2072003-04-23 Benjamin Kosnik <bkoz@redhat.com>
208
40a22d93
BK
209 * config/locale/generic/c_locale.h (__convert_from_v): Use
210 attribute unused.
211
6894ddcf
PE
2122003-04-23 Phil Edwards <pme@gcc.gnu.org>
213
214 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
215 implementation only.
216 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
217 Comment and change to comply with DR 60 and the effect on gcount().
218 * include/std/std_istream.h: Update comments.
219 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
220 comments about reasons for tests. Test sync() against gcount().
221 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
222 for effect on gcount().
223 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
224 for effect on gcount().
225
9734801a
LR
2262003-04-22 Loren J. Rittle <ljrittle@acm.org>
227
228 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
229 Adjust timing.
230
45aca21f
PC
2312003-04-22 Paolo Carlini <pcarlini@unitus.it>
232
233 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
234 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
235 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
236 (basic_streambuf::basic_streambuf()): Adjust.
237 * include/std/std_fstream.h (_S_pback_size, _M_pback,
238 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
239 _M_pback_create(), _M_pback_destroy()): Moved here
240 from basic_streambuf.
241 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
242 Adjust.
243 (basic_filebuf::_S_pback_size): Add declaration.
244 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
245 Remove declaration.
246
07c2b60d
PC
2472003-04-21 Paolo Carlini <pcarlini@unitus.it>
248
249 Consistently use _M_in_beg instead of eback(), _M_in_cur
250 instead of gptr(), and so on.
251 * include/bits/fstream.tcc (pbackfail, imbue): Here.
252 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
253 * include/bits/streambuf.tcc (sbumpc, sputbackc,
254 __copy_streambufs): Ditto.
255 * include/std/std_streambuf.h (sgetc): Ditto.
256
65085aa3
PC
2572003-04-21 Paolo Carlini <pcarlini@unitus.it>
258
259 * include/bits/sstream.tcc (pbackfail, overflow):
260 Formatting fixes.
261
9d3e38ec
PC
2622003-04-21 Paolo Carlini <pcarlini@unitus.it>
263
264 * include/std/std_streambuf.h (uflow()): It's used only by
265 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
266 therefore do not consider the _M_buf_unified == true case.
267
268 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
269
6f9106c2
PC
2702003-04-20 Paolo Carlini <pcarlini@unitus.it>
271
272 * docs/html/ext/howto.html ('LWG Issues'):
273 Add issues 19, 90, 171, 231, 271.
274
5e77a357
PC
2752003-04-20 Paolo Carlini <pcarlini@unitus.it>
276
277 * include/bits/sstream.tcc (pbackfail): Remove redundant
278 NULL pointer check from test involving _M_in_*.
279 (overflow, seekoff, seekpos): Const qualify bool variables.
280 * include/std/std_sstream.h (underflow): Remove redundant
281 NULL pointer check from test involving _M_in_*.
282 (_M_really_sync): Const qualify bool variables.
283 * src/fstream.cc (_M_underflow_common): Remove redundant
284 NULL pointer check from test involving _M_in_*, const qualify
285 bool variables.
286
287 * include/std/std_streambuf.h (sgetc): Remove redundant
288 variable.
289
0b176c1a
PC
2902003-04-18 Paolo Carlini <pcarlini@unitus.it>
291
292 According to 5.9 para 2 (second bullet) for pointers p, q
293 pointing to the same type, with p == 0 and q == 0, (p < q)
294 is false.
295 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
296 seekoff): Remove redundant NULL pointer checks from tests
297 involving _M_out_* and _M_in_*, const qualify bool variables.
298 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
299 qualify bool variables.
300 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
301 Remove redundant NULL pointer checks from tests involving
302 _M_out_* and _M_in_*, const qualify bool variables.
303 * include/std/std_fstream.h (sync): Likewise.
304 (_M_is_indeterminate): Const qualify bool variables.
305 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
306 NULL pointer checks from tests involving _M_out_* and _M_in_*,
307 const qualify bool variables.
308 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
309 variables.
310
c04ec67e
LR
3112003-04-18 Loren J. Rittle <ljrittle@acm.org>
312
313 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
314 C99 FP macros, if actually captured.
315
9c594837
LR
316 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
317 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
318 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
319 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
320 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
321 New macro.
322 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
323 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
324 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
325 * include/c_std/std_cstdlib.h: Use new macros.
326 * include/c_std/std_cstdio.h: Use new macros.
327 * include/c_std/std_cwchar.h: Use new macros.
328
06e7ca50
BK
3292003-04-17 Benjamin Kosnik <bkoz@redhat.com>
330
331 PR libstdc++/9555
332 * include/bits/ostream.tcc: Catch all exceptions for formatted
333 output, instead of std::exception and derivatives.
334 * include/bits/istream.tcc: Same.
335 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
336 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
337 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
338 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
339 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
340 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
341 New.
342
3cfbe178
PE
3432003-04-17 Phil Edwards <pme@gcc.gnu.org>
344
345 * include/bits/c++config: Minor cosmetic tweaks.
346
8520f704
LR
3472003-04-17 Loren J. Rittle <ljrittle@acm.org>
348
349 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
350 * include/Makefile.am (pch_input): Find in ${target_builddir}.
351 (pch_output): Rename to...
352 (pch_output_builddir): ..this. Find in ${target_builddir}.
353 (pch_source): Tweak.
354 (pch_build): Key off a built file.
355 (pch_output rule): Rename to...
356 (pch_input rule): ...this. Produce ${pch_output_builddir}
357 instead of ${pch_output}.
358 (install-pch rule): Install ${pch_output_builddir}.
359 * include/Makefile.in: Regenerated.
360
b5bc3efb
PC
3612003-04-17 Paolo Carlini <pcarlini@unitus.it>
362
363 * include/std/std_streambuf.h (setp): _M_out_lim, being
364 the end limit of used put area, is set equal to _M_out_beg.
365
9e57d5ca
BK
3662003-04-16 Benjamin Kosnik <bkoz@redhat.com>
367
368 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
369 * aclocal.m4: Regenerated.
370 * configure.in: Remove old demangler bits.
371 Call pch checks.
372 * configure: Regenerate.
373 * config.h.in: Regenerate.
374 * include/Makefile.am (allstamps): Now allstamped.
375 (allcreated): Define this.
376 (all-local): Use 'em.
377 Conditionally define pch_build, pch_install based on
378 GLIBCPP_BUILD_PCH.
379 (${pch_output}): New rule.
380 (install-pch): New rule.
381 (install-headers): New rule.
382 (install-data-local): Install headers and conditionally pch.
383 * include/Makefile.in: Regenerate.
384 * testsuite_flags.in (--build-cxx): Use pch file.
385
771aa05a
JW
3862003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
387
388 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
389
bafa3c3c
BK
3902003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
391 Paolo Carlini <pcarlini at unitus dot it>
392
393 PR libstdc++/9423
394 * docs/html/27_io/howto.html
395 ('The buffering is screwing up my program!'): Explain that
396 opening counts as an I/O operation.
397
8a4680db
AT
3982003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
399
400 * testsuite/thread/pthread1.cc: Enable for darwin test.
401 * testsuite/thread/pthread2.cc: Same.
402 * testsuite/thread/pthread3.cc: Same.
403 * testsuite/thread/pthread4.cc: Same.
404 * testsuite/thread/pthread5.cc: Same.
405 * testsuite/thread/pthread6.cc: Same.
406
b39d0359
LR
4072003-04-15 Loren J. Rittle <ljrittle@acm.org>
408
409 libstdc++/7680
410 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
411 Populate it with multiple legal ways to obtain the C99 float
412 transcendentals. Use them instead of direct global reference.
413 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
414 * docs/html/17_intro/porting.texi
415 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
416 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
417 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
418 * config/os/bsd/freebsd/os_defines.h
419 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
420 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
421 * testsuite/26_numerics/c_math_dynamic.cc: New file.
422
3d838e28
BK
4232003-04-14 Andreas Tobler <toa@pop.agri.ch>
424 Benjamin Kosnik <bkoz@redhat.com>
425
426 * config/os/generic/ctype_inline.h: Fix.
427
4282003-04-14 Benjamin Kosnik <bkoz@redhat.com>
429
430 * testsuite/testsuite_hooks.h
431 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
35a54b49 432 Change to try_named_locale.
3d838e28
BK
433 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
434
435 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
35a54b49 436 try_named_locale.
3d838e28
BK
437 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
438 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
439 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
440 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
441 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
442 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
443 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
444 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
445 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
446 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
447 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
448 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
449 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
450 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
451 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
452 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
453 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
454 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
455 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
456 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
457 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
458 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
459 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
460 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
461 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
462 * testsuite/22_locale/collate/compare/char/1.cc: Same.
463 * testsuite/22_locale/collate/compare/char/2.cc: Same.
464 * testsuite/22_locale/collate/compare/char/3.cc: Same.
465 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
466 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
467 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
468 * testsuite/22_locale/collate/hash/char/2.cc: Same.
469 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
470 * testsuite/22_locale/collate/transform/char/2.cc: Same.
471 * testsuite/22_locale/collate/transform/char/3.cc: Same.
472 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
473 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
474 * testsuite/22_locale/collate_byname/1.cc: Same.
475 * testsuite/22_locale/ctype/is/char/2.cc: Same.
476 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
477 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
478 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
479 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
480 * testsuite/22_locale/facet/2.cc: Same.
481 * testsuite/22_locale/locale/cons/2.cc: Same.
482 * testsuite/22_locale/locale/cons/4.cc: Same.
483 * testsuite/22_locale/locale/cons/5.cc: Same.
484 * testsuite/22_locale/locale/cons/7.cc: Same.
485 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
486 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
487 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
488 * testsuite/22_locale/messages/members/char/1.cc: Same.
489 * testsuite/22_locale/messages/members/char/2.cc: Same.
490 * testsuite/22_locale/messages/members/char/3.cc: Same.
491 * testsuite/22_locale/messages_byname/1.cc: Same.
492 * testsuite/22_locale/money_get/get/char/1.cc: Same.
493 * testsuite/22_locale/money_get/get/char/2.cc: Same.
494 * testsuite/22_locale/money_get/get/char/3.cc: Same.
495 * testsuite/22_locale/money_get/get/char/4.cc: Same.
496 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
497 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
498 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
499 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
500 * testsuite/22_locale/money_put/put/char/1.cc: Same.
501 * testsuite/22_locale/money_put/put/char/2.cc: Same.
502 * testsuite/22_locale/money_put/put/char/3.cc: Same.
503 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
504 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
505 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
506 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
507 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
508 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
509 * testsuite/22_locale/num_get/get/char/1.cc: Same.
510 * testsuite/22_locale/num_get/get/char/2.cc: Same.
511 * testsuite/22_locale/num_get/get/char/3.cc: Same.
512 * testsuite/22_locale/num_get/get/char/5.cc: Same.
513 * testsuite/22_locale/num_get/get/char/6.cc: Same.
514 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
515 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
516 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
517 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
518 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
519 * testsuite/22_locale/num_put/put/char/1.cc: Same.
520 * testsuite/22_locale/num_put/put/char/2.cc: Same.
521 * testsuite/22_locale/num_put/put/char/3.cc: Same.
522 * testsuite/22_locale/num_put/put/char/5.cc: Same.
523 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
524 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
525 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
526 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
527 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
528 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
529 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
530 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
531 * testsuite/22_locale/numpunct_byname/1.cc: Same.
532 * testsuite/22_locale/numpunct_byname/2.cc: Same.
533 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
534 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
535 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
536 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
537 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
538 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
539 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
540 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
541 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
542 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
543 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
544 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
545 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
546 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
547 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
548 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
549 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
550 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
551 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
552 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
553 * testsuite/22_locale/time_put/put/char/1.cc: Same.
554 * testsuite/22_locale/time_put/put/char/2.cc: Same.
555 * testsuite/22_locale/time_put/put/char/3.cc: Same.
556 * testsuite/22_locale/time_put/put/char/4.cc: Same.
557 * testsuite/22_locale/time_put/put/char/5.cc: Same.
558 * testsuite/22_locale/time_put/put/char/6.cc: Same.
559 * testsuite/22_locale/time_put/put/char/7.cc: Same.
560 * testsuite/22_locale/time_put/put/char/8.cc: Same.
561 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
562 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
563 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
564 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
565 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
566 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
567 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
568 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
569 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
570 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
571 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
572 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
573 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
574
5752003-04-14 Andreas Tobler <toa@pop.agri.ch>
576
577 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
578 solaris includes, not generic.
579
e0dfd3fa
LR
5802003-04-14 Loren J. Rittle <ljrittle@acm.org>
581
582 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
583
4ea34005
LR
584 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
585 * include/bits/concept_check.h: Fix multi-line comment.
586 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
587 when target is *-*-freebsd*.
588
21a1d2c4
NM
5892003-04-14 Nathan Myers <ncm@cantrip.org>
590 Paolo Carlini <pcarlini@unitus.it>
591
592 PR libstdc++/9701 (in_avail())
593 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
594 doesn't care if there is anything in some putback cell.
595 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
596
597 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
598 unused string literals.
599
22fc0e9f
PC
6002003-04-14 Paolo Carlini <pcarlini@unitus.it>
601
602 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
603 _M_out_end, _M_set_indeterminate() does it.
604
26af0e5d
JDA
6052003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
606
607 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
608
4440f5b5
DE
6092003-04-12 David Edelsohn <edelsohn@gnu.org>
610
611 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
612 Change basic_streambuf instantiation to "unsigned char".
613 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
614
7ef9fd85
PC
6152003-04-12 Paolo Carlini <pcarlini@unitus.it>
616
617 Remove _M_buf_size_opt, use directly _M_buf_size instead.
618 * include/bits/fstream.tcc
619 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
620 references to _M_buf_size_opt.
621 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
622 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
623 __bufsize to __in_avail and __size_opt to __buf_size.
624 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
625 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
626 * include/std/std_streambuf.h (~basic_streambuf(),
627 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
628 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
629 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
630 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
631 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
632 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
633 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
634 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
635 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
636 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
637 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
638 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
639 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
640
2ad00228
PC
6412003-04-12 Paolo Carlini <pcarlini at unitus dot it>
642
643 * include/ext/stdio_filebuf.h
644 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
645 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
646 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
647 since a stack-based buffer is used for small values of the size_t
648 parameter.
649 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
650 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
651 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
652
2bc67e06
PC
6532003-04-12 Paolo Carlini <pcarlini@unitus.it>
654
655 PR libstdc++/9533
656 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
657 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
658
8d3f856e
BK
6592003-04-11 Benjamin Kosnik <bkoz@redhat.com>
660
661 * testsuite/22_locale/locale/cons/3.cc: Split.
662 * testsuite/22_locale/locale/cons/7222-c.cc: New.
663 * testsuite/22_locale/locale/cons/7222-env.cc: New.
664 Check before trying to create a locale from the environment.
665 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
666 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
667 Adjust includes.
668
6df0c1b4
BK
6692003-04-11 Benjamin Kosnik <bkoz@redhat.com>
670
671 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
672 locale to construct this hybrid locale, not the global locale.
673
d67b7799
BK
6742003-04-11 Benjamin Kosnik <bkoz@redhat.com>
675
676 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
677 instantiation for AIX.
678 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
679 * testsuite/25_algorithms/min_max.cc: Same.
680
e6670c79
JDA
6812003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
682
683 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
684 twice. Always set _M_cfile to 0 when stream was open.
685
23cac885
BK
6862003-04-09 Benjamin Kosnik <bkoz@redhat.com>
687
688 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
689 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
690 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
691 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
692 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
693 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
694 ifstream_members.cc, instantiations.cc, ios.cc,
695 ios_base_callbacks.cc, ios_base_members_static-1.tst,
696 ios_base_members_static.cc, ios_base_storage.cc,
697 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
698 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
699 iostream.cc, iostream_members.cc, istream.cc,
700 istream_exception.cc, istream_extractor_char.cc,
701 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
702 istream_extractor_other-2.tst, istream_extractor_other.cc,
703 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
704 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
705 istream_sentry.cc, istream_unformatted-1.tst,
706 istream_unformatted-1.txt, istream_unformatted.cc,
707 istringstream.cc, istringstream_members.cc,
708 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
709 ofstream_members.cc, ostream.cc, ostream_exception.cc,
710 ostream_fail.cc, ostream_inserter_arith.cc,
711 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
712 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
713 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
714 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
715 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
716 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
717 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
718 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
719 wide_stream_objects.cc, istream_extractor_arith/01.cc,
720 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
721 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
722 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
723 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
724 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
725 Split into...
726 * 27_io/basic_filebuf/1.cc: New.
727 * 27_io/basic_filebuf/2.cc: New.
728 * 27_io/basic_filebuf/3.cc: New.
729 * 27_io/basic_filebuf/4.cc: New.
730 * 27_io/basic_filebuf/close/char/1.cc: New.
731 * 27_io/basic_filebuf/close/char/2.cc: New.
732 * 27_io/basic_filebuf/close/char/3.cc: New.
733 * 27_io/basic_filebuf/close/char/4879.cc: New.
734 * 27_io/basic_filebuf/close/char/9964.cc: New.
735 * 27_io/basic_filebuf/imbue/char/1.cc: New.
736 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
737 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
738 * 27_io/basic_filebuf/is_open/char/1.cc: New.
739 * 27_io/basic_filebuf/open/char/1.cc: New.
740 * 27_io/basic_filebuf/open/char/2.cc: New.
741 * 27_io/basic_filebuf/open/char/3.cc: New.
742 * 27_io/basic_filebuf/open/char/9507.cc: New.
743 * 27_io/basic_filebuf/overflow/char/1.cc: New.
744 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
745 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
746 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
747 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
748 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
749 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
750 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
751 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
752 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
753 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
754 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
755 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
756 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
757 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
758 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
759 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
760 * 27_io/basic_filebuf/snextc/char/1.cc: New.
761 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
762 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
763 * 27_io/basic_filebuf/sputc/char/1.cc: New.
764 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
765 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
766 * 27_io/basic_filebuf/sputn/char/1.cc: New.
767 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
768 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
769 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
770 * 27_io/basic_filebuf/sync/char/1057.cc: New.
771 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
772 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
773 * 27_io/basic_fstream/1.cc: New.
774 * 27_io/basic_fstream/2.cc: New.
775 * 27_io/basic_fstream/3.cc: New.
776 * 27_io/basic_fstream/4.cc: New.
777 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
778 * 27_io/basic_ifstream/1.cc: New.
779 * 27_io/basic_ifstream/2.cc: New.
780 * 27_io/basic_ifstream/3.cc: New.
781 * 27_io/basic_ifstream/4.cc: New.
782 * 27_io/basic_ifstream/cons/char/1.cc: New.
783 * 27_io/basic_ifstream/open/char/1.cc: New.
784 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
785 * 27_io/basic_ios/1.cc: New.
786 * 27_io/basic_ios/2.cc: New.
787 * 27_io/basic_ios/3.cc: New.
788 * 27_io/basic_ios/4.cc: New.
789 * 27_io/basic_ios/clear/char/1.cc: New.
790 * 27_io/basic_ios/cons/char/1.cc: New.
791 * 27_io/basic_ios/cons/char/2.cc: New.
792 * 27_io/basic_ios/cons/char/3.cc: New.
793 * 27_io/basic_ios/copyfmt/char/1.cc: New.
794 * 27_io/basic_ios/copyfmt/char/2.cc: New.
795 * 27_io/basic_ios/exceptions/char/1.cc: New.
796 * 27_io/basic_ios/locales/char/1.cc: New.
797 * 27_io/basic_iostream/1.cc: New.
798 * 27_io/basic_iostream/2.cc: New.
799 * 27_io/basic_iostream/3.cc: New.
800 * 27_io/basic_iostream/4.cc: New.
801 * 27_io/basic_istream/1.cc: New.
802 * 27_io/basic_istream/2.cc: New.
803 * 27_io/basic_istream/3.cc: New.
804 * 27_io/basic_istream/4.cc: New.
805 * 27_io/basic_istream/exceptions/char/9561.cc: New.
806 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
807 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
808 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
809 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
810 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
811 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
812 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
813 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
814 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
815 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
816 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
817 * 27_io/basic_istream/extractors_character/char/1.cc: New.
818 * 27_io/basic_istream/extractors_character/char/2.cc: New.
819 * 27_io/basic_istream/extractors_character/char/3.cc: New.
820 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
821 * 27_io/basic_istream/extractors_other/char/1.cc: New.
822 * 27_io/basic_istream/extractors_other/char/2.cc: New.
823 * 27_io/basic_istream/extractors_other/char/3.cc: New.
824 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
825 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
826 * 27_io/basic_istream/get/char/1.cc: New.
827 * 27_io/basic_istream/get/char/2.cc: New.
828 * 27_io/basic_istream/getline/char/1.cc: New.
829 * 27_io/basic_istream/getline/char/2.cc: New.
830 * 27_io/basic_istream/getline/char/3.cc: New.
831 * 27_io/basic_istream/ignore/char/1.cc: New.
832 * 27_io/basic_istream/ignore/char/6360.cc: New.
833 * 27_io/basic_istream/ignore/char/7220.cc: New.
834 * 27_io/basic_istream/peek/char/1.cc: New.
835 * 27_io/basic_istream/peek/char/6414.cc: New.
836 * 27_io/basic_istream/putback/char/1.cc: New.
837 * 27_io/basic_istream/read/char/1.cc: New.
838 * 27_io/basic_istream/read/char/2.cc: New.
839 * 27_io/basic_istream/read/char/3.cc: New.
840 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
841 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
842 * 27_io/basic_istream/readsome/char/8258.cc: New.
843 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
844 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
845 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
846 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
847 * 27_io/basic_istream/seekg/char/fstream.cc: New.
848 * 27_io/basic_istream/seekg/char/sstream.cc: New.
849 * 27_io/basic_istream/sentry/char/1.cc: New.
850 * 27_io/basic_istream/sentry/char/2.cc: New.
851 * 27_io/basic_istream/sentry/char/3.cc: New.
852 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
853 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
854 * 27_io/basic_istream/tellg/char/1.cc: New.
855 * 27_io/basic_istream/tellg/char/8348.cc: New.
856 * 27_io/basic_istream/tellg/char/fstream.cc: New.
857 * 27_io/basic_istream/tellg/char/sstream.cc: New.
858 * 27_io/basic_istream/ws/char/1.cc: New.
859 * 27_io/basic_istringstream/1.cc: New.
860 * 27_io/basic_istringstream/2.cc: New.
861 * 27_io/basic_istringstream/3.cc: New.
862 * 27_io/basic_istringstream/4.cc: New.
863 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
864 * 27_io/basic_istringstream/str/char/1.cc: New.
865 * 27_io/basic_ofstream/1.cc: New.
866 * 27_io/basic_ofstream/2.cc: New.
867 * 27_io/basic_ofstream/3.cc: New.
868 * 27_io/basic_ofstream/4.cc: New.
869 * 27_io/basic_ofstream/cons/char/2.cc: New.
870 * 27_io/basic_ofstream/open/char/1.cc: New.
871 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
872 * 27_io/basic_ostream/1.cc: New.
873 * 27_io/basic_ostream/2.cc: New.
874 * 27_io/basic_ostream/3.cc: New.
875 * 27_io/basic_ostream/4.cc: New.
876 * 27_io/basic_ostream/cons/char/9827.cc: New.
877 * 27_io/basic_ostream/endl/char/1.cc: New.
878 * 27_io/basic_ostream/ends/char/1.cc: New.
879 * 27_io/basic_ostream/ends/char/2.cc: New.
880 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
881 * 27_io/basic_ostream/flush/char/1.cc: New.
882 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
883 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
884 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
885 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
886 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
887 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
888 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
889 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
890 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
891 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
892 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
893 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
894 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
895 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
896 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
897 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
898 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
899 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
900 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
901 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
902 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
903 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
904 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
905 * 27_io/basic_ostream/sentry/char/1.cc: New.
906 * 27_io/basic_ostream/sentry/char/2.cc: New.
907 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
908 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
909 * 27_io/basic_ostream/tellp/char/1.cc: New.
910 * 27_io/basic_ostream/tellp/char/2.cc: New.
911 * 27_io/basic_ostringstream/1.cc: New.
912 * 27_io/basic_ostringstream/2.cc: New.
913 * 27_io/basic_ostringstream/3.cc: New.
914 * 27_io/basic_ostringstream/4.cc: New.
915 * 27_io/basic_ostringstream/cons/char/3.cc: New.
916 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
917 * 27_io/basic_ostringstream/str/char/1.cc: New.
918 * 27_io/basic_ostringstream/str/char/2.cc: New.
919 * 27_io/basic_streambuf/1.cc: New.
920 * 27_io/basic_streambuf/2.cc: New.
921 * 27_io/basic_streambuf/3.cc: New.
922 * 27_io/basic_streambuf/cons/char/1.cc: New.
923 * 27_io/basic_streambuf/imbue/char/1.cc: New.
924 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
925 * 27_io/basic_streambuf/overflow/char/1.cc: New.
926 * 27_io/basic_streambuf/overflow/char/2.cc: New.
927 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
928 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
929 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
930 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
931 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
932 * 27_io/basic_streambuf/sputn/char/1.cc: New.
933 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
934 * 27_io/basic_streambuf/sync/char/1057.cc: New.
935 * 27_io/basic_stringbuf/1.cc: New.
936 * 27_io/basic_stringbuf/2.cc: New.
937 * 27_io/basic_stringbuf/3.cc: New.
938 * 27_io/basic_stringbuf/4.cc: New.
939 * 27_io/basic_stringbuf/5.cc: New.
940 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
941 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
942 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
943 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
944 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
945 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
946 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
947 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
948 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
949 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
950 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
951 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
952 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
953 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
954 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
955 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
956 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
957 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
958 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
959 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
960 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
961 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
962 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
963 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
964 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
965 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
966 * 27_io/basic_stringbuf/str/char/1.cc: New.
967 * 27_io/basic_stringbuf/str/char/2.cc: New.
968 * 27_io/basic_stringbuf/str/char/3.cc: New.
969 * 27_io/basic_stringbuf/str/char/3955.cc: New.
970 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
971 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
972 * 27_io/basic_stringstream/1.cc: New.
973 * 27_io/basic_stringstream/2.cc: New.
974 * 27_io/basic_stringstream/3.cc: New.
975 * 27_io/basic_stringstream/4.cc: New.
976 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
977 * 27_io/basic_stringstream/str/char/1.cc: New.
978 * 27_io/basic_stringstream/str/char/2.cc: New.
979 * 27_io/basic_stringstream/str/char/3.cc: New.
980 * 27_io/basic_stringstream/str/char/4.cc: New.
981 * 27_io/fpos/1.cc: New.
982 * 27_io/fpos/2.cc: New.
983 * 27_io/fpos/3.cc: New.
984 * 27_io/ios_base/callbacks/1.cc: New.
985 * 27_io/ios_base/state/1.cc: New.
986 * 27_io/ios_base/storage/1.cc: New.
987 * 27_io/ios_base/storage/2.cc: New.
988 * 27_io/ios_base/storage/3.cc: New.
989 * 27_io/ios_base/sync_with_stdio/1.cc: New.
990 * 27_io/ios_base/sync_with_stdio/2.cc: New.
991 * 27_io/manipulators/adjustfield/char/1.cc: New.
992 * 27_io/manipulators/adjustfield/char/2.cc: New.
993 * 27_io/manipulators/basefield/char/1.cc: New.
994 * 27_io/manipulators/standard/char/1.cc: New.
995 * 27_io/manipulators/standard/char/2.cc: New.
996 * 27_io/objects/char/1.cc: New.
997 * 27_io/objects/char/2.cc: New.
998 * 27_io/objects/char/2523-1_xin.cc: New.
999 * 27_io/objects/char/2523-1_xin.in: New.
1000 * 27_io/objects/char/2523-2_xin.cc: New.
1001 * 27_io/objects/char/2523-2_xin.in: New.
1002 * 27_io/objects/char/3045.cc: New.
1003 * 27_io/objects/char/3647.cc: New.
1004 * 27_io/objects/char/3_xin.cc: New.
1005 * 27_io/objects/char/3_xin.in: New.
1006 * 27_io/objects/char/4_xin.cc: New.
1007 * 27_io/objects/char/4_xin.in: New.
1008 * 27_io/objects/char/5268.cc: New.
1009 * 27_io/objects/char/5280_xin.cc: New.
1010 * 27_io/objects/char/5280_xin.in: New.
1011 * 27_io/objects/char/6548_xin.cc: New.
1012 * 27_io/objects/char/6548_xin.in: New.
1013 * 27_io/objects/char/6648-1_xin.cc: New.
1014 * 27_io/objects/char/6648-1_xin.in: New.
1015 * 27_io/objects/char/6648-2_xin.cc: New.
1016 * 27_io/objects/char/6648-2_xin.in: New.
1017 * 27_io/objects/char/7744_xin.cc: New.
1018 * 27_io/objects/char/7744_xin.in: New.
1019 * 27_io/objects/wchar_t/1.cc: New.
1020 * 27_io/types/1.cc: New.
1021 * 27_io/types/2.cc: New.
1022 * data/filebuf_members-1.tst: New.
1023 * data/filebuf_members-1.txt: New.
1024 * data/filebuf_virtuals-1.tst: New.
1025 * data/filebuf_virtuals-1.txt: New.
1026 * data/filebuf_virtuals-2.tst: New.
1027 * data/filebuf_virtuals-3.tst: New.
1028 * data/ifstream_members-1.tst: New.
1029 * data/ifstream_members-1.txt: New.
1030 * data/ios_base_members_static-1.tst: New.
1031 * data/istream_extractor_other-1.tst: New.
1032 * data/istream_extractor_other-1.txt: New.
1033 * data/istream_extractor_other-2.tst: New.
1034 * data/istream_seeks-1.tst: New.
1035 * data/istream_seeks-1.txt: New.
1036 * data/istream_seeks-2.tst: New.
1037 * data/istream_seeks-3.tst: New.
1038 * data/istream_unformatted-1.tst: New.
1039 * data/istream_unformatted-1.txt: New.
1040 * data/ofstream_members-1.tst: New.
1041 * data/ostream_inserter_char-1.tst: New.
1042 * data/ostream_inserter_char-1.txt: New.
1043 * data/ostream_inserter_other-1.tst: New.
1044 * data/ostream_inserter_other-2.tst: New.
1045 * data/ostream_seeks-1.tst: New.
1046
10472003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1048
1049 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
1050 requirement that __mode must be strict input or output.
1051
1052 * include/std/std_streambuf.h (basic_streambuf::setp): Set
1053 _M_out_lim.
1054
1055 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
1056 output string shouldn't core.
1057 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
1058 type.
1059 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
1060
1061 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
1062 zero.
1063
10642003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1065
1066 * testsuite/data: New directory.
1067 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1068 to copy files from the testsuite data directory.
1069 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
1070 testfiles containing _xin, which now means this is an interactive
1071 test and should be run with the interactive dejagnu hooks.
1072 * testsuite/Makefile.am: Remove testsuite_* files.
1073 * testsuite/Makefile.in: Regenerate.
1074
a2cf38ee
ZW
10752003-04-09 Zack Weinberg <zack@codesourcery.com>
1076
1077 * docs/html/install.html: Document complete list of locales
1078 required by test suite. Document procedure for installing
1079 said locales under Debian. Solicit instructions for other
1080 operating systems.
1081
e9fcab62
AO
10822003-04-08 Alexandre Oliva <aoliva@redhat.com>
1083
1084 * include/bits/sstream.tcc (overflow): Make sure operands of min
1085 and max have the same type.
1086
e23afc6f
JQ
10872003-04-04 Jerry Quinn <jlquinn@optonline.net>
1088
941747b5 1089 PR libstdc++/10276
e23afc6f
JQ
1090 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
1091 initialization.
1092
eb98bd16
PC
10932003-03-31 Paolo Carlini <pcarlini@unitus.it>
1094
1095 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
1096 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
1097 Don't set _M_out_end.
1098 (basic_filebuf::overflow): Replace _M_out_buf_size() with
1099 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
1100 * include/bits/sstream.tcc (basic_stringbuf::overflow):
1101 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
1102 * include/bits/streambuf.tcc (basic_streambuf::sputc):
1103 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
1104 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
1105 _M_out_end - _M_out_cur.
1106 (__copy_streambufs): Likewise.
1107 * include/std/std_fstream.h (_M_set_determinate): Set
1108 _M_out_end here.
a2cf38ee 1109
631693d5
PC
11102003-03-30 Paolo Carlini <pcarlini@unitus.it>
1111
1112 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
1113 _M_convert_to_external, _M_really_overflow, seekoff): Fix
1114 test for synced buffer.
1115 * include/std/std_fstream.h (sync): Likewise.
1116 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
1117 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
1118
d29cc32f
BK
11192003-03-28 Benjamin Kosnik <bkoz@redhat.com>
1120
1121 * include/std/std_sstream.h (basic_istringstream): Adjust
1122 initialization.
1123 (basic_ostringstream): Same.
a2cf38ee 1124 (basic_stringstream): Same.
d29cc32f
BK
1125 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
1126 (basic_ofstream): Same.
1127 (basic_fstream): Same.
1128 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
1129 that does not call init.
a2cf38ee 1130 * include/std/std_istream.h (basic_istream): Same.
d29cc32f
BK
1131 (basic_iostream): Construct istream, ostream uninitialized, use
1132 init to initialize just once. Add protected ctor that does not
1133 call init.
1134
bbacb998 11352003-03-28 Paolo Carlini <pcarlini@unitus.it>
a2cf38ee 1136 Nathan Myers <ncm@cantrip.org>
bbacb998
PC
1137
1138 PR libstdc++/9533
1139 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
1140 call underflow().
1141 (basic_filebuf<>::showmanyc): Use the information provided
1142 by codecvt and __basic_file<>::showmanyc_helper to implement
1143 a non-trivial showmanyc.
1144 * config/io/basic_file_stdio.h
1145 (__basic_file<>::showmanyc_helper): New, declare.
1146 * config/io/basic_file_stdio.cc
1147 (__basic_file<>::showmanyc_helper): Define.
1148 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
1149 (__basic_file<char>::open): Don't call fcntl().
1150 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
1151 GLIBCPP_CHECK_POLL): New macros.
1152 * configure.in: Call here.
1153 * acconfig.h: Add #undefs for the corresponding symbols.
1154 * aclocal.m4: Regenerate.
1155 * configure: Regenerate.
1156 * config.h.in: Regenerate.
1157
bd40d535
BK
11582003-03-24 Benjamin Kosnik <bkoz@redhat.com>
1159
1160 * config/linker-map.gnu: Remove string export restrictions.
1161
eea5120f
PC
11622003-03-24 Paolo Carlini <pcarlini@unitus.it>
1163
1164 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
1165 find_first_of, find_last_of and find_last_not_of tests.
1166 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
1167 tests here, new file.
1168 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
1169 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
1170 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
1171 wchar_t find_first_of tests here, new file.
1172 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
1173 tests here.
1174 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
1175 tests here.
1176 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
1177 wchar_t find_last_of tests here.
1178 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
a2cf38ee 1179 wchar_t find_last_not_of tests here.
eea5120f 1180
ff81da23
LR
11812003-03-22 Loren J. Rittle <ljrittle@acm.org>
1182
1183 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
1184 Correct return value.
1185
442c0874
JQ
11862003-03-21 Jerry Quinn <jlquinn@optonline.net>
1187
1188 PR libstdc++/5730
1189 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
a2cf38ee
ZW
1190 * include/std/std_complex.h (norm): Use faster,
1191 less accurate computation for builtin float types under --fast-math.
442c0874 1192
532722be
MF
11932003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
1194
1195 * testsuite/testsuite_hooks.h: Fix warning nits.
1196
951312c8
AO
11972003-03-19 Alexandre Oliva <aoliva@redhat.com>
1198
1199 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
1200 Only .set mips2 for the o32 ABI.
1201
38b2a971
PC
12022003-03-19 Paolo Carlini <pcarlini@unitus.it>
1203
1204 * testsuite/21_strings/char_traits/requirements/char/1.cc:
1205 Test char not wchar_t.
1206
91d167bb
PC
12072003-03-18 Paolo Carlini <pcarlini@unitus.it>
1208
1209 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
1210 Correct size, taking into account sizeof(wchar_t).
1211
61f1ed59
PC
12122003-03-18 Paolo Carlini <pcarlini@unitus.it>
1213
1214 Reshuffle 21_strings testsuite.
1215 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
1216 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
1217 element_access.cc, operations.cc, char_traits_requirements.cc,
1218 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
1219 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
a2cf38ee 1220 wchar_t tests as follows.
61f1ed59
PC
1221 * 21_strings/basic_string/append/char/1.cc: New.
1222 * 21_strings/basic_string/append/wchar_t/1.cc: New.
1223 * 21_strings/basic_string/assign/char/1.cc: New.
1224 * 21_strings/basic_string/assign/char/2.cc: New.
1225 * 21_strings/basic_string/assign/char/3.cc: New.
1226 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
1227 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
1228 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
1229 * 21_strings/basic_string/capacity/1.cc: New.
1230 * 21_strings/basic_string/capacity/char/1.cc: New.
1231 * 21_strings/basic_string/capacity/char/2.cc: New.
1232 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
1233 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
1234 * 21_strings/basic_string/compare/char/1.cc: New.
1235 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
1236 * 21_strings/basic_string/cons/char/1.cc: New.
1237 * 21_strings/basic_string/cons/char/2.cc: New.
1238 * 21_strings/basic_string/cons/char/3.cc: New.
1239 * 21_strings/basic_string/cons/char/4.cc: New.
1240 * 21_strings/basic_string/cons/char/5.cc: New.
1241 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
1242 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
1243 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
1244 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
1245 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
1246 * 21_strings/basic_string/element_access/char/1.cc: New.
1247 * 21_strings/basic_string/element_access/char/2.cc: New.
1248 * 21_strings/basic_string/element_access/char/3.cc: New.
1249 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
1250 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
1251 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
1252 * 21_strings/basic_string/find/char/1.cc: New.
1253 * 21_strings/basic_string/find/wchar_t/1.cc: New.
1254 * 21_strings/basic_string/insert/char/1.cc: New.
1255 * 21_strings/basic_string/insert/char/2.cc: New.
1256 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
1257 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
1258 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
1259 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
1260 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
1261 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
1262 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
1263 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
1264 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
1265 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
1266 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
1267 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
1268 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
1269 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
1270 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
1271 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
1272 * 21_strings/basic_string/operators/char/1.cc: New.
1273 * 21_strings/basic_string/operators/char/2.cc: New.
1274 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
1275 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
1276 * 21_strings/basic_string/replace/char/1.cc: New.
1277 * 21_strings/basic_string/replace/char/2.cc: New.
1278 * 21_strings/basic_string/replace/char/3.cc: New.
1279 * 21_strings/basic_string/replace/char/4.cc: New.
1280 * 21_strings/basic_string/replace/char/5.cc: New.
1281 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
1282 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
1283 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
1284 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
1285 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
1286 * 21_strings/basic_string/rfind/char/1.cc: New.
1287 * 21_strings/basic_string/rfind/char/2.cc: New.
1288 * 21_strings/basic_string/rfind/char/3.cc: New.
1289 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
1290 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
1291 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
1292 * 21_strings/basic_string/substr/char/1.cc: New.
1293 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
1294 * 21_strings/c_strings/char/1.cc: New.
1295 * 21_strings/c_strings/char/2.cc: New.
1296 * 21_strings/c_strings/wchar_t/1.cc: New.
1297 * 21_strings/c_strings/wchar_t/2.cc: New.
1298 * 21_strings/char_traits/requirements/char/1.cc: New.
1299 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
1300 * 21_strings/char_traits/typedefs/char/1.cc: New.
a2cf38ee 1301
f7e70401 13022003-03-17 Paolo Carlini <pcarlini@unitus.it>
a2cf38ee 1303 Petur Runolfsson <peturr02@ru.is>
f7e70401
PC
1304
1305 PR libstdc++/10097
1306 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
1307 basic_filebuf<wchar_t>::_M_underflow_common):
1308 if (gptr() < egptr()) return *gptr().
1309 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
1310
1311 * testsuite/27_io/filebuf_members.cc (test_04): Minor
1312 changes: unlink fifo before making it, fix spelling error.
1313
0c45b8e0
BK
13142003-03-17 Benjamin Kosnik <bkoz@redhat.com>
1315
1316 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
1317 * testsuite/Makefile.in: Regenerate.
1318 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
1319 Cleanups.
1320
13212003-03-17 Petur Runolfsson <peturr02@ru.is>
a2cf38ee
ZW
1322
1323 PR libstdc++/9964
1324 * include/bits/fstream.tcc (basic_filebuf::close):
1325 Always close file, even when write fails.
1326 * testsuite/27_io/filebuf_members.cc (test_07): New test.
1327
c31da8a5
DS
13282003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
1329
1330 * libsupc++/Makefile.am (C_COMPILE): Remove.
1331 (LTCOMPILE): Likewise.
1332 * libsupc++/Makefile.in: Regenerate.
1333
ac1613a2
BK
13342003-03-14 Benjamin Kosnik <bkoz@redhat.com>
1335
a2cf38ee 1336 * testsuite/23_containers/bitset_members.cc: Add test variable.
ac1613a2
BK
1337 * testsuite/23_containers/map_insert.cc: Same.
1338 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
1339 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
1340 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
1341 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
1342 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
1343 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
1344 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
1345 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
1346 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
1347 * testsuite/27_io/istream_exception.cc: Same.
1348 * testsuite/27_io/filebuf_virtuals.cc: Same.
1349 * testsuite/27_io/stringbuf_virtuals.cc: Same.
1350 * testsuite/27_io/ostream_inserter_arith.cc: Same.
1351 * testsuite/26_numerics/valarray_operators.cc: Same.
1352 * testsuite/26_numerics/slice.cc: Same.
1353 * testsuite/26_numerics/slice_array_assignment.cc: Same.
1354 * testsuite/24_iterators/istream_iterator.cc: Same.
1355 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
a2cf38ee 1356
ac1613a2
BK
13572003-03-14 Petur Runolfsson <peturr02@ru.is>
1358
1359 PR libstdc++/9581
1360 PR libstdc++/9870
1361 * config/locale/generic/ctype_members.cc,
1362 * config/locale/gnu/ctype_members.cc
1363 (ctype<wchar_t>::do_widen(char)): Cast argument to
1364 unsigned char before passing to btowc.
1365 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
1366 Convert characters with btowc instead of mbsrtowcs.
1367 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
1368 char, char*):
1369 Convert characters with wctob instead of wcsrtombs.
1370 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
a2cf38ee
ZW
1371 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
1372 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
ac1613a2 1373
628c731a
BK
13742003-03-14 Benjamin Kosnik <bkoz@redhat.com>
1375
a2cf38ee 1376 * include/stdc++.h: New.
628c731a
BK
1377 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
1378 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
a2cf38ee
ZW
1379 * include/Makefile.in: Regenerate.
1380 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
628c731a
BK
1381 (--cxxflags): Put -g -O2 here.
1382 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
1383
98d2dec7
LR
13842003-03-14 Loren J. Rittle <ljrittle@acm.org>
1385
1386 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
1387 missing named locale.
1388
8d3f82aa
AS
13892003-03-14 Andreas Schwab <schwab@suse.de>
1390
1391 * configure.in: Only append to makefiles that are newly created to
1392 avoid multiple multi-do/multi-clean rules.
1393 * configure: Rebuilt.
1394
21c93c39
JW
13952003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
1396
1397 * docs/html/configopts.html, docs/html/documentation.html,
1398 docs/html/explanations.html, docs/html/install.html,
1399 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
1400 invalid XHTML and make page header style consistent.
1401
408e31a2
JW
14022003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
1403
1404 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
1405 * docs/html/faq/index.txt: Regenerate.
1406 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
1407
ff8b9ca8
AS
14082003-03-12 Andreas Schwab <schwab@suse.de>
1409
1410 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1411 glibcpp_toolexeclibdir.
1412 * aclocal.m4, configure: Rebuilt.
1413
4959aa5e
JW
14142003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
1415
1416 * docs/html/faq/index.html: Update text about location of headers.
1417 * docs/html/faq/index.txt: Regenerate.
1418
1be4def3
CW
14192003-03-11 Carlo Wood <carlo@alinoe.com>
1420
1421 * include/bits/demangle.h: Prepend accessors of
1422 class qualifier with 'get_' in order to fix warnings
1423 when compiling with -Wshadow.
1424
5858cd26
LR
14252003-03-11 Loren J. Rittle <ljrittle@acm.org>
1426
b0649028
LR
1427 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
1428 when so installed.
1429 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
1430
5858cd26
LR
1431 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
1432 report lack of setenv().
1433
f5d9895a
PC
14342003-03-09 Paolo Carlini <pcarlini@unitus.it>
1435
1436 * config/io/basic_file_stdio.cc: include <unistd.h>.
1437
95dca20c 14382003-03-09 Paolo Carlini <pcarlini@unitus.it>
a2cf38ee 1439 Nathan Myers <ncm@cantrip.org>
95dca20c
PC
1440
1441 PR libstdc++/7744
1442 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
1443 seekoff, seekpos): Add a boolean parameter __stdio.
1444 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
1445 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
1446 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
1447 respectively).
1448 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
1449 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
1450 * include/std/std_fstream.h (sync): Likewise.
1451 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
1be4def3
CW
1452 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
1453 libstdc++/8399 commit involving isatty(0).
95dca20c
PC
1454 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
1455 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
1456 * configure.in: Remove call.
1457 * aclocal.m4: Regenerate.
1458 * config.h.in: Regenerate.
1459 * configure: Regenerate.
1460 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
1461
3006d728
PC
14622003-03-09 Paolo Carlini <pcarlini@unitus.it>
1463
1464 PR libstdc++/9988
1465 * include/bits/fstream.tcc (overflow): don't write EOF to file.
1466 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
1467
6f62fbd8
JQ
14682003-03-08 Jerry Quinn <jlquinn@optonline.net>
1469
1470 PR libstdc++/9561
1471 * include/bits/basic_ios.h (_M_setstate): New.
1472 * include/bits/ostream.tcc (operator<<): Use it.
1473 * include/bits/istream.tcc (operator>>): Use it.
1474 * include/std/std_ostream.h (operator<<): Make friends.
1475 * include/std/std_istream.h (operator>>): Make friends.
1476 * testsuite/27_io/ostream_exception.cc,
1477 testsuite/27_io/istream_exception.cc: New tests.
1478
a2cf38ee 14792003-03-08 Benjamin Kosnik <bkoz@redhat.com>
6fef4217
BK
1480
1481 * include/bits/locale_facets.tcc: Fix typo.
1482
85c39c6d
LR
14832003-03-08 Loren J. Rittle <ljrittle@acm.org>
1484
4a07c08a 1485 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
a2cf38ee 1486
1be4def3
CW
1487 * config/locale/generic/c_locale.cc
1488 (locale::facet::_S_create_c_locale): Throw runtime exception when
1489 unsupported language is specified.
85c39c6d
LR
1490 * testsuite/testsuite_hooks.h
1491 (run_test_wrapped_generic_locale_exception_catcher): New function.
1492 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
1493 Suppress runtime exception thrown by generic implementation.
1494 (run_tests_wrapped_env): Likewise.
1495 (run_test_wrapped_generic_locale_exception_catcher): New function.
1496 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
1497 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
1498 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
1499 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
1500 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
1501 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
1502 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
1503 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
1504 * testsuite/22_locale/facet/2.cc: New test wrap.
1505 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
1506 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
1507 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
1508 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
1509 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
1510 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
1511 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
1512 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
1513 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
1514 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
1515 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
1516 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
1517 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
1518 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
1519 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
1520 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
1521 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
1522 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
1523 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
1524 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
1525 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
1526 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
1527 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
1528 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
1529 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
1530 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
1531 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
1532 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
1533 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
1534 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
1535 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
1536 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
1537 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
1538 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
1539 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
1540 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
1541 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
1542 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
1543 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
1544 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
1545 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
1546 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
1547 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
1548 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
1549 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
1550 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
1551 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
1552 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
1553 * testsuite/27_io/ios_members.cc: New test wrap.
1554 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
1555 New test wrap.
1556 * testsuite/27_io/streambuf_members.cc: New test wrap.
1557 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
1558
feecf614 15592003-03-08 Paolo Carlini <pcarlini@unitus.it>
a2cf38ee 1560 Petur Runolfsson <peturr02@ru.is>
feecf614
PC
1561
1562 PR libstdc++/9424
1563 * include/bits/streambuf.tcc (__copy_streambufs): Use
1564 sgetn-sputn only when sputn cannot fail, otherwise fall back
1565 to safe snextc-sputc.
1566 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
1567
611db497
JQ
15682003-03-08 Jerry Quinn <jlquinn@optonline.net>
1569
1570 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
1571 locale cache for truename and falsename.
1572
c562d51b
JQ
15732003-03-08 Jerry Quinn <jlquinn@optonline.net>
1574
1575 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
1576 _M_word_size initialization.
1577
9a97e40a
PC
15782003-03-07 Paolo Carlini <pcarlini@unitus.it>
1579
1580 * include/bits/fstream.tcc (_M_convert_to_external):
1581 Set __elen to zero if codecvt::out eventually fails.
1582
1deba98b
PC
15832003-03-07 Paolo Carlini <pcarlini@unitus.it>
1584
1585 PR libstdc++/9182
1586 * include/bits/fstream.tcc (_M_really_overflow): Check
1587 for _M_convert_to_external possible failures.
1588 * include/std/std_fstream.h (sync): Check _M_really_overflow
1589 return value and return -1 in case of failure.
1590 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
1591
15922003-03-07 Paolo Carlini <pcarlini@unitus.it>
1593
1594 PR libstdc++/9826
1595 * include/bits/istream.tcc (operator>>(_CharT*),
1596 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
1597 * testsuite/27_io/stringstream.cc (test02): Add.
1598
1599 * include/bits/istream.tcc (operator>>(_CharT*)):
1600 Assign a char_type to *__s.
1601
5040d691
PR
16022003-03-07 Petur Runolfsson <peturr02@ru.is>
1603
1604 PR libstdc++/9817
1605 * include/bits/locale_facets.tcc
1606 (collate::do_compare, collate::do_transform):
1607 Handle nul characters in input.
1608 * testsuite/22_locale/collate/compare/char/3.cc: New test.
1609 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
1610 * testsuite/22_locale/collate/transform/char/3.cc: New test.
1611 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
1612
53279c10
JQ
16132003-03-07 Jerry Quinn <jlquinn@optonline.net>
1614
1615 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
1616 sputn fails.
1617 * testsuite/27_io/ostream_fail.cc: New test.
1618
3bf74da2
MK
16192003-03-07 Matthias Klose <doko@debian.org>
1620
1621 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
1622 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
1623 * Makefile.in: Regenerate.
1624 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
1625 of gxx_include_dir.
1626 AM_MAKEFLAGS: Pass gxx_include_dir.
1627 * libsupc++/Makefile.in: Regenerate.
1628
a9aa7083
JQ
16292003-03-06 Jerry Quinn <jlquinn@optonline.net>
1630
1631 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
1632 mask. Test setting small-numbered pword and iword slots. Test
1633 behavior at limit of numeric_limits::max. Check that values are
1634 still good after failures.
1635
53ec7ec1
JQ
16362003-03-06 Jerry Quinn <jlquinn@optonline.net>
1637
1638 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
1639 (ios_base::ios_base): Set _M_word, _M_word_size.
1640 (ios_base::~ios_base): Remove redundant test.
1641 * testsuite/27_io/ios_base_storage.cc (test03): New.
1642
dd6eaaed
AO
16432003-03-04 Alexandre Oliva <aoliva@redhat.com>
1644
1645 * src/strstream.cc, include/bits/basic_string.tcc: Remove
1646 incorrect whitespace added in my previous change.
1647
0530d3b0
CW
16482003-03-05 Carlo Wood <carlo@alinoe.com>
1649
a2cf38ee 1650 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
0530d3b0
CW
1651 _S_initialized() in order to allow debugging libraries to detect
1652 when the std streams are initialized from an overloaded operator
1653 new.
1654
83e924e1
BK
16552003-03-05 Benjamin Kosnik <bkoz@redhat.com>
1656
1657 * libsupc++/demangle.h: Move to..
1658 * include/bits/demangle.h: ...here.
1659 * src/demangle.cc: Adjust include.
1660 * include/Makefile.am (bits_headers): Add.
1661 * include/Makefile.in: Regenerate.
a2cf38ee
ZW
1662
16632003-03-04 Benjamin Kosnik <bkoz@redhat.com>
4e7a2c6f
BK
1664
1665 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
1666
1667 * config/linker-map.gnu: Filter typeinfo and vtable info.
1668
c524ed5d
JQ
16692003-03-04 Jerry Quinn <jlquinn@optonline.net>
1670
1671 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
1672 new failure. Throw exception if badbit and exception mask when ix
1673 >= numeric_limits<int>::max().
1674
1a8f10da
AO
16752003-03-04 Alexandre Oliva <aoliva@redhat.com>
1676
1677 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
1678 min and max have the same type.
1679 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
1680
6b919a8a
BK
16812003-03-04 Benjamin Kosnik <bkoz@redhat.com>
1682
1683 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
1684 * include/Makefile.in: Regenerate.
1685
3a15abf1
BK
16862003-03-03 Benjamin Kosnik <bkoz@redhat.com>
1687
1688 * testsuite/abi_check.cc (report_symbol_info): Add version info.
1689
1690 * config/linker-map.gnu: Hide more stuff.
1691 * include/Makefile.am: Cleanups.
1692 * include/Makefile.in: Regenerate.
a2cf38ee 1693
486f4cd1
JQ
16942003-02-27 Jerry Quinn <jlquinn@optonline.net>
1695
a2cf38ee 1696 * config/locale/generic/messages_members.h (messages::messages):
486f4cd1
JQ
1697 Remove name from unused parameter.
1698
4ffbd077
BK
16992003-02-27 Benjamin Kosnik <bkoz@redhat.com>
1700
1701 * src/Makefile.am (sources): Add demangle.cc.
1702 (demangle.o): Add.
a2cf38ee 1703 (demangle.lo): Add.
4ffbd077
BK
1704 * src/Makefile.in: Regenerate.
1705 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
1706 * libsupc++/Makefile.in: Regenerate.
1707
1708 * testsuite/testsuite_hooks.h
1709 (__gnu_cxx_test::verify_demangle): New.
1710 * testsuite/testsuite_hooks.cc: Define.
a2cf38ee 1711
4ffbd077
BK
17122003-02-27 Carlo Wood <carlo@alinoe.com>
1713
1714 * src/demangle.cc: New.
1715 * libsupc++/demangle.h: New.
1716
17172003-02-27 Benjamin Kosnik <bkoz@redhat.com>
a2cf38ee 1718 Carlo Wood <carlo@alinoe.com>
4ffbd077
BK
1719
1720 * testsuite/demangle/abi_examples/01.cc: New.
1721 * testsuite/demangle/abi_examples/02.cc: New.
1722 * testsuite/demangle/abi_examples/03.cc: New.
1723 * testsuite/demangle/abi_examples/04.cc: New.
1724 * testsuite/demangle/abi_examples/05.cc: New.
1725 * testsuite/demangle/abi_examples/06.cc: New.
1726 * testsuite/demangle/abi_examples/07.cc: New.
1727 * testsuite/demangle/abi_examples/08.cc: New.
1728 * testsuite/demangle/abi_examples/09.cc: New.
1729 * testsuite/demangle/abi_examples/10.cc: New.
1730 * testsuite/demangle/abi_examples/11.cc: New.
1731 * testsuite/demangle/abi_examples/12.cc: New.
1732 * testsuite/demangle/abi_examples/13.cc: New.
1733 * testsuite/demangle/abi_examples/14.cc: New.
1734 * testsuite/demangle/abi_examples/15.cc: New.
1735 * testsuite/demangle/abi_examples/16.cc: New.
1736 * testsuite/demangle/abi_examples/17.cc: New.
1737 * testsuite/demangle/abi_examples/18.cc: New.
1738 * testsuite/demangle/abi_examples/19.cc: New.
1739 * testsuite/demangle/abi_examples/20.cc: New.
1740 * testsuite/demangle/abi_examples/21.cc: New.
1741 * testsuite/demangle/abi_examples/22.cc: New.
1742 * testsuite/demangle/abi_examples/23.cc: New.
1743 * testsuite/demangle/abi_examples/24.cc: New.
1744 * testsuite/demangle/abi_examples/25.cc: New.
1745 * testsuite/demangle/abi_examples/26.cc: New.
1746 * testsuite/demangle/abi_text/01.cc: New.
1747 * testsuite/demangle/abi_text/02.cc: New.
1748 * testsuite/demangle/abi_text/03.cc: New.
1749 * testsuite/demangle/abi_text/04.cc: New.
1750 * testsuite/demangle/abi_text/05.cc: New.
1751 * testsuite/demangle/abi_text/06.cc: New.
1752 * testsuite/demangle/abi_text/07.cc: New.
1753 * testsuite/demangle/abi_text/08.cc: New.
1754 * testsuite/demangle/abi_text/09.cc: New.
1755 * testsuite/demangle/abi_text/10.cc: New.
1756 * testsuite/demangle/abi_text/11.cc: New.
1757 * testsuite/demangle/abi_text/12.cc: New.
1758 * testsuite/demangle/abi_text/13.cc: New.
1759 * testsuite/demangle/abi_text/14.cc: New.
1760 * testsuite/demangle/regression/3111-1.cc: New.
1761 * testsuite/demangle/regression/3111-2.cc: New.
1762 * testsuite/demangle/regression/7986-01.cc: New.
1763 * testsuite/demangle/regression/7986-02.cc: New.
1764 * testsuite/demangle/regression/7986-03.cc: New.
1765 * testsuite/demangle/regression/7986-04.cc: New.
1766 * testsuite/demangle/regression/7986-05.cc: New.
1767 * testsuite/demangle/regression/7986-06.cc: New.
1768 * testsuite/demangle/regression/7986-07.cc: New.
1769 * testsuite/demangle/regression/7986-08.cc: New.
1770 * testsuite/demangle/regression/7986-09.cc: New.
1771 * testsuite/demangle/regression/7986-10.cc: New.
1772 * testsuite/demangle/regression/7986-11.cc: New.
1773 * testsuite/demangle/regression/7986-12.cc: New.
1774 * testsuite/demangle/regression/7986.cc: New.
1775 * testsuite/demangle/regression/8897.cc: New.
1776 * testsuite/demangle/regression/cw-01.cc: New.
1777 * testsuite/demangle/regression/cw-02.cc: New.
1778 * testsuite/demangle/regression/cw-03.cc: New.
1779 * testsuite/demangle/regression/cw-04.cc: New.
1780 * testsuite/demangle/regression/cw-05.cc: New.
1781 * testsuite/demangle/regression/cw-06.cc: New.
1782 * testsuite/demangle/regression/cw-07.cc: New.
1783 * testsuite/demangle/regression/cw-08.cc: New.
1784 * testsuite/demangle/regression/cw-09.cc: New.
1785 * testsuite/demangle/regression/cw-10.cc: New.
1786 * testsuite/demangle/regression/cw-11.cc: New.
1787 * testsuite/demangle/regression/cw-12.cc: New.
1788 * testsuite/demangle/regression/cw-13.cc: New.
1789 * testsuite/demangle/regression/cw-14.cc: New.
1790 * testsuite/demangle/regression/old.cc: New.
1791
bd2726e0
PE
17922003-02-25 Phil Edwards <pme@gcc.gnu.org>
1793
1794 * docs/doxygen/Intro.3: Update with new (proper) names.
1795 * docs/doxygen/TODO: Update.
1796 * docs/doxygen/run_doxygen: More comments, fix up man pages.
1797 Fake entries for standard typedefs.
1798 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
1799 * docs/html/documentation.html: Top-level man page is now called
1800 C++Intro.
1801 * include/std/std_limits.h: Doxygenate.
1802
63b1a6ba
SS
18032003-02-25 Scott Snyder <snyder@fnal.gov>
1804
1805 PR libstdc++/9811
1806 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
1807 Correct documentation.
1808 * include/bits/stl_multimap.h (lower_bound, upper_bound,
1809 equal_range): Likewise.
1810
57df94c8
PC
18112003-02-24 Paolo Carlini <pcarlini@unitus.it>
1812
1813 PR libstdc++/9825
1814 * src/fstream.cc
1815 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
1816 __bump is true (uflow), always increment the read pointer
1817 (_M_in_cur) before returning successfully.
1818 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
1819
391cd095
PC
18202003-02-24 Paolo Carlini <pcarlini@unitus.it>
1821 Nathan Myers <ncm@cantrip.org>
1822
1823 PR libstdc++/9404, PR libstdc++/9701 (partial)
1824 (aka pptr == epptr implies overflow)
1825 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
1826 Consistently, _M_out_end points to the end of the buffer just
1827 created.
1828 (overflow): Tweak to use _M_out_buf_size().
1829 (_M_convert_to_external): The role of the old _M_out_end is
1830 now played by _M_out_lim.
1831 (_M_really_overflow): Likewise.
1832 (seekoff): Likewise.
1833 (setbuf): _M_out_end points to the end of the external buffer.
1834 * include/bits/sstream.tcc (overflow): Rewrote, taking into
1835 account the resolution of DR 169 (TC).
1836 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
1837 (seekpos): Use _M_string.capacity(); tweak.
1838 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
1839 * include/std/std_fstream.h (sync): The role of the old
1840 _M_out_end is now played by _M_out_lim.
1841 (_M_set_indeterminate): Use _M_set_determinate.
1842 (_M_set_determinate): _M_out_end is now _M_out_lim.
1843 (_M_is_indeterminate): Likewise.
1844 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
1845 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
1846 which have the information readily available as _M_string.capacity();
1847 for ate and app modes, pass the string size to _M_really_sync.
1848 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
1849 point to the end of the buffer (i.e., epptr) and to the string end,
1850 respectively.
1851 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
1852 which points to the right limit of the used put area.
1853 (_M_out_cur_move): The role of the old _M_out_end is now played
1854 by _M_out_lim.
1855 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
1856 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
1857 of the standard.
1858 (basic_streambuf()): Initialize _M_out_lim too.
1859 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
1860 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
1861 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
1862
2e812a0a
BK
18632003-02-24 Benjamin Kosnik <bkoz@redhat.com>
1864
1865 * testsuite/27_io/ios_base_storage.cc (main): Call
1866 set_memory_limits.
1867
d77478a5
JQ
18682003-02-21 Jerry Quinn <jlquinn@optonline.net>
1869
a2cf38ee 1870 * include/bits/locale_facets.tcc (_M_convert_float): Replace
d77478a5
JQ
1871 numpunct facet accesses with data from __locale_cache.
1872
0385e950
PE
18732003-02-20 Phil Edwards <pme@gcc.gnu.org>
1874
1875 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
1876 * docs/html/faq/index.txt: Regenerate.
1877
3a24c513
PE
18782003-02-20 Phil Edwards <pme@gcc.gnu.org>
1879
1880 * config/linker-map.gnu: Also export locking symbols needed for the
1881 generic atomicity.h case.
1882
3343fdd2
AO
18832003-02-20 Alexandre Oliva <aoliva@redhat.com>
1884
1885 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1886 config.status.
1887 * configure: Rebuilt.
1888
c85dca28
PC
18892003-02-19 Paolo Carlini <pcarlini@unitus.it>
1890
1891 * include/bits/sstream.tcc (overflow): According to
1892 27.7.1.3, p5, actual output is performed by sputc(c).
1893
41662dbb
PE
18942003-02-19 Phil Edwards <pme@gcc.gnu.org>
1895
1896 PR libstdc++/9582
1897 * include/bits/stl_alloc.h: Remove all traces of assert().
1898
de59bd27
PC
18992003-02-18 Paolo Carlini <pcarlini@unitus.it>
1900
1901 * include/std/std_sstream.h (str()): the size of the
1902 current string may be different from the initial one
1903 whenever _M_out_end > _M_out_beg.
1904 * testsuite/27_io/stringbuf_members.cc (test07): Add.
1905
14a65f50
PC
19062003-02-18 Paolo Carlini <pcarlini@unitus.it>
1907
1908 PR libstdc++/9582
1909 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
1910
6067bea4
BK
19112003-02-17 Benjamin Kosnik <bkoz@redhat.com>
1912
1913 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
1914 * testsuite/27_io/ios_members.cc (test03): New.
1915
19162003-02-17 Jerry Quinn <jlquinn@optonline.net>
1917
1918 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
1919 (basic_ios::_M_cache_facets): Move into above.
1920 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
1921 cache.
1922 (basic_ios::imbue): Force locale cache to be built.
1923 (basic_ios::_M_init): Create and initialize locale cache.
1924 * include/bits/ios_base.h (__locale_cache_base): Declare.
1925 (ios_base::_M_locale_cache): New.
1926 (ios_base::_M_cache): Define.
1927 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
1928 _S_end.
a2cf38ee 1929 (__locale_cache_base,__locale_cache<_CharT>): New classes.
6067bea4
BK
1930 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
1931 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
1932 cache literal string, grouping flag, thousands separator.
1933 (__locale_cache<_CharT>::__locale_cache): New.
1934 (__locale_cache<_CharT>::_M_init): New.
6067bea4
BK
1935 * src/ios.cc: Clear _M_locale_cache in constructor.
1936 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
1937 New.
1938
d407831d
PC
19392003-02-17 Paolo Carlini <pcarlini@unitus.it>
1940
1941 * src/locale-inst.cc: Do not include <cassert>.
1942 * src/locale.cc: Likewise.
1943
1a1aed24
PC
19442003-02-17 Paolo Carlini <pcarlini@unitus.it>
1945
1946 PR libstdc++/9580
1947 * include/std/std_fstream.h: Declare underflow and uflow
1948 specializations, change generic definitions to do nothing.
1949 * src/fstream.cc: Add underflow and uflow specializations.
1950
130cd3e1
PC
19512003-02-17 Paolo Carlini <pcarlini@unitus.it>
1952
1953 PR libstdc++/9169
1954 * include/bits/fstream.tcc (_M_convert_to_external):
1955 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
1956 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
1957
1bc8b0ad
BK
19582003-02-13 Benjamin Kosnik <bkoz@redhat.com>
1959
1960 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
1961 * include/bits/basic_ios.tcc: Guard use of extern template.
1962 * include/std/std_iomanip.h: Same.
1963 * include/bits/streambuf.tcc: Same.
1964 * include/bits/stl_alloc.h: Same.
1965 * include/bits/locale_facets.tcc: Same.
1966 * include/bits/ostream.tcc: Same.
1967 * include/bits/istream.tcc: Same.
1968 * include/bits/fstream.tcc: Same.
1969 * include/bits/basic_string.tcc: Same.
1970
b7bb6d4a
PC
19712003-02-13 Paolo Carlini <pcarlini@unitus.it>
1972
1973 * include/bits/ostream.tcc (sentry::sentry): Improve
1974 performance-wise the fix for libstdc++/9563.
1975
8d55a4aa
PE
19762003-02-12 Phil Edwards <pme@gcc.gnu.org>
1977
1978 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
1979 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
1980 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
1981 when we don't have static mutex initialization.
1982 (__exchange_and_add): Use _Atomic_add_mutex_once.
1983 * src/misc-inst.cc: Definitions of all the above.
1984
ff5d863f
PC
19852003-02-12 Paolo Carlini <pcarlini@unitus.it>
1986
1987 PR libstdc++/9563
1988 * include/bits/ostream.tcc (sentry::sentry): Check
1989 the state of the stream after the preparation.
1990 * testsuite/27_io/ostream_sentry.cc (test02): Add.
1991
ab77073f
BK
19922003-02-11 Benjamin Kosnik <bkoz@redhat.com>
1993
1994 * include/Makefile.am (stamp-std-precompile): Add rule.
1995 * include/Makefile.in: Regenerated.
a2cf38ee 1996
ce3039af 19972003-02-11 Jerry Quinn <jlquinn@optonline.net>
a2cf38ee
ZW
1998 Benjamin Kosnik <benjamin@redhat.com>
1999
ce3039af
JQ
2000 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
2001 Add indexes into this array.
2002 (__num_base::_S_atoms): To _S_atoms_in.
2003 (num_put::_M_insert): Rename to _M_pad.
2004 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
2005 (num_put::_M_widen_int): Rename to _M_group_int.
a2cf38ee 2006 (num_put::_M_widen_float): Rename to _M_group_float.
ce3039af
JQ
2007 * include/bits/locale_facets.tcc (__int_to_char): New inline
2008 function and adapter functions.
2009 (num_put::_M_group_int): Streamline.
a2cf38ee 2010 (num_put::_M_group_float): Streamline.
ce3039af
JQ
2011 (num_put::_M_convert_int): Remove unused parameter names. Choose
2012 large enough buffer for text. Use __int_to_char instead of
2013 __convert_from_v. Formatted text is now at the end of the buffer.
2014 (num_put::_M_convert_float): Preliminary fixups.
2015 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
2016 (__int_to_char<unsigned long long>): Same.
2017 (__int_to_char<char, unsigned long>): New.
2018 (__int_to_char<char, unsigned long long>): New.
2019 (__int_to_char<wchar_t, unsigned long>): New.
2020 (__int_to_char<wchar_t, unsigned long long>): New.
a2cf38ee 2021
74db1461
SS
20222003-02-11 Scott Snyder <snyder@fnal.gov>
2023
2024 PR libstdc++/9659
2025 * include/bits/fstream.tcc (seekoff): Avoid operator+
2026 for pos_type.
2027
dfc7d899
PC
20282003-02-11 Paolo Carlini <pcarlini@unitus.it>
2029
2030 PR libstdc++/9320
2031 * include/ext/stdio_filebuf.h
2032 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
2033 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
2034 Change to take a __size parameter of type size_t, not
2035 of type (template parameter dependent) int_type.
2036 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
2037 size vars to size_t.
2038 * testsuite/ext/stdio_filebuf.cc: Add.
2039
da61d022 20402003-02-11 Paolo Carlini <pcarlini@unitus.it>
a2cf38ee 2041 Petur Runolfsson <peturr02@ru.is>
da61d022
PC
2042
2043 PR libstdc++/9318
2044 * include/bits/streambuf.tcc (__copy_streambufs):
2045 Don't conditionalize the copy to __testput.
2046 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
2047
294901f8
DD
20482002-02-11 DJ Delorie <dj@redhat.com>
2049
2050 * acinclude.m4: Check for native targets that can't link at
2051 this point in the build.
2052 * aclocal.m4: Regenerate.
2053 * configure: Regenerate.
2054
5053bdf8
JDA
20552003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2056
2057 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
2058 Correct alignment.
2059 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
2060 lock.
2061
ccef8307
PC
20622003-02-07 Paolo Carlini <pcarlini@unitus.it>
2063
2064 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
2065 unsigned char platforms.
2066
afb6c265
PC
20672003-02-06 Paolo Carlini <pcarlini@unitus.it>
2068
2069 PR libstdc++/9562
2070 * include/std/std_istream.h
2071 (basic_istream::sentry::operator bool()): Make const.
2072 * include/std/std_ostream.h
2073 (basic_ostream::sentry::operator bool()): Likewise.
2074 * testsuite/27_io/istream_sentry.cc (test03): Add.
2075 * testsuite/27_io/ostream_sentry.cc: Add.
2076
5dc91152
PC
20772003-02-06 Paolo Carlini <pcarlini@unitus.it>
2078
2079 PR libstdc++/9548
2080 Implement resolution of DR 231 (Ready)
2081 * include/bits/locale_facets.h (__num_base::_S_format_float):
2082 Change declaration: return void, remove __prec parameter.
2083 * src/locale.cc (__num_base::_S_format_float): Implement
2084 resolution of DR 231.
2085 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2086 Tweak uses. Check for negative precision.
2087 * testsuite/22_locale/num_put/put/char/6.cc: Add
2088 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
2089
6eeabb09
PS
20902003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
2091
2092 * config/io/basic_file_libio.h: Fixups.
2093 * config/io/c_io_libio.h: Same.
2094 * libio/Makefile.am: Same.
2095 * libio/Makefile.in: Regenerated.
a2cf38ee 2096
e61c8e23
BK
20972003-02-06 Benjamin Kosnik <bkoz@redhat.com>
2098
2099 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
2100 Explicitly use the "C" locale.
2101 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
a2cf38ee 2102
e61c8e23
BK
21032003-02-06 Petur Runolfsson <peturr02@ru.is>
2104
2105 DR 75
2106 DR 305
2107 PR libstdc++/9028 (partial)
2108 PR libstdc++/9224
2109 PR libstdc++/9246
2110 PR libstdc++/9247
2111
2112 * src/codecvt.cc
2113 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
2114 codecvt<wchar_t, char, mbstate_t>::do_length,
2115 codecvt<wchar_t, char, mbstate_t>::do_max_length):
2116 Move...
2117 * config/locale/generic/codecvt_members.cc: ...here.
2118 * config/locale/gnu/codecvt_members.cc: ...and here.
2119
2120 * config/locale/generic/codecvt_members.cc,
2121 * config/locale/gnu/codecvt_members.cc
2122 (codecvt<wchar_t, char, mbstate_t>::do_encoding
2123 codecvt<wchar_t, char, mbstate_t>::do_in,
2124 codecvt<wchar_t, char, mbstate_t>::do_length,
2125 codecvt<wchar_t, char, mbstate_t>::do_max_length,
2126 codecvt<wchar_t, char, mbstate_t>::do_out):
2127 New implementation that handles stateless encodings,
2128 including UTF-8.
2129
2130 * config/locale/generic/codecvt_members.cc,
2131 * config/locale/gnu/codecvt_members.cc,
2132 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
2133 * include/bits/codecvt.h,
2134 * src/codecvt.cc
2135 (codecvt::length, codecvt::do_length):
2136 Change type of first argument of length and do_length from
2137 'const state_type&' to 'state_type&' according to DR 75.
2138
2139 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
2140 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
2141 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
2142 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
2143 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
2144 Cleanup and check for correct return value from encoding
2145 for "C" locale.
2146 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
2147 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
2148 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
2149 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
2150 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
2151 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
2152 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
2153 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
2154 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
2155 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
2156 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
2157 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
2158 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
2159 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
2160 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
2161 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
2162 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
2163 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
2164 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
2165 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
2166 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
2167 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
2168 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
2169 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
2170 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
2171 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
2172 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
2173 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
2174 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
2175 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
2176 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
2177 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
2178 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
2179 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
2180 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
2181 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
2182 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
2183
2e2a38cd
BK
21842003-02-05 Benjamin Kosnik <bkoz@redhat.com>
2185
2186 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
2187 (money_put::do_put): Same.
2188
21892003-02-05 Jerry Quinn <jlquinn@optonline.net>
2190
2191 * include/bits/ios_base.h (ios_base): Document reserved storage.
2192
2193 * include/bits/locale_facets.h: (struct __pad): Comment on
2194 implementation.
2195 (__verify_grouping): Same.
a2cf38ee 2196 (__add_grouping): Same.
2e2a38cd
BK
2197 * include/bits/locale_facets.tcc (__verify_grouping): Move
2198 comments to declaration.
2199 (__add_grouping): Same.
a2cf38ee
ZW
2200
2201 * include/bits/locale_facets.tcc:
2e2a38cd
BK
2202 (__write<_CharT, _OutIter>): New function.
2203 (__write<_CharT>): New function specialization.
2204 (num_put::_M_insert): Remove explicit loop over iterator. Use
2205 __write.
a2cf38ee 2206 (num_put::_M_widen_float): Remove __basefield.
2e2a38cd 2207 (num_put::_M_widen_int): Move __basefield to within grouping block.
a2cf38ee 2208
2e2a38cd
BK
2209 * include/bits/streambuf_iterator.h: Include <streambuf>.
2210 (ostreambuf_iterator::_M_put): Add.
2211
37d055f8
PC
22122003-02-05 Paolo Carlini <pcarlini@unitus.it>
2213
2214 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
2215
7ec22717
NM
22162003-02-04 Nathan Myers <ncm@cantrip.org>
2217
2218 * testsuite/25_algorithms/min_max.cc (test02): Add.
a2cf38ee 2219
52b62c0e 22202003-02-04 Paolo Carlini <pcarlini@unitus.it>
a2cf38ee 2221
52b62c0e
PC
2222 PR libstdc++/9439, PR libstdc++/9425
2223 * config/io/basic_file_stdio.cc
2224 (__basic_file<char>::seekoff, seekpos): Return -1L if
2225 fseek fails.
2226 * include/bits/fstream.tcc (basic_filebuf::seekoff):
2227 Check _M_file.seekoff return value; always return
2228 pos_type(off_type(-1)) in case of failure.
2229 (basic_filebuf::pbackfail): Check this->seekoff return
a2cf38ee 2230 value and return traits_type::eof() in case of failure.
52b62c0e
PC
2231 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
2232
8d0a564b
JQ
22332003-02-04 Jerry Quinn <jlquinn@optonline.net>
2234
a2cf38ee
ZW
2235 * include/std/std_ostream.h (ostream::_M_write): Declare.
2236 * ostream.tcc (ostream::_M_write): Define.
8d0a564b
JQ
2237 (basic_ostream::write): Use it.
2238 (operator<<(basic_ostream, _CharT)): Ditto.
2239 (operator<<(basic_ostream, char)): Ditto.
2240 (operator<<(basic_ostream, _CharT*)): Ditto.
2241 (operator<<(basic_ostream, char*)): Ditto.
2242 (operator<<(basic_ostream, basic_string)): Ditto.
2243
431a7363
BK
22442003-02-04 Benjamin Kosnik <bkoz@redhat.com>
2245
2246 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
2247
6e40349a
JW
22482002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
2249
2250 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
2251 add HTML comment about updating links if numbering changes.
2252
7cd3907b
PC
22532003-02-04 Paolo Carlini <pcarlini@unitus.it>
2254
2255 PR libstdc++/9538
2256 * include/bits/streambuf.tcc (sputbackc): Access
2257 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
2258 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
2259
22602003-02-04 Paolo Carlini <pcarlini@unitus.it>
2261
2262 PR libstdc++/9507
2263 * include/bits/fstream.tcc (open): If the 'ate' repositioning
2264 operation fails, calls close _and_ returns a null pointer
2265 to indicate failure (27.8.1.3,4).
2266 * testsuite/27_io/filebuf_members.cc (test_06): Add.
2267
22682003-02-04 Petur Runolfsson <peturr02@ru.is>
2269
2270 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
2271
e7cc090e
JW
22722002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
2273
2274 * docs/html/27_io/howto.html: New section on stdio_filebuf.
2275 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
2276 * docs/html/documentation.html: Regenerate.
2277
b3a8389d
JM
22782003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
2279
2280 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
2281 * docs/html/17_intro/porting.html: Regenerate.
2282
348b0c31 22832003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
a2cf38ee 2284 Phil Edwards <pme@gcc.gnu.org>
348b0c31
FH
2285
2286 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
2287 numeric_limits for bits-per-word values.
2288 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
2289 Use __builtin_popcountl instead.
2290 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
2291 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
2292 Use __builtin_ctzl instead.
2293 (_S_bit_count, _S_first_one): Remove.
2294 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
2295 * src/Makefile.am (sources): Remove bitset.cc.
2296 * src/bitset.cc: Delete file.
2297 * src/Makefile.in: Regenerate.
2298
00f53979
PE
22992003-02-03 Phil Edwards <pme@gcc.gnu.org>
2300
2301 PR libstdc++/9527, PR libstdc++/8713
2302 * docs/html/install.html: Mention glibc version requirement.
2303 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
2304 with 3.2.1+ (formatting bugfixes).
2305 * docs/html/faq/index.txt: Regenerate.
2306
847e8c74
VR
23072003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2308
2309 PR libstdc++/9234
2310 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
2311 operator.
2312
8d0a564b
JQ
2313 * include/bits/valarray_before.h (__not_equal_to): Use != instead
2314 of ==.
847e8c74
VR
2315
2316 * testsuite/26_numerics/valarray_operators.cc: New test.
2317
d6ed6fcc
PE
23182003-02-01 Phil Edwards <pme@gcc.gnu.org>
2319
2320 * docs/html/faq/index.html: Correct link to libg++ information.
2321 * docs/html/faq/index.txt: Regenerated.
2322
064994a3 23232003-02-01 Paolo Carlini <pcarlini@unitus.it>
a2cf38ee 2324 Benjamin Kosnik <bkoz@redhat.com>
064994a3
PC
2325
2326 Const correctness issue:
2327 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
2328 * include/bits/locale_classes.h
2329 (locale::_Impl::_M_facets): Change type to const facet**.
2330 (locale::_Impl::_M_install_facet): Change declaration to
2331 take const facet*.
2332 (locale::facet::_M_references): Make mutable.
2333 (locale::facet::_M_add_reference): Declare const.
2334 (locale::facet::_M_remove_reference): Likewise.
2335 * include/bits/locale_facets.tcc
2336 (use_facet(const locale&)): Tweak for const facet** _M_facets.
2337 (has_facet(const locale&)): Likewise.
2338 * src/locale.cc
2339 (locale::facet::_M_add_reference): Adjust definition.
2340 (locale::facet::_M_remove_reference): Likewise.
2341 * src/localename.cc
2342 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
2343 const facet** _M_facets.
2344 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
2345 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
2346 (locale::_Impl::_M_install_facet): Adjust definition to take
2347 const facet* and for const facet** _M_facets.
2348 * testsuite/22_locale/locale/cons/8.cc: Add.
2349
14d22dd6
MM
23502003-01-29 Mark Mitchell <mark@codesourcery.com>
2351
2352 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
2353 Use __FLT_HAS_INIFINITY__ to initialize.
2354 (numeric_limits<float>::has_quiet_NaN): Likewise.
2355 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
2356 to initialize.
2357 (numeric_limits<double>::has_quiet_NaN): Likewise.
2358 (numeric_limits<long double>::has_infinity): Use
2359 __LDBL_HAS_INIFINITY__ to initialize.
2360 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
2361
483a5709
NS
23622003-01-28 Nathan Sidwell <nathan@codesourcery.com>
2363
2364 PR c++/9433
2365 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
2366 with bases which are very ambiguous.
2367
697044e0
DS
23682003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
2369
2370 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
2371 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
2372 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
2373 * src/Makefile.in: Regenerate.
2374 * libsupc++/Makefile.in: Regenerate.
2375
f3fe2438
AO
23762003-01-27 Alexandre Oliva <aoliva@redhat.com>
2377
2378 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
2379 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2380 version_specific_libs is enabled.
2381 * aclocal.m4, configure: Rebuilt.
2382
3de98700
NS
23832003-01-24 Nathan Sidwell <nathan@codesourcery.com>
2384
2385 * include/bits/valarray_meta.h: Remove, split into ...
2386 * include/bits/valarray_before.h: ... this, and ...
2387 * include/bits/valarray_after.h: ... this.
2388 * include/std/std_valarray.h: Adjust.
2389 * include/Makefile.am (bits_headers): Adjust.
2390 * include/Makefile.in: Regenerate.
2391
475c1d09
AS
23922003-01-24 Andreas Schwab <schwab@suse.de>
2393
2394 * config/linker-map.gnu: Fix for size_t variance.
2395
1ceb90cf
PR
23962003-01-23 Petur Runolfsson <peturr02@ru.is>
2397
2398 PR libstdc++/9322
2399 * include/std/std_streambuf.h
2400 (basic_streambuf::basic_streambuf,
2401 basic_streambuf::~basic_streambuf,
2402 basic_streambuf::getloc, basic_streambuf::imbue):
2403 Remove _M_buf_locale_init
2404 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
2405 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
2406 * testsuite/27_io/streambuf_members.cc (test08): Add.
2407 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
2408
1a1e79bb
BK
24092003-01-23 Benjamin Kosnik <bkoz@redhat.com>
2410
2411 Revert include ordering.
2412 * config/locale/generic/c_locale.h: Add include guards.
2413 * config/locale/gnu/c_locale.h: Same.
2414 * include/bits/locale_classes.h: Remove cctype include.
2415 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
2416 * include/std/std_fstream.h: Remove streambuf include.
2417 * include/std/std_sstream.h: Remove streambuf include.
a2cf38ee 2418
8099b2ae
BK
24192003-01-23 Benjamin Kosnik <bkoz@redhat.com>
2420
2421 * configure.in (libtool_VERSION): To 6:0:0.
2422 * configure: Regenerated.
2423 * config/linker-map.gnu: Clean.
a2cf38ee 2424
8099b2ae
BK
2425 * src/misc-inst.cc: Remove instantiations.
2426
a2cf38ee 2427 * include/bits/stl_alloc.h (__malloc_alloc_template):
8099b2ae
BK
2428 To __malloc_alloc.
2429 (__default_alloc_template): To __pool_alloc.
2430 * src/stl-inst.cc: Same.
2431 * include/backward/alloc.h: Update.
2432 * testsuite/ext/allocators.cc: Update.
a2cf38ee 2433
8099b2ae
BK
2434 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
2435 really try to remove these if possible.
2436 * src/locale.cc (std): Same.
2437
2438 * testsuite/abi_check.cc (check_version): Add.
2439
b4ec7fc7
BK
24402003-01-22 Benjamin Kosnik <bkoz@redhat.com>
2441 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
2442 Mark Mitchell <mark@codesourcery.com>
a2cf38ee 2443
b4ec7fc7
BK
2444 PR libstdc++/9269
2445 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
2446 (basic_filebuf::underflow): Declare.
2447 Move definitions.
2448
e6686813
BK
24492003-01-22 Benjamin Kosnik <bkoz@redhat.com>
2450
2451 * include/bits/locale_facets.h: Move non-facet classes requiring
a2cf38ee
ZW
2452 <string> to...
2453 * include/bits/locale_classes.h: New.
e6686813
BK
2454 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
2455 * include/bits/Makefile.in: Regenerate.
2456
2457 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
2458 * config/locale/gnu/c_locale.h: ...here.
2459 * config/locale/generic/c_locale.h: Same.
a2cf38ee 2460
e6686813
BK
2461 * include/bits/locale_facets.tcc: Move declarations to...
2462 * include/bits/locale_facets.h: ...here.
2463 * include/bits/basic_ios.h: Tweak includes accordingly.
2464 * include/std/std_sstream.h: Add streambuf include.
2465 * include/std/std_fstream.h: Ditto.
2466 * include/std/std_locale.h: Add locale_classes.h include.
2467 * include/std/std_iosfwd.h: Tweak.
2468 * src/concept-inst.cc: Add iterator include.
2469
2470 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
2471 bits as unexported in the future.
a2cf38ee 2472
5f8d36fe
BK
24732003-01-21 Benjamin Kosnik <bkoz@redhat.com>
2474
2475 Reshuffle 22_locale testsuite.
2476 * 22_locale/(codecvt.cc money_get.cc
2477 codecvt_members_char_char.cc money_get_members_char.cc
2478 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
2479 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
2480 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
2481 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
2482 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
2483 money_put_members_char.cc ctor_copy_dtor.cc
2484 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
2485 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
2486 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
2487 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
2488 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
2489 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
2490 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
2491 operators.cc ctype_widen_char.cc static_members.cc
2492 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
2493 global_templates.cc time_get_members_wchar_t.cc, members.cc,
2494 time_put.cc, messages_byname.cc, time_put_members_char.cc,
a2cf38ee
ZW
2495 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
2496 Split up into individual test cases...
5f8d36fe
BK
2497 * 22_locale/codecvt/1.cc: New.
2498 * 22_locale/codecvt/2.cc: New.
2499 * 22_locale/codecvt/always_noconv/char/1.cc: New.
2500 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
2501 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
2502 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
2503 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
2504 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
2505 * 22_locale/codecvt/encoding/char/1.cc: New.
2506 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
2507 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
2508 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
2509 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
2510 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
2511 * 22_locale/codecvt/in/char/1.cc: New.
2512 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
2513 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
2514 * 22_locale/codecvt/in/wchar_t/1.cc: New.
2515 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
2516 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
2517 * 22_locale/codecvt/length/char/1.cc: New.
2518 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
2519 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
2520 * 22_locale/codecvt/length/wchar_t/1.cc: New.
2521 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
2522 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
2523 * 22_locale/codecvt/max_length/char/1.cc: New.
2524 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
2525 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
2526 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
2527 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
2528 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
2529 * 22_locale/codecvt/out/char/1.cc: New.
2530 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
2531 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
2532 * 22_locale/codecvt/out/wchar_t/1.cc: New.
2533 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
2534 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
2535 * 22_locale/codecvt/unicode/char.cc: New.
2536 * 22_locale/codecvt/unicode/wchar_t.cc: New.
2537 * 22_locale/codecvt/unshift/char/1.cc: New.
2538 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
2539 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
2540 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
2541 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
2542 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
2543 * 22_locale/collate/1.cc: New.
2544 * 22_locale/collate/2.cc: New.
2545 * 22_locale/collate/compare/char/1.cc: New.
2546 * 22_locale/collate/compare/char/2.cc: New.
2547 * 22_locale/collate/compare/char/wrapped_env.cc: New.
2548 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
2549 * 22_locale/collate/compare/wchar_t/1.cc: New.
2550 * 22_locale/collate/compare/wchar_t/2.cc: New.
2551 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
2552 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
2553 * 22_locale/collate/hash/char/1.cc: New.
2554 * 22_locale/collate/hash/char/2.cc: New.
2555 * 22_locale/collate/hash/char/wrapped_env.cc: New.
2556 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
2557 * 22_locale/collate/hash/wchar_t/1.cc: New.
2558 * 22_locale/collate/hash/wchar_t/2.cc: New.
2559 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
2560 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
2561 * 22_locale/collate/transform/char/2.cc: New.
2562 * 22_locale/collate/transform/char/wrapped_env.cc: New.
2563 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
2564 * 22_locale/collate/transform/wchar_t/2.cc: New.
2565 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
2566 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
2567 * 22_locale/collate_byname/1.cc: New.
2568 * 22_locale/ctype/1.cc: New.
2569 * 22_locale/ctype/2.cc: New.
2570 * 22_locale/ctype/cons/char/1.cc: New.
2571 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
2572 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
2573 * 22_locale/ctype/is/char/1.cc: New.
2574 * 22_locale/ctype/is/char/2.cc: New.
2575 * 22_locale/ctype/is/char/3.cc: New.
2576 * 22_locale/ctype/is/char/wrapped_env.cc: New.
2577 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
2578 * 22_locale/ctype/is/wchar_t/1.cc: New.
2579 * 22_locale/ctype/is/wchar_t/2.cc: New.
2580 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
2581 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
2582 * 22_locale/ctype/narrow/char/1.cc: New.
2583 * 22_locale/ctype/narrow/char/2.cc: New.
2584 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
2585 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
2586 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
2587 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
2588 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
2589 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
2590 * 22_locale/ctype/scan/char/1.cc: New.
2591 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
2592 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
2593 * 22_locale/ctype/scan/wchar_t/1.cc: New.
2594 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
2595 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
2596 * 22_locale/ctype/to/char/1.cc: New.
2597 * 22_locale/ctype/to/char/wrapped_env.cc: New.
2598 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
2599 * 22_locale/ctype/to/wchar_t/1.cc: New.
2600 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
2601 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
2602 * 22_locale/ctype/widen/char/1.cc: New.
2603 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
2604 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
2605 * 22_locale/ctype/widen/wchar_t/1.cc: New.
2606 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
2607 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
2608 * 22_locale/facet/1.cc: New.
2609 * 22_locale/facet/2.cc: New.
2610 * 22_locale/global_templates/1.cc: New.
2611 * 22_locale/locale/cons/1.cc: New.
2612 * 22_locale/locale/cons/2.cc: New.
2613 * 22_locale/locale/cons/3.cc: New.
2614 * 22_locale/locale/cons/4.cc: New.
2615 * 22_locale/locale/cons/5.cc: New.
2616 * 22_locale/locale/cons/6.cc: New.
2617 * 22_locale/locale/cons/7.cc: New.
2618 * 22_locale/locale/global_locale_objects/1.cc: New.
2619 * 22_locale/locale/global_locale_objects/2.cc: New.
2620 * 22_locale/locale/global_locale_objects/3.cc: New.
2621 * 22_locale/locale/operations/1.cc: New.
2622 * 22_locale/locale/operations/2.cc: New.
2623 * 22_locale/messages/1.cc: New.
2624 * 22_locale/messages/2.cc: New.
2625 * 22_locale/messages/members/char/1.cc: New.
2626 * 22_locale/messages/members/char/2.cc: New.
2627 * 22_locale/messages/members/char/3.cc: New.
2628 * 22_locale/messages/members/char/wrapped_env.cc: New.
2629 * 22_locale/messages/members/char/wrapped_locale.cc: New.
2630 * 22_locale/messages_byname/1.cc: New.
2631 * 22_locale/money_get/1.cc: New.
2632 * 22_locale/money_get/2.cc: New.
2633 * 22_locale/money_get/get/char/1.cc: New.
2634 * 22_locale/money_get/get/char/2.cc: New.
2635 * 22_locale/money_get/get/char/3.cc: New.
2636 * 22_locale/money_get/get/char/4.cc: New.
2637 * 22_locale/money_get/get/char/5.cc: New.
2638 * 22_locale/money_get/get/char/6.cc: New.
2639 * 22_locale/money_get/get/char/7.cc: New.
2640 * 22_locale/money_get/get/char/8.cc: New.
2641 * 22_locale/money_get/get/char/wrapped_env.cc: New.
2642 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
2643 * 22_locale/money_get/get/wchar_t/1.cc: New.
2644 * 22_locale/money_get/get/wchar_t/2.cc: New.
2645 * 22_locale/money_get/get/wchar_t/3.cc: New.
2646 * 22_locale/money_get/get/wchar_t/4.cc: New.
2647 * 22_locale/money_get/get/wchar_t/5.cc: New.
2648 * 22_locale/money_get/get/wchar_t/6.cc: New.
2649 * 22_locale/money_get/get/wchar_t/7.cc: New.
2650 * 22_locale/money_get/get/wchar_t/8.cc: New.
2651 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
2652 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
2653 * 22_locale/money_put/1.cc: New.
2654 * 22_locale/money_put/2.cc: New.
2655 * 22_locale/money_put/put/char/1.cc: New.
2656 * 22_locale/money_put/put/char/2.cc: New.
2657 * 22_locale/money_put/put/char/3.cc: New.
2658 * 22_locale/money_put/put/char/4.cc: New.
2659 * 22_locale/money_put/put/char/5.cc: New.
2660 * 22_locale/money_put/put/char/6.cc: New.
2661 * 22_locale/money_put/put/char/wrapped_env.cc: New.
2662 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
2663 * 22_locale/money_put/put/wchar_t/1.cc: New.
2664 * 22_locale/money_put/put/wchar_t/2.cc: New.
2665 * 22_locale/money_put/put/wchar_t/3.cc: New.
2666 * 22_locale/money_put/put/wchar_t/4.cc: New.
2667 * 22_locale/money_put/put/wchar_t/5.cc: New.
2668 * 22_locale/money_put/put/wchar_t/6.cc: New.
2669 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
2670 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
2671 * 22_locale/moneypunct/1.cc: New.
2672 * 22_locale/moneypunct/2.cc: New.
2673 * 22_locale/moneypunct/3.cc: New.
2674 * 22_locale/moneypunct/members/char/1.cc: New.
2675 * 22_locale/moneypunct/members/char/2.cc: New.
2676 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
2677 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
2678 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
2679 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
2680 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
2681 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
2682 * 22_locale/moneypunct_byname/1.cc: New.
2683 * 22_locale/num_get/1.cc: New.
2684 * 22_locale/num_get/2.cc: New.
2685 * 22_locale/num_get/get/char/1.cc: New.
2686 * 22_locale/num_get/get/char/2.cc: New.
2687 * 22_locale/num_get/get/char/3.cc: New.
2688 * 22_locale/num_get/get/char/4.cc: New.
2689 * 22_locale/num_get/get/char/5.cc: New.
2690 * 22_locale/num_get/get/char/6.cc: New.
2691 * 22_locale/num_get/get/char/wrapped_env.cc: New.
2692 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
2693 * 22_locale/num_get/get/wchar_t/1.cc: New.
2694 * 22_locale/num_get/get/wchar_t/2.cc: New.
2695 * 22_locale/num_get/get/wchar_t/3.cc: New.
2696 * 22_locale/num_get/get/wchar_t/4.cc: New.
2697 * 22_locale/num_get/get/wchar_t/5.cc: New.
2698 * 22_locale/num_get/get/wchar_t/6.cc: New.
2699 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
2700 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
2701 * 22_locale/num_put/1.cc: New.
2702 * 22_locale/num_put/2.cc: New.
2703 * 22_locale/num_put/put/char/1.cc: New.
2704 * 22_locale/num_put/put/char/2.cc: New.
2705 * 22_locale/num_put/put/char/3.cc: New.
2706 * 22_locale/num_put/put/char/4.cc: New.
2707 * 22_locale/num_put/put/char/5.cc: New.
2708 * 22_locale/num_put/put/char/wrapped_env.cc: New.
2709 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
2710 * 22_locale/num_put/put/wchar_t/1.cc: New.
2711 * 22_locale/num_put/put/wchar_t/2.cc: New.
2712 * 22_locale/num_put/put/wchar_t/3.cc: New.
2713 * 22_locale/num_put/put/wchar_t/4.cc: New.
2714 * 22_locale/num_put/put/wchar_t/5.cc: New.
2715 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
2716 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
2717 * 22_locale/numpunct/1.cc: New.
2718 * 22_locale/numpunct/2.cc: New.
2719 * 22_locale/numpunct/members/char/1.cc: New.
2720 * 22_locale/numpunct/members/char/2.cc: New.
2721 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
2722 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
2723 * 22_locale/numpunct/members/wchar_t/1.cc: New.
2724 * 22_locale/numpunct/members/wchar_t/2.cc: New.
2725 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
2726 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
2727 * 22_locale/numpunct_byname/1.cc: New.
2728 * 22_locale/numpunct_byname/2.cc: New.
2729 * 22_locale/time_get/1.cc: New.
2730 * 22_locale/time_get/2.cc: New.
2731 * 22_locale/time_get/date_order/char/1.cc: New.
2732 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
2733 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
2734 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
2735 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
2736 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
2737 * 22_locale/time_get/get_date/char/1.cc: New.
2738 * 22_locale/time_get/get_date/char/2.cc: New.
2739 * 22_locale/time_get/get_date/char/3.cc: New.
2740 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
2741 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
2742 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
2743 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
2744 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
2745 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
2746 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
2747 * 22_locale/time_get/get_monthname/char/1.cc: New.
2748 * 22_locale/time_get/get_monthname/char/2.cc: New.
2749 * 22_locale/time_get/get_monthname/char/3.cc: New.
2750 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
2751 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
2752 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
2753 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
2754 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
2755 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
2756 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
2757 * 22_locale/time_get/get_time/char/1.cc: New.
2758 * 22_locale/time_get/get_time/char/2.cc: New.
2759 * 22_locale/time_get/get_time/char/3.cc: New.
2760 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
2761 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
2762 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
2763 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
2764 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
2765 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
2766 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
2767 * 22_locale/time_get/get_weekday/char/1.cc: New.
2768 * 22_locale/time_get/get_weekday/char/2.cc: New.
2769 * 22_locale/time_get/get_weekday/char/3.cc: New.
2770 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
2771 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
2772 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
2773 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
2774 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
2775 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
2776 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
2777 * 22_locale/time_get/get_year/char/1.cc: New.
2778 * 22_locale/time_get/get_year/char/3.cc: New.
2779 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
2780 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
2781 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
2782 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
2783 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
2784 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
2785 * 22_locale/time_put/1.cc: New.
2786 * 22_locale/time_put/2.cc: New.
2787 * 22_locale/time_put/put/char/1.cc: New.
2788 * 22_locale/time_put/put/char/10.cc: New.
2789 * 22_locale/time_put/put/char/2.cc: New.
2790 * 22_locale/time_put/put/char/3.cc: New.
2791 * 22_locale/time_put/put/char/4.cc: New.
2792 * 22_locale/time_put/put/char/5.cc: New.
2793 * 22_locale/time_put/put/char/6.cc: New.
2794 * 22_locale/time_put/put/char/7.cc: New.
2795 * 22_locale/time_put/put/char/8.cc: New.
2796 * 22_locale/time_put/put/char/9.cc: New.
2797 * 22_locale/time_put/put/char/wrapped_env.cc: New.
2798 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
2799 * 22_locale/time_put/put/wchar_t/1.cc: New.
2800 * 22_locale/time_put/put/wchar_t/10.cc: New.
2801 * 22_locale/time_put/put/wchar_t/2.cc: New.
2802 * 22_locale/time_put/put/wchar_t/3.cc: New.
2803 * 22_locale/time_put/put/wchar_t/4.cc: New.
2804 * 22_locale/time_put/put/wchar_t/5.cc: New.
2805 * 22_locale/time_put/put/wchar_t/6.cc: New.
2806 * 22_locale/time_put/put/wchar_t/7.cc: New.
2807 * 22_locale/time_put/put/wchar_t/8.cc: New.
2808 * 22_locale/time_put/put/wchar_t/9.cc: New.
2809 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
2810 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
2811
ca2ceadd
JO
28122003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
2813
2814 * config/locale/generic/messages_members.h
2815 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
2816 unqualified members of base clasess.
2817
8fbc5ae7
MM
28182003-01-16 Mark Mitchell <mark@codesourcery.com>
2819 Jeffrey Oldham <oldham@codesourcery.com>
a2cf38ee 2820
8fbc5ae7
MM
2821 * config/locale/gnu/messages_members.h: Use this-> to refer to
2822 unqualified members of base clasess.
2823 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
2824 * include/bits/codecvt.h: Likewise.
2825 * include/bits/deque.tcc: Likewise.
2826 * include/bits/fstream.tcc: Likewise.
2827 * include/bits/istream.tcc: Likewise.
2828 * include/bits/list.tcc: Likewise.
2829 * include/bits/locale_facets.h: Likewise.
2830 * include/bits/ostream.tcc: Likewise.
2831 * include/bits/sstream.tcc: Likewise.
2832 * include/bits/stl_bvector.h: Likewise.
2833 * include/bits/stl_deque.h: Likewise.
2834 * include/bits/stl_list.h: Likewise.
2835 * include/bits/stl_tree.h: Likewise.
2836 * include/bits/stl_vector.h: Likewise.
2837 * include/bits/vector.tcc: Likewise.
2838 * include/ext/ropeimpl.h: Likewise.
2839 * include/ext/stdio_filebuf.h: Likewise.
2840 * include/ext/stl_rope.h: Likewise.
2841 * include/std/std_fstream.h: Likewise.
2842 * include/std/std_sstream.h: Likewise.
a2cf38ee 2843
25ad7e06
PE
28442003-01-15 Phil Edwards <pme@gcc.gnu.org>
2845
2846 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
2847
6b543e86
BK
28482003-01-15 Benjamin Kosnik <bkoz@redhat.com>
2849
2850 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
2851 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
2852 * aclocal.m4: Regenerate.
2853 * configure: Regenerate.
2854 * testsuite/Makefile.am (all-local): Add conditional rule to
2855 generate testsuite_wchar_t.
2856 * testsuite/Makefile.in: Regenerate.
2857 * testsuite/lib/libstdc++-v3-dg.exp
2858 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
2859 testsuite_wchar_t is not present in the build directory.
2860 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
2861 Remove setulimit bits.
2862 * testsuite/26_numerics/complex_value.cc: Set to noopts.
2863 * testsuite/Makefile.am (CLEANFILES): Add.
a2cf38ee
ZW
2864 * testsuite/Makefile.in: Regenerate.
2865
4af6a063
JDA
28662003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
2867
2868 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
2869 __hppa__.
2870
a7189b49
JO
28712003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
2872
2873 Further conform g++'s __vmi_class_type_info to the C++ ABI
2874 specification.
2875 * libsupc++/cxxabi.h
2876 (__vmi_class_type_info::__flags_masks): Remove enumerations not
2877 required by the specification.
2878
8d59b230
BK
28792003-01-12 Benjamin Kosnik <bkoz@redhat.com>
2880
a2cf38ee 2881 Renames, namespaces for testsuite utilities.
8d59b230
BK
2882 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
2883 (gnu_allocator_tracker): Rename to allocation_tracker.
2884 (gnu_new_allocator): Rename to tracker_alloc.
2885 (__set_testsuite_memlimit): Rename to set_memory_limits.
2886 (gnu_assignment_operator): Rename to assignment_operator.
2887 (gnu_destructor): Rename to destructor.
2888 (gnu_copy_tracker): Rename to copy_tracker.
2889 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
2890 (run_tests_wrapped_locale): New.
2891 (run_tests_wrapped_env): New.
2892 * testsuite/testsuite_hooks.cc: Same.
2893 (class locale_data): Add.
2894 (class enviornment_variable): Add.
2895 (class not_found): Add.
2896 * testsuite/testsuite_allocator.h: Same.
2897 * testsuite/testsuite_allocator.cc: Same.
2898 * testsuite/23_containers/deque_ctor.cc
2899 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
a2cf38ee 2900 allocation_tracker.
8d59b230
BK
2901 Change gnu_new_allocator to tracker_alloc.
2902 Change gnu_counting_struct to counter.
2903 Change gnu_copy_tracker to copy_tracker.
2904 Change gnu_copy_constructor to copy_constructor.
a2cf38ee 2905 Change gnu_assignment_operator to assignment_operator.
8d59b230
BK
2906 Inject.
2907 * testsuite/23_containers/vector_capacity.cc: Same.
2908 * testsuite/23_containers/vector_ctor.cc (test01): Same.
2909 * testsuite/23_containers/list_modifiers.cc: Change
2910 gnu_copy_tracker to copy_tracker.
2911 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
2912 __set_testsuite_memlimit to set_memory_limits.
2913 * testsuite/21_strings/insert.cc (main): Same.
2914 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
2915 * testsuite/27_io/stringstream.cc: Same.
2916 * testsuite/27_io/stringbuf.cc: Same.
2917 * testsuite/27_io/streambuf.cc: Same.
2918 * testsuite/27_io/ostream.cc: Same.
2919 * testsuite/27_io/istream.cc: Same.
2920 * testsuite/27_io/fstream.cc: Same.
2921 * testsuite/lib/libstdc++-v3-dg.exp
2922 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
2923 three levels deeper in glob patterns.
2924
3a9fdf30
PE
29252003-01-11 Phil Edwards <pme@gcc.gnu.org>
2926
2927 * docs/doxygen/tables.html: Finished now.
2928 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
2929 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
2930 comments.
2931
2932 * include/bits/deque.tcc, include/bits/stl_alloc.h,
2933 include/bits/stl_deque.h, include/bits/stl_list.h,
2934 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
2935 for 3.4 removal.
2936
38a9323a
BK
29372003-01-09 Benjamin Kosnik <bkoz@redhat.com>
2938
2939 * configure.in: Revert.
2940 * configure: Regenerate.
2941
90e5b39f
CC
29422003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2943
2944 * include/Makefile.am (install-data-local): Prepend
2945 $(DESTDIR) to destination paths in all (un)installation
2946 commands. Use ${c_base_builddir} and ${std_builddir}
2947 as destination subdirectories to achieve consistency with
2948 preceding mkinstalldirs commands. No effect because both
2949 variables contain "." only.
2950 * include/Makefile.in: Regenerate.
2951
7ec3af37
BK
29522003-01-08 Benjamin Kosnik <bkoz@redhat.com>
2953
2954 * include/Makefile.am (stamp-*): Add checks for existing stamps.
2955 * include/Makefile.in: Regenerate.
2956
2957 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
2958 * aclocal.m4: Regenerate.
2959
2960 * configure.in: Don't add new multi-do rules every time the
2961 directory is reconfigured.
2962 * configure: Regenerate.
a2cf38ee 2963
7ec3af37 29642003-01-08 Brad Spencer <spencer@infointeractive.com>
a2cf38ee
ZW
2965 Nathan Myers <ncm@cantrip.org>
2966
7ec3af37
BK
2967 * src/Makefile.am (stamp-debug): Clean.
2968 * src/Makefile.in: Regenerate.
a2cf38ee 2969
0252d604
BK
29702003-01-07 Benjamin Kosnik <bkoz@redhat.com>
2971
2972 PR libstdc++/8707
2973 * Makefile.am (distclean-multi): Fix.
2974 * Makefile.in: Regenerate.
a2cf38ee 2975
1c26d8fd
BK
29762003-01-06 Benjamin Kosnik <bkoz@redhat.com>
2977
2978 * include/bits/locale_facets.h (messages): Move ctor, dtor
2979 definitions to..
2980 (__timepunct): Same.
2981 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
2982 definitions. Conditionalize for GNU systems.
2983 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
2984 definitions.
2985 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
2986 definitions. Conditionalize for GNU systems.
2987 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
2988 definitions.
2989 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
2990 * src/locale.cc: Define.
2991 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
2992 Use it.
2993 * config/locale/gnu/time_members.h: Use it.
2994 * config/locale/gnu/messages_members.h: Use it.
a2cf38ee 2995 * config/linker-map.gnu: Add locale::facets details.
1c26d8fd
BK
2996 * include/Makefile.am (target_headers_extra): Add time_members.h.
2997 * include/Makefile.in: Regenerate.
2998 * acinclude.m4: Export CTIME_H.
2999 * aclocal.m4: Regenerate.
3000 * configure: Regnerate.
3001
80c4581d
PC
30022003-01-06 Paolo Carlini <pcarlini@unitus.it>
3003
3004 * src/codecvt.cc
a2cf38ee
ZW
3005 (codecvt<char, char, mbstate_t>::do_in, do_out):
3006 Tweak parameters to avoid unused parameter warnings.
80c4581d 3007
87117aa2
PC
30082003-01-06 Paolo Carlini <pcarlini@unitus.it>
3009
3010 PR libstdc++/9151
3011 * include/bits/locale_facets.cc (num_put::_M_convert_float):
3012 Limit __prec to digits10 + 2, not digits10 + 1, taking into
3013 account the possibility of %{g,G} conversion specifiers
3014 inside _S_format_float.
3015 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
3016
8de6a6df
KG
30172003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3018
3019 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
3020 libstdc++-v3-list-sourcefiles): Additionally handle files one
3021 level deeper in glob patterns.
a2cf38ee 3022
8de6a6df
KG
3023 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
3024 * testsuite/27_io/istream_extractor_arith/01.cc,
3025 testsuite/27_io/istream_extractor_arith/02.cc,
3026 testsuite/27_io/istream_extractor_arith/03.cc,
3027 testsuite/27_io/istream_extractor_arith/06.cc,
3028 testsuite/27_io/istream_extractor_arith/07.cc,
3029 testsuite/27_io/istream_extractor_arith/08.cc,
3030 testsuite/27_io/istream_extractor_arith/09.cc,
3031 testsuite/27_io/istream_extractor_arith/10.cc,
3032 testsuite/27_io/istream_extractor_arith/11.cc,
3033 testsuite/27_io/istream_extractor_arith/12.cc,
3034 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
3035 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
3036 sparc*-*-solaris2*.
3037
b1599033
PC
30382003-01-05 Paolo Carlini <pcarlini@unitus.it>
3039
3040 PR libstdc++/9168
3041 * src/codecvt.cc
3042 (codecvt<char, char, mbstate_t>::do_in, do_out):
3043 Implement the resolution of DR19 (TC).
3044 * testsuite/22_locale/codecvt_members_char_char.cc
3045 (test01): Tweak.
3046
e55393db
JM
30472003-01-02 Jason Merrill <jason@redhat.com>
3048
3049 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
3050 *__mem is also an output.
3051 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.
This page took 0.445549 seconds and 5 git commands to generate.