summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/tr1
Commit message (Collapse)AuthorAgeFilesLines
...
* 2009-11-20 Jonathan Wakely <jwakely.gcc@gmail.com>redi2009-11-201-0/+35
| | | | | | | | | | | | | PR libstdc++/42019 * include/tr1/shared_ptr.h: Only use typeid when RTTI is enabled. * include/bits/shared_ptr_base.h: Likewise. * include/bits/shared_ptr.h: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/misc/42019.cc: New. * testsuite/20_util/shared_ptr/misc/42019.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154377 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-29 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-09-306-0/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/random.tcc: Define static const data members. * include/tr1/random.tcc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/ requirements/constants.cc: New. * testsuite/26_numerics/random/mersenne_twister_engine/ requirements/constants.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/ requirements/constants.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/requirements/ constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/ requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/ subtract_with_carry_01/requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/discard_block/ requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/linear_congruential/ requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/mersenne_twister/ requirements/constants.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/xor_combine/ requirements/constants.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152317 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/18_support/numeric_limits/denorm_min.cc: Usekkojima2009-08-3123-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dg-add-options ieee. * testsuite/18_support/numeric_limits/digits10.cc: Likewise. * testsuite/18_support/numeric_limits/epsilon.cc: Likewise. * testsuite/18_support/numeric_limits/infinity.cc: Likewise. * testsuite/18_support/numeric_limits/is_iec559.cc: Likewise. * testsuite/18_support/numeric_limits/is_signed.cc: Likewise. * testsuite/18_support/numeric_limits/min_max.cc: Likewise. * testsuite/18_support/numeric_limits/quiet_NaN.cc: Likewise. * testsuite/18_support/numeric_limits/ specialization_default_values.cc: Likewise. * testsuite/18_support/numeric_limits/traps.cc: Likewise. * testsuite/26_numerics/complex/pow.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 03_beta/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 12_ellint_1/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 13_ellint_2/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 14_ellint_3/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 15_expint/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 16_hermite/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 17_hyperg/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 18_laguerre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 19_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_nan.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151251 138bc75d-0d04-0410-961f-82ee72b054a4
* Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.jakub2009-04-09555-3273/+2211
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145841 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-03-13 Paolo Carlini <paolo.carlini@oracle.com>paolo2009-03-131-0/+30
| | | | | | | | | PR libstdc++/39405 * testsuite/20_util/shared_ptr/cons/39405.cc: New. * testsuite/tr1/2_general_utilities/shared_ptr/cons/39405.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144839 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/tr1_impl/regex (basic_regex::basic_regex): Use rangeredi2009-01-112-0/+22
| | | | | | | | | | | constructor for _M_pattern. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/ string.cc: Test construction from different basic_string type. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/ string.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143275 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-05 Benjamin Kosnik <bkoz@redhat.com>bkoz2009-01-0623-46/+46
| | | | | | | | | | | | | * include/tr1_impl/regex: Remove unimplemented function definitions. * testsuite/28_regex/init-list.cc: Compile only. * testsuite/tr1/7_regular_expressions/regex/cons/char/ c_string_extended.cc: Same. * testsuite/tr1/7_regular_expressions/basic_regex/assign/*: Same. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/*: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143125 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-08 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-12-081-3/+3
| | | | | | | | | | | | | | | * include/tr1_impl/cmath: Undef requof / remquol too; add using declarations. * acinclude.m4 [GLIBCXX_CHECK_C99_TR1]: Check remquof / remquol too. * testsuite/tr1/8_c_compatibility/cmath/functions.cc: Adjust. * configure: Regenerate. 2008-12-08 Edward Smith-Rowland <3dw4rd@verizon.net> * include/bits/forward_list.h: Fixed spurious "forward_swap" in doxy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142548 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-11-12 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-11-121-0/+4
| | | | | | | | | | | | PR libstdc++/37986 (cont) * include/tr1_impl/random (struct _Adaptor): Use only remove_reference on _Engine. (struct _Adaptor<_Engine*, _Distribution>): Add. * testsuite/tr1/5_numerical_facilities/random/variate_generator/ 37986.cc: Extend. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141784 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-11-11 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-11-111-0/+45
| | | | | | | | | | | PR libstdc++/37986 * include/tr1_impl/random (struct _Adaptor): Use remove_pointer and remove_reference on _Engine. * testsuite/tr1/5_numerical_facilities/random/variate_generator/ 37986.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141769 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-10-20 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-10-204-8/+12
| | | | | | | | | | | | | | | | | | | | | | | * include/tr1_impl/hashtable_policy.h (_Hash_node<>::_Hash_node<> (_Args&&...)): Add in C++0x mode. * include/tr1_impl/hashtable (_Hashtable<>::_M_allocate_node, _Hashtable<>::_M_deallocate_node): Use _M_get_Node_allocator in C++0x mode. * include/tr1_impl/hashtable (_Hashtable<>::max_size): Use Node_allocator for improved accuracy. * testsuite/tr1/6_containers/unordered_multimap/capacity/ 29134-multimap.cc: Adjust. * testsuite/tr1/6_containers/unordered_multimap/capacity/ 29134-map.cc: Likewise. * testsuite/tr1/6_containers/unordered_multimap/capacity/ 29134-multiset.cc: Adjust. * testsuite/tr1/6_containers/unordered_multimap/capacity/ 29134-set.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141242 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-09-07 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-09-071-3/+3
| | | | | | | | | | | | * acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Check wcstoimax and wcstoumax, define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1. * include/tr1_impl/cinttypes: Use the latter. * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise. * configure: Regenerate. * config.h.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140089 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-08-28 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-08-284-0/+0
| | | | | | | | | | | | | | | | | | | | | | * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc: Rename to .../typedefs.cc. * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc: Likewise. * testsuite/tr1/6_containers/unordered_multiset/requirements/ typedef.cc: Likewise. * testsuite/tr1/6_containers/unordered_multimap/requirements/ typedef.cc: Likewise. * testsuite/23_containers/unordered_set/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_multiset/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_multimap/requirements/typedef.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139741 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-08-27 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-08-274-0/+186
| | | | | | | | | | | | | | | | | | | | | | | | * include/tr1_impl/hashtable (_Hashtable<>): Add missing pointer and const_pointer typedefs. * testsuite/tr1/6_containers/unordered_set/requirements/typedef.cc: Add. * testsuite/tr1/6_containers/unordered_map/requirements/typedef.cc: Likewise. * testsuite/tr1/6_containers/unordered_multiset/requirements/ typedef.cc: Likewise. * testsuite/tr1/6_containers/unordered_multimap/requirements/ typedef.cc: Likewise. * testsuite/23_containers/unordered_set/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_map/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_multiset/requirements/typedef.cc: Likewise. * testsuite/23_containers/unordered_multimap/requirements/typedef.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139674 138bc75d-0d04-0410-961f-82ee72b054a4
* Formatting fixes for include/tr1_impl/regex.smw2008-08-112-0/+98
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138967 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-07-29 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-07-291-5/+2
| | | | | | | | | | | | | | * include/std/utility: Include <initializer_list>, per the current WP. * testsuite/lib/libstdc++.exp (check_v3_target_cstdint): Tweak, don't use -std=gnu++0x unnecessarily. * testsuite/18_support/numeric_limits/char16_32_t.cc: Use dg-require-cstdint. * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Likewise. * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138255 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-06-12 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-06-121-9/+4
| | | | | | | | | | | | * include/std/complex (pow(const complex<>&, int)): Do not define in C++0x mode, per DR 844. * include/tr1/complex (pow(const complex<>&, int)): Remove. * doc/xml/manual/intro.xml: Add an entry for DR 844. * testsuite/26_numerics/complex/dr844.cc: New. * testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136694 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-05-26 Paolo Carlini <paolo.carlini@oracle.com>paolo2008-05-261-3/+1
| | | | | | | | | | | | | | | | | | | | | | | * include/c_global/cmath (pow(float, int), pow(double, int), pow(long double, int)): Do not define in C++0x mode, per DR 550. * include/tr1_impl/cmath (pow): Do not bring in unconditionally from namespace std. * include/tr1/cmath (pow(double, double), pow(float, float), pow(long double, long double), pow(_Tp, _Up)): Define. * include/tr1/complex (pow): Do not bring in from namespace std. (pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&, const _Tp&), pow(const _Tp&, const std::complex<_Tp>&), pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define. * include/tr1_impl/complex (pow(const std::complex<_Tp>&, const _Up&), pow(const _Tp&, const std::complex<_Up>&), pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always define. * doc/xml/manual/intro.xml: Add an entry for DR 550. * testsuite/26_numerics/headers/cmath/dr550.cc: New. * testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135955 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-03-20 Paolo Carlini <pcarlini@suse.de>paolo2008-03-201-0/+35
| | | | | | | | | | PR libstdc++/35637 * include/tr1_impl/type_traits (struct __in_array): Add back. (is_function): Use it. * testsuite/tr1/4_metaprogramming/is_function/35637.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133395 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-03-06 Chris Jefferson <chris@bubblescope.net>paolo2008-03-061-0/+33
| | | | | | | | | | | | | Paolo Carlini <pcarlini@suse.de> PR libstdc++/35480 * include/tr1/tuple (operator==, operator<): Fix. * include/std/tuple (operator==, operator<): Likewise. * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New. * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132983 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,hp2008-03-021-2/+2
| | | | | | | | | testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc: Mark changed error message prelude, adding "in file included from", using dg-excess-errors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132816 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-01-31 Paolo Carlini <pcarlini@suse.de>paolo2008-01-3123-77/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc: Avoid -Wall warnings. * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Likewise. * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc: Likewise. * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise. * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise. * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise. * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc: Likewise. * testsuite/tr1/6_containers/array/requirements/contiguous.cc: Likewise. * testsuite/tr1/6_containers/array/requirements/member_swap.cc: Likewise. * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise. * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/ less_or_equal.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/ greater_or_equal.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/less.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/equal.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/greater.cc: Likewise. * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise. * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc: Likewise. * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise. * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise. * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise. * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc: Likewise. * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise. * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise. * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise. * testsuite/thread/guard.cc: Likewise. * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise. * testsuite/20_util/tuple/cons/constructor.cc: Likewise. * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise. * testsuite/20_util/shared_ptr/creation/make.cc: Likewise. * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise. * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise. * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131979 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-12-30 Paolo Carlini <pcarlini@suse.de>paolo2007-12-301-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | * include/std/tuple (_Tuple_impl<>::_Tuple_impl(typename std::remove_reference<>::type&&, typename std::remove_reference<>::type&&...), _Tuple_impl(const _Tuple_impl<>&), _Tuple_impl(_Tuple_impl&&), _Tuple_impl(_Tuple_impl<>&&), operator=(_Tuple_impl&&), operator=(const _Tuple_impl<>&), operator=(_Tuple_impl<>&&)): Add. (tuple<>::tuple(const _Elements&...), tuple(_UElements&&...), tuple(tuple&&), tuple(const tuple<>&), tuple(tuple<>&&), operator=(tuple&&), operator=(const tuple<>&), operator=(tuple<>&&)): Likewise. (tuple<_T1, _T2>::tuple(const _T1&, const _T2&, tuple(_U1&&, _U2&&), tuple(tuple&&), tuple(tuple<>&&), tuple(pair<>&&), operator=(tuple&&), operator=(tuple<>&&), operator=(pair<>&&)): Likewise. (tuple<>::tuple(typename __add_c_ref<_Elements>::type...), tuple<_T1, _T2>::tuple(typename __add_c_ref<>::type, typename __add_c_ref<>::type)): Remove. * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: New. * testsuite/20_util/tuple/creation_functions/tie2.cc: Likewise. * testsuite/20_util/tuple/moveable.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131230 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-12-24 Paolo Carlini <pcarlini@suse.de>paolo2007-12-249-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/20_util/tuple/cons/big_tuples.cc: New. * testsuite/20_util/tuple/cons/constructor.cc: Likewise. * testsuite/20_util/tuple/cons/assignment.cc: Likewise. * testsuite/20_util/tuple/tuple_element.cc: Likewise. * testsuite/20_util/tuple/tuple_size.cc: Likewise. * testsuite/20_util/tuple/comparison_operators/comparisons.cc: Likewise. * testsuite/20_util/tuple/element_access/get.cc: Likewise. * testsuite/20_util/tuple/creation_functions/23978.cc: Likewise. * testsuite/20_util/tuple/creation_functions/tie.cc: Likewise. * testsuite/20_util/tuple/creation_functions/make_tuple.cc: Likewise. * testsuite/20_util/tuple/requirements/explicit_instantiation.cc: Fix header file and namespace. * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Minor tweaks. * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise. * testsuite/tr1/6_containers/tuple/cons/assignment.cc: Likewise. * testsuite/tr1/6_containers/tuple/tuple_element.cc: Likewise. * testsuite/tr1/6_containers/tuple/tuple_size.cc: Likewise. * testsuite/tr1/6_containers/tuple/comparison_operators/ comparisons.cc: Likewise. * testsuite/tr1/6_containers/tuple/element_access/get.cc: Likewise. * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: Likewise. * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131159 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-12-24 Jonathan Wakely <jwakely.gcc@gmail.com>redi2007-12-242-8/+8
| | | | | | | | | | * testsuite/tr1/2_general_utilities/shared_ptr/thread/ default_weaktoshared.cc: Use static_cast not reinterpret_cast. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ mutex_weaktoshared.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131158 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-12-10 Paolo Carlini <pcarlini@suse.de>paolo2007-12-102-25/+11
| | | | | | | | | | | * testsuite/tr1/5_numerical_facilities/random/linear_congruential/ requirements/non_uint_neg.cc: Avoid -Wall warnings. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/compile.cc: Likewise. * testsuite/util/testsuite_api.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130746 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-12-10 Paolo Carlini <pcarlini@suse.de>paolo2007-12-107-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/25_algorithms/nth_element/2.cc: Avoid -Wall warnings. * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise. * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/ 28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/ 28277-4.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/bool.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Likewise. * testsuite/18_support/headers/cstddef/macros.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ wchar_t/28277.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ char/28277.cc: Likewise. * testsuite/26_numerics/headers/cmath/25913.cc: Likewise. * testsuite/ext/pb_ds/example/priority_queue_xref.cc: Likewise. * testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: Likewise. * testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise. * testsuite/ext/enc_filebuf/char/13598.cc: Likewise. * testsuite/22_locale/collate/compare/char/2.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise. * testsuite/22_locale/time_put/put/char/5.cc: Likewise. * testsuite/22_locale/time_put/put/char/6.cc: Likewise. * testsuite/22_locale/time_put/put/char/7.cc: Likewise. * testsuite/22_locale/time_put/put/char/8.cc: Likewise. * testsuite/22_locale/codecvt/unshift/char/1.cc: Likewise. * testsuite/22_locale/codecvt/length/char/1.cc: Likewise. * testsuite/22_locale/codecvt/length/char/2.cc: Likewise. * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise. * testsuite/22_locale/codecvt/in/char/1.cc: Likewise. * testsuite/22_locale/codecvt/out/char/1.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise. * testsuite/22_locale/num_get/get/char/1.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/uniform_int/ 33128.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ mutex_weaktoshared.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ default_weaktoshared.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/assign/char/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/ range.cc: Likewise. * testsuite/23_containers/multimap/operations/1.cc: Likewise. * testsuite/23_containers/set/operations/1.cc: Likewise. * testsuite/23_containers/vector/bool/capacity/29134.cc: Likewise. * testsuite/23_containers/deque/modifiers/erase/1.cc: Likewise. * testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise. * testsuite/23_containers/multiset/operations/1.cc: Likewise. * testsuite/23_containers/map/operations/1.cc: Likewise. * testsuite/util/testsuite_hooks.cc: Likewise. * testsuite/util/testsuite_rvalref.h: Likewise. 2007-12-10 Jakub Jelinek <jakub@redhat.com> * include/ext/throw_allocator.h (print_to_string): Change sprintf format to %lu and cast ref.second.{first,second} to long. * include/debug/safe_iterator.tcc (_M_can_advance): Add parens to avoid warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130743 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/tr1/5_numerical_facilities/special_functions/kkojima2007-11-2721-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01_assoc_laguerre/check_nan.cc: Add -mieee for sh. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 03_beta/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 12_ellint_1/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 13_ellint_2/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 14_ellint_3/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 15_expint/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 16_hermite/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 18_laguerre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 19_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_nan.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130477 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/tr1/5_numerical_facilities/special_functions/kkojima2007-10-181-0/+1
| | | | | | | | 05_comp_ellint_2/check_nan.cc: Add -mieee for sh. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129465 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-10-12 Jesper Nilsson <jesper.nilsson@axis.com>paolo2007-10-122-4/+14
| | | | | | | | | | | * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_value_neg.c (MAX_ITERATIONS): Add limit when target is simulator. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_value_pos.c (MAX_ITERATIONS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129258 138bc75d-0d04-0410-961f-82ee72b054a4
* revert accidential change in revision 128957.zadeck2007-10-031-16/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128976 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-09-02 Kenneth Zadeck <zadeck@naturalbridge.com>zadeck2007-10-021-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ra-conflict.c: New file. * ra.h: New file. * reload.c (push_reload, find_dummy_reload): Change DF_RA_LIVE usage to DF_LIVE usage. * rtlanal.c (subreg_nregs_with_regno): New function. * df-scan.c (df_def_record_1, df_uses_record): Add code to set DF_REF_EXTRACT, DF_REF_STRICT_LOWER_PART, and DF_REF_SUBREG flags. (df_has_eh_preds): Removed. (df_bb_refs_collect, df_bb_refs_collect, df_bb_refs_collect, df_exit_block_uses_collect): Changed call from df_has_eh_preds to bb_has_eh_pred. * global.c (allocno, max_allocno, conflicts, allocno_row_words, reg_allocno, EXECUTE_IF_SET_IN_ALLOCNO_SET): Moved to ra.h (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Moved to ra-conflicts.c. (regs_set, record_one_conflict, record_conflicts, mark_reg_store, mark_reg_clobber, mark_reg_conflicts, mark_reg_death): Deleted. (global_alloc): Turn off rescanning insns after call to global_conflicts and added call to set_preferences. (global_conflicts): Moved to ra-alloc.c. (set_preferences_1, set_preferences): New function. (mirror_conflicts): Changed types for various variables. (mark_elimination): Change DF_RA_LIVE usage to DF_LIVE usage. (build_insn_chain): Rewritten from scratch and made local. (print_insn_chain, print_insn_chains): New functions. (dump_conflicts): Do not print conflicts for fixed_regs. (rest_of_handle_global_alloc): Turn off insn rescanning. * hard-reg-set.h: Fixed comment. * local-alloc.c (update_equiv_regs): Change DF_RA_LIVE usage to DF_LIVE usage and delete refs to TOP sets. (block_alloc): Mark regs as live if they are in the artificial defs at top of block. (find_stack_regs): New function. (rest_of_handle_local_alloc): Changed urec problem to live problem and do not turn off df rescanning. * df.h (DF_UREC, DF_UREC_BB_INFO, DF_LIVE_TOP, DF_RA_LIVE_IN, DF_RA_LIVE_TOP, DF_RA_LIVE_OUT, df_urec_bb_info, df_urec, df_urec_add_problem, df_urec_get_bb_info, df_has_eh_preds): Removed. (DF_CHAIN, DF_NOTE, DF_CHAIN): Renumbered. (DF_REF_EXTRACT, DF_REF_STRICT_LOWER_PART, DF_REF_SUBREG): New fields in df_ref_flags. The rest have been renumbered. * init-regs.c (initialize_uninitialized_regs): Enhanced debugging at -O1. * rtl.h (subreg_nregs_with_regno): New function. * df-problems.c: (df_get_live_out, df_get_live_in, df_get_live_top): Removed reference to DF_RA_LIVE. (df_lr_reset, df_lr_transfer_function, df_live_free_bb_info, df_live_alloc, df_live_reset, df_live_local_finalize, df_live_free): Make top set only if different from in set. (df_lr_top_dump, df_live_top_dump): Only print top set if different from in set. (df_lr_bb_local_compute): Removed unnecessary check. (df_urec_problem_data, df_urec_set_bb_info, df_urec_free_bb_info, df_urec_alloc, df_urec_mark_reg_change, earlyclobber_regclass, df_urec_check_earlyclobber, df_urec_mark_reg_use_for_earlyclobber, df_urec_mark_reg_use_for_earlyclobber_1, df_urec_bb_local_compute, df_urec_local_compute, df_urec_init, df_urec_local_finalize, df_urec_confluence_n, df_urec_transfer_function, df_urec_free, df_urec_top_dump, df_urec_bottom_dump, problem_UREC, df_urec_add_problem): Removed. (df_simulate_fixup_sets): Changed call from df_has_eh_preds to bb_has_eh_pred. * Makefile.in (ra-conflict.o, ra.h): New dependencies. * basic_block.h (bb_has_abnormal_pred): New function. * reload1.c (compute_use_by_pseudos): Change DF_RA_LIVE usage to DF_LIVE usage. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128957 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-09-14 Jonathan Wakely <jwakely.gcc@gmail.com>redi2007-09-142-0/+69
| | | | | | | | | | | | * include/tr1_impl/boost_shared_ptr.h: (__weak_ptr::lock()): Add missing template argument. * testsuite/tr1/2_general_utilities/shared_ptr/requirements/ explicit_instantiation/2.cc: New. * testsuite/tr1/2_general_utilities/weak_ptr/requirements/ explicit_instantiation/2.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128503 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-09-06 Benjamin Kosnik <bkoz@redhat.com>bkoz2007-09-071-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/lib/libstdc++.exp: Check CXXFLAGS. * scripts/testsuite_flags.in: CXXFLAGS_default, matching dejagnu. * include/std/ostream: Spacing tweak. * include/ext/hashtable.h: Use <algorithm>. * include/ext/slist: Same. * include/ext/rope: Same. * include/bits/stl_function.h: Format. * include/tr1_impl/array: Remove section number in doxygen markup. * src/list.cc: Comment tweak. * docs/doxygen/user.cfg.in: Update for include/tr1_impl. * testsuite/25_algorithms/search_n/iterator.cc: Add using declaration. * testsuite/25_algorithms/nth_element/1.cc: Same. * testsuite/21_strings/char_traits/requirements/short/1.cc: Use char_type typedef to the underlying character type. * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: Remove -ansi -pedantic-errors. * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: Same. * testsuite/tr1/6_containers/headers/functional/synopsis.cc: Remove specializations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128225 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-08-28 Paolo Carlini <pcarlini@suse.de>paolo2007-08-281-0/+43
| | | | | | | | | | | PR libstdc++/33128 * include/tr1_impl/random (uniform_int<>::_M_call): Deal with __urng() returning negative values. * testsuite/tr1/5_numerical_facilities/random/uniform_int/33128.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127849 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-08-23 Benjamin Kosnik <bkoz@redhat.com>bkoz2007-08-231-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/std/system_error: New file. * src/system_error.cc: New file. * src/Makefile.am (sources): Add. * src/Makefile.in: Regenerate. * include/Makefile.am (std_headers): Add system_error. * include/Makefile.in: Regenerate. * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): New. * configure.ac: Call it. * config.h.in: Regenerate. * include/bits/functional_hash.h: Add hash<error_code>. * include/std/ostream: Add inserters for error_code. * docs/doxygen/user.cfg.in: Add system_error. * config/abi/pre/gnu.ver(GLIBCXX_3.4.10): Add new symbols. * testsuite/19_diagnostics/error_code: New. * testsuite/19_diagnostics/error_code/cons: Same. * testsuite/19_diagnostics/error_code/cons/1.cc: Same. * testsuite/19_diagnostics/error_code/operators: Same. * testsuite/19_diagnostics/error_code/operators/bool.cc: Same. * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same. * testsuite/19_diagnostics/error_code/operators/equal.cc: Same. * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same. * testsuite/19_diagnostics/error_category: Same. * testsuite/19_diagnostics/error_category/cons: Same. * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same. * testsuite/19_diagnostics/error_category/cons/default.cc: Same. * testsuite/19_diagnostics/error_category/operators: Same. * testsuite/19_diagnostics/error_category/operators/equal.cc: Same. * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same. * testsuite/19_diagnostics/headers/system_error: Same. * testsuite/19_diagnostics/headers/system_error/ types_std_c++0x.cc: Same. * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Same. * testsuite/19_diagnostics/system_error: Same. * testsuite/19_diagnostics/system_error/ cons_virtual_derivation.cc: Same. * testsuite/19_diagnostics/system_error/cons-1.cc: Same. * testsuite/19_diagnostics/system_error/what-1.cc: Same. * testsuite/19_diagnostics/system_error/what-2.cc: Same. * testsuite/19_diagnostics/system_error/what-big.cc: Same. * testsuite/19_diagnostics/system_error/what-3.cc: Same. * testsuite/19_diagnostics/system_error/what-4.cc: Same. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ error_code.cc: Same. * testsuite/27_io/basic_ostream/inserters_other/char/ error_code.cc: Same. * testsuite/tr1/6_containers/hash/operators: New. * testsuite/tr1/6_containers/hash/operators/size_t.cc: Same. * testsuite/23_containers/hash: Move... * testsuite/20_util/hash: ... here. * testsuite/20_util/hash/operators: New. * testsuite/20_util/hash/operators/size_t.cc: New. * testsuite/20_util/function_objects/bad_function_call: Move... * testsuite/20_util/bad_function_call: ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127744 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/31884drow2007-08-174-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/ext/pb_ds/example/priority_queue_dijkstra.cc (main): Do not access deleted nodes. * testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc, testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc, testsuite/27_io/basic_filebuf/open/char/4.cc, testsuite/27_io/objects/char/9.cc: Use dg-require-fileio. * testsuite/ext/forced_exception_error/cons_virtual_derivation.cc, testsuite/ext/pb_ds/regression/hash_data_map_rand.cc, testsuite/ext/pb_ds/regression/trie_data_map_rand.cc, testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc, testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc, testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc, testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc, testsuite/ext/pb_ds/regression/priority_queue_rand.cc, testsuite/ext/pb_ds/regression/tree_data_map_rand.cc, testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc, testsuite/ext/throw_allocator/deallocate_global.cc, testsuite/ext/throw_allocator/check_delete.cc, testsuite/ext/throw_allocator/check_allocate_max_size.cc, testsuite/ext/throw_allocator/check_deallocate_null.cc, testsuite/ext/throw_allocator/check_new.cc, testsuite/ext/throw_allocator/deallocate_local.cc, testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/cons/gen1.cc, testsuite/tr1/5_numerical_facilities/random/subtract_with_carry/cons/gen1.cc, testsuite/tr1/5_numerical_facilities/random/linear_congruential/cons/gen1.cc, testsuite/tr1/5_numerical_facilities/random/mersenne_twister/cons/gen1.cc, testsuite/23_containers/list/modifiers/insert/25288.cc: Use dg-require-time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127590 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:ro2007-07-162-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | PR bootstrap/3456 * config.gcc (mips-sgi-irix[56]*): Enable pthread support. * doc/install.texi (mips-sgi-irix6): pthread support works now. libstdc++-v3: PR bootstrap/3456 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Enable on mips-sgi-irix6*. * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. * testsuite/thread/18185.cc: Likewise. * testsuite/thread/pthread1.cc: Likewise. * 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. * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126685 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-07-12 Douglas Gregor <doug.gregor@gmail.com>dgregor2007-07-1227-56/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/tr1/3_function_objects/bind/all_bound.cc: Disambiguate uses of TR1/C++0x facilities. * testsuite/tr1/3_function_objects/bind/nested.cc: Ditto. * testsuite/tr1/3_function_objects/bind/placeholders.cc: Ditto. * testsuite/tr1/6_containers/unordered_multimap/requirements/explicit_instantiation.cc: Ditto. * testsuite/tr1/6_containers/unordered_multimap/swap/1.cc: Ditto. * testsuite/tr1/6_containers/unordered_multimap/swap/2.cc: Ditto. * testsuite/tr1/6_containers/unordered_set/requirements/explicit_instantiation.cc: Ditto. * testsuite/tr1/6_containers/unordered_set/swap/1.cc: Ditto. * testsuite/tr1/6_containers/unordered_set/swap/2.cc: Ditto. * testsuite/tr1/6_containers/utility/pair.cc: Ditto. * testsuite/tr1/6_containers/unordered_map/requirements/explicit_instantiation.cc: Ditto. * testsuite/tr1/6_containers/unordered_map/24064.cc: Ditto. * testsuite/tr1/6_containers/unordered_map/swap/1.cc: Ditto. * testsuite/tr1/6_containers/unordered_map/swap/2.cc: Ditto. * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Ditto. * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Ditto. * testsuite/tr1/6_containers/tuple/cons/assignment.cc: Ditto. * testsuite/tr1/6_containers/tuple/tuple_element.cc: Ditto. * testsuite/tr1/6_containers/tuple/tuple_size.cc: Ditto. * testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc: Ditto. * testsuite/tr1/6_containers/tuple/element_access/get.cc: Ditto. * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: Ditto. * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: Ditto. * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc: Ditto. * testsuite/tr1/6_containers/unordered_multiset/requirements/explicit_instantiation.cc: Ditto. * testsuite/tr1/6_containers/unordered_multiset/swap/1.cc: Ditto. * testsuite/tr1/6_containers/unordered_multiset/swap/2.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126590 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-06-02 Paolo Carlini <pcarlini@suse.de>paolo2007-06-026-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/tr1_impl/type_traits (is_reference, add_reference, remove_reference): Remove. * include/tr1/type_traits (is_reference, add_reference, remove_reference): Add. * include/std/type_traits (is_lvalue_reference, is_rvalue_reference, is_reference, remove_reference, add_lvalue_reference, add_rvalue_reference): Add. * include/tr1_impl/boost_shared_ptr.h (operator*): Adjust. * testsuite/20_util/add_lvalue_reference/requirements/ explicit_instantiation.cc: New. * testsuite/20_util/add_lvalue_reference/value.cc: Likewise. * testsuite/20_util/add_rvalue_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/add_rvalue_reference/value.cc: Likewise. * testsuite/20_util/is_lvalue_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_lvalue_reference/requirements/ typedefs.cc: Likewise. * testsuite/20_util/is_lvalue_reference/value.cc: Likewise. * testsuite/20_util/is_rvalue_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_rvalue_reference/requirements/ typedefs.cc: Likewise. * testsuite/20_util/is_rvalue_reference/value.cc: Likewise. * testsuite/20_util/is_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_reference/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_reference/value.cc: Likewise. * testsuite/20_util/remove_reference/requirements/ explicit_instantiation.cc: New. * testsuite/20_util/remove_reference/value.cc: Likewise. * testsuite/tr1/4_metaprogramming/add_const/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_const/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_cv/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_cv/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_pointer/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_pointer/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_reference/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_reference/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_volatile/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_volatile/value.cc: ... here. * testsuite/tr1/4_metaprogramming/aligned_storage/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/aligned_storage/value.cc: ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125283 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-31 Paolo Carlini <pcarlini@suse.de>paolo2007-05-313-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/31426 * include/bits/c++config: Remove namespace association bits from tr1 to std. * include/ext/type_traits.h (__promote, __promote2, __promote3, __promote4): Add. * include/bits/hashtable.h: New. * include/bits/functional_hash.h: Likewise. * include/tr1/hashtable.h: Likewise. * include/tr1_impl/random: New. * include/tr1_impl/cinttypes: Likewise. * include/tr1_impl/cstdlib: Likewise. * include/tr1_impl/unordered_map: Likewise. * include/tr1_impl/cstdio: Likewise. * include/tr1_impl/boost_shared_ptr.h: Likewise. * include/tr1_impl/cctype: Likewise. * include/tr1_impl/random.tcc: Likewise. * include/tr1_impl/tuple: Likewise. * include/tr1_impl/functional_hash.h: Likewise. * include/tr1_impl/hashtable: Likewise. * include/tr1_impl/cmath: Likewise. * include/tr1_impl/type_traitsfwd.h: Likewise. * include/tr1_impl/hashtable_policy.h: Likewise. * include/tr1_impl/cfenv: Likewise. * include/tr1_impl/unordered_set: Likewise. * include/tr1_impl/functional: Likewise. * include/tr1_impl/utility: Likewise. * include/tr1_impl/complex: Likewise. * include/tr1_impl/type_traits: Likewise. * include/tr1_impl/cwchar: Likewise. * include/tr1_impl/cstdint: Likewise. * include/tr1_impl/regex: Likewise. * include/tr1_impl/array: Likewise. * include/tr1_impl/cwctype: Likewise. * include/tr1/type_traitsfwd.h: Remove. * include/tr1/boost_shared_ptr.h: Likewise. * include/tr1/common.h: Likewise. * include/tr1/hashtable: Likewise. * include/tr1/hashtable_policy.h: Likewise. * include/tr1/random.tcc: Likewise. * include/c_global/cinttypes: Include tr1_impl/cinttypes. * include/c_global/cstdlib: Likewise for cstdlib. * include/c_global/cstdio: Likewise for cstdio. * include/c_global/cctype: Likewise for cctype. * include/c_global/cmath: Likewise for cmath. * include/c_global/cfenv: Likewise for cfenv. * include/c_global/cwchar: Likewise for cwchar. * include/c_global/cstdint: Likewise for cstdint. * include/c_global/cwctype: Likewise for cwctype. * include/tr1/cinttypes: Likewise for cinttypes. * include/tr1/cstdlib: Likewise for cstdlib. * include/tr1/cstdio: Likewise for cstdio. * include/tr1/cctype: Likewise for cctype. * include/tr1/cmath: Likewise for cmath. * include/tr1/cfenv: Likewise for cfenv. * include/tr1/cwchar: Likewise for cwchar. * include/tr1/cstdint: Likewise for cstdint. * include/tr1/cwctype: Likewise for cwctype. * include/tr1/functional_hash.h: Likewise for functional_hash. * include/std/tuple: Include tr1_impl/tuple. * include/std/utility: Likewise for utility. * include/std/type_traits: Likewise for type_traits. (is_pod): Just forward to __is_pod. (has_trivial_default_constructor): Just forward to __has_trivial_constructor. (has_trivial_copy_constructor): Just forward to __has_trivial_copy. (has_trivial_assign): Just forward to __has_trivial_assign. (has_trivial_destructor): Just forward to __has_trivial_destructor. (has_nothrow_default_constructor): Just forward to __has_nothrow_constructor. (has_nothrow_copy_constructor): Just forward to __has_nothrow_copy. (has_nothrow_assign): Just forward to __has_nothrow_assign. (is_base_of): Just forward to __is_base_of. (is_signed, is_unsigned): Implement according to the C++0x specifications. * include/std/memory: Likewise for memory. * include/std/regex: Likewise for regex. * include/std/random: Likewise for random. * include/std/unordered_map: Likewise for unordered_map. * include/std/unordered_set: Likewise for unordered_set. * include/std/functional: Likewise for functional. * include/std/complex: Likewise for complex. * include/std/array: Likewise for array. * include/tr1/tuple: Likewise for tuple. * include/tr1/utility: Likewise for utility. * include/tr1/type_traits: Likewise for type_traits * include/tr1/memory: Likewise for memory. * include/tr1/regex: Likewise for regex. * include/tr1/random: Likewise for random. * include/tr1/unordered_map: Likewise for unordered_map. * include/tr1/unordered_set: Likewise for unordered_set. * include/tr1/functional: Likewise for functional. * include/tr1/complex: Likewise for complex. * include/tr1/array: Likewise for array. * include/c_global/ctgmath: Tweak. * include/c_global/cstdarg: Likewise. * include/c_global/ctime: Likewise. * include/c_global/climits: Likewise. * include/c_global/cfloat: Likewise. * include/c_global/ccomplex: Likewise. * include/c_global/cstdbool: Likewise. * include/tr1/poly_laguerre.tcc: Tweak, don't use _GLIBCXX_TR1. * include/tr1/riemann_zeta.tcc: Likewise. * include/tr1/beta_function.tcc: Likewise. * include/tr1/exp_integral.tcc: Likewise. * include/tr1/hypergeometric.tcc: Likewise. * include/tr1/modified_bessel_func.tcc: Likewise. * include/tr1/legendre_function.tcc: Likewise. * include/tr1/special_function_util.h: Likewise. * include/tr1/bessel_function.tcc: Likewise. * include/tr1/poly_hermite.tcc: Likewise. * include/tr1/ell_integral.tcc: Likewise. * include/tr1/gamma.tcc: Likewise. * include/tr1/stdlib.h: Likewise. * include/tr1/math.h: Likewise. * include/tr1/complex.h: Minor tweaks. * include/tr1/wctype.h: Likewise. * include/tr1/wchar.h: Likewise. * include/tr1/inttypes.h: Likewise. * include/tr1/tgmath.h: Likewise. * include/tr1/cstdbool: Likewise. * include/tr1/cfloat: Likewise. * include/tr1/ccomplex: Likewise. * include/tr1/ctime: Likewise. * include/tr1/climits: Likewise. * include/tr1/ctgmath: Likewise. * include/tr1/cstdarg: Likewise. * testsuite/tr1/headers.cc: Move... * testsuite/tr1/headers/all.cc: ... here. * testsuite/tr1/using_namespace_std_tr1.cc: Move... * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: ... here. * testsuite/tr1/headers/using_namespace_std_tr1.cc ... here. * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: New. * testsuite/20_util/tuple/requirements/explicit_instantiation.cc: Adjust namespace. * testsuite/20_util/has_nothrow_copy_constructor/value.cc: Adjust to the C++0x requirements. * testsuite/20_util/has_nothrow_default_constructor/value.cc: Likewise. * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise. * testsuite/20_util/has_trivial_default_constructor/value.cc: Likewise. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust dg-error lines. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc: Un-xfail. * testsuite/20_util/is_signed/value.cc: New. * testsuite/20_util/is_signed/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_signed/requirements/explicit_instantiation.cc: Likewise. * testsuite/20_util/is_unsigned/value.cc: Likewise.. * testsuite/20_util/is_unsigned/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc: Likewise. * include/Makefile.am: Adjust. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125244 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/tr1/5_numerical_facilities/special_functions/kkojima2007-05-151-0/+1
| | | | | | | | 17_hyperg/check_nan.cc: Add -mieee for sh. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124733 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-01 Benjamin Kosnik <bkoz@redhat.com>bkoz2007-05-0154-0/+0
| | | | | | | | | * testsuite/*/explicit_instantiations.cc: Change to... * testsuite/*/explicit_instantiation.cc: ... this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124318 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-05-01 Benjamin Kosnik <bkoz@redhat.com>bkoz2007-05-0154-54/+54
| | | | | | | | | * tr1/4_metaprogramming/*/explicit_instantiations.cc: Change "basic_ofstream" in comment to type_traits. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124317 138bc75d-0d04-0410-961f-82ee72b054a4
* bkoz2007-04-30156-33/+2268
| | | | | | | | | | | | 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> Directory layout flattening. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124307 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-04-30 Paolo Carlini <pcarlini@suse.de>paolo2007-04-304-16/+8
| | | | | | | | | | | | | | | * include/tr1/type_traits (is_pod): Use __is_pod. * testsuite/tr1/4_metaprogramming/type_properties/ has_trivial_destructor/has_trivial_destructor.cc: Adjust. * testsuite/tr1/4_metaprogramming/type_properties/ has_nothrow_constructor/has_nothrow_constructor.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/ has_trivial_constructor/has_trivial_constructor.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/ is_pod/is_pod.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124294 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-04-10 Paolo Carlini <pcarlini@suse.de>paolo2007-04-101-1/+2
| | | | | | | | | | | * include/tr1/type_traits (__is_function_helper): New, uses variadic templates. (is_function): Forward to the latter. * testsuite/tr1/4_metaprogramming/primary_type_categories/ is_function/is_function.cc: Add test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123695 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-04-09 Paolo Carlini <pcarlini@suse.de>paolo2007-04-098-66/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/tr1/type_traits_fwd.h (__is_union_or_class): Remove. * include/tr1/type_traits (struct __in_array, struct __is_union_or_class, struct __is_union_or_class_helper, struct __is_empty_helper, struct __is_polymorphic_helper): Remove. (struct is_enum): Use __is_enum. (struct is_union): Use __is_union. (struct is_class): Use __is_class. (struct is_function): Adjust. (struct is_empty): Use __is_empty. (struct is_polymorphic): Use __is_polymorphic. (struct is_abstract): Use __is_abstract. (struct has_virtual_destructor): Use __has_virtual_destructor. (struct __is_base_of_helper): Use __is_base_of. * testsuite/tr1/4_metaprogramming/composite_type_traits/ is_union_or_class/typedefs.cc: Remove. * testsuite/tr1/4_metaprogramming/composite_type_traits/ is_union_or_class/is_union_or_class.cc: Likewise. * testsuite/tr1/4_metaprogramming/primary_type_categories/ is_class/typedefs.cc: New. * testsuite/tr1/4_metaprogramming/primary_type_categories/ is_class/is_class.cc: Likewise. * testsuite/tr1/4_metaprogramming/primary_type_categories/ is_union/typedefs.cc: Likewise. * testsuite/tr1/4_metaprogramming/primary_type_categories/ is_union/is_union.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/ has_virtual_destructor/typedefs.cc: Likewise. * testsuite/tr1/4_metaprogramming/type_properties/ has_virtual_destructor/has_virtual_destructor.cc: Likewise. * testsuite/util/testsuite_tr1.h (class VirtualDestructorClass): Add. * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/ is_polymorphic.cc: Add test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123675 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-22 Benjamin Kosnik <bkoz@redhat.com>bkoz2007-03-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/21_strings/headers/cstdlib/functions_std.cc: Without C99 support, _GLIBCXX_USE_WCHAR_T not defined, so dg-require-c-std. * testsuite/tr1/6_containers/headers/functional/synopsis.cc: Same. * testsuite/27_io/headers/iostream/synopsis.cc: Same. * testsuite/27_io/headers/streambuf/types_std.cc: Same. * testsuite/27_io/headers/sstream/types_std.cc: Same. * testsuite/27_io/headers/ostream/types_std.cc: Same. * testsuite/27_io/headers/istream/types_std.cc: Same. * testsuite/27_io/headers/iostream/types_std.cc: Same. * testsuite/27_io/headers/fstream/types_std.cc: Same. * testsuite/21_strings/headers/string/types_std.cc: Same. * testsuite/21_strings/headers/cwctype/functions_std.cc: Same. * testsuite/21_strings/headers/cwctype/types_std.cc: Same. * testsuite/21_strings/headers/cwchar/functions_std.cc: Same. * testsuite/21_strings/headers/cwchar/types_std.cc: Same. * include/Makefile.am (c_compatibility_headers): Add fenv.h. * include/Makefile.in: Regenerate. * configure.host: Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123130 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-03-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2007-03-1694-0/+53875
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/lib/dg-options.exp (dg-require-c-std): New. * testsuite/lib/libstdc++.exp (check_v3_target_c_std): New. Check to see if _GLIBCXX_USE_C99_MATH is active. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_nan.cc: Use dg-require-c-std. * testsuite/tr1/5_numerical_facilities/special_functions/ 17_hyperg/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 13_ellint_2/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 16_hermite/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 12_ellint_1/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 18_laguerre/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 14_ellint_3/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 19_legendre/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 03_beta/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 15_expint/check_nan.cc: Same. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_nan.cc: Same. * include/tr1/poly_laguerre.tcc (__poly_laguerre): Don't check if unsigned int can be a NaN. 2007-03-16 Edward M. Smith-Rowland <3dw4rd@verizon.net> * docs/html/ext/tr1.html : Marked tr1 math special functions done. * docs/html/faq/index.html : Ditto. * include/Makefile.in : Added new special function header files. * include/Makefile.am : Ditto. * include/tr1/common.h : Added type promotion routines for three and four args. * include/tr1/special_function_util.h: New. * include/tr1/bessel_function.tcc: New. * include/tr1/beta_function.tcc: New. * include/tr1/ell_integral.tcc: New. * include/tr1/exp_integral.tcc: New. * include/tr1/gamma.tcc: New. * include/tr1/hypergeometric.tcc: New. * include/tr1/legendre_function.tcc: New. * include/tr1/modified_bessel_func.tcc: New. * include/tr1/poly_hermite.tcc: New. * include/tr1/poly_laguerre.tcc: New. * include/tr1/riemann_zeta.tcc: New. * include/tr1/cmath : Included tr1 math special functions. * include/tr1/math.h : Ditto. * testsuite/tr1/5_numerical_facilities/special_functions/ testcase.h: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/03_beta/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/12_ellint_1/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/13_ellint_2/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/14_ellint_3/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/ check_value_neg.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/15_expint/ check_value_pos.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/18_laguerre/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/ compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/ check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/ check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/19_legendre/ compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_value_neg.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_value_pos.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/compile_2.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/compile.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_nan.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_value.cc: New. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/ compile_2.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122986 138bc75d-0d04-0410-961f-82ee72b054a4