summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3
Commit message (Collapse)AuthorAgeFilesLines
* Mark ChangeLoggccadmin2014-10-301-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@216881 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-10-18 François Dumont <fdumont@gcc.gnu.org>fdumont2014-10-183-3/+58
| | | | | | | | | | | | Jonathan Wakely <jwakely@redhat.com> PR libstdc++/63500 * include/debug/functions.h (__foreign_iterator_aux2): Do not check for foreign iterators if input iterators returns rvalue reference. * testsuite/23_containers/vector/63500.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@216423 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/57440ktietz2014-10-143-0/+13
| | | | | | | | | * config/os/mingw32/os_defines.h (_GTHREAD_USE_MUTEX_INIT_FUNC): Define to avoid leak. * config/os/mingw32-w64/os_defines.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@216212 138bc75d-0d04-0410-961f-82ee72b054a4
* libcpp/emsr2014-10-0817-5/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014-10-08 Edward Smith-Rowland <3dw4rd@verizon.net> Implement SD-6: SG10 Feature Test Recommendations * internal.h (lexer_state, spec_nodes): Add in__has_include__. * directives.c: Support __has_include__ builtin. * expr.c (parse_has_include): New function to parse __has_include__ builtin; (eval_token()): Use it. * files.c (_cpp_has_header()): New funtion to look for header; (open_file_failed()): Not an error to not find a header file for __has_include__. * identifiers.c (_cpp_init_hashtable()): Add entry for __has_include__. * pch.c (cpp_read_state): Lookup __has_include__. * traditional.c (enum ls, _cpp_scan_out_logical_line()): Walk through __has_include__ statements. gcc/c-family/ 2014-10-08 Edward Smith-Rowland <3dw4rd@verizon.net> Implement SD-6: SG10 Feature Test Recommendations * c-cppbuiltin.c (c_cpp_builtins()): Define language feature macros and the __has_header macro. libstdc++-v3/ 2014-10-08 Edward Smith-Rowland <3dw4rd@verizon.net> Implement SD-6: SG10 Feature Test Recommendations * include/bits/basic_string.h: Add __cpp_lib feature test macro. * include/bits/stl_algobase.h: Ditto. * include/bits/stl_function.h: Ditto. * include/bits/unique_ptr.h: Ditto. * include/std/chrono: Ditto. * include/std/complex: Ditto. * include/std/iomanip: Ditto. * include/std/shared_mutex: Ditto. * include/std/tuple: Ditto. * include/std/type_traits: Ditto. * include/std/utility: Ditto. * testsuite/experimental/feat-cxx14.cc: New. * testsuite/experimental/feat-lib-fund.cc: New. * testsuite/20_util/declval/requirements/1_neg.cc: Adjust. * testsuite/20_util/duration/literals/range.cc: Adjust. * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust. * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust. * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust. * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust. * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Adjust. gcc/testsuite/ 2014-10-08 Edward Smith-Rowland <3dw4rd@verizon.net> Implement SD-6: SG10 Feature Test Recommendations * g++.dg/cpp1y/feat-cxx11-neg.C: New. * g++.dg/cpp1y/feat-cxx11.C: New. * g++.dg/cpp1y/feat-cxx14.C: New. * g++.dg/cpp1y/feat-cxx98.C: New. * g++.dg/cpp1y/feat-cxx98-neg.C: New. * g++.dg/cpp1y/phoobhar.h: New. * g++.dg/cpp1y/testinc/phoobhar.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215998 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/regex.h (regex_token_iterator::_M_end_of_seq): Addredi2014-10-082-1/+6
| | | | | | const qualifier. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215996 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-10-05 François Dumont <fdumont@gcc.gnu.org>fdumont2014-10-053-1/+42
| | | | | | | | | | PR libstdc++/63456 * include/bits/hashtable.h (_M_uses_single_bucket(__bucket_type*)): Test the parameter. * testsuite/23_containers/unordered_set/63456.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215906 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/63449redi2014-10-036-39/+18
| | | | | | | | * doc/xml/manual/containers.xml: Remove outdated section. Update std::list notes. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215852 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-10-03 Edward Smith-Rowland <3dw4rd@verizon.net>emsr2014-10-039-5/+127
| | | | | | | | | | | | | | | | * include/std/type_traits: Add is_final<> type trait for C++14. * testsuite/util/testsuite_tr1.h: Add FinalType. * testsuite/20_util/is_final/requirements/ explicit_instantiation.cc: New. * testsuite/20_util/is_final/requirements/typedefs.cc: New. * testsuite/20_util/is_final/value.cc: New. * testsuite/20_util/declval/requirements/1_neg.cc: Adjust. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215850 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/63199timshen2014-10-023-14/+107
| | | | | | | | | | * include/bits/regex.h (basic_regex::basic_regex, basic_regex::assign, basic_regex::swap): Fix dangling _M_traits reference problem. * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215805 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/status_cxx2011.xml: Corrections.redi2014-10-013-14/+27
| | | | | | * doc/html/manual/status.html: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215758 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/vector.tcc (vector::_M_fill_assign): Use _M_swap_data.redi2014-10-012-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215757 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/stl_queue.h: Include missing header.redi2014-10-016-0/+102
| | | | | | | | | | * include/bits/stl_stack.h: Likewise. * testsuite/23_containers/priority_queue/requirements/ uses_allocator.cc: New. * testsuite/23_containers/queue/requirements/uses_allocator.cc: New. * testsuite/23_containers/stack/requirements/uses_allocator.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215756 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/std/mutex (try_lock): Do not swallow exceptions.redi2014-10-013-8/+15
| | | | | | * testsuite/30_threads/try_lock/4.cc: Fix test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215755 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/59603redi2014-10-013-2/+51
| | | | | | | * include/bits/stl_algo.h (random_shuffle): Prevent self-swapping. * testsuite/25_algorithms/random_shuffle/59603.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215754 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/63219redi2014-09-112-1/+7
| | | | | | | * include/bits/regex.h (match_results::format): Remove stray template parameter. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215161 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainline:redi2014-08-264-1/+105
| | | | | | | | | | | | | 2014-08-12 Jonathan Wakely <jwakely@redhat.com> * include/bits/basic_string.h (getline): Qualify call to prevent ADL and add overloads for rvalue streams. * testsuite/21_strings/basic_string/inserters_extractors/char/12.cc: New. * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/12.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214525 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/62264redi2014-08-262-2/+7
| | | | | | * include/experimental/string_view: Fix inconsistent exception specs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214500 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-09 François Dumont <fdumont@gcc.gnu.org>fdumont2014-08-093-4/+56
| | | | | | | | | | | PR libstdc++/61667 * include/bits/hashtable.h (_Hashtable<>::__rehash_policy): Use _M_need_rehash to initialize the rehash policy and check if a rehash is needed. * testsuite/23_containers/unordered_map/modifiers/61667.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213778 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlineredi2014-08-043-3/+46
| | | | | | | | | | | | 2014-07-29 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/61946 * include/ext/rope (rope::rope(char_producer<_CharT>*, size_t, bool, const allocator_type&)): Pass non-const allocator to _S_new_RopeFunction. * testsuite/ext/rope/61946.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213612 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-04 Zifei Tong <zifeitong@gmail.com>redi2014-08-042-3/+8
| | | | | | | * libsupc++/atexit_thread.cc (HAVE___CXA_THREAD_ATEXIT_IMPL): Add _GLIBCXX_ prefix to macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213605 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-04 Samuel Bronson <naesten@gmail.com>redi2014-08-043-40/+104
| | | | | | | | | | | | | | | | | | | | | | Backport r212453 from trunk 2014-07-11 Samuel Bronson <naesten@gmail.com> Matthias Klose <doko@ubuntu.com> PR libstdc++/58962 * python/libstdcxx/v6/printers.py: Port to Python 2+3 (imap): New compat function. (izip): Likewise. (Iterator): New mixin to allow writing iterators in Python 3 style regardless of which version we're running on. [Python3] (long) New compat alias for "int". * testsuite/lib/gdb-test.exp: Port to Python 2+3 (print syntax) Backport r210625 from trunk 2014-05-19 Jonathan Wakely <jwakely@redhat.com> * python/libstdcxx/v6/printers.py: Use Python3 raise syntax. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213604 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlineredi2014-08-043-3/+11
| | | | | | | | | | | 2014-06-10 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/61390 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp (bin_search_tree_traits): Do not redeclare template-parameters. * testsuite/util/testsuite_iterators.h (test_container): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213603 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlineredi2014-08-046-2/+135
| | | | | | | | | | | | | | | 2014-06-02 Jonathan Wakely <jwakely@redhat.com> * include/std/condition_variable (condition_variable_any::_Unlock): Do not swallow __forced_unwind. * include/std/future (__future_base::_Task_setter): Likewise. (__future_base::_Async_state_impl): Turn __forced_unwind into broken promise and rethrow. * include/std/mutex (try_lock): Likewise. * testsuite/30_threads/async/forced_unwind.cc: New. * testsuite/30_threads/packaged_task/forced_unwind.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213602 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlineredi2014-08-0410-87/+130
| | | | | | | | | | | | | | | | | | | | | | | | | 2014-06-01 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/61374 * include/experimental/string_view (operator basic_string): Correct order of arguments. (to_string): Replace with member function. Add inline specifiers. Remove unused header. Remove _S_empty_rep and allow _M_str to be null. * testsuite/experimental/string_view/cons/char/1.cc: Adjust to new default constructor semantics. * testsuite/experimental/string_view/cons/wchar_t/1.cc: Likewise. * testsuite/experimental/string_view/operations/copy/char/1.cc: Fix copyright dates. Remove unused header. * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc: Likewise. * testsuite/experimental/string_view/operations/data/char/1.cc: Fix copyright dates. Adjust to new default constructor semantics. * testsuite/experimental/string_view/operations/data/wchar_t/1.cc: Likewise. * testsuite/experimental/string_view/operations/to_string/1.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213601 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlineredi2014-08-042-2/+10
| | | | | | | | | 2014-04-15 Jonathan Wakely <jwakely@redhat.com> * include/bits/atomic_base.h (__atomic_base<_PTp*>::_M_type_size): Add const to constexpr member functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213600 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>emsr2014-07-306-1/+55
| | | | | | | | | | | | | | | PR libstdc++/60037 - SIGFPE in std::generate_canonical<unsigned int...> * include/bits/random.h (_Adaptor): static_assert for non floating-point result type. * include/bits/random.tcc (generate_canonical): Ditto. * include/ext/random.tcc (hypergeometric_distribution::operator()): Use double as a rng result type. * testsuite/26_numerics/random/pr60037-neg.cc: New. * testsuite/ext/random/hypergeometric_distribution/pr60037.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213231 138bc75d-0d04-0410-961f-82ee72b054a4
* Mark ChangeLoggccadmin2014-07-161-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@212607 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/61532redi2014-06-235-4/+29
| | | | | | | | | | | | * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Do not apply the signed specifier to wchar_t. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Do not apply the unsigned specifier to wchar_t. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211914 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/std/tuple (tuple_size<cv _Tp>): Implement LWG 2313.redi2014-06-133-13/+21
| | | | | | | (get<_Tp>(tuple<_Types...>&&)): Use forward instead of move. * testsuite/20_util/tuple/element_access/get_by_type.cc: Test rvalues. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211637 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-06-13 Jonathan Wakely <jwakely@redhat.com>redi2014-06-138-7/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport from mainline PR libstdc++/60326 * include/std/type_traits (__make_unsigned, __make_signed): Define specializations for wchar_t, char16_t and char32_t. * testsuite/20_util/make_signed/requirements/typedefs-4.cc: New. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Correct test for make_unsigned<volatile wchar_t>. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise. * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error line number. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. Backport from mainline PR libstdc++/61269 * include/std/type_traits: Move include outside namespace std. * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211636 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-06-07 Ed Smith-Rowland <3dw4rd@verizon.net>emsr2014-06-074-15/+131
| | | | | | | | | | | | Backport from mainline DR 2344 - std::quoted doesn't respect padding * include/std/iomanip: Allow for padding in quoted inserters. * testsuite/27_io/manipulators/standard/char/dr2344.cc: New. * testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211344 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/regex_executor.tcc (_Executor<>::_M_main): Move insteadredi2014-06-032-3/+8
| | | | | | of copying. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211193 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainlineredi2014-06-034-5/+45
| | | | | | | | | | | | | | | 2014-05-20 Tim Shen <timshen91@gmail.com> PR libstdc++/61227 * include/bits/regex_compiler.h (_BracketMatcher<>::_M_add_character_class): Add negative character class support. * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply): Likewise. * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc: Add more testcases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211192 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainlineredi2014-06-033-8/+17
| | | | | | | | | | 2014-04-24 Tim Shen <timshen91@gmail.com> * include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()): Do _M_alt before _M_next. * testsuite/28_regex/basic_regex/multiple_quantifiers.cc: Add testcases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211191 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainlineredi2014-06-032-2/+10
| | | | | | | | | 2014-04-15 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/60734 * include/bits/stl_tree.h (_Rb_tree::_M_end): Fix invalid cast. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211190 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/tr2/bool_set: Use UTF-8 for accented characters.redi2014-05-293-3/+15
| | | | | | * scripts/run_doxygen: Handle Doxygen 1.8.x change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@211054 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/61329redi2014-05-272-2/+9
| | | | | | | | * include/bits/regex_automaton.tcc (_State_base::_M_print): Add inline specifier. (_State_base::_M_dot): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210972 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-05-23 François Dumont <fdumont@gcc.gnu.org>fdumont2014-05-234-47/+210
| | | | | | | | | | | PR libstdc++/61143 * include/bits/hashtable.h: Fix move semantic to leave hashtable in a usable state. * testsuite/23_containers/unordered_set/61143.cc: New. * testsuite/23_containers/unordered_set/modifiers/swap.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210876 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix date in last ChangeLog entry.redi2014-05-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210558 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/60966redi2014-05-173-10/+96
| | | | | | | | | | | * include/std/future (__future_base::_State_baseV2::_M_set_result): Signal condition variable after call_once returns. (__future_base::_State_baseV2::_M_do_set): Do not signal here. (promise::set_value, promise::set_exception): Increment the reference count on the shared state until the function returns. * testsuite/30_threads/promise/60966.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210557 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-05-08 Joshua Gay <jgay@gnu.org>redi2014-05-083-2/+9
| | | | | | | | | PR libstdc++/61117 * doc/xml/faq.xml (faq.license.what_restrictions): Replace "open source" with "free software". * doc/html/faq.html: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210240 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/std/iostream: Fix URL in comment.redi2014-05-083-4/+9
| | | | | | * src/c++98/ios_init.cc: Fix path in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210235 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/61086redi2014-05-079-27/+37
| | | | | | | | | | | | | | | | | | | * include/bits/stl_iterator.h (__normal_iterator::_M_const_cast): Remove. * include/bits/stl_vector.h (vector::insert, vector::erase): Use arithmetic to obtain a mutable iterator from const_iterator. * include/bits/vector.tcc (vector::insert): Likewise. * include/debug/vector (vector::erase): Likewise. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210163 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/61023redi2014-05-073-0/+64
| | | | | | | | | | | | | * include/bits/stl_tree.h (_Rb_tree::_M_move_assign): Copy the comparison function. * testsuite/23_containers/set/cons/61023.cc: New. PR libstdc++/61023 * include/bits/stl_tree.h (_Rb_tree::_M_move_assign): Copy the comparison function. * testsuite/23_containers/set/cons/61023.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210158 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport libstdc++/60594 fix from mainline.redi2014-05-063-2/+55
| | | | | | | | | PR libstdc++/60594 * include/std/functional (function::_Callable): Exclude own type from the callable checks. * testsuite/20_util/function/60594.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210103 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/61036redi2014-05-023-1/+34
| | | | | | | | * include/bits/shared_ptr_base.h (__shared_ptr::__shared_ptr(_Tp1*)): Check the correct type in the static assertion. * testsuite/20_util/shared_ptr/cons/61036.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210014 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/59476redi2014-05-024-4/+125
| | | | | | | | | | | * python/libstdcxx/v6/printers.py (get_value_from_Rb_tree_node): New function to handle both C++03 and C++11 _Rb_tree_node implementations. (StdRbtreeIteratorPrinter, StdMapPrinter, StdSetPrinter): Use it. * testsuite/libstdc++-prettyprinters/simple.cc: Update comment to refer to... * testsuite/libstdc++-prettyprinters/simple11.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210007 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-27 Lars Gullik Bjønnes <larsbj@gullik.org>redi2014-04-278-26/+14
| | | | | | | | | | | | | | PR libstdc++/60710 * include/experimental/optional (operator!=): Implement in terms of operator==. * testsuite/experimental/optional/relops/1.cc: Remove operator!=. * testsuite/experimental/optional/relops/2.cc: Likewise. * testsuite/experimental/optional/relops/3.cc: Likewise. * testsuite/experimental/optional/relops/4.cc: Likewise. * testsuite/experimental/optional/relops/5.cc: Likewise. * testsuite/experimental/optional/relops/6.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209841 138bc75d-0d04-0410-961f-82ee72b054a4
* N3887 Consistent Metafunction Aliasesredi2014-04-274-1/+48
| | | | | | | | | * include/std/tuple (tuple_element_t): Define. * testsuite/20_util/tuple/tuple_element.cc: Change to compile-only test. * testsuite/20_util/tuple/tuple_element_t.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209840 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/60497redi2014-04-273-5/+48
| | | | | | | * include/std/tuple (get): Qualify calls to prevent ADL. * testsuite/20_util/tuple/60497.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209839 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud