aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2005-03-1012658_thread-1.cc: Don't XFAIL on GNU/Linux.Ben Elliston1-0/+5
* testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL on GNU/Linux. From-SVN: r96221
2005-03-07type_traits (is_polymorphic): Don't forget the virtual destructor, thus ↵Paolo Carlini1-0/+14
avoiding warnings. 2005-03-07 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits (is_polymorphic): Don't forget the virtual destructor, thus avoiding warnings. * testsuite/testsuite_tr1.h (class AbstractClass, class PolymorphicClass): Likewise. 2005-03-07 Paolo Carlini <pcarlini@suse.de> * include/std/std_complex.h (pow(const complex<_Tp>&, const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(), __y.__rep()) or __complex_pow(__x, __y) depending on the macro _GLIBCXX_USE_C99_COMPLEX. From-SVN: r96048
2005-03-07std_fstream.h (basic_fstream<>::open, [...]): Implement the resolution of DR ↵Paolo Carlini1-0/+10
409 [Ready], call clear() on success. 2005-03-07 Paolo Carlini <pcarlini@suse.de> * include/std/std_fstream.h (basic_fstream<>::open, basic_ifstream<>::open, basic_ofstream<>::open): Implement the resolution of DR 409 [Ready], call clear() on success. * docs/html/ext/howto.html: Add an entry for DR 409. * docs/html/faq/index.html (4_4): Clarify the new behavior. * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust. * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise. From-SVN: r96030
2005-03-052.cc, [...]: XFAIL on *-*-hpux11.23.Joseph Myers1-0/+13
* testsuite/22_locale/collate/compare/wchar_t/2.cc, testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc, testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc, testsuite/22_locale/collate/hash/wchar_t/2.cc, testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc, testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc, testsuite/22_locale/collate/transform/wchar_t/2.cc, testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc, testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: XFAIL on *-*-hpux11.23. From-SVN: r95917
2005-03-05type_traits: Add is_base_of.Paolo Carlini1-0/+8
2005-03-04 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Add is_base_of. * testsuite/tr1/4_metaprogramming/relationships_between_types/ is_base_of/is_base_of.cc: New. * testsuite/tr1/4_metaprogramming/relationships_between_types/ is_base_of/typedefs.cc: Likewise. From-SVN: r95911
2005-03-03functional: Convert relative path.Benjamin Kosnik1-0/+6
2005-03-03 Benjamin Kosnik <bkoz@redhat.com> * include/tr1/functional: Convert relative path. * docs/doxygen/user.cfg.in: Add tr1 includes. From-SVN: r95838
2005-03-03type_traits: Implemenet is_polymorphic.Paolo Carlini1-21/+33
2005-03-03 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Implemenet is_polymorphic. (is_empty): Minor tweaks. * testsuite/testsuite_tr1.h: Add test types. * testsuite/tr1/4_metaprogramming/type_properties/ is_polymorphic/is_polymorphic.cc: New. * testsuite/tr1/4_metaprogramming/type_properties/ is_polymorphic/typedefs.cc: Likewise. * testsuite/tr1/4_metaprogramming/composite_type_traits/ is_union_or_class/is_union_or_class.cc: Add tests. From-SVN: r95829
2005-03-02functional (_Has_result_type): Cleanup.Douglas Gregor1-0/+27
2005-03-02 Douglas Gregor <doug.gregor@gmail.com> * include/tr1/functional (_Has_result_type): Cleanup. (_Result_of_impl): Handle member data pointers correctly. (reference_wrapper): Support invocation. Move repetition code into new file include/tr1/repeat.h. * include/tr1/functional_iterate.h (reference_wrapper): Support invocation. Cleanup long lines. * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare invocation operators. * include/tr1/repeat.h: Code repetition header. * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc: New test of reference_wrapper invocation. * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc: New test of reference_wrapper typedefs and base classes. * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup (e-mail address). 2005-03-02 Douglas Gregor <doug.gregor@gmail.com> * include/tr1/function (result_of): New class template. * include/tr1/functional/iterator.h: Implementation of TR1 result_of. * testsuite/tr1/3_function_objects/result_of.cc: New test From-SVN: r95778
2005-03-02* testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.Vladimir Merzliakov1-0/+4
From-SVN: r95774
2005-03-01cons/auto_ptr_neg.cc: Correct line numbers.Benjamin Kosnik1-0/+7
2005-02-28 Benjamin Kosnik <bkoz@redhat.com> * testsuite/tr1/2_general_utilities/memory/shared_ptr/ cons/auto_ptr_neg.cc: Correct line numbers. * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1. From-SVN: r95727
2005-02-28memory: Replace checked_deleter with (unchecked) _Sp_deleter as GCC warns ↵Jonathan Wakely1-0/+5
about delete... * include/tr1/memory: Replace checked_deleter with (unchecked) _Sp_deleter as GCC warns about delete on incomplete types anyway. From-SVN: r95699
2005-02-28* include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.Jonathan Wakely1-0/+4
From-SVN: r95698
2005-02-28re PR target/19065 (Make CRIS libstdc++ asms autoincrement-safe)Hans-Peter Nilsson1-0/+6
PR target/19065 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use 'Q' constraint, not 'm'. From-SVN: r95648
2005-02-26stl_tree.h (_Rb_tree<>::_M_insert): Don't leak memory if _M_key_compare throws.Earl Chew1-0/+6
2005-02-26 Earl Chew <earl_chew@agilent.com> Christopher Jefferson <chris@bubblescope.net> * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak memory if _M_key_compare throws. Co-Authored-By: Chris Jefferson <chris@bubblescope.net> From-SVN: r95597
2005-02-25type_traits: Add the trivial is_union and is_class; add the ↵Paolo Carlini1-0/+13
__is_union_or_class extension. 2005-02-25 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Add the trivial is_union and is_class; add the __is_union_or_class extension. (is_enum, is_empty): Use the latter. * include/tr1/type_traits_fwd.h: Add __is_union_or_class. * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting fixes. * testsuite/tr1/4_metaprogramming/composite_type_traits/ is_union_or_class/is_union_or_class.cc: New. * testsuite/tr1/4_metaprogramming/composite_type_traits/ is_union_or_class/typedefs.cc: Likewise. From-SVN: r95541
2005-02-24hash.cc: Guard wchar_t use with _GLIBCXX_USE_WCHAR_T.Benjamin Kosnik1-0/+5
2005-02-24 Benjamin Kosnik <bkoz@redhat.com> * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard wchar_t use with _GLIBCXX_USE_WCHAR_T. From-SVN: r95514
2005-02-24std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to _GLIBCXX_USE_C99_COMPLEX.Benjamin Kosnik1-0/+9
2005-02-24 Benjamin Kosnik <bkoz@redhat.com> * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to _GLIBCXX_USE_C99_COMPLEX. * acinclude.m4: Same. * acconfig.h: Same. * configure: Regenerate. * config.h.in: Same. From-SVN: r95508
2005-02-24functional (mem_fn): Avoid _T, badname on Darwin.Paolo Carlini1-1/+6
2005-02-24 Paolo Carlini <pcarlini@suse.de> * include/tr1/functional (mem_fn): Avoid _T, badname on Darwin. From-SVN: r95492
2005-02-24TR1 mem_fn and function supportDouglas Gregor1-0/+28
From-SVN: r95486
2005-02-23type_traits: Implement is_convertible.Paolo Carlini1-0/+14
2005-02-23 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits: Implement is_convertible. * testsuite/tr1/4_metaprogramming/relationships_between_types/ is_convertible/is_convertible.cc: New. * testsuite/tr1/4_metaprogramming/relationships_between_types/ is_convertible/typedefs.cc: Likewise. * testsuite/testsuite_tr1.h: Add class DerivedType. * include/tr1/type_traits (is_function): Don't mistake references to function types for function types. * testsuite/tr1/4_metaprogramming/primary_type_categories/ is_function/is_function.cc: Add testcase. From-SVN: r95458
2005-02-23check_performance: Tweaks.Benjamin Kosnik1-0/+7
2005-02-22 Benjamin Kosnik <bkoz@redhat.com> * scripts/check_performance: Tweaks. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name output file with extension that clean rules can find. From-SVN: r95440
2005-02-22re PR libstdc++/20091 (18_support/14026.cc execution test fails)Richard Henderson1-0/+6
PR libstdc++/20091 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case decrement of uncaughtExceptions for rethrow. From-SVN: r95419
2005-02-22functional: Fix License to GPL with exception.Paolo Carlini1-0/+11
2005-02-22 Paolo Carlini <pcarlini@suse.de> * include/tr1/functional: Fix License to GPL with exception. * include/tr1/hashtable: Likewise. * include/tr1/tuple: Likewise. * include/tr1/type_traits: Likewise. * include/tr1/type_traits_fwd.h: Likewise. * include/tr1/unordered_map: Likewise. * include/tr1/unordered_set: Likewise. * include/tr1/utility: Likewise. From-SVN: r95398
2005-02-22auto_ptr_neg.cc: Add missing dg-do compile directive.Paolo Carlini1-0/+15
2005-02-22 Paolo Carlini <pcarlini@suse.de> * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ auto_ptr_neg.cc: Add missing dg-do compile directive. * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ auto_ptr_rvalue_neg.cc: Likewise. * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/ shared_ptr_neg.cc: Likewise. * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/ auto_ptr_neg.cc: Likewise. * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/ reset_neg.cc: Likewise. * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/ swap_neg.cc: Likewise. From-SVN: r95391
2005-02-22Makefile.am, [...]: Fix accidental extra change from previous commit.Jonathan Wakely1-0/+5
* include/Makefile.am, include/Makefile.in: Fix accidental extra change from previous commit. From-SVN: r95366
2005-02-22memory: New file.Jonathan Wakely1-0/+65
* include/tr1/memory: New file. * include/Makefile.am, include/Makefile.in: Add new TR1 header. * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/not_shared.cc: New test. * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/not_shared2.cc: New test. * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/not_shared3.cc: New test. * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/shared.cc: New test. * testsuite/tr1/2_general_utilities/memory/ enable_shared_from_this/still_shared.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/assign/assign.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/assign/auto_ptr.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/assign/auto_ptr_neg.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/assign/shared_ptr.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/assign/shared_ptr_neg.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/comparison/cmp.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/cons/auto_ptr.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/cons/auto_ptr_neg.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/cons/copy.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/cons/default.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/cons/pointer.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/cons/weak_ptr.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/cons/weak_ptr_expired.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/dest/dest.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/misc/io.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/misc/swap.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/modifiers/reset.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/modifiers/reset_neg.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/modifiers/swap.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/modifiers/swap_neg.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/observers/bool_conv.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/observers/get.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/observers/unique.cc: New test. * testsuite/tr1/2_general_utilities/memory/ shared_ptr/observers/use_count.cc: New test. From-SVN: r95361
2005-02-21type_traits (is_member_function_pointer): Remove ugly workaround for c++/19076.Paolo Carlini1-0/+5
2005-02-21 Paolo Carlini <pcarlini@suse.de> * include/tr1/type_traits (is_member_function_pointer): Remove ugly workaround for c++/19076. From-SVN: r95360
2005-02-21basic_string.tcc (_Rep::_M_destroy): Don't check for this == &_S_empty_rep, ↵Paolo Carlini1-0/+5
it's always false, here. 2005-02-21 Paolo Carlini <pcarlini@suse.de> * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't check for this == &_S_empty_rep, it's always false, here. From-SVN: r95358
2005-02-19functional (tr1_hashtable_define_trivial_hash): Make hash<T>::operator() a ↵Matt Austern1-0/+14
const member function for T a fundamental type * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make hash<T>::operator() a const member function for T a fundamental type * include/tr1/hashtable (extract1st::operator()): Declare const. (hash_code_base): Declare all member functions const (hashtable::find): fix call to this->bucket_count() (hashtable::count): Likewise. (hashtable::equal_range): m_incr_bucket applies to iterator, not node. * testsuite/tr1/6_containers/unordered/find/set1.cc: New test. * testsuite/tr1/6_containers/unordered/find/map1.cc: New test. * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test. * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test. From-SVN: r95293
2005-02-19re PR libstdc++/20071 (newlib target testsuite regressions: libstdc++: ↵Hans-Peter Nilsson1-0/+6
tr1/6_containers/tuple) PR libstdc++/20071 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef _GLIBCXX_USE_WCHAR_T. From-SVN: r95279
2005-02-18re PR libstdc++/10606 (uncaught_exception() returns false too early)Richard Henderson1-0/+13
PR libstdc++/10606 gcc/cp/ * except.c (do_get_exception_ptr): New. (expand_start_catch_block): Use it. libstdc++/ * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr. * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment uncaughtExceptions here instead of ... * libsupc++/eh_throw.cc (__cxa_throw) ... here. (__cxa_rethrow): Increment uncaughtExceptions here instead of ... * libsupc++/eh_catch.cc (__cxa_end_catch): ... here. (__cxa_get_exception_ptr): New. * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare. From-SVN: r95262
2005-02-18array_syntax.cc: Fix test case to use assignment instead of ==Matt Austern1-0/+8
* testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix test case to use assignment instead of == * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test. * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test. * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test. * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test. From-SVN: r95240
2005-02-18pthread1.cc: Do not invoke pthread_setconcurrency on Solaris 2.6 and below.Eric Botcazou1-0/+11
* testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency on Solaris 2.6 and below. * testsuite/thread/pthread2.cc: Likewise. * testsuite/thread/pthread3.cc: Likewise. * testsuite/thread/pthread4.cc: Likewise. * testsuite/thread/pthread5.cc: Likewise. * testsuite/thread/pthread6.cc: Likewise. * testsuite/thread/pthread7-rope.cc: Likewise. From-SVN: r95220
2005-02-18functional (hash): New function object.Matt Austern1-0/+19
* include/tr1/functional (hash): New function object. * include/tr1/hashtable: New file. * include/tr1/unordered_set: New file. * include/tr1/unordered_map: New file. * include/Makefile.am: Add three new TR1 headers. * include/Makefile.in: Likewise. * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test. * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test. * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test. * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test. * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test. * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test. * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test. * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test. * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test. * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test. From-SVN: r95219
2005-02-1616728.cc: Remove redundant include <testsuite_performance.h>.Paolo Carlini1-0/+5
2005-02-16 Paolo Carlini <pcarlini@suse.de> * testsuite/23_containers/set/modifiers/16728.cc: Remove redundant include <testsuite_performance.h>. From-SVN: r95105
2005-02-16re PR libstdc++/19829 (cris-elf testsuite failure: ↵Paolo Carlini1-0/+7
21_strings/basic_string/find/char/3.cc execution test) 2005-02-16 Paolo Carlini <pcarlini@suse.de> PR libstdc++/19829 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test at line #66 to not access str_lit01 beyond its end. * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise. From-SVN: r95103
2005-02-15re PR libstdc++/19955 (Second std::ctype<char>::narrow() does not call ↵Paolo Carlini1-0/+13
std::ctype<char>::do_narrow()) 2005-02-15 Paolo Carlini <pcarlini@suse.de> Jon Grimm <jgrimm2@us.ibm.com> PR libstdc++/19955 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()): Fix the logic setting _M_narrow_ok: first check whether the transformation is trivial with a dflt == 0, then deal with the special case of zero. * testsuite/22_locale/ctype/narrow/char/19955.cc: New. * include/bits/locale_facets.h (ctype<char>::_M_widen_init()): Tweak consistently to use memcmp; minor formatting fixes. Co-Authored-By: Jon Grimm <jgrimm2@us.ibm.com> From-SVN: r95082
2005-02-15re PR libstdc++/19946 (cris-elf testsuite failure: ↵Jakub Jelinek1-0/+7
demangle/abi_examples/01.cc and 02) PR libstdc++/19946 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13 demangler change. * testsuite/demangle/abi_examples/02.cc (main): Likewise. From-SVN: r95050
2005-02-13re PR libstdc++/11706 (std::pow(T, int) implementation pessimizes code)Richard Guenther1-0/+9
2005-02-13 Richard Guenther <rguenth@gcc.gnu.org> Paolo Carlini <pcarlini@suse.de> PR libstdc++/11706 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf] for integer overloads. * testsuite/26_numerics/cmath/powi.cc: New. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r94982
2005-02-1213450.cc: Fix XFAIL selector.Janis Johnson1-0/+4
* testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector. * testsuite/26_numerics/complex/complex_value.cc: Ditto. * testsuite/26_numerics/complex/pow.cc: Ditto. From-SVN: r94904
2005-02-11libstdc++.exp: Load target-supports-dg.exp.Janis Johnson1-0/+7
* testsuite/lib/libstdc++.exp: Load target-supports-dg.exp. * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg. * testsuite/26_numerics/complex/complex_value.cc: Ditto. * testsuite/26_numerics/complex/pow.cc: Ditto. From-SVN: r94902
2005-02-10* libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.Mike Stump1-0/+4
From-SVN: r94842
2005-02-10* testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.Janis Johnson1-0/+4
From-SVN: r94786
2005-02-08* config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.Mark Mitchell1-0/+4
From-SVN: r94739
2005-02-075.cc: Make buf static.Loren J. Rittle1-0/+6
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static. * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and src static. From-SVN: r94719
2005-02-02debug.html: Fix broken tags.Brad Spencer1-0/+5
2005-02-02 Brad Spencer <spencer@infointeractive.com> * debug.html: Fix broken tags. * documentation.html: Same. From-SVN: r94602
2005-02-02libstdc++.exp: Revert Geoffrey Keating's patch from 2005-01-28.Andreas Jaeger1-0/+7
* testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch from 2005-01-28. * testsuite/Makefile.am: Likewise. * testsuite/Makefile.in: Likewise. From-SVN: r94601
2005-02-01cpp_type_traits.h: Rename _M_type fields to __value...Paolo Carlini1-0/+12
2005-02-01 Paolo Carlini <pcarlini@suse.de> * include/bits/cpp_type_traits.h: Rename _M_type fields to __value, except for __enable_if, _M_type -> __type, consistently with the other traits. * include/bits/stl_algobase.h: Tweak consistently. * include/bits/stl_tree.h: Likewise. * include/bits/valarray_array.h: Likewise. * include/c_std/std_cmath.h: Likewise. * include/debug/safe_iterator.h: Likewise. * include/std/std_complex.h: Likewise. From-SVN: r94538
2005-02-01crossconfig.m4: Repair Solaris cross bits for strtold and strtof.Brad Spencer1-0/+5
2005-01-31 Brad Spencer <spencer@infointeractive.com> * crossconfig.m4: Repair Solaris cross bits for strtold and strtof. * configure: Regenerated. From-SVN: r94526
2005-02-01decl.c (build_enumerator): Do not issue duplicate error messages about ↵Mark Mitchell1-0/+7
invalid enumeration constants. * decl.c (build_enumerator): Do not issue duplicate error messages about invalid enumeration constants. * parser.c (cp_parser_non_integral_constant_expression): Always set parser->non_integral_constant_expression_p. (cp_parser_primary_expression): Add cast_p parameter. Issue errors about invalid uses of floating-point literals in cast-expressions. (cp_parser_postfix_expression): Add cast_p parameter. (cp_parser_open_square_expression): Pass it. (cp_parser_parenthesized_expression_list): Add cast_p parameter. (cp_parser_unary_expression): Likewise. (cp_parser_new_placement): Pass it. (cp_parser_direct_new_declarator): Likewise. (cp_parser_new_initializer): Likewise. (cp_parser_cast_expression): Add cast_p parameter. (cp_parser_binary_expression): Likewise. (cp_parser_question_colon_clause): Likewise. (cp_parser_assignment_expression): Likewise. (cp_parser_expression): Likewise. (cp_parser_constant_expression): If an integral constant expression is invalid, return error_mark_node. (cp_parser_expression_statement): Pass cast_p. (cp_parser_condition): Likewise. (cp_parser_iteration_statement): Likewise. (cp_parser_jump_statement): Likewise. (cp_parser_mem_initializer): Likewise. (cp_parser_template_argument): Likewise. (cp_parser_parameter_declaration): Likewise. (cp_parser_initializer): Likewise. (cp_parser_throw_expression): Likewise. (cp_parser_attribute_list): Likewise. (cp_parser_simple_cast_expression): Likewise. (cp_parser_functional_cast): Likewise. (cp_parser_late_parsing_default_args): Likewise. (cp_parser_sizeof_operand): Save/restore non_integral_constant_expression_p. * include/std/std_limits.h (numeric_limits<float>::has_denorm): Add required cast. (numeric_limits<double>::has_denorm): Likewise. (numeric_limits<long double>::has_denorm): Likewise. * g++.dg/other/warning1.C: Adjust error messags. * g++.dg/parse/constant5.C: New test. From-SVN: r94512