1 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
3 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
5 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
7 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
8 * doc/xml/manual/status_cxx2014.xml: Update status.
9 * doc/html/manual/status.html: Regenerate.
11 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
14 * include/experimental/optional (bad_optional_access): Add default
16 * testsuite/experimental/optional/requirements.cc: Test for default
19 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
21 * include/bits/stl_map.h (map::find<>, map::count<>,
22 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
23 member function templates to perform heterogeneous lookup.
24 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
25 multimap::lower_bound<>, multimap::upper_bound<>,
26 multimap::equal_range<>): Likewise.
27 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
28 multiset::lower_bound<>, multiset::upper_bound<>,
29 multiset::equal_range<>): Likewise.
30 * include/bits/stl_set.h (set::find<>, set::count<>,
31 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
32 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
33 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
34 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
35 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
36 * testsuite/23_containers/map/operations/2.cc: New.
37 * testsuite/23_containers/multimap/operations/2.cc: New.
38 * testsuite/23_containers/multiset/operations/2.cc: New.
39 * testsuite/23_containers/set/operations/2.cc: New.
41 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
43 * config/abi/pre/gnu.ver: Export new constructors.
44 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
45 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
46 specializations and declare explicit instantiations.
47 * include/bits/locale_classes.h (locale, collate_byname): Add string
49 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
51 * include/bits/locale_facets_nonio.h (time_get_byname,
52 time_put_byname, moneypunct_byname, messages_byname): Likewise.
53 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
54 codecvt_byname<char32_t>): Define explicit instantiations.
55 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
56 Instantiate string constructors.
57 (ctype_byname): Define string constructor.
58 * testsuite/22_locale/codecvt_byname/1.cc: New.
59 * testsuite/22_locale/collate_byname/1.cc: New.
60 * testsuite/22_locale/ctype_byname/2.cc: New.
61 * testsuite/22_locale/messages_byname/1.cc: New.
62 * testsuite/22_locale/moneypunct_byname/1.cc: New.
63 * testsuite/22_locale/numpunct_byname/1.cc: New.
65 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
68 * include/std/atomic (atomic_init): Define.
69 * testsuite/29_atomics/atomic/64658.cc: New.
71 2015-01-19 Tim Shen <timshen@google.com>
74 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
75 regex_traits<>::lookup_classname): Support forward iterators.
76 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
77 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
79 2015-01-19 Tim Shen <timshen@google.com>
83 * include/bits/regex.h (basic_regex<>::basic_regex,
84 basic_regex<>::assign, basic_regex<>::imbue,
85 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
86 imbuing basic_regex; Make assign() transactional against exception.
87 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
89 * include/std/regex: Adjust include order to avoid __compile_nfa
91 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
92 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
94 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
95 Jonathan Wakely <jwakely@redhat.com>
97 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
98 on overloads for arrays.
99 (cbegin, cend, rbegin, rend, crbegin, crend): New.
100 * testsuite/24_iterators/range_access_cpp14.cc: New.
102 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
105 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
106 end of the second range.
107 * testsuite/25_algorithms/is_permutation/64646.cc: New.
109 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
111 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
112 * doc/html/manual/status.html: Regenerate.
114 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
116 * include/bits/atomic_futex.h: Use mutex and condition_variable when
117 atomic int is not lock-free. Make member variables private.
118 * src/c++11/futex.cc: Likewise.
120 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
122 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
125 * include/bits/atomic_futex.h: Use appropriate config macros for
126 availability of std::mutex, std::condition and std::chrono.
128 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
129 Jonathan Wakely <jwakely@redhat.com>
131 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
132 * doc/html/*: Regenerate.
134 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
138 * include/bits/algorithmfwd.h (rotate): Return an iterator.
139 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
140 * testsuite/25_algorithms/rotate/dr488.cc: New.
141 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
142 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
144 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
147 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
150 * include/bits/atomic_base.h: Remove atomic integral typedefs as
151 synonyms for __atomic_base<int> etc.
152 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
153 likewise for all atomic integral types.
154 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
155 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
157 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
160 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
161 and define one-element specialization.
162 * testsuite/20_util/tuple/56785.cc: New.
164 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
166 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
167 Remove unused header.
168 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
170 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
173 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
175 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
176 * include/std/locale: Include new header.
177 * include/Makefile.am: Add it.
178 * include/Makefile.in: Regenerate.
179 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
180 * testsuite/22_locale/conversions/string/1.cc: New.
181 * testsuite/22_locale/conversions/string/2.cc: New.
182 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
183 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
186 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
188 * config/abi/pre/gnu.ver: Export new symbols.
189 * include/Makefile.am: Add codecvt.
190 * include/Makefile.in: Regenerate.
191 * include/std/codecvt: New header.
192 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
193 __codecvt_utf8_utf16_base): Define specializations.
194 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
195 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
196 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
199 2015-01-16 Torvald Riegel <triegel@redhat.com>
201 * src/c++11/futex.cc: New file.
202 * include/bits/atomic_futex.h: New file.
203 * include/std/future (__future_base::_State_baseV2): Use
204 atomic_futex_unsigned instead of mutex+condvar.
205 * src/c++11/futex.cc: Likewise.
206 * include/Makefile.am: Add atomic_futex.h.
207 * include/Makefile.in: Likewise.
208 * src/c++11/Makefile.am: Add futex.cc.
209 * src/c++11/Makefile.in: Likewise.
211 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
213 * acinclude.m4: Fix typo in comment.
214 * configure: Regenerate.
215 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
216 codecvt<char16_t, char, mbstate_t>): Declare specializations.
217 * include/bits/locale_facets.h: Reserve space for new specializations.
218 * src/c++11/Makefile.am: Add codecvt.cc.
219 * src/c++11/Makefile.in: Regenerate.
220 * src/c++11/codecvt.cc: New.
221 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
223 * src/c++98/Makefile.in: Regenerate.
224 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
225 * src/c++98/localename.cc: Likewise.
226 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
227 * testsuite/22_locale/codecvt/utf8.cc: New.
228 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
229 specializations are installed in locale objects.
231 2015-01-16 Torvald Riegel <triegel@redhat.com>
233 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
236 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
239 * config/abi/pre/gnu.ver: Export fstream functions using new string.
241 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
244 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
248 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
250 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
252 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
253 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
254 Multi Processing Runtime Library".
256 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
259 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
260 is_assignable arguments.
261 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
264 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
266 * libsupc++/unwind-cxx.h: Revert previous commit.
268 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
270 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
272 2015-01-09 Tim Shen <timshen@google.com>
275 * include/bits/regex.h (match_results<>::swap): Use std::swap
277 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
279 * testsuite/28_regex/match_results/swap.cc: New testcase.
281 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
284 * include/std/type_traits (has_trivial_default_constructor,
285 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
287 * testsuite/20_util/has_trivial_copy_assign/requirements/
288 explicit_instantiation.cc: Use -Wno-deprecated.
289 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
291 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
292 * testsuite/20_util/has_trivial_copy_constructor/requirements/
293 explicit_instantiation.cc: Likewise.
294 * testsuite/20_util/has_trivial_copy_constructor/requirements/
295 typedefs.cc: Likewise.
296 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
297 * testsuite/20_util/has_trivial_default_constructor/requirements/
298 explicit_instantiation.c: Likewise.
299 * testsuite/20_util/has_trivial_default_constructor/requirements/
300 typedefs.cc: Likewise.
301 * testsuite/20_util/has_trivial_default_constructor/value.cc:
303 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
305 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
306 * testsuite/util/testsuite_common_types.h: Likewise.
308 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
310 * include/bits/hashtable_policy.h: Use __bool_constant.
312 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
314 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
315 * libsupc++/Makefile.in: Regenerate.
317 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
319 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
321 2015-01-05 Jakub Jelinek <jakub@redhat.com>
323 Update copyright years.
325 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
328 * testsuite/18_support/exception_ptr/64241.cc: Use
329 dg-require-atomic-builtins.
331 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
333 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
336 2015-01-02 Tim Shen <timshen@google.com>
339 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
340 iterator, since the original one shouldn't be mutated.
342 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
345 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
346 (string::insert): Likewise.
347 (string::replace): Likewise.
348 (wstring::erase): Likewise.
349 (wstring::insert): Likewise.
350 (wstring::replace): Likewise.
351 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
353 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
356 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
358 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
361 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
362 Revert removal of dg-require-string-conversions.
363 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
365 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
367 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
369 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
371 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
373 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
375 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
377 * testsuite/21_strings/basic_string/numeric_conversions/char/
379 * testsuite/21_strings/basic_string/numeric_conversions/char/
380 to_string.cc: Likewise.
382 Copyright (C) 2015 Free Software Foundation, Inc.
384 Copying and distribution of this file, with or without modification,
385 are permitted in any medium without royalty provided the copyright
386 notice and this notice are preserved.