summaryrefslogtreecommitdiff
path: root/libstdc++-v3
Commit message (Collapse)AuthorAgeFilesLines
* Extend std::function test for PR 68995redi2016-01-122-0/+7
| | | | | | * testsuite/20_util/function/68995.cc: Test reference_wrapper cases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232294 138bc75d-0d04-0410-961f-82ee72b054a4
* Prevent recursive instantiation in std::functionredi2016-01-123-11/+47
| | | | | | | | | | | | | PR libstdc++/69005 PR libstdc++/69222 * include/std/functional (function::_Invoke): Remove, use result_of. (function::_Callable): Replace alias template with class template and use partial specialization instead of _NotSelf alias template. (function(_Functor)): Add "not self" constraint so that _Callable is not used while type is incomplete. * testsuite/20_util/function/69222.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232273 138bc75d-0d04-0410-961f-82ee72b054a4
* allocator_traits<allocator<T>> partial specializationredi2016-01-113-1/+144
| | | | | | | | | | PR libstdc++/60976 * include/bits/alloc_traits.h (allocator_traits<allocator<_Tp>>): Define partial specialization. * testsuite/20_util/shared_ptr/cons/58659.cc: Add construct and destroy members to std::allocator explicit specialization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232232 138bc75d-0d04-0410-961f-82ee72b054a4
* Use -std option in test for C99 macros in <cmath>redi2016-01-083-1/+10
| | | | | | | | | | | | | * testsuite/26_numerics/headers/cmath/ c99_classification_macros_c++.cc: Rename to ... * testsuite/26_numerics/headers/cmath/ c99_classification_macros_c++98.cc: Here and add -std=gnu++98. * testsuite/26_numerics/headers/cmath/ c99_classification_macros_c++0x.cc: Rename to ... * testsuite/26_numerics/headers/cmath/ c99_classification_macros_c++11.cc: Here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232165 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR number in previous commitredi2016-01-081-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232163 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing include for std::__addressofredi2016-01-082-0/+6
| | | | | | | PR libstdc++/69160 * include/bits/uses_allocator.h: Add missing include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232162 138bc75d-0d04-0410-961f-82ee72b054a4
* Use std::addressof in insert iterators, allocators and promisesredi2016-01-078-8/+159
| | | | | | | | | | | | | | | | | PR libstdc++/69105 PR libstdc++/69106 PR libstdc++/69114 * include/bits/stl_iterator.h (back_insert_iterator, front_insert_iterator, insert_iterator): Use __addressof (LWG 2324). * include/bits/uses_allocator.h (__use_alloc): Use __addressof. * include/std/future (__future::base::_State_baseV2::__setter): Likewise. * include/std/scoped_allocator (__outermost): Likewise. * testsuite/20_util/scoped_allocator/69114.cc: New. * testsuite/20_util/uses_allocator/69114.cc: New. * testsuite/30_threads/promise/69106.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232129 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove noexcept from function template that can throwredi2016-01-063-2/+63
| | | | | | | | | PR libstdc++/69092 * include/bits/basic_string.h (basic_string::_S_copy_chars<_Iterator>): Remove _GLIBCXX_NOEXCEPT. testsuite/21_strings/basic_string/cons/char/69092.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232112 138bc75d-0d04-0410-961f-82ee72b054a4
* Rename bits/mutex.h to avoid clashing with glibcredi2016-01-066-4/+12
| | | | | | | | | | * include/Makefile.am: Adjust. * include/Makefile.in: Regenerate. * include/bits/mutex.h: Rename to bits/std_mutex.h. * include/std/condition_variable: Adjust include. * include/std/mutex: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232101 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years.jakub2016-01-047761-12803/+12813
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232055 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-12-27 Edward Smith-Rowland <3dw4rd@verizon.net>emsr2015-12-282-3/+6
| | | | | | | | * include/bits/c++0x_warning.h Remove experimental language. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231966 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct use of __GXX_WEAK__ macro.jason2015-12-253-2/+8
| | | | | | | * testsuite/ext/bitmap_allocator/check_deallocate_null.cc * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231953 138bc75d-0d04-0410-961f-82ee72b054a4
* Add inline to std::__invfwdredi2015-12-222-1/+6
| | | | | | | PR libstdc++/59768 * include/std/functional (__invfwd): Add inline specifier. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231900 138bc75d-0d04-0410-961f-82ee72b054a4
* Rename test file that had incorrect bug numberredi2015-12-212-0/+4
| | | | | | | | PR libstdc++/68982 testsuite/20_util/function_objects/mem_fn/68276.cc: Rename to ... testsuite/20_util/function_objects/mem_fn/68982.cc: Correct bug number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231881 138bc75d-0d04-0410-961f-82ee72b054a4
* libstdc++/68995 qualify calls to __callable_functorredi2015-12-213-4/+37
| | | | | | | | | PR libstdc++/68995 * include/std/functional (_function_handler, function): Qualify __callable_functor. * testsuite/20_util/function/68995.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231880 138bc75d-0d04-0410-961f-82ee72b054a4
* libstdc++/68276 consistently qualify std::forwardredi2015-12-213-9/+66
| | | | | | | | | PR libstdc++/68276 * include/std/functional (__invoke_impl, _Mem_fn::operator()): Qualify std::forward. testsuite/20_util/function_objects/mem_fn/68276.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231879 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/66693.ville2015-12-2111-65/+288
| | | | | | | | | | | | | | | | | | * include/std/tuple (tuple_element, tuple_size, tuple_element_t, __tuple_element_t): Move to... * include/std/utility: ...here. * testsuite/20_util/pair/astuple/astuple.cc: Adjust. * testsuite/20_util/pair/astuple/astuple_cpp14.cc: New. * testsuite/20_util/tuple/tuple_element.cc: Adjust. * testsuite/20_util/tuple/tuple_element_t.cc: Likewise. * testsuite/20_util/tuple/tuple_size.cc: Likewise. * testsuite/23_containers/array/tuple_interface/tuple_element.cc: Likewise. * testsuite/23_containers/array/tuple_interface/tuple_element_cpp14.cc: New. * testsuite/23_containers/array/tuple_interface/tuple_size.cc: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231875 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-12-18 Ville Voutilainen <ville.voutilainen@gmail.com>ville2015-12-182-1/+13
| | | | | | | | Fix a regression introduced by the fix of libstdc++/68276. * src/c++11/ios.cc (_M_grow_words): Catch bad_alloc again so that bad_array_new_length is handled properly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231839 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-12-18 Ville Voutilainen <ville.voutilainen@gmail.com>ville2015-12-183-7/+13
| | | | | | | | | PR libstdc++/68276 * src/c++11/ios.cc (_M_grow_words): Use nothrow new. * testsuite/27_io/ios_base/storage/11584.cc: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231819 138bc75d-0d04-0410-961f-82ee72b054a4
* [DJGPP] Update config/os/djgpp/error_constants.handris2015-12-182-24/+80
| | | | | | | | | * config/os/djgpp/error_constants.h: update according to DJGPP errno macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231801 138bc75d-0d04-0410-961f-82ee72b054a4
* libstdc++/68921 add timeout argument to futex(2)redi2015-12-162-1/+6
| | | | | | | | | PR libstdc++/68921 * src/c++11/futex.cc (__atomic_futex_unsigned_base::_M_futex_wait_until): Use null pointer as timeout argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231676 138bc75d-0d04-0410-961f-82ee72b054a4
* Restore accidentally-removed volatile qualifierredi2015-12-152-1/+4
| | | | | | | * include/std/functional (_Mu<_Arg, false, false>::operator()): Restore accidentally-removed volatile qualifier. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231660 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove vestigial traces of std::tr1::bindredi2015-12-152-73/+31
| | | | | | | | | | * include/std/functional (is_placeholder, is_bind_expression): Update comments. (_Safe_tuple_element): Replace with _Safe_tuple_element_t alias template. (_Mu): Remove vestigial TR1 return types and update coments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231653 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix cv-qualifiers in std::bind invocationredi2015-12-153-4/+64
| | | | | | | | | PR libstdc++/68912 * include/std/functional (_Bind::operator()): Use lvalue functor to deduce return type. * testsuite/20_util/bind/68912.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231652 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/68863timshen2015-12-153-1/+56
| | | | | | | | | | | * include/bits/regex_executor.tcc (_Executor::_M_lookahead): Copy the captured content for lookahead, so that the backreferences inside can refer to them. * testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231641 138bc75d-0d04-0410-961f-82ee72b054a4
* Bad date on the Changelog entry, boo hiss.ville2015-12-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231612 138bc75d-0d04-0410-961f-82ee72b054a4
* Document the implementation of Logical Operator Type Traits.ville2015-12-144-3/+45
| | | | | | | | | * doc/html/index.html: Regenerate. * doc/html/manual/status.html: Likewise. * doc/xml/manual/status_cxx2017.xml: Add P0013R1 to C++ 201z and to Library Fundamentals 2 TS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231611 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix std::invoke support for reference_wrappersredi2015-12-115-39/+115
| | | | | | | | | | | | PR libstdc++/59768 * include/std/functional (_Unwrap, __invfwd): Define. (__invoke_impl): Remove reference_wrapper overloads and use __invfwd. * include/std/type_traits (__result_of_memobj, __result_of_memfun): Add partial specializations for const reference_wrappers and simplify. * testsuite/20_util/bind/ref_neg.cc: Use dg-excess-errors. * testsuite/20_util/function_objects/invoke/59768.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231574 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/68139ville2015-12-113-1/+41
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231562 138bc75d-0d04-0410-961f-82ee72b054a4
* Change tests to use -std=gnu++14 not -std=gnu++1yredi2015-12-1020-19/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/experimental/memory/shared_ptr/assign/assign.cc: Replace -std=gnu++1y with -std=gnu++14. * testsuite/experimental/memory/shared_ptr/cast/cast.cc: Likewise. * testsuite/experimental/memory/shared_ptr/comparison/comparison.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/alias_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/alloc_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/copy_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/default_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/move_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/pointer_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc: Likewise. * testsuite/experimental/memory/shared_ptr/dest/dest.cc: Likewise. * testsuite/experimental/memory/shared_ptr/modifiers/reset.cc: Likewise. * testsuite/experimental/memory/shared_ptr/modifiers/swap.cc: Likewise. * testsuite/experimental/memory/shared_ptr/observers/bool_conv.cc: Likewise. * testsuite/experimental/memory/shared_ptr/observers/operators.cc: Likewise. * testsuite/experimental/memory/shared_ptr/observers/owner_before.cc: Likewise. * testsuite/experimental/memory/shared_ptr/observers/use_count.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231517 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix dejagnu directives in shared_ptr testredi2015-12-103-45/+44
| | | | | | | | | | | PR libstdc++/68825 * include/experimental/bits/shared_ptr.h (__shared_ptr, __weak_ptr, experimental::shared_ptr, experimental::weak_ptr): Constrain assignment operators. * testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc: Change to a compile-only test and change dg-excess-errors to dg-error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231516 138bc75d-0d04-0410-961f-82ee72b054a4
* Improve generated libstdc++ API docsredi2015-12-1021-52/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/doxygen/user.cfg.in: Use EXTENSION_MAPPING tag. Add new headers to INPUT. Remove obsolete XML_SCHEMA and XML_DTD tags. Update PREDEFINED macros. Set BRIEF_MEMBER_DESC for man-pages. * include/backward/strstream: Correct @file comment. * include/bits/forward_list.h: Improve Doxygen comments. * include/bits/locale_facets_nonio.h: Likewise. * include/bits/mutex.h: Likewise. * include/bits/shared_ptr.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/debug/vector (_Safe_vector): Add @brief section to comment. * include/experimental/bits/fs_dir.h: Correct @file comment. * include/experimental/bits/fs_fwd.h: Likewise. * include/experimental/bits/fs_ops.h: Likewise. * include/experimental/bits/fs_path.h: Likewise. * include/experimental/bits/string_view.tcc: Likewise. * include/experimental/optional: Document experimental status. * include/experimental/string_view: Correct @file comment. * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Reduce whitespace to avoid Doxygen bug. * include/std/bitset: Remove redundant @class Doxygen command. Add parentheses to avoid Doxygen bug. * include/std/mutex: Improve Doxygen comments. * include/tr2/dynamic_bitset: Add missing @param documentation. * scripts/run_doxygen: Rename man pages for std::experimental types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231512 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/57060 cope with invalid thread IDsredi2015-12-043-3/+71
| | | | | | | | | | | | PR libstdc++/57060 * include/std/thread (operator==(thread::id, thread::id)): Do not use __gthread_equal. (operator<(thread::id, thread::id)): Add comment. (this_thread::get_id()): Do not use __gthread_self for single-threaded programs using glibc. * testsuite/30_threads/this_thread/57060.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231289 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix ambiguity with multiple enable_shared_from_this basesredi2015-12-024-16/+93
| | | | | | | | | | | PR libstdc++/56383 * testsuite/20_util/enable_shared_from_this/56383.cc: New. * include/bits/shared_ptr_base.h (__enable_shared_from_this): Make friend declaration match previous declaration of __enable_shared_from_this_helper. * include/bits/shared_ptr.h (enable_shared_from_this): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231181 138bc75d-0d04-0410-961f-82ee72b054a4
* Define path::_Cmpt after specializing path::__is_encoded_charredi2015-12-012-10/+15
| | | | | | | * include/experimental/bits/fs_path.h (path::_Cmpt): Move definition after path::__is_encoded_char explicit specializations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231107 138bc75d-0d04-0410-961f-82ee72b054a4
* Ensure another pretty-printer test uses C++98 moderedi2015-11-262-2/+8
| | | | | | | * testsuite/libstdc++-prettyprinters/debug.cc: Add -std=gnu++98 to dg-options and avoid use of uniform-init. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230977 138bc75d-0d04-0410-961f-82ee72b054a4
* Ensure pretty-printer test uses C++98 moderedi2015-11-262-2/+10
| | | | | | | * testsuite/libstdc++-prettyprinters/simple.cc: Add -std=gnu++98 to dg-options and avoid use of uniform-init. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230973 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.dje2015-11-262-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230949 138bc75d-0d04-0410-961f-82ee72b054a4
* Improve tests for valid values of iostream bitmask typesredi2015-11-254-6/+19
| | | | | | | | | * testsuite/27_io/ios_base/types/fmtflags/case_label.cc: Explicitly check minimum and maximum values, and size of underlying type. * testsuite/27_io/ios_base/types/iostate/case_label.cc: Likewise. * testsuite/27_io/ios_base/types/openmode/case_label.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230868 138bc75d-0d04-0410-961f-82ee72b054a4
* Port libvtv to Solarisro2015-11-254-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libstdc++-v3: * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY) <solaris2*>: Use -Wl,-R in VTV_CXXLINKFLAGS. * configure: Regenerate. * testsuite/18_support/bad_exception/23591_thread-1.c: Use -fvtable-verify=none on Solaris 12+. libgcc: * Makefile.in (VTV_CFLAGS): New variable. (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext)) (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it. * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file. Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o to extra_parts if $enable_vtable_verify = yes. libvtv: * configure.tgt (*-*-solaris2.[1-9]*): Declare supported. * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS. <*-*-solaris2*>: Check for init priority support. Check for getexecname, __fortify_fail, _obstack_begin. (VTV_NO_OBSTACK): New conditional. * configure: Regenerate. * Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition. Create empty config.h * Makefile.in: Regenerate. * vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New variable. (read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it. (dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it. (__fortify_fail): Wrap in HAVE___FORTIFY_FAIL [!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation. (read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE. (iterate_modules): Fix typo. Use VTV_PAGE_SIZE. (dl_iterate_phdr_callback): Fix typo. Use VTV_PAGE_SIZE. (__VLTChangePermission): Fix typos. include: * vtv-change-permission.h (VTV_PAGE_SIZE) [__sun__ && __svr4__ && __sparc__]: Define. gcc: * config/sol2.h (SUPPORTS_INIT_PRIORITY): Move up. (STARTFILE_VTV_SPEC, ENDFILE_VTV_SPEC): Define. (STARTFILE_SPEC): Use %(startfile_vtv). (ENDFILE_SPEC): Use %(endfile_vtv). (SUBTARGET_EXTRA_SPECS): Handle STARTFILE_VTV_SPEC, ENDFILE_VTV_SPEC. * gcc.c (LINK_COMMAND_SPEC): Move VTABLE_VERIFICATION_SPEC after %{L*}. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230865 138bc75d-0d04-0410-961f-82ee72b054a4
* Handle C++11 <math.h> overloads on Solaris 12ro2015-11-248-2/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): New test. * configure.ac: Use it. * configure: Regenerate. * config.h.in: Regenerate. * include/c_global/cmath [__cplusplus >= 201103L] (std::fpclassify): Wrap in !__CORRECT_ISO_CPP11_MATH_H_PROTO. (std::isfinite): Likewise. (std::isinf): Likewise. (std::isnan): Likewise. (std::isnormal): Likewise. (std::signbit): Likewise. (std::isgreater): Likewise. (std::isgreaterequal): Likewise. (std::isless): Likewise. (std::islessequal): Likewise. (std::islessgreater): Likewise. (std::isunordered): Likewise. (std::acosh): Likewise. (std::asinh): Likewise. (std::atanh): Likewise. (std::cbrt): Likewise. (std::copysign): Likewise. (std::erf): Likewise. (std::erfc): Likewise. (std::exp2): Likewise. (std::expm1): Likewise. (std::fdim): Likewise. (std::fma): Likewise. (std::fmax): Likewise. (std::fmin): Likewise. (std::hypot): Likewise. (std::ilogb): Likewise. (std::lgamma): Likewise. (std::llrint): Likewise. (std::llround): Likewise. (std::log1p): Likewise. (std::log2): Likewise. (std::logb): Likewise. (std::lrint): Likewise. (std::lround): Likewise. (std::nearbyint): Likewise. (std::nextafter): Likewise. (std::nexttoward): Likewise. (std::remainder): Likewise. (std::remquo): Likewise. (std::rint): Likewise. (std::round): Likewise. (std::scalbln): Likewise. (std::scalbn): Likewise. (std::tgamma): Likewise. (std::trunc): Likewise. * include/tr1/cmath [_GLIBCXX_USE_C99_MATH_TR1] (std::tr1::acosh): Wrap in !__CORRECT_ISO_CPP11_MATH_H_PROTO. (std::tr1::asinh): Likewise. (std::tr1::atanh): Likewise. (std::tr1::cbrt): Likewise. (std::tr1::copysign): Likewise. (std::tr1::erf): Likewise. (std::tr1::erfc): Likewise. (std::tr1::exp2): Likewise. (std::tr1::expm1): Likewise. (std::tr1::fabs): Likewise. (std::tr1::fdim): Likewise. (std::tr1::fma): Likewise. (std::tr1::fmax): Likewise. (std::tr1::fmin): Likewise. (std::tr1::hypot): Likewise. (std::tr1::ilogb): Likewise. (std::tr1::lgamma): Likewise. (std::tr1::llrint): Likewise. (std::tr1::llround): Likewise. (std::tr1::log1p): Likewise. (std::tr1::log2): Likewise. (std::tr1::logb): Likewise. (std::tr1::lrint): Likewise. (std::tr1::lround): Likewise. (std::tr1::nearbyint): Likewise. (std::tr1::nextafter): Likewise. (std::tr1::nexttoward): Likewise. (std::tr1::remainder): Likewise. (std::tr1::remquo): Likewise. (std::tr1::rint): Likewise. (std::tr1::scalbln): Likewise. (std::tr1::scalbn): Likewise. (std::tr1::tgamma): Likewise. (std::tr1::trunc): Likewise. (std::tr1::pow): Likewise. * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: Restrict dg-xfail-if, dg-excess-errors to *-*-solaris2.1[01]*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230807 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/23_containers/vector/profile/vector.cc: Add maxdata option on AIX.dje2015-11-212-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230701 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/68448jkratoch2015-11-203-9/+20
| | | | | | | | | * python/hook.in: Call register_libstdcxx_printers. * python/libstdcxx/v6/__init__.py: Wrap it to register_libstdcxx_printers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230669 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/66059 optimise _Build_index_tupleredi2015-11-172-4/+20
| | | | | | | PR libstdc++/66059 * include/std/utility (_Build_index_tuple): Optimise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230496 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/67440devans2015-11-165-1/+25
| | | | | | | | | | | | * python/libstdcxx/v6/printers.py (find_type): Handle "const" in type name. * testsuite/libstdc++-prettyprinters/debug.cc: Add test for const set<int>. * testsuite/libstdc++-prettyprinters/simple.cc: Ditto. * testsuite/libstdc++-prettyprinters/simple11.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230437 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/68353 fix _GLIBCXX_USE_C99_WCHAR testredi2015-11-153-2/+9
| | | | | | | | | PR libstdc++/68353 * include/bits/basic_string.h: Test value of _GLIBCXX_USE_C99_WCHAR not whether it is defined. * include/ext/vstring.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230395 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-11-14 Andreas Tobler <andreast@gcc.gnu.org>andreast2015-11-145-30/+71
| | | | | | | | | | | | | * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Change locale implementation from darwin to DragonFly. * configure: Regenerate. * config/os/bsd/freebsd/ctype_configure_char.cc: Improve locale support, do it the same as DragonFly. * config/os/bsd/freebsd/os_defines.h: Add fine grained C99 defines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230383 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix std::wstring capacity test for short wchar_tredi2015-11-143-2/+9
| | | | | | | | | * testsuite/21_strings/basic_string/capacity/char/18654.cc: Use real minimum capacity. * testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230378 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/experimental/random/randint.cc: Add dg-add-options tls.dje2015-11-142-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230377 138bc75d-0d04-0410-961f-82ee72b054a4
* Define std::experimental::randint etc.redi2015-11-135-0/+170
| | | | | | | | | * include/Makefile.am: Add new header. * include/Makefile.in: Regenerate. * include/experimental/random: New. * testsuite/experimental/random/randint.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230332 138bc75d-0d04-0410-961f-82ee72b054a4