]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/ChangeLog
re PR c++/10091 ([parisc] ICE in cp_expr_size, at cp/cp-lang.c:307)
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
1 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
2 Petur Runolfsson <peturr02@ru.is>
3
4 PR libstdc++/10097
5 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
6 basic_filebuf<wchar_t>::_M_underflow_common):
7 if (gptr() < egptr()) return *gptr().
8 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
9
10 * testsuite/27_io/filebuf_members.cc (test_04): Minor
11 changes: unlink fifo before making it, fix spelling error.
12
13 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
14
15 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
16 * testsuite/Makefile.in: Regenerate.
17 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
18 Cleanups.
19
20 2003-03-17 Petur Runolfsson <peturr02@ru.is>
21
22 PR libstdc++/9964
23 * include/bits/fstream.tcc (basic_filebuf::close):
24 Always close file, even when write fails.
25 * testsuite/27_io/filebuf_members.cc (test_07): New test.
26
27 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
28
29 * libsupc++/Makefile.am (C_COMPILE): Remove.
30 (LTCOMPILE): Likewise.
31 * libsupc++/Makefile.in: Regenerate.
32
33 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
34
35 * testsuite/23_containers/bitset_members.cc: Add test variable.
36 * testsuite/23_containers/map_insert.cc: Same.
37 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
38 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
39 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
40 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
41 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
42 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
43 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
44 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
45 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
46 * testsuite/27_io/istream_exception.cc: Same.
47 * testsuite/27_io/filebuf_virtuals.cc: Same.
48 * testsuite/27_io/stringbuf_virtuals.cc: Same.
49 * testsuite/27_io/ostream_inserter_arith.cc: Same.
50 * testsuite/26_numerics/valarray_operators.cc: Same.
51 * testsuite/26_numerics/slice.cc: Same.
52 * testsuite/26_numerics/slice_array_assignment.cc: Same.
53 * testsuite/24_iterators/istream_iterator.cc: Same.
54 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
55
56 2003-03-14 Petur Runolfsson <peturr02@ru.is>
57
58 PR libstdc++/9581
59 PR libstdc++/9870
60 * config/locale/generic/ctype_members.cc,
61 * config/locale/gnu/ctype_members.cc
62 (ctype<wchar_t>::do_widen(char)): Cast argument to
63 unsigned char before passing to btowc.
64 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
65 Convert characters with btowc instead of mbsrtowcs.
66 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
67 char, char*):
68 Convert characters with wctob instead of wcsrtombs.
69 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
70 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
71 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
72
73 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
74
75 * include/stdc++.h: New.
76 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
77 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
78 * include/Makefile.in: Regenerate.
79 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
80 (--cxxflags): Put -g -O2 here.
81 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
82
83 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
84
85 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
86 missing named locale.
87
88 2003-03-14 Andreas Schwab <schwab@suse.de>
89
90 * configure.in: Only append to makefiles that are newly created to
91 avoid multiple multi-do/multi-clean rules.
92 * configure: Rebuilt.
93
94 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
95
96 * docs/html/configopts.html, docs/html/documentation.html,
97 docs/html/explanations.html, docs/html/install.html,
98 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
99 invalid XHTML and make page header style consistent.
100
101 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
102
103 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
104 * docs/html/faq/index.txt: Regenerate.
105 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
106
107 2003-03-12 Andreas Schwab <schwab@suse.de>
108
109 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
110 glibcpp_toolexeclibdir.
111 * aclocal.m4, configure: Rebuilt.
112
113 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
114
115 * docs/html/faq/index.html: Update text about location of headers.
116 * docs/html/faq/index.txt: Regenerate.
117
118 2003-03-11 Carlo Wood <carlo@alinoe.com>
119
120 * include/bits/demangle.h: Prepend accessors of
121 class qualifier with 'get_' in order to fix warnings
122 when compiling with -Wshadow.
123
124 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
125
126 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
127 when so installed.
128 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
129
130 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
131 report lack of setenv().
132
133 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
134
135 * config/io/basic_file_stdio.cc: include <unistd.h>.
136
137 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
138 Nathan Myers <ncm@cantrip.org>
139
140 PR libstdc++/7744
141 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
142 seekoff, seekpos): Add a boolean parameter __stdio.
143 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
144 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
145 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
146 respectively).
147 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
148 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
149 * include/std/std_fstream.h (sync): Likewise.
150 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
151 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
152 libstdc++/8399 commit involving isatty(0).
153 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
154 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
155 * configure.in: Remove call.
156 * aclocal.m4: Regenerate.
157 * config.h.in: Regenerate.
158 * configure: Regenerate.
159 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
160
161 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
162
163 PR libstdc++/9988
164 * include/bits/fstream.tcc (overflow): don't write EOF to file.
165 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
166
167 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
168
169 PR libstdc++/9561
170 * include/bits/basic_ios.h (_M_setstate): New.
171 * include/bits/ostream.tcc (operator<<): Use it.
172 * include/bits/istream.tcc (operator>>): Use it.
173 * include/std/std_ostream.h (operator<<): Make friends.
174 * include/std/std_istream.h (operator>>): Make friends.
175 * testsuite/27_io/ostream_exception.cc,
176 testsuite/27_io/istream_exception.cc: New tests.
177
178 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
179
180 * include/bits/locale_facets.tcc: Fix typo.
181
182 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
183
184 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
185
186 * config/locale/generic/c_locale.cc
187 (locale::facet::_S_create_c_locale): Throw runtime exception when
188 unsupported language is specified.
189 * testsuite/testsuite_hooks.h
190 (run_test_wrapped_generic_locale_exception_catcher): New function.
191 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
192 Suppress runtime exception thrown by generic implementation.
193 (run_tests_wrapped_env): Likewise.
194 (run_test_wrapped_generic_locale_exception_catcher): New function.
195 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
196 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
197 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
198 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
199 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
200 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
201 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
202 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
203 * testsuite/22_locale/facet/2.cc: New test wrap.
204 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
205 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
206 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
207 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
208 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
209 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
210 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
211 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
212 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
213 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
214 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
215 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
216 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
217 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
218 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
219 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
220 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
221 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
222 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
223 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
224 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
225 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
226 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
227 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
228 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
229 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
230 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
231 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
232 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
233 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
234 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
235 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
236 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
237 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
238 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
239 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
240 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
241 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
242 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
243 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
244 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
245 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
246 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
247 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
248 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
249 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
250 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
251 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
252 * testsuite/27_io/ios_members.cc: New test wrap.
253 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
254 New test wrap.
255 * testsuite/27_io/streambuf_members.cc: New test wrap.
256 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
257
258 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
259 Petur Runolfsson <peturr02@ru.is>
260
261 PR libstdc++/9424
262 * include/bits/streambuf.tcc (__copy_streambufs): Use
263 sgetn-sputn only when sputn cannot fail, otherwise fall back
264 to safe snextc-sputc.
265 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
266
267 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
268
269 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
270 locale cache for truename and falsename.
271
272 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
273
274 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
275 _M_word_size initialization.
276
277 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
278
279 * include/bits/fstream.tcc (_M_convert_to_external):
280 Set __elen to zero if codecvt::out eventually fails.
281
282 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
283
284 PR libstdc++/9182
285 * include/bits/fstream.tcc (_M_really_overflow): Check
286 for _M_convert_to_external possible failures.
287 * include/std/std_fstream.h (sync): Check _M_really_overflow
288 return value and return -1 in case of failure.
289 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
290
291 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
292
293 PR libstdc++/9826
294 * include/bits/istream.tcc (operator>>(_CharT*),
295 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
296 * testsuite/27_io/stringstream.cc (test02): Add.
297
298 * include/bits/istream.tcc (operator>>(_CharT*)):
299 Assign a char_type to *__s.
300
301 2003-03-07 Petur Runolfsson <peturr02@ru.is>
302
303 PR libstdc++/9817
304 * include/bits/locale_facets.tcc
305 (collate::do_compare, collate::do_transform):
306 Handle nul characters in input.
307 * testsuite/22_locale/collate/compare/char/3.cc: New test.
308 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
309 * testsuite/22_locale/collate/transform/char/3.cc: New test.
310 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
311
312 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
313
314 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
315 sputn fails.
316 * testsuite/27_io/ostream_fail.cc: New test.
317
318 2003-03-07 Matthias Klose <doko@debian.org>
319
320 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
321 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
322 * Makefile.in: Regenerate.
323 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
324 of gxx_include_dir.
325 AM_MAKEFLAGS: Pass gxx_include_dir.
326 * libsupc++/Makefile.in: Regenerate.
327
328 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
329
330 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
331 mask. Test setting small-numbered pword and iword slots. Test
332 behavior at limit of numeric_limits::max. Check that values are
333 still good after failures.
334
335 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
336
337 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
338 (ios_base::ios_base): Set _M_word, _M_word_size.
339 (ios_base::~ios_base): Remove redundant test.
340 * testsuite/27_io/ios_base_storage.cc (test03): New.
341
342 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
343
344 * src/strstream.cc, include/bits/basic_string.tcc: Remove
345 incorrect whitespace added in my previous change.
346
347 2003-03-05 Carlo Wood <carlo@alinoe.com>
348
349 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
350 _S_initialized() in order to allow debugging libraries to detect
351 when the std streams are initialized from an overloaded operator
352 new.
353
354 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
355
356 * libsupc++/demangle.h: Move to..
357 * include/bits/demangle.h: ...here.
358 * src/demangle.cc: Adjust include.
359 * include/Makefile.am (bits_headers): Add.
360 * include/Makefile.in: Regenerate.
361
362 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
363
364 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
365
366 * config/linker-map.gnu: Filter typeinfo and vtable info.
367
368 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
369
370 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
371 new failure. Throw exception if badbit and exception mask when ix
372 >= numeric_limits<int>::max().
373
374 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
375
376 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
377 min and max have the same type.
378 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
379
380 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
381
382 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
383 * include/Makefile.in: Regenerate.
384
385 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
386
387 * testsuite/abi_check.cc (report_symbol_info): Add version info.
388
389 * config/linker-map.gnu: Hide more stuff.
390 * include/Makefile.am: Cleanups.
391 * include/Makefile.in: Regenerate.
392
393 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
394
395 * config/locale/generic/messages_members.h (messages::messages):
396 Remove name from unused parameter.
397
398 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
399
400 * src/Makefile.am (sources): Add demangle.cc.
401 (demangle.o): Add.
402 (demangle.lo): Add.
403 * src/Makefile.in: Regenerate.
404 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
405 * libsupc++/Makefile.in: Regenerate.
406
407 * testsuite/testsuite_hooks.h
408 (__gnu_cxx_test::verify_demangle): New.
409 * testsuite/testsuite_hooks.cc: Define.
410
411 2003-02-27 Carlo Wood <carlo@alinoe.com>
412
413 * src/demangle.cc: New.
414 * libsupc++/demangle.h: New.
415
416 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
417 Carlo Wood <carlo@alinoe.com>
418
419 * testsuite/demangle/abi_examples/01.cc: New.
420 * testsuite/demangle/abi_examples/02.cc: New.
421 * testsuite/demangle/abi_examples/03.cc: New.
422 * testsuite/demangle/abi_examples/04.cc: New.
423 * testsuite/demangle/abi_examples/05.cc: New.
424 * testsuite/demangle/abi_examples/06.cc: New.
425 * testsuite/demangle/abi_examples/07.cc: New.
426 * testsuite/demangle/abi_examples/08.cc: New.
427 * testsuite/demangle/abi_examples/09.cc: New.
428 * testsuite/demangle/abi_examples/10.cc: New.
429 * testsuite/demangle/abi_examples/11.cc: New.
430 * testsuite/demangle/abi_examples/12.cc: New.
431 * testsuite/demangle/abi_examples/13.cc: New.
432 * testsuite/demangle/abi_examples/14.cc: New.
433 * testsuite/demangle/abi_examples/15.cc: New.
434 * testsuite/demangle/abi_examples/16.cc: New.
435 * testsuite/demangle/abi_examples/17.cc: New.
436 * testsuite/demangle/abi_examples/18.cc: New.
437 * testsuite/demangle/abi_examples/19.cc: New.
438 * testsuite/demangle/abi_examples/20.cc: New.
439 * testsuite/demangle/abi_examples/21.cc: New.
440 * testsuite/demangle/abi_examples/22.cc: New.
441 * testsuite/demangle/abi_examples/23.cc: New.
442 * testsuite/demangle/abi_examples/24.cc: New.
443 * testsuite/demangle/abi_examples/25.cc: New.
444 * testsuite/demangle/abi_examples/26.cc: New.
445 * testsuite/demangle/abi_text/01.cc: New.
446 * testsuite/demangle/abi_text/02.cc: New.
447 * testsuite/demangle/abi_text/03.cc: New.
448 * testsuite/demangle/abi_text/04.cc: New.
449 * testsuite/demangle/abi_text/05.cc: New.
450 * testsuite/demangle/abi_text/06.cc: New.
451 * testsuite/demangle/abi_text/07.cc: New.
452 * testsuite/demangle/abi_text/08.cc: New.
453 * testsuite/demangle/abi_text/09.cc: New.
454 * testsuite/demangle/abi_text/10.cc: New.
455 * testsuite/demangle/abi_text/11.cc: New.
456 * testsuite/demangle/abi_text/12.cc: New.
457 * testsuite/demangle/abi_text/13.cc: New.
458 * testsuite/demangle/abi_text/14.cc: New.
459 * testsuite/demangle/regression/3111-1.cc: New.
460 * testsuite/demangle/regression/3111-2.cc: New.
461 * testsuite/demangle/regression/7986-01.cc: New.
462 * testsuite/demangle/regression/7986-02.cc: New.
463 * testsuite/demangle/regression/7986-03.cc: New.
464 * testsuite/demangle/regression/7986-04.cc: New.
465 * testsuite/demangle/regression/7986-05.cc: New.
466 * testsuite/demangle/regression/7986-06.cc: New.
467 * testsuite/demangle/regression/7986-07.cc: New.
468 * testsuite/demangle/regression/7986-08.cc: New.
469 * testsuite/demangle/regression/7986-09.cc: New.
470 * testsuite/demangle/regression/7986-10.cc: New.
471 * testsuite/demangle/regression/7986-11.cc: New.
472 * testsuite/demangle/regression/7986-12.cc: New.
473 * testsuite/demangle/regression/7986.cc: New.
474 * testsuite/demangle/regression/8897.cc: New.
475 * testsuite/demangle/regression/cw-01.cc: New.
476 * testsuite/demangle/regression/cw-02.cc: New.
477 * testsuite/demangle/regression/cw-03.cc: New.
478 * testsuite/demangle/regression/cw-04.cc: New.
479 * testsuite/demangle/regression/cw-05.cc: New.
480 * testsuite/demangle/regression/cw-06.cc: New.
481 * testsuite/demangle/regression/cw-07.cc: New.
482 * testsuite/demangle/regression/cw-08.cc: New.
483 * testsuite/demangle/regression/cw-09.cc: New.
484 * testsuite/demangle/regression/cw-10.cc: New.
485 * testsuite/demangle/regression/cw-11.cc: New.
486 * testsuite/demangle/regression/cw-12.cc: New.
487 * testsuite/demangle/regression/cw-13.cc: New.
488 * testsuite/demangle/regression/cw-14.cc: New.
489 * testsuite/demangle/regression/old.cc: New.
490
491 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
492
493 * docs/doxygen/Intro.3: Update with new (proper) names.
494 * docs/doxygen/TODO: Update.
495 * docs/doxygen/run_doxygen: More comments, fix up man pages.
496 Fake entries for standard typedefs.
497 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
498 * docs/html/documentation.html: Top-level man page is now called
499 C++Intro.
500 * include/std/std_limits.h: Doxygenate.
501
502 2003-02-25 Scott Snyder <snyder@fnal.gov>
503
504 PR libstdc++/9811
505 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
506 Correct documentation.
507 * include/bits/stl_multimap.h (lower_bound, upper_bound,
508 equal_range): Likewise.
509
510 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
511
512 PR libstdc++/9825
513 * src/fstream.cc
514 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
515 __bump is true (uflow), always increment the read pointer
516 (_M_in_cur) before returning successfully.
517 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
518
519 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
520 Nathan Myers <ncm@cantrip.org>
521
522 PR libstdc++/9404, PR libstdc++/9701 (partial)
523 (aka pptr == epptr implies overflow)
524 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
525 Consistently, _M_out_end points to the end of the buffer just
526 created.
527 (overflow): Tweak to use _M_out_buf_size().
528 (_M_convert_to_external): The role of the old _M_out_end is
529 now played by _M_out_lim.
530 (_M_really_overflow): Likewise.
531 (seekoff): Likewise.
532 (setbuf): _M_out_end points to the end of the external buffer.
533 * include/bits/sstream.tcc (overflow): Rewrote, taking into
534 account the resolution of DR 169 (TC).
535 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
536 (seekpos): Use _M_string.capacity(); tweak.
537 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
538 * include/std/std_fstream.h (sync): The role of the old
539 _M_out_end is now played by _M_out_lim.
540 (_M_set_indeterminate): Use _M_set_determinate.
541 (_M_set_determinate): _M_out_end is now _M_out_lim.
542 (_M_is_indeterminate): Likewise.
543 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
544 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
545 which have the information readily available as _M_string.capacity();
546 for ate and app modes, pass the string size to _M_really_sync.
547 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
548 point to the end of the buffer (i.e., epptr) and to the string end,
549 respectively.
550 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
551 which points to the right limit of the used put area.
552 (_M_out_cur_move): The role of the old _M_out_end is now played
553 by _M_out_lim.
554 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
555 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
556 of the standard.
557 (basic_streambuf()): Initialize _M_out_lim too.
558 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
559 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
560 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
561
562 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
563
564 * testsuite/27_io/ios_base_storage.cc (main): Call
565 set_memory_limits.
566
567 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
568
569 * include/bits/locale_facets.tcc (_M_convert_float): Replace
570 numpunct facet accesses with data from __locale_cache.
571
572 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
573
574 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
575 * docs/html/faq/index.txt: Regenerate.
576
577 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
578
579 * config/linker-map.gnu: Also export locking symbols needed for the
580 generic atomicity.h case.
581
582 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
583
584 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
585 config.status.
586 * configure: Rebuilt.
587
588 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
589
590 * include/bits/sstream.tcc (overflow): According to
591 27.7.1.3, p5, actual output is performed by sputc(c).
592
593 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
594
595 PR libstdc++/9582
596 * include/bits/stl_alloc.h: Remove all traces of assert().
597
598 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
599
600 * include/std/std_sstream.h (str()): the size of the
601 current string may be different from the initial one
602 whenever _M_out_end > _M_out_beg.
603 * testsuite/27_io/stringbuf_members.cc (test07): Add.
604
605 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
606
607 PR libstdc++/9582
608 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
609
610 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
611
612 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
613 * testsuite/27_io/ios_members.cc (test03): New.
614
615 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
616
617 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
618 (basic_ios::_M_cache_facets): Move into above.
619 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
620 cache.
621 (basic_ios::imbue): Force locale cache to be built.
622 (basic_ios::_M_init): Create and initialize locale cache.
623 * include/bits/ios_base.h (__locale_cache_base): Declare.
624 (ios_base::_M_locale_cache): New.
625 (ios_base::_M_cache): Define.
626 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
627 _S_end.
628 (__locale_cache_base,__locale_cache<_CharT>): New classes.
629 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
630 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
631 cache literal string, grouping flag, thousands separator.
632 (__locale_cache<_CharT>::__locale_cache): New.
633 (__locale_cache<_CharT>::_M_init): New.
634 * src/ios.cc: Clear _M_locale_cache in constructor.
635 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
636 New.
637
638 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
639
640 * src/locale-inst.cc: Do not include <cassert>.
641 * src/locale.cc: Likewise.
642
643 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
644
645 PR libstdc++/9580
646 * include/std/std_fstream.h: Declare underflow and uflow
647 specializations, change generic definitions to do nothing.
648 * src/fstream.cc: Add underflow and uflow specializations.
649
650 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
651
652 PR libstdc++/9169
653 * include/bits/fstream.tcc (_M_convert_to_external):
654 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
655 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
656
657 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
658
659 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
660 * include/bits/basic_ios.tcc: Guard use of extern template.
661 * include/std/std_iomanip.h: Same.
662 * include/bits/streambuf.tcc: Same.
663 * include/bits/stl_alloc.h: Same.
664 * include/bits/locale_facets.tcc: Same.
665 * include/bits/ostream.tcc: Same.
666 * include/bits/istream.tcc: Same.
667 * include/bits/fstream.tcc: Same.
668 * include/bits/basic_string.tcc: Same.
669
670 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
671
672 * include/bits/ostream.tcc (sentry::sentry): Improve
673 performance-wise the fix for libstdc++/9563.
674
675 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
676
677 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
678 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
679 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
680 when we don't have static mutex initialization.
681 (__exchange_and_add): Use _Atomic_add_mutex_once.
682 * src/misc-inst.cc: Definitions of all the above.
683
684 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
685
686 PR libstdc++/9563
687 * include/bits/ostream.tcc (sentry::sentry): Check
688 the state of the stream after the preparation.
689 * testsuite/27_io/ostream_sentry.cc (test02): Add.
690
691 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
692
693 * include/Makefile.am (stamp-std-precompile): Add rule.
694 * include/Makefile.in: Regenerated.
695
696 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
697 Benjamin Kosnik <benjamin@redhat.com>
698
699 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
700 Add indexes into this array.
701 (__num_base::_S_atoms): To _S_atoms_in.
702 (num_put::_M_insert): Rename to _M_pad.
703 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
704 (num_put::_M_widen_int): Rename to _M_group_int.
705 (num_put::_M_widen_float): Rename to _M_group_float.
706 * include/bits/locale_facets.tcc (__int_to_char): New inline
707 function and adapter functions.
708 (num_put::_M_group_int): Streamline.
709 (num_put::_M_group_float): Streamline.
710 (num_put::_M_convert_int): Remove unused parameter names. Choose
711 large enough buffer for text. Use __int_to_char instead of
712 __convert_from_v. Formatted text is now at the end of the buffer.
713 (num_put::_M_convert_float): Preliminary fixups.
714 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
715 (__int_to_char<unsigned long long>): Same.
716 (__int_to_char<char, unsigned long>): New.
717 (__int_to_char<char, unsigned long long>): New.
718 (__int_to_char<wchar_t, unsigned long>): New.
719 (__int_to_char<wchar_t, unsigned long long>): New.
720
721 2003-02-11 Scott Snyder <snyder@fnal.gov>
722
723 PR libstdc++/9659
724 * include/bits/fstream.tcc (seekoff): Avoid operator+
725 for pos_type.
726
727 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
728
729 PR libstdc++/9320
730 * include/ext/stdio_filebuf.h
731 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
732 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
733 Change to take a __size parameter of type size_t, not
734 of type (template parameter dependent) int_type.
735 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
736 size vars to size_t.
737 * testsuite/ext/stdio_filebuf.cc: Add.
738
739 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
740 Petur Runolfsson <peturr02@ru.is>
741
742 PR libstdc++/9318
743 * include/bits/streambuf.tcc (__copy_streambufs):
744 Don't conditionalize the copy to __testput.
745 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
746
747 2002-02-11 DJ Delorie <dj@redhat.com>
748
749 * acinclude.m4: Check for native targets that can't link at
750 this point in the build.
751 * aclocal.m4: Regenerate.
752 * configure: Regenerate.
753
754 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
755
756 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
757 Correct alignment.
758 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
759 lock.
760
761 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
762
763 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
764 unsigned char platforms.
765
766 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
767
768 PR libstdc++/9562
769 * include/std/std_istream.h
770 (basic_istream::sentry::operator bool()): Make const.
771 * include/std/std_ostream.h
772 (basic_ostream::sentry::operator bool()): Likewise.
773 * testsuite/27_io/istream_sentry.cc (test03): Add.
774 * testsuite/27_io/ostream_sentry.cc: Add.
775
776 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
777
778 PR libstdc++/9548
779 Implement resolution of DR 231 (Ready)
780 * include/bits/locale_facets.h (__num_base::_S_format_float):
781 Change declaration: return void, remove __prec parameter.
782 * src/locale.cc (__num_base::_S_format_float): Implement
783 resolution of DR 231.
784 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
785 Tweak uses. Check for negative precision.
786 * testsuite/22_locale/num_put/put/char/6.cc: Add
787 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
788
789 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
790
791 * config/io/basic_file_libio.h: Fixups.
792 * config/io/c_io_libio.h: Same.
793 * libio/Makefile.am: Same.
794 * libio/Makefile.in: Regenerated.
795
796 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
797
798 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
799 Explicitly use the "C" locale.
800 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
801
802 2003-02-06 Petur Runolfsson <peturr02@ru.is>
803
804 DR 75
805 DR 305
806 PR libstdc++/9028 (partial)
807 PR libstdc++/9224
808 PR libstdc++/9246
809 PR libstdc++/9247
810
811 * src/codecvt.cc
812 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
813 codecvt<wchar_t, char, mbstate_t>::do_length,
814 codecvt<wchar_t, char, mbstate_t>::do_max_length):
815 Move...
816 * config/locale/generic/codecvt_members.cc: ...here.
817 * config/locale/gnu/codecvt_members.cc: ...and here.
818
819 * config/locale/generic/codecvt_members.cc,
820 * config/locale/gnu/codecvt_members.cc
821 (codecvt<wchar_t, char, mbstate_t>::do_encoding
822 codecvt<wchar_t, char, mbstate_t>::do_in,
823 codecvt<wchar_t, char, mbstate_t>::do_length,
824 codecvt<wchar_t, char, mbstate_t>::do_max_length,
825 codecvt<wchar_t, char, mbstate_t>::do_out):
826 New implementation that handles stateless encodings,
827 including UTF-8.
828
829 * config/locale/generic/codecvt_members.cc,
830 * config/locale/gnu/codecvt_members.cc,
831 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
832 * include/bits/codecvt.h,
833 * src/codecvt.cc
834 (codecvt::length, codecvt::do_length):
835 Change type of first argument of length and do_length from
836 'const state_type&' to 'state_type&' according to DR 75.
837
838 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
839 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
840 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
841 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
842 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
843 Cleanup and check for correct return value from encoding
844 for "C" locale.
845 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
846 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
847 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
848 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
849 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
850 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
851 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
852 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
853 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
854 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
855 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
856 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
857 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
858 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
859 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
860 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
861 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
862 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
863 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
864 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
865 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
866 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
867 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
868 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
869 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
870 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
871 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
872 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
873 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
874 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
875 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
876 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
877 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
878 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
879 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
880 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
881 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
882
883 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
884
885 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
886 (money_put::do_put): Same.
887
888 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
889
890 * include/bits/ios_base.h (ios_base): Document reserved storage.
891
892 * include/bits/locale_facets.h: (struct __pad): Comment on
893 implementation.
894 (__verify_grouping): Same.
895 (__add_grouping): Same.
896 * include/bits/locale_facets.tcc (__verify_grouping): Move
897 comments to declaration.
898 (__add_grouping): Same.
899
900 * include/bits/locale_facets.tcc:
901 (__write<_CharT, _OutIter>): New function.
902 (__write<_CharT>): New function specialization.
903 (num_put::_M_insert): Remove explicit loop over iterator. Use
904 __write.
905 (num_put::_M_widen_float): Remove __basefield.
906 (num_put::_M_widen_int): Move __basefield to within grouping block.
907
908 * include/bits/streambuf_iterator.h: Include <streambuf>.
909 (ostreambuf_iterator::_M_put): Add.
910
911 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
912
913 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
914
915 2003-02-04 Nathan Myers <ncm@cantrip.org>
916
917 * testsuite/25_algorithms/min_max.cc (test02): Add.
918
919 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
920
921 PR libstdc++/9439, PR libstdc++/9425
922 * config/io/basic_file_stdio.cc
923 (__basic_file<char>::seekoff, seekpos): Return -1L if
924 fseek fails.
925 * include/bits/fstream.tcc (basic_filebuf::seekoff):
926 Check _M_file.seekoff return value; always return
927 pos_type(off_type(-1)) in case of failure.
928 (basic_filebuf::pbackfail): Check this->seekoff return
929 value and return traits_type::eof() in case of failure.
930 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
931
932 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
933
934 * include/std/std_ostream.h (ostream::_M_write): Declare.
935 * ostream.tcc (ostream::_M_write): Define.
936 (basic_ostream::write): Use it.
937 (operator<<(basic_ostream, _CharT)): Ditto.
938 (operator<<(basic_ostream, char)): Ditto.
939 (operator<<(basic_ostream, _CharT*)): Ditto.
940 (operator<<(basic_ostream, char*)): Ditto.
941 (operator<<(basic_ostream, basic_string)): Ditto.
942
943 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
944
945 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
946
947 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
948
949 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
950 add HTML comment about updating links if numbering changes.
951
952 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
953
954 PR libstdc++/9538
955 * include/bits/streambuf.tcc (sputbackc): Access
956 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
957 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
958
959 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
960
961 PR libstdc++/9507
962 * include/bits/fstream.tcc (open): If the 'ate' repositioning
963 operation fails, calls close _and_ returns a null pointer
964 to indicate failure (27.8.1.3,4).
965 * testsuite/27_io/filebuf_members.cc (test_06): Add.
966
967 2003-02-04 Petur Runolfsson <peturr02@ru.is>
968
969 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
970
971 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
972
973 * docs/html/27_io/howto.html: New section on stdio_filebuf.
974 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
975 * docs/html/documentation.html: Regenerate.
976
977 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
978
979 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
980 * docs/html/17_intro/porting.html: Regenerate.
981
982 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
983 Phil Edwards <pme@gcc.gnu.org>
984
985 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
986 numeric_limits for bits-per-word values.
987 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
988 Use __builtin_popcountl instead.
989 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
990 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
991 Use __builtin_ctzl instead.
992 (_S_bit_count, _S_first_one): Remove.
993 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
994 * src/Makefile.am (sources): Remove bitset.cc.
995 * src/bitset.cc: Delete file.
996 * src/Makefile.in: Regenerate.
997
998 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
999
1000 PR libstdc++/9527, PR libstdc++/8713
1001 * docs/html/install.html: Mention glibc version requirement.
1002 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
1003 with 3.2.1+ (formatting bugfixes).
1004 * docs/html/faq/index.txt: Regenerate.
1005
1006 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1007
1008 PR libstdc++/9234
1009 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
1010 operator.
1011
1012 * include/bits/valarray_before.h (__not_equal_to): Use != instead
1013 of ==.
1014
1015 * testsuite/26_numerics/valarray_operators.cc: New test.
1016
1017 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
1018
1019 * docs/html/faq/index.html: Correct link to libg++ information.
1020 * docs/html/faq/index.txt: Regenerated.
1021
1022 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
1023 Benjamin Kosnik <bkoz@redhat.com>
1024
1025 Const correctness issue:
1026 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
1027 * include/bits/locale_classes.h
1028 (locale::_Impl::_M_facets): Change type to const facet**.
1029 (locale::_Impl::_M_install_facet): Change declaration to
1030 take const facet*.
1031 (locale::facet::_M_references): Make mutable.
1032 (locale::facet::_M_add_reference): Declare const.
1033 (locale::facet::_M_remove_reference): Likewise.
1034 * include/bits/locale_facets.tcc
1035 (use_facet(const locale&)): Tweak for const facet** _M_facets.
1036 (has_facet(const locale&)): Likewise.
1037 * src/locale.cc
1038 (locale::facet::_M_add_reference): Adjust definition.
1039 (locale::facet::_M_remove_reference): Likewise.
1040 * src/localename.cc
1041 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
1042 const facet** _M_facets.
1043 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
1044 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
1045 (locale::_Impl::_M_install_facet): Adjust definition to take
1046 const facet* and for const facet** _M_facets.
1047 * testsuite/22_locale/locale/cons/8.cc: Add.
1048
1049 2003-01-29 Mark Mitchell <mark@codesourcery.com>
1050
1051 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
1052 Use __FLT_HAS_INIFINITY__ to initialize.
1053 (numeric_limits<float>::has_quiet_NaN): Likewise.
1054 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
1055 to initialize.
1056 (numeric_limits<double>::has_quiet_NaN): Likewise.
1057 (numeric_limits<long double>::has_infinity): Use
1058 __LDBL_HAS_INIFINITY__ to initialize.
1059 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
1060
1061 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
1062
1063 PR c++/9433
1064 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
1065 with bases which are very ambiguous.
1066
1067 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
1068
1069 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
1070 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
1071 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
1072 * src/Makefile.in: Regenerate.
1073 * libsupc++/Makefile.in: Regenerate.
1074
1075 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1076
1077 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
1078 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1079 version_specific_libs is enabled.
1080 * aclocal.m4, configure: Rebuilt.
1081
1082 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
1083
1084 * include/bits/valarray_meta.h: Remove, split into ...
1085 * include/bits/valarray_before.h: ... this, and ...
1086 * include/bits/valarray_after.h: ... this.
1087 * include/std/std_valarray.h: Adjust.
1088 * include/Makefile.am (bits_headers): Adjust.
1089 * include/Makefile.in: Regenerate.
1090
1091 2003-01-24 Andreas Schwab <schwab@suse.de>
1092
1093 * config/linker-map.gnu: Fix for size_t variance.
1094
1095 2003-01-23 Petur Runolfsson <peturr02@ru.is>
1096
1097 PR libstdc++/9322
1098 * include/std/std_streambuf.h
1099 (basic_streambuf::basic_streambuf,
1100 basic_streambuf::~basic_streambuf,
1101 basic_streambuf::getloc, basic_streambuf::imbue):
1102 Remove _M_buf_locale_init
1103 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
1104 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
1105 * testsuite/27_io/streambuf_members.cc (test08): Add.
1106 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
1107
1108 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
1109
1110 Revert include ordering.
1111 * config/locale/generic/c_locale.h: Add include guards.
1112 * config/locale/gnu/c_locale.h: Same.
1113 * include/bits/locale_classes.h: Remove cctype include.
1114 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
1115 * include/std/std_fstream.h: Remove streambuf include.
1116 * include/std/std_sstream.h: Remove streambuf include.
1117
1118 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
1119
1120 * configure.in (libtool_VERSION): To 6:0:0.
1121 * configure: Regenerated.
1122 * config/linker-map.gnu: Clean.
1123
1124 * src/misc-inst.cc: Remove instantiations.
1125
1126 * include/bits/stl_alloc.h (__malloc_alloc_template):
1127 To __malloc_alloc.
1128 (__default_alloc_template): To __pool_alloc.
1129 * src/stl-inst.cc: Same.
1130 * include/backward/alloc.h: Update.
1131 * testsuite/ext/allocators.cc: Update.
1132
1133 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
1134 really try to remove these if possible.
1135 * src/locale.cc (std): Same.
1136
1137 * testsuite/abi_check.cc (check_version): Add.
1138
1139 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
1140 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
1141 Mark Mitchell <mark@codesourcery.com>
1142
1143 PR libstdc++/9269
1144 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
1145 (basic_filebuf::underflow): Declare.
1146 Move definitions.
1147
1148 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
1149
1150 * include/bits/locale_facets.h: Move non-facet classes requiring
1151 <string> to...
1152 * include/bits/locale_classes.h: New.
1153 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
1154 * include/bits/Makefile.in: Regenerate.
1155
1156 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
1157 * config/locale/gnu/c_locale.h: ...here.
1158 * config/locale/generic/c_locale.h: Same.
1159
1160 * include/bits/locale_facets.tcc: Move declarations to...
1161 * include/bits/locale_facets.h: ...here.
1162 * include/bits/basic_ios.h: Tweak includes accordingly.
1163 * include/std/std_sstream.h: Add streambuf include.
1164 * include/std/std_fstream.h: Ditto.
1165 * include/std/std_locale.h: Add locale_classes.h include.
1166 * include/std/std_iosfwd.h: Tweak.
1167 * src/concept-inst.cc: Add iterator include.
1168
1169 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
1170 bits as unexported in the future.
1171
1172 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
1173
1174 Reshuffle 22_locale testsuite.
1175 * 22_locale/(codecvt.cc money_get.cc
1176 codecvt_members_char_char.cc money_get_members_char.cc
1177 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
1178 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
1179 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
1180 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
1181 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
1182 money_put_members_char.cc ctor_copy_dtor.cc
1183 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
1184 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
1185 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
1186 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
1187 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
1188 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
1189 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
1190 operators.cc ctype_widen_char.cc static_members.cc
1191 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
1192 global_templates.cc time_get_members_wchar_t.cc, members.cc,
1193 time_put.cc, messages_byname.cc, time_put_members_char.cc,
1194 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
1195 Splint up into individual test cases...
1196 * 22_locale/codecvt/1.cc: New.
1197 * 22_locale/codecvt/2.cc: New.
1198 * 22_locale/codecvt/always_noconv/char/1.cc: New.
1199 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
1200 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
1201 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
1202 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
1203 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
1204 * 22_locale/codecvt/encoding/char/1.cc: New.
1205 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
1206 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
1207 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
1208 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
1209 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
1210 * 22_locale/codecvt/in/char/1.cc: New.
1211 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
1212 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
1213 * 22_locale/codecvt/in/wchar_t/1.cc: New.
1214 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
1215 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
1216 * 22_locale/codecvt/length/char/1.cc: New.
1217 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
1218 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
1219 * 22_locale/codecvt/length/wchar_t/1.cc: New.
1220 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
1221 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
1222 * 22_locale/codecvt/max_length/char/1.cc: New.
1223 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
1224 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
1225 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
1226 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
1227 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
1228 * 22_locale/codecvt/out/char/1.cc: New.
1229 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
1230 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
1231 * 22_locale/codecvt/out/wchar_t/1.cc: New.
1232 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
1233 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
1234 * 22_locale/codecvt/unicode/char.cc: New.
1235 * 22_locale/codecvt/unicode/wchar_t.cc: New.
1236 * 22_locale/codecvt/unshift/char/1.cc: New.
1237 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
1238 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
1239 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
1240 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
1241 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
1242 * 22_locale/collate/1.cc: New.
1243 * 22_locale/collate/2.cc: New.
1244 * 22_locale/collate/compare/char/1.cc: New.
1245 * 22_locale/collate/compare/char/2.cc: New.
1246 * 22_locale/collate/compare/char/wrapped_env.cc: New.
1247 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
1248 * 22_locale/collate/compare/wchar_t/1.cc: New.
1249 * 22_locale/collate/compare/wchar_t/2.cc: New.
1250 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
1251 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
1252 * 22_locale/collate/hash/char/1.cc: New.
1253 * 22_locale/collate/hash/char/2.cc: New.
1254 * 22_locale/collate/hash/char/wrapped_env.cc: New.
1255 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
1256 * 22_locale/collate/hash/wchar_t/1.cc: New.
1257 * 22_locale/collate/hash/wchar_t/2.cc: New.
1258 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
1259 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
1260 * 22_locale/collate/transform/char/2.cc: New.
1261 * 22_locale/collate/transform/char/wrapped_env.cc: New.
1262 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
1263 * 22_locale/collate/transform/wchar_t/2.cc: New.
1264 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
1265 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
1266 * 22_locale/collate_byname/1.cc: New.
1267 * 22_locale/ctype/1.cc: New.
1268 * 22_locale/ctype/2.cc: New.
1269 * 22_locale/ctype/cons/char/1.cc: New.
1270 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
1271 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
1272 * 22_locale/ctype/is/char/1.cc: New.
1273 * 22_locale/ctype/is/char/2.cc: New.
1274 * 22_locale/ctype/is/char/3.cc: New.
1275 * 22_locale/ctype/is/char/wrapped_env.cc: New.
1276 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
1277 * 22_locale/ctype/is/wchar_t/1.cc: New.
1278 * 22_locale/ctype/is/wchar_t/2.cc: New.
1279 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
1280 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
1281 * 22_locale/ctype/narrow/char/1.cc: New.
1282 * 22_locale/ctype/narrow/char/2.cc: New.
1283 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
1284 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
1285 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
1286 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
1287 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
1288 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
1289 * 22_locale/ctype/scan/char/1.cc: New.
1290 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
1291 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
1292 * 22_locale/ctype/scan/wchar_t/1.cc: New.
1293 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
1294 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
1295 * 22_locale/ctype/to/char/1.cc: New.
1296 * 22_locale/ctype/to/char/wrapped_env.cc: New.
1297 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
1298 * 22_locale/ctype/to/wchar_t/1.cc: New.
1299 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
1300 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
1301 * 22_locale/ctype/widen/char/1.cc: New.
1302 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
1303 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
1304 * 22_locale/ctype/widen/wchar_t/1.cc: New.
1305 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
1306 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
1307 * 22_locale/facet/1.cc: New.
1308 * 22_locale/facet/2.cc: New.
1309 * 22_locale/global_templates/1.cc: New.
1310 * 22_locale/locale/cons/1.cc: New.
1311 * 22_locale/locale/cons/2.cc: New.
1312 * 22_locale/locale/cons/3.cc: New.
1313 * 22_locale/locale/cons/4.cc: New.
1314 * 22_locale/locale/cons/5.cc: New.
1315 * 22_locale/locale/cons/6.cc: New.
1316 * 22_locale/locale/cons/7.cc: New.
1317 * 22_locale/locale/global_locale_objects/1.cc: New.
1318 * 22_locale/locale/global_locale_objects/2.cc: New.
1319 * 22_locale/locale/global_locale_objects/3.cc: New.
1320 * 22_locale/locale/operations/1.cc: New.
1321 * 22_locale/locale/operations/2.cc: New.
1322 * 22_locale/messages/1.cc: New.
1323 * 22_locale/messages/2.cc: New.
1324 * 22_locale/messages/members/char/1.cc: New.
1325 * 22_locale/messages/members/char/2.cc: New.
1326 * 22_locale/messages/members/char/3.cc: New.
1327 * 22_locale/messages/members/char/wrapped_env.cc: New.
1328 * 22_locale/messages/members/char/wrapped_locale.cc: New.
1329 * 22_locale/messages_byname/1.cc: New.
1330 * 22_locale/money_get/1.cc: New.
1331 * 22_locale/money_get/2.cc: New.
1332 * 22_locale/money_get/get/char/1.cc: New.
1333 * 22_locale/money_get/get/char/2.cc: New.
1334 * 22_locale/money_get/get/char/3.cc: New.
1335 * 22_locale/money_get/get/char/4.cc: New.
1336 * 22_locale/money_get/get/char/5.cc: New.
1337 * 22_locale/money_get/get/char/6.cc: New.
1338 * 22_locale/money_get/get/char/7.cc: New.
1339 * 22_locale/money_get/get/char/8.cc: New.
1340 * 22_locale/money_get/get/char/wrapped_env.cc: New.
1341 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
1342 * 22_locale/money_get/get/wchar_t/1.cc: New.
1343 * 22_locale/money_get/get/wchar_t/2.cc: New.
1344 * 22_locale/money_get/get/wchar_t/3.cc: New.
1345 * 22_locale/money_get/get/wchar_t/4.cc: New.
1346 * 22_locale/money_get/get/wchar_t/5.cc: New.
1347 * 22_locale/money_get/get/wchar_t/6.cc: New.
1348 * 22_locale/money_get/get/wchar_t/7.cc: New.
1349 * 22_locale/money_get/get/wchar_t/8.cc: New.
1350 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
1351 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
1352 * 22_locale/money_put/1.cc: New.
1353 * 22_locale/money_put/2.cc: New.
1354 * 22_locale/money_put/put/char/1.cc: New.
1355 * 22_locale/money_put/put/char/2.cc: New.
1356 * 22_locale/money_put/put/char/3.cc: New.
1357 * 22_locale/money_put/put/char/4.cc: New.
1358 * 22_locale/money_put/put/char/5.cc: New.
1359 * 22_locale/money_put/put/char/6.cc: New.
1360 * 22_locale/money_put/put/char/wrapped_env.cc: New.
1361 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
1362 * 22_locale/money_put/put/wchar_t/1.cc: New.
1363 * 22_locale/money_put/put/wchar_t/2.cc: New.
1364 * 22_locale/money_put/put/wchar_t/3.cc: New.
1365 * 22_locale/money_put/put/wchar_t/4.cc: New.
1366 * 22_locale/money_put/put/wchar_t/5.cc: New.
1367 * 22_locale/money_put/put/wchar_t/6.cc: New.
1368 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
1369 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
1370 * 22_locale/moneypunct/1.cc: New.
1371 * 22_locale/moneypunct/2.cc: New.
1372 * 22_locale/moneypunct/3.cc: New.
1373 * 22_locale/moneypunct/members/char/1.cc: New.
1374 * 22_locale/moneypunct/members/char/2.cc: New.
1375 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
1376 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
1377 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
1378 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
1379 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
1380 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
1381 * 22_locale/moneypunct_byname/1.cc: New.
1382 * 22_locale/num_get/1.cc: New.
1383 * 22_locale/num_get/2.cc: New.
1384 * 22_locale/num_get/get/char/1.cc: New.
1385 * 22_locale/num_get/get/char/2.cc: New.
1386 * 22_locale/num_get/get/char/3.cc: New.
1387 * 22_locale/num_get/get/char/4.cc: New.
1388 * 22_locale/num_get/get/char/5.cc: New.
1389 * 22_locale/num_get/get/char/6.cc: New.
1390 * 22_locale/num_get/get/char/wrapped_env.cc: New.
1391 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
1392 * 22_locale/num_get/get/wchar_t/1.cc: New.
1393 * 22_locale/num_get/get/wchar_t/2.cc: New.
1394 * 22_locale/num_get/get/wchar_t/3.cc: New.
1395 * 22_locale/num_get/get/wchar_t/4.cc: New.
1396 * 22_locale/num_get/get/wchar_t/5.cc: New.
1397 * 22_locale/num_get/get/wchar_t/6.cc: New.
1398 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
1399 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
1400 * 22_locale/num_put/1.cc: New.
1401 * 22_locale/num_put/2.cc: New.
1402 * 22_locale/num_put/put/char/1.cc: New.
1403 * 22_locale/num_put/put/char/2.cc: New.
1404 * 22_locale/num_put/put/char/3.cc: New.
1405 * 22_locale/num_put/put/char/4.cc: New.
1406 * 22_locale/num_put/put/char/5.cc: New.
1407 * 22_locale/num_put/put/char/wrapped_env.cc: New.
1408 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
1409 * 22_locale/num_put/put/wchar_t/1.cc: New.
1410 * 22_locale/num_put/put/wchar_t/2.cc: New.
1411 * 22_locale/num_put/put/wchar_t/3.cc: New.
1412 * 22_locale/num_put/put/wchar_t/4.cc: New.
1413 * 22_locale/num_put/put/wchar_t/5.cc: New.
1414 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
1415 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
1416 * 22_locale/numpunct/1.cc: New.
1417 * 22_locale/numpunct/2.cc: New.
1418 * 22_locale/numpunct/members/char/1.cc: New.
1419 * 22_locale/numpunct/members/char/2.cc: New.
1420 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
1421 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
1422 * 22_locale/numpunct/members/wchar_t/1.cc: New.
1423 * 22_locale/numpunct/members/wchar_t/2.cc: New.
1424 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
1425 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
1426 * 22_locale/numpunct_byname/1.cc: New.
1427 * 22_locale/numpunct_byname/2.cc: New.
1428 * 22_locale/time_get/1.cc: New.
1429 * 22_locale/time_get/2.cc: New.
1430 * 22_locale/time_get/date_order/char/1.cc: New.
1431 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
1432 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
1433 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
1434 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
1435 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
1436 * 22_locale/time_get/get_date/char/1.cc: New.
1437 * 22_locale/time_get/get_date/char/2.cc: New.
1438 * 22_locale/time_get/get_date/char/3.cc: New.
1439 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
1440 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
1441 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
1442 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
1443 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
1444 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
1445 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
1446 * 22_locale/time_get/get_monthname/char/1.cc: New.
1447 * 22_locale/time_get/get_monthname/char/2.cc: New.
1448 * 22_locale/time_get/get_monthname/char/3.cc: New.
1449 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
1450 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
1451 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
1452 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
1453 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
1454 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
1455 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
1456 * 22_locale/time_get/get_time/char/1.cc: New.
1457 * 22_locale/time_get/get_time/char/2.cc: New.
1458 * 22_locale/time_get/get_time/char/3.cc: New.
1459 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
1460 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
1461 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
1462 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
1463 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
1464 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
1465 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
1466 * 22_locale/time_get/get_weekday/char/1.cc: New.
1467 * 22_locale/time_get/get_weekday/char/2.cc: New.
1468 * 22_locale/time_get/get_weekday/char/3.cc: New.
1469 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
1470 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
1471 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
1472 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
1473 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
1474 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
1475 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
1476 * 22_locale/time_get/get_year/char/1.cc: New.
1477 * 22_locale/time_get/get_year/char/3.cc: New.
1478 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
1479 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
1480 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
1481 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
1482 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
1483 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
1484 * 22_locale/time_put/1.cc: New.
1485 * 22_locale/time_put/2.cc: New.
1486 * 22_locale/time_put/put/char/1.cc: New.
1487 * 22_locale/time_put/put/char/10.cc: New.
1488 * 22_locale/time_put/put/char/2.cc: New.
1489 * 22_locale/time_put/put/char/3.cc: New.
1490 * 22_locale/time_put/put/char/4.cc: New.
1491 * 22_locale/time_put/put/char/5.cc: New.
1492 * 22_locale/time_put/put/char/6.cc: New.
1493 * 22_locale/time_put/put/char/7.cc: New.
1494 * 22_locale/time_put/put/char/8.cc: New.
1495 * 22_locale/time_put/put/char/9.cc: New.
1496 * 22_locale/time_put/put/char/wrapped_env.cc: New.
1497 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
1498 * 22_locale/time_put/put/wchar_t/1.cc: New.
1499 * 22_locale/time_put/put/wchar_t/10.cc: New.
1500 * 22_locale/time_put/put/wchar_t/2.cc: New.
1501 * 22_locale/time_put/put/wchar_t/3.cc: New.
1502 * 22_locale/time_put/put/wchar_t/4.cc: New.
1503 * 22_locale/time_put/put/wchar_t/5.cc: New.
1504 * 22_locale/time_put/put/wchar_t/6.cc: New.
1505 * 22_locale/time_put/put/wchar_t/7.cc: New.
1506 * 22_locale/time_put/put/wchar_t/8.cc: New.
1507 * 22_locale/time_put/put/wchar_t/9.cc: New.
1508 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
1509 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
1510
1511 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
1512
1513 * config/locale/generic/messages_members.h
1514 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
1515 unqualified members of base clasess.
1516
1517 2003-01-16 Mark Mitchell <mark@codesourcery.com>
1518 Jeffrey Oldham <oldham@codesourcery.com>
1519
1520 * config/locale/gnu/messages_members.h: Use this-> to refer to
1521 unqualified members of base clasess.
1522 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
1523 * include/bits/codecvt.h: Likewise.
1524 * include/bits/deque.tcc: Likewise.
1525 * include/bits/fstream.tcc: Likewise.
1526 * include/bits/istream.tcc: Likewise.
1527 * include/bits/list.tcc: Likewise.
1528 * include/bits/locale_facets.h: Likewise.
1529 * include/bits/ostream.tcc: Likewise.
1530 * include/bits/sstream.tcc: Likewise.
1531 * include/bits/stl_bvector.h: Likewise.
1532 * include/bits/stl_deque.h: Likewise.
1533 * include/bits/stl_list.h: Likewise.
1534 * include/bits/stl_tree.h: Likewise.
1535 * include/bits/stl_vector.h: Likewise.
1536 * include/bits/vector.tcc: Likewise.
1537 * include/ext/ropeimpl.h: Likewise.
1538 * include/ext/stdio_filebuf.h: Likewise.
1539 * include/ext/stl_rope.h: Likewise.
1540 * include/std/std_fstream.h: Likewise.
1541 * include/std/std_sstream.h: Likewise.
1542
1543 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
1544
1545 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
1546
1547 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
1548
1549 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
1550 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
1551 * aclocal.m4: Regenerate.
1552 * configure: Regenerate.
1553 * testsuite/Makefile.am (all-local): Add conditional rule to
1554 generate testsuite_wchar_t.
1555 * testsuite/Makefile.in: Regenerate.
1556 * testsuite/lib/libstdc++-v3-dg.exp
1557 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
1558 testsuite_wchar_t is not present in the build directory.
1559 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
1560 Remove setulimit bits.
1561 * testsuite/26_numerics/complex_value.cc: Set to noopts.
1562 * testsuite/Makefile.am (CLEANFILES): Add.
1563 * testsuite/Makefile.in: Regenerate.
1564
1565 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
1566
1567 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
1568 __hppa__.
1569
1570 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
1571
1572 Further conform g++'s __vmi_class_type_info to the C++ ABI
1573 specification.
1574 * libsupc++/cxxabi.h
1575 (__vmi_class_type_info::__flags_masks): Remove enumerations not
1576 required by the specification.
1577
1578 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
1579
1580 Renames, namespaces for testsuite utilities.
1581 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
1582 (gnu_allocator_tracker): Rename to allocation_tracker.
1583 (gnu_new_allocator): Rename to tracker_alloc.
1584 (__set_testsuite_memlimit): Rename to set_memory_limits.
1585 (gnu_assignment_operator): Rename to assignment_operator.
1586 (gnu_destructor): Rename to destructor.
1587 (gnu_copy_tracker): Rename to copy_tracker.
1588 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
1589 (run_tests_wrapped_locale): New.
1590 (run_tests_wrapped_env): New.
1591 * testsuite/testsuite_hooks.cc: Same.
1592 (class locale_data): Add.
1593 (class enviornment_variable): Add.
1594 (class not_found): Add.
1595 * testsuite/testsuite_allocator.h: Same.
1596 * testsuite/testsuite_allocator.cc: Same.
1597 * testsuite/23_containers/deque_ctor.cc
1598 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
1599 allocation_tracker.
1600 Change gnu_new_allocator to tracker_alloc.
1601 Change gnu_counting_struct to counter.
1602 Change gnu_copy_tracker to copy_tracker.
1603 Change gnu_copy_constructor to copy_constructor.
1604 Change gnu_assignment_operator to assignment_operator.
1605 Inject.
1606 * testsuite/23_containers/vector_capacity.cc: Same.
1607 * testsuite/23_containers/vector_ctor.cc (test01): Same.
1608 * testsuite/23_containers/list_modifiers.cc: Change
1609 gnu_copy_tracker to copy_tracker.
1610 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
1611 __set_testsuite_memlimit to set_memory_limits.
1612 * testsuite/21_strings/insert.cc (main): Same.
1613 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
1614 * testsuite/27_io/stringstream.cc: Same.
1615 * testsuite/27_io/stringbuf.cc: Same.
1616 * testsuite/27_io/streambuf.cc: Same.
1617 * testsuite/27_io/ostream.cc: Same.
1618 * testsuite/27_io/istream.cc: Same.
1619 * testsuite/27_io/fstream.cc: Same.
1620 * testsuite/lib/libstdc++-v3-dg.exp
1621 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
1622 three levels deeper in glob patterns.
1623
1624 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
1625
1626 * docs/doxygen/tables.html: Finished now.
1627 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
1628 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
1629 comments.
1630
1631 * include/bits/deque.tcc, include/bits/stl_alloc.h,
1632 include/bits/stl_deque.h, include/bits/stl_list.h,
1633 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
1634 for 3.4 removal.
1635
1636 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
1637
1638 * configure.in: Revert.
1639 * configure: Regenerate.
1640
1641 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1642
1643 * include/Makefile.am (install-data-local): Prepend
1644 $(DESTDIR) to destination paths in all (un)installation
1645 commands. Use ${c_base_builddir} and ${std_builddir}
1646 as destination subdirectories to achieve consistency with
1647 preceding mkinstalldirs commands. No effect because both
1648 variables contain "." only.
1649 * include/Makefile.in: Regenerate.
1650
1651 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
1652
1653 * include/Makefile.am (stamp-*): Add checks for existing stamps.
1654 * include/Makefile.in: Regenerate.
1655
1656 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
1657 * aclocal.m4: Regenerate.
1658
1659 * configure.in: Don't add new multi-do rules every time the
1660 directory is reconfigured.
1661 * configure: Regenerate.
1662
1663 2003-01-08 Brad Spencer <spencer@infointeractive.com>
1664 Nathan Myers <ncm@cantrip.org>
1665
1666 * src/Makefile.am (stamp-debug): Clean.
1667 * src/Makefile.in: Regenerate.
1668
1669 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
1670
1671 PR libstdc++/8707
1672 * Makefile.am (distclean-multi): Fix.
1673 * Makefile.in: Regenerate.
1674
1675 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
1676
1677 * include/bits/locale_facets.h (messages): Move ctor, dtor
1678 definitions to..
1679 (__timepunct): Same.
1680 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
1681 definitions. Conditionalize for GNU systems.
1682 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
1683 definitions.
1684 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
1685 definitions. Conditionalize for GNU systems.
1686 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
1687 definitions.
1688 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
1689 * src/locale.cc: Define.
1690 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
1691 Use it.
1692 * config/locale/gnu/time_members.h: Use it.
1693 * config/locale/gnu/messages_members.h: Use it.
1694 * config/linker-map.gnu: Add locale::facets details.
1695 * include/Makefile.am (target_headers_extra): Add time_members.h.
1696 * include/Makefile.in: Regenerate.
1697 * acinclude.m4: Export CTIME_H.
1698 * aclocal.m4: Regenerate.
1699 * configure: Regnerate.
1700
1701 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1702
1703 * src/codecvt.cc
1704 (codecvt<char, char, mbstate_t>::do_in, do_out):
1705 Tweak parameters to avoid unused parameter warnings.
1706
1707 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
1708
1709 PR libstdc++/9151
1710 * include/bits/locale_facets.cc (num_put::_M_convert_float):
1711 Limit __prec to digits10 + 2, not digits10 + 1, taking into
1712 account the possibility of %{g,G} conversion specifiers
1713 inside _S_format_float.
1714 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
1715
1716 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1717
1718 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
1719 libstdc++-v3-list-sourcefiles): Additionally handle files one
1720 level deeper in glob patterns.
1721
1722 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
1723 * testsuite/27_io/istream_extractor_arith/01.cc,
1724 testsuite/27_io/istream_extractor_arith/02.cc,
1725 testsuite/27_io/istream_extractor_arith/03.cc,
1726 testsuite/27_io/istream_extractor_arith/06.cc,
1727 testsuite/27_io/istream_extractor_arith/07.cc,
1728 testsuite/27_io/istream_extractor_arith/08.cc,
1729 testsuite/27_io/istream_extractor_arith/09.cc,
1730 testsuite/27_io/istream_extractor_arith/10.cc,
1731 testsuite/27_io/istream_extractor_arith/11.cc,
1732 testsuite/27_io/istream_extractor_arith/12.cc,
1733 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
1734 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
1735 sparc*-*-solaris2*.
1736
1737 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
1738
1739 PR libstdc++/9168
1740 * src/codecvt.cc
1741 (codecvt<char, char, mbstate_t>::do_in, do_out):
1742 Implement the resolution of DR19 (TC).
1743 * testsuite/22_locale/codecvt_members_char_char.cc
1744 (test01): Tweak.
1745
1746 2003-01-02 Jason Merrill <jason@redhat.com>
1747
1748 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
1749 *__mem is also an output.
1750 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.