1 2006-01-15 Paolo Carlini <pcarlini@suse.de>
3 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
4 Fix norm test, use casts everywhere.
6 2006-01-14 Paolo Carlini <pcarlini@suse.de>
8 * testsuite/testsuite_tr1.h: Add missing include; use std::__are_same.
10 2006-01-14 Paolo Carlini <pcarlini@suse.de>
12 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc:
13 Fix wrong test (don't pick by mistake the (const complex<>&, int)
16 2006-01-13 Paolo Carlini <pcarlini@suse.de>
17 Howard Hinnant <hhinnant@apple.com>
19 * include/tr1/complex (arg, conj, imag, norm, polar, pow, real):
20 Add, implementing TR1, 8.1.9.
22 * include/tr1/common.h: New, provides __promote, __promote_2.
23 * include/Makefile.am: Add.
24 * include/Makefile.in: Regenerate.
25 * testsuite/testsuite_tr1.h (check_ret_type): New.
26 * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: New.
27 * testsuite/tr1/8_c_compatibility/complex/overloads_float.cc: New.
29 2006-01-12 Benjamin Kosnik <bkoz@redhat.com>
31 * acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Enable
32 --gc-sections in more cases.
33 * configure: Regenerate.
34 * scripts/testsuite_flags.in: Remove SECTION_LDFLAGS.
35 * scripts/testsuite_flags.in (cxxldflags): New.
36 * testsuite/lib/libstdc++.exp (v3_target_compile): Add cxxldflags.
37 (libstdc++_init ): Same.
39 2006-01-12 Jan Beulich <jbeulich@novell.com>
41 * crossconfig.m4: Add AC_DEFINE-s for HAVE_HYPOT, HAVE_ISINF, and
42 HAVE_ISNAN for *-*-netware*.
45 2006-01-11 Benjamin Kosnik <bkoz@redhat.com>
47 * acinclude.m4(GLIBCXX_CHECK_LINKER_FEATURES): Use -Wl,-z,relro if
49 * configure: Regenerate.
51 2006-01-10 Paolo Carlini <pcarlini@suse.de>
53 * include/tr1/complex: New file, hosts the additions to header
54 <complex> described in TR1, Chapter 8 [tr.c99].
55 * include/Makefile.am: Add.
56 * include/Makefile.in: Regenerate.
57 * testsuite/tr1/8_c_compatibility/complex/functions.cc: New.
59 2006-01-09 Paolo Carlini <pcarlini@suse.de>
62 * testsuite/23_containers/deque/cons/assign/1.cc: Divide
65 2006-01-08 Paolo Carlini <pcarlini@suse.de>
67 PR libstdc++/22102 (insert as close to hint as possible)
68 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert_lower,
69 _M_insert_equal_lower): New.
70 (_M_insert_equal(iterator, const _Val&),
71 _M_insert_equal(const_iterator, const _Val&)): Use the above.
72 * docs/html/ext/howto.html: Add an entry for DR 233.
73 * testsuite/23_containers/multiset/modifiers/insert/22102.cc: New.
74 * testsuite/23_containers/multimap/modifiers/insert/22102.cc: New.
76 * testsuite/23_containers/set/insert/: Move...
77 * testsuite/23_containers/set/modifiers/insert/: ...here.
78 * testsuite/23_containers/map/insert/: Move...
79 * testsuite/23_containers/map/modifiers/insert/: ...here.
80 * testsuite/23_containers/multiset/insert/: Move...
81 * testsuite/23_containers/multiset/modifiers/insert/: ...here.
83 2006-01-06 Paolo Carlini <pcarlini@suse.de>
85 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique): Rename
87 (_Rb_tree<>::insert_equal): Rename to _M_insert_equal.
88 * include/bits/stl_map.h (class map<>): Update callers.
89 * include/bits/stl_set.h (class set<>): Likewise.
90 * include/bits/stl_multimap.h (class multimap<>): Likewise.
91 * include/bits/stl_multiset.h (class multiset<>): Likewise.
93 2006-01-06 Paolo Carlini <pcarlini@suse.de>
95 * include/bits/stl_bvector.h (vector<bool>::erase(iterator,
96 iterator)): Just use _M_erase_at_end.
98 2006-01-06 Paolo Carlini <pcarlini@suse.de>
100 * include/bits/stl_bvector.h (class vector<bool>): Move all the
101 helpers under protected access mode, consistently with the primary
103 (vector<bool>::_M_erase_at_end): Add.
104 (erase(iterator, iterator), clear, resize, _M_fill_assign,
105 _M_assign_aux): Use it.
106 * testsuite/23_containers/vector/bool/modifiers/erase/1.cc: New.
108 2006-01-06 Paolo Carlini <pcarlini@suse.de>
110 Implement Option 3 of DR 431 for vector<bool>.
111 * include/bits/stl_bvector.h (class _Bvector_base): Change to
112 a struct, consistently with the primary vector template.
113 (class vector<bool>): Adjust to protected inheritance, tidy
115 (_Bvector_base<>::_M_get_Bit_allocator): Add.
116 (vector<bool>::vector(const vector&)): Use it.
117 (_Bvector_base<>::get_allocator): Tidy.
118 (vector<bool>::swap): Use __alloc_swap.
119 * testsuite/23_containers/vector/bool/modifiers/swap/1.cc: New.
120 * testsuite/23_containers/vector/bool/modifiers/swap/2.cc: New.
122 2006-01-05 Paolo Carlini <pcarlini@suse.de>
124 * testsuite/testsuite_hooks.h (test_tm(unsigned)): Change to
125 take all the tm members.
126 * testsuite/testsuite_hooks.cc (test_tm): Adjust.
127 * testsuite/22_locale/time_put/put/wchar_t/10.cc: Update.
128 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
129 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
130 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
131 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
132 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
133 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
134 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
135 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
136 * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
137 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
138 * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
139 * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
140 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
141 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
142 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
143 * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
144 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
145 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
146 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
147 * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
148 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
149 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
150 * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
151 * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
152 * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
153 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
154 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
155 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
156 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
157 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
158 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
159 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
160 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
161 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
162 * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
163 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
164 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
165 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
166 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
167 * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
168 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
169 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
170 * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
171 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
172 * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
173 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
174 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
175 * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
176 * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
177 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
178 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
179 * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
180 * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
182 2006-01-05 Paolo Carlini <pcarlini@suse.de>
184 * testsuite/testsuite_hooks.h (test_tm(unsigned)): New.
185 * testsuite/testsuite_hooks.cc (test_tm(unsigned)): Define.
186 * testsuite/22_locale/time_put/put/wchar_t/10.cc: Use it.
187 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
188 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
189 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
190 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
191 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
192 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
193 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
194 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
195 * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
196 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
197 * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
198 * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
199 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
200 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
201 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
202 * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
203 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
204 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
205 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
206 * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
207 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
208 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
209 * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
210 * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
211 * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
212 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
213 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
214 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
215 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
216 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
217 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
218 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
219 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
220 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
221 * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
222 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
223 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
224 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
225 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
226 * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
227 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
228 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
229 * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
230 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
231 * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
232 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
233 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
234 * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
235 * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
236 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
237 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
238 * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
239 * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
241 2006-01-04 Paolo Carlini <pcarlini@suse.de>
243 * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
244 Use _CharT_alloc_type as base class.
245 (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
246 * include/ext/vstring.h (get_allocator): Tidy.
248 2006-01-04 Paolo Carlini <pcarlini@suse.de>
250 Implement Option 3 of DR 431 for all the containers.
251 * include/bits/allocator.h (struct __alloc_swap): Add, swaps
252 allocators, optimized to nothing in case they are empty.
253 * include/bits/stl_deque.h (deque<>::swap): Use it.
254 * include/bits/stl_list.h (list<>::swap): Likewise.
255 * include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
256 * include/bits/stl_vector.h (vector<>::swap): Likewise.
257 * include/tr1/hashtable (hashtable<>::swap): Likewise.
258 * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
260 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
262 * include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
263 Clean-up (now vstring uses the generic __alloc_swap facility).
264 * include/tr1/unordered_map: Adjust includes.
265 * include/tr1/unordered_set: Likewise.
266 * docs/html/ext/howto.html: Add an entry for DR 431.
267 * testsuite/23_containers/deque/modifiers/swap.cc: Move to...
268 * testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.
269 * testsuite/23_containers/deque/modifiers/swap/2.cc: New.
270 * testsuite/23_containers/deque/modifiers/swap/3.cc: New.
271 * testsuite/23_containers/list/modifiers/swap.cc: Move to...
272 * testsuite/23_containers/list/modifiers/swap/1.cc: ... here.
273 * testsuite/23_containers/list/modifiers/swap/2.cc: New.
274 * testsuite/23_containers/list/modifiers/swap/3.cc: New.
275 * testsuite/23_containers/vector/modifiers/swap.cc: Move to...
276 * testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.
277 * testsuite/23_containers/vector/modifiers/swap/2.cc: New.
278 * testsuite/23_containers/vector/modifiers/swap/3.cc: New.
279 * testsuite/23_containers/set/modifiers/swap.cc: Move to...
280 * testsuite/23_containers/set/modifiers/swap/1.cc: ... here.
281 * testsuite/23_containers/set/modifiers/swap/2.cc: New.
282 * testsuite/23_containers/set/modifiers/swap/3.cc: New.
283 * testsuite/23_containers/map/modifiers/swap.cc: Move to...
284 * testsuite/23_containers/map/modifiers/swap/1.cc: ... here.
285 * testsuite/23_containers/map/modifiers/swap/2.cc: New.
286 * testsuite/23_containers/map/modifiers/swap/3.cc: New.
287 * testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
288 * testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.
289 * testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
290 * testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
291 * testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
292 * testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.
293 * testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
294 * testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
295 * testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.
296 * testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
297 * testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.
298 * testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
299 * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.
300 * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
301 * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.
302 * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.
304 2006-01-03 Paolo Carlini <pcarlini@suse.de>
306 * include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
307 (_M_get_Tp_allocator, get_allocator): Tidy.
308 (list<>::list(const list&), insert(iterator, size_type, const
309 value_type&), insert(iterator, _InputIterator, _InputIterator)):
310 Use _M_get_Node_allocator.
311 * include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
312 (_Rb_tree(const _Rb_tree<>&): Use it.
313 * include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
314 get_allocator): Tidy.
315 * include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
316 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
318 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
320 * testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.
322 * testsuite/testsuite_allocator.h (class uneq_allocator): A simple
323 non-empty testing allocator which can be endowed of a "personality"
324 at construction time.
326 2006-01-03 Paolo Carlini <pcarlini@suse.de>
328 * testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
329 * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
330 * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
331 * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
333 2006-01-02 Mark Mitchell <mark@codesourcery.com>
335 * src/Makefile.am (LTLDFLAGS): New variable.
336 (CXXLINK): Use LTLDFLAGS.
337 * src/Makefile.in: Regenerated.
338 * libsupc++/Makefile.am (LTLDFLAGS): New variable.
339 (CXXLINK): Use LTLDFLAGS.
340 * libsupc++/Makefile.in: Regenerated.
342 2006-01-02 Paolo Carlini <pcarlini@suse.de>
345 * include/std/std_istream.h (basic_istream<>::_M_extract): New.
346 (operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
347 operator>>(int&), operator>>(unsigned int&), operator>>(long&),
348 operator>>(unsigned long&), operator>>(long long&), operator>>
349 (unsigned long long&), operator>>(float&), operator>>(double&),
350 operator>>(long double&), operator>>(void*&)): Use it.
351 * include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
352 * include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
353 (operator<<(long), operator<<(unsigned long), operator<<(bool),
354 operator<<(short), operator<<(unsigned short), operator<<(int),
355 operator<<(unsigned int), operator<<(long long), operator<<
356 (unsigned long long), operator<<(double), operator<<(float),
357 operator<<(long double), operator<<(const void*): Use it.
358 * include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
359 * src/istream-inst.cc: Add _M_extract instantiations.
360 * src/ostream-inst.cc: Add _M_insert instantiations.
361 * config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
362 detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
363 money_put, etc., symbols to avoid exporting _M_insert symbols
366 2005-12-28 Paolo Carlini <pcarlini@suse.de>
368 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 40.
370 2005-12-28 Chris Jefferson <chris@bubblescope.net>
372 * testsuite/testsuite_allocator.h (check_deallocate_null): Return true.
374 2005-12-28 Paolo Carlini <pcarlini@suse.de>
376 * include/std/std_bitset.h (bitset<>::_M_copy_from_string,
377 bitset<>::_M_copy_to_string, bitset<>::operator>>): Reverse loop.
379 * testsuite/25_algorithms/heap/heap.cc (test01): Always enable
381 * testsuite/18_support/numeric_limits/specialization.cc: Avoid
382 unused parameter warning.
383 * testsuite/18_support/numeric_limits/traps.cc: Acoid unused variable
385 * testsuite/ext/malloc_allocator/deallocate_global.cc: Fix format
387 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
388 * testsuite/ext/array_allocator/2.cc: Remove unused variable.
389 * testsuite/tr1/3_function_objects/mem_fn.cc: Avoid unused variable
391 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: Just
393 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
394 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Likewise.
395 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
397 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
399 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
400 Avoid unused variable warnings.
401 * testsuite/tr1/6_containers/array/requirements/zero_sized_arrays.cc:
403 * testsuite/thread/18185.cc: Likewise.
404 * testsuite/27_io/ios_base/storage/11584.cc: Likewise; avoid comparison
405 between signed and unsigned warning.
406 * testsuite/27_io/types/1.cc: Avoid unused variable warnings.
407 * testsuite/testsuite_allocator.h (check_new): Likewise.
408 (check_deallocate_null): Adjust return type.
409 * testsuite/testsuite_hooks.h (bitmask_operators): Avoid unused
411 * testsuite/21_strings/c_strings/wchar_t/24559.cc: Avoid unused
414 2005-12-28 Chris Jefferson <chris@bubblescope.net>
416 * include/std/std_bitset.h (bitset<0>::set, bitset<0>::reset,
417 bitset<0>::flip, bitset<0>::test): Add inline specializations for
420 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc
421 (test01): Add static cast.
422 * testsuite/tr1/6_containers/unordered/insert/set_range.cc
424 * testsuite/testsuite_hooks.h (operator==(NonDefaultConstructible,
425 NonDefaultConstructible), operator<(NonDefaultConstructible,
426 NonDefaultConstrictible)): Avoid unused parameter warning.
428 2005-12-26 Chris Jefferson <chris@bubblescope.net>
430 * include/ext/mt_allocator.h (__mt_alloc::__mt_alloc): Remove
431 name of unused parameter.
432 * include/bits/stream_iterator.h (istream_iterator::istream_iterator):
434 * include/debug/functions.h (__check_valid_range): Add
435 __attribute__((unused)).
436 * include/tr1/hashtable (hashtable::end): Remove name of unused
438 * include/tr1/tuple_iterate.h (tuple::tuple): Likewise.
439 (tuple::operator=): Add __attribute__((unused)).
440 * include/tr1/functional (Fnv_hash<4>::hash): Add static_cast.
441 (Fnv_hash<8>::hash): Likewise.
443 * testsuite/25_algorithms/iter_swap/20577.cc (swap): Remove name of
445 * testsuite/25_algorithms/unique_copy/check_type.cc (S2::S2,X2::X2):
447 * testsuite/22_locale/ctype/narrow/char/19955.cc (do_narrow): Likewise.
448 * testsuite/22_locale/ctype/is/char/9858.cc (Derived::do_is,
449 Derived::do_scan_is, Derived::do_scan_not, Derived2::do_is,
450 Derived2::do_scan_is, Derived2::do_scan_not): Likewise.
451 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc (TP::do_put):
453 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc (TP::do_put):
455 * testsuite/22_locale/time_put/put/char/12439_1.cc (TP::do_put):
457 * testsuite/22_locale/time_put/put/char/12439_3.cc (TP::do_put):
459 * testsuite/testsuite_io.h (fail_num_get::do_get, fail_num_put::do_put):
461 * testsuite/25_algorithms/find/17441.cc (find): Likewise.
462 * testsuite/23_containers/vector/cons/clear_allocator.cc
463 (clear_alloc::clear_alloc): Likewise.
464 * testsuite/23_containers/vector/bool/clear_allocator.cc
465 (clear_alloc::clear_alloc): Likewise.
466 * testsuite/23_containers/list/cons/clear_allocator.cc
467 (clear_alloc::clear_alloc): Likewise.
468 * testsuite/23_containers/set/modifiers/16728.cc (test_container):
470 * testsuite/27_io/basic_ios/cons/char/3.cc (char_traits::to_char_type,
471 to_int_type): Likewise.
472 * testsuite/27_io/basic_filebuf/imbue/12206.cc (codecvt::do_out, do_in,
473 do_unshift, do_length): Likewise.
474 * testsuite/21_strings/basic_string/capacity/1.cc
475 (operator==(A<T>,A<T>), operator<(A<T>,A<T>),
476 char_traits::to_char_type, char_traits::to_int_type): Likewise
477 * testsuite/testsuite_character.h (ctype::do_is, ctype::do_scan_is,
478 ctype::do_scan_not, do_toupper, do_tolower): Likewise.
479 * testsuite/25_algorithms/replace_copy/check_type.cc (Z::operator=):
480 Add missing return statement.
481 * testsuite/25_algorithms/replace_copy_if/check_type.cc (Z::operator=):
483 * testsuite/testsuite_iterators.h (output_iterator_wrapper::operator=,
484 random_access_iterator_wrapper::operator==): Likewise.
485 * testsuite/20_util/functional/binders/1.cc (s::f_int_int_const,
486 s::f_int_int, s::f_int_void_const, s::f_int_void): Likewise.
487 * testsuite/27_io/types/1.cc (test01): Likewise.
488 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc (test01): Likewise.
489 * testsuite/27_io/basic_ostream/write/char/1.cc (test01): Likewise.
490 * testsuite/21_strings/c_strings/wchar_t/24559.cc (main): Likewise.
491 * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc (check): Add static
493 * testsuite/27_io/basic_istream/ignore/char/2.cc (check): Likewise.
494 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc (check): Likewise.
495 * testsuite/27_io/basic_istream/getline/char/5.cc (check): Likewise.
496 * testsuite/testsuite_allocator.h (check_new): Likewise.
497 (check_deallocate_null): Add missing return value.
498 * testsuite/ext/pool_allocator/allocate_chunk.cc (test01):
499 Make variable unsigned.
500 * testsuite/23_containers/vector/modifiers/erase/1.cc (N,N1,N2,N3,N4,
501 N5,test01): Likewise.
502 * testsuite/26_numerics/valarray/valarray_subset_assignment.cc
503 (check_array): Likewise.
504 (main): Removed unused variable.
505 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc (test05):
506 Removed unused variable.
507 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc (test01): Likewise.
508 * testsuite/27_io/basic_ostream/flush/char/1.cc (test01): Likewise.
509 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc (test01): Likewise.
510 * testsuite/27_io/basic_ostream/endl/char/1.cc (test01): Likewise.
511 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc (test01): Likewise.
512 * testsuite/27_io/basic_ostream/ends/char/1.cc (test01): Likewise.
513 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
514 assign/shared_ptr.cc (test01): Correct return type.
515 * testsuite/27_io/basic_filebuf/close/char/2.cc (test_02):
516 Add default value to close_num.
518 2005-12-24 Paolo Carlini <pcarlini@suse.de>
520 * include/bits/stl_algobase.h (fill(const _Deque_iterator&,
521 const _Deque_iterator&, const _Tp&)): Deal, correctly, only
522 with iterators (leave const_iterators alone).
524 2005-12-24 Paolo Carlini <pcarlini@suse.de>
526 * include/bits/stl_algobase.h (fill(const _Deque_iterator<>&,
527 const _Deque_iterator<>&, const _Tp&)): Add.
529 * testsuite/23_containers/deque/cons/assign/1.cc: New.
531 2005-12-19 Paolo Carlini <pcarlini@suse.de>
533 * include/bits/stl_deque.h (deque<>::resize, _M_fill_assign):
534 Avoid troubles with ADL, user defined operators and _Deque_iterator.
535 (operator-(const _Deque_iterator<>&, const _Deque_iterator<>&):
536 Add overload for left and right iterators of the same type.
537 * include/bits/deque.tcc (erase(iterator)): Avoid troubles with ADL,
538 user defined operators and _Deque_iterator.
539 * testsuite/23_containers/deque/types/1.cc: Add.
541 * include/bits/deque.tcc (_M_insert_aux(iterator, size_type,
542 const value_type&)): Qualify with std:: fill call.
544 2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
546 * include/bits/c++config: Add in revised namespace associations.
547 _GLIBCXX_BEGIN_NAMESPACE: New macro.
548 _GLIBCXX_END_NAMESPACE: Same.
549 _GLIBCXX_BEGIN_NESTED_NAMESPACE: Same.
550 _GLIBCXX_END_NESTED_NAMESPACE: Same.
551 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS]): Add gnu-versioned-namespace.
552 * configure: Regenerated.
554 * config/abi/pre/gnu-versioned-namespace.ver: New.
555 * config/abi/pre/gnu.ver (GLIBCXX_3.4.7): Add exports for nested
557 * include/Makefile.am (${host_builddir}/c++config.h): Fill in
558 values for __GLIBCXX__ and _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION.
559 * include/Makefile.in: Regnerate.
560 * src/compatibility.cc: Alias new, nested definitions to exported
561 symbols from non-nested __gnu_debug.
562 * src/Makefile.am: Add in ENABLE_SYMVERS_GNU_NAMESPACE.
563 * src/Makefile.in: Regenerate.
565 * docs/html/debug_mode.html: Revise for nested design.
566 * docs/html/debug.html: Use debug qualifications instead of
568 * docs/html/configopts.html: Revise documentation for
571 * include/debug/formatter: Simplify namespace qualifications for
572 current, nested-only reality. Add top-level namespace alias,
573 namespace debug, for debug-mode containers.
574 * include/debug/safe_iterator.h: Same.
575 * include/debug/set.h: Same.
576 * include/debug/hash_multimap.h: Same.
577 * include/debug/hash_set.h: Same.
578 * include/debug/bitset
579 * include/debug/safe_sequence.h: Same.
580 * include/debug/multiset.h: Same.
581 * include/debug/safe_base.h: Same.
582 * include/debug/functions.h: Same.
583 * include/debug/safe_iterator.tcc
584 * include/debug/hash_multiset.h: Same.
585 * include/debug/vector
586 * include/debug/map.h: Same.
587 * include/debug/deque
588 * include/debug/hash_map.h: Same.
589 * include/debug/string
590 * include/debug/macros.h: Same.
592 * include/debug/debug.h: Same.
593 * include/debug/multimap.h: Same.
594 * src/debug.cc: Same.
595 * testsuite/23_containers/vector/invalidation/1.cc: Cleanups.
596 * testsuite/23_containers/vector/invalidation/2.cc: Same.
597 * testsuite/23_containers/vector/invalidation/3.cc: Same.
598 * testsuite/23_containers/vector/invalidation/4.cc: Same.
599 * testsuite/23_containers/deque/invalidation/1.cc: Same.
600 * testsuite/23_containers/deque/invalidation/2.cc: Same.
601 * testsuite/23_containers/deque/invalidation/3.cc: Same.
602 * testsuite/23_containers/deque/invalidation/4.cc: Same.
603 * testsuite/23_containers/multiset/invalidation/1.cc: Same.
604 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
605 * testsuite/23_containers/multimap/invalidation/1.cc: Same.
606 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
607 * testsuite/23_containers/bitset/invalidation/1.cc: Same.
608 * testsuite/23_containers/bitset/cons/16020.cc: Same.
609 * testsuite/23_containers/bitset/operations/13838.cc: Same.
610 * testsuite/23_containers/list/invalidation/1.cc: Same.
611 * testsuite/23_containers/list/invalidation/2.cc: Same.
612 * testsuite/23_containers/list/invalidation/3.cc: Same.
613 * testsuite/23_containers/list/invalidation/4.cc: Same.
614 * testsuite/23_containers/set/invalidation/1.cc: Same.
615 * testsuite/23_containers/set/invalidation/2.cc: Same.
616 * testsuite/23_containers/map/invalidation/1.cc: Same.
617 * testsuite/23_containers/map/invalidation/2.cc: Same.
618 * testsuite/23_containers/map/insert/16813.cc: Same.
620 * include/bits/basic_ios.h: Use _GLIBCXX_BEGIN_NAMESPACE(std) and
622 * include/bits/stl_list.h: Same.
623 * include/bits/stl_map.h: Same.
624 * include/bits/stl_algobase.h: Same.
625 * include/bits/localefwd.h: Same.
626 * include/bits/valarray_array.tcc: Same.
627 * include/bits/valarray_after.h: Same.
628 * include/bits/gslice_array.h: Same.
629 * include/bits/stl_queue.h: Same.
630 * include/bits/gslice.h: Same.
631 * include/bits/locale_facets.tcc: Same.
632 * include/bits/locale_classes.h: Same.
633 * include/bits/stl_set.h: Same.
634 * include/bits/locale_facets.h: Same.
635 * include/bits/stl_stack.h: Same.
636 * include/bits/stl_iterator_base_types.h: Same.
637 * include/bits/stl_heap.h: Same.
638 * include/bits/indirect_array.h: Same.
639 * include/bits/atomicity.h: Same.
640 * include/bits/stream_iterator.h: Same.
641 * include/bits/concurrence.h: Same.
642 * include/bits/basic_string.h: Same.
643 * include/bits/stl_multimap.h: Same.
644 * include/bits/stl_pair.h: Same.
645 * include/bits/basic_ios.tcc: Same.
646 * include/bits/stl_raw_storage_iter.h: Same.
647 * include/bits/stl_vector.h: Same.
648 * include/bits/stl_numeric.h: Same.
649 * include/bits/ios_base.h: Same.
650 * include/bits/stl_deque.h: Same.
651 * include/bits/istream.tcc: Same.
652 * include/bits/postypes.h: Same.
653 * include/bits/stl_multiset.h: Same.
654 * include/bits/mask_array.h: Same.
655 * include/bits/stl_uninitialized.h: Same.
656 * include/bits/ostream.tcc: Same.
657 * include/bits/slice_array.h: Same.
658 * include/bits/boost_concept_check.h: Same.
659 * include/bits/sstream.tcc: Same.
660 * include/bits/stl_iterator_base_funcs.h: Same.
661 * include/bits/char_traits.h: Same.
662 * include/bits/stl_algo.h: Same.
663 * include/bits/stringfwd.h: Same.
664 * include/bits/c++config
665 * include/bits/stl_iterator.h: Same.
666 * include/bits/valarray_array.h: Same.
667 * include/bits/stl_tempbuf.h: Same.
668 * include/bits/vector.tcc: Same.
669 * include/bits/deque.tcc: Same.
670 * include/bits/stl_bvector.h: Same.
671 * include/bits/basic_string.tcc: Same.
672 * include/bits/list.tcc: Same.
673 * include/bits/streambuf_iterator.h: Same.
674 * include/bits/valarray_before.h: Same.
675 * include/bits/stl_construct.h: Same.
676 * include/bits/stl_function.h: Same.
677 * include/bits/cpp_type_traits.h: Same.
678 * include/bits/streambuf.tcc: Same.
679 * include/bits/allocator.h: Same.
680 * include/bits/stl_tree.h: Same.
681 * include/bits/fstream.tcc: Same.
682 * include/bits/stl_relops.h: Same.
683 * include/bits/functexcept.h: Same.
684 * include/std/std_valarray.h: Same.
685 * include/std/std_iostream.h: Same.
686 * include/std/std_streambuf.h: Same.
687 * include/std/std_bitset.h: Same.
688 * include/std/std_iosfwd.h: Same.
689 * include/std/std_iomanip.h: Same.
690 * include/std/std_fstream.h: Same.
691 * include/std/std_limits.h: Same.
692 * include/std/std_stdexcept.h: Same.
693 * include/std/std_istream.h: Same.
694 * include/std/std_complex.h: Same.
695 * include/std/std_memory.h: Same.
696 * include/std/std_ostream.h: Same.
697 * include/std/std_sstream.h: Same.
698 * include/c_std/std_csignal.h: Same.
699 * include/c_std/std_cstdlib.h: Same.
700 * include/c_std/std_cstdio.h: Same.
701 * include/c_std/std_cstdarg.h: Same.
702 * include/c_std/std_cctype.h: Same.
703 * include/c_std/std_cmath.h: Same.
704 * include/c_std/std_ctime.h: Same.
705 * include/c_std/std_clocale.h: Same.
706 * include/c_std/std_csetjmp.h: Same.
707 * include/c_std/std_cwchar.h: Same.
708 * include/c_std/std_cstring.h: Same.
709 * include/c_std/std_cstddef.h: Same.
710 * include/c_std/std_cwctype.h: Same.
711 * include/backward/iterator.h: Same.
712 * include/backward/set.h: Same.
713 * include/backward/hashtable.h: Same.
714 * include/backward/fstream.h: Same.
715 * include/backward/tempbuf.h: Same.
716 * include/backward/istream.h: Same.
717 * include/backward/bvector.h: Same.
718 * include/backward/stack.h: Same.
719 * include/backward/rope.h: Same.
720 * include/backward/complex.h: Same.
721 * include/backward/ostream.h: Same.
722 * include/backward/heap.h: Same.
723 * include/backward/iostream.h: Same.
724 * include/backward/function.h: Same.
725 * include/backward/multimap.h: Same.
726 * include/backward/pair.h: Same.
727 * include/backward/stream.h: Same.
728 * include/backward/iomanip.h: Same.
729 * include/backward/strstream
730 * include/backward/slist.h: Same.
731 * include/backward/tree.h: Same.
732 * include/backward/vector.h: Same.
733 * include/backward/deque.h: Same.
734 * include/backward/multiset.h: Same.
735 * include/backward/list.h: Same.
736 * include/backward/map.h: Same.
737 * include/backward/algobase.h: Same.
738 * include/backward/hash_map.h: Same.
739 * include/backward/algo.h: Same.
740 * include/backward/queue.h: Same.
741 * include/backward/streambuf.h: Same.
742 * src/allocator-inst.cc: Same.
743 * src/complex_io.cc: Same.
744 * src/localename.cc: Same.
745 * src/limits.cc: Same.
746 * src/ios_failure.cc: Same.
747 * src/locale-misc-inst.cc: Same.
748 * src/streambuf-inst.cc: Same.
749 * src/misc-inst.cc: Same.
750 * src/concept-inst.cc: Same.
751 * src/ios_locale.cc: Same.
752 * src/pool_allocator.cc: Same.
753 * src/fstream-inst.cc: Same.
754 * src/istream-inst.cc: Same.
755 * src/string-inst.cc: Same.
756 * src/locale_init.cc: Same.
757 * src/ctype.cc: Same.
758 * src/strstream.cc: Same.
759 * src/ostream-inst.cc: Same.
760 * src/functexcept.cc: Same.
761 * src/streambuf.cc: Same.
762 * src/sstream-inst.cc: Same.
764 * src/valarray-inst.cc: Same.
765 * src/locale.cc: Same.
767 * src/stdexcept.cc: Same.
768 * src/istream.cc: Same.
769 * src/compatibility.cc: Same.
770 * src/locale-inst.cc: Same.
771 * src/globals_io.cc: Same.
773 * src/ios_init.cc: Same.
774 * src/locale_facets.cc: Same.
775 * src/codecvt.cc: Same.
777 * include/tr1/unordered_map: Use _GLIBCXX_BEGIN_NAMESPACE(tr1).
778 * include/tr1/boost_shared_ptr.h: Same.
780 * include/tr1/hashtable
781 * include/tr1/type_traits_fwd.h: Same.
782 * include/tr1/unordered_set
783 * include/tr1/functional
784 * include/tr1/ref_fwd.h: Same.
785 * include/tr1/utility
786 * include/tr1/type_traits
789 * include/ext/hashtable.h: Use _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx).
790 * include/ext/typelist.h: Same.
791 * include/ext/hash_map: Same.
792 * include/ext/rc_string_base.h: Same.
793 * include/ext/pool_allocator.h: Same.
794 * include/ext/iterator: Same.
795 * include/ext/rb_tree: Same.
796 * include/ext/numeric: Same.
797 * include/ext/vstring.tcc: Same.
798 * include/ext/sso_string_base.h: Same.
799 * include/ext/stdio_filebuf.h: Same.
800 * include/ext/algorithm: Same.
801 * include/ext/codecvt_specializations.h: Same.
802 * include/ext/new_allocator.h: Same.
803 * include/ext/array_allocator.h: Same.
804 * include/ext/vstring_util.h: Same.
805 * include/ext/vstring_fwd.h: Same.
806 * include/ext/mt_allocator.h: Same.
807 * include/ext/debug_allocator.h: Same.
808 * include/ext/slist: Same.
809 * include/ext/stdio_sync_filebuf.h: Same.
810 * include/ext/hash_fun.h: Same.
811 * include/ext/malloc_allocator.h: Same.
812 * include/ext/functional: Same.
813 * include/ext/bitmap_allocator.h: Same.
814 * include/ext/pod_char_traits.h: Same.
815 * include/ext/vstring.h: Same.
816 * include/ext/ropeimpl.h: Same.
817 * include/ext/hash_set: Same.
818 * include/ext/memory: Same.
819 * include/ext/rope: Same.
820 * include/bits/boost_concept_check.h: Same.
821 * include/bits/stl_iterator.h: Same.
822 * include/bits/char_traits.h: Same.
823 * include/bits/cpp_type_traits.h: Same.
824 * include/bits/concurrence.h: Same.
825 * include/bits/atomicity.h: Same.
826 * config/locale/gnu/numeric_members.cc: Same.
827 * config/locale/gnu/collate_members.cc: Same.
828 * config/locale/gnu/ctype_members.cc: Same.
829 * config/locale/gnu/c_locale.cc: Same.
830 * config/locale/gnu/codecvt_members.cc: Same.
831 * config/locale/gnu/messages_members.cc: Same.
832 * config/locale/gnu/c_locale.h: Same.
833 * config/locale/gnu/monetary_members.cc: Same.
834 * config/locale/gnu/time_members.cc: Same.
835 * config/locale/ieee_1003.1-2001/c_locale.h: Same.
836 * config/locale/generic/numeric_members.cc: Same.
837 * config/locale/generic/collate_members.cc: Same.
838 * config/locale/generic/ctype_members.cc: Same.
839 * config/locale/generic/c_locale.cc: Same.
840 * config/locale/generic/codecvt_members.cc: Same.
841 * config/locale/generic/messages_members.cc: Same.
842 * config/locale/generic/c_locale.h: Same.
843 * config/locale/generic/monetary_members.cc: Same.
844 * config/locale/generic/time_members.cc: Same.
845 * config/os/aix/atomicity.h: Same.
846 * config/os/irix/atomicity.h: Same.
847 * config/cpu/powerpc/atomicity.h: Same.
848 * config/cpu/cris/atomicity.h: Same.
849 * config/cpu/ia64/atomicity.h: Same.
850 * config/cpu/alpha/atomicity.h: Same.
851 * config/cpu/m68k/atomicity.h: Same.
852 * config/cpu/hppa/atomicity.h: Same.
853 * config/cpu/mips/atomicity.h: Same.
854 * config/cpu/sparc/atomicity.h: Same.
855 * config/cpu/i386/atomicity.h: Same.
856 * config/cpu/i486/atomicity.h: Same.
857 * config/cpu/sh/atomicity.h: Same.
858 * config/cpu/generic/atomicity.h: Same.
859 * config/cpu/s390/atomicity.h: Same.
860 * config/io/c_io_stdio.h: Same.
861 * config/io/basic_file_stdio.cc: Same.
862 * config/io/basic_file_stdio.h: Same.
863 * src/misc-inst.cc: Same.
864 * src/concept-inst.cc: Same.
865 * src/ext-inst.cc: Same.
866 * src/string-inst.cc: Same.
867 * src/pool_allocator.cc: Same.
868 * src/bitmap_allocator.cc: Same.
869 * src/mt_allocator.cc: Same.
870 * libsupc++/exception: Same.
871 * libsupc++/vterminate.cc: Same.
872 * testsuite/ext/hash_map/1.cc: Explicitly qualify __gnu_cxx::hash_map.
873 * testsuite/ext/hash_map/14648.cc: Same.
875 * libsupc++/eh_alloc.cc: Correct comment line spacing.
877 2005-12-18 Paolo Carlini <pcarlini@suse.de>
879 * include/bits/stl_algobase.h (__copy_normal::copy_n): Uglify
881 (__copy_backward::copy_b): Likewise to __copy_b.
882 (__copy_backward_normal::copy_b_n): Likewise to __copy_b_n.
883 (copy, __copy_backward_aux, copy_backward): Adjust.
885 2005-12-18 Paolo Carlini <pcarlini@suse.de>
887 * include/bits/stl_algo.h (partial_sort_copy): Add
888 _BinaryPredicateConcept<_Compare, _InputValueType, _OutputValueType>
889 (merge, set_union, set_symmetric_difference): Add
890 _OutputIteratorConcept<_OutputIterator, _ValueType2>.
891 (binary_search): Remove redundant _BinaryPredicateConcept<_Compare,
892 _ValueType, _Tp>, taken care by lower_bound.
893 * include/bits/stl_algo.h: Cosmetic changes.
895 2005-12-18 Paolo Carlini <pcarlini@suse.de>
896 Howard Hinnant <hhinnant@apple.com>
898 * include/bits/stl_algo.h (merge, includes, set_union,
899 set_intersection, set_difference, set_symmetric_difference):
902 2005-12-18 Paolo Carlini <pcarlini@suse.de>
904 * include/bits/stl_algo.h (partial_sort_copy, lower_bound,
905 upper_bound, equal_range, binary_search): Fix concept checks.
907 2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
909 * config/abi/post: New.
910 * config/abi/*-linux-gnu: Move to..
911 * config/abi/post/*-linux-gnu: ... here.
912 * config/abi/pre: New.
913 * config/linker-map.gnu: Move to ..
914 * config/abi/pre/gnu.ver: ... here.
915 * config/linker-map.dummy: Move to..
916 * config/abi/pre/none.ver: ... here.
917 * src/Makefile.am: Use ENABLE_SYMVERS_GNU,
918 ENABLE_SYMVERS_DARWIN, ENABLE_SYMVERS_GNU_NAMESPACE.
919 Use libstdc++-symbols.ver instead of libstdc++-symbol.ver.
920 * src/Makefile.in: Regnerate.
921 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Adjust paths for new
922 placement of abi baseline files.
923 (GLIBCXX_ENABLE_SYMVERS): Add ENABLE_SYMVERS, ENABLE_SYMVERS_GNU,
924 ENABLE_SYMVERS_DARWIN. SYMVER_MAP to SYMVER_FILE.
925 * configure: Regnerate.
926 * config.h.in: Regnerate.
927 * src/compatibility.cc: Adjust macro usage.
929 2005-12-17 Benjamin Kosnik <bkoz@redhat.com>
931 * src/io-inst.cc: Separate instantiations into...
932 * src/ios-inst.cc: .. this.
933 * src/iostream-inst.cc: ... and this.
934 * src/Makefile.am (sources): Update.
935 * src/Makefile.in: Regenerate.
937 2005-12-17 Benjamin Kosnik <bkoz@redhat.com>
940 * include/c_std/std_cstdlib.h: Fix for freestanding.
942 2005-12-17 Benjamin Kosnik <bkoz@redhat.com>
944 * testsuite/libstdc++-dg/normal.exp: Rename to..
945 * testsuite/libstdc++-dg/conformance.exp: ... this.
947 2005-12-17 Paolo Carlini <pcarlini@suse.de>
949 * include/bits/stl_vector.h (vector(const vector&)): Use
951 * include/bits/stl_deque.h (deque(const deque&)): Likewise.
952 (_M_destroy_data): Adjust.
954 2005-12-17 Paolo Carlini <pcarlini@suse.de>
956 * include/bits/stl_deque.h (deque<>::_M_erase_at_end,
957 _M_erase_at_begin, _M_destroy_data, _M_destroy_data_dispatch,
958 _M_destroy_data_aux): New, optimize erase at begin() / end() and
959 consistently use the "segmented iterator" optimization.
960 (deque<>::~deque(), resize, clear, _M_assign_aux, _M_fill_assign):
962 * include/bits/deque.tcc (deque<>::operator=, _M_assign_aux): Same.
963 (erase(iterator, iterator)): Likewise, clean-up.
964 (erase(iterator)): Tweak, don't call copy unnecessarily.
965 (_M_destroy_data_aux): Define.
966 * testsuite/23_containers/deque/modifiers/erase/1.cc: New.
967 * testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise.
969 2005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net>
971 * include/bits/valarray_after.h (_Expr<>::operator[](slice)):
972 Don't assume the closure implements general indexing, as a matter
973 of fact, most of them don't.
974 (_Expr<>::operator[](const gslice&)): Likewise.
975 (_Expr<>::operator[](const valarray<bool>&)): Likewise.
976 (_Expr<>::operator[](const valarray<size_t>&)): Likewise.
977 (_Expr<>::shift): Fix thinko.
978 (_Expr<>::cshift): Likewise.
979 (_Expr<>::apply): Likewise.
981 2005-12-16 Paolo Carlini <pcarlini@suse.de>
983 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc:
984 Fix class NonEmptyClassTwo.
986 2005-12-15 Paolo Carlini <pcarlini@suse.de>
988 * include/bits/stl_vector.h (vector<>::_M_get_Tp_allocator): Change
989 to return by ref and add non const version.
990 * include/bits/stl_deque.h (deque<>::_M_get_Tp_allocator): Likewise.
992 2005-12-15 Paolo Carlini <pcarlini@suse.de>
995 * config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
997 * testsuite/22_locale/facet/25421.cc: New.
999 2005-12-13 Carlos O'Donell <carlos@codesourcery.com>
1001 * include/std/std_limits.h (struct numeric_limits):
1002 Use __DBL_HAS_DENORM__, __FLT_HAS_DENORM__, __LDBL_HAS_DENORM__.
1004 2005-12-10 Paolo Carlini <pcarlini@suse.de>
1006 * include/ext/sso_string_base.h (__sso_string_base<>::_M_compare):
1007 Add, specialized for char and wchar_t to immediately return true
1008 when a string is compared to itself.
1009 * include/ext/rc_string_base.h (__rc_string_base<>::_M_compare):
1010 Likewise, for the same _Rep.
1011 * include/ext/vstring.h (compare(const string&)): Use it.
1013 * include/ext/sso_string_base.h (__sso_string_base<>::_M_destroy):
1014 Deallocate passed size + 1.
1015 (_M_dispose, _M_reserve): Adjust.
1017 2005-12-09 Paolo Carlini <pcarlini@suse.de>
1018 Howard Hinnant <hhinnant@apple.com>
1021 * include/bits/stl_list.h (list<>::_M_insert_dispatch, _M_fill_insert):
1023 (_M_initialize_dispatch, _M_fill_initialize): Add.
1024 (list(size_type, const value_type&, const allocator_type&),
1025 list(const list&), list(_InputIterator, _InputIterator,
1026 const allocator_type&): Use the latter.
1027 (insert(iterator, size_type, const value_type&), insert(iterator,
1028 _InputIterator, _InputIterator)): Use construction & splice.
1029 * testsuite/23_containers/list/modifiers/insert/25288.cc: New.
1030 * testsuite/testsuite_allocator.h (class throw_allocator): Add.
1032 * include/bits/stl_list.h (list<>::insert, erase): Fix wrong comments.
1034 2005-12-08 Paolo Carlini <pcarlini@suse.de>
1036 * include/bits/stl_vector.h (vector<>::size, resize, capacity,
1037 operator[]): Avoid troubles with ADL, user defined operators
1038 and __normal_iterator.
1039 (_M_erase_at_end): Fix to take a pointer.
1040 (clear): Adjust call.
1041 * include/bits/vector.tcc (vector<>::insert(iterator, const
1042 value_type&), erase(iterator, iterator), operator=(const
1043 vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux,
1044 _M_fill_insert, _M_range_insert): Likewise.
1045 (_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust
1046 _M_erase_at_end call.
1047 * testsuite/23_containers/vector/types/1.cc: New.
1049 2005-12-08 Paolo Carlini <pcarlini@suse.de>
1052 * include/bits/stl_vector.h (vector<>::_M_erase_at_end): New.
1053 (vector<>::clear, resize): Use it.
1054 * include/bits/vector.tcc (vector<>::erase(iterator, iterator),
1055 _M_fill_assign, _M_assign_aux): Likewise.
1057 * testsuite/23_containers/vector/modifiers/erase/1.cc: New.
1059 2005-12-07 Paolo Carlini <pcarlini@suse.de>
1061 * docs/html/configopts.html ([--enable-libstdcxx-allocator]):
1062 Mention the SGI pooled allocator.
1064 2005-12-06 Paolo Carlini <pcarlini@suse.de>
1066 * include/bits/basic_string.h (insert(iterator, _CharT),
1067 erase(iterator), erase(iterator, iterator)): Avoid troubles
1068 with ADL, user defined operators and __normal_iterator.
1069 * include/bits/stl_iterator.h (operator-(const __normal_iterator
1070 <_Iterator, _Container>&, const __normal_iterator<_Iterator,
1071 _Container>&)): Add overload for left and right iterators of
1073 * include/debug/safe_iterator.h (operator-(const _Safe_iterator
1074 <_Iterator, _Sequence>&, const _Safe_iterator<_Iterator,
1075 _Sequence>&)): Likewise.
1076 * testsuite/21_strings/basic_string/types/1.cc: New.
1078 2005-12-05 Paolo Carlini <pcarlini@suse.de>
1080 * include/ext/sso_string_base.h (__sso_string_base<>::_M_assign):
1081 Simplify, avoid pointless reallocations.
1083 2005-12-04 Paolo Carlini <pcarlini@suse.de>
1085 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
1088 2005-12-04 Paolo Carlini <pcarlini@suse.de>
1090 * include/ext/vstring.h (__versa_string<>::operator+, all
1091 versions): Move out of line...
1092 * include/ext/vstring.tcc (__versa_string<>::operator+): ...
1093 here; consistently use reserve for the benefit of sso_string_base;
1094 prefer push_back to single-char append when appropriate.
1096 * include/ext/vstring.h (__versa_string<>::push_back): Don't
1097 call _M_reserve, _M_mutate instead.
1098 (reserve): Just forward to _M_reserve.
1099 * include/ext/vstring.tcc (__versa_string<>::_M_reserve): Remove.
1100 * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve): Also
1101 do the initial checks (first on length, in case __res == capacity).
1102 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve:
1103 Likewise; don't call _M_set_length unnecessarily.
1105 2005-12-04 Paolo Carlini <pcarlini@suse.de>
1107 * include/ext/vstring.h (__versa_string<>::_M_append): New.
1108 (append(const __versa_string&), append(const __versa_string&,
1109 size_type, size_type), append(const _CharT*, size_type),
1110 append(const _CharT*)): Use it.
1111 (append(size_type, _CharT)): Delegate to _M_replace_aux.
1112 (assign(const __versa_string&, size_type, size_type),
1113 assign(const _CharT*), replace(size_type, size_type,
1114 const _CharT*, size_type)): Forward to _M_replace.
1115 * include/ext/vstring.tcc (__versa_string<>::_M_append):
1116 Define, core append functionality.
1117 (_M_replace): Simplify, move __s == 0 case to _M_replace_aux.
1118 (_M_replace_aux): Reorganize, don't call _M_replace.
1120 2005-12-04 Paolo Carlini <pcarlini@suse.de>
1122 * include/ext/vstring.tcc (__versa_string<>::_M_replace):
1123 Perform _M_check_length at the beginning and remove it from ...
1124 (replace, _M_replace_dispatch, _M_replace_aux, assign): ... here.
1125 (assign): Now move inline.
1126 (resize): Don't call _M_check_length redundantly, append does.
1128 2005-12-04 Paolo Carlini <pcarlini@suse.de>
1130 * include/ext/sso_string_base.h (__sso_string_base<>::_M_get_allocator):
1131 Add non const version.
1132 * include/ext/rc_string_base.h (__rc_string_base<>::_M_get_allocator):
1135 * include/ext/sso_string_base.h (__sso_string_base<>::_M_erase): Add.
1136 * include/ext/rc_string_base.h (__rc_string_base<>::_M_erase): Likewise.
1137 (_M_leak_hard): Use it.
1138 * include/ext/vstring.h (__versa_string<>::clear, erase, all
1140 * include/ext/vstring.tcc (__versa_string<>::resize): Likewise.
1142 * include/ext/vstring.h (__versa_string<>::_M_replace_safe):
1144 * include/ext/vstring.h (__versa_string<>::_M_replace): New, does
1145 the in-place work or delegates to _M_mutate in case of reallocation.
1146 * include/ext/vstring.tcc (__versa_string<>::_M_replace_safe):
1148 * include/ext/vstring.tcc (__versa_string<>::_M_replace): Define.
1149 (assign, replace, _M_replace_dispatch, _M_replace_aux): Use it.
1150 * include/ext/sso_string_base.h (__sso_string_base<>::_M_mutate):
1151 Change to manage only reallocations.
1152 * include/ext/rc_string_base.h (__rc_string_base<>::_M_mutate):
1155 * include/ext/vstring.h (__versa_string<>::insert(size_type,
1156 const __versa_string&), insert(size_type, const __versa_string&,
1157 size_type, size_type), insert(size_type, const _CharT*, size_type),
1158 insert(size_type, const _CharT*)): Delegate to replace.
1160 * include/ext/vstring.h (__versa_string<>::reserve): Move out of
1162 * include/ext/vstring.tcc (__versa_string<>::reserve): Do the
1163 checks and call _M_reserve.
1164 * include/ext/vstring.h (__versa_string<>::append): Call _M_reserve
1166 * include/ext/vstring.tcc (__versa_string<>::append, all versions):
1168 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
1170 * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve):
1173 2005-12-02 David Billinghurst (David.Billinghurst@riotinto.com)
1176 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Catch
1177 error if file cannot be deleted.
1179 2005-11-23 Paolo Carlini <pcarlini@suse.de>
1181 PR libstdc++/24975 (basic_string)
1182 * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
1183 strict-aliasing warnings.
1185 2005-11-22 Paolo Carlini <pcarlini@suse.de>
1188 * include/bits/stl_set.h (insert(iterator, const value_type&),
1189 erase(iterator), erase(iterator, iterator)): Don't break aliasing
1190 rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
1191 * include/bits/stl_multiset.h (insert(iterator, const value_type&),
1192 erase(iterator), erase(iterator, iterator)): Likewise.
1193 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
1194 _Const_Base_ptr, const value_type&), insert_unique(const_iterator,
1195 const value_type&), insert_equal(const_iterator, const value_type&),
1196 erase(const_iterator), erase(const_iterator, const_iterator)): New,
1197 _Rb_tree<>::const_iterator counterparts of existing facilities.
1199 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
1200 Ulrich Drepper <drepper@redhat.com>
1203 * scripts/create_testsuite_files: Support for "C" test files.
1204 * testsuite/lib/libstdc++.exp: Same.
1205 * testsuite/libstdc++-dg/normal.exp: Same.
1206 * testsuite/ext/mt_allocator/22309_thread.cc: Update names.
1207 * testsuite/19_diagnostics/23591_thread-1.c: New.
1208 * testsuite/testsuite_shared.cc: Add tests, rename existing functions.
1209 * libsupc++/eh_globals.cc: Make global thread local if possible.
1210 * configure.ac: Use GCC_CHECK_TLS.
1211 * acinclude.m4: Include tls.m4.
1212 * configure: Regenerate.
1213 * config.h.in: Same.
1215 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
1217 * libsupc++/del_op.cc: Include c++config.h first.
1218 * libsupc++/eh_alloc.cc: Same.
1219 * libsupc++/new_opv.cc: Same.
1220 * libsupc++/eh_throw.cc: Same.
1221 * libsupc++/new_op.cc: Same.
1222 * libsupc++/del_opv.cc: Same.
1223 * libsupc++/eh_catch.cc: Same.
1224 * libsupc++/guard.cc: Same.
1225 * libsupc++/del_opnt.cc: Same.
1226 * libsupc++/eh_exception.cc: Same.
1227 * libsupc++/new_opvnt.cc: Same.
1228 * libsupc++/eh_term_handler.cc: Same.
1229 * libsupc++/eh_personality.cc: Same.
1230 * libsupc++/eh_call.cc: Same.
1231 * libsupc++/new_opnt.cc: Same.
1232 * libsupc++/del_opvnt.cc: Same.
1234 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
1236 * src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
1237 * libsupc++/Makefile.am: Same.
1238 * src/Makefile.in: Regenerate.
1239 * libsupc++/Makefile.in: Same.
1241 2005-11-21 Paolo Carlini <pcarlini@suse.de>
1243 * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
1244 (__sso_string_base<>::_M_get_allocator): Return by const ref.
1245 * include/ext/rc_string_base.h: Likewise.
1246 (__rc_string_base<>::_M_get_allocator): Return by const ref.
1247 (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
1248 (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
1249 (__rc_string_base<>::~__rc_string_base,
1250 __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
1252 * include/ext/vstring_util.h: Minor stylistic fixes.
1254 2005-11-18 Paolo Carlini <pcarlini@suse.de>
1256 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
1257 anonymous struct extension, adjust everywhere.
1259 * include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
1260 Just use a static member.
1261 (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
1263 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
1264 anonymous union together with _CharT to fix alignment issues,
1265 rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.
1266 (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
1268 * include/ext/vstring_util.h (__is_null_p): Move inside struct
1269 __vstring_utility as static _S_is_null_pointer.
1270 * include/ext/sso_string.h
1271 (__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
1272 * include/ext/rc_string_base.h
1273 (__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
1275 Implement Option 3 of DR 431 for ext/vstring - both available bases.
1276 * include/bits/cpp_type_traits.h (struct __is_empty): Add.
1277 * include/ext/vstring.h (__versa_string<>::swap): Delegate to
1279 * include/ext/vstring.tcc (__versa_string<>::swap): Remove.
1280 * include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
1281 _Alloc_hider<>, augmented of allocator swapping facility, specialized
1282 to nop for empty allocators.
1283 * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
1284 (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
1285 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
1287 (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
1288 * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
1290 * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
1293 2005-11-17 Geoffrey Keating <geoffk@apple.com>
1295 * config/os/bsd/darwin/ppc-extra.ver: New.
1296 * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
1297 and make dependent on port symbol files.
1298 (libstdc++-symbol.explist): Use the generated .ver file, not
1300 * src/compatibility.cc [APPLE] (__eprintf): New.
1301 * src/Makefile.in: Regenerate.
1302 * configure.host (powerpc*-*-darwin*): Define
1303 port_specific_symbol_files.
1305 2005-11-16 Nathan Sidwell <nathan@codesourcery.com>
1307 * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
1308 foreign exception too.
1309 (__gnu_end_cleanup): Recover a foreign exception too.
1310 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
1311 with forced unwinding.
1312 * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
1313 _Unwind_Resume_or_Rethrow for ARM EABI.
1315 2005-11-14 Geoffrey Keating <geoffk@apple.com>
1317 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
1318 shared libgcc for darwin exports.
1319 * configure: Regenerate.
1321 2005-11-13 Jonathan Wakely <redi@gcc.gnu.org>
1323 * include/tr1/boost_shared_ptr.h (get_deleter):
1324 Declare before shared_ptr.
1325 (shared_ptr<>): Declare get_deleter as friend.
1326 (shared_ptr<>:_M_get_deleter): Private.
1328 2005-11-13 Douglas Gregor <doug.gregor@gmail.com>
1331 * include/tr1/ref_wrap_iterate.h
1332 (reference_wrapper::operator()()): Don't dereferene the result of
1333 get() before calling it; it's already a reference.
1334 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
1335 Test nullary calls to reference_wrappers.
1337 2005-11-11 Paolo Carlini <pcarlini@suse.de>
1340 * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
1341 (with complemented logic).
1342 (is_function): Use it, don't use __conv_helper.
1343 (is_abstract): Adjust.
1344 (__conv_helper): Rename to __is_convertible_simple.
1345 (is_convertible): Adjust.
1346 * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
1347 * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
1349 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
1351 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
1354 2005-11-11 Paolo Carlini <pcarlini@suse.de>
1357 * include/tr1/functional (hash): Inherit from std::unary_function.
1358 * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
1361 * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
1362 swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
1363 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1367 * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
1368 * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
1371 2005-11-10 Paolo Carlini <pcarlini@suse.de>
1373 * testsuite/tr1/2_general_utilities/memory/
1374 enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
1375 * testsuite/tr1/2_general_utilities/memory/
1376 enable_shared_from_this/not_shared2.cc: Likewise.
1377 * testsuite/tr1/2_general_utilities/memory/
1378 enable_shared_from_this/not_shared3.cc: Likewise.
1380 2005-11-10 Paolo Carlini <pcarlini@suse.de>
1382 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1383 weak_release): Protect barriers with __GTHREADS.
1385 2005-11-10 Paolo Carlini <pcarlini@suse.de>
1386 Peter Dimov <pdimov@mmltd.net>
1388 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
1389 Optimize by manually inlining weak_release.
1391 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1392 weak_release): Use explicit memory barriers.
1394 2005-11-09 Benjamin Kosnik <bkoz@redhat.com>
1395 Paolo Carlini <pcarlini@suse.de>
1396 Gabriel Dos Reis <gdr@integrable-solutions.net>
1399 * numeric_limits.cc: Split into...
1400 * numeric_limits/specialization.cc: ..this.
1401 * numeric_limits/is_iec559.cc: Same.
1402 * numeric_limits/sign.cc: Same.
1403 * numeric_limits/quiet_NaN.cc: Same.
1404 * numeric_limits/digits10.cc: Same.
1405 * numeric_limits/denorm_min.cc: Same.
1406 * numeric_limits/min_max.cc: Same.
1407 * numeric_limits/epsilon.cc: Same.
1408 * numeric_limits/infinity.cc: Same.
1409 * numeric_limits/traps.cc: New.
1411 2005-11-09 Paolo Carlini <pcarlini@suse.de>
1413 * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
1415 2005-11-08 Benjamin Kosnik <bkoz@redhat.com>
1417 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
1418 exe as the executable extension.
1420 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
1422 (GLIBCXX_ENABLE_PCH): Adjust message order.
1423 * configure: Regenerate.
1425 * scripts/testsuite_flags.in (query): Correct print_usagex typo.
1427 * include/bits/functexcept.h: Remove argument names.
1429 * src/mt_allocator.cc: Adjust comment.
1431 2005-11-06 Paolo Carlini <pcarlini@suse.de>
1434 * include/bits/stl_queue.h (priority_queue): Tweak a bit the
1435 comment describing the container.
1437 2005-11-05 Paolo Carlini <pcarlini@suse.de>
1439 * configure.host: Add | rs6000 to the cpu_defines_dir switch,
1440 consistently with the try_cpu one.
1442 2005-11-05 Paolo Carlini <pcarlini@suse.de>
1445 * include/bits/c++config: Include cpu_defines.h.
1446 * include/Makefile.am: Add cpu_defines.h to host_headers.
1447 * configure.host: Add cpu_defines_dir.
1448 * configure.ac: Use it.
1449 * config/cpu/powerpc/cpu_defines.h: New.
1450 * config/cpu/generic/cpu_defines.h: Likewise.
1451 * configure: Regenerate.
1452 * Makefile.in: Likewise.
1453 * include/Makefile.in: Likewise.
1454 * libmath/Makefile.in: Likewise.
1455 * libsupc++/Makefile.in: Likewise.
1456 * po/Makefile.in: Likewise.
1457 * src/Makefile.in: Likewise.
1458 * testsuite/Makefile.in: Likewise.
1460 2005-11-03 Paolo Carlini <pcarlini@suse.de>
1462 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
1463 Change the various traits_type::copy call to always copy the
1464 entire local buffer; return early and don't do a full swap on
1465 the lengths for two common cases; change two _S_copy to plain
1468 2005-11-02 Thomas Kho <tkho@ucla.edu>
1471 * include/bits/stl_vector.h (vector<>::clear): Open code
1472 in terms of _Destroy.
1474 2005-11-02 Paolo Carlini <pcarlini@suse.de>
1476 * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
1478 2005-11-01 Paolo Carlini <pcarlini@suse.de>
1481 * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
1482 Move out of shared_ptr.
1483 * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
1486 2005-10-30 Paolo Carlini <pcarlini@suse.de>
1489 * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
1490 * include/c_std/std_cstdlib.h: Likewise.
1491 * include/c_std/std_cstdio.h: Likewise.
1492 * include/c_std/std_cstdarg.h: Likewise.
1493 * include/c_std/std_cctype.h: Likewise.
1494 * include/c_std/std_cerrno.h: Likewise.
1495 * include/c_std/std_cmath.h: Likewise.
1496 * include/c_std/std_ciso646.h: Likewise.
1497 * include/c_std/std_ctime.h: Likewise.
1498 * include/c_std/std_clocale.h: Likewise.
1499 * include/c_std/std_climits.h: Likewise.
1500 * include/c_std/std_cassert.h: Likewise.
1501 * include/c_std/std_csetjmp.h: Likewise.
1502 * include/c_std/std_cwchar.h: Likewise.
1503 * include/c_std/std_cfloat.h: Likewise.
1504 * include/c_std/std_cstring.h: Likewise.
1505 * include/c_std/std_cstddef.h: Likewise.
1506 * include/c_std/std_cwctype.h: Likewise.
1508 2005-10-29 Carey Evans <carey.evans@gmail.com>
1511 * config/os/djgpp/ctype_inline.h: Fix.
1512 * config/os/djgpp/ctype_noninline.h: Likewise.
1514 2005-10-28 Paolo Carlini <pcarlini@suse.de>
1517 * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
1518 * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
1520 2005-10-25 Paolo Carlini <pcarlini@suse.de>
1522 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
1523 * docs/html/ext/howto.html: Adjust.
1525 2005-10-21 Paolo Carlini <pcarlini@suse.de>
1528 * config/locale/generic/time_members.h (__timepunct<>::
1529 __timepunct(__c_locale, const char*, size_t)): Avoid leaking
1530 memory if new throws inside _M_initialize_timepunct.
1531 * config/locale/gnu/time_members.h (__timepunct<>::
1532 __timepunct(__c_locale, const char*, size_t)): Likewise.
1533 * config/locale/gnu/message_members.h (messages<>::
1534 messages(__c_locale, const char*, size_t)): Rearrange to
1537 2005-10-19 Paolo Carlini <pcarlini@suse.de>
1539 * include/ext/sso_string_base.h (_M_swap): Rewrite.
1541 2005-10-19 Paolo Carlini <pcarlini@suse.de>
1543 * include/ext/rc_string_base.h (_S_terminal): Remove.
1544 (_M_set_length): Adjust.
1545 (_S_max_size): Change to anonymous enum.
1546 (_M_max_size()): Add, returns the latter.
1547 * include/ext/sso_string_base.h: Likewise.
1548 * include/ext/vstring.h (max_size): Adjust.
1550 2005-10-17 Jonathan Wakely <redi@gcc.gnu.org>
1553 * include/tr1/boost_shared_ptr.h
1554 (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
1555 is defined, initialize the mutex.
1557 2005-10-15 Paolo Carlini <pcarlini@suse.de>
1559 * include/tr1/functional: Add missing #pragma GCC system_header.
1561 2005-10-14 Paolo Carlini <pcarlini@suse.de>
1563 * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
1564 (hashtable::erase(iterator), erase(const_iterator)): Adjust.
1566 2005-10-13 Richard Earnshaw <richard.earnsahw@arm.com>
1569 * acinclude.m4 (port_specific_symbol_files): More symbol versioning
1571 * configure: Regenerate.
1573 2005-10-13 Hans-Peter Nilsson <hp@axis.com>
1575 * testsuite/lib/libstdc++.exp (libstdc++_init): Require
1576 native testing before setting v3-sharedlib to 1.
1578 2005-10-12 Joe Buck <Joe.Buck@synopsys.com>
1580 * docs/html/27_io/howto.html: Use reference to ifstream when
1583 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
1586 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
1588 * configure: Regenerate.
1590 2005-10-10 Benjamin Kosnik <bkoz@redhat.com>
1592 * configure.ac (libtool_VERSION): To 6:7:0.
1593 * configure: Regenerate.
1594 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
1595 * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
1597 2005-10-10 Ian Lance Taylor <ian@airs.com>
1600 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
1602 * src/locale.cc: Define here, add mutex.
1604 2005-10-09 Paolo Carlini <pcarlini@suse.de>
1606 PR libstdc++/24061 (issue 6.19)
1607 * include/tr1/hashtable (struct node_const_iterator, struct
1608 hashtable_const_iterator): New, add const variants to enable separate
1609 overloadings for iterator and const_iterator in unordered_set and
1610 unordered_multiset (as required by issue 6.19).
1611 (class hashtable): Change the mutable_iterators template parameter
1612 to constant_iterators and adjust throughout the logic.
1613 (hashtable::insert(iterator, const value_type&), erase(iterator)
1614 erase(iterator, iterator)): New, as per issue 6.19.
1615 (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
1616 and erase(const_iterator).
1617 (hashtable::Insert_Conv_Type): New, used by insert(iterator,
1618 const value_type&) and insert(const_iterator, const value_type&)
1619 to delegate the work to insert(const value_type&).
1620 * include/tr1/unordered_map (class unordered_map, unordered_multimap):
1622 * include/tr1/unordered_set (class unordered_set, unordered_multiset):
1624 * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
1625 * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
1626 * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
1627 * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
1628 * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
1629 * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
1630 * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
1631 * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
1633 2005-10-08 Kazu Hirata <kazu@codesourcery.com>
1635 Merge from csl-arm-branch:
1636 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
1637 * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
1639 2005-10-07 Paolo Carlini <pcarlini@suse.de>
1641 Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
1642 of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
1643 * include/ext/rc_string_base.h (_M_refcopy): Move inside the
1644 _Rep class and remove code in macro.
1645 (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
1646 (_M_dispose, _M_leak_hard): Remove code in macro.
1647 (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
1650 * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
1653 2005-10-07 Benjamin Kosnik <bkoz@redhat.com>
1655 * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
1657 2005-10-05 Paolo Carlini <pcarlini@suse.de>
1659 * include/ext/sso_string_base.h (struct __sso_string_local):
1660 Remove, actually POD types cannot have user defined constructors
1661 (being aggregates) and therefore can always be members of unions.
1662 (class __sso_string_base): Adjust consistently.
1664 2005-10-05 Paolo Carlini <pcarlini@suse.de>
1667 * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
1669 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
1670 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
1671 * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
1672 * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
1673 * testsuite/27_io/basic_ios/3.cc: Likewise.
1674 * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
1675 * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
1676 * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
1677 * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
1678 * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
1679 * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
1680 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
1681 * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
1682 * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
1684 2005-10-05 Paolo Carlini <pcarlini@suse.de>
1686 PR libstdc++/11729 (DR 280, [Ready])
1687 * include/bits/stl_iterator.h: Add reverse_iterator global
1688 functions with two template parameters (operator==, !=, <,
1690 * testsuite/24_iterators/reverse_iterator/11729.cc: New.
1691 * docs/html/ext/howto.html: Add an entry for issue 280.
1693 2005-10-03 Paolo Carlini <pcarlini@suse.de>
1695 * include/tr1/hashtable
1696 (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
1697 take a "false" (i.e., is_const == false) node_iterator.
1698 (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
1699 true,>&)): Likewise for hashtable_iterator.
1700 (hashtable::const_local_iterator): Fix typedef (is_const == true).
1701 (hashtable::const_iterator): Likewise.
1702 * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
1703 * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
1704 * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
1705 * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
1707 2005-10-02 Paolo Carlini <pcarlini@suse.de>
1710 * include/tr1/hashtable (erase(const key_type&)): Return the
1711 number of elements erased.
1712 * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
1714 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>
1716 * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
1719 2005-09-30 Paolo Carlini <pcarlini@suse.de>
1722 * include/tr1/hashtable (hash_code_base<>::store_code): Add.
1723 (hashtable<>::insert(const value_type&)): Use it.
1724 * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
1726 2005-09-30 Paolo Carlini <pcarlini@suse.de>
1729 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
1730 __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
1731 (__verify_grouping): Do the last check only if __grouping[__min] > 0.
1732 (__add_grouping<>): End recursion if *__gbeg <= 0.
1733 * testsuite/22_locale/num_get/get/char/23953.cc: New.
1734 * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
1735 * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
1736 * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
1738 2005-09-29 Chris Jefferson <chris@bubblescope.net>
1741 * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
1742 * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
1744 * include/tr1/functional (ref, cref): Make inline.
1745 * include/tr1/tuple_iterate.h (tie): Correct formatting.
1746 (make_tuple): Make inline.
1748 2005-09-25 Benjamin Kosnik <bkoz@redhat.com>
1749 Eric Botcazou <ebotcazou@libertysurf.fr>
1751 * include/ext/mt_allocator.h
1752 (__per_type_pool<...true>::_S_initialize_once): Always call
1754 (__common_pool<...true>::_S_initialize_once): Same.
1756 2005-09-23 Benjamin Kosnik <bkoz@redhat.com>
1758 * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
1759 * testsuite/ext/mt_allocator/tune-2.cc: Same.
1760 * testsuite/ext/mt_allocator/tune-3.cc: Same.
1761 * testsuite/ext/mt_allocator/tune-4.cc: Same.
1763 2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
1766 * include/ext/mt_allocator.h: Remove excess
1767 policy_type::_S_get_pool calls in constructors.
1769 2005-09-18 Paolo Carlini <pcarlini@suse.de>
1771 PR libstdc++/23417 (cont)
1772 * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
1773 initialization list for -Weffc++.
1775 2005-09-16 Janis Johnson <janis187@us.ibm.com>
1777 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
1780 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>
1785 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
1786 Add in check for __NO_INLINE__ for warning.
1787 * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
1788 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
1789 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
1791 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1794 2005-09-15 Paolo Carlini <pcarlini@suse.de>
1797 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
1798 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1799 Don't call operator<<(long), operator<<(unsigned long), or
1800 operator<<(double), do the work mandated by the resolution of DR117...
1801 * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
1802 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1804 * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
1806 2005-09-15 Mark Mitchell <mark@codesourcery.com>
1808 * testsuite/testsuite_character.h: Specialize character<>
1809 templates in __gnu_cxx, not in __gnu_test.
1811 2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk>
1812 Benjamin Kosnik <bkoz@redhat.com>
1815 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
1816 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1819 2005-09-12 David Edelsohn <dje@gcc.gnu.org>
1823 * include/Makefile.am (stamp-assoc): Install each subgroup
1824 of headers separately.
1825 * include/Makefile.in: Regenerate.
1827 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
1829 * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
1830 * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
1831 shared only for linux.
1833 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
1834 David Edelsohn <dje@gcc.gnu.org>
1838 * include/Makefile.am (assoc_headers): Break into five sub values.
1839 (install-headers): Use them.
1840 (stamp-assoc): Same.
1841 * include/Makefile.in: Regenerate.
1843 2005-09-12 Chris Jefferson <chris@bubblescope.net>
1845 * include/bits/stl_algo.h (search_n): Delegate to specializations.
1846 (search_n(,,,,binary_predicate)): Likewise.
1847 (__search_n(forward_iterator_tag)): Original search_n, tweak to
1848 remove an unnecessary comparison.
1849 (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
1851 2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
1853 * include/bits/stl_algo.h
1854 (__search_n(std::random_access_iterator_tag)): Add specialization.
1855 (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
1858 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
1861 * include/bits/stl_list.h (_List_impl): Use member initialization
1863 * include/bits/stl_tree.h (_Rb_tree_impl): Same.
1865 2005-09-12 Paolo Carlini <pcarlini@suse.de>
1868 * include/bits/stl_iterator.h (__normal_iterator::
1869 __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
1870 Enable only when _Iter is equal to _Container::pointer.
1871 * testsuite/21_strings/basic_string/types/23767.cc: New.
1872 * testsuite/23_containers/vector/types/23767.cc: Likewise.
1873 * testsuite/ext/vstring/types/23767.cc: Likewise.
1875 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
1879 * include/ext/mt_allocator.h
1880 (__gnu_cxx::__create_handler): Remove.
1881 (__pool<true>::_M_destroy_thread_key): Compatibility only.
1882 (__pool<true>::_M_initialize(__destroy): Same.
1883 (__pool<true>::_M_initialize): New.
1884 (__pool<true>::_M_initialize_once): Nothing fancy.
1885 (__pool<true>::_M_once): Remove.
1886 (__common_pool): New.
1887 (__common_pool_base): New.
1888 (__per_type_pool): New.
1889 (__per_type_pool_base): New.
1890 * src/mt_allocator.cc: Same.
1891 * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
1893 2005-09-11 Jakub Jelinek <jakub@redhat.com>
1897 * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
1898 (__gnu_internal::__freelist): New type.
1899 (__gnu_internal::freelist): New variable.
1900 (__gnu_internal::_M_destroy_thread_key): New function.
1901 (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
1902 _M_thread_freelist_initial.
1903 (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
1904 Don't use _M_thread_freelist and _M_thread_freelist_initial
1905 __pool<true> fields, instead use __gnu_internal::freelist fields, call
1906 gthread_key_create just once. Use
1907 __gnu_internal::_M_destroy_thread_key as key destructor.
1908 (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
1909 rather than _Thread_record* in the thread specific value. Don't
1910 use _M_thread_freelist __pool<true> field, instead use
1911 __gnu_internal::freelist fields.
1912 (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
1914 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
1915 Jakub Jelinek <jakub@redhat.com>
1919 * testsuite/testsuite_shared.cc: New.
1920 * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
1921 * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
1922 library, and set v3-sharedlib based on this.
1923 (check_v3_target_sharedlib): New.
1924 (proc v3-build_support): Build shared objects.
1925 * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
1927 2005-09-11 Paolo Carlini <pcarlini@suse.de>
1930 * include/bits/stl_list.h (_List_iterator<>::
1931 _List_iterator(_List_node_base*), _List_const_iterator<>::
1932 _List_const_iterator(const _List_node_base*)): Make explicit.
1933 (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
1935 * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
1937 * include/bits/stl_tree.h (_Rb_tree_iterator<>::
1938 _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
1939 _Rb_tree_const_iterator(_Link_type)): Make explicit.
1940 (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
1941 * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
1943 (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
1944 Adjust consistently.
1945 * include/tr1/hashtable (hashtable_iterator<>::
1946 hashtable_iterator(hash_node<>**)): Make explicit.
1947 * testsuite/23_containers/list/23781.cc: New.
1948 * testsuite/23_containers/map/23781.cc: Likewise.
1949 * testsuite/23_containers/multimap/23781.cc: Likewise.
1950 * testsuite/23_containers/multiset/23781.cc: Likewise.
1951 * testsuite/23_containers/set/23781.cc: Likewise.
1952 * testsuite/ext/slist/23781.cc: Likewise.
1953 * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
1954 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
1956 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
1958 * include/tr1/array (array<>::begin(), array<>::end()): Adjust
1959 stylistically for consistency with the other containers.
1961 2005-09-10 Joseph S. Myers <joseph@codesourcery.com>
1963 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1964 XFAIL on *-*-linux*, not *-*-linux-gnu.
1966 2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
1967 Jakub Jelinek <jakub@redhat.com>
1969 * src/debug.cc (iterator_base_mutex): Make static for internal
1971 * src/locale_init.cc (locale_mutex): Same.
1972 * src/mt_allocator.cc (freelist_mutex): Same.
1973 * src/pool_allocator.cc (palloc_init_mutex): Same.
1975 2005-09-02 Paolo Carlini <pcarlini@suse.de>
1977 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
1978 Reduce maximum size and lf.
1980 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
1982 * include/c_std/std_cmath.h: Declare C99 functions and helper
1983 functions as inline.
1985 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
1986 Paolo Carlini <pcarlini@suse.de>
1988 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
1991 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
1993 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
1994 * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
1995 * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
1996 * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
1997 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
1998 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
1999 * docs/html/ext/mt_allocator.html: Add link to examples.
2000 * testsuite/testsuite_allocator.h: Tweak.
2001 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
2002 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
2003 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
2004 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
2005 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
2006 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
2007 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
2008 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
2009 * testsuite/ext/new_allocator/deallocate_global.cc: Same.
2010 * testsuite/ext/new_allocator/deallocate_local.cc: Same.
2012 2005-08-31 Paolo Carlini <pcarlini@suse.de>
2013 Kaspar Fischer <fischerk@inf.ethz.ch>
2016 * include/bits/stl_bvector.h (_Bit_iterator::operator[],
2017 _Bit_const_iterator::operator[]): Const-ify.
2018 * testsuite/23_containers/vector/bool/23632.cc: New.
2020 2005-08-30 Paolo Carlini <pcarlini@suse.de>
2022 PR libstdc++/23578 (cont)
2023 * include/bits/stl_bvector.h (class vector<bool>): Add
2024 a dummy data() to avoid problems in debug-mode.
2026 2005-08-30 Paolo Carlini <pcarlini@suse.de>
2028 * testsuite/ext/hash_map/23528.cc: New.
2030 2005-08-29 Paolo Carlini <pcarlini@suse.de>
2032 * include/bits/stl_map.h (class map): ... and a missing @a.
2034 2005-08-29 Paolo Carlini <pcarlini@suse.de>
2036 * include/bits/stl_map.h (class map): Add missing % in comment.
2038 2005-08-29 Paolo Carlini <pcarlini@suse.de>
2040 PR libstdc++/23578 (DR 464 [Ready])
2041 * include/bits/stl_map.h (class map): Add at(const key_type&)
2043 * include/bits/stl_vector.h (class vector): Add data() member
2045 * include/debug/map.h (class map): Adjust consistently.
2046 * include/debug/vector (class vector): Likewise.
2047 * testsuite/23_containers/map/element_access/1.cc: New.
2048 * testsuite/23_containers/vector/data_access/1.cc: Likewise.
2049 * docs/html/ext/howto.html: Add an entry for DR 464.
2051 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
2053 PR libstdc++/20534 (contd)
2054 * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
2055 Remove cstdio and cstdlib includes.
2056 * include/debug/debug.h: Define inline here. Remove
2057 _GLIBCXX_DEBUG_ABORT.
2058 * include/debug/macros.h: Remove __fancy_abort declaration,
2059 _GLIBXX_DEBUG_ABORT definition.
2060 * config/linker-map.gnu: Remove export.
2062 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
2064 * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
2066 2005-08-26 Paolo Carlini <pcarlini@suse.de>
2069 * include/tr1/array: Implement members back(), front(), data(),
2070 and the tuple interface; tidy.
2071 * testsuite/tr1/6_containers/array/element_access/back.cc: New.
2072 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
2073 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
2074 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
2075 * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
2077 * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
2080 2005-08-25 Paolo Carlini <pcarlini@suse.de>
2082 * include/tr1/hashtable: Use __throw_exception_again,
2083 not naked throw, in the catch clauses.
2085 2005-08-24 Lawrence Lim <llim@redhat.com>
2086 Jakub Jelinek <jakub@redhat.com>
2087 Benjamin Kosnik <bkoz@redhat.com>
2090 * testsuite/21_strings/char_traits/requirements/char/1.cc
2091 (test01): Simplify counting.
2092 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
2095 2005-08-24 Paolo Carlini <pcarlini@suse.de>
2096 Chris Jefferson <chris@bubblescope.net>
2099 * include/tr1/hashtable (hash_code_base::m_swap): Use
2101 (hashtable<>::hashtable(const hashtable&)): Use copy_code;
2102 fix m_allocate_node call.
2103 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
2105 2005-08-23 Kelley Cook <kcook@gcc.gnu.org>
2108 * testsuite/data/sgetn.txt: Revert to previous FSF address.
2110 2005-08-23 Thomas Kho <tkho@ucla.edu>
2113 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
2114 _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
2116 2005-08-22 Geoffrey Keating <geoffk@apple.com>
2118 * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
2119 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
2121 2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
2123 * config/cpu/sh/atomicity.h: Replace broken generic code with current
2124 copy of generic/atomicity.h .
2126 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
2128 * All files: Update FSF address.
2130 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
2132 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
2133 xfail on *-*-darwin*.
2135 2005-08-03 Geoffrey Keating <geoffk@apple.com>
2137 * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
2138 GLIBCXX_IS_NATIVE on Darwin crosses.
2139 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
2140 the testsuite just because there's no symbol versioning.
2141 * configure: Regenerate.
2143 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
2145 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
2146 (GLIBCXX_CHECK_POLL): Likewise.
2147 (GLIBCXX_CHECK_WRITEV): Likewise.
2148 (GLIBCXX_CHECK_INT64_T): Likewise.
2149 (GLIBCXX_CHECK_LFS): Likewise.
2150 * configure: Regenerate.
2152 2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
2154 * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
2156 2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
2159 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
2160 the change to info.ttype_base.
2162 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2164 * include/std/std_valarray.h: Fix grammar in comments.
2166 2005-07-25 Geoffrey Keating <geoffk@apple.com>
2168 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
2169 and make it the default for Darwin.
2170 * scripts/make-exports.pl: New.
2171 * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
2172 Handle darwin-export.
2173 * configure: Regenerate.
2174 * include/Makefile.in: Regenerate.
2175 * libmath/Makefile.in: Regenerate.
2176 * libsupc++/Makefile.in: Regenerate.
2177 * po/Makefile.in: Regenerate.
2178 * src/Makefile.in: Regenerate.
2179 * testsuite/Makefile.in: Regenerate.
2181 2005-07-25 Dave Odell <evilalias@hotmail.com>
2184 * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
2185 * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
2187 2005-07-25 Paolo Carlini <pcarlini@suse.de>
2190 * include/bits/basic_string.h: Declare the specialization
2191 operator>>(basic_istream<char>&, basic_string<char>&).
2192 * include/std/std_istream.h: Declate the specialization
2193 operator>>(basic_istream<char>&, char*).
2194 * include/std/std_streambuf.h (basic_streambuf): Add friend
2195 declarations for the above.
2196 * src/istream.cc: Define the above.
2197 * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
2198 * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
2200 * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
2202 2005-07-20 Paolo Carlini <pcarlini@suse.de>
2204 * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
2206 * src/streambuf.cc (__copy_streambufs): Likewise.
2208 2005-07-18 Paolo Carlini <pcarlini@suse.de>
2210 * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
2211 Speed-up for the common case of mask == ctype_base::space;
2212 otherwise, exit the loop earlier if the mask is one of the
2215 2005-07-14 Paolo Carlini <pcarlini@suse.de>
2217 PR libstdc++/21193 (float, double, long double)
2218 * include/tr1/functional (hash<float>, hash<double>):
2219 Reimplement exploiting the Fnv_hash<>::hash helper.
2220 (hash<long double>): Reimplement using frexp (in this
2221 case, due to random padding bits, the former approach
2222 is not generally viable).
2224 2005-07-13 Paolo Carlini <pcarlini@suse.de>
2226 PR libstdc++/21193 (string & wstring)
2227 * include/tr1/functional (hash<string>, hash<wstring>):
2228 Reimplement using the FNV hash.
2230 * include/tr1/functional: Trivial formatting fixes.
2232 2005-07-11 Paolo Carlini <pcarlini@suse.de>
2234 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
2235 basic_ostream<>::operator<<(long long)): Don't deal with oct
2236 and hex and casts to unsigned here...
2237 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
2238 const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
2239 long, const _CharT*, ios_base::fmtflags)): ... do that here,
2240 instead, as per Table 57.
2241 (num_put<>::_M_insert_int): Tidy treatment of numeric base and
2243 * include/std/std_ostream.h (operator<<(short), operator<<(int)):
2244 Adjust logic, as per the letter of the resolution of DR117 [WP].
2245 * testsuite/22_locale/num_put/put/char/10.cc: New.
2246 * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
2247 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
2249 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
2252 2005-07-07 David Edelsohn <edelsohn@gnu.org>
2254 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
2255 Change map_t to map_type.
2257 2005-07-05 Paolo Carlini <pcarlini@suse.de>
2259 Add class __versa_string, a versatile "basic_string-type" class:
2260 an additional, non-standard, template parameter allows to specify
2261 the preferred base class. Two are provided: __rc_string_base,
2262 which implements a behavior very similar to our standard string,
2263 and __sso_string_base, not reference-counted and optimized for
2265 * include/ext/rc_string_base.h: New.
2266 * include/ext/sso_string_base.h: Likewise.
2267 * include/ext/vstring.h: Likewise.
2268 * include/ext/vstring.tcc: Likewise.
2269 * include/ext/vstring_fwd.h: Likewise.
2270 * include/ext/vstring_util.h: Likewise.
2271 * include/Makefile.am: Add.
2272 * include/Makefile.in: Regenerate.
2273 * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
2274 * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
2275 * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
2276 * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
2278 * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
2279 officially used by v3).
2280 * aclocal.m4: Likewise.
2281 * libmath/Makefile.in: Likewise.
2282 * libsupc++/Makefile.in: Likewise.
2283 * po/Makefile.in: Likewise.
2284 * src/Makefile.in: Likewise.
2285 * testsuite/Makefile.in: Likewise.
2287 2005-07-01 Paolo Carlini <pcarlini@suse.de>
2289 Port from libstdcxx_so_7-branch:
2290 2004-10-28 Chris Jefferson <chris@bubblescope.net>
2293 * include/bit/stl_algo.h (find(,,,input_iterator_tag),
2294 find(,,,random_access_interator_tag),
2295 find_if(,,,input_iterator_tag),
2296 find_if(,,,random_access_iterator_tag)): Uglify function name.
2297 (find, find_if): Use new uglified specialisation names.
2298 * testsuite/25_algorithms/find/17441.cc: New.
2300 2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
2302 * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
2303 (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
2304 type before shifting.
2306 2005-06-29 Paolo Carlini <pcarlini@suse.de>
2308 PR libstdc++/21244 (cont^2)
2309 * include/ext/bitmap_allocator.h: Convert everywhere
2310 bits_per_block to size_t.
2312 2005-06-29 Jonathan Wakely <redi@gcc.gnu.org>
2314 * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
2315 Doxygen comments that use wrong parameter and function names.
2317 2005-06-29 Paolo Carlini <pcarlini@suse.de>
2319 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
2320 * docs/html/ext/howto.html: Adjust.
2322 2005-06-29 Paolo Carlini <pcarlini@suse.de>
2325 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
2326 num_get<>::_M_extract_float, money_get<>::_M_extract):
2327 Adjust to assign the result also when digit grouping is
2328 wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
2329 (NB: consistently for money_get too).
2330 * config/locale/generic/c_locale.cc (__convert_to_v): Do
2331 not check ios_base::failbit at the outset.
2332 * config/locale/gnu/c_locale.cc: Likewise.
2333 * testsuite/22_locale/money_get/get/char/22131.cc: New.
2334 * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
2335 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
2336 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
2337 * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
2338 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
2339 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
2341 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
2344 2005-06-28 Paul Brook <paul@codesourcery.com>
2346 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
2348 * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
2349 * libsupc++/eh_arm.cc: New file.
2350 * libsupc++/eh_call.cc: New file.
2351 * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
2352 __gxx_caught_object.
2353 (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
2354 _Unwind_Complete when using the ARM EABI.
2355 (__cxa_end_catch): Use __is_gxx_exception_class.
2356 * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
2358 (save_caught_exception, restore_caught_exception): New functions.
2359 (_throw_typet): New typedef.
2360 (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
2361 EABI implementations.
2362 (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
2364 (__cxa_unexpected): Disable when using the ARM EABI.
2365 * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
2366 (__cxa_rethrow): Use __is_gxx_exception_class. Call
2367 _Unwind_RaiseException when using the ARM EABI.
2368 * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
2370 (struct __cxa_eh_globals): Ditto.
2371 (__cxa_call_terminate): Add prototype.
2372 (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
2374 (__get_exception_header_from_obj, __get_exception_header_from_ue):
2375 Move earlier in file.
2376 (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
2377 __gxx_caught_object): New functions.
2378 * aclocal.m4: Regenerate.
2379 * configure: Regenerate.
2380 * Makefile.in: Regenerate.
2381 * include/Makefile.in: Regenerate.
2382 * libmath/Makefile.in: Regenerate.
2383 * libsupc++/Makefile.in: Regenerate.
2384 * po/Makefile.in: Regenerate.
2385 * src/Makefie.in: Regenerate.
2386 * testsuite/makefile.in: Regenerate.
2388 2005-06-27 Paolo Carlini <pcarlini@suse.de>
2391 * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
2392 insert_equal((iterator, const _Val&)): Reimplement to check both
2393 before and after, as per the algorithm "ignore hint if wrong" of
2396 2005-06-27 Benjamin Kosnik <bkoz@redhat.com>
2397 Ami Tavory <pbassoc@gmail.com>
2399 * docs/html/documentation.html: Add link for policy based
2400 associative containers docs.
2401 * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
2402 * docs/html/ext/pb_assoc/acks.html: New.
2403 * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
2404 * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
2405 * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
2406 * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
2407 * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
2408 * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
2409 * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
2410 * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
2411 * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
2412 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
2413 * docs/html/ext/pb_assoc/
2414 basic_tree_assoc_cntnr_const_node_iterator.html: New.
2415 * docs/html/ext/pb_assoc/
2416 basic_tree_assoc_cntnr_node_iterator.html: New.
2417 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
2418 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
2419 * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
2420 * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
2421 * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
2422 * docs/html/ext/pb_assoc/
2423 cc_hash_max_collision_check_resize_trigger.html: New.
2424 * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
2425 * docs/html/ext/pb_assoc/cd.jpg: New.
2426 * docs/html/ext/pb_assoc/component_requirements.html: New.
2427 * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
2428 * docs/html/ext/pb_assoc/compound_data_type.html: New.
2429 * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
2430 * docs/html/ext/pb_assoc/concepts.html: New.
2431 * docs/html/ext/pb_assoc/contact.html: New.
2432 * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
2433 * docs/html/ext/pb_assoc/counter_update_policy.html: New.
2434 * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
2435 * docs/html/ext/pb_assoc/design.html: New.
2436 * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
2437 * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
2438 * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
2439 * docs/html/ext/pb_assoc/disclaimer.html: New.
2440 * docs/html/ext/pb_assoc/ds_gen.html: New.
2441 * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
2442 * docs/html/ext/pb_assoc/ds_traits.html: New.
2443 * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
2444 * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
2445 * docs/html/ext/pb_assoc/examples.html: New.
2446 * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
2447 * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
2448 * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
2449 * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
2450 * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
2451 * docs/html/ext/pb_assoc/generics.html: New.
2452 * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
2453 * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
2454 * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
2455 * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
2456 * docs/html/ext/pb_assoc/hash_based_containers.html: New.
2457 * docs/html/ext/pb_assoc/hash_cd.jpg: New.
2458 * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
2459 * docs/html/ext/pb_assoc/hash_fn.html: New.
2460 * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
2461 * docs/html/ext/pb_assoc/hash_policies.html: New.
2462 * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
2463 * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
2464 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
2465 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
2466 * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
2467 * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
2468 * docs/html/ext/pb_assoc/home.html: New.
2469 * docs/html/ext/pb_assoc/index.html: New.
2470 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
2471 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
2472 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
2473 * docs/html/ext/pb_assoc/insert_type_methods.html: New.
2474 * docs/html/ext/pb_assoc/interface.html: New.
2475 * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
2476 * docs/html/ext/pb_assoc/introduction.html: New.
2477 * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
2478 * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
2479 * docs/html/ext/pb_assoc/lib_download.html: New.
2480 * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
2481 * docs/html/ext/pb_assoc/list_updates.html: New.
2482 * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
2483 * docs/html/ext/pb_assoc/lu_based_containers.html: New.
2484 * docs/html/ext/pb_assoc/lu_cd.jpg: New.
2485 * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
2486 * docs/html/ext/pb_assoc/lu_ops.jpg: New.
2487 * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
2488 * docs/html/ext/pb_assoc/motivation.html: New.
2489 * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
2490 * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
2491 * docs/html/ext/pb_assoc/ms_cd.jpg: New.
2492 * docs/html/ext/pb_assoc/ms_gen.html: New.
2493 * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
2494 * docs/html/ext/pb_assoc/ms_traits.html: New.
2495 * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
2496 * docs/html/ext/pb_assoc/node_invariants.html: New.
2497 * docs/html/ext/pb_assoc/node_invariants.jpg: New.
2498 * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
2499 * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
2500 * docs/html/ext/pb_assoc/null_data_type.html: New.
2501 * docs/html/ext/pb_assoc/null_hash_fn.html: New.
2502 * docs/html/ext/pb_assoc/null_probe_fn.html: New.
2503 * docs/html/ext/pb_assoc/order_by_key.html: New.
2504 * docs/html/ext/pb_assoc/order_statistics_key.html: New.
2505 * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
2506 * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
2507 * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
2508 * docs/html/ext/pb_assoc/overview.html: New.
2509 * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
2510 * docs/html/ext/pb_assoc/portability.html: New.
2511 * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
2512 * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
2513 * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
2514 * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
2515 * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
2516 * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
2517 * docs/html/ext/pb_assoc/references.html: New.
2518 * docs/html/ext/pb_assoc/regression_tests.html: New.
2519 * docs/html/ext/pb_assoc/resize_general.html: New.
2520 * docs/html/ext/pb_assoc/resize_policies.html: New.
2521 * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
2522 * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
2523 * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
2524 * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
2525 * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
2526 * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
2527 * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
2528 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
2529 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
2530 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
2531 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
2532 * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
2533 * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
2534 * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
2535 * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
2536 * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
2537 * docs/html/ext/pb_assoc/size_policies_general.html: New.
2538 * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
2539 * docs/html/ext/pb_assoc/timing_tests.html: New.
2540 * docs/html/ext/pb_assoc/toc.html: New.
2541 * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
2542 * docs/html/ext/pb_assoc/
2543 tree_assoc_cntnr_const_node_iterator.html: New.
2544 * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
2545 * docs/html/ext/pb_assoc/tree_based_containers.html: New.
2546 * docs/html/ext/pb_assoc/tree_cd.jpg: New.
2547 * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
2548 * docs/html/ext/pb_assoc/tutorial.html: New.
2549 * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
2550 * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
2552 * include/Makefile.in: Regenerate.
2553 * include/ext/typelist.h: New.
2554 * include/ext/pb_assoc/assoc_cntnr.hpp: New.
2555 * include/ext/pb_assoc/data_type.hpp: New.
2556 * include/ext/pb_assoc/ds_trait.hpp: New.
2557 * include/ext/pb_assoc/exception.hpp: New.
2558 * include/ext/pb_assoc/hash_policy.hpp: New.
2559 * include/ext/pb_assoc/lu_policy.hpp: New.
2560 * include/ext/pb_assoc/ms_trait.hpp: New.
2561 * include/ext/pb_assoc/tree_policy.hpp: New.
2562 * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
2563 * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
2564 * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
2565 * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
2566 * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
2567 * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
2568 * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
2569 * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
2570 * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
2571 * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
2572 * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
2573 * include/ext/pb_assoc/detail/standard_policies.hpp: New.
2574 * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
2575 * include/ext/pb_assoc/detail/type_utils.hpp: New.
2576 * include/ext/pb_assoc/detail/typelist.hpp: New.
2577 * include/ext/pb_assoc/detail/types_traits.hpp: New.
2578 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2579 constructor_destructor_fn_imps.hpp: New.
2580 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2581 constructors_destructor_fn_imps.hpp: New.
2582 * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
2583 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2584 d_find_fn_imps.hpp: New.
2585 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2586 d_insert_fn_imps.hpp: New.
2587 * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
2588 * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
2589 * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
2590 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2591 insert_fn_imps.hpp: New.
2592 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2593 iterators_fn_imps.hpp: New.
2594 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2595 constructor_destructor_fn_imps.hpp: New.
2596 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2597 constructors_destructor_fn_imps.hpp: New.
2598 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2599 resize_fn_imps.hpp: New.
2600 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2601 constructor_destructor_fn_imps.hpp: New.
2602 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2603 constructors_destructor_fn_imps.hpp: New.
2604 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2605 erase_fn_imps.hpp: New.
2606 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2607 node_iteration_fn_imps.hpp: New.
2608 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2609 policy_access_fn_imps.hpp: New.
2610 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2611 r_erase_fn_imps.hpp: New.
2612 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2613 r_range_iteration_fn_imps.hpp: New.
2614 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2615 range_iteration_fn_imps.hpp: New.
2616 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2617 split_join_fn_imps.hpp: New.
2618 * include/ext/pb_assoc/detail/bin_search_tree_/
2619 bin_search_tree_.hpp: New.
2620 * include/ext/pb_assoc/detail/bin_search_tree_/
2621 cond_dtor_entry_dealtor.hpp: New.
2622 * include/ext/pb_assoc/detail/bin_search_tree_/
2623 cond_key_dtor_entry_dealtor.hpp: New.
2624 * include/ext/pb_assoc/detail/bin_search_tree_/
2625 constructors_destructor_fn_imps.hpp: New.
2626 * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
2627 * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
2628 * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
2629 * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
2630 * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
2631 * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
2632 * include/ext/pb_assoc/detail/bin_search_tree_/
2633 iterators_fn_imps.hpp: New.
2634 * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
2635 * include/ext/pb_assoc/detail/bin_search_tree_/
2636 r_erase_fn_imps.hpp: New.
2637 * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
2638 * include/ext/pb_assoc/detail/bin_search_tree_/
2639 split_join_fn_imps.hpp: New.
2640 * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
2641 constructor_destructor_fn_imps.hpp: New.
2642 * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
2643 * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
2644 * include/ext/pb_assoc/detail/cc_ht_map_/
2645 cond_key_dtor_entry_dealtor.hpp: New.
2646 * include/ext/pb_assoc/detail/cc_ht_map_/
2647 constructor_destructor_fn_imps.hpp: New.
2648 * include/ext/pb_assoc/detail/cc_ht_map_/
2649 constructor_destructor_no_store_hash_fn_imps.hpp: New.
2650 * include/ext/pb_assoc/detail/cc_ht_map_/
2651 constructor_destructor_store_hash_fn_imps.hpp: New.
2652 * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
2653 * include/ext/pb_assoc/detail/cc_ht_map_/
2654 debug_no_store_hash_fn_imps.hpp: New.
2655 * include/ext/pb_assoc/detail/cc_ht_map_/
2656 debug_store_hash_fn_imps.hpp: New.
2657 * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
2658 * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
2659 * include/ext/pb_assoc/detail/cc_ht_map_/
2660 erase_no_store_hash_fn_imps.hpp: New.
2661 * include/ext/pb_assoc/detail/cc_ht_map_/
2662 erase_store_hash_fn_imps.hpp: New.
2663 * include/ext/pb_assoc/detail/cc_ht_map_/
2664 find_fn_imps.hpp: New.
2665 * include/ext/pb_assoc/detail/cc_ht_map_/
2666 find_no_store_hash_fn_imps.hpp: New.
2667 * include/ext/pb_assoc/detail/cc_ht_map_/
2668 find_store_hash_fn_imps.hpp: New.
2669 * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
2670 * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
2671 * include/ext/pb_assoc/detail/cc_ht_map_/
2672 insert_no_store_hash_fn_imps.hpp: New.
2673 * include/ext/pb_assoc/detail/cc_ht_map_/
2674 insert_store_hash_fn_imps.hpp: New.
2675 * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
2676 * include/ext/pb_assoc/detail/cc_ht_map_/
2677 policy_access_fn_imps.hpp: New.
2678 * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
2679 * include/ext/pb_assoc/detail/cc_ht_map_/
2680 resize_no_store_hash_fn_imps.hpp: New.
2681 * include/ext/pb_assoc/detail/cc_ht_map_/
2682 resize_store_hash_fn_imps.hpp: New.
2683 * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
2684 * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
2685 * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
2686 * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
2687 * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
2688 constructor_destructor_fn_imps.hpp: New.
2689 * include/ext/pb_assoc/detail/gp_ht_map_/
2690 constructor_destructor_fn_imps.hpp: New.
2691 * include/ext/pb_assoc/detail/gp_ht_map_/
2692 constructor_destructor_no_store_hash_fn_imps.hpp: New.
2693 * include/ext/pb_assoc/detail/gp_ht_map_/
2694 constructor_destructor_store_hash_fn_imps.hpp: New.
2695 * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
2696 * include/ext/pb_assoc/detail/gp_ht_map_/
2697 debug_no_store_hash_fn_imps.hpp: New.
2698 * include/ext/pb_assoc/detail/gp_ht_map_/
2699 debug_store_hash_fn_imps.hpp: New.
2700 * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
2701 * include/ext/pb_assoc/detail/gp_ht_map_/
2702 erase_no_store_hash_fn_imps.hpp: New.
2703 * include/ext/pb_assoc/detail/gp_ht_map_/
2704 erase_store_hash_fn_imps.hpp: New.
2705 * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
2706 * include/ext/pb_assoc/detail/gp_ht_map_/
2707 find_no_store_hash_fn_imps.hpp: New.
2708 * include/ext/pb_assoc/detail/gp_ht_map_/
2709 find_store_hash_fn_imps.hpp: New.
2710 * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
2711 * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
2712 * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
2713 * include/ext/pb_assoc/detail/gp_ht_map_/
2714 insert_no_store_hash_fn_imps.hpp: New.
2715 * include/ext/pb_assoc/detail/gp_ht_map_/
2716 insert_store_hash_fn_imps.hpp: New.
2717 * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
2718 * include/ext/pb_assoc/detail/gp_ht_map_/
2719 policy_access_fn_imps.hpp: New.
2720 * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
2721 * include/ext/pb_assoc/detail/gp_ht_map_/
2722 resize_no_store_hash_fn_imps.hpp: New.
2723 * include/ext/pb_assoc/detail/gp_ht_map_/
2724 resize_store_hash_fn_imps.hpp: New.
2725 * include/ext/pb_assoc/detail/hash_fn/
2726 direct_mask_range_hashing_imp.hpp: New.
2727 * include/ext/pb_assoc/detail/hash_fn/
2728 direct_mod_range_hashing_imp.hpp: New.
2729 * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
2730 * include/ext/pb_assoc/detail/hash_fn/
2731 mask_based_range_hashing.hpp: New.
2732 * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
2733 * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
2734 * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
2735 * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
2736 * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
2737 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2738 constructor_destructor_fn_imps.hpp: New.
2739 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2740 policy_access_fn_imps.hpp: New.
2741 * include/ext/pb_assoc/detail/lu_map_/
2742 constructor_destructor_fn_imps.hpp: New.
2743 * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
2744 * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
2745 * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
2746 * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
2747 * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
2748 * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
2749 * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
2750 * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
2751 * include/ext/pb_assoc/detail/lu_policy/
2752 counter_lu_metadata_imp.hpp: New.
2753 * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
2754 * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
2755 * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
2756 * include/ext/pb_assoc/detail/ov_tree_map_/
2757 constructors_destructor_fn_imps.hpp: New.
2758 * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
2759 * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
2760 * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
2761 * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
2762 * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
2763 * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
2764 * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
2765 * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
2766 * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
2767 * include/ext/pb_assoc/detail/rb_tree_map_/
2768 constructors_destructor_fn_imps.hpp: New.
2769 * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
2770 * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
2771 * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
2772 * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
2773 * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
2774 * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
2775 * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
2776 * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
2777 * include/ext/pb_assoc/detail/resize_policy/
2778 cc_hash_max_collision_resize_trigger_imp.hpp: New.
2779 * include/ext/pb_assoc/detail/resize_policy/
2780 hash_exponential_size_policy_imp.hpp: New.
2781 * include/ext/pb_assoc/detail/resize_policy/
2782 hash_load_check_resize_trigger_imp.hpp: New.
2783 * include/ext/pb_assoc/detail/resize_policy/
2784 hash_prime_size_policy_imp.hpp: New.
2785 * include/ext/pb_assoc/detail/resize_policy/
2786 hash_standard_resize_policy_imp.hpp: New.
2787 * include/ext/pb_assoc/detail/resize_policy/
2788 ht_prime_size_policy_imp.hpp: New.
2789 * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
2790 * include/ext/pb_assoc/detail/splay_tree_/
2791 constructors_destructor_fn_imps.hpp: New.
2792 * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
2793 * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
2794 * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
2795 * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
2796 * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
2797 * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
2798 * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
2799 * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
2800 * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
2801 * include/ext/pb_assoc/detail/tree_assoc_cntnr/
2802 constructor_destructor_fn_imps.hpp: New.
2803 * include/ext/pb_assoc/detail/tree_policy/
2804 null_node_updator_imp.hpp: New.
2805 * include/ext/pb_assoc/detail/tree_policy/
2806 order_statistics_imp.hpp: New.
2807 * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
2808 * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
2809 * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
2810 * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
2811 * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
2812 * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
2813 * include/ext/pb_assoc/detail/typelist/
2814 typelist_typelist_append.hpp: New.
2815 * include/ext/pb_assoc/detail/unordered_iterator/
2816 const_find_iterator.hpp: New.
2817 * include/ext/pb_assoc/detail/unordered_iterator/
2818 const_iterator.hpp: New.
2819 * include/ext/pb_assoc/detail/unordered_iterator/
2820 find_iterator.hpp: New.
2821 * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
2822 * include/ext/pb_assoc/detail/value_type_adapter/
2823 constructor_destructor_and_related.hpp: New.
2824 * include/ext/pb_assoc/detail/value_type_adapter/
2825 erase_fn_imps.hpp: New.
2826 * include/ext/pb_assoc/detail/value_type_adapter/
2827 erase_if_pred.hpp: New.
2828 * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
2829 * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
2830 * include/ext/pb_assoc/detail/value_type_adapter/
2831 insert_fn_imps.hpp: New.
2832 * include/ext/pb_assoc/detail/value_type_adapter/
2833 invalidation_guarantee_selector.hpp: New.
2834 * include/ext/pb_assoc/detail/value_type_adapter/
2835 it_value_type_traits.hpp: New.
2836 * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
2837 * include/ext/pb_assoc/detail/value_type_adapter/
2838 iterator_fn_imps.hpp: New.
2839 * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
2840 * include/ext/pb_assoc/detail/value_type_adapter/
2841 value_type_adapter.hpp: New.
2842 * include/ext/pb_assoc/detail/value_type_adapter/
2843 value_type_traits.hpp: New.
2844 * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
2845 * testsuite/Makefile.in: Regenerate.
2846 * testsuite/testsuite_common_types.h: New.
2847 * testsuite/testsuite_visualization.h: New.
2848 * testsuite/ext/pb_assoc/example/basic_map.cc: New.
2849 * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
2850 * testsuite/ext/pb_assoc/example/basic_set.cc: New.
2851 * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
2852 * testsuite/ext/pb_assoc/example/erase_if.cc: New.
2853 * testsuite/ext/pb_assoc/example/extract_key.cc: New.
2854 * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
2855 * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
2856 * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
2857 * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
2858 * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
2859 * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
2860 * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
2861 * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
2862 * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
2863 * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
2864 * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
2865 * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
2866 * testsuite/ext/pb_assoc/example/store_hash.cc: New.
2867 * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
2868 * testsuite/ext/pb_assoc/example/tree_join.cc: New.
2869 * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
2870 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
2871 * testsuite/ext/pb_assoc/example/tree_split.cc: New.
2872 * testsuite/performance/20_util/allocator/(insert.cc,
2873 insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
2874 producer_consumer.cc): Recast to use typelists and move to...
2875 * testsuite/performance/23_containers/find/map.cc: New.
2876 * testsuite/performance/23_containers/index/map.cc: New.
2877 * testsuite/performance/23_containers/insert/associative.cc: New.
2878 * testsuite/performance/23_containers/insert/sequence.cc: New.
2879 * testsuite/performance/23_containers/insert_erase/associative.cc: New.
2880 * testsuite/performance/23_containers/producer_consumer/
2881 (associative.cc, sequence.cc): New.
2882 * testsuite/performance/23_containers/sort_search/list.cc: New.
2883 * testsuite/performance/23_containers/container_benchmark.cc: Remove.
2884 * testsuite/performance/23_containers/map_create_fill.cc: Move...
2885 * testsuite/performance/23_containers/create/map.cc: ...here.
2886 * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
2887 * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
2888 * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
2889 * testsuite/performance/23_containers/create_sort/list.cc: ...here.
2890 * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
2891 * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
2893 2005-06-23 Jakub Jelinek <jakub@redhat.com>
2896 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
2897 (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
2898 _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
2899 _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
2901 (ignore (streamsize)): Remove _W prefixed aliases.
2902 (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
2903 _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
2904 (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
2905 Use #XXname instead of #name as the alias argument.
2906 * config/abi/compatibility.h: Replace uses of
2907 _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always
2908 pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
2909 * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
2911 * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
2912 * configure: Rebuilt.
2914 2005-06-19 Benjamin Kosnik <bkoz@redhat.com>
2917 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
2918 GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
2919 Don't enable abi testing unless versioned.
2920 * configure: Regenerate.
2921 * testsuite/Makefile.am (check-abi): Remove conditional.
2922 * testsuite/Makefile.in: Regenerate.
2923 * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
2924 v3-symver before proceeding.
2925 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
2928 2005-06-17 Paolo Carlini <pcarlini@suse.de>
2930 Port from libstdcxx_so_7-branch:
2931 2005-01-12 Christopher Jefferson <chris@bubblescope.net>
2933 * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
2934 mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
2935 mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
2936 return type, just an old HP/SGI workaround.
2937 * testsuite/20_util/functional/binders.cc: Move to...
2938 * testsuite/20_util/functional/binders/3113.cc: ...here.
2939 * testsuite/20_util/functional/binders/1.cc: New.
2941 2005-06-17 Jonathan Wakely <redi@gcc.gnu.org>
2943 * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
2945 2005-06-17 Jakub Jelinek <jakub@redhat.com>
2946 Benjamin Kosnik <bkoz@redhat.com>
2948 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
2949 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
2950 * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
2951 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
2953 * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
2954 * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
2955 * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
2956 * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
2958 * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
2959 * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
2961 2005-06-17 Jakub Jelinek <jakub@redhat.com>
2963 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
2964 * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
2965 * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
2966 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
2967 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2968 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
2969 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
2970 * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
2971 * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
2972 * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
2974 2005-06-16 Jakub Jelinek <jakub@redhat.com>
2976 * src/compatibility.cc: Include bits/c++config.h first.
2977 (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
2978 and PIC are both defined.
2979 * include/bits/char_traits.h (char_traits::eq): Rename
2980 only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
2982 2005-06-16 Jakub Jelinek <jakub@redhat.com>
2984 * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
2985 to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT.
2986 * configure: Regenerate.
2987 * config.h.in: Regenerate.
2988 * src/compatibility.cc (istream:ignore(streamsize)): Use
2989 _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
2990 * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
2991 to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT
2992 instead for symbols with streamsize arguments.
2994 2005-06-16 Jakub Jelinek <jakub@redhat.com>
2996 * config/linker-map.gnu: Also export
2997 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
2999 2005-06-15 Benjamin Kosnik <bkoz@redhat.com>
3001 * configure.ac (libtool_VERSION): To 6:6:0.
3002 * configure: Regenerate.
3003 * config/linker-map.gnu: Edit.
3004 * src/istream.cc: Move istream::ignore(streamsize) specializations...
3005 * src/compatibility.cc: ...here. New.
3006 * include/bits/char_traits.h (char_traits::eq): Rename when
3008 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
3009 Bump glibcxx_min_gnu_ld_version to 21590.
3010 * configure: Regenerate.
3011 * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
3012 * config.h.in: Regenerate.
3013 * src/Makefile.am (sources): Add compatibility.cc.
3014 * src/Makefile.in: Regenerate.
3015 * include/Makefile.am (host_headers_noinst): Add compatibility.h.
3016 * include/Makefile.in: Regenerate.
3017 * testsuite/testsuite_abi.h (symbol): Add data members.
3018 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
3019 GLIBCXX_3.4.6. Remove deprecated versions. Do a better job
3022 2005-06-15 Paolo Carlini <pcarlini@suse.de>
3024 * include/tr1/hashtable: Trivial formatting fixes.
3025 * include/tr1/unordered_map: Likewise.
3026 * include/tr1/unordered_set: Likewise.
3028 2005-06-14 Tom Tromey <tromey@redhat.com>
3031 * configure, aclocal.m4: Rebuilt.
3032 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
3033 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
3034 testsuite/Makefile.in: Likewise.
3036 2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
3039 * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
3040 Remove unnecessary this->_M_mode decoration.
3041 * include/bits/fstream.tcc: Adjust line spacing.
3042 * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
3043 base class behavior.
3044 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
3045 * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
3046 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
3048 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
3049 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
3050 * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
3051 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
3052 * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
3054 2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
3056 * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
3058 * configure: Regenerated.
3060 2005-06-07 Adrian Straetling <straetling@de.ibm.com>
3062 * config/cpu/s390/atomicity.h: (__exchange_and_add,
3063 __atomic_add): Use the builtins for atomic memory operations.
3065 2005-06-06 Paolo Carlini <pcarlini@suse.de>
3067 PR libstdc++/21770 (cont: __gnu_debug::string)
3068 * include/debug/string: Use _Base typedefs for pointer, const_pointer,
3069 reference, const_reference, size_type, difference_type.
3070 * testsuite/21_strings/basic_string/2.cc: New.
3072 2005-06-06 Paolo Carlini <pcarlini@suse.de>
3074 PR libstdc++/21770 (cont: debug-mode)
3075 * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
3076 reference, const_reference.
3077 * include/debug/list: Likewise.
3078 * include/debug/map.h: Likewise.
3079 * include/debug/multimap.h: Likewise.
3080 * include/debug/multiset.h: Likewise.
3081 * include/debug/set.h: Likewise.
3082 * include/debug/vector: Likewise.
3084 2005-06-06 Paolo Carlini <pcarlini@suse.de>
3086 Port from libstdcxx_so_7-branch:
3087 2004-09-24 Paolo Carlini <pcarlini@suse.de>
3088 Jonathan Wakely <redi@gcc.gnu.org>
3090 * include/bits/stl_list.h (list::list(size_type, value_type,
3091 const allocator_type&): Implement according to the letter of the
3092 standard, i.e., don't use two overloads, not equivalent in case
3093 of non default constructible T.
3094 (list::resize(size_type, const value_type&)): Fix the signature:
3095 according to the standard the second argument is by value; also,
3096 don't use two overloads.
3097 * include/bits/list.tcc (list::resize(size_type, const value_type&)):
3098 Adjust consistently the signature.
3099 * include/bits/stl_deque.h (deque::deque(size_type, value_type,
3100 const allocator_type&)): Likewise.
3101 (deque::resize(size_type, const value_type&)): Likewise.
3102 * include/bits/stl_vector.h (vector::vector(size_type, value_type,
3103 const allocator_type&)): Likewise.
3104 (vector::resize(size_type, const value_type&)): Likewise.
3105 * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
3106 * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
3107 * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
3108 * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
3109 * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
3110 * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
3111 * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
3112 * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
3114 * include/bits/deque.tcc: Minor formatting fix.
3116 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
3118 * include/bits/stl_function.h: ... and another one.
3120 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
3122 * include/bits/stl_function.h: Fix typo in comment.
3124 2005-06-05 Paolo Carlini <pcarlini@suse.de>
3126 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
3127 too for ac_c99_complex.
3128 * configure: Regenerate.
3130 2005-06-03 Paolo Carlini <pcarlini@suse.de>
3133 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
3134 rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from
3135 the latter and add _M_get_Tp_allocator() which returns it. Use
3136 everywhere _M_get_Tp_allocator() instead of get_allocator().
3137 * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
3138 * include/bits/stl_list.h: Add concept-check. In class _List_base
3139 rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
3140 returns the allocator (of type _Node_alloc_type) converted to
3141 _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
3143 * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
3144 * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
3145 rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
3146 the latter and add _M_get_Tp_allocator() which returns it. Use
3147 everywhere _M_get_Tp_allocator() instead of get_allocator().
3148 * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
3149 * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
3150 _Pair_alloc_type and use it for _Rb_tree.
3151 * include/bits/stl_multimap.h: Likewise.
3152 * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
3153 _Key_alloc_type and use it for _Rb_tree.
3154 * include/bits/stl_set.h: Likewise.
3155 * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
3156 use it for the allocator typedefs.
3157 * testsuite/21_strings/basic_string/1.cc: New.
3158 * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
3159 * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
3160 * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
3161 * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
3162 * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
3163 * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
3164 * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
3165 * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
3166 * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
3167 * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
3168 * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
3169 * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
3170 * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
3171 * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
3172 * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
3173 * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
3174 * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
3175 * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
3176 * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
3177 * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
3178 * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
3180 2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
3183 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
3184 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
3186 2005-05-31 Paolo Carlini <pcarlini@suse.de>
3188 PR libstdc++/20534 (contd)
3189 * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
3190 __gnu_debug::__fancy_abort.
3191 * src/debug.cc: Define the latter.
3192 * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
3194 * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
3196 2005-05-30 Paolo Carlini <pcarlini@suse.de>
3198 * include/std/std_complex.h (log(const complex<_Tp>&)): When
3199 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
3201 2005-05-28 Paolo Carlini <pcarlini@suse.de>
3204 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3205 Nathan Myers <ncm@cantrip.org>
3208 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
3209 size_type instead of char and rename to _Raw_alloc.
3210 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
3212 * src/bitmap_allocator.cc: Add instantiation for size_type.
3213 * src/mt_allocator.cc: Likewise.
3214 * src/pool_allocator.cc: Likewise.
3215 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
3216 the existence of an _Array::begin() and size() members.
3217 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
3218 of size_type, instead of char, thus avoiding problems with
3219 rebinds, not treated correctly by array_allocator.
3221 2005-05-27 Paolo Carlini <pcarlini@suse.de>
3223 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
3224 a notice about the configure options.
3226 2005-05-27 Mark Mitchell <mark@codesourcery.com>
3228 * docs/html/test.html: Mention PCH_CXXFLAGS.
3229 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
3230 available stcd++.h PCH.
3231 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
3233 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3235 * src/misc-inst.cc: Remove unnecessary included files.
3237 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
3240 * include/bits/c++config: Remove extern template use when in debug
3241 mode, disable for non-weak systems.
3243 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
3246 * include/debug/debug.h: Forwarding header, that pulls in details
3247 only if in debug mode.
3248 * include/debug/macros.h: ...transfer all the internal macros here.
3249 * include/debug/functions.h: ...transfer all the functions here.
3250 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
3251 * include/debug/safe_sequence.h: Same.
3252 * include/debug/vector: Tweak.
3253 * include/Makefile.am (debug_headers): Add new includes.
3254 * include/Makefile.in: Regenerate.
3255 * testsuite/17_intro/no_assert_neg.cc: Add.
3257 * include/ext/hash_set: Add debug mode include.
3258 * include/ext/hash_map: Same.
3259 * include/debug/hash_map: Fix included files to match actual files.
3260 * include/debug/hash_set: Same.
3262 2005-05-26 Paolo Carlini <pcarlini@suse.de>
3265 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
3266 available when _GLIBCXX_USE_C99 is defined.
3267 * testsuite/26_numerics/cstdlib/13943.cc: New.
3269 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
3270 also strtoll and strtoull for ac_c99_stdlib.
3271 * configure: Regenerate.
3273 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
3275 * config/linker-map.gnu: Add linkage support for no extern templates.
3276 (std::ios_base::_M_call_callbacks): Add.
3277 (std::ios_base::_M_dispose_callbacks): Add.
3278 (std::locale::facet::_S_get_c_name): Add.
3279 (std::__copy_streambufs): Add.
3280 * configure.ac (libtool_VERSION): To 6:5:0.
3281 * configure: Regenerate.
3282 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
3284 2005-05-25 Paolo Carlini <pcarlini@suse.de>
3286 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
3287 Use, consistently, traits_type::assign.
3289 2005-05-25 Paolo Carlini <pcarlini@suse.de>
3291 * config/cpu/alpha/atomicity.h: Use the builtins for
3292 atomic memory operations.
3293 * config/cpu/powerpc/atomicity.h: Likewise.
3294 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
3296 2005-05-24 Paolo Carlini <pcarlini@suse.de>
3298 * testsuite/25_algorithms/equal.cc: Move to...
3299 * testsuite/25_algorithms/equal: ... here.
3300 * testsuite/25_algorithms/lower_bound.cc: Move to...
3301 * testsuite/25_algorithms/lower_bound: ... here.
3303 2005-05-24 Paolo Carlini <pcarlini@suse.de>
3305 Port from libstdcxx_so_7-branch:
3306 2005-20-05 Chris Jefferson <chris@bubblescope.net>
3308 * testsuite/25_algorithms/heap.cc: Move to...
3309 * testsuite/25_algorithms/heap/heap.cc: ...here.
3310 * testsuite/25_algorithms/partition.cc: Move to...
3311 * testsuite/25_algorithms/partition/partition.cc: ...here.
3313 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
3315 * testsuite/25_algorithms/includes/1.cc: Add tests.
3316 * testsuite/25_algorithms/search/1.cc: Likewise.
3317 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
3318 * testsuite/25_algorithms/swap_ranges/1.cc: New.
3319 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
3320 * testsuite/25_algorithms/rotate.cc: Move to...
3321 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
3322 * testsuite/25_algorithms/rotate/1.cc: New.
3323 * testsuite/25_algorithms/rotate/check_type.cc: New.
3324 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
3326 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
3328 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
3329 Don't assume that __new_value and *__first are convertible to
3332 * testsuite/25_algorithms/find/1.cc: New.
3333 * testsuite/25_algorithms/find/check_type.cc: New.
3334 * testsuite/25_algorithms/find_if/1.cc: New.
3335 * testsuite/25_algorithms/find_if/check_type.cc: New.
3336 * testsuite/25_algorithms/replace/1.cc: New.
3337 * testsuite/25_algorithms/replace/check_type.cc: New.
3338 * testsuite/25_algorithms/replace_if/1.cc: New.
3339 * testsuite/25_algorithms/replace_if/check_type.cc: New.
3340 * testsuite/25_algorithms/replace_copy/1.cc: New.
3341 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
3342 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
3343 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
3344 * testsuite/25_algorithms/remove/1.cc: New.
3345 * testsuite/25_algorithms/remove/check_type.cc: New.
3346 * testsuite/25_algorithms/remove_if/1.cc: New.
3347 * testsuite/25_algorithms/remove_if/check_type.cc: New.
3348 * testsuite/25_algorithms/count/1.cc: New.
3349 * testsuite/25_algorithms/count/check_type.cc: New.
3350 * testsuite/25_algorithms/count_if/1.cc: New.
3351 * testsuite/25_algorithms/count_if/check_type.cc: New.
3353 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
3354 Paolo Carlini <pcarlini@suse.de>
3356 * testsuite/ext/is_heap/check_type.cc: New.
3358 2005-02-27 Paolo Carlini <pcarlini@suse.de>
3360 * testsuite/ext/is_heap/1.cc: New.
3362 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
3364 * testsuite/ext/median.cc: New.
3365 * testsuite/25_algorithms/adjacent_find/1.cc: New.
3366 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
3367 * testsuite/25_algorithms/search/1.cc: New.
3368 * testsuite/25_algorithms/search/check_type.cc: New.
3369 * testsuite/25_algorithms/unique_copy/1.cc: New.
3370 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
3371 * testsuite/25_algorithms/partial_sort/1.cc: New.
3372 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
3373 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
3374 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
3375 * testsuite/25_algorithms/lower_bound/1.cc: New.
3376 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
3377 * testsuite/25_algorithms/upper_bound/1.cc: New.
3378 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
3379 * testsuite/25_algorithms/merge/1.cc: New.
3380 * testsuite/25_algorithms/merge/check_type.cc: New.
3381 * testsuite/25_algorithms/inplace_merge/1.cc: New.
3382 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
3383 * testsuite/25_algorithms/stable_sort/1.cc: New.
3384 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
3385 * testsuite/25_algorithms/nth_element/1.cc: New.
3386 * testsuite/25_algorithms/nth_element/check_type.cc: New.
3387 * testsuite/25_algorithms/equal_range/1.cc: New.
3388 * testsuite/25_algorithms/equal_range/check_type.cc: New.
3389 * testsuite/25_algorithms/binary_search/1.cc: New.
3390 * testsuite/25_algorithms/binary_search/check_type.cc: New.
3391 * testsuite/25_algorithms/includes/1.cc: New.
3392 * testsuite/25_algorithms/includes/check_type.cc: New.
3393 * testsuite/25_algorithms/set_union/1.cc: New.
3394 * testsuite/25_algorithms/set_union/check_type.cc: New.
3395 * testsuite/25_algorithms/set_intersection/1.cc: New.
3396 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
3397 * testsuite/25_algorithms/set_difference/1.cc: New.
3398 * testsuite/25_algorithms/set_difference/check_type.cc: New.
3399 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
3400 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
3401 * testsuite/25_algorithms/min_element/1.cc: New.
3402 * testsuite/25_algorithms/min_element/check_type.cc: New.
3403 * testsuite/25_algorithms/max_element/1.cc: New.
3404 * testsuite/25_algorithms/max_element/check_type.cc: New.
3405 * testsuite/25_algorithms/prev_permutation/1.cc: New.
3406 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
3407 * testsuite/25_algorithms/next_permutation/1.cc: New.
3408 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
3409 * testsuite/25_algorithms/find_first_of/1.cc: New.
3410 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
3411 * testsuite/25_algorithms/find_end/1.cc: New.
3412 * testsuite/25_algorithms/find_end/check_type.cc: New.
3413 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
3414 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
3417 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
3419 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
3420 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
3421 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
3422 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
3423 * testsuite/25_algorithms/equal/check_type.cc: New.
3424 * testsuite/25_algorithms/equal/1.cc: New.
3426 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
3428 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
3429 __glibcxx_base_allocator.
3430 * config/allocator/bitmap_allocator_base.h: Same.
3431 * config/allocator/malloc_allocator_base.h: Same.
3432 * config/allocator/mt_allocator_base.h: Same.
3433 * config/allocator/new_allocator_base.h: Same.
3434 * config/allocator/pool_allocator_base.h: Same.
3436 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
3438 * include/debug/string (class basic_string): Add missing
3439 default template arguments; provide typedefs for char
3441 (operator[]): Allow s[s.size()] in debug mode, but not
3444 2005-05-24 Paolo Carlini <pcarlini@suse.de>
3446 Port from libstdcxx_so_7-branch:
3447 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
3449 * include/bits/stl_algo.h (count): Correct concept checks.
3450 (search_n) : Likewise.
3451 * testsuite/25_algorithms/search_n/check_type.cc: New.
3453 * testsuite/testsuite_iterators.h
3454 (random_access_iterator_wrapper::operator+): Move out of
3455 class to external function, and add symmetric version.
3457 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
3459 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
3462 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
3464 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
3465 operator--): Fix typo.
3466 (OutputContainer::OutputContainer): Correct zeroing array.
3467 (WritableObject::operator==): Fix typo.
3468 (WritableObject::operator=): make operator= templated
3469 to allow differing types to be assigned.
3470 (WritableObject::operator++): Fix checking if iterator is
3471 written to multiple times.
3472 (random_access_iterator_wrapper::operator+): Add const.
3473 (random_access_iterator_wrapper::operator-): Likewise.
3474 (random_access_iterator_wrapper::operator[]): Add dereference.
3476 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
3478 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
3479 had to be defined for pedantic mode in 3.4 and 4.0.0.
3481 2005-05-20 Jan Beulich <jbeulich@novell.com>
3483 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
3486 2005-05-20 Paolo Carlini <pcarlini@suse.de>
3488 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
3489 Don't qualify __tmp as const, _ValueType is not necessarily
3491 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
3492 Likewise, as an harmless extension.
3494 2005-05-19 Richard Henderson <rth@redhat.com>
3496 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
3498 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
3500 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
3501 debug mode, but not pedantic mode.
3503 2005-05-19 Jan Beulich <jbeulich@novell.com>
3505 * libsupc++/unwind-cxx.h: Include cstdlib.
3506 (gcc_unreachable): #define.
3507 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
3509 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3510 Nathan Myers <ncm@cantrip.org>
3513 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
3514 size_type instead of char and rename to _Raw_alloc.
3515 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
3517 * src/bitmap_allocator.cc: Add instantiation for size_type.
3518 * src/mt_allocator.cc: Likewise.
3519 * src/pool_allocator.cc: Likewise.
3520 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
3521 the existence of an _Array::begin() and size() members.
3522 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
3523 of size_type, instead of char, thus avoiding problems with
3524 rebinds, not treated correctly by array_allocator.
3526 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3528 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
3529 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3530 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
3531 missing dg-require-namedlocale.
3532 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
3534 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
3536 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
3539 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3541 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
3542 * testsuite/testsuite_hooks.h: Remove try_named_locale.
3543 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
3544 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
3546 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
3547 dg-require-namedlocale.
3548 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
3550 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
3551 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
3552 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
3553 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
3555 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
3557 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
3558 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
3559 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
3560 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
3561 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
3562 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
3563 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
3565 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
3566 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
3567 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
3568 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
3569 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
3570 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
3571 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
3572 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
3573 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
3574 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
3575 * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
3576 * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
3577 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
3578 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
3579 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
3580 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
3581 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
3582 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
3584 * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
3585 * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
3587 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
3588 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
3589 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
3590 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
3592 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
3594 * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
3595 * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
3596 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
3597 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
3598 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
3599 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
3600 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
3601 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
3602 * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
3603 * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
3604 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
3605 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
3606 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
3607 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
3608 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
3610 * testsuite/22_locale/collate/compare/char/1.cc: Likewise.
3611 * testsuite/22_locale/collate/compare/char/2.cc: Likewise.
3612 * testsuite/22_locale/collate/compare/char/3.cc: Likewise.
3613 * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
3614 * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
3615 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
3616 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
3617 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
3618 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
3619 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
3621 * testsuite/22_locale/collate/hash/char/2.cc: Likewise.
3622 * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
3623 * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
3624 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
3625 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
3626 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
3627 * testsuite/22_locale/collate/transform/char/2.cc: Likewise.
3628 * testsuite/22_locale/collate/transform/char/3.cc: Likewise.
3629 * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
3630 * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
3632 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
3633 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
3634 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
3636 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3638 * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
3639 * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
3640 * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
3641 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
3642 * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
3643 * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
3644 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3645 * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
3646 * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
3647 * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
3648 * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
3649 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
3650 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
3651 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
3652 * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
3653 * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
3654 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
3655 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
3656 * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
3657 * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
3658 * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
3659 * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
3660 * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
3661 * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
3662 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
3663 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
3664 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
3665 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
3666 * testsuite/22_locale/facet/2.cc: Likewise.
3667 * testsuite/22_locale/locale/cons/12352.cc: Likewise.
3668 * testsuite/22_locale/locale/cons/12438.cc: Likewise.
3669 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
3670 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
3671 * testsuite/22_locale/locale/cons/2.cc: Likewise.
3672 * testsuite/22_locale/locale/cons/4.cc: Likewise.
3673 * testsuite/22_locale/locale/cons/5.cc: Likewise.
3674 * testsuite/22_locale/locale/cons/7.cc: Likewise.
3675 * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
3676 * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
3677 * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
3678 * testsuite/22_locale/messages/members/char/1.cc: Likewise.
3679 * testsuite/22_locale/messages/members/char/2.cc: Likewise.
3680 * testsuite/22_locale/messages/members/char/3.cc: Likewise.
3681 * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
3682 * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
3683 * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
3684 * testsuite/22_locale/money_get/get/char/1.cc: Likewise.
3685 * testsuite/22_locale/money_get/get/char/10.cc: Likewise.
3686 * testsuite/22_locale/money_get/get/char/11.cc: Likewise.
3687 * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
3688 * testsuite/22_locale/money_get/get/char/12.cc: Likewise.
3689 * testsuite/22_locale/money_get/get/char/13.cc: Likewise.
3690 * testsuite/22_locale/money_get/get/char/15.cc: Likewise.
3691 * testsuite/22_locale/money_get/get/char/16.cc: Likewise.
3692 * testsuite/22_locale/money_get/get/char/17.cc: Likewise.
3693 * testsuite/22_locale/money_get/get/char/18.cc: Likewise.
3694 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
3695 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
3696 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
3697 * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
3698 * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
3699 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
3700 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
3701 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
3702 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
3703 * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
3704 * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
3705 * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
3706 * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
3707 * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
3708 * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
3709 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
3710 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
3711 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
3712 * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
3713 * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
3714 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
3715 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
3716 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
3717 * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
3718 * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
3719 * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
3720 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
3721 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
3722 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
3723 * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
3724 * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
3725 * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
3726 * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
3727 * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
3729 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
3730 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
3732 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
3734 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
3735 * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
3736 * testsuite/22_locale/num_get/get/char/3.cc: Likewise.
3737 * testsuite/22_locale/num_get/get/char/5.cc: Likewise.
3738 * testsuite/22_locale/num_get/get/char/6.cc: Likewise.
3739 * testsuite/22_locale/num_get/get/char/9.cc: Likewise.
3740 * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
3741 * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
3742 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
3743 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
3744 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
3745 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
3746 * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
3747 * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
3748 * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
3749 * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
3750 * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
3751 * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
3752 * testsuite/22_locale/num_put/put/char/3.cc: Likewise.
3753 * testsuite/22_locale/num_put/put/char/5.cc: Likewise.
3754 * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
3755 * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
3756 * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
3757 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
3758 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
3759 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
3760 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
3761 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
3762 * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
3763 * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
3764 * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
3765 * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
3766 * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
3767 * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
3768 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
3769 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
3770 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
3772 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
3773 * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
3774 * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
3776 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
3778 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
3780 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
3781 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
3782 * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
3783 * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
3785 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
3786 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
3787 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
3788 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
3790 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
3792 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
3793 * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
3795 * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
3797 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
3798 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
3800 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
3802 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
3803 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
3804 * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
3805 * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
3807 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
3808 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
3809 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
3811 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
3813 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
3814 * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
3816 * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
3818 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
3819 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
3821 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
3823 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
3824 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
3825 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
3826 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
3827 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
3828 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
3829 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
3830 * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
3831 * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
3832 * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
3833 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
3834 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
3835 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
3836 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3837 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
3838 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
3839 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
3840 * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
3841 * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
3842 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
3843 * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
3844 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3845 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
3846 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3847 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
3848 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
3849 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
3850 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
3851 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
3852 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
3853 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
3854 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
3855 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
3856 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
3857 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
3858 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
3859 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
3860 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
3861 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
3862 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
3863 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
3864 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
3865 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
3866 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
3867 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
3868 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
3869 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
3870 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
3871 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
3872 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
3873 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
3874 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
3875 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
3876 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
3878 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
3880 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
3881 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
3882 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
3883 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
3884 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
3885 * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
3886 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
3887 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
3888 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
3889 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
3890 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
3891 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
3892 * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
3893 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
3895 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
3897 * libsupc++/eh_personality.cc (gcc_unreachable): Define.
3899 2005-05-16 Paolo Carlini <pcarlini@suse.de>
3901 * docs/html/install.html: Update list of required named
3902 locales, add "es_ES".
3904 2005-05-13 Magnus Fromreide <magfr@lysator.liu.se>
3906 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
3907 initialization instead of copying as the string is used only once.
3908 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
3909 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
3910 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
3912 2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
3914 * scripts/create_testsuite_files: Fix.
3916 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
3918 * testsuite/18_support/numeric_limits.cc (dg-options): Add
3919 -mieee to options on sh*-*-*.
3921 2005-05-10 Jonathan Wakely <redi@gcc.gnu.org>
3923 * include/debug/debug.h: Fix typo in macro name.
3925 2005-05-09 Paolo Carlini <pcarlini@suse.de>
3926 Giovanni Bajo <giovannibajo@gcc.gnu.org>
3929 * include/bits/deque.tcc: Fully qualify names from namespace std.
3930 * include/bits/stl_bvector.h: Likewise.
3931 * include/bits/stl_deque.h: Likewise.
3932 * include/bits/stl_list.h: Likewise.
3933 * include/bits/stl_map.h: Likewise.
3934 * include/bits/stl_multimap.h: Likewise.
3935 * include/bits/stl_multiset.h: Likewise.
3936 * include/bits/stl_set.h: Likewise.
3937 * include/bits/stl_vector.h: Likewise.
3938 * include/bits/vector.tcc: Likewise.
3939 * include/std/std_bitset.h: Likewise.
3940 * testsuite/23_containers/bitset/18604.cc: New.
3941 * testsuite/23_containers/deque/18604.cc: Likewise.
3942 * testsuite/23_containers/list/18604.cc: Likewise.
3943 * testsuite/23_containers/map/18604.cc: Likewise.
3944 * testsuite/23_containers/set/18604.cc: Likewise.
3945 * testsuite/23_containers/vector/18604.cc: Likewise.
3947 2005-05-09 Mike Stump <mrs@apple.com>
3949 * configure: Regenerate.
3951 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
3953 DR 434. bitset::to_string() hard to use [Ready]
3954 * include/debug/bitset (to_string): Add three overloads, taking
3955 fewer template arguments.
3957 2005-05-06 Mark Mitchell <mark@codesourcery.com>
3959 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
3960 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
3961 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
3962 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
3964 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3965 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3966 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3967 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
3969 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
3971 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
3972 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
3974 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3975 * testsuite/27_io/objects/char/7.cc: Likewise.
3976 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3977 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3978 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3980 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
3982 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
3983 * testsuite/Makefile.am: Same.
3984 * scripts/create_testsuite_files: Same.
3985 * Makefile.in: Regenerate.
3987 * include/Makefile.in: Same.
3988 * libmath/Makefile.in: Same.
3989 * libsupc++/Makefile.in: Same.
3990 * po/Makefile.in: Same.
3991 * src/Makefile.in: Same.
3993 2005-05-04 Mark Mitchell <mark@codesourcery.com>
3995 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
3996 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
3997 whether or not thread support is available.
3999 * docs/html/test.html: Explain how to run the testsuite on an
4000 installed directory.
4002 2005-05-01 Paolo Carlini <pcarlini@suse.de>
4004 * config/os/aix/os_defines.h: Remove obsolete __off_t,
4005 __off64_t, __ssize_t defines.
4006 * config/os/djgpp/os_defines.h: Likewise.
4007 * config/os/hpux/os_defines.h: Likewise.
4008 * config/os/irix/irix5.2/os_defines.h: Likewise.
4009 * config/os/irix/irix6.5/os_defines.h: Likewise.
4010 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
4011 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
4012 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
4013 * docs/html/17_intro/porting.html: Don't discuss the defines.
4014 * docs/html/17_intro/porting.texi: Likewise.
4016 2005-04-29 Paolo Carlini <pcarlini@suse.de>
4017 Nathan Myers <ncm@cantrip.org>
4020 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
4021 Loop on short reads; remove the work-around for
4022 libstdc++/20806, not needed anymore.
4024 2005-04-29 Paolo Carlini <pcarlini@suse.de>
4027 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
4028 num_get::_M_extract_int, num_get::do_get(bool&),
4029 num_put::_M_insert_int, num_put::_M_insert_float,
4030 num_put::do_put(bool), money_get::_M_extract,
4031 money_put::_M_insert): Adjust the __cache_type typedef not to
4032 forward to a numpunct/moneypunct typedef.
4033 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
4034 and moneypunct specializations.
4035 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
4036 and moneypunct<pod_uint>::id.
4037 * testsuite/22_locale/num_get/3.cc: New.
4038 * testsuite/22_locale/num_put/3.cc: Likewise.
4039 * testsuite/22_locale/money_get/3.cc: Likewise.
4040 * testsuite/22_locale/money_put/3.cc: Likewise.
4042 * include/bits/locale_facets.tcc (money_put::_M_insert,
4043 time_get::_M_extract_name): Prefer operator== to operator!=
4046 2005-04-29 Paolo Carlini <pcarlini@suse.de>
4048 * include/tr1/type_traits (is_convertible): Adjust according
4049 to the resolution of TR1 issue 3.20.
4050 * testsuite/tr1/4_metaprogramming/relationships_between_types/
4051 is_convertible/is_convertible.cc: Add tests.
4053 2005-04-28 Paolo Carlini <pcarlini@suse.de>
4054 Gabriel Dos Reis <gdr@integrable-solutions.net>
4056 PR libstdc++/21244 (cont)
4057 * include/bits/cpp_type_traits.h (struct __traitor): Convert
4059 * include/bits/stl_algo.h: Convert _S_threshold to int.
4060 * include/bits/stl_bvector.h: Revert previous change, convert
4062 * include/debug/formatter.h: Convert __max_parameters to
4064 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
4065 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
4067 * include/ext/rope: Likewise for _S_alloc_granularity; convert
4068 _S_max_rope_depth to int.
4069 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
4070 _S_max_rope_depth to int; _S_copy_max to size_t.
4072 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
4074 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
4075 * docs/doxygen/doxygroups.cc: Update namespace comments.
4077 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
4078 Paolo Carlini <pcarlini@suse.de>
4081 * include/bits/stl_bvector.h: Change the anonymous enum
4082 at namespace scope to _S_word_bit_enum.
4083 * testsuite/23_containers/vector/bool/21244.cc: New.
4085 2005-04-27 Paolo Carlini <pcarlini@suse.de>
4087 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
4088 has_nothrow_copy, has_nothrow_assign): Adjust according to the
4089 resolution of TR1 issue 3.21.
4090 * testsuite/testsuite_tr1.h (test_copy_property,
4091 test_assign_property): Remove.
4092 * testsuite/tr1/4_metaprogramming/type_properties/
4093 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
4094 * testsuite/tr1/4_metaprogramming/type_properties/
4095 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
4096 * testsuite/tr1/4_metaprogramming/type_properties/
4097 has_trivial_assign/has_trivial_assign.cc: Likewise.
4098 * testsuite/tr1/4_metaprogramming/type_properties/
4099 has_trivial_copy/has_trivial_copy.cc: Likewise.
4101 2005-04-26 Jones Desougi <jones@ingate.com>
4104 * linkage.m4: Fix comments.
4106 2005-04-26 Paolo Carlini <pcarlini@suse.de>
4109 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
4110 integer overflow, always use a suited unsigned type in the main
4112 (struct __to_unsigned_type): New.
4113 * testsuite/22_locale/num_get/get/char/16.cc: New.
4114 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
4116 2005-04-25 Paolo Carlini <pcarlini@suse.de>
4119 * include/bits/basic_string.h (compare): Adjust the documentation
4120 to match the implementation and the standard.
4122 2005-04-24 Paolo Carlini <pcarlini@suse.de>
4124 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
4126 2005-04-20 Mark Mitchell <mark@codesourcery.com>
4128 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
4129 explicit instantiations for systems without weak symbols.
4130 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
4133 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
4135 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
4137 2005-04-17 Paolo Carlini <pcarlini@suse.de>
4140 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
4141 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
4142 base or sign here, instead...
4143 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
4144 after adding the grouping. This fixes the bug and also allows to
4145 clean-up the code dealing with integer types.
4146 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
4147 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
4148 (__int_to_char(_CharT*, unsigned long, const _CharT*,
4149 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
4150 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
4152 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
4153 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
4154 Simplify, don't pass the sign.
4155 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
4156 Deal with a sign at the beginning of __cs; robustify the grouping
4158 * testsuite/22_locale/num_put/put/char/20914.cc: New.
4159 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
4161 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
4163 * include/ext/bitmap_allocator.h
4164 (__gnu_cxx::free_list::_M_get_mutex): New.
4165 (__gnu_cxx::free_list::_M_get_free_list): New.
4166 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
4167 (__gnu_cxx::free_list::_S_free_list): Remove.
4168 * src/bitmap_allocator.cc: Same.
4169 * config/linker-map.gnu: Remove free_list and mutex export.
4171 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
4173 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
4174 (character::to): New.
4175 (character::from): New.
4176 (operator==): Add state parameter.
4178 (char_traits::copy): Use std::copy.
4179 (char_traits::assign): Use std::fill_n.
4180 (char_traits::to_char_type): Use character::from.
4181 (char_traits::to_int_type): Use character::to.
4182 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
4183 (__gnu_test::conversion_state): Remove.
4184 (__gnu_test::pod_char): Remove.
4185 (pod_char): New typedef.
4186 (pod_uchar): New typedef.
4187 (pod_ushort): New typedef.
4188 * testsuite/testsuite_character.cc: Fixups.
4189 * testsuite/21_strings/basic_string/inserters_extractors/pod/
4191 * testsuite/21_strings/basic_string/inserters_extractors/pod/
4193 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
4194 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
4195 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
4196 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
4197 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
4198 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
4199 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
4200 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
4201 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
4202 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
4203 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
4204 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
4205 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
4207 * testsuite/27_io/basic_istream/extractors_character/pod/
4209 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
4210 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
4211 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
4213 2005-04-12 Mike Stump <mrs@apple.com>
4215 * configure: Regenerate.
4217 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
4219 * testsuite/Makefile.am: Remove libv3test.a.
4220 * testsuite/Makefile.in: Regenerate.
4221 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
4223 2005-04-08 Paolo Carlini <pcarlini@suse.de>
4226 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
4227 Don't even try to group numbers like 2e20, i.e., no decimal
4228 point, scientific notation.
4229 * testsuite/22_locale/num_put/put/char/20909.cc: New.
4230 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
4232 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4234 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
4235 * acconfig.h: Delete file.
4236 * Makefile.in, acinclude.m4, configure: Regenerate.
4238 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4240 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
4241 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
4242 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
4243 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
4244 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
4245 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
4246 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
4247 * acconfig.h: Delete redundant macros.
4248 * config.h.in, configure: Regenerate.
4250 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4252 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
4253 a subshell and if test fails, test for same functions with
4255 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
4256 * configure: Regenerate.
4258 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
4259 Paolo Carlini <pcarlini@suse.de>
4262 * config/os/mingw32/os_defines.h: Define
4263 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
4264 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
4265 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
4267 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
4269 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4271 * acconfig.h: Sort the bottom section.
4272 * config.h.in: Regenerate.
4274 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4276 * acconfig.h: Remove redundant HAVE_FLOAT_H.
4277 * config.h.in: Regenerate.
4279 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4281 * configure.ac: Create template for PACKAGE and VERSION.
4282 Update comment on how to regenerate file. Update minimum
4283 automake version to 1.9.3.
4284 * acconfig.h: Remove PACKAGE and VERSION.
4285 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
4286 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
4287 testsuite/Makefile.in, config.h.in: Regenerate.
4289 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
4291 * docs/html/test.html: Update.
4292 * testsuite/printnow.c: Remove.
4293 * scripts/check_survey.in: Remove.
4295 * testsuite/abi_check.cc: To...
4296 * testuite/testsuite_abi_check.cc: ...here.
4297 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
4298 testsuite_abi_check.cc.
4300 * testsuite/testsuite_hooks.h: Move character related bits to...
4301 * testsuite/testsuite_character.h: ...here.
4302 * testsuite/testsuite_character.cc: ... and here.
4303 * testsuite/21_strings/basic_string/inserters_extractors/pod/
4304 10081-in.cc: Use testsuite_character.h.
4305 * testsuite/21_strings/basic_string/inserters_extractors/pod/
4307 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
4308 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
4309 * testsuite/27_io/basic_filebuf/2.cc: Same.
4310 * testsuite/27_io/basic_fstream/2.cc: Same.
4311 * testsuite/27_io/basic_istream/2.cc: Same.
4312 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
4314 * testsuite/27_io/basic_istream/extractors_character/char/
4316 * testsuite/27_io/basic_istream/extractors_character/pod/
4318 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
4319 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
4320 * testsuite/27_io/basic_ostream/2.cc: Same.
4321 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
4322 * testsuite/27_io/basic_streambuf/2.cc: Same.
4323 * testsuite/27_io/basic_stringbuf/2.cc: Same.
4324 * testsuite/27_io/basic_stringbuf/4.cc: Same.
4325 * testsuite/27_io/basic_stringstream/2.cc: Same.
4326 * testsuite/27_io/fpos/1.cc: Same.
4327 * testsuite/ext/mt_allocator/tune-1.cc: Same.
4328 * testsuite/ext/mt_allocator/tune-2.cc: Same.
4329 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
4330 * testsuite/lib/libstdc++.exp (v3-build_support): Add
4331 testsuite_character.cc.
4332 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
4333 testsuite_character.cc.
4334 * testsuite/Makefile.in: Regenerate.
4336 * configure.ac: Remove use of check_survey.
4337 * configure: Regenerate.
4338 * testsuite/Makefile.am: Remove check-script and
4339 check-script-install rules.
4340 * testsuite/Makefile.in: Regenerate.
4342 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
4344 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
4345 clobber to inline assembly statement.
4347 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
4349 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
4350 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
4351 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
4352 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
4353 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
4354 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
4355 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
4356 * acconfig.h: ... to eliminate them from here.
4357 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
4358 * config.h.in, configure: Regenerate.
4360 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4362 * Makefile.am (ACLOCAL_AMFLAGS): Define.
4363 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
4364 * configure.ac: Use it.
4365 * acinclude.m4: Delete explicit m4_includes and sincludes.
4366 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
4367 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
4368 testsuite/Makefile.in: Regenerate.
4370 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
4372 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
4373 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
4374 to destroy resources by testing for equality, not inequality. Add
4375 empty critical sections to solve memory visibility issues.
4376 * testsuite/tr1/2_general_utilities/memory/
4377 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
4378 explicitly listing line numbers which need to be kept in sync.
4379 * testsuite/tr1/2_general_utilities/memory/
4380 shared_ptr/assign/auto_ptr_neg.cc: Same.
4381 * testsuite/tr1/2_general_utilities/memory/
4382 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
4383 * testsuite/tr1/2_general_utilities/memory/
4384 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
4386 * testsuite/tr1/2_general_utilities/memory/
4387 enable_shared_from_this/not_shared.cc: Add explanatory comments.
4388 * testsuite/tr1/2_general_utilities/memory/
4389 enable_shared_from_this/not_shared2.cc: Same.
4390 * testsuite/tr1/2_general_utilities/memory/
4391 enable_shared_from_this/not_shared3.cc: Same.
4393 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4395 * acconfig.h: Delete macros already AC_DEFINED.
4396 * config.h.in: Regenerate.
4398 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4400 * acconfig.h (HAVE_MODF): Remove.
4401 * linkage.m4: Check for modf.
4402 * config.h.in, configure: Regenerate.
4404 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4406 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
4407 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
4408 * config.h.in: Regenerate.
4410 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4412 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
4413 to convert to uppercase instead of shelling out to tr.
4414 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
4415 * configure, config.h.in: Regenerate.
4417 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4419 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
4420 * config.h.in: Regenerate.
4422 2005-04-04 Mark Mitchell <mark@codesourcery.com>
4424 * testsuite/Makefile.am (check-local): Remove.
4425 (curent_symbols.txt): Likewise.
4426 (check-abi): Do not depend on current_symbols.txt.
4427 * testsuite/Makefile.in: Regenerated.
4428 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
4430 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
4432 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
4433 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
4434 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
4436 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
4439 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
4441 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
4442 member pointers in _Mem_fn but let other function objects pass
4444 * include/tr1/functional_iterator (bind): Reduce number of bind()
4445 overloads to two to eliminate ambiguities. Use
4446 _Maybe_wrap_member_pointer to handle member pointers gracefully.
4448 2005-04-01 Mark Mitchell <mark@codesourcery.com>
4450 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
4451 (site.exp): Write out the path to the baseline file.
4452 (check-abi): Use DejaGNU.
4453 (check-abi-verbose): Remove.
4454 * testsuite/Makefile.in: Regenerated.
4455 * testsuite/abi_check.cc (main): Check the return value from
4457 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
4458 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
4459 * testsuite/libstdc++-abi/abi.exp: New file.
4461 2005-03-31 Chris Jefferson <chris@bubblescope.net>
4463 * include/tr1/tuple: Support iteration via tuple_iterate.h.
4464 * include/tr1/tuple_iterate.h: Iteration file for tuple.
4466 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
4468 * include/Makefile.am (tr1_headers): Add bind and mu repetition
4469 headers and reference_wrapper<> forwarding header.
4470 * include/Makefile.in: Regenerate.
4471 * include/tr1/bind_iterate.h: Implementation of function call
4472 operators for the function object returned from tr1::bind().
4473 * include/tr1/bind_repeat.h: Bind-specific repetition header,
4474 akin to include/tr1/repeat.h.
4475 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
4476 template for use with result_of.
4477 (is_bind_expression): New.
4478 (is_placeholder): New.
4479 (_Placeholder): New. Placeholder type for bind.
4480 (_Mu): New. Implementation detail of bind.
4481 (_Bind, _Bind_result): New. Function objects returned by bind.
4482 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
4483 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
4484 New. Implementation of tr1::bind.
4485 * include/tr1/mu_iterate.h (_Mu): result template and operator()
4486 for the _Mu helper to bind.
4487 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
4488 used by tuple header.
4491 * include/tr1/repeat.h: Add bind-specific repetition macros.
4492 * include/tr1/tuple: Use reference_wrapper forwarding header for
4493 initial definitions, then include <tr1/functional> at the end, to
4494 make the circular dependencies work.
4495 (tie): Support zero-argument tie() function.
4496 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
4497 bind() functionality with parameters bound.
4498 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
4499 nested bind() expressions.
4500 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
4501 of bind() placeholders.
4502 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
4503 with arguments bound via reference_wrapper<>.
4504 * scripts/gen_includers.pl: Generate the repetitive part of
4505 include/tr1/repeat.h.
4506 * scripts/gen_bind_includers.pl: Generate the repetitive part of
4507 include/tr1/bind_repeat.h.
4509 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
4511 * testsuite/Makefile.am (CXX): Use ${SHELL}.
4512 (GLIBCXX_INCLUDES): Same.
4513 (AM_CXXFLAGS): Same.
4514 * testsuite/Makefile.in: Regenerate.
4516 2005-03-25 Mark Mitchell <mark@codesourcery.com>
4518 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
4519 when testing an installed compiler.
4521 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
4522 compiling support objects.
4524 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
4526 * include/tr1/memory: Forward to...
4527 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
4528 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
4529 * include/Makefile.in: Regenerate.
4530 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
4531 auto_ptr_neg.cc: Adjust line numbers.
4533 2005-03-23 Mark Mitchell <mark@codesourcery.com>
4535 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
4536 * testsuite/Makefile.in: Regenerated.
4538 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
4540 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
4541 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
4542 _GLIBCXX_USE_C99_WCHAR.
4543 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
4544 and GLIBCXX_ENABLE_WCHAR_T.
4545 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
4547 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
4548 GLIBCXX_CHECK_ICONV_SUPPORT.
4549 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
4550 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
4551 * crossconfig.m4: Same.
4552 * acconfig.h: Same, adjust comments.
4553 * config.h.in: Regenerate.
4554 * configure: Regenerate.
4555 * docs/html/configopts.html: Change --enable-c-mbchar to
4558 * config/locale/gnu/c++locale_internal.h: Guard wide functions
4559 with _GLIBCXX_USE_WCHAR_T.
4560 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
4561 * include/c_std/std_cstdio.h: Spacing.
4563 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
4564 * src/debug.cc: Same.
4566 2005-03-23 Mark Mitchell <mark@codesourcery.com>
4568 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
4571 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
4572 (v3-wchar_t): ... this.
4573 (libstdc++_threads): Rename to ...
4574 (v3-threads): ... this.
4575 (libstdc++_test_objs): Rename to ...
4576 (v3-test_objs): ... this.
4577 (libstdc++_build_support): Rename to ...
4578 (v3-build_support): ... this.
4579 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
4581 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
4582 of compilers not in the build directory.
4583 (libstdc++_wchar_t): New variable.
4584 (libstdc++_threads): Likewise.
4585 (libstdc++_test_objs): Likewise.
4586 (v3_target_compile): Use libstdc++_test_objs.
4587 (v3-list-tests): Remove.
4588 (listdc++_build_support): New function.
4589 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
4590 generate list of tests.
4592 2005-03-21 Chris Jefferson <chris@bubblescope.net>
4595 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
4596 to swap when the iterator's reference_type is a reference to its
4598 * testsuite/25_algorithms/iter_swap/20577.cc: New.
4600 2005-03-21 Zack Weinberg <zack@codesourcery.com>
4602 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
4603 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
4604 is expanded by the Makefiles, not by configure.
4605 * fragment.am: Set gcc_version.
4606 * libmath/Makefile.am: Likewise.
4607 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
4608 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
4609 * testsuite/Makefile.in: Regenerate.
4611 2005-03-16 Paolo Carlini <pcarlini@suse.de>
4613 * testsuite/20_util/functional/binders.cc: Remove explicit
4614 instantiations for non-weak systems.
4615 * testsuite/20_util/memory/allocator/1.cc: Likewise.
4616 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
4617 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
4618 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
4619 * testsuite/20_util/utility/rel_ops.cc: Likewise.
4620 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
4621 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
4622 * testsuite/23_containers/deque/cons/1.cc: Likewise.
4623 * testsuite/23_containers/deque/cons/2.cc: Likewise.
4624 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
4625 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
4626 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
4627 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
4628 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
4629 * testsuite/23_containers/deque/operators/1.cc: Likewise.
4630 * testsuite/23_containers/list/capacity/1.cc: Likewise.
4631 * testsuite/23_containers/list/cons/1.cc: Likewise.
4632 * testsuite/23_containers/list/cons/2.cc: Likewise.
4633 * testsuite/23_containers/list/cons/3.cc: Likewise.
4634 * testsuite/23_containers/list/cons/4.cc: Likewise.
4635 * testsuite/23_containers/list/cons/5.cc: Likewise.
4636 * testsuite/23_containers/list/cons/6.cc: Likewise.
4637 * testsuite/23_containers/list/cons/7.cc: Likewise.
4638 * testsuite/23_containers/list/cons/8.cc: Likewise.
4639 * testsuite/23_containers/list/cons/9.cc: Likewise.
4640 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
4641 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
4642 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
4643 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
4644 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
4645 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
4646 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
4647 * testsuite/23_containers/list/operators/1.cc: Likewise.
4648 * testsuite/23_containers/list/operators/2.cc: Likewise.
4649 * testsuite/23_containers/list/operators/3.cc: Likewise.
4650 * testsuite/23_containers/list/operators/4.cc: Likewise.
4651 * testsuite/23_containers/map/insert/1.cc: Likewise.
4652 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
4653 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
4654 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
4655 * testsuite/23_containers/map/operators/1.cc: Likewise.
4656 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
4657 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
4658 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
4659 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
4660 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
4661 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
4662 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
4663 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
4664 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
4665 * testsuite/23_containers/queue/members/7157.cc: Likewise.
4666 * testsuite/23_containers/set/insert/1.cc: Likewise.
4667 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
4668 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
4669 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
4670 * testsuite/23_containers/stack/members/7158.cc: Likewise.
4671 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
4672 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
4673 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
4674 * testsuite/23_containers/vector/cons/1.cc: Likewise.
4675 * testsuite/23_containers/vector/cons/2.cc: Likewise.
4676 * testsuite/23_containers/vector/cons/3.cc: Likewise.
4677 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
4678 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
4679 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
4680 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
4681 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
4682 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
4683 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
4684 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
4685 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
4686 * testsuite/23_containers/vector/resize/1.cc: Likewise.
4687 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
4688 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
4689 * testsuite/24_iterators/insert_iterator.cc: Likewise.
4690 * testsuite/24_iterators/iterator.cc: Likewise.
4691 * testsuite/25_algorithms/copy/1.cc: Likewise.
4692 * testsuite/25_algorithms/copy/2.cc: Likewise.
4693 * testsuite/25_algorithms/copy/3.cc: Likewise.
4694 * testsuite/25_algorithms/copy/4.cc: Likewise.
4695 * testsuite/25_algorithms/equal.cc: Likewise.
4696 * testsuite/25_algorithms/fill/1.cc: Likewise.
4697 * testsuite/25_algorithms/fill/2.cc: Likewise.
4698 * testsuite/25_algorithms/min_max.cc: Likewise.
4699 * testsuite/25_algorithms/rotate.cc: Likewise.
4700 * testsuite/25_algorithms/unique/1.cc: Likewise.
4701 * testsuite/25_algorithms/unique/2.cc: Likewise.
4702 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
4703 * testsuite/ext/concept_checks.cc: Likewise.
4704 * testsuite/ext/hash_map/1.cc: Likewise.
4705 * testsuite/ext/hash_set/1.cc: Likewise.
4706 * testsuite/ext/rope/1.cc: Likewise.
4707 * testsuite/ext/rope/2.cc: Likewise.
4708 * testsuite/ext/rope/3.cc: Likewise.
4709 * testsuite/thread/pthread1.cc: Likewise.
4710 * testsuite/thread/pthread4.cc: Likewise.
4711 * testsuite/thread/pthread5.cc: Likewise.
4712 * testsuite/thread/pthread6.cc: Likewise.
4713 * testsuite/thread/pthread7-rope.cc: Likewise.
4715 2005-03-15 Zack Weinberg <zack@codesourcery.com>
4717 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
4718 subdirectory. Generate #define of __GLIBCXX__ from contents of
4720 * include/Makefile.in: Regenerate.
4721 * include/bits/c++config: Do not define __GLIBCXX__.
4723 2005-03-15 Paolo Carlini <pcarlini@suse.de>
4726 * include/std/std_complex.h (pow(const complex<_Tp>&,
4727 const _Tp&)): On non-c99 platforms, don't try to compute
4728 log of complex zero.
4730 2005-03-10 Ben Elliston <bje@au.ibm.com>
4732 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
4735 2005-03-07 Paolo Carlini <pcarlini@suse.de>
4737 * include/tr1/type_traits (is_polymorphic): Don't forget
4738 the virtual destructor, thus avoiding warnings.
4739 * testsuite/testsuite_tr1.h (class AbstractClass,
4740 class PolymorphicClass): Likewise.
4742 2005-03-07 Paolo Carlini <pcarlini@suse.de>
4744 * include/std/std_complex.h (pow(const complex<_Tp>&,
4745 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
4746 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
4747 _GLIBCXX_USE_C99_COMPLEX.
4749 2005-03-07 Paolo Carlini <pcarlini@suse.de>
4751 * include/std/std_fstream.h (basic_fstream<>::open,
4752 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
4753 resolution of DR 409 [Ready], call clear() on success.
4754 * docs/html/ext/howto.html: Add an entry for DR 409.
4755 * docs/html/faq/index.html (4_4): Clarify the new behavior.
4756 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
4757 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
4759 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
4761 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
4762 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
4763 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
4764 testsuite/22_locale/collate/hash/wchar_t/2.cc,
4765 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
4766 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
4767 testsuite/22_locale/collate/transform/wchar_t/2.cc,
4768 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
4769 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
4770 XFAIL on *-*-hpux11.23.
4772 2005-03-04 Paolo Carlini <pcarlini@suse.de>
4774 * include/tr1/type_traits: Add is_base_of.
4775 * testsuite/tr1/4_metaprogramming/relationships_between_types/
4776 is_base_of/is_base_of.cc: New.
4777 * testsuite/tr1/4_metaprogramming/relationships_between_types/
4778 is_base_of/typedefs.cc: Likewise.
4780 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
4782 * include/tr1/functional: Convert relative path.
4784 * docs/doxygen/user.cfg.in: Add tr1 includes.
4786 2005-03-03 Paolo Carlini <pcarlini@suse.de>
4788 * include/tr1/type_traits: Implemenet is_polymorphic.
4789 (is_empty): Minor tweaks.
4790 * testsuite/testsuite_tr1.h: Add test types.
4791 * testsuite/tr1/4_metaprogramming/type_properties/
4792 is_polymorphic/is_polymorphic.cc: New.
4793 * testsuite/tr1/4_metaprogramming/type_properties/
4794 is_polymorphic/typedefs.cc: Likewise.
4795 * testsuite/tr1/4_metaprogramming/composite_type_traits/
4796 is_union_or_class/is_union_or_class.cc: Add tests.
4798 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
4800 * include/tr1/functional (_Has_result_type): Cleanup.
4801 (_Result_of_impl): Handle member data pointers correctly.
4802 (reference_wrapper): Support invocation.
4803 Move repetition code into new file include/tr1/repeat.h.
4804 * include/tr1/functional_iterate.h (reference_wrapper): Support
4805 invocation. Cleanup long lines.
4806 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
4807 invocation operators.
4808 * include/tr1/repeat.h: Code repetition header.
4809 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
4810 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
4811 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
4812 New test of reference_wrapper invocation.
4813 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
4814 New test of reference_wrapper typedefs and base classes.
4815 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
4818 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
4820 * include/tr1/function (result_of): New class template.
4821 * include/tr1/functional/iterator.h: Implementation of TR1
4823 * testsuite/tr1/3_function_objects/result_of.cc: New test
4825 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
4827 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
4829 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
4831 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
4832 cons/auto_ptr_neg.cc: Correct line numbers.
4834 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
4836 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
4838 * include/tr1/memory: Replace checked_deleter with (unchecked)
4839 _Sp_deleter as GCC warns about delete on incomplete types anyway.
4841 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
4843 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
4845 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
4848 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
4849 'Q' constraint, not 'm'.
4851 2005-02-26 Earl Chew <earl_chew@agilent.com>
4852 Christopher Jefferson <chris@bubblescope.net>
4854 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
4855 memory if _M_key_compare throws.
4857 2005-02-25 Paolo Carlini <pcarlini@suse.de>
4859 * include/tr1/type_traits: Add the trivial is_union and is_class;
4860 add the __is_union_or_class extension.
4861 (is_enum, is_empty): Use the latter.
4862 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
4863 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
4865 * testsuite/tr1/4_metaprogramming/composite_type_traits/
4866 is_union_or_class/is_union_or_class.cc: New.
4867 * testsuite/tr1/4_metaprogramming/composite_type_traits/
4868 is_union_or_class/typedefs.cc: Likewise.
4870 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
4872 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
4873 wchar_t use with _GLIBCXX_USE_WCHAR_T.
4875 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
4877 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
4878 _GLIBCXX_USE_C99_COMPLEX.
4879 * acinclude.m4: Same.
4881 * configure: Regenerate.
4882 * config.h.in: Same.
4884 2005-02-24 Paolo Carlini <pcarlini@suse.de>
4886 * include/tr1/functional (mem_fn): Avoid _T, badname on
4889 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
4891 * include/tr1/functional (function): New class template.
4892 (mem_fn): New function template.
4893 Implementations of TR1 function and mem_fn facilities.
4894 * include/tr1/functional_iterate.h: Implementations of TR1
4895 function and mem_fn facilities.
4896 * testsuite/tr1/3_function_objects/function/1.cc: New
4897 test of std::tr1::function.
4898 * testsuite/tr1/3_function_objects/function/2.cc: New
4899 test of std::tr1::function.
4900 * testsuite/tr1/3_function_objects/function/3.cc: New
4901 test of std::tr1::function.
4902 * testsuite/tr1/3_function_objects/function/4.cc: New
4903 test of std::tr1::function.
4904 * testsuite/tr1/3_function_objects/function/5.cc: New
4905 test of std::tr1::function.
4906 * testsuite/tr1/3_function_objects/function/6.cc: New
4907 test of std::tr1::function.
4908 * testsuite/tr1/3_function_objects/function/7.cc: New
4909 test of std::tr1::function.
4910 * testsuite/tr1/3_function_objects/function/8.cc: New
4911 test of std::tr1::function.
4912 * testsuite/tr1/3_function_objects/function/9.cc: New
4913 test of std::tr1::function.
4914 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
4917 2005-02-23 Paolo Carlini <pcarlini@suse.de>
4919 * include/tr1/type_traits: Implement is_convertible.
4920 * testsuite/tr1/4_metaprogramming/relationships_between_types/
4921 is_convertible/is_convertible.cc: New.
4922 * testsuite/tr1/4_metaprogramming/relationships_between_types/
4923 is_convertible/typedefs.cc: Likewise.
4924 * testsuite/testsuite_tr1.h: Add class DerivedType.
4926 * include/tr1/type_traits (is_function): Don't mistake references
4927 to function types for function types.
4928 * testsuite/tr1/4_metaprogramming/primary_type_categories/
4929 is_function/is_function.cc: Add testcase.
4931 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
4933 * scripts/check_performance: Tweaks.
4935 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
4936 output file with extension that clean rules can find.
4938 2005-02-22 Richard Henderson <rth@redhat.com>
4941 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
4942 decrement of uncaughtExceptions for rethrow.
4944 2005-02-22 Paolo Carlini <pcarlini@suse.de>
4946 * include/tr1/functional: Fix License to GPL with exception.
4947 * include/tr1/hashtable: Likewise.
4948 * include/tr1/tuple: Likewise.
4949 * include/tr1/type_traits: Likewise.
4950 * include/tr1/type_traits_fwd.h: Likewise.
4951 * include/tr1/unordered_map: Likewise.
4952 * include/tr1/unordered_set: Likewise.
4953 * include/tr1/utility: Likewise.
4955 2005-02-22 Paolo Carlini <pcarlini@suse.de>
4957 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4958 auto_ptr_neg.cc: Add missing dg-do compile directive.
4959 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4960 auto_ptr_rvalue_neg.cc: Likewise.
4961 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4962 shared_ptr_neg.cc: Likewise.
4963 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
4964 auto_ptr_neg.cc: Likewise.
4965 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
4966 reset_neg.cc: Likewise.
4967 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
4968 swap_neg.cc: Likewise.
4970 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
4972 * include/Makefile.am, include/Makefile.in: Fix accidental extra
4973 change from previous commit.
4975 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
4977 * include/tr1/memory: New file.
4978 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
4979 * testsuite/tr1/2_general_utilities/memory/
4980 enable_shared_from_this/not_shared.cc: New test.
4981 * testsuite/tr1/2_general_utilities/memory/
4982 enable_shared_from_this/not_shared2.cc: New test.
4983 * testsuite/tr1/2_general_utilities/memory/
4984 enable_shared_from_this/not_shared3.cc: New test.
4985 * testsuite/tr1/2_general_utilities/memory/
4986 enable_shared_from_this/shared.cc: New test.
4987 * testsuite/tr1/2_general_utilities/memory/
4988 enable_shared_from_this/still_shared.cc: New test.
4989 * testsuite/tr1/2_general_utilities/memory/
4990 shared_ptr/assign/assign.cc: New test.
4991 * testsuite/tr1/2_general_utilities/memory/
4992 shared_ptr/assign/auto_ptr.cc: New test.
4993 * testsuite/tr1/2_general_utilities/memory/
4994 shared_ptr/assign/auto_ptr_neg.cc: New test.
4995 * testsuite/tr1/2_general_utilities/memory/
4996 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
4997 * testsuite/tr1/2_general_utilities/memory/
4998 shared_ptr/assign/shared_ptr.cc: New test.
4999 * testsuite/tr1/2_general_utilities/memory/
5000 shared_ptr/assign/shared_ptr_neg.cc: New test.
5001 * testsuite/tr1/2_general_utilities/memory/
5002 shared_ptr/comparison/cmp.cc: New test.
5003 * testsuite/tr1/2_general_utilities/memory/
5004 shared_ptr/cons/auto_ptr.cc: New test.
5005 * testsuite/tr1/2_general_utilities/memory/
5006 shared_ptr/cons/auto_ptr_neg.cc: New test.
5007 * testsuite/tr1/2_general_utilities/memory/
5008 shared_ptr/cons/copy.cc: New test.
5009 * testsuite/tr1/2_general_utilities/memory/
5010 shared_ptr/cons/default.cc: New test.
5011 * testsuite/tr1/2_general_utilities/memory/
5012 shared_ptr/cons/pointer.cc: New test.
5013 * testsuite/tr1/2_general_utilities/memory/
5014 shared_ptr/cons/weak_ptr.cc: New test.
5015 * testsuite/tr1/2_general_utilities/memory/
5016 shared_ptr/cons/weak_ptr_expired.cc: New test.
5017 * testsuite/tr1/2_general_utilities/memory/
5018 shared_ptr/dest/dest.cc: New test.
5019 * testsuite/tr1/2_general_utilities/memory/
5020 shared_ptr/misc/io.cc: New test.
5021 * testsuite/tr1/2_general_utilities/memory/
5022 shared_ptr/misc/swap.cc: New test.
5023 * testsuite/tr1/2_general_utilities/memory/
5024 shared_ptr/modifiers/reset.cc: New test.
5025 * testsuite/tr1/2_general_utilities/memory/
5026 shared_ptr/modifiers/reset_neg.cc: New test.
5027 * testsuite/tr1/2_general_utilities/memory/
5028 shared_ptr/modifiers/swap.cc: New test.
5029 * testsuite/tr1/2_general_utilities/memory/
5030 shared_ptr/modifiers/swap_neg.cc: New test.
5031 * testsuite/tr1/2_general_utilities/memory/
5032 shared_ptr/observers/bool_conv.cc: New test.
5033 * testsuite/tr1/2_general_utilities/memory/
5034 shared_ptr/observers/get.cc: New test.
5035 * testsuite/tr1/2_general_utilities/memory/
5036 shared_ptr/observers/unique.cc: New test.
5037 * testsuite/tr1/2_general_utilities/memory/
5038 shared_ptr/observers/use_count.cc: New test.
5040 2005-02-21 Paolo Carlini <pcarlini@suse.de>
5042 * include/tr1/type_traits (is_member_function_pointer):
5043 Remove ugly workaround for c++/19076.
5045 2005-02-21 Paolo Carlini <pcarlini@suse.de>
5047 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
5048 check for this == &_S_empty_rep, it's always false, here.
5050 2005-02-19 Matt Austern <austern@gmail.com>
5052 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
5053 hash<T>::operator() a const member function for T a fundamental type
5054 * include/tr1/hashtable (extract1st::operator()): Declare const.
5055 (hash_code_base): Declare all member functions const
5056 (hashtable::find): fix call to this->bucket_count()
5057 (hashtable::count): Likewise.
5058 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
5059 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
5060 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
5061 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
5062 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
5064 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
5067 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
5068 _GLIBCXX_USE_WCHAR_T.
5070 2005-02-18 Richard Henderson <rth@redhat.com>
5073 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
5074 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
5075 uncaughtExceptions here instead of ...
5076 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
5077 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
5078 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
5079 (__cxa_get_exception_ptr): New.
5080 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
5082 2005-02-18 Matt Austern <austern@apple.com>
5084 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
5085 test case to use assignment instead of ==
5086 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
5087 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
5088 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
5089 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
5091 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
5093 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
5094 on Solaris 2.6 and below.
5095 * testsuite/thread/pthread2.cc: Likewise.
5096 * testsuite/thread/pthread3.cc: Likewise.
5097 * testsuite/thread/pthread4.cc: Likewise.
5098 * testsuite/thread/pthread5.cc: Likewise.
5099 * testsuite/thread/pthread6.cc: Likewise.
5100 * testsuite/thread/pthread7-rope.cc: Likewise.
5102 2005-02-17 Matt Austern <austern@apple.com>
5104 * include/tr1/functional (hash): New function object.
5105 * include/tr1/hashtable: New file.
5106 * include/tr1/unordered_set: New file.
5107 * include/tr1/unordered_map: New file.
5108 * include/Makefile.am: Add three new TR1 headers.
5109 * include/Makefile.in: Likewise.
5110 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
5111 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
5112 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
5113 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
5114 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
5115 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
5116 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
5117 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
5118 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
5119 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
5121 2005-02-16 Paolo Carlini <pcarlini@suse.de>
5123 * testsuite/23_containers/set/modifiers/16728.cc:
5124 Remove redundant include <testsuite_performance.h>.
5126 2005-02-16 Paolo Carlini <pcarlini@suse.de>
5129 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
5130 at line #66 to not access str_lit01 beyond its end.
5131 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
5133 2005-02-15 Paolo Carlini <pcarlini@suse.de>
5134 Jon Grimm <jgrimm2@us.ibm.com>
5137 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
5138 Fix the logic setting _M_narrow_ok: first check whether the
5139 transformation is trivial with a dflt == 0, then deal with the
5140 special case of zero.
5141 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
5143 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
5144 Tweak consistently to use memcmp; minor formatting fixes.
5146 2005-02-15 Jakub Jelinek <jakub@redhat.com>
5149 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
5151 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
5153 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
5154 Paolo Carlini <pcarlini@suse.de>
5157 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
5158 for integer overloads.
5160 * testsuite/26_numerics/cmath/powi.cc: New.
5162 2005-02-11 Janis Johnson <janis187@us.ibm.com>
5164 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
5165 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
5166 * testsuite/26_numerics/complex/pow.cc: Ditto.
5168 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
5169 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
5170 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
5171 * testsuite/26_numerics/complex/pow.cc: Ditto.
5173 2005-02-09 Mike Stump <mrs@apple.com>
5175 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
5177 2005-02-09 Janis Johnson <janis187@us.ibm.com>
5179 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
5181 2005-02-08 Mark Mitchell <mark@codesourcery.com>
5183 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
5185 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
5187 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
5188 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
5191 2005-02-02 Brad Spencer <spencer@infointeractive.com>
5193 * debug.html: Fix broken tags.
5194 * documentation.html: Same.
5196 2005-02-02 Andreas Jaeger <aj@suse.de>
5198 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
5200 * testsuite/Makefile.am: Likewise.
5201 * testsuite/Makefile.in: Likewise.
5203 2005-02-01 Paolo Carlini <pcarlini@suse.de>
5205 * include/bits/cpp_type_traits.h: Rename _M_type fields to
5206 __value, except for __enable_if, _M_type -> __type, consistently
5207 with the other traits.
5208 * include/bits/stl_algobase.h: Tweak consistently.
5209 * include/bits/stl_tree.h: Likewise.
5210 * include/bits/valarray_array.h: Likewise.
5211 * include/c_std/std_cmath.h: Likewise.
5212 * include/debug/safe_iterator.h: Likewise.
5213 * include/std/std_complex.h: Likewise.
5215 2005-01-31 Brad Spencer <spencer@infointeractive.com>
5217 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
5218 * configure: Regenerated.
5220 2005-01-31 Mark Mitchell <mark@codesourcery.com>
5222 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
5224 (numeric_limits<double>::has_denorm): Likewise.
5225 (numeric_limits<long double>::has_denorm): Likewise.
5227 2005-01-31 Paolo Carlini <pcarlini@suse.de>
5228 Gabriel Dos Reis <gdr@integrable-solutions.net>
5230 * include/bits/cpp_type_traits.h: Add types to the structs thus
5231 making type_traits.h redundant; exploit new __truth_type and
5233 * include/bits/type_traits.h: Remove.
5234 * include/Makefile.am: Update.
5235 * include/Makefile.in: Regenerate.
5236 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
5237 * include/bits/basic_string.h (replace(iterator, iterator,
5238 _InputIterator, _InputIterator), _S_construct(_InIterator,
5239 _InIterator, const _Alloc&)): Use __is_integer instead.
5240 * include/bits/stl_bvector.h (vector(_InputIterator,
5241 _InputIterator, const allocator_type&), assign(_InputIterator,
5242 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
5244 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
5245 _ForwardIterator)): Use __is_scalar.
5246 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
5247 const allocator_type&), assign(_InputIterator, _InputIterator),
5248 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
5249 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
5250 insert(iterator, _InputIterator, _InputIterator)): Likewise.
5251 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
5252 _ForwardIterator)): Use __is_scalar.
5253 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
5254 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
5255 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
5256 _Size, const _Tp&)): Likewise.
5257 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
5258 const allocator_type&), assign(_InputIterator, _InputIterator),
5259 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
5260 * include/debug/debug.h (__valid_range(const _InputIterator&,
5261 const _InputIterator&)): Use __is_integer.
5262 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
5263 * include/std/std_string.h: Include cpp_type_traits.h instead.
5265 2005-01-30 Paolo Carlini <pcarlini@suse.de>
5268 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
5269 LC_NUMERIC, and only when actually != "C".
5271 2005-01-28 Paolo Carlini <pcarlini@suse.de>
5273 * include/tr1/type_traits (is_function): Minor consistency tweaks.
5275 2005-01-28 Geoffrey Keating <geoffk@apple.com>
5277 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
5278 for the compiler. Don't set cxxflags.
5279 (v3_target_compile): Search for libv3test.a relative to $objdir.
5280 (lsearch_all_inline): New.
5281 (lsearch_all_inline_not): New.
5282 (v3-list-tests): Rewrite to not need generated files.
5283 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
5284 (IGNORE_THREAD): New.
5285 (TESTS_TO_IGNORE): New.
5286 (site.exp): Set tests_to_ignore, cxxflags.
5287 * aclocal.m4: Regenerate.
5288 * Makefile.in: Regenerate.
5289 * libmath/Makefile.in: Likewise.
5290 * libsupc++/Makefile.in: Likewise.
5291 * po/Makefile.in: Likewise.
5292 * src/Makefile.in: Likewise.
5293 * testsuite/Makefile.in: Likewise.
5295 2005-01-28 Paolo Carlini <pcarlini@suse.de>
5297 * include/tr1/type_traits: Implement is_empty.
5298 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
5300 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
5301 typedefs.cc: Likewise.
5303 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
5305 2005-01-28 Paolo Carlini <pcarlini@suse.de>
5307 * include/tr1/type_traits: Implement is_abstract, by exploiting the
5308 resolution of DR core/337.
5309 * testsuite/testsuite_tr1.h: Add AbstractClass.
5310 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
5311 is_abstract.cc: New.
5312 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
5313 typedefs.cc: Likewise.
5315 * include/tr1/type_traits (is_function): Rewrite, use the conversion
5316 F& -> F* instead, thus avoiding problems with abstract classes.
5317 * testsuite/tr1/4_metaprogramming/primary_type_categories/
5318 is_function/is_function.cc: Add a test for tricky AbstractClass.
5320 2005-01-26 Paolo Carlini <pcarlini@suse.de>
5322 * include/ext/mt_allocator.h
5323 (struct __per_type_pool_policy<,, false>::_S_get_pool,
5324 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
5325 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
5326 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
5327 reduce to 64 the multiplier for _M_max_bytes (safer wrt
5328 _Binmap_type being a short); trivial reformattings.
5329 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
5331 2005-01-26 Paolo Carlini <pcarlini@suse.de>
5333 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
5334 to the final test for enable_c99, thus robustifying it; remove
5335 duplicate final test on ac_99_math.
5336 * configure: Regenerate.
5338 * include/std/std_complex.h: Remove usages of the dead
5339 _GLIBCXX_BUGGY_COMPLEX macro.
5341 * testsuite/26_numerics/cmath/19322.cc: Protect with
5342 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
5343 since only C99 math facilities are involved.
5344 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
5347 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
5349 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
5350 instead of generic. Change autoconf report to "darwin or freebsd".
5351 * configure: Regenerate.
5352 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
5353 (ctype<wchar_t>::do_scan_is): Likewise.
5354 (ctype<wchar_t>::do_scan_not): Likewise.
5356 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
5358 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
5359 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
5360 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
5361 * config.h.in: Regenerate.
5362 * configure: Regenerate.
5363 * include/std/std_complex.h: Protect complex builtins with
5364 _GLIBCXX_USE_C99_COMPLEX_MATH.
5366 2005-01-24 Paolo Carlini <pcarlini@suse.de>
5368 * include/tr1/type_traits: Implement is_signed and is_unsigned.
5369 * testsuite/tr1/4_metaprogramming/type_properties/
5370 is_signed/is_signed.cc: New.
5371 * testsuite/tr1/4_metaprogramming/type_properties/
5372 is_signed/typedefs.cc: Likewise.
5373 * testsuite/tr1/4_metaprogramming/type_properties/
5374 is_unsigned/is_unsigned.cc: Likewise.
5375 * testsuite/tr1/4_metaprogramming/type_properties/
5376 is_unsigned/typedefs.cc: Likewise.
5378 2005-01-23 Paolo Carlini <pcarlini@suse.de>
5380 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
5382 2005-01-23 Paolo Carlini <pcarlini@suse.de>
5384 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
5385 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
5386 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
5387 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
5388 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
5389 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
5390 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
5391 * testsuite/27_io/basic_ostream/flush/wchar_t/
5392 exceptions_badbit_throw.cc: Likewise.
5393 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5394 wchar_t/2.cc: Likewise.
5395 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5396 wchar_t/3.cc: Likewise.
5397 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5398 wchar_t/4.cc: Likewise.
5399 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5400 wchar_t/4402.cc: Likewise.
5401 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5402 wchar_t/5.cc: Likewise.
5403 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5404 wchar_t/6.cc: Likewise.
5405 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5406 wchar_t/9555-oa.cc: Likewise.
5407 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5408 wchar_t/exceptions_badbit_throw.cc: Likewise.
5409 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5410 wchar_t/exceptions_failbit_throw.cc: Likewise.
5411 * testsuite/27_io/basic_ostream/inserters_character/
5412 wchar_t/1.cc: Likewise.
5413 * testsuite/27_io/basic_ostream/inserters_character/
5414 wchar_t/2.cc: Likewise.
5415 * testsuite/27_io/basic_ostream/inserters_character/
5416 wchar_t/3.cc: Likewise.
5417 * testsuite/27_io/basic_ostream/inserters_character/
5418 wchar_t/4.cc: Likewise.
5419 * testsuite/27_io/basic_ostream/inserters_character/
5420 wchar_t/5.cc: Likewise.
5421 * testsuite/27_io/basic_ostream/inserters_character/
5422 wchar_t/6.cc: Likewise.
5423 * testsuite/27_io/basic_ostream/inserters_character/
5424 wchar_t/9555-oc.cc: Likewise.
5425 * testsuite/27_io/basic_ostream/inserters_other/
5426 wchar_t/1.cc: Likewise.
5427 * testsuite/27_io/basic_ostream/inserters_other/
5428 wchar_t/2.cc: Likewise.
5429 * testsuite/27_io/basic_ostream/inserters_other/
5430 wchar_t/3.cc: Likewise.
5431 * testsuite/27_io/basic_ostream/inserters_other/
5432 wchar_t/4.cc: Likewise.
5433 * testsuite/27_io/basic_ostream/inserters_other/
5434 wchar_t/5.cc: Likewise.
5435 * testsuite/27_io/basic_ostream/inserters_other/
5436 wchar_t/9318-out.cc: Likewise.
5437 * testsuite/27_io/basic_ostream/inserters_other/
5438 wchar_t/9424-out.cc: Likewise.
5439 * testsuite/27_io/basic_ostream/inserters_other/
5440 wchar_t/9555-oo.cc: Likewise.
5441 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5442 error_failbit.cc: Likewise.
5443 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5444 exceptions_badbit_throw.cc: Likewise.
5445 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5446 exceptions_failbit_throw.cc: Likewise.
5447 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5448 exceptions_null.cc: Likewise.
5449 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
5450 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
5451 * testsuite/27_io/basic_ostream/seekp/char/
5452 exceptions_badbit_throw.cc: Likewise.
5453 * testsuite/27_io/basic_ostream/seekp/wchar_t/
5454 2346-fstream.cc: Likewise.
5455 * testsuite/27_io/basic_ostream/seekp/wchar_t/
5456 2346-sstream.cc: Likewise.
5457 * testsuite/27_io/basic_ostream/seekp/wchar_t/
5458 exceptions_badbit_throw.cc: Likewise.
5459 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
5460 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
5461 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
5462 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
5463 * testsuite/27_io/basic_ostream/tellp/wchar_t/
5464 exceptions_badbit_throw.cc: Likewise.
5465 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
5467 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
5468 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
5469 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
5470 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
5471 * testsuite/data/wostream_seeks-1.tst: Likewise.
5473 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
5474 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
5475 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
5476 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
5477 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
5478 * testsuite/27_io/basic_ostream/flush/char/
5479 exceptions_badbit_throw.cc: Likewise.
5480 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5481 char/2.cc: Likewise.
5482 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5483 char/3.cc: Likewise.
5484 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5485 char/4.cc: Likewise.
5486 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5487 char/4402.cc: Likewise.
5488 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5489 char/5.cc: Likewise.
5490 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5491 char/6.cc: Likewise.
5492 * testsuite/27_io/basic_ostream/inserters_character/
5493 char/4.cc: Likewise.
5494 * testsuite/27_io/basic_ostream/inserters_other/char/
5496 * testsuite/27_io/basic_ostream/inserters_other/char/
5498 * testsuite/27_io/basic_ostream/inserters_other/char/
5499 error_failbit.cc: Likewise.
5500 * testsuite/27_io/basic_ostream/inserters_other/char/
5501 exceptions_badbit_throw.cc: Likewise.
5502 * testsuite/27_io/basic_ostream/inserters_other/char/
5503 exceptions_failbit_throw.cc: Likewise.
5504 * testsuite/27_io/basic_ostream/inserters_other/char/
5505 exceptions_null.cc: Likewise.
5506 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
5507 * testsuite/27_io/basic_ostream/seekp/char/
5508 exceptions_badbit_throw.cc: Likewise.
5509 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
5510 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
5512 2005-01-23 Paolo Carlini <pcarlini@suse.de>
5514 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
5517 2005-01-23 Paolo Carlini <pcarlini@suse.de>
5518 Andreas Jaeger <aj@suse.de>
5521 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
5523 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
5525 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
5526 lseek on fifo to succeed. Thus, check for consistent report.
5528 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5531 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
5533 (_List_const_iterator): Likewise.
5534 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
5535 (_Rb_tree_const_iterator): Likewise.
5537 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
5538 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
5540 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
5542 * testsuite/Makefile.am (check-compile): New.
5543 * testsuite/Makefile.in: Regenerate.
5544 * scripts/check_compile_time: New.
5545 * scripts/check_performance: Tweaks.
5547 2005-01-19 Paolo Carlini <pcarlini@suse.de>
5550 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
5551 Fix typo in the return type.
5552 * testsuite/tr1/6_containers/utility/19535.cc: New.
5554 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
5556 * include/ext/array_allocator.h (array_allocator<>::allocate):
5557 Avoid __used. Use __array_used instead.
5558 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
5560 2005-01-18 David Edelsohn <edelsohn@gnu.org>
5562 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
5563 (_XOPEN_SOURCE_EXTENDED): Delete.
5565 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
5567 * testsuite/testsuite_performance.h (time_counter::start):
5569 (clear_counters): Inline.
5570 (start_counters): Inline.
5571 (stop_counters): Inline.
5572 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
5573 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
5575 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
5577 2005-01-17 Paolo Carlini <pcarlini@suse.de>
5580 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
5581 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
5582 Obtain amortized constant complexity if t is inserted right after
5583 p - not before p - as per Table 69.
5584 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
5586 * testsuite/23_containers/multiset/insert/2.cc: New.
5587 * testsuite/23_containers/set/insert/1.cc: Likewise.
5589 * testsuite/performance/23_containers/set_create_from_sorted.cc:
5592 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
5594 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
5596 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
5597 * testsuite/ext/rope/4.cc: Add.
5599 2005-01-16 Lorenz Minder <lminder@gmx.net>
5600 Paolo Carlini <pcarlini@suse.de>
5603 * include/c_std/std_cmath.h: Define the C99 classification facilities
5604 directly inside namespace std:.
5605 * testsuite/26_numerics/cmath/19322.cc: New.
5607 2005-01-15 David Edelsohn <edelsohn@gnu.org>
5609 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
5611 2005-01-14 Paolo Carlini <pcarlini@suse.de>
5614 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
5615 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
5616 respectively) with hint (end()).
5617 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
5619 2005-01-13 Geoffrey Keating <geoffk@apple.com>
5621 * configure.host (darwin): On darwin8 or later, no need to build
5622 libstdc++ with -flat_namespace.
5624 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
5626 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
5628 2005-01-13 Paolo Carlini <pcarlini@suse.de>
5630 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
5631 Re-enable commented-out test for double type.
5633 2005-01-11 Paolo Carlini <pcarlini@suse.de>
5634 Benjamin Kosnik <bkoz@redhat.com>
5636 * src/istream.cc (basic_istream<char>::ignore(streamsize),
5637 basic_istream<char>::ignore(streamsize, int_type),
5638 basic_istream<wchar_t>::ignore(streamsize),
5639 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
5640 more than numeric_limits<streamsize>::max() chars are skipped,
5641 set _M_gcount = max().
5642 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5643 int_type)): Likewise; keep simple, don't forward.
5645 2005-01-11 Paolo Carlini <pcarlini@suse.de>
5647 * src/istream.cc (basic_istream<char>::ignore(streamsize),
5648 basic_istream<char>::ignore(streamsize, int_type),
5649 basic_istream<wchar_t>::ignore(streamsize),
5650 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
5651 2005-01-05 change: actually, the previous behavior is conforming
5652 and consistent with that of get(char_type*, streamsize, char_type),
5653 albeit slightly different from that of 3.3/3.4 in a corner case
5654 due to the use of snextc.
5655 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5656 int_type)): Likewise.
5657 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
5658 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
5660 2005-01-11 Paolo Carlini <pcarlini@suse.de>
5662 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
5663 * testsuite/tr1/4_metaprogramming/other_transformations/
5664 aligned_storage/aligned_storage.cc: New.
5665 * testsuite/tr1/4_metaprogramming/other_transformations/
5666 aligned_storage/typedefs.cc: Likewise.
5667 * testsuite/tr1/4_metaprogramming/type_properties/
5668 alignment_of/alignment_of.cc: Likewise.
5669 * testsuite/tr1/4_metaprogramming/type_properties/
5670 alignment_of/typedefs.cc: Likewise.
5672 2005-01-10 Paolo Carlini <pcarlini@suse.de>
5674 * Makefile.in: Regenerate.
5675 * libmath/Makefile.in: Likewise.
5676 * libsupc++/Makefile.in: Likewise.
5677 * po/Makefile.in: Likewise.
5678 * src/Makefile.in: Likewise.
5679 * testsuite/Makefile.in: Likewise.
5681 2005-01-10 Paolo Carlini <pcarlini@suse.de>
5683 * include/bits/stl_algobase.h (lexicographical_compare):
5686 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
5688 * acinclude.m4: Remove CCODECVT_H.
5689 * configure: Regenerate.
5690 * include/Makefile.am (host_headers_extra): Move to...
5691 (ext_headers): ...here.
5692 * include/Makefile.in: Regenerate.
5693 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
5695 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
5696 * include/ext/codecvt_specializations.h: ...here. Remove
5697 _GLIBCXX_USE___ENC_TRAITS.
5698 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
5699 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
5701 * config/locale/generic/codecvt_specializations.h: Remove.
5702 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
5703 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
5705 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
5707 * include/bits/fstream.tcc: Remove unnecessary qualifications for
5708 uglified data members of basic_filebuf, including _M_buf,
5709 _M_buf_size, _M_mode, _M_pback_init.
5710 * include/std/std_fstream.h: Same.
5712 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
5714 * testsuite/testsuite_hooks.h:
5715 (copy_constructor::mark_call): Use __throw_runtime_error.
5716 (assignment_operator::mark_call): Same.
5717 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
5718 (locale_data): Remove, just use runtime_error directly.
5719 (environment_variable): Same.
5721 (run_tests_wrapped_locale): Use __throw_runtime_error.
5722 (run_tests_wrapped_env): Same.
5723 (semaphore::semaphore): Same.
5724 (semaphore::signal): Same.
5725 (semaphore::wait): Same.
5726 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
5727 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
5728 (create_symbols): Use __throw_runtime_error.
5729 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
5731 2005-01-05 Mark Mitchell <mark@codesourcery.com>
5733 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
5736 2005-01-05 Paolo Carlini <pcarlini@suse.de>
5738 * src/istream.cc (basic_istream<char>::ignore(streamsize),
5739 basic_istream<char>::ignore(streamsize, int_type),
5740 basic_istream<wchar_t>::ignore(streamsize),
5741 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
5742 first check _M_gcount vs __n.
5743 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5744 int_type)): Likewise.
5745 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
5746 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
5748 2005-01-03 Mark Mitchell <mark@codesourcery.com>
5750 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
5751 instead of just throw.
5753 * testsuite/testsuite_hooks.cc: Update coypright and follow style
5755 * testsuite/testsuite_hooks.h: Likewise.
5756 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
5757 semaphores, not sleep.
5758 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5759 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5760 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
5761 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
5763 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5764 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5765 * testsuite/27_io/objects/char/7.cc: Likewise.
5766 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5767 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5768 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5770 * configure.ac: Check for sys/ipc.h and sys/sem.h.
5771 * config.h.in: Regenerated.
5772 * configure: Likewise.
5773 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
5775 (sys/types.h): Include.
5776 (sys/ipc.h): Likewise.
5777 (sys/sem.h): Likewise.
5778 (__gnu_test::semun): New type.
5779 (__gnu_test::semaphore::sempaphore): New function.
5780 (__gnu_test::semaphore::~semaphore): Likewise.
5781 (__gnu_test::semaphore::wait): Likewise.
5782 (__gnu_test::semaphore::signal): Likewise.
5783 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
5784 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
5785 semaphores, not sleep.
5786 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5787 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5788 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
5789 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
5791 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5792 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5793 * testsuite/27_io/objects/char/7.cc: Likewise.
5794 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5795 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5796 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5798 2005-01-03 Paolo Carlini <pcarlini@suse.de>
5800 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5801 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
5802 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
5803 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
5804 * src/istream.cc (basic_istream<char>::ignore(streamsize),
5805 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
5807 2005-01-02 Paolo Carlini <pcarlini@suse.de>
5809 * src/istream.cc (basic_istream<char>::ignore(streamsize),
5810 basic_istream<char>::ignore(streamsize, int_type),
5811 basic_istream<wchar_t>::ignore(streamsize),
5812 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
5813 _M_gcount overflows.
5814 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5815 int_type)): Likewise; use snextc in the main loop, consistently
5816 with the specializations above.
5818 2005-01-02 Chris Jefferson <chris@bubblescope.net>
5820 * include/bits/stl_algobase.h (mismatch): Correct concept check.
5822 2005-01-01 Paolo Carlini <pcarlini@suse.de>
5824 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
5825 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
5826 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
5828 2005-01-01 Paolo Carlini <pcarlini@suse.de>
5830 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
5831 null-terminate array1 at the outset.
5832 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: