summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3
Commit message (Collapse)AuthorAgeFilesLines
...
* Mark ChangeLoggccadmin2014-04-221-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209583 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove TLS symbols from libstdc++ baselinesschwab2014-04-105-8/+5
| | | | | | | | | | * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Remove TLS symbols. * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209270 138bc75d-0d04-0410-961f-82ee72b054a4
* Update ia64 libstdc++ baseline symbolsschwab2014-04-102-0/+329
| | | | | | | * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209266 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix testsuite bugs.redi2014-04-074-7/+14
| | | | | | | | | * testsuite/20_util/exchange/1.cc: Add missing return statements. * testsuite/20_util/pair/40925.cc: Avoid most vexing parse. * testsuite/22_locale/codecvt_byname/50714.cc: Add missing exception specifications. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209196 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-02 Dominique d'Humieres <dominiq@lps.ens.fr>dominiq2014-04-022-1/+8
| | | | | | | | | | | | Jack Howarth <howarth@bromo.med.uc.edu> PR target/54407 * testsuite/30_threads/condition_variable/54185.cc: Skip for darwin < 11. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209017 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/backwards_compatibility.xml (backwards.third.headers):redi2014-04-0111-21/+33
| | | | | | | | | | | | | Update link. * doc/xml/manual/policy_data_structures_biblio.xml (bibliography): Fix broken links. * doc/xml/manual/shared_ptr.xml (shared_ptr.impl): Likewise. * doc/xml/manual/using_exceptions.xml (bibliography): Likewise. * doc/xml/manual/concurrency_extensions.xml (manual.ext.concurrency.impl.atomic_fallbacks): Likewise. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209002 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-31 Lars Gullik Bjønnes <larsbj@gullik.org>redi2014-03-313-2/+47
| | | | | | | | | | | Jonathan Wakely <jwakely@redhat.com> PR libstdc++/60270 * include/std/iomanip (_Quoted_string operator>>): Do not clear string if input is not quoted. * testsuite/27_io/manipulators/standard/char/60270.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208966 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/eh_ptr.cc: Improve static_assert messages.redi2014-03-312-2/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208965 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix 18_support/exception_ptr/60612-*.cc on non-C99 targetsro2014-03-313-0/+15
| | | | | | | | * testsuite/18_support/exception_ptr/60612-terminate.cc (terminate, f): Wrap in _GLIBCXX_USE_C99. * testsuite/18_support/exception_ptr/60612-unexpected.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208958 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/html/*: Regenerate.redi2014-03-2752-245/+317
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208875 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/containers.xml (associative.bitset.size_variable):redi2014-03-275-6/+12
| | | | | | | | | Fix bad s/part/chapter/ substitutions. * doc/xml/manual/io.xml (std.io): Likewise. * doc/xml/manual/numerics.xml (std.numerics.generalized_ops): Likewise. * doc/xml/manual/strings.xml (strings.string.Cstring): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208874 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/faq.xml (faq): Refer to clauses instead of chapters.redi2014-03-275-6/+13
| | | | | | | | | | * doc/xml/manual/appendix_contributing.xml (contrib.design_notes): Likewise. * doc/xml/manual/backwards_compatibility.xml (backwards.third): Likewise. * doc/xml/manual/test.xml (test.organization.layout): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208873 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/io.xml (std.io.objects): Additional markup.redi2014-03-272-44/+74
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208872 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/60612redi2014-03-275-2/+125
| | | | | | | | | | | * libsupc++/eh_ptr.cc: Assert __cxa_dependent_exception layout is compatible with __cxa_exception. * libsupc++/unwind-cxx.h (__cxa_dependent_exception): Add padding. Fix typos in comments. * testsuite/18_support/exception_ptr/60612-terminate.cc: New. * testsuite/18_support/exception_ptr/60612-unexpected.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208871 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/60658redi2014-03-253-2/+52
| | | | | | | | * include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()): Use sizeof pointer type not the element type. * testsuite/29_atomics/atomic/60658.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208819 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.jakub2014-03-2411-2/+221
| | | | | | | | | | | | | | | | * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Remove TLS entries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208797 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/23_containers/bitset/45713.cc: Skip compile on hppa*64*-*-*.danglin2014-03-242-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208776 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-23 François Dumont <fdumont@gcc.gnu.org>fdumont2014-03-232-10/+15
| | | | | | | | | | | | | * include/bits/hashtable.h (_Hashtable(allocator_type)): Fix call to delegated constructor. (_Hashtable(size_type, _H1, key_equal, allocator_type)): Likewise. (_Hashtable<_It>(_It, _It, size_type, _H1, key_equal, allocator_type)): Likewise. (_Hashtable( initializer_list, size_type, _H1, key_equal, allocator_type)): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208775 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/60623danglin2014-03-232-0/+47
| | | | | | | | * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208774 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/60587redi2014-03-217-86/+175
| | | | | | | | | | | | | | | | | | | | | | | | | * include/debug/functions.h (_Is_contiguous_sequence): Define. (__foreign_iterator): Accept additional iterator. Do not dispatch on iterator category. (__foreign_iterator_aux2): Likewise. Add overload for iterators from different types of debug container. Use _Is_contiguous_sequence instead of is_lvalue_reference. (__foreign_iterator_aux3): Accept additional iterator. Avoid dereferencing past-the-end iterator. (__foreign_iterator_aux4): Use const value_type* instead of potentially user-defined const_pointer type. * include/debug/macros.h (__glibcxx_check_insert_range): Fix comment and pass end iterator to __gnu_debug::__foreign_iterator. (__glibcxx_check_insert_range_after): Likewise. (__glibcxx_check_max_load_factor): Fix comment. * include/debug/vector (_Is_contiguous_sequence): Define partial specializations. * testsuite/23_containers/vector/debug/57779_neg.cc: Remove -std=gnu++11 option and unused header. * testsuite/23_containers/vector/debug/60587.cc: New. * testsuite/23_containers/vector/debug/60587_neg.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208755 138bc75d-0d04-0410-961f-82ee72b054a4
* * crossconfig.m4: Support spu-*-elf* targets.uweigand2014-03-203-0/+6152
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208730 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/60564redi2014-03-183-13/+78
| | | | | | | | | | * include/std/future (__future_base::_Task_state<>): Change constructors to template functions using perfect forwarding. (__create_task_state): Use decayed type as stored task. (packaged_task::packaged_task(_Fn&&)): Forward instead of moving. * testsuite/30_threads/packaged_task/60564.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208656 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-16 François Dumont <fdumont@gcc.gnu.org>fdumont2014-03-162-1/+6
| | | | | | | | | | | Complete: 2014-01-20 François Dumont <fdumont@gcc.gnu.org> * scripts/create_testsuite_files: Add testsuite/experimental in the list of folders to search for tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208606 138bc75d-0d04-0410-961f-82ee72b054a4
* Baseline symbols for m68kschwab2014-03-152-0/+3679
| | | | | | | * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208594 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-15 Tim Shen <timshen91@gmail.com>timshen2014-03-156-10/+30
| | | | | | | | | | | * include/bits/regex.h: Add/modify comments. * include/bits/regex_compiler.h: Likewise. * include/bits/regex_executor.h: Likewise. * include/bits/regex_executor.tcc: Likewise. * include/bits/regex_scanner.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208593 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ipa/58721redi2014-03-142-6/+6
| | | | | | | * config/abi/pre/gnu.ver (GLIBCXX_3.4.11): Remove unused pattern for _ZNSt12system_errorC* symbols which are not exported on any target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208572 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/59392: Fix ARM EABI uncaught throw from unexpected exception ↵roland2014-03-123-6/+70
| | | | | | | | | | | | | handler libstdc++-v3/ PR libstdc++/59392 * libsupc++/eh_call.cc (__cxa_call_unexpected): Call __do_catch with the address of a null pointer, not with a null pointer to pointer. Copy comment for this case from eh_personality.cc:__cxa_call_unexpected. * testsuite/18_support/bad_exception/59392.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208519 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/60499redi2014-03-1119-20/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/debug/forward_list (forward_list::operator=(forward_list&&)): Uglify name. * include/debug/map (map::operator=(map&&)): Likewise. * include/debug/multimap (multimap::operator=(multimap&&)): Likewise. * include/debug/multiset (multiset::operator=(multiset&&)): Likewise. * include/debug/set (set::operator=(set&&)): Likewise. * include/debug/unordered_map (unordered_map::operator=(unordered_map&&)): Likewise. (unordered_multimap::operator=(unordered_multimap&&)): Likewise. * include/debug/unordered_set (unordered_set::operator=(unordered_set&&)): Likewise. (unordered_multiset::operator=(unordered_multiset&&)): Likewise. * include/debug/vector (vector::operator=(vector&&)): Likewise. * testsuite/23_containers/forward_list/debug/60499.cc: New * testsuite/23_containers/map/debug/60499.cc: New * testsuite/23_containers/multimap/debug/60499.cc: New * testsuite/23_containers/multiset/debug/60499.cc: New * testsuite/23_containers/set/debug/60499.cc: New * testsuite/23_containers/unordered_map/debug/60499.cc: New * testsuite/23_containers/unordered_multimap/debug/60499.cc: New * testsuite/23_containers/unordered_multiset/debug/60499.cc: New * testsuite/23_containers/unordered_set/debug/60499.cc: New * testsuite/23_containers/vector/debug/60499.cc: New git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208490 138bc75d-0d04-0410-961f-82ee72b054a4
* [libstdc++,docs] After the latest batch of papers came out I updated the ↵emsr2014-03-062-6/+143
| | | | | | status docs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208358 138bc75d-0d04-0410-961f-82ee72b054a4
* /gcc/cppaolo2014-03-042-47/+6
| | | | | | | | | | | | | | | | | | | | | | | | 2014-03-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60376 * parser.c (cp_parser_using_declaration): Early return when cp_parser_nested_name_specifier errors out. /gcc/testsuite 2014-03-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60376 * g++.dg/cpp1y/pr60376.C: New. /libstdc++-v3 2014-03-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60376 * testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc: Adjust dg-error directives. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208309 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-26 Tim Shen <timshen91@gmail.com>timshen2014-02-264-6/+81
| | | | | | | | | | | * include/bits/regex.tcc (match_results<>::format, regex_replace<>): Update __out after calling std::copy. * testsuite/28_regex/algorithms/regex_replace/char/dr2213.cc: Add testcase. * testsuite/28_regex/match_results/format.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208179 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-22 Marc Glisse <marc.glisse@inria.fr>glisse2014-02-222-2/+17
| | | | | | | | | | | | | | | | | | PR libstdc++/60308 * include/bits/stl_deque.h (_Deque_base::_Deque_base(const allocator_type&)): Remove redundant call to _M_initialize_map. (deque::deque(const allocator_type&)): Initialize _Base with a constructor that calls _M_initialize_map. Partial revert: 2013-09-20 Marc Glisse <marc.glisse@inria.fr> PR libstdc++/58338 (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to _M_initialize_map. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208041 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-21 Ed Smith-Rowland <3dw4rd@verizon.net>emsr2014-02-217-0/+7
| | | | | | | | | | | Rename testsuite directory shared_mutex to shared_timed_mutex for consistency. * testsuite/30_threads/shared_mutex: Moved to... * testsuite/30_threads/shared_timed_mutex: ...here git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207997 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-20 Ed Smith-Rowland <3dw4rd@verizon.net>emsr2014-02-2022-27/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename shared_mutex to shared_timed_mutex per C++14 acceptance of N3891. * include/std/shared_mutex: Rename shared_mutex to shared_timed_mutex. * testsuite/30_threads/shared_lock/locking/2.cc: Ditto. * testsuite/30_threads/shared_lock/locking/4.cc: Ditto. * testsuite/30_threads/shared_lock/locking/1.cc: Ditto. * testsuite/30_threads/shared_lock/locking/3.cc: Ditto. * testsuite/30_threads/shared_lock/requirements/ explicit_instantiation.cc: Ditto. * testsuite/30_threads/shared_lock/requirements/typedefs.cc: Ditto. * testsuite/30_threads/shared_lock/cons/2.cc: Ditto. * testsuite/30_threads/shared_lock/cons/4.cc: Ditto. * testsuite/30_threads/shared_lock/cons/1.cc: Ditto. * testsuite/30_threads/shared_lock/cons/6.cc: Ditto. * testsuite/30_threads/shared_lock/cons/3.cc: Ditto. * testsuite/30_threads/shared_lock/cons/5.cc: Ditto. * testsuite/30_threads/shared_lock/modifiers/2.cc: Ditto. * testsuite/30_threads/shared_lock/modifiers/1.cc: Ditto. * testsuite/30_threads/shared_mutex/requirements/ standard_layout.cc: Ditto. * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: Ditto. * testsuite/30_threads/shared_mutex/cons/1.cc: Ditto. * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: Ditto. * testsuite/30_threads/shared_mutex/try_lock/2.cc: Ditto. * testsuite/30_threads/shared_mutex/try_lock/1.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207964 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't xfail 22_locale/num_put/put/char/14220.cc etc. on Solaris 9/x86ro2014-02-103-12/+6
| | | | | | | | * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail execution on i?86-*-solaris2.9, remove comment. * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207660 138bc75d-0d04-0410-961f-82ee72b054a4
* libstdc++-v3/rsandifo2014-02-094-0/+4397
| | | | | | | | | * config/abi/post/mips64-linux-gnu/32/baseline_symbols.txt: New file. * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: Update. * config/abi/post/mips64-linux-gnu/64/baseline_symbols.txt: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207643 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/57899jason2014-01-311-0/+48
| | | | | | | | * cp-tree.h (struct saved_scope): Add x_local_specializations. (local_specializations): New macro. * pt.c (local_specializations): Remove variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207332 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/57226redi2014-01-2953-405/+555
| | | | | | | | | * doc/xml/manual/debug.xml (debug.gdb): Update documentation for installation and use of python printers. * doc/xml/manual/status_cxx2011.xml: Update. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207288 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/21609redi2014-01-292-3/+8
| | | | | | * include/ext/array_allocator.h: Add deprecated attribute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207280 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix ChangeLog date of my previous commit.redi2014-01-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207249 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/59829redi2014-01-297-6/+104
| | | | | | | | | | | | | | | | | * include/bits/stl_vector.h (vector::data()): Call _M_data_ptr. (vector::_M_data_ptr): New overloaded functions to ensure empty vectors do not dereference the pointer. * testsuite/23_containers/vector/59829.cc: New. * 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/trunk@207241 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/alloc_traits.h (allocator_traits::_S_allocate): Doredi2014-01-299-144/+386
| | | | | | | | | | | | | | | | | | | | | | | | | | | not use varargs when argument could be non-POD. (__alloctr_rebind_helper): Eliminate static const bool member by using true_type and false_type. (allocator_traits::__allocate_helper): Likewise. (allocator_traits::__construct_helper): Likewise. (allocator_traits::__destroy_helper): Likewise. (allocator_traits::__maxsize_helper): Likewise. (allocator_traits::__select_helper): Likewise. * include/bits/ptr_traits.h (__ptrtr_rebind_helper): Likewise. * include/bits/stl_tree.h (_Rb_tree::operator=(const _Rb_tree&)): Remove redundant condition. * include/bits/stl_vector.h (vector::operator=(const vector&)): Likewise. (_Vector_impl::_M_allocate, _Vector_impl::_M_deallocate): Use indirection through __alloc_traits. * include/ext/alloc_traits.h (__allocator_always_compares_equal): Eliminate static const bool members by using true_type and false_type. (__gnu_cxx::__alloc_traits::__is_custom_pointer): Optimize. * testsuite/util/testsuite_allocator.h (PointerBase): Define. * testsuite/20_util/allocator_traits/members/allocate_hint_nonpod.cc: New. * testsuite/20_util/allocator_traits/requirements/typedefs2.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207240 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-01-28 Jonathan Wakely <jwakely@redhat.com>redi2014-01-285-47/+103
| | | | | | | | | | | | | | | | | | | | Kyle Lippincott <spectral@google.com> PR libstdc++/59656 * include/bits/shared_ptr.h (shared_ptr): Add new non-throwing constructor and grant friendship to weak_ptr. (weak_ptr::lock()): Use new constructor. * include/bits/shared_ptr_base.h (_Sp_counted_base::_M_add_ref_lock_nothrow()): Declare new function and define specializations. (__shared_count): Add new non-throwing constructor. (__shared_ptr): Add new non-throwing constructor and grant friendship to __weak_ptr. (__weak_ptr::lock()): Use new constructor. * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error. * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207180 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/59215redi2014-01-272-1/+8
| | | | | | | | * include/bits/shared_ptr_base.h (_Sp_counted_base<_S_atomic>::_M_add_ref_lock()): Use relaxed atomic load. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207147 138bc75d-0d04-0410-961f-82ee72b054a4
* Core DR 475jason2014-01-273-12/+12
| | | | | | | | | | PR c++/41174 PR c++/59224 * libsupc++/eh_throw.cc (__cxa_throw): Set uncaughtExceptions. * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception) (__cxa_allocate_exception): Don't set it here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207129 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCXX_ENABLE_C99): Fix typo.redi2014-01-263-2/+5
| | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207116 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/stl_map.h: Remove anachronistic comment.redi2014-01-268-7/+19
| | | | | | | | | | | | * include/bits/stl_multimap.h: Add whitespace. * testsuite/23_containers/map/modifiers/emplace/1.cc: Use -std=gnu++11 instead of -std=c++11. * testsuite/23_containers/map/operators/2.cc: Likewise. * testsuite/23_containers/multimap/modifiers/emplace/1.cc: Likewise. * testsuite/23_containers/multiset/modifiers/emplace/1.cc: Likewise. * testsuite/23_containers/set/modifiers/emplace/1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207115 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>emsr2014-01-248-21/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/59531 * testsuite/experimental/string_view/operations/copy/char/1.cc: New. * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc: New. 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net> Peter A. Bigot <pab@pabigot.com> PR libstdc++/59531 * include/experimental/string_view (copy(_CharT*, size_type, size_type) const): Correct throw string. Correct copy start location. 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net> Peter A. Bigot <pab@pabigot.com> PR libstdc++/59530 * include/experimental/string_view (operator[](size_type) const): Fix one-off index error in debug check. * testsuite/experimental/string_view/element_access/char/1.cc: Don't test basic_string_view at size(). * testsuite/experimental/string_view/element_access/wchar_t/1.cc: Ditto. 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net> Peter A. Bigot <pab@pabigot.com> PR libstdc++/59529 * include/experimental/string_view (basic_string_view(const _CharT*, size_type)): Don't care if len == 0. * testsuite/experimental/string_view/operations/substr/char/1.cc: Comment out catch of out_of_range; No terminating null in basic_string_view. Check begin == end. * testsuite/experimental/string_view/operations/substr/wchar_t/1.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207060 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/59548redi2014-01-244-1/+58
| | | | | | | | | | | * include/debug/safe_base.h (_Safe_sequence_base): Define copy constructor to prevent it being implicitly defined as deleted, but do not copy anything. * include/debug/safe_unordered_base.h (_Safe_unordered_container_base): Define copy and move constructors similar to _Safe_sequence_base's. * testsuite/23_containers/unordered_map/59548.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207059 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-01-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>sje2014-01-236-0/+119
| | | | | | | | | | | | | Steve Ellcey <sellcey@mips.com> * acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam function. * configure.ac: Use GLIBCXX_CHECK_TMPNAM. * (configure, config.h.in): Regenerate. * include/c_global/cstdio: Guard ::tmpnam with _GLIBCXX_USE_TMPNAM git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207009 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud