]>
Commit | Line | Data |
---|---|---|
bba6afa6 BK |
1 | 2005-02-22 Benjamin Kosnik <bkoz@redhat.com> |
2 | ||
3 | * scripts/check_performance: Tweaks. | |
4 | ||
5 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name | |
6 | output file with extension that clean rules can find. | |
7 | ||
38f92567 RH |
8 | 2005-02-22 Richard Henderson <rth@redhat.com> |
9 | ||
10 | PR libstdc++/20091 | |
11 | * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case | |
12 | decrement of uncaughtExceptions for rethrow. | |
13 | ||
909a9d44 PC |
14 | 2005-02-22 Paolo Carlini <pcarlini@suse.de> |
15 | ||
16 | * include/tr1/functional: Fix License to GPL with exception. | |
17 | * include/tr1/hashtable: Likewise. | |
18 | * include/tr1/tuple: Likewise. | |
19 | * include/tr1/type_traits: Likewise. | |
20 | * include/tr1/type_traits_fwd.h: Likewise. | |
21 | * include/tr1/unordered_map: Likewise. | |
22 | * include/tr1/unordered_set: Likewise. | |
23 | * include/tr1/utility: Likewise. | |
24 | ||
44f36676 PC |
25 | 2005-02-22 Paolo Carlini <pcarlini@suse.de> |
26 | ||
27 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ | |
28 | auto_ptr_neg.cc: Add missing dg-do compile directive. | |
29 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ | |
30 | auto_ptr_rvalue_neg.cc: Likewise. | |
31 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ | |
32 | shared_ptr_neg.cc: Likewise. | |
33 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/ | |
34 | auto_ptr_neg.cc: Likewise. | |
35 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/ | |
36 | reset_neg.cc: Likewise. | |
37 | * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/ | |
38 | swap_neg.cc: Likewise. | |
39 | ||
665794a6 JW |
40 | 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org> |
41 | ||
42 | * include/Makefile.am, include/Makefile.in: Fix accidental extra | |
43 | change from previous commit. | |
44 | ||
7dfded91 JW |
45 | 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org> |
46 | ||
47 | * include/tr1/memory: New file. | |
48 | * include/Makefile.am, include/Makefile.in: Add new TR1 header. | |
49 | * testsuite/tr1/2_general_utilities/memory/ | |
50 | enable_shared_from_this/not_shared.cc: New test. | |
51 | * testsuite/tr1/2_general_utilities/memory/ | |
52 | enable_shared_from_this/not_shared2.cc: New test. | |
53 | * testsuite/tr1/2_general_utilities/memory/ | |
54 | enable_shared_from_this/not_shared3.cc: New test. | |
55 | * testsuite/tr1/2_general_utilities/memory/ | |
56 | enable_shared_from_this/shared.cc: New test. | |
57 | * testsuite/tr1/2_general_utilities/memory/ | |
58 | enable_shared_from_this/still_shared.cc: New test. | |
59 | * testsuite/tr1/2_general_utilities/memory/ | |
60 | shared_ptr/assign/assign.cc: New test. | |
61 | * testsuite/tr1/2_general_utilities/memory/ | |
62 | shared_ptr/assign/auto_ptr.cc: New test. | |
63 | * testsuite/tr1/2_general_utilities/memory/ | |
64 | shared_ptr/assign/auto_ptr_neg.cc: New test. | |
65 | * testsuite/tr1/2_general_utilities/memory/ | |
66 | shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test. | |
67 | * testsuite/tr1/2_general_utilities/memory/ | |
68 | shared_ptr/assign/shared_ptr.cc: New test. | |
69 | * testsuite/tr1/2_general_utilities/memory/ | |
70 | shared_ptr/assign/shared_ptr_neg.cc: New test. | |
71 | * testsuite/tr1/2_general_utilities/memory/ | |
72 | shared_ptr/comparison/cmp.cc: New test. | |
73 | * testsuite/tr1/2_general_utilities/memory/ | |
74 | shared_ptr/cons/auto_ptr.cc: New test. | |
75 | * testsuite/tr1/2_general_utilities/memory/ | |
76 | shared_ptr/cons/auto_ptr_neg.cc: New test. | |
77 | * testsuite/tr1/2_general_utilities/memory/ | |
78 | shared_ptr/cons/copy.cc: New test. | |
79 | * testsuite/tr1/2_general_utilities/memory/ | |
80 | shared_ptr/cons/default.cc: New test. | |
81 | * testsuite/tr1/2_general_utilities/memory/ | |
82 | shared_ptr/cons/pointer.cc: New test. | |
83 | * testsuite/tr1/2_general_utilities/memory/ | |
84 | shared_ptr/cons/weak_ptr.cc: New test. | |
85 | * testsuite/tr1/2_general_utilities/memory/ | |
86 | shared_ptr/cons/weak_ptr_expired.cc: New test. | |
87 | * testsuite/tr1/2_general_utilities/memory/ | |
88 | shared_ptr/dest/dest.cc: New test. | |
89 | * testsuite/tr1/2_general_utilities/memory/ | |
90 | shared_ptr/misc/io.cc: New test. | |
91 | * testsuite/tr1/2_general_utilities/memory/ | |
92 | shared_ptr/misc/swap.cc: New test. | |
93 | * testsuite/tr1/2_general_utilities/memory/ | |
94 | shared_ptr/modifiers/reset.cc: New test. | |
95 | * testsuite/tr1/2_general_utilities/memory/ | |
96 | shared_ptr/modifiers/reset_neg.cc: New test. | |
97 | * testsuite/tr1/2_general_utilities/memory/ | |
98 | shared_ptr/modifiers/swap.cc: New test. | |
99 | * testsuite/tr1/2_general_utilities/memory/ | |
100 | shared_ptr/modifiers/swap_neg.cc: New test. | |
101 | * testsuite/tr1/2_general_utilities/memory/ | |
102 | shared_ptr/observers/bool_conv.cc: New test. | |
103 | * testsuite/tr1/2_general_utilities/memory/ | |
104 | shared_ptr/observers/get.cc: New test. | |
105 | * testsuite/tr1/2_general_utilities/memory/ | |
106 | shared_ptr/observers/unique.cc: New test. | |
107 | * testsuite/tr1/2_general_utilities/memory/ | |
108 | shared_ptr/observers/use_count.cc: New test. | |
109 | ||
11996a3c PC |
110 | 2005-02-21 Paolo Carlini <pcarlini@suse.de> |
111 | ||
112 | * include/tr1/type_traits (is_member_function_pointer): | |
113 | Remove ugly workaround for c++/19076. | |
114 | ||
52a89626 PC |
115 | 2005-02-21 Paolo Carlini <pcarlini@suse.de> |
116 | ||
117 | * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't | |
118 | check for this == &_S_empty_rep, it's always false, here. | |
119 | ||
6bbd10c7 MA |
120 | 2005-02-19 Matt Austern <austern@gmail.com> |
121 | ||
122 | * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make | |
123 | hash<T>::operator() a const member function for T a fundamental type | |
124 | * include/tr1/hashtable (extract1st::operator()): Declare const. | |
125 | (hash_code_base): Declare all member functions const | |
126 | (hashtable::find): fix call to this->bucket_count() | |
127 | (hashtable::count): Likewise. | |
128 | (hashtable::equal_range): m_incr_bucket applies to iterator, not node. | |
129 | * testsuite/tr1/6_containers/unordered/find/set1.cc: New test. | |
130 | * testsuite/tr1/6_containers/unordered/find/map1.cc: New test. | |
131 | * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test. | |
132 | * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test. | |
133 | ||
967f056d HPN |
134 | 2005-02-19 Hans-Peter Nilsson <hp@axis.com> |
135 | ||
136 | PR libstdc++/20071 | |
137 | * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef | |
138 | _GLIBCXX_USE_WCHAR_T. | |
139 | ||
39609077 RH |
140 | 2005-02-18 Richard Henderson <rth@redhat.com> |
141 | ||
142 | PR libstdc++/10606 | |
143 | * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr. | |
144 | * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment | |
145 | uncaughtExceptions here instead of ... | |
146 | * libsupc++/eh_throw.cc (__cxa_throw) ... here. | |
147 | (__cxa_rethrow): Increment uncaughtExceptions here instead of ... | |
148 | * libsupc++/eh_catch.cc (__cxa_end_catch): ... here. | |
149 | (__cxa_get_exception_ptr): New. | |
150 | * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare. | |
151 | ||
52a7e4c6 | 152 | 2005-02-18 Matt Austern <austern@apple.com> |
39609077 | 153 | |
52a7e4c6 MA |
154 | * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix |
155 | test case to use assignment instead of == | |
156 | * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test. | |
157 | * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test. | |
158 | * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test. | |
159 | * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test. | |
160 | ||
87bd0274 EB |
161 | 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr> |
162 | ||
163 | * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency | |
164 | on Solaris 2.6 and below. | |
165 | * testsuite/thread/pthread2.cc: Likewise. | |
166 | * testsuite/thread/pthread3.cc: Likewise. | |
167 | * testsuite/thread/pthread4.cc: Likewise. | |
168 | * testsuite/thread/pthread5.cc: Likewise. | |
169 | * testsuite/thread/pthread6.cc: Likewise. | |
170 | * testsuite/thread/pthread7-rope.cc: Likewise. | |
171 | ||
180ecd6a MA |
172 | 2005-02-17 Matt Austern <austern@apple.com> |
173 | ||
174 | * include/tr1/functional (hash): New function object. | |
175 | * include/tr1/hashtable: New file. | |
176 | * include/tr1/unordered_set: New file. | |
177 | * include/tr1/unordered_map: New file. | |
178 | * include/Makefile.am: Add three new TR1 headers. | |
179 | * include/Makefile.in: Likewise. | |
180 | * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test. | |
181 | * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test. | |
182 | * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test. | |
183 | * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test. | |
184 | * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test. | |
185 | * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test. | |
186 | * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test. | |
187 | * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test. | |
188 | * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test. | |
189 | * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test. | |
190 | ||
838731b6 PC |
191 | 2005-02-16 Paolo Carlini <pcarlini@suse.de> |
192 | ||
193 | * testsuite/23_containers/set/modifiers/16728.cc: | |
194 | Remove redundant include <testsuite_performance.h>. | |
195 | ||
b949d64b PC |
196 | 2005-02-16 Paolo Carlini <pcarlini@suse.de> |
197 | ||
198 | PR libstdc++/19829 | |
199 | * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test | |
200 | at line #66 to not access str_lit01 beyond its end. | |
201 | * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise. | |
202 | ||
82ce2a94 PC |
203 | 2005-02-15 Paolo Carlini <pcarlini@suse.de> |
204 | Jon Grimm <jgrimm2@us.ibm.com> | |
205 | ||
206 | PR libstdc++/19955 | |
207 | * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()): | |
208 | Fix the logic setting _M_narrow_ok: first check whether the | |
209 | transformation is trivial with a dflt == 0, then deal with the | |
210 | special case of zero. | |
211 | * testsuite/22_locale/ctype/narrow/char/19955.cc: New. | |
212 | ||
213 | * include/bits/locale_facets.h (ctype<char>::_M_widen_init()): | |
214 | Tweak consistently to use memcmp; minor formatting fixes. | |
215 | ||
1552fa74 JJ |
216 | 2005-02-15 Jakub Jelinek <jakub@redhat.com> |
217 | ||
218 | PR libstdc++/19946 | |
219 | * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13 | |
220 | demangler change. | |
221 | * testsuite/demangle/abi_examples/02.cc (main): Likewise. | |
222 | ||
ae63a1cc RG |
223 | 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org> |
224 | Paolo Carlini <pcarlini@suse.de> | |
225 | ||
226 | PR libstdc++/11706 | |
227 | * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf] | |
228 | for integer overloads. | |
229 | ||
230 | * testsuite/26_numerics/cmath/powi.cc: New. | |
231 | ||
75d1ddc1 JJ |
232 | 2005-02-11 Janis Johnson <janis187@us.ibm.com> |
233 | ||
ecddf99e JJ |
234 | * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector. |
235 | * testsuite/26_numerics/complex/complex_value.cc: Ditto. | |
236 | * testsuite/26_numerics/complex/pow.cc: Ditto. | |
237 | ||
75d1ddc1 JJ |
238 | * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp. |
239 | * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg. | |
240 | * testsuite/26_numerics/complex/complex_value.cc: Ditto. | |
241 | * testsuite/26_numerics/complex/pow.cc: Ditto. | |
242 | ||
b77647df MS |
243 | 2005-02-09 Mike Stump <mrs@apple.com> |
244 | ||
245 | * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED. | |
246 | ||
1bc83fd3 JJ |
247 | 2005-02-09 Janis Johnson <janis187@us.ibm.com> |
248 | ||
249 | * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*. | |
250 | ||
f537f2f7 MM |
251 | 2005-02-08 Mark Mitchell <mark@codesourcery.com> |
252 | ||
253 | * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*. | |
254 | ||
a47add83 LR |
255 | 2005-02-07 Loren J. Rittle <ljrittle@acm.org> |
256 | ||
257 | * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static. | |
258 | * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and | |
259 | src static. | |
260 | ||
8a532804 BS |
261 | 2005-02-02 Brad Spencer <spencer@infointeractive.com> |
262 | ||
263 | * debug.html: Fix broken tags. | |
264 | * documentation.html: Same. | |
265 | ||
c85b032a AJ |
266 | 2005-02-02 Andreas Jaeger <aj@suse.de> |
267 | ||
268 | * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch | |
269 | from 2005-01-28. | |
270 | * testsuite/Makefile.am: Likewise. | |
271 | * testsuite/Makefile.in: Likewise. | |
272 | ||
4d73fac9 PC |
273 | 2005-02-01 Paolo Carlini <pcarlini@suse.de> |
274 | ||
275 | * include/bits/cpp_type_traits.h: Rename _M_type fields to | |
276 | __value, except for __enable_if, _M_type -> __type, consistently | |
277 | with the other traits. | |
278 | * include/bits/stl_algobase.h: Tweak consistently. | |
279 | * include/bits/stl_tree.h: Likewise. | |
280 | * include/bits/valarray_array.h: Likewise. | |
281 | * include/c_std/std_cmath.h: Likewise. | |
282 | * include/debug/safe_iterator.h: Likewise. | |
283 | * include/std/std_complex.h: Likewise. | |
284 | ||
ddf2a54a BS |
285 | 2005-01-31 Brad Spencer <spencer@infointeractive.com> |
286 | ||
287 | * crossconfig.m4: Repair Solaris cross bits for strtold and strtof. | |
288 | * configure: Regenerated. | |
289 | ||
93678513 MM |
290 | 2005-01-31 Mark Mitchell <mark@codesourcery.com> |
291 | ||
292 | * include/std/std_limits.h (numeric_limits<float>::has_denorm): | |
293 | Add required cast. | |
294 | (numeric_limits<double>::has_denorm): Likewise. | |
295 | (numeric_limits<long double>::has_denorm): Likewise. | |
296 | ||
c0736a9d PC |
297 | 2005-01-31 Paolo Carlini <pcarlini@suse.de> |
298 | Gabriel Dos Reis <gdr@integrable-solutions.net> | |
299 | ||
300 | * include/bits/cpp_type_traits.h: Add types to the structs thus | |
301 | making type_traits.h redundant; exploit new __truth_type and | |
302 | __traitor helpers. | |
303 | * include/bits/type_traits.h: Remove. | |
304 | * include/Makefile.am: Update. | |
305 | * include/Makefile.in: Regenerate. | |
306 | * include/backward/tempbuf.h: Include cpp_type_traits.h instead. | |
307 | * include/bits/basic_string.h (replace(iterator, iterator, | |
308 | _InputIterator, _InputIterator), _S_construct(_InIterator, | |
309 | _InIterator, const _Alloc&)): Use __is_integer instead. | |
310 | * include/bits/stl_bvector.h (vector(_InputIterator, | |
311 | _InputIterator, const allocator_type&), assign(_InputIterator, | |
312 | _InputIterator), insert(iterator, _InputIterator, _InputIterator)): | |
313 | Likewise. | |
314 | * include/bits/stl_construct.h (_Destroy(_ForwardIterator, | |
315 | _ForwardIterator)): Use __is_scalar. | |
316 | * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator, | |
317 | const allocator_type&), assign(_InputIterator, _InputIterator), | |
318 | insert(iterator, _InputIterator, _InputIterator)): Use __is_integer. | |
319 | * include/bits/stl_list.h (assign(_InputIterator, _InputIterator), | |
320 | insert(iterator, _InputIterator, _InputIterator)): Likewise. | |
321 | * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator, | |
322 | _ForwardIterator)): Use __is_scalar. | |
323 | * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator, | |
324 | _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator, | |
325 | _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator, | |
326 | _Size, const _Tp&)): Likewise. | |
327 | * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator, | |
328 | const allocator_type&), assign(_InputIterator, _InputIterator), | |
329 | insert(iterator, _InputIterator, _InputIterator)): Use __is_integer. | |
330 | * include/debug/debug.h (__valid_range(const _InputIterator&, | |
331 | const _InputIterator&)): Use __is_integer. | |
332 | * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise. | |
333 | * include/std/std_string.h: Include cpp_type_traits.h instead. | |
334 | ||
d2f64e95 PC |
335 | 2005-01-30 Paolo Carlini <pcarlini@suse.de> |
336 | ||
337 | PR libstdc++/19642 | |
338 | * config/locale/generic/c_locale.h (__convert_from_v): Switch only | |
339 | LC_NUMERIC, and only when actually != "C". | |
340 | ||
7536f1ed PC |
341 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
342 | ||
343 | * include/tr1/type_traits (is_function): Minor consistency tweaks. | |
344 | ||
7d665006 GK |
345 | 2005-01-28 Geoffrey Keating <geoffk@apple.com> |
346 | ||
347 | * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path | |
348 | for the compiler. Don't set cxxflags. | |
349 | (v3_target_compile): Search for libv3test.a relative to $objdir. | |
350 | (lsearch_all_inline): New. | |
351 | (lsearch_all_inline_not): New. | |
352 | (v3-list-tests): Rewrite to not need generated files. | |
353 | * testsuite/Makefile.am (IGNORE_WCHAR_T): New. | |
354 | (IGNORE_THREAD): New. | |
355 | (TESTS_TO_IGNORE): New. | |
356 | (site.exp): Set tests_to_ignore, cxxflags. | |
357 | * aclocal.m4: Regenerate. | |
358 | * Makefile.in: Regenerate. | |
359 | * libmath/Makefile.in: Likewise. | |
360 | * libsupc++/Makefile.in: Likewise. | |
361 | * po/Makefile.in: Likewise. | |
362 | * src/Makefile.in: Likewise. | |
363 | * testsuite/Makefile.in: Likewise. | |
364 | ||
91e390fe PC |
365 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
366 | ||
367 | * include/tr1/type_traits: Implement is_empty. | |
368 | * testsuite/tr1/4_metaprogramming/type_properties/is_empty/ | |
369 | is_empty.cc: New. | |
370 | * testsuite/tr1/4_metaprogramming/type_properties/is_empty/ | |
371 | typedefs.cc: Likewise. | |
372 | ||
373 | * include/tr1/type_traits (__is_abstract_helper): Simplify a bit. | |
374 | ||
f8023b78 PC |
375 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
376 | ||
377 | * include/tr1/type_traits: Implement is_abstract, by exploiting the | |
378 | resolution of DR core/337. | |
379 | * testsuite/testsuite_tr1.h: Add AbstractClass. | |
380 | * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/ | |
381 | is_abstract.cc: New. | |
382 | * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/ | |
383 | typedefs.cc: Likewise. | |
384 | ||
385 | * include/tr1/type_traits (is_function): Rewrite, use the conversion | |
386 | F& -> F* instead, thus avoiding problems with abstract classes. | |
387 | * testsuite/tr1/4_metaprogramming/primary_type_categories/ | |
388 | is_function/is_function.cc: Add a test for tricky AbstractClass. | |
389 | ||
b929615a PC |
390 | 2005-01-26 Paolo Carlini <pcarlini@suse.de> |
391 | ||
392 | * include/ext/mt_allocator.h | |
393 | (struct __per_type_pool_policy<,, false>::_S_get_pool, | |
394 | struct __per_type_pool_policy<,, true>::_S_get_pool): Scale | |
395 | _M_chunk_size too with sizeof(_Tp), otherwise the allocator | |
396 | breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128; | |
397 | reduce to 64 the multiplier for _M_max_bytes (safer wrt | |
398 | _Binmap_type being a short); trivial reformattings. | |
399 | * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New. | |
400 | ||
02a65d23 PC |
401 | 2005-01-26 Paolo Carlini <pcarlini@suse.de> |
402 | ||
403 | * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex | |
404 | to the final test for enable_c99, thus robustifying it; remove | |
405 | duplicate final test on ac_99_math. | |
406 | * configure: Regenerate. | |
407 | ||
408 | * include/std/std_complex.h: Remove usages of the dead | |
409 | _GLIBCXX_BUGGY_COMPLEX macro. | |
410 | ||
411 | * testsuite/26_numerics/cmath/19322.cc: Protect with | |
412 | _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99, | |
413 | since only C99 math facilities are involved. | |
414 | * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: | |
415 | Likewise. | |
416 | ||
a7f7b334 LR |
417 | 2005-01-25 Loren J. Rittle <ljrittle@acm.org> |
418 | ||
419 | * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin | |
420 | instead of generic. Change autoconf report to "darwin or freebsd". | |
421 | * configure: Regenerate. | |
422 | * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add. | |
423 | (ctype<wchar_t>::do_scan_is): Likewise. | |
424 | (ctype<wchar_t>::do_scan_not): Likewise. | |
425 | ||
52e6723c BK |
426 | 2005-01-25 Benjamin Kosnik <bkoz@redhat.com> |
427 | ||
428 | * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math | |
429 | functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist. | |
430 | * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH. | |
431 | * config.h.in: Regenerate. | |
432 | * configure: Regenerate. | |
433 | * include/std/std_complex.h: Protect complex builtins with | |
434 | _GLIBCXX_USE_C99_COMPLEX_MATH. | |
435 | ||
e930780c PC |
436 | 2005-01-24 Paolo Carlini <pcarlini@suse.de> |
437 | ||
438 | * include/tr1/type_traits: Implement is_signed and is_unsigned. | |
439 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
440 | is_signed/is_signed.cc: New. | |
441 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
442 | is_signed/typedefs.cc: Likewise. | |
443 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
444 | is_unsigned/is_unsigned.cc: Likewise. | |
445 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
446 | is_unsigned/typedefs.cc: Likewise. | |
447 | ||
b142e278 PC |
448 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
449 | ||
450 | * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34. | |
451 | ||
ba4b172f PC |
452 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
453 | ||
454 | * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New. | |
455 | * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise. | |
456 | * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise. | |
457 | * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise. | |
458 | * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise. | |
459 | * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise. | |
460 | * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise. | |
461 | * testsuite/27_io/basic_ostream/flush/wchar_t/ | |
462 | exceptions_badbit_throw.cc: Likewise. | |
463 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
464 | wchar_t/2.cc: Likewise. | |
465 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
466 | wchar_t/3.cc: Likewise. | |
467 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
468 | wchar_t/4.cc: Likewise. | |
469 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
470 | wchar_t/4402.cc: Likewise. | |
471 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
472 | wchar_t/5.cc: Likewise. | |
473 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
474 | wchar_t/6.cc: Likewise. | |
475 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
476 | wchar_t/9555-oa.cc: Likewise. | |
477 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
478 | wchar_t/exceptions_badbit_throw.cc: Likewise. | |
479 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
480 | wchar_t/exceptions_failbit_throw.cc: Likewise. | |
481 | * testsuite/27_io/basic_ostream/inserters_character/ | |
482 | wchar_t/1.cc: Likewise. | |
483 | * testsuite/27_io/basic_ostream/inserters_character/ | |
484 | wchar_t/2.cc: Likewise. | |
485 | * testsuite/27_io/basic_ostream/inserters_character/ | |
486 | wchar_t/3.cc: Likewise. | |
487 | * testsuite/27_io/basic_ostream/inserters_character/ | |
488 | wchar_t/4.cc: Likewise. | |
489 | * testsuite/27_io/basic_ostream/inserters_character/ | |
490 | wchar_t/5.cc: Likewise. | |
491 | * testsuite/27_io/basic_ostream/inserters_character/ | |
492 | wchar_t/6.cc: Likewise. | |
493 | * testsuite/27_io/basic_ostream/inserters_character/ | |
494 | wchar_t/9555-oc.cc: Likewise. | |
495 | * testsuite/27_io/basic_ostream/inserters_other/ | |
496 | wchar_t/1.cc: Likewise. | |
497 | * testsuite/27_io/basic_ostream/inserters_other/ | |
498 | wchar_t/2.cc: Likewise. | |
499 | * testsuite/27_io/basic_ostream/inserters_other/ | |
500 | wchar_t/3.cc: Likewise. | |
501 | * testsuite/27_io/basic_ostream/inserters_other/ | |
502 | wchar_t/4.cc: Likewise. | |
503 | * testsuite/27_io/basic_ostream/inserters_other/ | |
504 | wchar_t/5.cc: Likewise. | |
505 | * testsuite/27_io/basic_ostream/inserters_other/ | |
506 | wchar_t/9318-out.cc: Likewise. | |
507 | * testsuite/27_io/basic_ostream/inserters_other/ | |
508 | wchar_t/9424-out.cc: Likewise. | |
509 | * testsuite/27_io/basic_ostream/inserters_other/ | |
510 | wchar_t/9555-oo.cc: Likewise. | |
511 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
512 | error_failbit.cc: Likewise. | |
513 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
514 | exceptions_badbit_throw.cc: Likewise. | |
515 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
516 | exceptions_failbit_throw.cc: Likewise. | |
517 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
518 | exceptions_null.cc: Likewise. | |
519 | * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. | |
520 | * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise. | |
521 | * testsuite/27_io/basic_ostream/seekp/char/ | |
522 | exceptions_badbit_throw.cc: Likewise. | |
523 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
524 | 2346-fstream.cc: Likewise. | |
525 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
526 | 2346-sstream.cc: Likewise. | |
527 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
528 | exceptions_badbit_throw.cc: Likewise. | |
529 | * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise. | |
530 | * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise. | |
531 | * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise. | |
532 | * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise. | |
533 | * testsuite/27_io/basic_ostream/tellp/wchar_t/ | |
534 | exceptions_badbit_throw.cc: Likewise. | |
535 | * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise. | |
536 | ||
537 | * testsuite/data/wostream_inserter_char-1.tst: Likewise. | |
538 | * testsuite/data/wostream_inserter_char-1.txt: Likewise. | |
539 | * testsuite/data/wostream_inserter_other-1.tst: Likewise. | |
540 | * testsuite/data/wostream_inserter_other-2.tst: Likewise. | |
541 | * testsuite/data/wostream_seeks-1.tst: Likewise. | |
542 | ||
543 | * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks. | |
544 | * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise. | |
545 | * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. | |
546 | * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. | |
547 | * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise. | |
548 | * testsuite/27_io/basic_ostream/flush/char/ | |
549 | exceptions_badbit_throw.cc: Likewise. | |
550 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
551 | char/2.cc: Likewise. | |
552 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
553 | char/3.cc: Likewise. | |
554 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
555 | char/4.cc: Likewise. | |
556 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
557 | char/4402.cc: Likewise. | |
558 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
559 | char/5.cc: Likewise. | |
560 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
561 | char/6.cc: Likewise. | |
562 | * testsuite/27_io/basic_ostream/inserters_character/ | |
563 | char/4.cc: Likewise. | |
564 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
565 | 2.cc: Likewise. | |
566 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
567 | 5.cc: Likewise. | |
568 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
569 | error_failbit.cc: Likewise. | |
570 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
571 | exceptions_badbit_throw.cc: Likewise. | |
572 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
573 | exceptions_failbit_throw.cc: Likewise. | |
574 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
575 | exceptions_null.cc: Likewise. | |
576 | * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. | |
577 | * testsuite/27_io/basic_ostream/seekp/char/ | |
578 | exceptions_badbit_throw.cc: Likewise. | |
579 | * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise. | |
580 | * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise. | |
581 | ||
96144e13 PC |
582 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
583 | ||
584 | * include/tr1/type_traits (aligned_storage): Use __aligned__ instead | |
585 | of aligned. | |
586 | ||
0554d39a PC |
587 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
588 | Andreas Jaeger <aj@suse.de> | |
589 | ||
590 | PR libstdc++/19343 | |
591 | * include/bits/functexcept.h: Mark the helpers as 'noreturn'. | |
592 | ||
7e4d34fd LR |
593 | 2005-01-21 Loren J. Rittle <ljrittle@acm.org> |
594 | ||
595 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow | |
596 | lseek on fifo to succeed. Thus, check for consistent report. | |
597 | ||
a7a44441 VR |
598 | 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
599 | ||
600 | PR libstdc++/19510 | |
601 | * include/bits/stl_list.h (_List_iterator): Initialize _M_node | |
602 | in constructor. | |
603 | (_List_const_iterator): Likewise. | |
604 | * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise. | |
605 | (_Rb_tree_const_iterator): Likewise. | |
606 | ||
607 | * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers. | |
608 | * testsuite/23_containers/set/operators/1_neg.cc: Likewise. | |
609 | ||
45d5f9af BK |
610 | 2005-01-20 Benjamin Kosnik <bkoz@redhat.com> |
611 | ||
612 | * testsuite/Makefile.am (check-compile): New. | |
613 | * testsuite/Makefile.in: Regenerate. | |
614 | * scripts/check_compile_time: New. | |
615 | * scripts/check_performance: Tweaks. | |
616 | ||
9634af02 PC |
617 | 2005-01-19 Paolo Carlini <pcarlini@suse.de> |
618 | ||
619 | PR libstdc++/19535 | |
620 | * include/tr1/utility (struct __pair_get<1>::__get, __const_get): | |
621 | Fix typo in the return type. | |
622 | * testsuite/tr1/6_containers/utility/19535.cc: New. | |
623 | ||
75aa3f65 LR |
624 | 2005-01-19 Loren J. Rittle <ljrittle@acm.org> |
625 | ||
626 | * include/ext/array_allocator.h (array_allocator<>::allocate): | |
627 | Avoid __used. Use __array_used instead. | |
5116ad96 | 628 | * docs/html/17_intro/BADNAMES: Add list for FreeBSD. |
75aa3f65 | 629 | |
1906b8dc DE |
630 | 2005-01-18 David Edelsohn <edelsohn@gnu.org> |
631 | ||
632 | * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete. | |
633 | (_XOPEN_SOURCE_EXTENDED): Delete. | |
634 | ||
f474835b BK |
635 | 2005-01-18 Benjamin Kosnik <bkoz@redhat.com> |
636 | ||
637 | * testsuite/testsuite_performance.h (time_counter::start): | |
638 | Clear. Tweaks. | |
639 | (clear_counters): Inline. | |
640 | (start_counters): Inline. | |
641 | (stop_counters): Inline. | |
642 | * testsuite/performance/20_util/allocator/map_thread.cc: Return. | |
643 | * testsuite/performance/20_util/allocator/insert.cc: Remove bogus | |
644 | return, add return. | |
645 | * testsuite/performance/20_util/allocator/map_thread.cc: Same. | |
646 | ||
ac317859 PC |
647 | 2005-01-17 Paolo Carlini <pcarlini@suse.de> |
648 | ||
649 | PR libstdc++/19433 | |
650 | * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator, | |
651 | const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)): | |
652 | Obtain amortized constant complexity if t is inserted right after | |
653 | p - not before p - as per Table 69. | |
654 | * testsuite/performance/23_containers/set_insert_from_sorted.cc: New. | |
655 | ||
656 | * testsuite/23_containers/multiset/insert/2.cc: New. | |
657 | * testsuite/23_containers/set/insert/1.cc: Likewise. | |
658 | ||
659 | * testsuite/performance/23_containers/set_create_from_sorted.cc: | |
660 | Simplify. | |
661 | ||
662 | * include/bits/stl_tree.h: Add a few missing std:: qualifications. | |
663 | ||
412dc870 JW |
664 | 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org> |
665 | ||
666 | * include/ext/rope: Qualify calls to std::copy() by sequence_buffer. | |
667 | * testsuite/ext/rope/4.cc: Add. | |
668 | ||
3a2794ab LM |
669 | 2005-01-16 Lorenz Minder <lminder@gmx.net> |
670 | Paolo Carlini <pcarlini@suse.de> | |
671 | ||
672 | PR libstdc++/19322 | |
673 | * include/c_std/std_cmath.h: Define the C99 classification facilities | |
674 | directly inside namespace std:. | |
675 | * testsuite/26_numerics/cmath/19322.cc: New. | |
676 | ||
57307e31 DE |
677 | 2005-01-15 David Edelsohn <edelsohn@gnu.org> |
678 | ||
679 | * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete. | |
680 | ||
21c332dc PC |
681 | 2005-01-14 Paolo Carlini <pcarlini@suse.de> |
682 | ||
683 | PR libstdc++/19422 | |
684 | * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II), | |
685 | _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique, | |
686 | respectively) with hint (end()). | |
687 | * testsuite/performance/23_containers/set_create_from_sorted.cc: New. | |
688 | ||
ae59b55c GK |
689 | 2005-01-13 Geoffrey Keating <geoffk@apple.com> |
690 | ||
691 | * configure.host (darwin): On darwin8 or later, no need to build | |
692 | libstdc++ with -flat_namespace. | |
693 | ||
516cb88a JW |
694 | 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org> |
695 | ||
696 | * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES. | |
697 | ||
f5d8395b PC |
698 | 2005-01-13 Paolo Carlini <pcarlini@suse.de> |
699 | ||
700 | * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: | |
701 | Re-enable commented-out test for double type. | |
702 | ||
78593d78 PC |
703 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
704 | Benjamin Kosnik <bkoz@redhat.com> | |
705 | ||
706 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
707 | basic_istream<char>::ignore(streamsize, int_type), | |
708 | basic_istream<wchar_t>::ignore(streamsize), | |
709 | basic_istream<wchar_t>::ignore(streamsize, int_type)): In case | |
710 | more than numeric_limits<streamsize>::max() chars are skipped, | |
711 | set _M_gcount = max(). | |
712 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
713 | int_type)): Likewise; keep simple, don't forward. | |
714 | ||
a141a5af PC |
715 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
716 | ||
717 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
718 | basic_istream<char>::ignore(streamsize, int_type), | |
719 | basic_istream<wchar_t>::ignore(streamsize), | |
720 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert | |
721 | 2005-01-05 change: actually, the previous behavior is conforming | |
722 | and consistent with that of get(char_type*, streamsize, char_type), | |
723 | albeit slightly different from that of 3.3/3.4 in a corner case | |
724 | due to the use of snextc. | |
725 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
726 | int_type)): Likewise. | |
727 | * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove. | |
728 | * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. | |
729 | ||
464b277b PC |
730 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
731 | ||
732 | * include/tr1/type_traits: Implement alignment_of and aligned_storage. | |
733 | * testsuite/tr1/4_metaprogramming/other_transformations/ | |
734 | aligned_storage/aligned_storage.cc: New. | |
735 | * testsuite/tr1/4_metaprogramming/other_transformations/ | |
736 | aligned_storage/typedefs.cc: Likewise. | |
737 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
738 | alignment_of/alignment_of.cc: Likewise. | |
739 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
740 | alignment_of/typedefs.cc: Likewise. | |
741 | ||
3e636396 PC |
742 | 2005-01-10 Paolo Carlini <pcarlini@suse.de> |
743 | ||
744 | * Makefile.in: Regenerate. | |
745 | * libmath/Makefile.in: Likewise. | |
746 | * libsupc++/Makefile.in: Likewise. | |
747 | * po/Makefile.in: Likewise. | |
748 | * src/Makefile.in: Likewise. | |
749 | * testsuite/Makefile.in: Likewise. | |
750 | ||
751 | 2005-01-10 Paolo Carlini <pcarlini@suse.de> | |
752 | ||
753 | * include/bits/stl_algobase.h (lexicographical_compare): | |
754 | Fix concept check. | |
755 | ||
825bd0e1 BK |
756 | 2005-01-07 Benjamin Kosnik <bkoz@redhat.com> |
757 | ||
758 | * acinclude.m4: Remove CCODECVT_H. | |
759 | * configure: Regenerate. | |
760 | * include/Makefile.am (host_headers_extra): Move to... | |
761 | (ext_headers): ...here. | |
762 | * include/Makefile.in: Regenerate. | |
763 | * include/ext/enc_filebuf: Remove enc_filebuf, consolidate | |
764 | enc_traits to... | |
765 | * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move... | |
766 | * include/ext/codecvt_specializations.h: ...here. Remove | |
767 | _GLIBCXX_USE___ENC_TRAITS. | |
768 | (__enc_traits): To __encoding_state, put in __gnu_cxx namespace. | |
769 | (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx | |
770 | namespace. | |
771 | * config/locale/generic/codecvt_specializations.h: Remove. | |
772 | * include/bits/codecvt.h: Remove codecvt_specializations.h include. | |
773 | * src/codecvt.cc: Remove __enc_traits::_S_max_size. | |
774 | ||
a8e3a00f BK |
775 | 2005-01-06 Benjamin Kosnik <bkoz@redhat.com> |
776 | ||
777 | * include/bits/fstream.tcc: Remove unnecessary qualifications for | |
778 | uglified data members of basic_filebuf, including _M_buf, | |
779 | _M_buf_size, _M_mode, _M_pback_init. | |
780 | * include/std/std_fstream.h: Same. | |
781 | ||
56ffd9b3 BK |
782 | 2005-01-05 Benjamin Kosnik <bkoz@redhat.com> |
783 | ||
784 | * testsuite/testsuite_hooks.h: | |
785 | (copy_constructor::mark_call): Use __throw_runtime_error. | |
786 | (assignment_operator::mark_call): Same. | |
787 | * testsuite/testsuite_hooks.cc (verify_demangle): Same. | |
788 | (locale_data): Remove, just use runtime_error directly. | |
789 | (environment_variable): Same. | |
790 | (not_found): Same. | |
791 | (run_tests_wrapped_locale): Use __throw_runtime_error. | |
792 | (run_tests_wrapped_env): Same. | |
793 | (semaphore::semaphore): Same. | |
794 | (semaphore::signal): Same. | |
795 | (semaphore::wait): Same. | |
796 | * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error. | |
797 | * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error. | |
798 | (create_symbols): Use __throw_runtime_error. | |
799 | * src/bitmap_allocator.cc: Use __throw_bad_alloc. | |
800 | ||
5cfa4794 MM |
801 | 2005-01-05 Mark Mitchell <mark@codesourcery.com> |
802 | ||
803 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child | |
804 | process. | |
805 | ||
1e156882 PC |
806 | 2005-01-05 Paolo Carlini <pcarlini@suse.de> |
807 | ||
808 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
809 | basic_istream<char>::ignore(streamsize, int_type), | |
810 | basic_istream<wchar_t>::ignore(streamsize), | |
811 | basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end, | |
812 | first check _M_gcount vs __n. | |
813 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
814 | int_type)): Likewise. | |
815 | * testsuite/27_io/basic_istream/ignore/char/4.cc: New. | |
816 | * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. | |
817 | ||
8f1032c1 MM |
818 | 2005-01-03 Mark Mitchell <mark@codesourcery.com> |
819 | ||
35a91d76 MM |
820 | * testsuite/testsuite_hooks.cc: Use __throw_exception_again |
821 | instead of just throw. | |
822 | ||
8ca82e09 MM |
823 | * testsuite/testsuite_hooks.cc: Update coypright and follow style |
824 | guidelines. | |
825 | * testsuite/testsuite_hooks.h: Likewise. | |
826 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use | |
827 | semaphores, not sleep. | |
828 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. | |
829 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. | |
830 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. | |
831 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: | |
832 | Likewise. | |
833 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. | |
834 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. | |
835 | * testsuite/27_io/objects/char/7.cc: Likewise. | |
836 | * testsuite/27_io/objects/char/9661-1.cc: Likewise. | |
837 | * testsuite/27_io/objects/wchar_t/7.cc: Likewise. | |
838 | * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. | |
839 | ||
8f1032c1 MM |
840 | * configure.ac: Check for sys/ipc.h and sys/sem.h. |
841 | * config.h.in: Regenerated. | |
842 | * configure: Likewise. | |
843 | * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally | |
844 | define. | |
845 | (sys/types.h): Include. | |
846 | (sys/ipc.h): Likewise. | |
847 | (sys/sem.h): Likewise. | |
848 | (__gnu_test::semun): New type. | |
849 | (__gnu_test::semaphore::sempaphore): New function. | |
850 | (__gnu_test::semaphore::~semaphore): Likewise. | |
851 | (__gnu_test::semaphore::wait): Likewise. | |
852 | (__gnu_test::semaphore::signal): Likewise. | |
853 | * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class. | |
fd99e134 | 854 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use |
8f1032c1 MM |
855 | semaphores, not sleep. |
856 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. | |
857 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. | |
858 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. | |
859 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: | |
860 | Likewise. | |
861 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. | |
862 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. | |
863 | * testsuite/27_io/objects/char/7.cc: Likewise. | |
864 | * testsuite/27_io/objects/char/9661-1.cc: Likewise. | |
865 | * testsuite/27_io/objects/wchar_t/7.cc: Likewise. | |
fd99e134 | 866 | * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. |
8f1032c1 | 867 | |
ab4af6a5 PC |
868 | 2005-01-03 Paolo Carlini <pcarlini@suse.de> |
869 | ||
870 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
871 | int_type)): Reset _M_gcount to numeric_limits<streamsize>::min(). | |
872 | * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type), | |
873 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise. | |
874 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
875 | basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo. | |
876 | ||
bea53dbf PC |
877 | 2005-01-02 Paolo Carlini <pcarlini@suse.de> |
878 | ||
879 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
880 | basic_istream<char>::ignore(streamsize, int_type), | |
881 | basic_istream<wchar_t>::ignore(streamsize), | |
882 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid | |
883 | _M_gcount overflows. | |
884 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
885 | int_type)): Likewise; use snextc in the main loop, consistently | |
886 | with the specializations above. | |
887 | ||
ab06dedc CJ |
888 | 2005-01-02 Chris Jefferson <chris@bubblescope.net> |
889 | ||
890 | * include/bits/stl_algobase.h (mismatch): Correct concept check. | |
891 | ||
d13cebde PC |
892 | 2005-01-01 Paolo Carlini <pcarlini@suse.de> |
893 | ||
894 | * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include | |
895 | testsuite_hooks.h, to know whether including ext/enc_filebuf.h. | |
896 | * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise. | |
897 | ||
d3f128e9 | 898 | 2005-01-01 Paolo Carlini <pcarlini@suse.de> |
bdaa4452 | 899 | |
d3f128e9 PC |
900 | * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix, |
901 | null-terminate array1 at the outset. | |
902 | * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: | |
17fa5560 | 903 | Likewise. |