OSDN Git Service

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