]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/ChangeLog
linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
1 2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
2
3 * config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
4 Add typeinfo bits. Smooth.
5 * aclocal.m4: Regenerate.
6 * configure: Same.
7 * src/Makefile.in: Same.
8
9 2001-02-14 Joel Sherrill <joel@OARcorp.com>
10
11 * config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets
12 which do not have a CAS instruction.
13
14 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
15
16 * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
17 * configure.in: Call it.
18 * config/linker-map.gnu: New file, initial incomplete revision.
19 * src/Makefile.am: Optionally pass version script to the linker.
20 * aclocal.m4: Regenerate.
21 * configure: Regenerate.
22 * src/Makefile.in: Regenerate.
23
24 2002-02-13 Benjamin Kosnik <bkoz@redhat.com>
25
26 * src/localename.cc: Remove stdexcept include.
27 * src/locale-inst.cc: Same.
28 * src/locale.cc: Same.
29 * src/functexcept.cc: Remove string includes.
30 * include/std/std_bitset.h: Remove stdexcept include.
31 * testsuite/23_containers/bitset_members.cc: Add stdexcept.
32 * testsuite/23_containers/bitset_ctor.cc: Same.
33
34 2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
35
36 * include/bits/stl_algo (__stl_threshold): Declare external.
37 (__stl_chunk_size): Same.
38 * include/bits/stl_bvector.h (__WORD_BIT): Same.
39 * include/bits/stl_tree.h (_S_rb_tree_red): Same.
40 (_S_rb_tree_black): Same.
41 * src/stl-inst.cc (__stl_threshold): Define.
42 (__stl_chunk_size): Same.
43 (__WORD_BIT): Same.
44 (_S_rb_tree_red): Same.
45 (_S_rb_tree_black): Same.
46
47 * config/io/basic_file_libio.h (__basic_file): Add declarations.
48 * include/bits/basic_file.h: Remove.
49 * config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
50 Declare generic types, specialization.
51 * config/io/basic_file_stdio.cc: Definitions.
52 * config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
53 Declare generic types.
54 * include/Makefile.am (bits_headers): Remove basic_file.h.
55 (extra_target_headers): Change basic_file_model.h to basic_file.h.
56 (stamp-target): Same.
57
58 * include/bits/stl_alloc.h: Tweaks.
59 * include/bits/localefwd.h: Same.
60
61 2002-02-11 Aaron W LaFramboise <AWLaFramboise@aol.com>
62
63 * include/bits/locale_facets.tcc (collate::do_hash): Fix.
64 * testsuite/22_locale/collate_members_char.cc (test03): New test.
65 * testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.
66
67 2002-02-10 Phil Edwards <pme@gcc.gnu.org>
68
69 * include/bits/stl_algo.h (transform (both signatures), generate_n):
70 Use __typeof__ in concept checks.
71
72 2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
73
74 * include/bits/stl_algo.h (__median, for_each, find, find_if,
75 adjacent_find, count, count_if, search, search_n, swap_ranges,
76 transform, replace, replace_if, replace_copy, replace_copy_if,
77 generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
78 unique, unique_copy, reverse, reverse_copy): Doxygenate.
79
80 2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
81
82 * include/bits/locale_facets.h
83 (numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
84 (__timepunct<_CharT>::_M_initialize_timepunct): Same.
85 (__timepunct<_CharT>::_M_put_helper): Same.
86 (moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.
87
88 * include/bits/fstream.tcc (filebuf::underflow): Remove
89 __codecvt_type typedef.
90 (filebuf::_M_convert_to_external): Same.
91
92 2002-02-08 Phil Edwards <pme@gcc.gnu.org>
93
94 * docs/doxygen/TODO: Update.
95 * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description.
96 * docs/doxygen/mainpage.html: Add TODO list link.
97 * docs/doxygen/user.cfg.in: Add @doctodo hook.
98 * docs/doxygen/tables.html: New file, emoty structure only.
99
100 * include/bits/stl_iterator.h: Doxygenate just about everything.
101 * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces.
102 * include/bits/stl_iterator_base_types.h: Add notes.
103
104 2002-02-07 Stephan Buys <sbproxy@icon.co.za>
105
106 * include/bits/stl_map.h: Tweak doxygen markup.
107 * include/bits/stl_multimap.h: Doxygenate and remove extra spaces.
108 * include/bits/stl_vector.h: Likewise.
109
110 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
111
112 libstdc++/5286
113 libstdc++/3860
114 * include/std/std_fstream.h (filebuf::__file_type): Change to
115 __basic_file<char>.
116 (filebuf::_M_convert_to_external): Declare.
117 * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
118 codecvt bits for wide streams.
119 (filebuf::_M_really_overflow): Use it.
120 (filebuf::underflow): Use codecvt.
121 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
122 (codecvt<__enc_traits>::do_out): Deal with partial.
123 (codecvt<__enc_traits>::do_encoding): Return something useful.
124 * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
125 wchar_t.
126 * testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
127 Change expected encoding output.
128 (test02): Same.
129 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
130 (test02): Same.
131
132 2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
133 Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
134
135 * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
136 (basic_ios::widen): Same.
137
138 2002-02-07 Paolo Carlini <pcarlini@unitus.it>
139
140 * testsuite/22_locale/money_get_members_char.cc:
141 Add comment, tidy up.
142 (test01): more "en_HK" tests (without showbase).
143 * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.
144
145 2002-02-06 Loren Rittle <ljrittle@acm.org>
146
147 * config/locale/c_locale_generic.cc: Do not trust
148 _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
149 set by configure.
150
151 2002-02-06 Loren Rittle <ljrittle@acm.org>
152
153 * acinclude.m4: Add C++ linkage check for strtof.
154 * aclocal.m4: Rebuilt.
155 * config.h.in: Rebuilt.
156 * configure: Rebuilt.
157 * config/locale/c_locale_generic.cc: Conditionally include
158 <ieeefp.h>. Improve handling and error checking of float
159 and long double input for non-C99 configurations.
160
161 2002-02-06 Paolo Carlini <pcarlini@unitus.it>
162
163 * include/bits/locale_facets.tcc (money_get::do_get(string)):
164 In case money_base::symbol deal properly with multi-char sign
165 for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
166 * testsuite/22_locale/money_get_members_char.cc: Add test07.
167 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.
168
169 2002-02-05 Paolo Carlini <pcarlini@unitus.it>
170
171 * include/bits/locale_facets.tcc (money_get::do_get(string)):
172 First construct a tentative returned string, then, only if the
173 parsing succeeds, copy it into the string passed by reference.
174 * testsuite/22_locale/money_get_members_char.cc: Add test06.
175 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.
176
177 2002-02-04 Phil Edwards <pme@gcc.gnu.org>
178
179 * docs/doxygen/TODO: Impl-defined behavior now documented...
180 * docs/html/17_intro/howto.html: ...here.
181 * docs/doxygen/mainpage.doxy: Remove, rename...
182 * docs/doxygen/mainpage.html: ...to this. Tweak HTML, add license.
183 * docs/doxygen/style.css: Add small text.
184 * docs/doxygen/run_doxygen: Adjust for new mainpage.
185 * docs/doxygen/user.cfg.in: Likewise.
186
187 2002-02-04 Stephan Buys <sbproxy@icon.co.za>
188
189 * include/bits/stl_map.h: Initial doxygen markup.
190 * include/std/std_fstream.h: Initial doxygen markup.
191
192 2002-02-04 Paolo Carlini <pcarlini@unitus.it>
193
194 libstdc++/5579
195 * include/bits/locale_facets.tcc (money_get::do_get(string)):
196 Deal correctly with !(__io.flags() & ios_base::showbase)
197 for case money_base::symbol.
198 * testsuite/22_locale/money_get_members_char.cc: Add test05.
199 * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.
200
201 2002-02-02 Paolo Carlini <pcarlini@unitus.it>
202
203 * testsuite/22_locale/operators.cc
204 (gnu_collate::do_compare()): Add return statement to
205 suppress "no return statement" warning.
206
207 2002-02-01 Paolo Carlini <pcarlini@unitus.it>
208
209 * testsuite/27_io/ostream_manip.cc: Enable test02.
210
211 2002-02-01 Phil Edwards <pme@gcc.gnu.org>
212
213 * docs/html/documentation.html: Update for 3.0.96.
214 * docs/html/faq/index.html: Update for 3.0.96.
215 * docs/html/faq/index.txt: Regenerated.
216 * docs/doxygen/TODO: Update notes.
217 * docs/html/17_intro/howto.html: Initial impl-specific listing.
218
219 2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
220
221 * config/locale/codecvt_specializations_ieee_1003.1-200x.h:
222 Initialize all data members in copy ctor. Make ctors explicit.
223 (__enc_traits::__enc_traits()): Default ctor does nothing.
224 (__enc_traits::_M_init): Guard against multiple iconv_opens.
225 * include/std/std_sstream.h (basic_stringbuf): Make data members
226 protected.
227 * include/std/std_fstream.h (basic_filebuf): Same.
228 * include/std/std_streambuf.h: Tweak.
229 * include/bits/streambuf.tcc: Same.
230 * include/bits/sstream.tcc: Same.
231 * include/bits/fstream.tcc: Same.
232
233 2002-01-31 Loren Rittle <ljrittle@acm.org>
234
235 * testsuite/22_locale/codecvt_members_char_char.cc: Do not
236 allow NULL argument to be passed to setenv().
237 * testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
238 * testsuite/22_locale/collate_members_char.cc: Likewise.
239 * testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
240 * testsuite/22_locale/ctype_members_char.cc: Likewise.
241 * testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
242 * testsuite/22_locale/messages_members_char.cc: Likewise.
243 * testsuite/22_locale/money_get_members_char.cc: Likewise.
244 * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
245 * testsuite/22_locale/money_put_members_char.cc: Likewise.
246 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
247 * testsuite/22_locale/moneypunct_members_char.cc: Likewise.
248 * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
249 * testsuite/22_locale/num_get_members_char.cc: Likewise.
250 * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
251 * testsuite/22_locale/num_put_members_char.cc: Likewise.
252 * testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
253 * testsuite/22_locale/numpunct_members_char.cc: Likewise.
254 * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
255 * testsuite/22_locale/time_get_members_char.cc: Likewise.
256 * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
257 * testsuite/22_locale/time_put_members_char.cc: Likewise.
258 * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
259
260 2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
261
262 * config/locale/c_locale_gnu.cc: Same errno fixes as generic.
263
264 * ChangeLog-2001: Fix spelling errors...
265 * docs/html/17_intro/RELEASE-NOTES: Update.
266 * docs/html/17_intro/TODO: Update.
267 * README (file): Update.
268
269 2002-01-30 Loren Rittle <ljrittle@acm.org>
270
271 * config/locale/c_locale_generic.cc: Check errno for ERANGE
272 instead of non-zero to aid portability.
273
274 2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
275
276 * docs/html/22_locale/messages.html: Fix example code.
277
278 2002-01-30 Richard Henderson <rth@redhat.com>
279
280 * testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
281 out from test03 and templatize.
282 (test03): Use it.
283
284 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
285
286 * config/locale/numpunct_members_gnu.cc
287 (numpunct<char, wchar_t>::_M_initialize_numpunct()):
288 Fix initialization of _M_grouping for locales which have
289 _M_thousands_sep == '\0'(L'\0', respectively).
290 * testsuite/22_locale/numpunct_byname.cc (test02): Add test.
291
292 2002-01-30 Paolo Carlini <pcarlini@unitus.it>
293
294 * testsuite/27_io/ostream_inserter_arith.cc (test03):
295 Better fix for 32/64 bit architectures, avoiding the
296 implicit assumption that CHAR_BIT == 8.
297
298 2002-01-28 Phil Edwards <pme@gcc.gnu.org>
299
300 * Makefile.am (doxygen, doxygen-maint, doxygen-man): Tweak targets.
301 * Makefile.in: Regenerate.
302
303 * docs/doxygen/run_doxygen: Update, mostly for man pages.
304 * docs/doxygen/Intro.3: Update.
305 * docs/doxygen/TODO: Update.
306 * docs/doxygen/doxygroups.cc: Add namespace hook for __gnu_cxx.
307 * docs/doxygen/mainpage.doxy: Update.
308 * docs/doxygen/user.cfg.in: Update for header rename. Also
309 regenerate comments and variables with 1.2.12.
310 * docs/doxygen/maint.cfg.in: Remove file.
311
312 * include/bits/stl_relops.h: Doxygenate.
313 * include/bits/stl_tempbuf.h (std::_Temporary_buffer): Likewise.
314
315 * include/c_std/std_cassert.h, include/c_std/std_cctype.h,
316 include/c_std/std_cerrno.h, include/c_std/std_cfloat.h,
317 include/c_std/std_ciso646.h, include/c_std/std_climits.h,
318 include/c_std/std_clocale.h, include/c_std/std_cmath.h,
319 include/c_std/std_csetjmp.h, include/c_std/std_csignal.h,
320 include/c_std/std_cstdarg.h, include/c_std/std_cstddef.h,
321 include/c_std/std_cstdio.h, include/c_std/std_cstdlib.h,
322 include/c_std/std_cstring.h, include/c_std/std_ctime.h,
323 include/c_std/std_cwchar.h, include/c_std/std_cwctype.h,
324 include/ext/algorithm, include/ext/functional, include/ext/hash_map,
325 include/ext/hash_set, include/ext/iterator, include/ext/memory,
326 include/ext/numeric, include/ext/rb_tree, include/ext/rope,
327 include/ext/ropeimpl.h, include/ext/slist, include/ext/stl_hash_fun.h,
328 include/ext/stl_hashtable.h, include/ext/stl_rope.h,
329 include/std/std_algorithm.h, include/std/std_bitset.h,
330 include/std/std_complex.h, include/std/std_deque.h,
331 include/std/std_fstream.h, include/std/std_functional.h,
332 include/std/std_iomanip.h, include/std/std_ios.h,
333 include/std/std_iosfwd.h, include/std/std_iostream.h,
334 include/std/std_istream.h, include/std/std_iterator.h,
335 include/std/std_limits.h, include/std/std_list.h,
336 include/std/std_locale.h, include/std/std_map.h,
337 include/std/std_memory.h, include/std/std_numeric.h,
338 include/std/std_ostream.h, include/std/std_queue.h,
339 include/std/std_set.h, include/std/std_sstream.h,
340 include/std/std_stack.h, include/std/std_stdexcept.h,
341 include/std/std_streambuf.h, include/std/std_string.h,
342 include/std/std_utility.h, include/std/std_valarray.h,
343 include/std/std_vector.h: Add/correct @file doxygen hook.
344
345 * include/ext/memory: Doxygenate most of rest of file.
346 * libsupc++/exception: Doxygen output formatting.
347 * libsupc++/new: Say which header it is.
348
349 * testsuite/lib/libstdc++-v3-dg.exp: Fix spacing.
350 * docs/html/19_diagnostics/howto.html: Describe concept-checks switch.
351 * docs/html/23_containers/howto.html: Describe O(n) list::size().
352 * docs/html/27_io/howto.html: Also link to Langer and Kreft text.
353
354 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
355 Charles Leggett <CGLeggett@lbl.gov>
356
357 * testsuite/27_io/filebuf_members.cc (test_05): Add test.
358
359 2002-01-28 Paolo Carlini <pcarlini@unitus.it>
360
361 * testsuite/27_io/ostream_inserter_arith.cc (test03):
362 Fix to deal correctly with both 32 bit and 64 bit architectures
363
364 2002-01-25 Loren Rittle <ljrittle@acm.org>
365
366 * testsuite/thread/pthread1.cc: Use one condition variable
367 per predicate instead of tricky use of one condition variable.
368
369 2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
370
371 * include/bits/fstream.tcc (filebuf::close()): Fix close for input
372 streams.
373 (filebuf::_M_really_overflow): Match indeterminate and sync calls.
374 * testsuite/27_io/filebuf.cc: Compile only.
375 * testsuite/27_io/filebuf_members.cc: Move tests to here.
376 * testsuite/27_io/filebuf_virtuals.cc: And here.
377 Revert sungetc, sync changes for expected values.
378 * testsuite/27_io/filebuf-*: Move to...
379 * testsuite/27_io/filebuf_virtuals-*: ...here.
380 * testsuite/27_io/istream.cc: Compile only, activate.
381 * testsuite/27_io/ostream.cc: Same.
382 * testsuite/27_io/iostream.cc: New.
383 * testsuite/27_io/iostream_members.cc: New.
384
385 2002-01-25 David Billinghurst <David.Billinghurst@riotinto.com>
386
387 * testsuite/thread/pthread1.cc: Enable on cygwin.
388 * testsuite/thread/pthread2.cc: Likewise.
389 * testsuite/thread/pthread3.cc: Likewise.
390 * testsuite/thread/pthread4.cc: Likewise.
391 * testsuite/thread/pthread5.cc: Likewise.
392 * testsuite/thread/pthread6.cc: Likewise.
393
394 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
395
396 * testsuite/27_io/ostream_inserter_char.cc (test07): New.
397
398 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
399
400 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
401 const, tweak.
402 (basic_ios::fill(char_type)): Use fill().
403 * include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
404 (basic_ios::narrow): Same.
405 (basic_ios::_M_cache_facets): Explicitly set cached facets to zero
406 if they are invalid.
407 (basic_ios::init): Comment.
408 * testsuite/27_io/ios_init.cc (test02): New.
409
410 2002-01-24 Phil Edwards <pme@gcc.gnu.org>
411
412 * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
413 * include/bits/stl_algo.h: Include stl_tempbuf.h.
414 * include/ext/memory: Do not include stl_tempbuf.h.
415 (temporary_buffer): Add doxygen hook.
416 (__get_temporary_buffer, get_temporary_buffer,
417 return_temporary_buffer): Move back to std:: header...
418 * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
419 * include/ext/rope: Do not include stl_tempbuf.h.
420 * include/ext/stl_hashtable.h: Likewise.
421 * include/std/std_algorithm.h: Likewise.
422 * testsuite/20_util/temporary_buffer.cc: New file.
423
424 2002-01-24 andrew@andypo.net
425 (tweaks, test and commit by Loren J. Rittle <ljrittle@acm.org>)
426
427 libstdc++/5432
428 * include/bits/ios_base.h: Use _Atomic_word for reference counts.
429 * include/bits/localefwd.h: Likewise.
430 Also use for std::locale::id::_S_highwater.
431 * src/ios.cc (ios_base::xalloc): Use _Atomic_word.
432 * src/locale.cc: Support new usage of _Atomic_word.
433 (std::locale::classic): Guard entire function against reentry.
434 * src/localename.cc: Support new usage of _Atomic_word.
435
436 2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
437
438 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
439 _GLIBCPP_HAVE_SETENV.
440 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
441 * testsuite/22_locale/collate_members_char.cc (test02): Same.
442 * testsuite/22_locale/ctype_members_char.cc (test03): Same.
443 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
444 * testsuite/22_locale/messages_members_char.cc (test02): Same.
445 * testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
446 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
447 * testsuite/22_locale/money_put_members_char.cc (test04): Same.
448 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
449 * testsuite/22_locale/num_get_members_char.cc (test03): Same.
450 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
451 * testsuite/22_locale/numpunct_members_char.cc (test02): Same.
452 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
453 * testsuite/22_locale/time_get_members_char.cc (test07): Same.
454 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
455 * testsuite/22_locale/time_put_members_char.cc (test03): Same.
456 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
457 * testsuite/22_locale/num_put_members_char.cc (test03): Same.
458 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
459 * aclocal.m4: Regenerate.
460 * configure: Regenerate.
461 * config.h.in: Regenerate.
462
463 2002-01-23 Loren Rittle <ljrittle@acm.org>
464
465 * testsuite/thread/pthread1.cc: New test.
466 * testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
467 * testsuite/thread/pthread3.cc: Likewise.
468 * testsuite/thread/pthread4.cc: New test adapted from
469 http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
470 * testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
471 * testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
472
473 2002-01-23 Richard Henderson <rth@redhat.com>
474
475 PR libstdc++/5198
476 * config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
477 CAS on the cpu variants that support it. Add versions that use
478 TAS and that disable interrupts.
479 (__atomic_add): Use __exchange_and_add to guarantee atomicity.
480
481 2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
482
483 * include/bits/locale_facets.tcc: Remove old comments.
484
485 2002-01-23 Andreas Tobler <toa@pop.agri.ch>
486
487 * include/bits/locale_facets.tcc (__convert_to_v): Change template
488 parameter to _Tv.
489 (__convert_from_v): Same.
490
491 2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
492
493 * include/bits/locale_facets.h (num_get::_M_extract_int): Change
494 prototype.
495 * include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
496 __max_digits checks, adjust arguments.
497 (num_get::do_get(*)): Changeup.
498
499 2002-01-23 Loren Rittle <ljrittle@acm.org>
500
501 * config/locale/c_locale_generic.cc: Fix typename usage.
502
503 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
504
505 * config/locale/c_locale_generic.cc: Fix.
506
507 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
508
509 * docs/html/22_locale/messages.html: Remove angle brackets.
510 * docs/html/17_intro/TODO: Add.
511
512 2002-01-22 Paolo Carlini <pcarlini@unitus.it>
513
514 * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
515 * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
516 * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
517 * testsuite/27_io/ostream_inserter_other.cc: Enable test04.
518
519 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
520
521 Audit for LANG independence.
522 * include/bits/localefwd.h: Tweaks.
523 * include/bits/locale_facets.tcc (money_get::do_get(long double)):
524 Use __convert_to_v.
525 (time_get::do_get_year): Same.
526 (__convert_from_v): Add.
527 (num_put::_M_convert_float): Use.
528 (num_put::_M_convert_int): Same.
529 (money_put::do_put): Same.
530
531 * src/locale-inst.cc: Add instantiations for __convert_from_v.
532 * config/locale/time_members_gnu.cc: Cleanup setlocale usage.
533 * config/locale/time_members_generic.cc:
534 * config/locale/messages_members_gnu.cc: Same.
535 * config/locale/messages_members_gnu.h: Same.
536
537 * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): New.
538 * testsuite/22_locale/codecvt_members_char_char.cc (test02): New.
539 * testsuite/22_locale/collate_members_wchar_t.cc (test02): New.
540 * testsuite/22_locale/collate_members_char.cc (test02): New.
541 * testsuite/22_locale/ctype_members_wchar_t.cc (test03): New.
542 * testsuite/22_locale/ctype_members_char.cc (test03): New.
543 * testsuite/22_locale/messages_members_char.cc (test02): New.
544 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): New.
545 * testsuite/22_locale/moneypunct_members_char.cc (test02): New.
546 * testsuite/22_locale/money_get_members_wchar_t.cc (test04): New.
547 * testsuite/22_locale/money_get_members_char.cc (test04): New.
548 * testsuite/22_locale/money_put_members_wchar_t.cc (test04): New.
549 * testsuite/22_locale/money_put_members_char.cc (test04): New.
550 * testsuite/22_locale/numpunct_members_wchar_t.cc (test02): New.
551 * testsuite/22_locale/numpunct_members_char.cc (test02): New.
552 * testsuite/22_locale/time_put_members_wchar_t.cc (test03): New.
553 * testsuite/22_locale/time_put_members_char.cc (test03): New.
554 * testsuite/22_locale/time_get_members_wchar_t.cc (test07): New.
555 * testsuite/22_locale/time_get_members_char.cc (test07): New.
556 * testsuite/22_locale/num_get_members_wchar_t.cc (test03): New.
557 * testsuite/22_locale/num_get_members_char.cc (test03): New.
558 * testsuite/22_locale/num_put_members_wchar_t.cc (test03): New.
559 * testsuite/22_locale/num_put_members_char.cc (test03): New.
560
561 * testsuite/22_locale/time_get_members_char.cc: Fixups for global
562 locale issues.
563 * testsuite/22_locale/time_get_members_char.cc: Same.
564
565 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
566
567 libstdc++/5280
568 * include/bits/localefwd.h: Tweak comments.
569 * include/bits/locale_facets.h (__convert_to_v): Add.
570 * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
571 (num_get::do_get(float)): Same.
572 (num_get::do_get(long double)): Same.
573 (num_get::do_get(bool)): Same.
574 (num_get::do_get(long)): Same.
575 (num_get::do_get(long long)): Same.
576 (num_get::do_get(unsigned int)): Same.
577 (num_get::do_get(unsigned short)): Same.
578 (num_get::do_get(unsigned long)): Same.
579 (num_get::do_get(unsigned long long)): Same.
580 * config/locale/c_locale_gnu.cc (__convert_to_v): Specialize.
581 * config/locale/c_locale_generic.cc: Same.
582
583 2002-01-22 Loren Rittle <ljrittle@acm.org>
584
585 * include/Makefile.am (c_base_builddir): Remove redundant slash.
586 (std_builddir): Likewise.
587 (std_headers_rename): Fix cut-n-paste typo.
588 (install-data-local): Concat path per element instead of once to
589 first element of list.
590 * include/Makefile.in: Rebuilt.
591
592 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
593
594 * config/os/aix/bits/ctype_noninline.h: Fix formatting.
595 * config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
596 * config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.
597
598 2002-01-20 Benjamin Kosnik <bkoz@redhat.com>
599
600 * include/bits/locale_facets.h (ctype<char>::classic_table):
601 Remove definition.
602 (ctype<char>::_S_ctable): Remove.
603 * config/os/gnu-linux/bits/ctype_noninline.h
604 (ctype<char>::_S_table): Remove definition.
605 (ctype<char>::classic_table): Define.
606 (ctype<char>::ctype): Replace _S_ctable with classic_table().
607 * config/os/aix/bits/ctype_noninline.h: Same.
608 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
609 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
610 * config/os/djgpp/bits/ctype_noninline.h: Same.
611 * config/os/generic/bits/ctype_noninline.h: Same.
612 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
613 * config/os/hpux/bits/ctype_noninline.h: Same.
614 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
615 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
616 * config/os/mingw32/bits/ctype_noninline.h: Same.
617 * config/os/newlib/bits/ctype_noninline.h: Same.
618 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
619 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
620 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
621
622 2002-01-20 Danny Smith <dannysmith@users.sourceforge.net>
623
624 * config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
625 of _pctype. Use to define _S_ctable. Add definition for alternate
626 ctor. Initialise _M_ctable to _S_ctable in ctors.
627 (do_toupper, do_tolower): Use inline code appropriate for C-locale
628 rather than ::toupper, ::tolower.
629
630 2002-01-18 Loren Rittle <ljrittle@acm.org>
631
632 * testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
633 Add specialization for FreeBSD systems only to avoid losing test
634 only due to extra precision unmentioned in system headers.
635
636 2002-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
637
638 * config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo
639
640 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
641
642 * testsuite/testsuite_hooks.h: Fix comment typo. Memory
643 limiting is only attempted if _GLIBCPP_MEM_LIMIT is defined.
644
645 2002-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
646
647 * testsuite/22_locale/ctor_copy_dtor.cc: Remove check.
648
649 2002-01-17 David Edelsohn <edelsohn@gnu.org>
650
651 * configure.target: Define OPT_LDFLAGS for AIX case.
652
653 2002-01-17 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
654
655 * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
656 __glibcpp_double_has_quiet_NaN): Correct mispelling.
657
658 2002-01-17 Andreas Tobler <toa@pop.agri.ch>
659
660 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.
661
662 2002-01-16 David Edelsohn <dje@watson.ibm.com>
663
664 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
665 SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
666 * aclocal.m4: Regenerate.
667 * configure: Regenerate.
668
669 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
670
671 * include/Makefile.am (c_base_headers_rename): New.
672 (c_base_headers_extra): New.
673 (stamp-c_base): Modify.
674 (install-data-local): Use both.
675 * include/Makefile.in: Regenerate.
676 * include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
677 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
678 cstdio ctime cwctype]: Move to..
679 * include/c/std_*: Here.
680 * include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
681 csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
682 cstdio ctime cwctype]: Move to..
683 * include/c_std/std_*: Here.
684
685 Alexandre Oliva <aoliva@redhat.com>
686 * include/Makefile.am (.PRECIOUS): Add rule.
687 * include/Makefile.in: Regenerate.
688
689 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
690 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
691
692 * include/bits/stl_iterator.h (reverse_iterator::_M_current):
693 Deuglify, should be current.
694 (back_insert_iterator::_M_container): Deuglify, should be container.
695 (front_insert_iterator::_M_container): Same.
696 (insert_iterator::_M_container): Same.
697 * testsuite/24_iterators/reverse_iterator.cc: Add check.
698 * testsuite/24_iterators/back_insert_iterator.cc: Add check.
699 * testsuite/24_iterators/front_insert_iterator.cc: Same.
700 * testsuite/24_iterators/insert_iterator.cc: Same.
701
702 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
703
704 * include/bits/locale_facets.h (ctype<char>::classic_table): Make
705 static.
706 (ctype<char>::_M_ctable): Make static, change name to _S_ctable.
707 * config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
708 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
709 * config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
710 * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
711 * config/os/newlib/bits/ctype_noninline.h: Same.
712 * config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
713 * config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
714 * config/os/hpux/bits/ctype_noninline.h: Same.
715 * config/os/djgpp/bits/ctype_noninline.h: Same.
716 * config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
717 * config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
718 * config/os/aix/bits/ctype_noninline.h: Same.
719
720 Testcase by Dietmar Kühl via Peter Schmid
721 * testsuite/22_locale/ctype_members_char.cc (char>): Add test for
722 classic_table().
723
724 2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
725
726 * libmath/signbitl.c: Copyright years as list, not range.
727 * libmath/Makefile.am: Same.
728 * libmath/Makefie.in: Regenerate.
729 * libmath/signbit.c: Same.
730 * libmath/nan.c: Same.
731 * libmath/copysignf.c: Same.
732 * libmath/signbitf.c: Same.
733 * testsuite/22_locale/money_get_members_char.cc: Same.
734 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
735 * testsuite/22_locale/money_put_members_char.cc: Same.
736 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
737 * testsuite/22_locale/time_get_members_char.cc: Same.
738 * testsuite/22_locale/time_get_members_wchar_t.cc: Same.
739 * testsuite/22_locale/time_put_members_char.cc: Same.
740 * testsuite/22_locale/time_put_members_wchar_t.cc: Same.
741 * testsuite/21_strings/nonmember.cc: Same.
742 * testsuite/21_strings/compare.cc: Same.
743 * testsuite/27_io/stringstream.cc: Same.
744 * testsuite/27_io/stringbuf.cc: Same.
745 * testsuite/27_io/filebuf.cc: Same.
746 * testsuite/27_io/ios_manip_basefield.cc: Same.
747 * testsuite/27_io/ios_manip_fmtflags.cc: Same.
748 * include/bits/cpp_type_traits.h: Same.
749 * include/bits/generic_shadow.h: Same.
750 * include/bits/gslice_array.h: Same.
751 * include/bits/gslice.h: Same.
752 * include/bits/indirect_array.h: Same.
753 * include/bits/slice_array.h: Same.
754 * include/bits/sstream.tcc: Same.
755 * include/bits/streambuf_iterator.h: Same.
756 * include/bits/valarray_array.tcc: Same.
757 * include/bits/valarray_meta.h: Same.
758 * include/bits/valarray_array.h: Same.
759 * config/os/mingw32/bits/ctype_noninline.h: Same.
760 * config/os/mingw32/bits/ctype_base.h: Same.
761 * config/os/hpux/bits/ctype_noninline.h: Same.
762 * config/os/hpux/bits/ctype_base.h: Same.
763 * config/os/gnu-linux/bits/ctype_noninline.h: Same.
764 * config/os/gnu-linux/bits/ctype_base.h: Same.
765 * config/os/generic/bits/ctype_noninline.h: Same.
766 * config/os/generic/bits/ctype_base.h: Same.
767
768 * libsupc++/tinfo.h: Tweaks.
769
770 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
771
772 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
773 * testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
774 * testsuite/22_locale/ctype_members_char.cc: Tweak.
775
776 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
777
778 * include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
779 (num_put::do_put(void*)): Fix.
780 * testsuite/22_locale/num_put_members_char.cc (test02): Add.
781 * testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
782 * testsuite/22_locale/num_get_members_char.cc (test02): Add
783 long double, void, bool types.
784 * testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
785
786 2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
787 Alexandre Oliva <aoliva@redhat.com>
788
789 * libmath/Makefile.am (LINK): Add --tag CC.
790 * libmath/Makefile.in: Regenerate.
791
792 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
793
794 * config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
795 of character to attribute mapping table.
796
797 2002-01-15 David Billinghurst <David.Billinghurst@riotinto.com>
798
799 * testsuite/26_numerics/c99_classification_macros_c.cc
800 Remove dg-error and dg-excess-errors comments.
801
802 2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
803
804 * include/bits/locale_facets.tcc (time_put::put): Correct output
805 iterator positions.
806 * testsuite/22_locale/time_put_members_char.cc (test02): Add.
807 * testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
808 * testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
809 * testsuite/22_locale/time_get_members_char.cc (test06): Add.
810
811 2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
812
813 * docs/html/17_intro/porting-howto.xml: Update filebuf section.
814
815 2002-01-14 Paolo Carlini <pcarlini@unitus.it>
816 Nathan Myers <ncm@cantrip.org>
817
818 * include/bits/basic_string.h
819 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding
820 temporaries (i.e., call _M_replace_safe) when possible.
821 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
822 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
823 (replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
824 (replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
825 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
826 * include/bits/basic_string.tcc
827 (replace(__pos1, __n1, __str, __pos2, __n2)): Call
828 replace(__pos, __n1, __s, __n2).
829 * testsuite/21_strings/replace.cc (test03): New testcases.
830
831 * include/bits/basic_string.h (insert(__pos, __s, __n)):
832 Adjust comparison wrt overflow.
833
834 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
835
836 * include/Makefile.am (std_headers_rename): New variable.
837 (install-data-local): Use it.
838 * include/Makefile.in: Regenerate.
839
840 2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
841
842 * include/bits/locale_facets.tcc (money_put::do_put(string):
843 Correct output iterator value.
844 * testsuite/22_locale/money_put_members_char.cc (test03): Add.
845 * testsuite/22_locale/money_put_members_wchar_t.cc: Same.
846
847 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
848
849 * include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
850 previous commit.
851
852 2002-01-11 Phil Edwards <pme@gcc.gnu.org>
853
854 * include/Makefile.am (std_headers): Update list with new names.
855 (stamp-std): Link to standardized name.
856 * include/Makefile.in: Regenerate.
857
858 * include/std/algorithm, include/std/bitset, include/std/complex,
859 include/std/deque, include/std/fstream, include/std/functional,
860 include/std/iomanip, include/std/ios, include/std/iosfwd,
861 include/std/iostream, include/std/istream, include/std/iterator,
862 include/std/limits, include/std/list, include/std/locale,
863 include/std/map, include/std/memory, include/std/numeric,
864 include/std/ostream, include/std/queue, include/std/set,
865 include/std/sstream, include/std/stack, include/std/stdexcept,
866 include/std/streambuf, include/std/string, include/std/utility,
867 include/std/valarray, include/std/vector: Rename to...
868
869 * include/std/std_algorithm.h, include/std/std_bitset.h,
870 include/std/std_complex.h, include/std/std_deque.h,
871 include/std/std_fstream.h, include/std/std_functional.h,
872 include/std/std_iomanip.h, include/std/std_ios.h,
873 include/std/std_iosfwd.h, include/std/std_iostream.h,
874 include/std/std_istream.h, include/std/std_iterator.h,
875 include/std/std_limits.h, include/std/std_list.h,
876 include/std/std_locale.h, include/std/std_map.h,
877 include/std/std_memory.h, include/std/std_numeric.h,
878 include/std/std_ostream.h, include/std/std_queue.h,
879 include/std/std_set.h, include/std/std_sstream.h,
880 include/std/std_stack.h, include/std/std_stdexcept.h,
881 include/std/std_streambuf.h, include/std/std_string.h,
882 include/std/std_utility.h, include/std/std_valarray.h,
883 include/std/std_vector.h: ...this.
884
885 2002-01-11 Loren Rittle <ljrittle@acm.org>
886
887 * include/Makefile.am (extra_target_headers): New list of all
888 target files built with ad hoc naming rules.
889 (stamp-*): Handle LN_S failure in manner portable across make
890 implementations.
891 (install-data-local): Install header files from human-maintained
892 file lists and directory components instead of non-robust find.
893 * include/Makefile.in: Rebuilt.
894
895 2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
896
897 * include/bits/locale_facets.tcc (money_get::do_get(string)):
898 Check for zero-length negative sign before adding it to output
899 string.
900 (money_get::do_get(long double)): Return beg.
901 * testsuite/22_locale/money_get_members_char.cc (test02): Add
902 iterator checks.
903 * testsuite/22_locale/money_get_members_wchar_t.cc: Same.
904
905 2002-01-10 David Seymour <seymour_dj@yahoo.com>
906
907 libstdc++/5331
908 * include/bits/locale_facets.h (num_get<>): Return advanced iterator
909 for _M_extract_float and _M_extract_int
910 * include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
911 (num_get<>::_M_extract_int): Likewise, all callers changed
912 * testsuite/22_locale/num_get_members_char.cc: Testcase
913
914 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
915
916 * libsupc++/exception (bad_exception): Add comment.
917 * libsupc++/new (bad_alloc): Same.
918 * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
919
920 2002-01-09 Paolo Carlini <pcarlini@unitus.it>
921
922 libstdc++/3150: revert 2001-11-30 commit. DR266 only means
923 that the destructors should be removed from the descriptions
924 in the standard: writing them explicitly allows the vtable
925 heuristic to work. For additional information see:
926 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
927 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
928 http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
929 * libsupc++/exception (bad_exception::~bad_exception()):
930 Reintroduce declaration.
931 * libsupc++/new (bad_alloc::~bad_alloc()): Same.
932 * libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
933 (bad_typeid::~bad_typeid()): Same.
934 * libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
935 Reintroduce definition.
936 * libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
937 * libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
938 (bad_typeid::~bad_typeid()): Same.
939
940 2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
941
942 * include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
943 * include/Makefile.in: Regenerate.
944
945 2002-01-09 Bo Thorsen <bo@suse.co.uk>
946
947 * config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
948 definition.
949
950 2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
951
952 libstdc++/2913
953 libstdc++/4879
954 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
955 return value of _M_file->sync().
956 (filebuf::showmanyc): Check for is_open.
957 * include/std/fstream (filebuf::sync): Tweak.
958 * testsuite/27_io/filebuf.cc: Tweak.
959
960 2002-01-08 John Fardo <jfardo@laurelnetworks.com>
961 Brad Garcia <garsh@attbi.com>
962
963 * testsuite/27_io/filebuf_members.cc: Add test.
964
965 2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
966 Craig Rodrigues <rodrigc@mediaone.net>
967
968 libstdc++/5174
969 * po/Makefile.am (mkinstalldirs): Add.
970 * po/Makefile.in: Regenerate.
971
972 2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
973
974 * testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS *
975 testsuite/lib/prune.exp: Delete lines ":In function ..." from
976 compiler output.
977 * testsuite/23_containers/map_operators.cc: Remove
978 dg-excess-errors comment.
979 * testsuite/23_containers/set_operators.cc: Likewise.
980
981 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
982
983 * include/bits/stl_function.h: Remove two lines of comments;
984 adjust copyright years.
985
986 2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
987
988 * include/Makefile.am (std_headers): Remove cXXX from list.
989 (c_base_srcdir): No bits subdirectory.
990 (c_base_builddir): Same.
991 (c_base_headers): Adjust names, add ciso646.
992 (bits_headers): Remove std_xxx.h headers.
993 * include/Makefile.in: Regenerate.
994
995 * include/ext/iterator: Adjust includes.
996 * include/ext/ropeimpl.h: Same.
997 * include/ext/stl_hash_fun.h: Same.
998 * include/ext/algorithm: Same.
999
1000 * include/backward/bvector.h: Adjust includes.
1001 * include/backward/vector.h: Same.
1002 * include/backward/strstream: Same.
1003 * include/backward/streambuf.h: Same.
1004 * include/backward/stack.h: Same.
1005 * include/backward/set.h: Same.
1006 * include/backward/queue.h: Same.
1007 * include/backward/multiset.h: Same.
1008 * include/backward/multimap.h: Same.
1009 * include/backward/map.h: Same.
1010 * include/backward/list.h: Same.
1011 * include/backward/iterator.h: Same.
1012 * include/backward/iostream.h: Same.
1013 * include/backward/iomanip.h: Same.
1014 * include/backward/fstream.h: Same.
1015 * include/backward/deque.h: Same.
1016 * include/backward/complex.h: Same.
1017
1018 * include/bits/std_algorithm.h: Move to...
1019 * include/std/algorithm: ...here.
1020 * include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
1021 std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
1022 std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
1023 std_deque.h, std_istream.h, std_numeric.h, std_string.h,
1024 std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
1025 std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
1026 std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
1027 Same.
1028
1029 * include/c_std/bits/std_cassert.h: Move to...
1030 * include/c_std/cassert: Here.
1031 * include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
1032 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1033 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1034 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1035 std_cwctype.h: Same.
1036 * include/c_std/cmath: Adjust cmath.tcc include.
1037 * include/c_std/cstdlib: Adjust includes.
1038 * include/c_std/cwchar: Same.
1039 * include/c_std/ctime: Same.
1040 * include/c_std/cstring: Same.
1041 * include/c_std/cstdio: Same.
1042 * include/c_std/bits: Remove directory.
1043
1044 * include/c/bits/std_cassert.h: Move to...
1045 * include/c/cassert: Here.
1046 * include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
1047 std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
1048 std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
1049 std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
1050 std_cwctype.h: Same.
1051 * include/c/bits: Remove directory.
1052
1053 * include/std/cwctype: Remove.
1054 * include/std/cwchar: Remove.
1055 * include/std/ctime: Remove.
1056 * include/std/cstring: Remove.
1057 * include/std/cstdlib: Remove.
1058 * include/std/cstdio: Remove.
1059 * include/std/cstddef: Remove.
1060 * include/std/cstdarg: Remove.
1061 * include/std/csignal: Remove.
1062 * include/std/csetjmp: Remove.
1063 * include/std/cmath: Remove.
1064 * include/std/clocale: Remove.
1065 * include/std/climits: Remove.
1066 * include/std/ciso646: Remove.
1067 * include/std/cfloat: Remove.
1068 * include/std/cerrno: Remove.
1069 * include/std/cctype: Remove.
1070 * include/std/cassert: Remove.
1071
1072 * include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
1073 files and subsituting <xxx>.
1074 * include/bits/valarray_array.h: Same.
1075 * include/bits/stl_uninitialized.h: Same.
1076 * include/bits/stl_alloc.h: Same.
1077 * include/bits/stl_algobase.h: Same.
1078 * include/bits/sstream.tcc: Same.
1079 * include/bits/pthread_allocimpl.h: Same.
1080 * include/bits/ostream.tcc: Same.
1081 * include/bits/localefwd.h: Same.
1082 * include/bits/locale_facets.tcc: Same.
1083 * include/bits/locale_facets.h: Same.
1084 * include/bits/istream.tcc: Same.
1085 * include/bits/char_traits.h: Same.
1086 * include/bits/boost_concept_check.h: Same.
1087 * include/bits/basic_file.h: Same.
1088 * include/std/bitset: Same.
1089 * include/std/complex: Same.
1090 * include/std/fstream: Same.
1091 * include/std/functional: Same.
1092 * include/std/ios: Same.
1093 * include/std/iostream: Same.
1094 * include/std/ostream: Same.
1095 * include/std/sstream: Same.
1096 * include/std/streambuf: Same.
1097 * include/std/string: Same.
1098 * include/std/iterator: Same.
1099 * include/std/valarray: Same.
1100
1101 * src/ios.cc: Adjust includes.
1102 * src/valarray-inst.cc: Same.
1103 * src/string-inst.cc: Same.
1104 * src/stl-inst.cc: Same.
1105 * src/stdexcept.cc: Same.
1106 * src/misc-inst.cc: Same.
1107 * src/localename.cc: Same.
1108 * src/locale-inst.cc: Same.
1109 * src/locale.cc: Same.
1110 * src/limits.cc: Same.
1111 * src/concept-inst.cc: Same.
1112 * src/complex_io.cc: Same.
1113 * src/codecvt.cc: Same.
1114 * src/bitset.cc: Same.
1115 * src/cmath.cc: Same.
1116
1117 2002-01-04 Paolo Carlini <pcarlini@unitus.it>
1118
1119 * include/bits/stl_tree.h (rb_tree): Move to...
1120 * include/ext/rb_tree: ...here, new file.
1121 * include/Makefile.am (ext_headers): Add new file.
1122 * include/Makefile.in: Regenerate.
1123 * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
1124 return_temporary_buffer, struct temporary_buffer): Move to...
1125 * include/ext/memory: ...here.
1126 * testsuite/ext/headers.cc: Include <ext/rb_tree>.
1127 * include/backward/tempbuf.h: Include <ext/memory>, tweak.
1128 * include/backward/tree.h: Include <ext/rb_tree), tweak.
1129
1130 2002-01-03 Paolo Carlini <pcarlini@unitus.it>
1131
1132 * include/bits/stl_numeric.h (power + helpers, iota): Move to...
1133 * include/ext/numeric: ...here, new file.
1134 * include/bits/stl_function.h (identity_element, unary_compose,
1135 binary_compose, compose1, compose2, identity, select1st,
1136 select2nd, project1st + helper, project2nd + helper,
1137 constant_void_fun + helper, constant_unary_fun + helper,
1138 costant_binary_fun + helper, constant0, constant1, constant2,
1139 subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
1140 * include/ext/functional: ...here, new file.
1141 * include/Makefile.am (ext_headers): Add new files.
1142 * include/Makefile.in: Regenerate.
1143 * testsuite/ext/headers.cc: Include <ext/numeric> and
1144 <ext/functional>.
1145 * include/backward/algo.h: Include <ext/numeric>, tweak.
1146 * include/backward/function.h: Include <ext/functional>, tweak.
1147 * include/ext/ropeimpl.h: Include <ext/numeric>.
1148
1149 2002-01-03 Jeffrey A Law <law@redhat.com>
1150
1151 * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
1152 __strtoull declarations with __extension__.
1153
1154 2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
1155
1156 * testsuite/lib/prune.exp: Correct regular expression for
1157 -ffunction-sections
1158
1159 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1160
1161 * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
1162 Change concept checks, as with lower_bound and PR 2054.
1163 * testsuite/ext/concept_checks.cc: Expand test to include those.
1164
1165 2002-01-02 Phil Edwards <pme@gcc.gnu.org>
1166
1167 * include/bits/boost_concept_check.h: Import some changes from
1168 upsteam (Boost) version.
1169
1170 2002-01-02 Paolo Carlini <pcarlini@unitus.it>
1171
1172 * include/bits/stl_algobase.h (copy_n + helpers,
1173 lexicographical_compare_3way + helpers): Move to...
1174 * include/ext/algorithm: ...here.
1175 * include/bits/stl_uninitialized.h (uninitialized_copy_n +
1176 helpers): Move to...
1177 * include/ext/memory: ...here, new file.
1178 * include/Makefile.am (ext_headers): Add new file.
1179 * include/Makefile.in: Regenerate.
1180 * testsuite/ext/headers.cc: Include <ext/memory>.
1181 * include/backward/algobase.h: Include <ext/memory> and
1182 <ext/algorithm>, tweak.
1183 * include/ext/ropeimpl.h: Include <ext/memory>, tweak.
1184 * include/ext/stl_rope.h: Include <ext/memory>, tweak.
1185
1186 2002-01-01 Roger Sayle <roger@eyesopen.com>
1187
1188 * libmath/stubs.c (sinf,cosf): Implement stubs to enable the
1189 equivalent ___builtin__ versions.
1190
1191 * include/c_shadow/bits/std_cmath.h: All __builtin math functions
1192 are available in libstdc++ as the necessary stub implementations
1193 are provided by libmath/stubs.c.
1194
1195 2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
1196
1197 * configure.in: Add support for NetBSD cross compiles.
1198 * configure: Regenerate.