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