OSDN Git Service

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