]> gcc.gnu.org Git - gcc.git/blob - libstdc++-v3/ChangeLog
re PR libstdc++/21244 (Vector<bool> anonymous enum problem)
[gcc.git] / libstdc++-v3 / ChangeLog
1 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
2 Paolo Carlini <pcarlini@suse.de>
3
4 PR libstdc++/21244
5 * include/bits/stl_bvector.h: Change the anonymous enum
6 at namespace scope to _S_word_bit_enum.
7 * testsuite/23_containers/vector/bool/21244.cc: New.
8
9 2005-04-27 Paolo Carlini <pcarlini@suse.de>
10
11 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
12 has_nothrow_copy, has_nothrow_assign): Adjust according to the
13 resolution of TR1 issue 3.21.
14 * testsuite/testsuite_tr1.h (test_copy_property,
15 test_assign_property): Remove.
16 * testsuite/tr1/4_metaprogramming/type_properties/
17 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
18 * testsuite/tr1/4_metaprogramming/type_properties/
19 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
20 * testsuite/tr1/4_metaprogramming/type_properties/
21 has_trivial_assign/has_trivial_assign.cc: Likewise.
22 * testsuite/tr1/4_metaprogramming/type_properties/
23 has_trivial_copy/has_trivial_copy.cc: Likewise.
24
25 2005-04-26 Jones Desougi <jones@ingate.com>
26
27 PR libstdc++/21131
28 * linkage.m4: Fix comments.
29
30 2005-04-26 Paolo Carlini <pcarlini@suse.de>
31
32 PR libstdc++/21209
33 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
34 integer overflow, always use a suited unsigned type in the main
35 parsing loop.
36 (struct __to_unsigned_type): New.
37 * testsuite/22_locale/num_get/get/char/16.cc: New.
38 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
39
40 2005-04-25 Paolo Carlini <pcarlini@suse.de>
41
42 PR libstdc++/21035
43 * include/bits/basic_string.h (compare): Adjust the documentation
44 to match the implementation and the standard.
45
46 2005-04-24 Paolo Carlini <pcarlini@suse.de>
47
48 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
49
50 2005-04-20 Mark Mitchell <mark@codesourcery.com>
51
52 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
53 explicit instantiations for systems without weak symbols.
54 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
55 Likewise.
56
57 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
58
59 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
60
61 2005-04-17 Paolo Carlini <pcarlini@suse.de>
62
63 PR libstdc++/20914
64 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
65 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
66 base or sign here, instead...
67 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
68 after adding the grouping. This fixes the bug and also allows to
69 clean-up the code dealing with integer types.
70 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
71 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
72 (__int_to_char(_CharT*, unsigned long, const _CharT*,
73 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
74 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
75 libstdc++/15565.
76 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
77 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
78 Simplify, don't pass the sign.
79 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
80 Deal with a sign at the beginning of __cs; robustify the grouping
81 check.
82 * testsuite/22_locale/num_put/put/char/20914.cc: New.
83 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
84
85 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
86
87 * include/ext/bitmap_allocator.h
88 (__gnu_cxx::free_list::_M_get_mutex): New.
89 (__gnu_cxx::free_list::_M_get_free_list): New.
90 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
91 (__gnu_cxx::free_list::_S_free_list): Remove.
92 * src/bitmap_allocator.cc: Same.
93 * config/linker-map.gnu: Remove free_list and mutex export.
94
95 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
96
97 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
98 (character::to): New.
99 (character::from): New.
100 (operator==): Add state parameter.
101 (operator<): Same.
102 (char_traits::copy): Use std::copy.
103 (char_traits::assign): Use std::fill_n.
104 (char_traits::to_char_type): Use character::from.
105 (char_traits::to_int_type): Use character::to.
106 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
107 (__gnu_test::conversion_state): Remove.
108 (__gnu_test::pod_char): Remove.
109 (pod_char): New typedef.
110 (pod_uchar): New typedef.
111 (pod_ushort): New typedef.
112 * testsuite/testsuite_character.cc: Fixups.
113 * testsuite/21_strings/basic_string/inserters_extractors/pod/
114 10081-in.cc: Same.
115 * testsuite/21_strings/basic_string/inserters_extractors/pod/
116 10081-out.cc: Same.
117 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
118 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
119 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
120 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
121 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
122 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
123 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
124 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
125 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
126 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
127 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
128 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
129 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
130 3983-1.cc: Same.
131 * testsuite/27_io/basic_istream/extractors_character/pod/
132 3983-2.cc: Same.
133 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
134 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
135 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
136
137 2005-04-12 Mike Stump <mrs@apple.com>
138
139 * configure: Regenerate.
140
141 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
142
143 * testsuite/Makefile.am: Remove libv3test.a.
144 * testsuite/Makefile.in: Regenerate.
145 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
146
147 2005-04-08 Paolo Carlini <pcarlini@suse.de>
148
149 PR libstdc++/20909
150 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
151 Don't even try to group numbers like 2e20, i.e., no decimal
152 point, scientific notation.
153 * testsuite/22_locale/num_put/put/char/20909.cc: New.
154 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
155
156 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
157
158 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
159 * acconfig.h: Delete file.
160 * Makefile.in, acinclude.m4, configure: Regenerate.
161
162 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
163
164 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
165 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
166 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
167 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
168 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
169 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
170 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
171 * acconfig.h: Delete redundant macros.
172 * config.h.in, configure: Regenerate.
173
174 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
175
176 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
177 a subshell and if test fails, test for same functions with
178 leading underscore.
179 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
180 * configure: Regenerate.
181
182 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
183 Paolo Carlini <pcarlini@suse.de>
184
185 PR libstdc++/20806
186 * config/os/mingw32/os_defines.h: Define
187 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
188 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
189 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
190 Use it.
191 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
192
193 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
194
195 * acconfig.h: Sort the bottom section.
196 * config.h.in: Regenerate.
197
198 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
199
200 * acconfig.h: Remove redundant HAVE_FLOAT_H.
201 * config.h.in: Regenerate.
202
203 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
204
205 * configure.ac: Create template for PACKAGE and VERSION.
206 Update comment on how to regenerate file. Update minimum
207 automake version to 1.9.3.
208 * acconfig.h: Remove PACKAGE and VERSION.
209 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
210 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
211 testsuite/Makefile.in, config.h.in: Regenerate.
212
213 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
214
215 * docs/html/test.html: Update.
216 * testsuite/printnow.c: Remove.
217 * scripts/check_survey.in: Remove.
218
219 * testsuite/abi_check.cc: To...
220 * testuite/testsuite_abi_check.cc: ...here.
221 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
222 testsuite_abi_check.cc.
223
224 * testsuite/testsuite_hooks.h: Move character related bits to...
225 * testsuite/testsuite_character.h: ...here.
226 * testsuite/testsuite_character.cc: ... and here.
227 * testsuite/21_strings/basic_string/inserters_extractors/pod/
228 10081-in.cc: Use testsuite_character.h.
229 * testsuite/21_strings/basic_string/inserters_extractors/pod/
230 10081-out.cc: Same.
231 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
232 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
233 * testsuite/27_io/basic_filebuf/2.cc: Same.
234 * testsuite/27_io/basic_fstream/2.cc: Same.
235 * testsuite/27_io/basic_istream/2.cc: Same.
236 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
237 3983-1.cc: Same.
238 * testsuite/27_io/basic_istream/extractors_character/char/
239 9826.cc: Same.
240 * testsuite/27_io/basic_istream/extractors_character/pod/
241 3983-2.cc: Same.
242 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
243 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
244 * testsuite/27_io/basic_ostream/2.cc: Same.
245 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
246 * testsuite/27_io/basic_streambuf/2.cc: Same.
247 * testsuite/27_io/basic_stringbuf/2.cc: Same.
248 * testsuite/27_io/basic_stringbuf/4.cc: Same.
249 * testsuite/27_io/basic_stringstream/2.cc: Same.
250 * testsuite/27_io/fpos/1.cc: Same.
251 * testsuite/ext/mt_allocator/tune-1.cc: Same.
252 * testsuite/ext/mt_allocator/tune-2.cc: Same.
253 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
254 * testsuite/lib/libstdc++.exp (v3-build_support): Add
255 testsuite_character.cc.
256 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
257 testsuite_character.cc.
258 * testsuite/Makefile.in: Regenerate.
259
260 * configure.ac: Remove use of check_survey.
261 * configure: Regenerate.
262 * testsuite/Makefile.am: Remove check-script and
263 check-script-install rules.
264 * testsuite/Makefile.in: Regenerate.
265
266 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
267
268 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
269 clobber to inline assembly statement.
270
271 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
272
273 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
274 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
275 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
276 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
277 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
278 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
279 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
280 * acconfig.h: ... to eliminate them from here.
281 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
282 * config.h.in, configure: Regenerate.
283
284 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
285
286 * Makefile.am (ACLOCAL_AMFLAGS): Define.
287 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
288 * configure.ac: Use it.
289 * acinclude.m4: Delete explicit m4_includes and sincludes.
290 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
291 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
292 testsuite/Makefile.in: Regenerate.
293
294 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
295
296 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
297 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
298 to destroy resources by testing for equality, not inequality. Add
299 empty critical sections to solve memory visibility issues.
300 * testsuite/tr1/2_general_utilities/memory/
301 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
302 explicitly listing line numbers which need to be kept in sync.
303 * testsuite/tr1/2_general_utilities/memory/
304 shared_ptr/assign/auto_ptr_neg.cc: Same.
305 * testsuite/tr1/2_general_utilities/memory/
306 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
307 * testsuite/tr1/2_general_utilities/memory/
308 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
309 -fno-exceptions.
310 * testsuite/tr1/2_general_utilities/memory/
311 enable_shared_from_this/not_shared.cc: Add explanatory comments.
312 * testsuite/tr1/2_general_utilities/memory/
313 enable_shared_from_this/not_shared2.cc: Same.
314 * testsuite/tr1/2_general_utilities/memory/
315 enable_shared_from_this/not_shared3.cc: Same.
316
317 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
318
319 * acconfig.h: Delete macros already AC_DEFINED.
320 * config.h.in: Regenerate.
321
322 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
323
324 * acconfig.h (HAVE_MODF): Remove.
325 * linkage.m4: Check for modf.
326 * config.h.in, configure: Regenerate.
327
328 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
329
330 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
331 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
332 * config.h.in: Regenerate.
333
334 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
335
336 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
337 to convert to uppercase instead of shelling out to tr.
338 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
339 * configure, config.h.in: Regenerate.
340
341 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
342
343 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
344 * config.h.in: Regenerate.
345
346 2005-04-04 Mark Mitchell <mark@codesourcery.com>
347
348 * testsuite/Makefile.am (check-local): Remove.
349 (curent_symbols.txt): Likewise.
350 (check-abi): Do not depend on current_symbols.txt.
351 * testsuite/Makefile.in: Regenerated.
352 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
353
354 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
355
356 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
357 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
358 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
359 each iteration.
360 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
361 each iteration.
362
363 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
364
365 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
366 member pointers in _Mem_fn but let other function objects pass
367 through unchanged.
368 * include/tr1/functional_iterator (bind): Reduce number of bind()
369 overloads to two to eliminate ambiguities. Use
370 _Maybe_wrap_member_pointer to handle member pointers gracefully.
371
372 2005-04-01 Mark Mitchell <mark@codesourcery.com>
373
374 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
375 (site.exp): Write out the path to the baseline file.
376 (check-abi): Use DejaGNU.
377 (check-abi-verbose): Remove.
378 * testsuite/Makefile.in: Regenerated.
379 * testsuite/abi_check.cc (main): Check the return value from
380 compare_symbols.
381 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
382 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
383 * testsuite/libstdc++-abi/abi.exp: New file.
384
385 2005-03-31 Chris Jefferson <chris@bubblescope.net>
386
387 * include/tr1/tuple: Support iteration via tuple_iterate.h.
388 * include/tr1/tuple_iterate.h: Iteration file for tuple.
389
390 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
391
392 * include/Makefile.am (tr1_headers): Add bind and mu repetition
393 headers and reference_wrapper<> forwarding header.
394 * include/Makefile.in: Regenerate.
395 * include/tr1/bind_iterate.h: Implementation of function call
396 operators for the function object returned from tr1::bind().
397 * include/tr1/bind_repeat.h: Bind-specific repetition header,
398 akin to include/tr1/repeat.h.
399 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
400 template for use with result_of.
401 (is_bind_expression): New.
402 (is_placeholder): New.
403 (_Placeholder): New. Placeholder type for bind.
404 (_Mu): New. Implementation detail of bind.
405 (_Bind, _Bind_result): New. Function objects returned by bind.
406 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
407 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
408 New. Implementation of tr1::bind.
409 * include/tr1/mu_iterate.h (_Mu): result template and operator()
410 for the _Mu helper to bind.
411 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
412 used by tuple header.
413 (ref): Ditto.
414 (cref): Ditto.
415 * include/tr1/repeat.h: Add bind-specific repetition macros.
416 * include/tr1/tuple: Use reference_wrapper forwarding header for
417 initial definitions, then include <tr1/functional> at the end, to
418 make the circular dependencies work.
419 (tie): Support zero-argument tie() function.
420 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
421 bind() functionality with parameters bound.
422 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
423 nested bind() expressions.
424 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
425 of bind() placeholders.
426 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
427 with arguments bound via reference_wrapper<>.
428 * scripts/gen_includers.pl: Generate the repetitive part of
429 include/tr1/repeat.h.
430 * scripts/gen_bind_includers.pl: Generate the repetitive part of
431 include/tr1/bind_repeat.h.
432
433 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
434
435 * testsuite/Makefile.am (CXX): Use ${SHELL}.
436 (GLIBCXX_INCLUDES): Same.
437 (AM_CXXFLAGS): Same.
438 * testsuite/Makefile.in: Regenerate.
439
440 2005-03-25 Mark Mitchell <mark@codesourcery.com>
441
442 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
443 when testing an installed compiler.
444
445 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
446 compiling support objects.
447
448 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
449
450 * include/tr1/memory: Forward to...
451 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
452 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
453 * include/Makefile.in: Regenerate.
454 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
455 auto_ptr_neg.cc: Adjust line numbers.
456
457 2005-03-23 Mark Mitchell <mark@codesourcery.com>
458
459 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
460 * testsuite/Makefile.in: Regenerated.
461
462 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
463
464 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
465 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
466 _GLIBCXX_USE_C99_WCHAR.
467 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
468 and GLIBCXX_ENABLE_WCHAR_T.
469 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
470 GLIBCXX_ENABLE_C99.
471 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
472 GLIBCXX_CHECK_ICONV_SUPPORT.
473 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
474 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
475 * crossconfig.m4: Same.
476 * acconfig.h: Same, adjust comments.
477 * config.h.in: Regenerate.
478 * configure: Regenerate.
479 * docs/html/configopts.html: Change --enable-c-mbchar to
480 --enable-wchar_t.
481
482 * config/locale/gnu/c++locale_internal.h: Guard wide functions
483 with _GLIBCXX_USE_WCHAR_T.
484 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
485 * include/c_std/std_cstdio.h: Spacing.
486
487 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
488 * src/debug.cc: Same.
489
490 2005-03-23 Mark Mitchell <mark@codesourcery.com>
491
492 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
493 exists.
494
495 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
496 (v3-wchar_t): ... this.
497 (libstdc++_threads): Rename to ...
498 (v3-threads): ... this.
499 (libstdc++_test_objs): Rename to ...
500 (v3-test_objs): ... this.
501 (libstdc++_build_support): Rename to ...
502 (v3-build_support): ... this.
503 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
504
505 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
506 of compilers not in the build directory.
507 (libstdc++_wchar_t): New variable.
508 (libstdc++_threads): Likewise.
509 (libstdc++_test_objs): Likewise.
510 (v3_target_compile): Use libstdc++_test_objs.
511 (v3-list-tests): Remove.
512 (listdc++_build_support): New function.
513 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
514 generate list of tests.
515
516 2005-03-21 Chris Jefferson <chris@bubblescope.net>
517
518 PR libstdc++/20577
519 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
520 to swap when the iterator's reference_type is a reference to its
521 value_type.
522 * testsuite/25_algorithms/iter_swap/20577.cc: New.
523
524 2005-03-21 Zack Weinberg <zack@codesourcery.com>
525
526 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
527 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
528 is expanded by the Makefiles, not by configure.
529 * fragment.am: Set gcc_version.
530 * libmath/Makefile.am: Likewise.
531 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
532 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
533 * testsuite/Makefile.in: Regenerate.
534
535 2005-03-16 Paolo Carlini <pcarlini@suse.de>
536
537 * testsuite/20_util/functional/binders.cc: Remove explicit
538 instantiations for non-weak systems.
539 * testsuite/20_util/memory/allocator/1.cc: Likewise.
540 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
541 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
542 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
543 * testsuite/20_util/utility/rel_ops.cc: Likewise.
544 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
545 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
546 * testsuite/23_containers/deque/cons/1.cc: Likewise.
547 * testsuite/23_containers/deque/cons/2.cc: Likewise.
548 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
549 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
550 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
551 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
552 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
553 * testsuite/23_containers/deque/operators/1.cc: Likewise.
554 * testsuite/23_containers/list/capacity/1.cc: Likewise.
555 * testsuite/23_containers/list/cons/1.cc: Likewise.
556 * testsuite/23_containers/list/cons/2.cc: Likewise.
557 * testsuite/23_containers/list/cons/3.cc: Likewise.
558 * testsuite/23_containers/list/cons/4.cc: Likewise.
559 * testsuite/23_containers/list/cons/5.cc: Likewise.
560 * testsuite/23_containers/list/cons/6.cc: Likewise.
561 * testsuite/23_containers/list/cons/7.cc: Likewise.
562 * testsuite/23_containers/list/cons/8.cc: Likewise.
563 * testsuite/23_containers/list/cons/9.cc: Likewise.
564 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
565 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
566 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
567 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
568 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
569 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
570 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
571 * testsuite/23_containers/list/operators/1.cc: Likewise.
572 * testsuite/23_containers/list/operators/2.cc: Likewise.
573 * testsuite/23_containers/list/operators/3.cc: Likewise.
574 * testsuite/23_containers/list/operators/4.cc: Likewise.
575 * testsuite/23_containers/map/insert/1.cc: Likewise.
576 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
577 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
578 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
579 * testsuite/23_containers/map/operators/1.cc: Likewise.
580 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
581 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
582 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
583 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
584 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
585 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
586 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
587 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
588 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
589 * testsuite/23_containers/queue/members/7157.cc: Likewise.
590 * testsuite/23_containers/set/insert/1.cc: Likewise.
591 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
592 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
593 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
594 * testsuite/23_containers/stack/members/7158.cc: Likewise.
595 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
596 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
597 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
598 * testsuite/23_containers/vector/cons/1.cc: Likewise.
599 * testsuite/23_containers/vector/cons/2.cc: Likewise.
600 * testsuite/23_containers/vector/cons/3.cc: Likewise.
601 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
602 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
603 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
604 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
605 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
606 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
607 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
608 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
609 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
610 * testsuite/23_containers/vector/resize/1.cc: Likewise.
611 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
612 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
613 * testsuite/24_iterators/insert_iterator.cc: Likewise.
614 * testsuite/24_iterators/iterator.cc: Likewise.
615 * testsuite/25_algorithms/copy/1.cc: Likewise.
616 * testsuite/25_algorithms/copy/2.cc: Likewise.
617 * testsuite/25_algorithms/copy/3.cc: Likewise.
618 * testsuite/25_algorithms/copy/4.cc: Likewise.
619 * testsuite/25_algorithms/equal.cc: Likewise.
620 * testsuite/25_algorithms/fill/1.cc: Likewise.
621 * testsuite/25_algorithms/fill/2.cc: Likewise.
622 * testsuite/25_algorithms/min_max.cc: Likewise.
623 * testsuite/25_algorithms/rotate.cc: Likewise.
624 * testsuite/25_algorithms/unique/1.cc: Likewise.
625 * testsuite/25_algorithms/unique/2.cc: Likewise.
626 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
627 * testsuite/ext/concept_checks.cc: Likewise.
628 * testsuite/ext/hash_map/1.cc: Likewise.
629 * testsuite/ext/hash_set/1.cc: Likewise.
630 * testsuite/ext/rope/1.cc: Likewise.
631 * testsuite/ext/rope/2.cc: Likewise.
632 * testsuite/ext/rope/3.cc: Likewise.
633 * testsuite/thread/pthread1.cc: Likewise.
634 * testsuite/thread/pthread4.cc: Likewise.
635 * testsuite/thread/pthread5.cc: Likewise.
636 * testsuite/thread/pthread6.cc: Likewise.
637 * testsuite/thread/pthread7-rope.cc: Likewise.
638
639 2005-03-15 Zack Weinberg <zack@codesourcery.com>
640
641 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
642 subdirectory. Generate #define of __GLIBCXX__ from contents of
643 that file.
644 * include/Makefile.in: Regenerate.
645 * include/bits/c++config: Do not define __GLIBCXX__.
646
647 2005-03-15 Paolo Carlini <pcarlini@suse.de>
648
649 PR libstdc++/20352
650 * include/std/std_complex.h (pow(const complex<_Tp>&,
651 const _Tp&)): On non-c99 platforms, don't try to compute
652 log of complex zero.
653
654 2005-03-10 Ben Elliston <bje@au.ibm.com>
655
656 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
657 on GNU/Linux.
658
659 2005-03-07 Paolo Carlini <pcarlini@suse.de>
660
661 * include/tr1/type_traits (is_polymorphic): Don't forget
662 the virtual destructor, thus avoiding warnings.
663 * testsuite/testsuite_tr1.h (class AbstractClass,
664 class PolymorphicClass): Likewise.
665
666 2005-03-07 Paolo Carlini <pcarlini@suse.de>
667
668 * include/std/std_complex.h (pow(const complex<_Tp>&,
669 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
670 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
671 _GLIBCXX_USE_C99_COMPLEX.
672
673 2005-03-07 Paolo Carlini <pcarlini@suse.de>
674
675 * include/std/std_fstream.h (basic_fstream<>::open,
676 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
677 resolution of DR 409 [Ready], call clear() on success.
678 * docs/html/ext/howto.html: Add an entry for DR 409.
679 * docs/html/faq/index.html (4_4): Clarify the new behavior.
680 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
681 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
682
683 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
684
685 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
686 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
687 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
688 testsuite/22_locale/collate/hash/wchar_t/2.cc,
689 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
690 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
691 testsuite/22_locale/collate/transform/wchar_t/2.cc,
692 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
693 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
694 XFAIL on *-*-hpux11.23.
695
696 2005-03-04 Paolo Carlini <pcarlini@suse.de>
697
698 * include/tr1/type_traits: Add is_base_of.
699 * testsuite/tr1/4_metaprogramming/relationships_between_types/
700 is_base_of/is_base_of.cc: New.
701 * testsuite/tr1/4_metaprogramming/relationships_between_types/
702 is_base_of/typedefs.cc: Likewise.
703
704 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
705
706 * include/tr1/functional: Convert relative path.
707
708 * docs/doxygen/user.cfg.in: Add tr1 includes.
709
710 2005-03-03 Paolo Carlini <pcarlini@suse.de>
711
712 * include/tr1/type_traits: Implemenet is_polymorphic.
713 (is_empty): Minor tweaks.
714 * testsuite/testsuite_tr1.h: Add test types.
715 * testsuite/tr1/4_metaprogramming/type_properties/
716 is_polymorphic/is_polymorphic.cc: New.
717 * testsuite/tr1/4_metaprogramming/type_properties/
718 is_polymorphic/typedefs.cc: Likewise.
719 * testsuite/tr1/4_metaprogramming/composite_type_traits/
720 is_union_or_class/is_union_or_class.cc: Add tests.
721
722 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
723
724 * include/tr1/functional (_Has_result_type): Cleanup.
725 (_Result_of_impl): Handle member data pointers correctly.
726 (reference_wrapper): Support invocation.
727 Move repetition code into new file include/tr1/repeat.h.
728 * include/tr1/functional_iterate.h (reference_wrapper): Support
729 invocation. Cleanup long lines.
730 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
731 invocation operators.
732 * include/tr1/repeat.h: Code repetition header.
733 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
734 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
735 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
736 New test of reference_wrapper invocation.
737 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
738 New test of reference_wrapper typedefs and base classes.
739 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
740 (e-mail address).
741
742 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
743
744 * include/tr1/function (result_of): New class template.
745 * include/tr1/functional/iterator.h: Implementation of TR1
746 result_of.
747 * testsuite/tr1/3_function_objects/result_of.cc: New test
748
749 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
750
751 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
752
753 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
754
755 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
756 cons/auto_ptr_neg.cc: Correct line numbers.
757
758 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
759
760 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
761
762 * include/tr1/memory: Replace checked_deleter with (unchecked)
763 _Sp_deleter as GCC warns about delete on incomplete types anyway.
764
765 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
766
767 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
768
769 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
770
771 PR target/19065
772 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
773 'Q' constraint, not 'm'.
774
775 2005-02-26 Earl Chew <earl_chew@agilent.com>
776 Christopher Jefferson <chris@bubblescope.net>
777
778 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
779 memory if _M_key_compare throws.
780
781 2005-02-25 Paolo Carlini <pcarlini@suse.de>
782
783 * include/tr1/type_traits: Add the trivial is_union and is_class;
784 add the __is_union_or_class extension.
785 (is_enum, is_empty): Use the latter.
786 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
787 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
788 fixes.
789 * testsuite/tr1/4_metaprogramming/composite_type_traits/
790 is_union_or_class/is_union_or_class.cc: New.
791 * testsuite/tr1/4_metaprogramming/composite_type_traits/
792 is_union_or_class/typedefs.cc: Likewise.
793
794 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
795
796 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
797 wchar_t use with _GLIBCXX_USE_WCHAR_T.
798
799 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
800
801 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
802 _GLIBCXX_USE_C99_COMPLEX.
803 * acinclude.m4: Same.
804 * acconfig.h: Same.
805 * configure: Regenerate.
806 * config.h.in: Same.
807
808 2005-02-24 Paolo Carlini <pcarlini@suse.de>
809
810 * include/tr1/functional (mem_fn): Avoid _T, badname on
811 Darwin.
812
813 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
814
815 * include/tr1/functional (function): New class template.
816 (mem_fn): New function template.
817 Implementations of TR1 function and mem_fn facilities.
818 * include/tr1/functional_iterate.h: Implementations of TR1
819 function and mem_fn facilities.
820 * testsuite/tr1/3_function_objects/function/1.cc: New
821 test of std::tr1::function.
822 * testsuite/tr1/3_function_objects/function/2.cc: New
823 test of std::tr1::function.
824 * testsuite/tr1/3_function_objects/function/3.cc: New
825 test of std::tr1::function.
826 * testsuite/tr1/3_function_objects/function/4.cc: New
827 test of std::tr1::function.
828 * testsuite/tr1/3_function_objects/function/5.cc: New
829 test of std::tr1::function.
830 * testsuite/tr1/3_function_objects/function/6.cc: New
831 test of std::tr1::function.
832 * testsuite/tr1/3_function_objects/function/7.cc: New
833 test of std::tr1::function.
834 * testsuite/tr1/3_function_objects/function/8.cc: New
835 test of std::tr1::function.
836 * testsuite/tr1/3_function_objects/function/9.cc: New
837 test of std::tr1::function.
838 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
839 std::tr1::mem_fn.
840
841 2005-02-23 Paolo Carlini <pcarlini@suse.de>
842
843 * include/tr1/type_traits: Implement is_convertible.
844 * testsuite/tr1/4_metaprogramming/relationships_between_types/
845 is_convertible/is_convertible.cc: New.
846 * testsuite/tr1/4_metaprogramming/relationships_between_types/
847 is_convertible/typedefs.cc: Likewise.
848 * testsuite/testsuite_tr1.h: Add class DerivedType.
849
850 * include/tr1/type_traits (is_function): Don't mistake references
851 to function types for function types.
852 * testsuite/tr1/4_metaprogramming/primary_type_categories/
853 is_function/is_function.cc: Add testcase.
854
855 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
856
857 * scripts/check_performance: Tweaks.
858
859 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
860 output file with extension that clean rules can find.
861
862 2005-02-22 Richard Henderson <rth@redhat.com>
863
864 PR libstdc++/20091
865 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
866 decrement of uncaughtExceptions for rethrow.
867
868 2005-02-22 Paolo Carlini <pcarlini@suse.de>
869
870 * include/tr1/functional: Fix License to GPL with exception.
871 * include/tr1/hashtable: Likewise.
872 * include/tr1/tuple: Likewise.
873 * include/tr1/type_traits: Likewise.
874 * include/tr1/type_traits_fwd.h: Likewise.
875 * include/tr1/unordered_map: Likewise.
876 * include/tr1/unordered_set: Likewise.
877 * include/tr1/utility: Likewise.
878
879 2005-02-22 Paolo Carlini <pcarlini@suse.de>
880
881 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
882 auto_ptr_neg.cc: Add missing dg-do compile directive.
883 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
884 auto_ptr_rvalue_neg.cc: Likewise.
885 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
886 shared_ptr_neg.cc: Likewise.
887 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
888 auto_ptr_neg.cc: Likewise.
889 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
890 reset_neg.cc: Likewise.
891 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
892 swap_neg.cc: Likewise.
893
894 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
895
896 * include/Makefile.am, include/Makefile.in: Fix accidental extra
897 change from previous commit.
898
899 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
900
901 * include/tr1/memory: New file.
902 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
903 * testsuite/tr1/2_general_utilities/memory/
904 enable_shared_from_this/not_shared.cc: New test.
905 * testsuite/tr1/2_general_utilities/memory/
906 enable_shared_from_this/not_shared2.cc: New test.
907 * testsuite/tr1/2_general_utilities/memory/
908 enable_shared_from_this/not_shared3.cc: New test.
909 * testsuite/tr1/2_general_utilities/memory/
910 enable_shared_from_this/shared.cc: New test.
911 * testsuite/tr1/2_general_utilities/memory/
912 enable_shared_from_this/still_shared.cc: New test.
913 * testsuite/tr1/2_general_utilities/memory/
914 shared_ptr/assign/assign.cc: New test.
915 * testsuite/tr1/2_general_utilities/memory/
916 shared_ptr/assign/auto_ptr.cc: New test.
917 * testsuite/tr1/2_general_utilities/memory/
918 shared_ptr/assign/auto_ptr_neg.cc: New test.
919 * testsuite/tr1/2_general_utilities/memory/
920 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
921 * testsuite/tr1/2_general_utilities/memory/
922 shared_ptr/assign/shared_ptr.cc: New test.
923 * testsuite/tr1/2_general_utilities/memory/
924 shared_ptr/assign/shared_ptr_neg.cc: New test.
925 * testsuite/tr1/2_general_utilities/memory/
926 shared_ptr/comparison/cmp.cc: New test.
927 * testsuite/tr1/2_general_utilities/memory/
928 shared_ptr/cons/auto_ptr.cc: New test.
929 * testsuite/tr1/2_general_utilities/memory/
930 shared_ptr/cons/auto_ptr_neg.cc: New test.
931 * testsuite/tr1/2_general_utilities/memory/
932 shared_ptr/cons/copy.cc: New test.
933 * testsuite/tr1/2_general_utilities/memory/
934 shared_ptr/cons/default.cc: New test.
935 * testsuite/tr1/2_general_utilities/memory/
936 shared_ptr/cons/pointer.cc: New test.
937 * testsuite/tr1/2_general_utilities/memory/
938 shared_ptr/cons/weak_ptr.cc: New test.
939 * testsuite/tr1/2_general_utilities/memory/
940 shared_ptr/cons/weak_ptr_expired.cc: New test.
941 * testsuite/tr1/2_general_utilities/memory/
942 shared_ptr/dest/dest.cc: New test.
943 * testsuite/tr1/2_general_utilities/memory/
944 shared_ptr/misc/io.cc: New test.
945 * testsuite/tr1/2_general_utilities/memory/
946 shared_ptr/misc/swap.cc: New test.
947 * testsuite/tr1/2_general_utilities/memory/
948 shared_ptr/modifiers/reset.cc: New test.
949 * testsuite/tr1/2_general_utilities/memory/
950 shared_ptr/modifiers/reset_neg.cc: New test.
951 * testsuite/tr1/2_general_utilities/memory/
952 shared_ptr/modifiers/swap.cc: New test.
953 * testsuite/tr1/2_general_utilities/memory/
954 shared_ptr/modifiers/swap_neg.cc: New test.
955 * testsuite/tr1/2_general_utilities/memory/
956 shared_ptr/observers/bool_conv.cc: New test.
957 * testsuite/tr1/2_general_utilities/memory/
958 shared_ptr/observers/get.cc: New test.
959 * testsuite/tr1/2_general_utilities/memory/
960 shared_ptr/observers/unique.cc: New test.
961 * testsuite/tr1/2_general_utilities/memory/
962 shared_ptr/observers/use_count.cc: New test.
963
964 2005-02-21 Paolo Carlini <pcarlini@suse.de>
965
966 * include/tr1/type_traits (is_member_function_pointer):
967 Remove ugly workaround for c++/19076.
968
969 2005-02-21 Paolo Carlini <pcarlini@suse.de>
970
971 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
972 check for this == &_S_empty_rep, it's always false, here.
973
974 2005-02-19 Matt Austern <austern@gmail.com>
975
976 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
977 hash<T>::operator() a const member function for T a fundamental type
978 * include/tr1/hashtable (extract1st::operator()): Declare const.
979 (hash_code_base): Declare all member functions const
980 (hashtable::find): fix call to this->bucket_count()
981 (hashtable::count): Likewise.
982 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
983 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
984 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
985 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
986 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
987
988 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
989
990 PR libstdc++/20071
991 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
992 _GLIBCXX_USE_WCHAR_T.
993
994 2005-02-18 Richard Henderson <rth@redhat.com>
995
996 PR libstdc++/10606
997 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
998 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
999 uncaughtExceptions here instead of ...
1000 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
1001 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
1002 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
1003 (__cxa_get_exception_ptr): New.
1004 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
1005
1006 2005-02-18 Matt Austern <austern@apple.com>
1007
1008 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
1009 test case to use assignment instead of ==
1010 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
1011 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
1012 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
1013 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
1014
1015 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
1016
1017 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
1018 on Solaris 2.6 and below.
1019 * testsuite/thread/pthread2.cc: Likewise.
1020 * testsuite/thread/pthread3.cc: Likewise.
1021 * testsuite/thread/pthread4.cc: Likewise.
1022 * testsuite/thread/pthread5.cc: Likewise.
1023 * testsuite/thread/pthread6.cc: Likewise.
1024 * testsuite/thread/pthread7-rope.cc: Likewise.
1025
1026 2005-02-17 Matt Austern <austern@apple.com>
1027
1028 * include/tr1/functional (hash): New function object.
1029 * include/tr1/hashtable: New file.
1030 * include/tr1/unordered_set: New file.
1031 * include/tr1/unordered_map: New file.
1032 * include/Makefile.am: Add three new TR1 headers.
1033 * include/Makefile.in: Likewise.
1034 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
1035 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
1036 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
1037 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
1038 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
1039 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
1040 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
1041 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
1042 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
1043 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
1044
1045 2005-02-16 Paolo Carlini <pcarlini@suse.de>
1046
1047 * testsuite/23_containers/set/modifiers/16728.cc:
1048 Remove redundant include <testsuite_performance.h>.
1049
1050 2005-02-16 Paolo Carlini <pcarlini@suse.de>
1051
1052 PR libstdc++/19829
1053 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
1054 at line #66 to not access str_lit01 beyond its end.
1055 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
1056
1057 2005-02-15 Paolo Carlini <pcarlini@suse.de>
1058 Jon Grimm <jgrimm2@us.ibm.com>
1059
1060 PR libstdc++/19955
1061 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
1062 Fix the logic setting _M_narrow_ok: first check whether the
1063 transformation is trivial with a dflt == 0, then deal with the
1064 special case of zero.
1065 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
1066
1067 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
1068 Tweak consistently to use memcmp; minor formatting fixes.
1069
1070 2005-02-15 Jakub Jelinek <jakub@redhat.com>
1071
1072 PR libstdc++/19946
1073 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
1074 demangler change.
1075 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
1076
1077 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
1078 Paolo Carlini <pcarlini@suse.de>
1079
1080 PR libstdc++/11706
1081 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
1082 for integer overloads.
1083
1084 * testsuite/26_numerics/cmath/powi.cc: New.
1085
1086 2005-02-11 Janis Johnson <janis187@us.ibm.com>
1087
1088 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
1089 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
1090 * testsuite/26_numerics/complex/pow.cc: Ditto.
1091
1092 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
1093 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
1094 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
1095 * testsuite/26_numerics/complex/pow.cc: Ditto.
1096
1097 2005-02-09 Mike Stump <mrs@apple.com>
1098
1099 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
1100
1101 2005-02-09 Janis Johnson <janis187@us.ibm.com>
1102
1103 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
1104
1105 2005-02-08 Mark Mitchell <mark@codesourcery.com>
1106
1107 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
1108
1109 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
1110
1111 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
1112 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
1113 src static.
1114
1115 2005-02-02 Brad Spencer <spencer@infointeractive.com>
1116
1117 * debug.html: Fix broken tags.
1118 * documentation.html: Same.
1119
1120 2005-02-02 Andreas Jaeger <aj@suse.de>
1121
1122 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
1123 from 2005-01-28.
1124 * testsuite/Makefile.am: Likewise.
1125 * testsuite/Makefile.in: Likewise.
1126
1127 2005-02-01 Paolo Carlini <pcarlini@suse.de>
1128
1129 * include/bits/cpp_type_traits.h: Rename _M_type fields to
1130 __value, except for __enable_if, _M_type -> __type, consistently
1131 with the other traits.
1132 * include/bits/stl_algobase.h: Tweak consistently.
1133 * include/bits/stl_tree.h: Likewise.
1134 * include/bits/valarray_array.h: Likewise.
1135 * include/c_std/std_cmath.h: Likewise.
1136 * include/debug/safe_iterator.h: Likewise.
1137 * include/std/std_complex.h: Likewise.
1138
1139 2005-01-31 Brad Spencer <spencer@infointeractive.com>
1140
1141 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
1142 * configure: Regenerated.
1143
1144 2005-01-31 Mark Mitchell <mark@codesourcery.com>
1145
1146 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
1147 Add required cast.
1148 (numeric_limits<double>::has_denorm): Likewise.
1149 (numeric_limits<long double>::has_denorm): Likewise.
1150
1151 2005-01-31 Paolo Carlini <pcarlini@suse.de>
1152 Gabriel Dos Reis <gdr@integrable-solutions.net>
1153
1154 * include/bits/cpp_type_traits.h: Add types to the structs thus
1155 making type_traits.h redundant; exploit new __truth_type and
1156 __traitor helpers.
1157 * include/bits/type_traits.h: Remove.
1158 * include/Makefile.am: Update.
1159 * include/Makefile.in: Regenerate.
1160 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
1161 * include/bits/basic_string.h (replace(iterator, iterator,
1162 _InputIterator, _InputIterator), _S_construct(_InIterator,
1163 _InIterator, const _Alloc&)): Use __is_integer instead.
1164 * include/bits/stl_bvector.h (vector(_InputIterator,
1165 _InputIterator, const allocator_type&), assign(_InputIterator,
1166 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
1167 Likewise.
1168 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1169 _ForwardIterator)): Use __is_scalar.
1170 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
1171 const allocator_type&), assign(_InputIterator, _InputIterator),
1172 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
1173 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
1174 insert(iterator, _InputIterator, _InputIterator)): Likewise.
1175 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
1176 _ForwardIterator)): Use __is_scalar.
1177 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
1178 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
1179 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
1180 _Size, const _Tp&)): Likewise.
1181 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
1182 const allocator_type&), assign(_InputIterator, _InputIterator),
1183 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
1184 * include/debug/debug.h (__valid_range(const _InputIterator&,
1185 const _InputIterator&)): Use __is_integer.
1186 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
1187 * include/std/std_string.h: Include cpp_type_traits.h instead.
1188
1189 2005-01-30 Paolo Carlini <pcarlini@suse.de>
1190
1191 PR libstdc++/19642
1192 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
1193 LC_NUMERIC, and only when actually != "C".
1194
1195 2005-01-28 Paolo Carlini <pcarlini@suse.de>
1196
1197 * include/tr1/type_traits (is_function): Minor consistency tweaks.
1198
1199 2005-01-28 Geoffrey Keating <geoffk@apple.com>
1200
1201 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
1202 for the compiler. Don't set cxxflags.
1203 (v3_target_compile): Search for libv3test.a relative to $objdir.
1204 (lsearch_all_inline): New.
1205 (lsearch_all_inline_not): New.
1206 (v3-list-tests): Rewrite to not need generated files.
1207 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
1208 (IGNORE_THREAD): New.
1209 (TESTS_TO_IGNORE): New.
1210 (site.exp): Set tests_to_ignore, cxxflags.
1211 * aclocal.m4: Regenerate.
1212 * Makefile.in: Regenerate.
1213 * libmath/Makefile.in: Likewise.
1214 * libsupc++/Makefile.in: Likewise.
1215 * po/Makefile.in: Likewise.
1216 * src/Makefile.in: Likewise.
1217 * testsuite/Makefile.in: Likewise.
1218
1219 2005-01-28 Paolo Carlini <pcarlini@suse.de>
1220
1221 * include/tr1/type_traits: Implement is_empty.
1222 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
1223 is_empty.cc: New.
1224 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
1225 typedefs.cc: Likewise.
1226
1227 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
1228
1229 2005-01-28 Paolo Carlini <pcarlini@suse.de>
1230
1231 * include/tr1/type_traits: Implement is_abstract, by exploiting the
1232 resolution of DR core/337.
1233 * testsuite/testsuite_tr1.h: Add AbstractClass.
1234 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
1235 is_abstract.cc: New.
1236 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
1237 typedefs.cc: Likewise.
1238
1239 * include/tr1/type_traits (is_function): Rewrite, use the conversion
1240 F& -> F* instead, thus avoiding problems with abstract classes.
1241 * testsuite/tr1/4_metaprogramming/primary_type_categories/
1242 is_function/is_function.cc: Add a test for tricky AbstractClass.
1243
1244 2005-01-26 Paolo Carlini <pcarlini@suse.de>
1245
1246 * include/ext/mt_allocator.h
1247 (struct __per_type_pool_policy<,, false>::_S_get_pool,
1248 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
1249 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
1250 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
1251 reduce to 64 the multiplier for _M_max_bytes (safer wrt
1252 _Binmap_type being a short); trivial reformattings.
1253 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
1254
1255 2005-01-26 Paolo Carlini <pcarlini@suse.de>
1256
1257 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
1258 to the final test for enable_c99, thus robustifying it; remove
1259 duplicate final test on ac_99_math.
1260 * configure: Regenerate.
1261
1262 * include/std/std_complex.h: Remove usages of the dead
1263 _GLIBCXX_BUGGY_COMPLEX macro.
1264
1265 * testsuite/26_numerics/cmath/19322.cc: Protect with
1266 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
1267 since only C99 math facilities are involved.
1268 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
1269 Likewise.
1270
1271 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
1272
1273 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
1274 instead of generic. Change autoconf report to "darwin or freebsd".
1275 * configure: Regenerate.
1276 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
1277 (ctype<wchar_t>::do_scan_is): Likewise.
1278 (ctype<wchar_t>::do_scan_not): Likewise.
1279
1280 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
1281
1282 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
1283 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
1284 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
1285 * config.h.in: Regenerate.
1286 * configure: Regenerate.
1287 * include/std/std_complex.h: Protect complex builtins with
1288 _GLIBCXX_USE_C99_COMPLEX_MATH.
1289
1290 2005-01-24 Paolo Carlini <pcarlini@suse.de>
1291
1292 * include/tr1/type_traits: Implement is_signed and is_unsigned.
1293 * testsuite/tr1/4_metaprogramming/type_properties/
1294 is_signed/is_signed.cc: New.
1295 * testsuite/tr1/4_metaprogramming/type_properties/
1296 is_signed/typedefs.cc: Likewise.
1297 * testsuite/tr1/4_metaprogramming/type_properties/
1298 is_unsigned/is_unsigned.cc: Likewise.
1299 * testsuite/tr1/4_metaprogramming/type_properties/
1300 is_unsigned/typedefs.cc: Likewise.
1301
1302 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1303
1304 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
1305
1306 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1307
1308 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
1309 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
1310 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
1311 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
1312 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
1313 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
1314 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
1315 * testsuite/27_io/basic_ostream/flush/wchar_t/
1316 exceptions_badbit_throw.cc: Likewise.
1317 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1318 wchar_t/2.cc: Likewise.
1319 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1320 wchar_t/3.cc: Likewise.
1321 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1322 wchar_t/4.cc: Likewise.
1323 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1324 wchar_t/4402.cc: Likewise.
1325 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1326 wchar_t/5.cc: Likewise.
1327 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1328 wchar_t/6.cc: Likewise.
1329 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1330 wchar_t/9555-oa.cc: Likewise.
1331 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1332 wchar_t/exceptions_badbit_throw.cc: Likewise.
1333 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1334 wchar_t/exceptions_failbit_throw.cc: Likewise.
1335 * testsuite/27_io/basic_ostream/inserters_character/
1336 wchar_t/1.cc: Likewise.
1337 * testsuite/27_io/basic_ostream/inserters_character/
1338 wchar_t/2.cc: Likewise.
1339 * testsuite/27_io/basic_ostream/inserters_character/
1340 wchar_t/3.cc: Likewise.
1341 * testsuite/27_io/basic_ostream/inserters_character/
1342 wchar_t/4.cc: Likewise.
1343 * testsuite/27_io/basic_ostream/inserters_character/
1344 wchar_t/5.cc: Likewise.
1345 * testsuite/27_io/basic_ostream/inserters_character/
1346 wchar_t/6.cc: Likewise.
1347 * testsuite/27_io/basic_ostream/inserters_character/
1348 wchar_t/9555-oc.cc: Likewise.
1349 * testsuite/27_io/basic_ostream/inserters_other/
1350 wchar_t/1.cc: Likewise.
1351 * testsuite/27_io/basic_ostream/inserters_other/
1352 wchar_t/2.cc: Likewise.
1353 * testsuite/27_io/basic_ostream/inserters_other/
1354 wchar_t/3.cc: Likewise.
1355 * testsuite/27_io/basic_ostream/inserters_other/
1356 wchar_t/4.cc: Likewise.
1357 * testsuite/27_io/basic_ostream/inserters_other/
1358 wchar_t/5.cc: Likewise.
1359 * testsuite/27_io/basic_ostream/inserters_other/
1360 wchar_t/9318-out.cc: Likewise.
1361 * testsuite/27_io/basic_ostream/inserters_other/
1362 wchar_t/9424-out.cc: Likewise.
1363 * testsuite/27_io/basic_ostream/inserters_other/
1364 wchar_t/9555-oo.cc: Likewise.
1365 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1366 error_failbit.cc: Likewise.
1367 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1368 exceptions_badbit_throw.cc: Likewise.
1369 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1370 exceptions_failbit_throw.cc: Likewise.
1371 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
1372 exceptions_null.cc: Likewise.
1373 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
1374 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
1375 * testsuite/27_io/basic_ostream/seekp/char/
1376 exceptions_badbit_throw.cc: Likewise.
1377 * testsuite/27_io/basic_ostream/seekp/wchar_t/
1378 2346-fstream.cc: Likewise.
1379 * testsuite/27_io/basic_ostream/seekp/wchar_t/
1380 2346-sstream.cc: Likewise.
1381 * testsuite/27_io/basic_ostream/seekp/wchar_t/
1382 exceptions_badbit_throw.cc: Likewise.
1383 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
1384 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
1385 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
1386 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
1387 * testsuite/27_io/basic_ostream/tellp/wchar_t/
1388 exceptions_badbit_throw.cc: Likewise.
1389 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
1390
1391 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
1392 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
1393 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
1394 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
1395 * testsuite/data/wostream_seeks-1.tst: Likewise.
1396
1397 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
1398 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
1399 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
1400 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
1401 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
1402 * testsuite/27_io/basic_ostream/flush/char/
1403 exceptions_badbit_throw.cc: Likewise.
1404 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1405 char/2.cc: Likewise.
1406 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1407 char/3.cc: Likewise.
1408 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1409 char/4.cc: Likewise.
1410 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1411 char/4402.cc: Likewise.
1412 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1413 char/5.cc: Likewise.
1414 * testsuite/27_io/basic_ostream/inserters_arithmetic/
1415 char/6.cc: Likewise.
1416 * testsuite/27_io/basic_ostream/inserters_character/
1417 char/4.cc: Likewise.
1418 * testsuite/27_io/basic_ostream/inserters_other/char/
1419 2.cc: Likewise.
1420 * testsuite/27_io/basic_ostream/inserters_other/char/
1421 5.cc: Likewise.
1422 * testsuite/27_io/basic_ostream/inserters_other/char/
1423 error_failbit.cc: Likewise.
1424 * testsuite/27_io/basic_ostream/inserters_other/char/
1425 exceptions_badbit_throw.cc: Likewise.
1426 * testsuite/27_io/basic_ostream/inserters_other/char/
1427 exceptions_failbit_throw.cc: Likewise.
1428 * testsuite/27_io/basic_ostream/inserters_other/char/
1429 exceptions_null.cc: Likewise.
1430 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
1431 * testsuite/27_io/basic_ostream/seekp/char/
1432 exceptions_badbit_throw.cc: Likewise.
1433 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
1434 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
1435
1436 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1437
1438 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
1439 of aligned.
1440
1441 2005-01-23 Paolo Carlini <pcarlini@suse.de>
1442 Andreas Jaeger <aj@suse.de>
1443
1444 PR libstdc++/19343
1445 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
1446
1447 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
1448
1449 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
1450 lseek on fifo to succeed. Thus, check for consistent report.
1451
1452 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1453
1454 PR libstdc++/19510
1455 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
1456 in constructor.
1457 (_List_const_iterator): Likewise.
1458 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
1459 (_Rb_tree_const_iterator): Likewise.
1460
1461 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
1462 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
1463
1464 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
1465
1466 * testsuite/Makefile.am (check-compile): New.
1467 * testsuite/Makefile.in: Regenerate.
1468 * scripts/check_compile_time: New.
1469 * scripts/check_performance: Tweaks.
1470
1471 2005-01-19 Paolo Carlini <pcarlini@suse.de>
1472
1473 PR libstdc++/19535
1474 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
1475 Fix typo in the return type.
1476 * testsuite/tr1/6_containers/utility/19535.cc: New.
1477
1478 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
1479
1480 * include/ext/array_allocator.h (array_allocator<>::allocate):
1481 Avoid __used. Use __array_used instead.
1482 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
1483
1484 2005-01-18 David Edelsohn <edelsohn@gnu.org>
1485
1486 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
1487 (_XOPEN_SOURCE_EXTENDED): Delete.
1488
1489 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
1490
1491 * testsuite/testsuite_performance.h (time_counter::start):
1492 Clear. Tweaks.
1493 (clear_counters): Inline.
1494 (start_counters): Inline.
1495 (stop_counters): Inline.
1496 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
1497 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
1498 return, add return.
1499 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
1500
1501 2005-01-17 Paolo Carlini <pcarlini@suse.de>
1502
1503 PR libstdc++/19433
1504 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
1505 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
1506 Obtain amortized constant complexity if t is inserted right after
1507 p - not before p - as per Table 69.
1508 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
1509
1510 * testsuite/23_containers/multiset/insert/2.cc: New.
1511 * testsuite/23_containers/set/insert/1.cc: Likewise.
1512
1513 * testsuite/performance/23_containers/set_create_from_sorted.cc:
1514 Simplify.
1515
1516 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
1517
1518 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
1519
1520 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
1521 * testsuite/ext/rope/4.cc: Add.
1522
1523 2005-01-16 Lorenz Minder <lminder@gmx.net>
1524 Paolo Carlini <pcarlini@suse.de>
1525
1526 PR libstdc++/19322
1527 * include/c_std/std_cmath.h: Define the C99 classification facilities
1528 directly inside namespace std:.
1529 * testsuite/26_numerics/cmath/19322.cc: New.
1530
1531 2005-01-15 David Edelsohn <edelsohn@gnu.org>
1532
1533 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
1534
1535 2005-01-14 Paolo Carlini <pcarlini@suse.de>
1536
1537 PR libstdc++/19422
1538 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
1539 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
1540 respectively) with hint (end()).
1541 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
1542
1543 2005-01-13 Geoffrey Keating <geoffk@apple.com>
1544
1545 * configure.host (darwin): On darwin8 or later, no need to build
1546 libstdc++ with -flat_namespace.
1547
1548 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
1549
1550 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
1551
1552 2005-01-13 Paolo Carlini <pcarlini@suse.de>
1553
1554 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
1555 Re-enable commented-out test for double type.
1556
1557 2005-01-11 Paolo Carlini <pcarlini@suse.de>
1558 Benjamin Kosnik <bkoz@redhat.com>
1559
1560 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1561 basic_istream<char>::ignore(streamsize, int_type),
1562 basic_istream<wchar_t>::ignore(streamsize),
1563 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
1564 more than numeric_limits<streamsize>::max() chars are skipped,
1565 set _M_gcount = max().
1566 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1567 int_type)): Likewise; keep simple, don't forward.
1568
1569 2005-01-11 Paolo Carlini <pcarlini@suse.de>
1570
1571 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1572 basic_istream<char>::ignore(streamsize, int_type),
1573 basic_istream<wchar_t>::ignore(streamsize),
1574 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
1575 2005-01-05 change: actually, the previous behavior is conforming
1576 and consistent with that of get(char_type*, streamsize, char_type),
1577 albeit slightly different from that of 3.3/3.4 in a corner case
1578 due to the use of snextc.
1579 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1580 int_type)): Likewise.
1581 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
1582 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
1583
1584 2005-01-11 Paolo Carlini <pcarlini@suse.de>
1585
1586 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
1587 * testsuite/tr1/4_metaprogramming/other_transformations/
1588 aligned_storage/aligned_storage.cc: New.
1589 * testsuite/tr1/4_metaprogramming/other_transformations/
1590 aligned_storage/typedefs.cc: Likewise.
1591 * testsuite/tr1/4_metaprogramming/type_properties/
1592 alignment_of/alignment_of.cc: Likewise.
1593 * testsuite/tr1/4_metaprogramming/type_properties/
1594 alignment_of/typedefs.cc: Likewise.
1595
1596 2005-01-10 Paolo Carlini <pcarlini@suse.de>
1597
1598 * Makefile.in: Regenerate.
1599 * libmath/Makefile.in: Likewise.
1600 * libsupc++/Makefile.in: Likewise.
1601 * po/Makefile.in: Likewise.
1602 * src/Makefile.in: Likewise.
1603 * testsuite/Makefile.in: Likewise.
1604
1605 2005-01-10 Paolo Carlini <pcarlini@suse.de>
1606
1607 * include/bits/stl_algobase.h (lexicographical_compare):
1608 Fix concept check.
1609
1610 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
1611
1612 * acinclude.m4: Remove CCODECVT_H.
1613 * configure: Regenerate.
1614 * include/Makefile.am (host_headers_extra): Move to...
1615 (ext_headers): ...here.
1616 * include/Makefile.in: Regenerate.
1617 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
1618 enc_traits to...
1619 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
1620 * include/ext/codecvt_specializations.h: ...here. Remove
1621 _GLIBCXX_USE___ENC_TRAITS.
1622 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
1623 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
1624 namespace.
1625 * config/locale/generic/codecvt_specializations.h: Remove.
1626 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
1627 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
1628
1629 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
1630
1631 * include/bits/fstream.tcc: Remove unnecessary qualifications for
1632 uglified data members of basic_filebuf, including _M_buf,
1633 _M_buf_size, _M_mode, _M_pback_init.
1634 * include/std/std_fstream.h: Same.
1635
1636 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
1637
1638 * testsuite/testsuite_hooks.h:
1639 (copy_constructor::mark_call): Use __throw_runtime_error.
1640 (assignment_operator::mark_call): Same.
1641 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
1642 (locale_data): Remove, just use runtime_error directly.
1643 (environment_variable): Same.
1644 (not_found): Same.
1645 (run_tests_wrapped_locale): Use __throw_runtime_error.
1646 (run_tests_wrapped_env): Same.
1647 (semaphore::semaphore): Same.
1648 (semaphore::signal): Same.
1649 (semaphore::wait): Same.
1650 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
1651 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
1652 (create_symbols): Use __throw_runtime_error.
1653 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
1654
1655 2005-01-05 Mark Mitchell <mark@codesourcery.com>
1656
1657 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
1658 process.
1659
1660 2005-01-05 Paolo Carlini <pcarlini@suse.de>
1661
1662 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1663 basic_istream<char>::ignore(streamsize, int_type),
1664 basic_istream<wchar_t>::ignore(streamsize),
1665 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
1666 first check _M_gcount vs __n.
1667 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1668 int_type)): Likewise.
1669 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
1670 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
1671
1672 2005-01-03 Mark Mitchell <mark@codesourcery.com>
1673
1674 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
1675 instead of just throw.
1676
1677 * testsuite/testsuite_hooks.cc: Update coypright and follow style
1678 guidelines.
1679 * testsuite/testsuite_hooks.h: Likewise.
1680 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
1681 semaphores, not sleep.
1682 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
1683 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1684 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1685 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
1686 Likewise.
1687 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
1688 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1689 * testsuite/27_io/objects/char/7.cc: Likewise.
1690 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1691 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
1692 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1693
1694 * configure.ac: Check for sys/ipc.h and sys/sem.h.
1695 * config.h.in: Regenerated.
1696 * configure: Likewise.
1697 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
1698 define.
1699 (sys/types.h): Include.
1700 (sys/ipc.h): Likewise.
1701 (sys/sem.h): Likewise.
1702 (__gnu_test::semun): New type.
1703 (__gnu_test::semaphore::sempaphore): New function.
1704 (__gnu_test::semaphore::~semaphore): Likewise.
1705 (__gnu_test::semaphore::wait): Likewise.
1706 (__gnu_test::semaphore::signal): Likewise.
1707 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
1708 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
1709 semaphores, not sleep.
1710 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
1711 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
1712 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
1713 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
1714 Likewise.
1715 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
1716 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
1717 * testsuite/27_io/objects/char/7.cc: Likewise.
1718 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
1719 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
1720 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
1721
1722 2005-01-03 Paolo Carlini <pcarlini@suse.de>
1723
1724 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1725 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
1726 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
1727 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
1728 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1729 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
1730
1731 2005-01-02 Paolo Carlini <pcarlini@suse.de>
1732
1733 * src/istream.cc (basic_istream<char>::ignore(streamsize),
1734 basic_istream<char>::ignore(streamsize, int_type),
1735 basic_istream<wchar_t>::ignore(streamsize),
1736 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
1737 _M_gcount overflows.
1738 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
1739 int_type)): Likewise; use snextc in the main loop, consistently
1740 with the specializations above.
1741
1742 2005-01-02 Chris Jefferson <chris@bubblescope.net>
1743
1744 * include/bits/stl_algobase.h (mismatch): Correct concept check.
1745
1746 2005-01-01 Paolo Carlini <pcarlini@suse.de>
1747
1748 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
1749 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
1750 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
1751
1752 2005-01-01 Paolo Carlini <pcarlini@suse.de>
1753
1754 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
1755 null-terminate array1 at the outset.
1756 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
1757 Likewise.
This page took 0.125462 seconds and 5 git commands to generate.