2014-01-26 12:22:58 +01:00
|
|
|
|
2014-01-26 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_map.h: Remove anachronistic comment.
|
|
|
|
|
* 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.
|
|
|
|
|
|
2014-01-24 21:15:00 +01:00
|
|
|
|
2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2014-01-24 21:08:20 +01:00
|
|
|
|
2014-01-24 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/59548
|
|
|
|
|
* 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.
|
|
|
|
|
|
2014-01-23 22:17:15 +01:00
|
|
|
|
2014-01-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
|
|
|
|
|
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
|
|
|
|
|
|
2014-01-23 13:29:40 +01:00
|
|
|
|
2014-01-23 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/xml/faq.xml (a-how_to_set_paths): Expand FAQ answer.
|
|
|
|
|
* doc/xml/manual/abi.xml (abi.versioning.history): Correct symver.
|
|
|
|
|
|
2014-01-23 18:17:04 +01:00
|
|
|
|
PR libstdc++/59872
|
|
|
|
|
* include/bits/stl_map.h (map::operator=(map&&)): Fix comment.
|
|
|
|
|
* include/bits/stl_multimap.h (multimap::operator=(multimap&&)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/bits/stl_multiset.h (multiset::operator=(multiset&&)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/bits/stl_set.h (set::operator=(set&&)): Likewise.
|
|
|
|
|
* include/bits/stl_tree.h (_Rb_tree::_M_move_data): New overloaded
|
|
|
|
|
functions to perform moving or copying of elements from rvalue tree.
|
|
|
|
|
(_Rb_tree::_Rb_tree(_Rb_tree&&)): Use _M_move_data.
|
|
|
|
|
(_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_allocator&&)): Likewise.
|
|
|
|
|
* testsuite/23_containers/map/59872.cc: New.
|
|
|
|
|
* testsuite/23_containers/map/56613.cc: Remove duplicate include.
|
|
|
|
|
|
2014-01-22 15:34:39 +01:00
|
|
|
|
2014-01-22 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_deque.h (_Deque_impl): Move comment.
|
|
|
|
|
|
2014-01-22 20:46:44 +01:00
|
|
|
|
PR libstdc++/58764
|
|
|
|
|
* include/bits/stl_deque.h (deque::deque(const allocator_type&):
|
|
|
|
|
Split into separate default constructor and constructor taking
|
|
|
|
|
allocator.
|
|
|
|
|
* include/bits/stl_list.h (list::list(const allocator_type&): Likewise.
|
|
|
|
|
* include/bits/stl_vector.h (vector::vector(const allocator_type&):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/debug/deque (deque::deque(const allocator_type&)): Likewise.
|
|
|
|
|
* include/debug/list (list::list(const _Allocator&)): Likewise.
|
|
|
|
|
* include/debug/map.h (map::map(const _Compare&, const _Allocator&)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/debug/multimap.h
|
|
|
|
|
(multimap::multimap(const _Compare&, const _Allocator&)): Likewise.
|
|
|
|
|
* include/debug/set.h (set::set(const _Compare&, const _Allocator&)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/debug/multiset.h
|
|
|
|
|
(multiset::multiset(const _Compare&, const _Allocator&)): Likewise.
|
|
|
|
|
* include/debug/vector (vector::vector(const allocator_type&)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/profile/deque (deque::deque(const _Allocator&)): Likewise.
|
|
|
|
|
* include/profile/list (list::list(const _Allocator&)): Likewise.
|
|
|
|
|
* include/profile/map.h
|
|
|
|
|
(map::map(const _Compare&, const _Allocator&)): Likewise.
|
|
|
|
|
* include/profile/multimap.h
|
|
|
|
|
(multimap::multimap(const _Compare&, const _Allocator&)): Likewise.
|
|
|
|
|
* include/profile/set.h
|
|
|
|
|
(set::set(const _Compare&, const _Allocator&)): Likewise.
|
|
|
|
|
* include/profile/multiset.h
|
|
|
|
|
(multiset::multiset(const _Compare&, const _Allocator&)): Likewise.
|
|
|
|
|
* include/profile/vector (vector::vector(const _Allocator&)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/deque/58764.cc: New.
|
|
|
|
|
* testsuite/23_containers/list/58764.cc: New.
|
|
|
|
|
* testsuite/23_containers/map/58764.cc: New.
|
|
|
|
|
* testsuite/23_containers/multimap/58764.cc: New.
|
|
|
|
|
* testsuite/23_containers/set/58764.cc: New.
|
|
|
|
|
* testsuite/23_containers/multiset/58764.cc: New.
|
|
|
|
|
* testsuite/23_containers/vector/58764.cc: New.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Adjust dg-error line number.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/
|
|
|
|
|
constructor_1_neg.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/
|
|
|
|
|
constructor_2_neg.cc: Likewise.
|
|
|
|
|
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438/
|
2014-01-23 00:50:58 +01:00
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
PR libstdc++/58764 (again)
|
|
|
|
|
* include/bits/stl_list.h (list): Make default constructor's exception
|
|
|
|
|
specification conditional.
|
|
|
|
|
* include/bits/stl_vector.h (vector): Likewise.
|
|
|
|
|
* testsuite/util/testsuite_allocator.h (SimpleAllocator): Add noexcept
|
|
|
|
|
to default constructor.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Adjust dg-error line number.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/requirements/dr438/
|
2014-01-22 20:46:44 +01:00
|
|
|
|
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.
|
|
|
|
|
|
2014-01-21 20:54:03 +01:00
|
|
|
|
2014-01-21 Tim Shen <timshen91@gmail.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/regex.tcc: Remove incorrect `nosubs` handling.
|
|
|
|
|
* include/bits/regex_scanner.tcc: Handle `nosubs` correctly.
|
|
|
|
|
* testsuite/28_regex/constants/syntax_option_type.cc: Add a test case.
|
|
|
|
|
|
2014-01-21 20:38:35 +01:00
|
|
|
|
2014-01-21 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/56267
|
|
|
|
|
* include/bits/hashtable.h (__cache_default): Do not depend on
|
|
|
|
|
whether the hash function is DefaultConstructible or CopyAssignable.
|
|
|
|
|
(_Hashtable): Adjust static assertions.
|
|
|
|
|
* doc/xml/manual/containers.xml (containers.unordered.cache): Update.
|
|
|
|
|
* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
|
|
|
|
|
dg-error line number.
|
|
|
|
|
* testsuite/23_containers/unordered_set/
|
|
|
|
|
not_default_constructible_hash_neg.cc: Remove.
|
|
|
|
|
|
2014-01-20 22:15:13 +01:00
|
|
|
|
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.
|
|
|
|
|
* include/experimental/string_view
|
|
|
|
|
(basic_string_view<>::operator[]): Comment _GLIBCXX_DEBUG_ASSERT,
|
|
|
|
|
incompatible with constexpr qualifier.
|
|
|
|
|
(basic_string_view<>::front()): Likewise.
|
|
|
|
|
(basic_string_view<>::back()): Likewise.
|
|
|
|
|
* testsuite/experimental/string_view/element_access/wchar_t/2.cc:
|
|
|
|
|
Merge dg-options directives into one.
|
|
|
|
|
* testsuite/experimental/string_view/element_access/char/2.cc:
|
|
|
|
|
Likewise. Remove invalid experimental namespace scope on
|
|
|
|
|
string_view_type.
|
|
|
|
|
|
2014-01-20 16:49:39 +01:00
|
|
|
|
2014-01-20 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/56267
|
|
|
|
|
* include/bits/hashtable_policy.h (_Hash_code_base<... false>): Grant
|
|
|
|
|
friendship to _Local_iterator_base<..., false>.
|
|
|
|
|
(_Local_iterator_base): Give protected access to all existing members.
|
|
|
|
|
(_Local_iterator_base::_M_curr()): New public accessor.
|
|
|
|
|
(_Local_iterator_base::_M_get_bucket()): New public accessor.
|
|
|
|
|
(_Local_iterator_base<..., false>::_M_init()): New function to manage
|
|
|
|
|
the lifetime of the _Hash_code_base explicitly.
|
|
|
|
|
(_Local_iterator_base<..., false>::_M_destroy()): Likewise.
|
|
|
|
|
(_Local_iterator_base<..., false>): Define copy constructor and copy
|
|
|
|
|
assignment operator that use new functions to manage _Hash_code_base.
|
|
|
|
|
(operator==(const _Local_iterator_base&, const _Local_iterator_base&),
|
|
|
|
|
operator==(const _Local_iterator_base&, const _Local_iterator_base&)):
|
|
|
|
|
Use public API for _Local_iterator_base.
|
|
|
|
|
* include/debug/safe_local_iterator.h (_Safe_local_iterator): Likewise.
|
|
|
|
|
* include/debug/unordered_map (__debug::unordered_map::erase(),
|
|
|
|
|
__debug::unordered_multimap::erase()): Likewise.
|
|
|
|
|
* include/debug/unordered_set (__debug::unordered_set::erase(),
|
|
|
|
|
__debug::unordered_multiset::erase()): Likewise.
|
|
|
|
|
* testsuite/23_containers/unordered_set/56267-2.cc: New test.
|
|
|
|
|
|
2014-01-19 22:59:20 +01:00
|
|
|
|
2014-01-19 Tim Shen <timshen91@gmail.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/regex_compiler.h (_Comipler<>::_M_quantifier()):
|
|
|
|
|
Fix parse error of multiple consecutive quantifiers like "a**".
|
|
|
|
|
* include/bits/regex_compiler.tcc (_Comipler<>::_M_quantifier()):
|
|
|
|
|
Likewise.
|
|
|
|
|
* testsuite/28_regex/basic_regex/multiple_quantifiers.cc: New.
|
|
|
|
|
|
2014-01-17 22:10:15 +01:00
|
|
|
|
2014-01-17 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/profile/set.h (set): Implement C++11 allocator-aware
|
|
|
|
|
container requirements.
|
|
|
|
|
* include/profile/map.h (map): Likewise.
|
|
|
|
|
* include/profile/multiset.h (multiset): Likewise.
|
|
|
|
|
* include/profile/multimap.h (multimap): Likewise.
|
|
|
|
|
* include/profile/set.h
|
|
|
|
|
(set::operator=(const set&)): Define as default in C++11 mode.
|
|
|
|
|
(set::operator=(set&&)): Likewise.
|
|
|
|
|
* include/profile/map.h
|
|
|
|
|
(map::operator=(const map&)): Likewise.
|
|
|
|
|
(map::operator=(map&&)): Likewise.
|
|
|
|
|
* include/profile/multiset.h
|
|
|
|
|
(multiset::operator=(const multiset&)): Likewise.
|
|
|
|
|
(multiset::operator=(multiset&&)): Likewise.
|
|
|
|
|
* include/profile/multimap.h
|
|
|
|
|
(multimap::operator=(const multimap&)): Likewise.
|
|
|
|
|
(multimap::operator=(multimap&&)): Likewise.
|
|
|
|
|
* include/profile/set.h (set::operator=(std::initializer_list<>)):
|
|
|
|
|
Rely on the same operator from normal mode.
|
|
|
|
|
* include/profile/map.h (map::operator=(std::initializer_list<>)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/profile/multiset.h
|
|
|
|
|
(multiset::operator=(std::initializer_list<>)): Likewise.
|
|
|
|
|
* include/profile/multimap.h
|
|
|
|
|
(multimap::operator=(std::initializer_list<>)): Likewise.
|
|
|
|
|
* include/profile/set.h (set::swap(set&)): Add noexcept
|
|
|
|
|
specification.
|
|
|
|
|
* include/profile/map.h (map::swap(map&)): Likewise.
|
|
|
|
|
* include/profile/multiset.h (multiset::swap(multiset&)): Likewise.
|
|
|
|
|
* include/profile/multimap.h (multimap::swap(multimap&)): Likewise.
|
|
|
|
|
|
regex_automaton.tcc (_StateSeq<>::_M_clone()): Do not use std::map.
2014-01-17 Tim Shen <timshen91@gmail.com>
* include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()): Do not
use std::map.
* include/bits/regex_automaton.h: Do not use std::set.
* include/bits/regex_compiler.h (_BracketMatcher<>::_M_add_char(),
_BracketMatcher<>::_M_add_collating_element(),
_BracketMatcher<>::_M_add_equivalence_class(),
_BracketMatcher<>::_M_make_range()): Likewise.
* include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply()):
Likewise.
* include/bits/regex_executor.h: Do not use std::queue.
* include/bits/regex_executor.tcc (_Executor<>::_M_main(),
_Executor<>::_M_dfs()): Likewise.
* include/std/regex: Remove <map>, <set> and <queue>.
2014-01-17 Tim Shen <timshen91@gmail.com>
* include/bits/regex.h (__compile_nfa<>(), basic_regex<>::basic_regex(),
basic_regex<>::assign()): Change __compile_nfa to accept
const _CharT* only.
* include/bits/regex_compiler.h: Change _Compiler's template
argument from <_FwdIter, _TraitsT> to <_TraitsT>.
* include/bits/regex_compiler.tcc: Likewise.
2014-01-17 Tim Shen <timshen91@gmail.com>
* include/bits/regex_compiler.h: Change _ScannerT into char-type
templated.
* include/bits/regex_scanner.h (_Scanner<>::_Scanner()): Separate
_ScannerBase from _Scanner; Change _Scanner's template argument from
_FwdIter to _CharT. Avoid use of std::map and std::set by using arrays
instead.
* include/bits/regex_scanner.tcc (_Scanner<>::_Scanner(),
_Scanner<>::_M_scan_normal(), _Scanner<>::_M_eat_escape_ecma(),
_Scanner<>::_M_eat_escape_posix(), _Scanner<>::_M_eat_escape_awk()):
Likewise.
* include/std/regex: Add <cstring> for using strchr.
2014-01-17 Tim Shen <timshen91@gmail.com>
* bits/regex_automaton.tcc: Indentation fix.
* bits/regex_compiler.h (__compile_nfa<>(), _Compiler<>,
_RegexTranslator<> _AnyMatcher<>, _CharMatcher<>,
_BracketMatcher<>): Add bool option template parameters and
specializations to make matching more efficient and space saving.
* bits/regex_compiler.tcc: Likewise.
From-SVN: r206690
2014-01-17 00:35:21 +01:00
|
|
|
|
2014-01-17 Tim Shen <timshen91@gmail.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()): Do not
|
|
|
|
|
use std::map.
|
|
|
|
|
* include/bits/regex_automaton.h: Do not use std::set.
|
|
|
|
|
* include/bits/regex_compiler.h (_BracketMatcher<>::_M_add_char(),
|
|
|
|
|
_BracketMatcher<>::_M_add_collating_element(),
|
|
|
|
|
_BracketMatcher<>::_M_add_equivalence_class(),
|
|
|
|
|
_BracketMatcher<>::_M_make_range()): Likewise.
|
|
|
|
|
* include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply()):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/bits/regex_executor.h: Do not use std::queue.
|
|
|
|
|
* include/bits/regex_executor.tcc (_Executor<>::_M_main(),
|
|
|
|
|
_Executor<>::_M_dfs()): Likewise.
|
|
|
|
|
* include/std/regex: Remove <map>, <set> and <queue>.
|
|
|
|
|
|
|
|
|
|
2014-01-17 Tim Shen <timshen91@gmail.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/regex.h (__compile_nfa<>(), basic_regex<>::basic_regex(),
|
|
|
|
|
basic_regex<>::assign()): Change __compile_nfa to accept
|
|
|
|
|
const _CharT* only.
|
|
|
|
|
* include/bits/regex_compiler.h: Change _Compiler's template
|
|
|
|
|
argument from <_FwdIter, _TraitsT> to <_TraitsT>.
|
|
|
|
|
* include/bits/regex_compiler.tcc: Likewise.
|
|
|
|
|
|
|
|
|
|
2014-01-17 Tim Shen <timshen91@gmail.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/regex_compiler.h: Change _ScannerT into char-type
|
|
|
|
|
templated.
|
|
|
|
|
* include/bits/regex_scanner.h (_Scanner<>::_Scanner()): Separate
|
|
|
|
|
_ScannerBase from _Scanner; Change _Scanner's template argument from
|
|
|
|
|
_FwdIter to _CharT. Avoid use of std::map and std::set by using arrays
|
|
|
|
|
instead.
|
|
|
|
|
* include/bits/regex_scanner.tcc (_Scanner<>::_Scanner(),
|
|
|
|
|
_Scanner<>::_M_scan_normal(), _Scanner<>::_M_eat_escape_ecma(),
|
|
|
|
|
_Scanner<>::_M_eat_escape_posix(), _Scanner<>::_M_eat_escape_awk()):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/std/regex: Add <cstring> for using strchr.
|
|
|
|
|
|
|
|
|
|
2014-01-17 Tim Shen <timshen91@gmail.com>
|
|
|
|
|
|
|
|
|
|
* bits/regex_automaton.tcc: Indentation fix.
|
|
|
|
|
* bits/regex_compiler.h (__compile_nfa<>(), _Compiler<>,
|
|
|
|
|
_RegexTranslator<> _AnyMatcher<>, _CharMatcher<>,
|
|
|
|
|
_BracketMatcher<>): Add bool option template parameters and
|
|
|
|
|
specializations to make matching more efficient and space saving.
|
|
|
|
|
* bits/regex_compiler.tcc: Likewise.
|
|
|
|
|
|
2014-01-15 17:53:02 +01:00
|
|
|
|
2014-01-15 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
2014-01-15 17:55:34 +01:00
|
|
|
|
PR libstdc++/59712
|
2014-01-15 17:53:02 +01:00
|
|
|
|
* include/bits/hashtable_policy.h: Fix some long lines.
|
|
|
|
|
* include/bits/hashtable.h (__hash_code_base_access): Define and
|
|
|
|
|
use it to check its _M_bucket_index noexcept qualification. Use
|
|
|
|
|
also in place of...
|
|
|
|
|
(__access_protected_ctor): ...this.
|
|
|
|
|
* testsuite/23_containers/unordered_set/instantiation_neg.cc:
|
|
|
|
|
Adapt line number.
|
|
|
|
|
* testsuite/23_containers/unordered_set/
|
|
|
|
|
not_default_constructible_hash_neg.cc: Likewise.
|
|
|
|
|
|
2014-01-13 21:07:22 +01:00
|
|
|
|
2014-01-13 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/debug/set.h (set): Implement C++11 allocator-aware
|
|
|
|
|
container requirements.
|
|
|
|
|
* include/debug/map.h (map): Likewise.
|
|
|
|
|
* include/debug/multiset.h (multiset): Likewise.
|
|
|
|
|
* include/debug/multimap.h (multimap): Likewise.
|
|
|
|
|
* include/debug/set.h (set::operator=(set&&)): Add noexcept and
|
|
|
|
|
fix implementation regarding management of safe iterators.
|
|
|
|
|
* include/debug/map.h (map::operator=(map&&)): Likewise.
|
|
|
|
|
* include/debug/multiset.h (multiset::operator=(multiset&&)): Likewise.
|
|
|
|
|
* include/debug/multimap.h (multimap::operator=(multimap&&)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/debug/set.h (set::operator=(std::initializer_list<>)):
|
|
|
|
|
Rely on the same operator from normal mode.
|
|
|
|
|
* include/debug/map.h (map::operator=(std::initializer_list<>)):
|
|
|
|
|
Likewise.
|
|
|
|
|
* include/debug/multiset.h
|
|
|
|
|
(multiset::operator=(std::initializer_list<>)): Likewise.
|
|
|
|
|
* include/debug/multimap.h
|
|
|
|
|
(multimap::operator=(std::initializer_list<>)): Likewise.
|
|
|
|
|
* include/debug/set.h (set::swap(set&)): Add noexcept
|
|
|
|
|
specification, add allocator equality check.
|
|
|
|
|
* include/debug/map.h (map::swap(map&)): Likewise.
|
|
|
|
|
* include/debug/multiset.h (multiset::swap(multiset&)): Likewise.
|
|
|
|
|
* include/debug/multimap.h (multimap::swap(multimap&)): Likewise.
|
|
|
|
|
|
2014-01-10 15:30:21 +01:00
|
|
|
|
2014-01-10 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/59698
|
|
|
|
|
* doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup
|
|
|
|
|
and stylistic improvements.
|
|
|
|
|
* doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise
|
|
|
|
|
and update for C++11.
|
|
|
|
|
* doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise.
|
|
|
|
|
|
2014-01-10 15:30:27 +01:00
|
|
|
|
PR libstdc++/59687
|
|
|
|
|
* doc/xml/manual/backwards_compatibility.xml
|
|
|
|
|
(backwards.third.nocreate_noreplace): Correct and expand.
|
|
|
|
|
|
2014-01-10 15:30:32 +01:00
|
|
|
|
PR libstdc++/59699
|
|
|
|
|
* doc/xml/manual/support.xml (std.support.types.null): Update links.
|
|
|
|
|
|
2014-01-09 19:38:52 +01:00
|
|
|
|
2014-01-09 Jonathan Wakely <jwakely@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR libstdc++/59738
|
|
|
|
|
* include/bits/stl_vector.h (vector<>::_M_move_assign): Restore
|
|
|
|
|
support for non-Movable types.
|
|
|
|
|
|
2014-01-10 00:39:31 +01:00
|
|
|
|
PR libstdc++/59680
|
|
|
|
|
* src/c++11/thread.cc (__sleep_for): Fix call to ::sleep.
|
|
|
|
|
|
2014-01-08 21:57:57 +01:00
|
|
|
|
2014-01-08 François Dumont <fdumont@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
|
|
|
|
|
*this allocator instance when building temporary vector instance
|
|
|
|
|
so that *this allocator does not get moved.
|
|
|
|
|
* include/debug/safe_base.h
|
|
|
|
|
(_Safe_sequence_base(_Safe_sequence_base&&)): New.
|
|
|
|
|
* include/debug/vector (__gnu_debug::vector<>(vector&&)): Use new
|
|
|
|
|
move constructor from _Safe_sequence_base.
|
|
|
|
|
(__gnu_debug::vector<>(vector&&, const allocator_type&)): Swap
|
|
|
|
|
safe iterators if the instance is moved.
|
|
|
|
|
(__gnu_debug::vector<>::operator=(vector&&)): Likewise.
|
|
|
|
|
* testsuite/23_containers/vector/allocator/move.cc (test01): Add
|
|
|
|
|
check on a vector iterator.
|
|
|
|
|
* testsuite/23_containers/vector/allocator/move_assign.cc
|
|
|
|
|
(test02): Likewise.
|
|
|
|
|
(test03): New, test with a non-propagating allocator.
|
|
|
|
|
* testsuite/23_containers/vector/debug/move_assign_neg.cc: New.
|
|
|
|
|
|
regex_compiler.h (_AnyMatcher<>::_AnyMatcher(), [...]): Fix _AnyMatcher behavior of POSIX style and move _M_flags to template parameter...
2014-01-07 Tim Shen <timshen91@gmail.com>
* include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(),
_AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(),
_CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(),
_BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(),
_BracketMatcher<>::_M_add_char(),
_BracketMatcher<>::_M_add_collating_element(),
_BracketMatcher<>::_M_add_equivalence_class(),
_BracketMatcher<>::_M_add_character_class(),
_BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(),
_BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()):
Fix _AnyMatcher behavior of POSIX style and move _M_flags
to template parameter; Add cache for _BracketMatcher. Adjust
declarations from here...
* include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also,
imbuing a regex will trigger a recompilation to rebuild the cache.
* include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(),
_Compiler<>::_M_bracket_expression()): Adjust matchers' caller for
different template bool parameters.
* include/bits/regex_executor.h: Remove unnecessary declarations.
* include/std/regex: Adjust including orders.
* testsuite/28_regex/traits/char/user_defined.cc: New.
* testsuite/28_regex/traits/wchar_t/user_defined.cc: New.
From-SVN: r206400
2014-01-07 20:17:50 +01:00
|
|
|
|
2014-01-07 Tim Shen <timshen91@gmail.com>
|
|
|
|
|
|
|
|
|
|
* include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(),
|
|
|
|
|
_AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(),
|
|
|
|
|
_CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(),
|
|
|
|
|
_BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(),
|
|
|
|
|
_BracketMatcher<>::_M_add_char(),
|
|
|
|
|
_BracketMatcher<>::_M_add_collating_element(),
|
|
|
|
|
_BracketMatcher<>::_M_add_equivalence_class(),
|
|
|
|
|
_BracketMatcher<>::_M_add_character_class(),
|
|
|
|
|
_BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(),
|
|
|
|
|
_BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()):
|
|
|
|
|
Fix _AnyMatcher behavior of POSIX style and move _M_flags
|
|
|
|
|
to template parameter; Add cache for _BracketMatcher. Adjust
|
|
|
|
|
declarations from here...
|
|
|
|
|
* include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also,
|
|
|
|
|
imbuing a regex will trigger a recompilation to rebuild the cache.
|
|
|
|
|
* include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(),
|
|
|
|
|
_Compiler<>::_M_bracket_expression()): Adjust matchers' caller for
|
|
|
|
|
different template bool parameters.
|
|
|
|
|
* include/bits/regex_executor.h: Remove unnecessary declarations.
|
|
|
|
|
* include/std/regex: Adjust including orders.
|
|
|
|
|
* testsuite/28_regex/traits/char/user_defined.cc: New.
|
|
|
|
|
* testsuite/28_regex/traits/wchar_t/user_defined.cc: New.
|
|
|
|
|
|
2014-01-07 13:46:53 +01:00
|
|
|
|
2014-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
|
|
|
|
|
* config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
|
|
|
|
|
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
|
|
|
|
|
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
|
|
|
|
|
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
|
|
|
|
|
|
2014-01-02 23:30:10 +01:00
|
|
|
|
2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years
|
|
|
|
|
|
arc-common.c, [...]: Use the standard form for the copyright notice.
gcc/
* common/config/arc/arc-common.c, config/arc/arc-modes.def,
config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
config/arc/arc.md, config/arc/arc.opt, config/arm/arm_neon_builtins.def,
config/arm/crypto.def, config/i386/avx512cdintrin.h,
config/i386/avx512erintrin.h, config/i386/avx512fintrin.h,
config/i386/avx512pfintrin.h, config/i386/btver2.md,
config/i386/shaintrin.h, config/i386/slm.md, config/linux-protos.h,
config/linux.c, config/winnt-c.c, diagnostic-color.c,
diagnostic-color.h, gimple-ssa-isolate-paths.c, vtable-verify.c,
vtable-verify.h: Use the standard form for the copyright notice.
gcc/c-family/
* array-notation-common.c, c-cilkplus.c: Use the standard form for
the copyright notice.
gcc/c/
* c-array-notation.c: Use the standard form for the copyright notice.
gcc/cp/
* cp-array-notation.c, cp-cilkplus.c, vtable-class-hierarchy.c: Use
the standard form for the copyright notice.
gcc/testsuite/
* gcc.target/arc/arc.exp: Use the standard form for the copyright
notice.
libgcc/
* config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
config/arc/dp-hack.h, config/arc/fp-hack.h,
config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
config/arc/ieee-754/arc600-dsp/divdf3.S,
config/arc/ieee-754/arc600-dsp/divsf3.S,
config/arc/ieee-754/arc600-dsp/muldf3.S,
config/arc/ieee-754/arc600-dsp/mulsf3.S,
config/arc/ieee-754/arc600-mul64/divdf3.S,
config/arc/ieee-754/arc600-mul64/divsf3.S,
config/arc/ieee-754/arc600-mul64/muldf3.S,
config/arc/ieee-754/arc600-mul64/mulsf3.S,
config/arc/ieee-754/arc600/divsf3.S,
config/arc/ieee-754/arc600/mulsf3.S,
config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
vtv_start_preinit.c: Use the standard form for the copyright notice.
libgomp/
* hashtab.h: Use the standard form for the copyright notice.
libstdc++-v3/
* testsuite/18_support/new_handler.cc,
testsuite/18_support/terminate_handler.cc,
testsuite/18_support/unexpected_handler.cc: Use the standard form for
the copyright notice.
From-SVN: r206288
2014-01-02 23:09:02 +01:00
|
|
|
|
2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/18_support/new_handler.cc,
|
|
|
|
|
testsuite/18_support/terminate_handler.cc,
|
|
|
|
|
testsuite/18_support/unexpected_handler.cc: Use the standard form for
|
|
|
|
|
the copyright notice.
|
2013-01-03 10:47:48 +01:00
|
|
|
|
|
2014-01-09 21:08:22 +01:00
|
|
|
|
Copyright (C) 2014 Free Software Foundation, Inc.
|
2012-12-21 11:12:48 +01:00
|
|
|
|
|
2013-01-03 10:47:48 +01:00
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|