gcc/libstdc++-v3/include/bits
Marc Glisse c261ba2c8b Tweak vector::_M_realloc_insert for code size
2017-11-17  Marc Glisse  <marc.glisse@inria.fr>

	* include/bits/vector.tcc (vector::_M_realloc_insert): Cache old
	values before the allocation.

From-SVN: r254849
2017-11-16 23:51:20 +00:00
..
algorithmfwd.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
alloc_traits.h Add C++17 deduction guide for std::basic_string (P0433R2, partial) 2017-06-07 13:35:08 +01:00
allocated_ptr.h Define std::__to_address helper 2017-09-13 08:27:40 +01:00
allocator.h Update copyright years. 2017-01-01 13:07:43 +01:00
atomic_base.h Adjust whitespace in <bits/atomic_base.h> 2017-02-11 21:08:06 +00:00
atomic_futex.h Update copyright years. 2017-01-01 13:07:43 +01:00
basic_ios.h PR libstdc++/53984 handle exceptions in basic_istream::sentry 2017-07-25 21:36:06 +01:00
basic_ios.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
basic_string.h PR libstdc++/79162 Fix std::string regression due to LWG 2946 (old ABI) 2017-09-20 23:03:37 +01:00
basic_string.tcc PR libstdc++/79254 simplify exception-safety in copy assignment 2017-02-01 11:41:48 +00:00
boost_concept_check.h Update copyright years. 2017-01-01 13:07:43 +01:00
c++0x_warning.h Update copyright years. 2017-01-01 13:07:43 +01:00
c++config Deprecate nested types in std::hash 2017-09-20 17:34:42 +01:00
char_traits.h Finish implementing P0426R1 "Constexpr for std::char_traits" for C++17 2017-06-12 22:22:39 +00:00
codecvt.h Update copyright years. 2017-01-01 13:07:43 +01:00
concept_check.h Update copyright years. 2017-01-01 13:07:43 +01:00
cpp_type_traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
deque.tcc re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
enable_special_members.h Update copyright years. 2017-01-01 13:07:43 +01:00
forward_list.h Define std::__to_address helper 2017-09-13 08:27:40 +01:00
forward_list.tcc re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
fs_dir.h Remove noexcept from filesystem iterators and operations (LWG 3013, 3014) 2017-10-27 18:49:29 +01:00
fs_fwd.h Implement C++17 Filesystem library 2017-10-23 13:11:22 +01:00
fs_ops.h Remove noexcept from filesystem iterators and operations (LWG 3013, 3014) 2017-10-27 18:49:29 +01:00
fs_path.h Define std::filesystem::path::format enum (P0430R2) 2017-10-27 13:01:49 +01:00
fstream.tcc Fix indentation in std::basic_filebuf member functions 2017-07-19 16:46:04 +01:00
functexcept.h Update copyright years. 2017-01-01 13:07:43 +01:00
functional_hash.h Deprecate nested types in std::hash 2017-09-20 17:34:42 +01:00
gslice_array.h Update copyright years. 2017-01-01 13:07:43 +01:00
gslice.h Update copyright years. 2017-01-01 13:07:43 +01:00
hashtable_policy.h Minor header reorganization for unordered containers 2017-10-30 14:54:28 +00:00
hashtable.h PR libstdc++/81891 fix double-free in hashtable constructor 2017-08-18 18:46:57 +01:00
indirect_array.h Update copyright years. 2017-01-01 13:07:43 +01:00
invoke.h P0604R0 add invoke_result, is_invocable etc. for C++17 2017-03-10 15:29:38 +00:00
ios_base.h Remove deprecated iostream members for C++17 2017-07-25 18:47:52 +01:00
istream.tcc PR libstdc++/53984 handle exceptions in basic_istream::sentry 2017-07-25 21:36:06 +01:00
list.tcc re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
locale_classes.h PR78702 fix accessibility of locale::facet::__shim 2017-01-16 11:41:41 +00:00
locale_classes.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
locale_conv.h Fix typo in std::wbuffer_convert 2017-11-14 18:00:53 +00:00
locale_facets_nonio.h new (bad_array_new_length): Remove redundant semicolon after in-class member function definition. 2017-07-19 16:59:00 +00:00
locale_facets_nonio.tcc Use temporary int objects to access struct tm members 2017-01-10 14:15:59 +00:00
locale_facets.h new (bad_array_new_length): Remove redundant semicolon after in-class member function definition. 2017-07-19 16:59:00 +00:00
locale_facets.tcc PR libstdc++/67214 Avoid signed overflow in num_get::_M_extract_int 2017-05-23 11:16:08 +01:00
localefwd.h Update copyright years. 2017-01-01 13:07:43 +01:00
mask_array.h PR libstdc++/79789 fix non-reserved names in headers 2017-03-02 03:43:49 +00:00
memoryfwd.h Update copyright years. 2017-01-01 13:07:43 +01:00
move.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
node_handle.h Remove _Node_insert_return::get() member functions (P0508R0) 2017-11-03 11:04:45 +00:00
ostream_insert.h Update copyright years. 2017-01-01 13:07:43 +01:00
ostream.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
parse_numbers.h Update copyright years. 2017-01-01 13:07:43 +01:00
postypes.h Update copyright years. 2017-01-01 13:07:43 +01:00
predefined_ops.h PR78346 make <bits/predefined_ops.h> handle stashing iterators 2017-02-01 12:57:35 +00:00
ptr_traits.h Define std::__to_address helper 2017-09-13 08:27:40 +01:00
quoted_string.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
random.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
random.tcc re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
range_access.h Add noexcept to generic std::size, std::empty and std::data 2017-11-15 17:50:42 +00:00
refwrap.h Fixes to Doxygen comments in libstdc++ headers 2017-05-17 17:02:33 +01:00
regex_automaton.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
regex_automaton.tcc re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
regex_compiler.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
regex_compiler.tcc re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
regex_constants.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
regex_error.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
regex_executor.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
regex_executor.tcc PR libstdc++/71500 restore C++11 compatibility in <regex> 2017-09-19 18:06:12 +01:00
regex_scanner.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
regex_scanner.tcc re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
regex.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
regex.tcc re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
shared_ptr_atomic.h Update copyright years. 2017-01-01 13:07:43 +01:00
shared_ptr_base.h Define std::__to_address helper 2017-09-13 08:27:40 +01:00
shared_ptr.h Add std::get_deleter overload with correct signature 2017-06-16 16:20:14 +01:00
slice_array.h PR libstdc++/79789 fix non-reserved names in headers 2017-03-02 03:43:49 +00:00
specfun.h PR libstdc++/82644 document IS 29124 support 2017-10-23 12:10:28 +01:00
sstream.tcc PR libstdc++/81381 support stateful allocators in basic_stringbuf 2017-07-10 18:59:02 +01:00
std_abs.h Update copyright years. 2017-01-01 13:07:43 +01:00
std_function.h PR libstdc++/81017 add noexcept to std::function move operations 2017-06-08 15:27:45 +01:00
std_mutex.h Implement P0607R0 "Inline Variables for Standard Library" for C++17 2017-03-23 19:40:07 +00:00
stl_algo.h Protect more algorithms from overloaded comma operators 2017-10-27 00:50:40 +01:00
stl_algobase.h Protect more algorithms from overloaded comma operators 2017-10-27 00:50:40 +01:00
stl_bvector.h re PR libstdc++/82558 (V8 JavaScript engine segfaults since r249235) 2017-10-16 05:44:03 +00:00
stl_construct.h PR libstdc++/80553 don't allow destroying non-destructible types 2017-04-28 13:56:53 +01:00
stl_deque.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
stl_function.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_heap.h PR libstdc++/80064 make heap algorithms work with function types 2017-03-16 14:32:07 +00:00
stl_iterator_base_funcs.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
stl_iterator_base_types.h PR libstdc++/81912 make std::__iterator_category constexpr 2017-08-21 16:14:27 +01:00
stl_iterator.h Deduction guides for associative containers, debug mode deduction guide fixes. 2017-10-26 19:42:31 +03:00
stl_list.h stl_list.h [!_GLIBCXX_INLINE_VERSION](_List_base<>::_S_distance): Remove. 2017-08-24 20:31:53 +00:00
stl_map.h Deduction guides for associative containers, debug mode deduction guide fixes. 2017-10-26 19:42:31 +03:00
stl_multimap.h Deduction guides for associative containers, debug mode deduction guide fixes. 2017-10-26 19:42:31 +03:00
stl_multiset.h Deduction guides for associative containers, debug mode deduction guide fixes. 2017-10-26 19:42:31 +03:00
stl_numeric.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_pair.h re PR libstdc++/79141 (std::pair<int,int> p = {}; fails to compile due to ambiguous overload) 2017-04-03 19:30:58 +03:00
stl_queue.h stl_deque.h (deque): Access allocator value_type only if concept checks are enabled. 2017-03-20 20:51:40 +00:00
stl_raw_storage_iter.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_relops.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
stl_set.h Deduction guides for associative containers, debug mode deduction guide fixes. 2017-10-26 19:42:31 +03:00
stl_stack.h re PR libstdc++/81599 (Error in documentation of std::stack) 2017-07-31 13:44:16 +00:00
stl_tempbuf.h Update copyright years. 2017-01-01 13:07:43 +01:00
stl_tree.h stl_tree.h (_Rb_tree_impl()): Restore _Node_allocator default init. 2017-06-12 20:38:16 +00:00
stl_uninitialized.h Protect more algorithms from overloaded comma operators 2017-10-27 00:50:40 +01:00
stl_vector.h Define std::__to_address helper 2017-09-13 08:27:40 +01:00
stream_iterator.h Update copyright years. 2017-01-01 13:07:43 +01:00
streambuf_iterator.h Update comment referring to status of LWG issue 111 2017-10-10 12:26:10 +01:00
streambuf.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
string_view.tcc Refactor std::basic_string_view members and add noexcept 2017-10-24 14:18:52 +01:00
stringfwd.h Update copyright years. 2017-01-01 13:07:43 +01:00
uniform_int_dist.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
unique_ptr.h Avoid deprecated warnings about std::auto_ptr in library headers 2017-04-21 14:08:51 +01:00
unordered_map.h Deduction guides for associative containers, debug mode deduction guide fixes. 2017-10-26 19:42:31 +03:00
unordered_set.h Deduction guides for associative containers, debug mode deduction guide fixes. 2017-10-26 19:42:31 +03:00
uses_allocator.h Prevent __uses_alloc from holding dangling references 2017-07-06 12:54:10 +01:00
valarray_after.h Update copyright years. 2017-01-01 13:07:43 +01:00
valarray_array.h Update copyright years. 2017-01-01 13:07:43 +01:00
valarray_array.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
valarray_before.h Update copyright years. 2017-01-01 13:07:43 +01:00
vector.tcc Tweak vector::_M_realloc_insert for code size 2017-11-16 23:51:20 +00:00