OSDN Git Service

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