PR tree-optimization/19967
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob93021e7aefae63cabd617c48bfa1cf6e681ee41b
1 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
3         * testsuite/23_containers/set/modifiers/16728.cc:
4         Remove redundant include <testsuite_performance.h>.
6 2005-02-16  Paolo Carlini  <pcarlini@suse.de>
8         PR libstdc++/19829
9         * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
10         at line #66 to not access str_lit01 beyond its end.
11         * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
13 2005-02-15  Paolo Carlini  <pcarlini@suse.de>
14             Jon Grimm  <jgrimm2@us.ibm.com>
15         
16         PR libstdc++/19955
17         * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
18         Fix the logic setting _M_narrow_ok: first check whether the
19         transformation is trivial with a dflt == 0, then deal with the
20         special case of zero.
21         * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
23         * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
24         Tweak consistently to use memcmp; minor formatting fixes.
26 2005-02-15  Jakub Jelinek  <jakub@redhat.com>
28         PR libstdc++/19946
29         * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
30         demangler change.
31         * testsuite/demangle/abi_examples/02.cc (main): Likewise.
33 2005-02-13  Richard Guenther  <rguenth@gcc.gnu.org>
34             Paolo Carlini  <pcarlini@suse.de>
36         PR libstdc++/11706
37         * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
38         for integer overloads.
40         * testsuite/26_numerics/cmath/powi.cc: New.
42 2005-02-11  Janis Johnson  <janis187@us.ibm.com>
44         * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
45         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
46         * testsuite/26_numerics/complex/pow.cc: Ditto.
48         * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
49         * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
50         * testsuite/26_numerics/complex/complex_value.cc: Ditto.
51         * testsuite/26_numerics/complex/pow.cc: Ditto.
53 2005-02-09  Mike Stump  <mrs@apple.com>
55         * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
57 2005-02-09  Janis Johnson  <janis187@us.ibm.com>
59         * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
61 2005-02-08  Mark Mitchell  <mark@codesourcery.com>
63         * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
65 2005-02-07  Loren J. Rittle  <ljrittle@acm.org>
67         * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
68         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
69         src static.
71 2005-02-02  Brad Spencer  <spencer@infointeractive.com>
73         * debug.html: Fix broken tags.
74         * documentation.html: Same.
76 2005-02-02  Andreas Jaeger  <aj@suse.de>
78         * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
79         from 2005-01-28.
80         * testsuite/Makefile.am: Likewise.
81         * testsuite/Makefile.in: Likewise.
83 2005-02-01  Paolo Carlini  <pcarlini@suse.de>
85         * include/bits/cpp_type_traits.h: Rename _M_type fields to
86         __value, except for __enable_if, _M_type -> __type, consistently
87         with the other traits.
88         * include/bits/stl_algobase.h: Tweak consistently.
89         * include/bits/stl_tree.h: Likewise.
90         * include/bits/valarray_array.h: Likewise.
91         * include/c_std/std_cmath.h: Likewise.
92         * include/debug/safe_iterator.h: Likewise.
93         * include/std/std_complex.h: Likewise.
95 2005-01-31  Brad Spencer  <spencer@infointeractive.com>
97         * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
98         * configure: Regenerated.       
100 2005-01-31  Mark Mitchell  <mark@codesourcery.com>
102         * include/std/std_limits.h (numeric_limits<float>::has_denorm):
103         Add required cast.
104         (numeric_limits<double>::has_denorm): Likewise.
105         (numeric_limits<long double>::has_denorm): Likewise.
107 2005-01-31  Paolo Carlini  <pcarlini@suse.de>
108             Gabriel Dos Reis  <gdr@integrable-solutions.net>
110         * include/bits/cpp_type_traits.h: Add types to the structs thus
111         making type_traits.h redundant; exploit new __truth_type and
112         __traitor helpers.
113         * include/bits/type_traits.h: Remove.
114         * include/Makefile.am: Update.
115         * include/Makefile.in: Regenerate.
116         * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
117         * include/bits/basic_string.h (replace(iterator, iterator,
118         _InputIterator, _InputIterator), _S_construct(_InIterator,
119         _InIterator, const _Alloc&)): Use __is_integer instead.
120         * include/bits/stl_bvector.h (vector(_InputIterator,
121         _InputIterator, const allocator_type&), assign(_InputIterator,
122         _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
123         Likewise.
124         * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
125         _ForwardIterator)): Use __is_scalar.
126         * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
127         const allocator_type&), assign(_InputIterator, _InputIterator),
128         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
129         * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
130         insert(iterator, _InputIterator, _InputIterator)): Likewise.
131         * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
132         _ForwardIterator)): Use __is_scalar.
133         * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
134         _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
135         _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
136         _Size, const _Tp&)): Likewise.
137         * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
138         const allocator_type&), assign(_InputIterator, _InputIterator),
139         insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
140         * include/debug/debug.h (__valid_range(const _InputIterator&,
141         const _InputIterator&)): Use __is_integer.
142         * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
143         * include/std/std_string.h: Include cpp_type_traits.h instead.
145 2005-01-30  Paolo Carlini  <pcarlini@suse.de>
147         PR libstdc++/19642
148         * config/locale/generic/c_locale.h (__convert_from_v): Switch only
149         LC_NUMERIC, and only when actually != "C".
151 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
153         * include/tr1/type_traits (is_function): Minor consistency tweaks.
155 2005-01-28  Geoffrey Keating  <geoffk@apple.com>
157         * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
158         for the compiler.  Don't set cxxflags.
159         (v3_target_compile): Search for libv3test.a relative to $objdir.
160         (lsearch_all_inline): New.
161         (lsearch_all_inline_not): New.
162         (v3-list-tests): Rewrite to not need generated files.
163         * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
164         (IGNORE_THREAD): New.
165         (TESTS_TO_IGNORE): New.
166         (site.exp): Set tests_to_ignore, cxxflags.
167         * aclocal.m4: Regenerate.
168         * Makefile.in: Regenerate.
169         * libmath/Makefile.in: Likewise.
170         * libsupc++/Makefile.in: Likewise.
171         * po/Makefile.in: Likewise.
172         * src/Makefile.in: Likewise.
173         * testsuite/Makefile.in: Likewise.
175 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
177         * include/tr1/type_traits: Implement is_empty.
178         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
179         is_empty.cc: New.
180         * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
181         typedefs.cc: Likewise.
183         * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
185 2005-01-28  Paolo Carlini  <pcarlini@suse.de>
187         * include/tr1/type_traits: Implement is_abstract, by exploiting the
188         resolution of DR core/337.
189         * testsuite/testsuite_tr1.h: Add AbstractClass.
190         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
191         is_abstract.cc: New.
192         * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
193         typedefs.cc: Likewise.
194         
195         * include/tr1/type_traits (is_function): Rewrite, use the conversion
196         F& -> F* instead, thus avoiding problems with abstract classes.
197         * testsuite/tr1/4_metaprogramming/primary_type_categories/
198         is_function/is_function.cc: Add a test for tricky AbstractClass.
200 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
202         * include/ext/mt_allocator.h
203         (struct __per_type_pool_policy<,, false>::_S_get_pool,
204         struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
205         _M_chunk_size too with sizeof(_Tp), otherwise the allocator
206         breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
207         reduce to 64 the multiplier for _M_max_bytes (safer wrt
208         _Binmap_type being a short); trivial reformattings.
209         * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
211 2005-01-26  Paolo Carlini  <pcarlini@suse.de>
213         * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
214         to the final test for enable_c99, thus robustifying it; remove
215         duplicate final test on ac_99_math.
216         * configure: Regenerate.
218         * include/std/std_complex.h: Remove usages of the dead
219         _GLIBCXX_BUGGY_COMPLEX macro.
221         * testsuite/26_numerics/cmath/19322.cc: Protect with
222         _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
223         since only C99 math facilities are involved.
224         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
225         Likewise.
227 2005-01-25  Loren J. Rittle  <ljrittle@acm.org>
229         * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
230         instead of generic.  Change autoconf report to "darwin or freebsd".
231         * configure: Regenerate.
232         * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
233         (ctype<wchar_t>::do_scan_is): Likewise.
234         (ctype<wchar_t>::do_scan_not): Likewise.
236 2005-01-25  Benjamin Kosnik  <bkoz@redhat.com>
238         * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
239         functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
240         * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
241         * config.h.in: Regenerate.
242         * configure: Regenerate.
243         * include/std/std_complex.h: Protect complex builtins with
244         _GLIBCXX_USE_C99_COMPLEX_MATH.
246 2005-01-24  Paolo Carlini  <pcarlini@suse.de>
248         * include/tr1/type_traits: Implement is_signed and is_unsigned.
249         * testsuite/tr1/4_metaprogramming/type_properties/
250         is_signed/is_signed.cc: New.
251         * testsuite/tr1/4_metaprogramming/type_properties/
252         is_signed/typedefs.cc: Likewise.
253         * testsuite/tr1/4_metaprogramming/type_properties/
254         is_unsigned/is_unsigned.cc: Likewise.
255         * testsuite/tr1/4_metaprogramming/type_properties/
256         is_unsigned/typedefs.cc: Likewise.
258 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
260         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
262 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
264         * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
265         * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
266         * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
267         * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
268         * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
269         * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
270         * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
271         * testsuite/27_io/basic_ostream/flush/wchar_t/
272         exceptions_badbit_throw.cc: Likewise.
273         * testsuite/27_io/basic_ostream/inserters_arithmetic/
274         wchar_t/2.cc: Likewise.
275         * testsuite/27_io/basic_ostream/inserters_arithmetic/
276         wchar_t/3.cc: Likewise.
277         * testsuite/27_io/basic_ostream/inserters_arithmetic/
278         wchar_t/4.cc: Likewise.
279         * testsuite/27_io/basic_ostream/inserters_arithmetic/
280         wchar_t/4402.cc: Likewise.
281         * testsuite/27_io/basic_ostream/inserters_arithmetic/
282         wchar_t/5.cc: Likewise.
283         * testsuite/27_io/basic_ostream/inserters_arithmetic/
284         wchar_t/6.cc: Likewise.
285         * testsuite/27_io/basic_ostream/inserters_arithmetic/
286         wchar_t/9555-oa.cc: Likewise.
287         * testsuite/27_io/basic_ostream/inserters_arithmetic/
288         wchar_t/exceptions_badbit_throw.cc: Likewise.
289         * testsuite/27_io/basic_ostream/inserters_arithmetic/
290         wchar_t/exceptions_failbit_throw.cc: Likewise.
291         * testsuite/27_io/basic_ostream/inserters_character/
292         wchar_t/1.cc: Likewise.
293         * testsuite/27_io/basic_ostream/inserters_character/
294         wchar_t/2.cc: Likewise.
295         * testsuite/27_io/basic_ostream/inserters_character/
296         wchar_t/3.cc: Likewise.
297         * testsuite/27_io/basic_ostream/inserters_character/
298         wchar_t/4.cc: Likewise.
299         * testsuite/27_io/basic_ostream/inserters_character/
300         wchar_t/5.cc: Likewise.
301         * testsuite/27_io/basic_ostream/inserters_character/
302         wchar_t/6.cc: Likewise.
303         * testsuite/27_io/basic_ostream/inserters_character/
304         wchar_t/9555-oc.cc: Likewise.
305         * testsuite/27_io/basic_ostream/inserters_other/
306         wchar_t/1.cc: Likewise.
307         * testsuite/27_io/basic_ostream/inserters_other/
308         wchar_t/2.cc: Likewise.
309         * testsuite/27_io/basic_ostream/inserters_other/
310         wchar_t/3.cc: Likewise.
311         * testsuite/27_io/basic_ostream/inserters_other/
312         wchar_t/4.cc: Likewise.
313         * testsuite/27_io/basic_ostream/inserters_other/
314         wchar_t/5.cc: Likewise.
315         * testsuite/27_io/basic_ostream/inserters_other/
316         wchar_t/9318-out.cc: Likewise.
317         * testsuite/27_io/basic_ostream/inserters_other/
318         wchar_t/9424-out.cc: Likewise.
319         * testsuite/27_io/basic_ostream/inserters_other/
320         wchar_t/9555-oo.cc: Likewise.
321         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
322         error_failbit.cc: Likewise.
323         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
324         exceptions_badbit_throw.cc: Likewise.
325         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
326         exceptions_failbit_throw.cc: Likewise.
327         * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
328         exceptions_null.cc: Likewise.
329         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
330         * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
331         * testsuite/27_io/basic_ostream/seekp/char/
332         exceptions_badbit_throw.cc: Likewise.
333         * testsuite/27_io/basic_ostream/seekp/wchar_t/
334         2346-fstream.cc: Likewise.
335         * testsuite/27_io/basic_ostream/seekp/wchar_t/
336         2346-sstream.cc: Likewise.
337         * testsuite/27_io/basic_ostream/seekp/wchar_t/
338         exceptions_badbit_throw.cc: Likewise.
339         * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
340         * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
341         * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
342         * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
343         * testsuite/27_io/basic_ostream/tellp/wchar_t/
344         exceptions_badbit_throw.cc: Likewise.
345         * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
347         * testsuite/data/wostream_inserter_char-1.tst: Likewise.
348         * testsuite/data/wostream_inserter_char-1.txt: Likewise.
349         * testsuite/data/wostream_inserter_other-1.tst: Likewise.
350         * testsuite/data/wostream_inserter_other-2.tst: Likewise.
351         * testsuite/data/wostream_seeks-1.tst: Likewise.
353         * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
354         * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
355         * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. 
356         * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
357         * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
358         * testsuite/27_io/basic_ostream/flush/char/
359         exceptions_badbit_throw.cc: Likewise.
360         * testsuite/27_io/basic_ostream/inserters_arithmetic/
361         char/2.cc: Likewise.
362         * testsuite/27_io/basic_ostream/inserters_arithmetic/
363         char/3.cc: Likewise.
364         * testsuite/27_io/basic_ostream/inserters_arithmetic/
365         char/4.cc: Likewise.
366         * testsuite/27_io/basic_ostream/inserters_arithmetic/
367         char/4402.cc: Likewise.
368         * testsuite/27_io/basic_ostream/inserters_arithmetic/
369         char/5.cc: Likewise.
370         * testsuite/27_io/basic_ostream/inserters_arithmetic/
371         char/6.cc: Likewise.
372         * testsuite/27_io/basic_ostream/inserters_character/
373         char/4.cc: Likewise.
374         * testsuite/27_io/basic_ostream/inserters_other/char/
375         2.cc: Likewise.
376         * testsuite/27_io/basic_ostream/inserters_other/char/
377         5.cc: Likewise.
378         * testsuite/27_io/basic_ostream/inserters_other/char/
379         error_failbit.cc: Likewise.
380         * testsuite/27_io/basic_ostream/inserters_other/char/
381         exceptions_badbit_throw.cc: Likewise.
382         * testsuite/27_io/basic_ostream/inserters_other/char/
383         exceptions_failbit_throw.cc: Likewise.
384         * testsuite/27_io/basic_ostream/inserters_other/char/
385         exceptions_null.cc: Likewise.
386         * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
387         * testsuite/27_io/basic_ostream/seekp/char/
388         exceptions_badbit_throw.cc: Likewise.
389         * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
390         * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
392 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
394         * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
395         of aligned.
397 2005-01-23  Paolo Carlini  <pcarlini@suse.de>
398             Andreas Jaeger  <aj@suse.de>
400         PR libstdc++/19343
401         * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
403 2005-01-21  Loren J. Rittle  <ljrittle@acm.org>
405         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
406         lseek on fifo to succeed.  Thus, check for consistent report.
408 2005-01-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
410         PR libstdc++/19510
411         * include/bits/stl_list.h (_List_iterator): Initialize _M_node
412         in constructor.
413         (_List_const_iterator): Likewise.
414         * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
415         (_Rb_tree_const_iterator): Likewise.
417         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
418         * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
420 2005-01-20  Benjamin Kosnik  <bkoz@redhat.com>
422         * testsuite/Makefile.am (check-compile): New.
423         * testsuite/Makefile.in: Regenerate.    
424         * scripts/check_compile_time: New.
425         * scripts/check_performance: Tweaks.
427 2005-01-19  Paolo Carlini  <pcarlini@suse.de>
429         PR libstdc++/19535
430         * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
431         Fix typo in the return type.
432         * testsuite/tr1/6_containers/utility/19535.cc: New.
434 2005-01-19  Loren J. Rittle  <ljrittle@acm.org>
436         * include/ext/array_allocator.h (array_allocator<>::allocate):
437         Avoid __used.  Use __array_used instead.
438         * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
440 2005-01-18  David Edelsohn  <edelsohn@gnu.org>
442         * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
443         (_XOPEN_SOURCE_EXTENDED): Delete.
445 2005-01-18  Benjamin Kosnik  <bkoz@redhat.com>
447         * testsuite/testsuite_performance.h (time_counter::start):
448         Clear. Tweaks.
449         (clear_counters): Inline.
450         (start_counters): Inline.
451         (stop_counters): Inline.
452         * testsuite/performance/20_util/allocator/map_thread.cc: Return.
453         * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
454         return, add return.
455         * testsuite/performance/20_util/allocator/map_thread.cc: Same.
456         
457 2005-01-17  Paolo Carlini  <pcarlini@suse.de>
459         PR libstdc++/19433
460         * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
461         const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
462         Obtain amortized constant complexity if t is inserted right after
463         p - not before p - as per Table 69.
464         * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
465         
466         * testsuite/23_containers/multiset/insert/2.cc: New.
467         * testsuite/23_containers/set/insert/1.cc: Likewise.
468         
469         * testsuite/performance/23_containers/set_create_from_sorted.cc:
470         Simplify.
472         * include/bits/stl_tree.h: Add a few missing std:: qualifications.
474 2005-01-16  Jonathan Wakely  <redi@gcc.gnu.org>
476         * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
477         * testsuite/ext/rope/4.cc: Add.
479 2005-01-16  Lorenz Minder  <lminder@gmx.net>
480             Paolo Carlini  <pcarlini@suse.de>
482         PR libstdc++/19322
483         * include/c_std/std_cmath.h: Define the C99 classification facilities
484         directly inside namespace std:.
485         * testsuite/26_numerics/cmath/19322.cc: New.
487 2005-01-15  David Edelsohn  <edelsohn@gnu.org>
489         * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
491 2005-01-14  Paolo Carlini  <pcarlini@suse.de>
493         PR libstdc++/19422
494         * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
495         _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
496         respectively) with hint (end()).
497         * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
499 2005-01-13  Geoffrey Keating  <geoffk@apple.com>
501         * configure.host (darwin): On darwin8 or later, no need to build
502         libstdc++ with -flat_namespace.
504 2005-01-13  Jonathan Wakely  <redi@gcc.gnu.org>
506         * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
508 2005-01-13  Paolo Carlini  <pcarlini@suse.de>
510         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
511         Re-enable commented-out test for double type.
513 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
514             Benjamin Kosnik  <bkoz@redhat.com>
516         * src/istream.cc (basic_istream<char>::ignore(streamsize),
517         basic_istream<char>::ignore(streamsize, int_type),
518         basic_istream<wchar_t>::ignore(streamsize),
519         basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
520         more than numeric_limits<streamsize>::max() chars are skipped,
521         set _M_gcount = max().
522         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
523         int_type)): Likewise; keep simple, don't forward.
525 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
527         * src/istream.cc (basic_istream<char>::ignore(streamsize),
528         basic_istream<char>::ignore(streamsize, int_type),
529         basic_istream<wchar_t>::ignore(streamsize),
530         basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
531         2005-01-05 change: actually, the previous behavior is conforming
532         and consistent with that of get(char_type*, streamsize, char_type),
533         albeit slightly different from that of 3.3/3.4 in a corner case
534         due to the use of snextc.
535         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
536         int_type)): Likewise.
537         * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
538         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
540 2005-01-11  Paolo Carlini  <pcarlini@suse.de>
542         * include/tr1/type_traits: Implement alignment_of and aligned_storage.
543         * testsuite/tr1/4_metaprogramming/other_transformations/
544         aligned_storage/aligned_storage.cc: New.
545         * testsuite/tr1/4_metaprogramming/other_transformations/
546         aligned_storage/typedefs.cc: Likewise.
547         * testsuite/tr1/4_metaprogramming/type_properties/
548         alignment_of/alignment_of.cc: Likewise.
549         * testsuite/tr1/4_metaprogramming/type_properties/
550         alignment_of/typedefs.cc: Likewise.
552 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
554         * Makefile.in: Regenerate.
555         * libmath/Makefile.in: Likewise.
556         * libsupc++/Makefile.in: Likewise.
557         * po/Makefile.in: Likewise.
558         * src/Makefile.in: Likewise.
559         * testsuite/Makefile.in: Likewise.
561 2005-01-10  Paolo Carlini  <pcarlini@suse.de>
563         * include/bits/stl_algobase.h (lexicographical_compare):
564         Fix concept check.
566 2005-01-07  Benjamin Kosnik  <bkoz@redhat.com>
568         * acinclude.m4: Remove CCODECVT_H.
569         * configure: Regenerate.
570         * include/Makefile.am (host_headers_extra): Move to...
571         (ext_headers): ...here.
572         * include/Makefile.in: Regenerate.
573         * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
574         enc_traits to...
575         * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
576         * include/ext/codecvt_specializations.h: ...here. Remove
577         _GLIBCXX_USE___ENC_TRAITS. 
578         (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
579         (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
580         namespace.
581         * config/locale/generic/codecvt_specializations.h: Remove.
582         * include/bits/codecvt.h: Remove codecvt_specializations.h include.
583         * src/codecvt.cc: Remove __enc_traits::_S_max_size.
585 2005-01-06  Benjamin Kosnik  <bkoz@redhat.com>
587         * include/bits/fstream.tcc: Remove unnecessary qualifications for
588         uglified data members of basic_filebuf, including _M_buf,
589         _M_buf_size, _M_mode, _M_pback_init.
590         * include/std/std_fstream.h: Same.
591         
592 2005-01-05  Benjamin Kosnik  <bkoz@redhat.com>
594         * testsuite/testsuite_hooks.h: 
595         (copy_constructor::mark_call):  Use __throw_runtime_error.
596         (assignment_operator::mark_call): Same.
597         * testsuite/testsuite_hooks.cc (verify_demangle): Same.
598         (locale_data): Remove, just use runtime_error directly.
599         (environment_variable): Same.
600         (not_found): Same.
601         (run_tests_wrapped_locale): Use __throw_runtime_error.
602         (run_tests_wrapped_env): Same.
603         (semaphore::semaphore): Same.
604         (semaphore::signal): Same.
605         (semaphore::wait): Same.
606         * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
607         * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
608         (create_symbols): Use __throw_runtime_error.
609         * src/bitmap_allocator.cc: Use __throw_bad_alloc.
611 2005-01-05  Mark Mitchell  <mark@codesourcery.com>
613         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
614         process.
615         
616 2005-01-05  Paolo Carlini  <pcarlini@suse.de>
618         * src/istream.cc (basic_istream<char>::ignore(streamsize),
619         basic_istream<char>::ignore(streamsize, int_type),
620         basic_istream<wchar_t>::ignore(streamsize),
621         basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
622         first check _M_gcount vs __n.   
623         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
624         int_type)): Likewise.
625         * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
626         * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
628 2005-01-03  Mark Mitchell  <mark@codesourcery.com>
630         * testsuite/testsuite_hooks.cc: Use __throw_exception_again
631         instead of just throw.
633         * testsuite/testsuite_hooks.cc: Update coypright and follow style
634         guidelines.
635         * testsuite/testsuite_hooks.h: Likewise.
636         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
637         semaphores, not sleep.
638         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
639         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
640         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
641         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
642         Likewise.
643         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
644         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
645         * testsuite/27_io/objects/char/7.cc: Likewise.
646         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
647         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
648         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
650         * configure.ac: Check for sys/ipc.h and sys/sem.h. 
651         * config.h.in: Regenerated.
652         * configure: Likewise.
653         * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
654         define.
655         (sys/types.h): Include.
656         (sys/ipc.h): Likewise.
657         (sys/sem.h): Likewise.
658         (__gnu_test::semun): New type.
659         (__gnu_test::semaphore::sempaphore): New function.
660         (__gnu_test::semaphore::~semaphore): Likewise.
661         (__gnu_test::semaphore::wait): Likewise.
662         (__gnu_test::semaphore::signal): Likewise.
663         * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
664         * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
665         semaphores, not sleep.
666         * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
667         * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
668         * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
669         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
670         Likewise.
671         * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
672         * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
673         * testsuite/27_io/objects/char/7.cc: Likewise.
674         * testsuite/27_io/objects/char/9661-1.cc: Likewise.
675         * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
676         * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
678 2005-01-03  Paolo Carlini  <pcarlini@suse.de>
680         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
681         int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
682         * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
683         basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
684         * src/istream.cc (basic_istream<char>::ignore(streamsize),
685         basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
687 2005-01-02  Paolo Carlini  <pcarlini@suse.de>
689         * src/istream.cc (basic_istream<char>::ignore(streamsize),
690         basic_istream<char>::ignore(streamsize, int_type),
691         basic_istream<wchar_t>::ignore(streamsize),
692         basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
693         _M_gcount overflows.    
694         * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
695         int_type)): Likewise; use snextc in the main loop, consistently
696         with the specializations above.
698 2005-01-02  Chris Jefferson  <chris@bubblescope.net>
700         * include/bits/stl_algobase.h (mismatch): Correct concept check.
702 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
704         * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
705         testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
706         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
708 2005-01-01  Paolo Carlini  <pcarlini@suse.de>
710         * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
711         null-terminate array1 at the outset.
712         * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
713         Likewise.