* gfortran.dg/secnds.f: Replace time tolerance with a
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob26f1a67e84fa64b2f301bcf28668901342db938f
1 2007-02-09  Richard Sandiford  <richard@codesourcery.com>
3         * testsuite/22_locale/time_put/put/wchar_t/1.cc: XFAIL if
4         dummy_wcsftime.
5         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
6         * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
7         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
8         * testsuite/22_locale/num_get/get/wchar_t/2.cc: XFAIL if lax_strtofp.
9         * testsuite/22_locale/num_get/get/char/2.cc: Likewise.
10         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
11         Likewise.
12         * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc:
13         Likewise.
14         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
15         Likewise.
16         * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
17         Likewise.
18         * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc:
19         Likewise.
20         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/6.cc:
21         Likewise.
22         * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: XFAIL
23         for uClibc.
24         * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Likewise.
26 2007-02-09  Paolo Carlini  <pcarlini@suse.de>
28         * scripts/testsuite_flags.in: Add back @LIBICONV@ to SECTIONLDFLAGS.
30 2007-02-08  Howard Hinnant  <hhinnant@apple.com>
32         PR libstdc++/17012
33         * include/bits/list.tcc (list<>::remove): Take care of
34         &*__first == &__value.
35         * docs/html/ext/howto.html: Add an entry for DR 526.
37 2007-02-07  Jakub Jelinek  <jakub@redhat.com>
39         PR libgomp/28468
40         * configure: Regenerate.
42 2007-02-07  Hans-Peter Nilsson  <hp@axis.com>
44         PR testsuite/28870
45         * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: Use only
46         10000 iterations for simulator targets.
47         * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Use only 5
48         iterations for simulator targets.
49         * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Ditto.
50         * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Ditto.
51         * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Ditto.
52         * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Ditto.
53         * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Ditto.
54         * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Ditto.
55         * testsuite/23_containers/set/modifiers/16728.cc: Use only 10
56         iterations for simulator targets.
58 2007-02-06  Benjamin Kosnik  <bkoz@redhat.com>
59             Marco Trudel  <mtrudel@gmx.ch>
61         * include/precompiled/extc++.h: Guard include files that assume
62         iconv support is present from precompilation via
63         _GLIBCXX_HAVE_ICONV.
65 2007-02-05  Paolo Carlini  <pcarlini@suse.de>
67         * include/bits/stl_deque.h (operator<): Qualify call.
69 2007-02-02  Benjamin Kosnik  <bkoz@redhat.com>
71         * include/bits/c++config: Consistent macro guards for config includes.
72         * config/locale/gnu/c_locale.h: Same.
73         * config/locale/generic/c_locale.h: Same.
74         * config/allocator/mt_allocator_base.h: Same.
75         * config/allocator/malloc_allocator_base.h: Same.
76         * config/allocator/new_allocator_base.h: Same.
77         * config/allocator/pool_allocator_base.h: Same.
78         * config/allocator/bitmap_allocator_base.h: Same.
79         * config/os/vxworks/os_defines.h: Same.
80         * config/cpu/sh/atomicity.h: Same.
81         * config/io/c_io_stdio.h: Same.
82         * config/io/basic_file_stdio.h: Same.
84 2007-02-01  Paolo Carlini  <pcarlini@suse.de>
86         PR libstdc++/14493
87         * libsupc++/typeinfo (bad_cast::what, bad_typeid::what): Declare.
88         * libsupc++/tinfo.cc: Define.   
89         * libsupc++/exception (bad_exception::what): Declare.
90         * libsupc++/eh_exception.cc: Define.
91         (exception::what): Adjust, don't use typeid.
92         * libsupc++/new (bad_alloc::what): Declare.
93         * libsupc++/new_handler.cc: Define.
94         * config/abi/pre/gnu.ver: Export the new methods @3.4.9; adjust
95         existing 3.4.10 exports to 3.4.9.
96         * configure.ac: Adjust to 6.0.9.
97         * configure: Regenerate.
98         * testsuite/util/testsuite_abi.cc: Update.
99         * testsuite/18_support/14493.cc: New.
101 2007-02-01  Ben Elliston  <bje@au.ibm.com>
103         * libsupc++/eh_alloc.cc (__cxa_free_exception): Don't refer to the
104         emergency_buffer using `&array[0][0]' notation, use `array'.
106 2007-01-30  Benjamin Kosnik  <bkoz@redhat.com>
108         PR libstdc++/30571
109         * include/ext/pb_ds/detail/type_utils.hpp: Use C++0x
110         static_assert if available, if not, centralize PB_DS_STATIC_ASSERT
111         definition here.
112         * include/ext/pb_ds/detail/resize_policy/
113         cc_hash_max_collision_check_resize_trigger_imp.hpp: Remove
114         PB_DS_STATIC_ASSERT definition.
115         * include/ext/pb_ds/detail/resize_policy/
116         hash_load_check_resize_trigger_imp.hpp: Same.
117         * include/ext/pb_ds/detail/resize_policy/
118         hash_standard_resize_policy_imp.hpp: Same.
119         * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
120         * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
121         * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Same.
122         * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
123         * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
124         * include/ext/pb_ds/trie_policy.hpp: Same.
125         * testsuite/util/performance/assoc/timing/
126         tree_order_statistics_test.hpp: Same.
127         * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Adjust line numbers.
128         * testsuite/17_intro/headers_c++_c++0x_compat.cc: New.
129         
130         * include/precompiled/extc++.h: Update to current list of ext files.
132 2007-01-29  Paolo Carlini  <pcarlini@suse.de>
134         * include/bits/stl_uninitialized.h (uninitialized_copy(const char*,
135         const char*, char*), uninitialized_copy(const wchar_t*, const wchar_t*,
136         wchar_t*)): Remove, just forward to std::copy.
138 2007-01-29  Benjamin Kosnik  <bkoz@redhat.com>
140         * include/ext/enc_filebuf.h: Resurrect, update.
141         * include/ext/codecvt_specializations.h: Remove
142         _GLIBCXX_USE_ICONV, _GLIBCXX_USE_ENCODING_STATE.
143         * include/bits/localefwd.h: Remove declaration for __enc_traits.
144         * docs/html/22_locale/codecvt.html: Change __enc_traits to
145         encoding_state.
146         * scripts/testsuite_flags.in: Remove ICONV.
148         * configure.ac: Remove GLIBCXX_CHECK_ICONV_SUPPORT.
149         * acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove.
150         * crossconfig.m4: Remove use of GLIBCXX_CHECK_ICONV_SUPPORT.
151         * config.h.in: Remove HAVE_ICONV_CLOSE, HAVE_ICONV_OPEN,
152         HAVE_NL_LANGINFO, _GLIBCXX_USE_ICONV.
153         * include/Makefile.am: Uglify ICONV_CONST.
154         * configure: Regenerate.
155         * aclocal.m4: Regenerate.
156         * Makefile.in: Regenerate.
157         * src/Makefile.in: Regenerate.
158         * po/Makefile.in: Regenerate.
159         * libmath/Makefile.in: Regenerate.
160         * include/Makefile.in: Regenerate.
161         * libsupc++/Makefile.in: Regenerate.
162         * testsuite/Makefile.in: Regenerate.
164         * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Use
165         dg-require-iconv, fix up for encoding_state changes.
166         * testsuite/ext/enc_filebuf/char/13189.cc: Same.
167         * testsuite/ext/enc_filebuf/char/13598.cc: Same.
168         * testsuite/22_locale/codecvt/unicode: Move...
169         * testsuite/22_locale/codecvt/unicode/char.cc: Move...
170         * testsuite/22_locale/codecvt/unicode/1.cc: Move...
171         * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Move...
172         * testsuite/ext/codecvt: New.
173         * testsuite/ext/codecvt/char-1.cc: ...here. Also, use dg-require-iconv.
174         * testsuite/ext/codecvt/char-2.cc: ...here. Same.
175         * testsuite/ext/codecvt/1.cc: ...here. Same.
176         * testsuite/ext/codecvt/wchar_t.cc: ...here. Same.
177         * testsuite/22_locale/locale/cons/unicode: Delete directory.
178         * testsuite/22_locale/locale/cons/unicode/1.cc: Move...
179         * testsuite/22_locale/locale/cons/unicode.cc: ...here.
181 2007-01-28  Paolo Carlini  <pcarlini@suse.de>
183         * include/bits/locale_facets.tcc (num_get<>::do_get(iter_type,
184         iter_type, ios_base&, ios_base::iostate&, bool&),
185         num_put<>::_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)):
186         -Wconversion and -Woverflow fixes.
187         * include/bits/istream.tcc (operator>>(int&), operator>>(short&)):
188         Likewise.
189         * include/std/valarray (valarray<>::shift, cshift): Likewise.
191 2007-01-26  Paolo Carlini  <pcarlini@suse.de>
193         PR libstdc++/30586
194         * config/cpu/ia64/atomic_word.h: Just include <bits/cxxabi_tweaks.h>.
195         * testsuite/abi/30586.cc: New.
197 2007-01-25  Nathan Myers  <ncm@cantrip.org>
199         * include/bits/streambuf_iterator.h (istreambuf_iterator<>::equal):
200         Simplify.
202 2007-01-24   Steve LoBasso <slobasso@yahoo.com>
203              Paolo Carlini  <pcarlini@suse.de>
205         * include/bits/deque.tcc (deque<>::erase(iterator, iterator)):
206         Fix condition.
207         * testsuite/23_containers/deque/modifiers/erase/3.cc: New.
209 2007-01-24  Andrew Pinski  <andrew_pinski@playstation.sony.com>
211         * libsupc++/eh_personality.cc  (PERSONALITY_FUNCTION): Replace
212         _Unwind_Word with _uleb128_t in the SJLJ context.
214 2007-01-24  Benjamin Kosnik  <bkoz@redhat.com>
216         PR libstdc++/29722 continued
217         * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
218         libsupc++ library directory.
219         * testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
220         path specification.
221         
222 2007-01-24  Andreas Krebbel  <krebbel1@de.ibm.com>
224         * libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec,
225         get_ttype_entry, empty_exception_spec, PERSONALITY_FUNCTION): Replaced
226         _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
228 2007-01-22  Paolo Carlini  <pcarlini@suse.de>
230         * include/bits/stl_algobase.h (__fill_aux(unsigned char*,
231         unsigned char*, const unsigned char&), __fill_aux(signed char*,
232         signed char*, const signed char&), __fill_aux(char*, char*,
233         const char&), __fill_aux(wchar_t*, wchar_t*, const wchar_t&)):
234         Take the character by value.
235         (__fill_n_aux): Likewise.
237 2007-01-21  Paolo Carlini  <pcarlini@suse.de>
239         PR libstdc++/30449 (fill, fill_n)
240         * include/bits/stl_algobase.h (__fill_aux(wchar_t*, wchar_t*,
241         const wchar_t&), __fill_n_aux(wchar_t*, _Size, const wchar_t&)): New.
242         (fill(signed char*, signed char*, const signed char&),
243         fill(unsigned char*, unsigned char*, const unsigned char&),
244         fill(char*, char*, char&), fill_n(signed char*, _Size,
245         const signed char&), fill_n(unsigned char*, _Size,
246         const unsigned char&), fill_n(char*, _Size, char&)): Rename to
247         __*_aux.
248         (__fill_normal, __fill_n_normal): New, call the latter.
249         (fill, fill_n): Adjust, call the latter.        
250         * testsuite/25_algorithms/fill/4.cc: New.
251         * testsuite/25_algorithms/fill/5.cc: New.
253 2007-01-18  Paolo Carlini  <pcarlini@suse.de>
255         * include/bits/basic_string.h (basic_string<>::_S_compare): Add.
256         (compare(const basic_string&)): Use it.
257         * include/bits/basic_string.tcc (compare(size_type, size_type,
258         const basic_string&), compare(size_type, size_type,
259         const basic_string&, size_type, size_type), compare(const _CharT*),
260         compare(size_type, size_type, const _CharT*), compare(size_type,
261         size_type, const _CharT*, size_type)): Likewise.
262         * include/ext/vstring_util.h (__vstring_utility<>::_S_compare): Add.
263         * include/ext/vstring.h (compare(const __versa_string&)): Use it.
264         * include/ext/vstring.tcc (compare(size_type, size_type,
265         const __versa_string&), compare(size_type, size_type,
266         const __versa_string&, size_type, size_type), compare(const _CharT*),
267         compare(size_type, size_type, const _CharT*), compare(size_type,
268         size_type, const _CharT*, size_type)): Likewise.
270 2007-01-15  Ian Lance Taylor  <iant@google.com>
271             Paolo Carlini  <pcarlini@suse.de>
273         * include/ext/type_traits.h: Fix __glibcxx_max macro.
274         * include/std/limits: Likewise.
276 2007-01-15  Paolo Carlini  <pcarlini@suse.de>
278         * include/std/valarray (valarray<>::cshift): Fix typo.
280 2007-01-14  Paolo Carlini  <pcarlini@suse.de>
282         * include/bits/stl_algobase.h (fill_n(char*, _Size,
283         const signed char&)): Fix signature.
284         * testsuite/25_algorithms/fill/3.cc: New.
286 2007-01-13  John David Anglin  <dave.anglin@nrc-cnrc.gc>
288         * config/cpu/hppa/atomicity.h (__exchange_and_add): Don't use ordered
289         store.
290         (__atomic_add): Likewise.
292 2007-01-13  Paolo Carlini  <pcarlini@suse.de>
294         PR libstdc++/14991
295         * docs/html/17_intro/porting-howto.html ([3]): Mention stdio_filebuf.
296         * docs/html/17_intro/porting-howto.xml: Remove.
298         * docs/html/17_intro/porting-howto.html: Remove spurious end tags
299         pointed out by validator.w3.org.
301 2007-01-12  Paolo Carlini  <pcarlini@suse.de>
303         PR libstdc++/30416 (continued)
304         * include/std/valarray (valarray<>::shift, valarray<>::cshift):
305         Allways return the same variable, thus facilitating NRVO.
307 2007-01-12  Paolo Carlini  <pcarlini@suse.de>
309         PR libstdc++/30416
310         * include/std/valarray (valarray<>::shift, valarray<>::cshift):
311         Do not segfault when |n| > size.
312         * testsuite/26_numerics/valarray/30416.cc: New.
314 2007-01-06  Paolo Carlini  <pcarlini@suse.de>
316         PR libstdc++/30365
317         * crossconfig.m4 (case *-linux*): Run GLIBCXX_CHECK_LFS.
318         * configure: Regenerate.
320 2007-01-06  Matthias Klose  <doko@debian.org>
322         * include/tr1/random (gamma_distribution): Fix typo in formula.
323         * docs/doxygen/user.cfg.in: Use package amsmath.