[ARM/AArch64][testsuite] Add vmull_lane tests.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob2c9c40ad0e9728024255e5bc0333aac3965d333a
1 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
3         * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
4         * doc/xml/manual/status_cxx2014.xml: Update status.
5         * doc/html/manual/status.html: Regenerate.
7 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
9         PR libstdc++/64650
10         * include/experimental/optional (bad_optional_access): Add default
11         constructor.
12         * testsuite/experimental/optional/requirements.cc: Test for default
13         constructor.
15 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
17         * include/bits/stl_map.h (map::find<>, map::count<>,
18         map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
19         member function templates to perform heterogeneous lookup.
20         * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
21         multimap::lower_bound<>, multimap::upper_bound<>,
22         multimap::equal_range<>): Likewise.
23         * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
24         multiset::lower_bound<>, multiset::upper_bound<>,
25         multiset::equal_range<>): Likewise.
26         * include/bits/stl_set.h (set::find<>, set::count<>,
27         set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
28         * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
29         _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
30         _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
31         _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
32         * testsuite/23_containers/map/operations/2.cc: New.
33         * testsuite/23_containers/multimap/operations/2.cc: New.
34         * testsuite/23_containers/multiset/operations/2.cc: New.
35         * testsuite/23_containers/set/operations/2.cc: New.
37 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
39         * config/abi/pre/gnu.ver: Export new constructors.
40         * include/bits/codecvt.h (codecvt_byname): Add string constructor.
41         (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
42         specializations and declare explicit instantiations.
43         * include/bits/locale_classes.h (locale, collate_byname): Add string
44         constructors.
45         * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
46         Likewise.
47         * include/bits/locale_facets_nonio.h (time_get_byname,
48         time_put_byname, moneypunct_byname, messages_byname): Likewise.
49         * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
50         codecvt_byname<char32_t>): Define explicit instantiations.
51         * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
52         Instantiate string constructors.
53         (ctype_byname): Define string constructor.
54         * testsuite/22_locale/codecvt_byname/1.cc: New.
55         * testsuite/22_locale/collate_byname/1.cc: New.
56         * testsuite/22_locale/ctype_byname/2.cc: New.
57         * testsuite/22_locale/messages_byname/1.cc: New.
58         * testsuite/22_locale/moneypunct_byname/1.cc: New.
59         * testsuite/22_locale/numpunct_byname/1.cc: New.
61 2015-01-20  Jonathan Wakely  <jwakely@redhat.com>
63         PR libstdc++/64658
64         * include/std/atomic (atomic_init): Define.
65         * testsuite/29_atomics/atomic/64658.cc: New.
67 2015-01-19  Tim Shen  <timshen@google.com>
69         PR libstdc++/64649
70         * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
71         regex_traits<>::lookup_classname): Support forward iterators.
72         * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
73         * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
75 2015-01-19  Tim Shen  <timshen@google.com>
77         PR libstdc++/64584
78         PR libstdc++/64585
79         * include/bits/regex.h (basic_regex<>::basic_regex,
80         basic_regex<>::assign, basic_regex<>::imbue,
81         basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
82         imbuing basic_regex; Make assign() transactional against exception.
83         * include/bits/regex_compiler.h (__compile_nfa<>): Add back
84         __compile_nfa SFINAE.
85         * include/std/regex: Adjust include order to avoid __compile_nfa
86         forward declaration.
87         * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
88         * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
90 2015-01-19  Ville Voutilainen  <ville.voutilainen@gmail.com>
91             Jonathan Wakely  <jwakely@redhat.com>
93         * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
94         on overloads for arrays.
95         (cbegin, cend, rbegin, rend, crbegin, crend): New.
96         * testsuite/24_iterators/range_access_cpp14.cc: New.
98 2015-01-18  Jonathan Wakely  <jwakely@redhat.com>
100         PR libstdc++/64646
101         * include/bits/stl_algo.h (__is_permutation): Also test for reaching
102         end of the second range.
103         * testsuite/25_algorithms/is_permutation/64646.cc: New.
105 2015-01-18  Jonathan Wakely  <jwakely@redhat.com>
107         * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
108         * doc/html/manual/status.html: Regenerate.
110 2015-01-18  Jonathan Wakely  <jwakely@redhat.com>
112         * include/bits/atomic_futex.h: Use mutex and condition_variable when
113         atomic int is not lock-free. Make member variables private.
114         * src/c++11/futex.cc: Likewise.
116         * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
118 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
120         PR libstdc++/64638
121         * include/bits/atomic_futex.h: Use appropriate config macros for
122         availability of std::mutex, std::condition and std::chrono.
124 2015-01-17  Ville Voutilainen  <ville.voutilainen@gmail.com>
125             Jonathan Wakely  <jwakely@redhat.com>
127         * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
128         * doc/html/*: Regenerate.
130 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
132         DR 488
133         PR libstdc++/58357
134         * include/bits/algorithmfwd.h (rotate): Return an iterator.
135         * include/bits/stl_algo.h (rotate, __rotate): Likewise.
136         * testsuite/25_algorithms/rotate/dr488.cc: New.
137         * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
138         * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
139         2.cc: Likewise.
140         * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
141         pod.cc: Likewise.
143 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
145         PR libstdc++/60940
146         * include/bits/atomic_base.h: Remove atomic integral typedefs as
147         synonyms for __atomic_base<int> etc.
148         * include/std/atomic: Make atomic_int a synonym for atomic<int> and
149         likewise for all atomic integral types.
150         * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
151         * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
153 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
155         PR libstdc++/56785
156         * include/std/tuple (_Tuple_impl): Remove zero-element specialization
157         and define one-element specialization.
158         * testsuite/20_util/tuple/56785.cc: New.
160 2015-01-17  Jonathan Wakely  <jwakely@redhat.com>
162         * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
163         Remove unused header.
164         * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
165         Likewise.
166         * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
167         Likewise.
169 2015-01-16  Jonathan Wakely  <jwakely@redhat.com>
171         * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
172         * include/std/locale: Include new header.
173         * include/Makefile.am: Add it.
174         * include/Makefile.in: Regenerate.
175         * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
176         * testsuite/22_locale/conversions/string/1.cc: New.
177         * testsuite/22_locale/conversions/string/2.cc: New.
178         * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
179         * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
180         New.
182 2015-01-16  Jonathan Wakely  <jwakely@redhat.com>
184         * config/abi/pre/gnu.ver: Export new symbols.
185         * include/Makefile.am: Add codecvt.
186         * include/Makefile.in: Regenerate.
187         * include/std/codecvt: New header.
188         * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
189         __codecvt_utf8_utf16_base): Define specializations.
190         * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
191         * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
192         * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
193         New.
195 2015-01-16  Torvald Riegel  <triegel@redhat.com>
197         * src/c++11/futex.cc: New file.
198         * include/bits/atomic_futex.h: New file.
199         * include/std/future (__future_base::_State_baseV2): Use
200         atomic_futex_unsigned instead of mutex+condvar.
201         * src/c++11/futex.cc: Likewise.
202         * include/Makefile.am: Add atomic_futex.h.
203         * include/Makefile.in: Likewise.
204         * src/c++11/Makefile.am: Add futex.cc.
205         * src/c++11/Makefile.in: Likewise.
207 2015-01-16  Jonathan Wakely  <jwakely@redhat.com>
209         * acinclude.m4: Fix typo in comment.
210         * configure: Regenerate.
211         * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
212         codecvt<char16_t, char, mbstate_t>): Declare specializations.
213         * include/bits/locale_facets.h: Reserve space for new specializations.
214         * src/c++11/Makefile.am: Add codecvt.cc.
215         * src/c++11/Makefile.in: Regenerate.
216         * src/c++11/codecvt.cc: New.
217         * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
218         with -std=gnu++11.
219         * src/c++98/Makefile.in: Regenerate.
220         * src/c++98/locale_init.cc: Initialize new codecvt specializations.
221         * src/c++98/localename.cc: Likewise.
222         * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
223         * testsuite/22_locale/codecvt/utf8.cc: New.
224         * testsuite/22_locale/locale/cons/unicode.cc: Check that new
225         specializations are installed in locale objects.
227 2015-01-16  Torvald Riegel  <triegel@redhat.com>
229         * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
230         implementation.
232 2015-01-13  Jonathan Wakely  <jwakely@redhat.com>
234         PR libstdc++/64571
235         * config/abi/pre/gnu.ver: Export fstream functions using new string.
237 2015-01-12  Jonathan Wakely  <jwakely@redhat.com>
239         PR libstdc++/64560
240         * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
241         for RTTI support.
243         PR libstdc++/64553
244         * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
246 2015-01-10  Thomas Schwinge  <thomas@codesourcery.com>
248         * doc/xml/manual/parallel_mode.xml: Update for libgomp being
249         renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
250         Multi Processing Runtime Library".
252 2015-01-09  Jonathan Wakely  <jwakely@redhat.com>
254         PR libstdc++/64476
255         * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
256         is_assignable arguments.
257         * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
258         New.
260 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
262         * libsupc++/unwind-cxx.h: Revert previous commit.
264 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
266         * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
268 2015-01-09  Tim Shen  <timshen@google.com>
270         PR libstdc++/64239
271         * include/bits/regex.h (match_results<>::swap): Use std::swap
272         instead of swap.
273         * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
274         Likewise.
275         * testsuite/28_regex/match_results/swap.cc: New testcase.
277 2015-01-08  Jonathan Wakely  <jwakely@redhat.com>
279         PR libstdc++/60132
280         * include/std/type_traits (has_trivial_default_constructor,
281         has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
282         attribute.
283         * testsuite/20_util/has_trivial_copy_assign/requirements/
284         explicit_instantiation.cc: Use -Wno-deprecated.
285         * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
286         Likewise.
287         * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
288         * testsuite/20_util/has_trivial_copy_constructor/requirements/
289         explicit_instantiation.cc: Likewise.
290         * testsuite/20_util/has_trivial_copy_constructor/requirements/
291         typedefs.cc: Likewise.
292         * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
293         * testsuite/20_util/has_trivial_default_constructor/requirements/
294         explicit_instantiation.c: Likewise.
295         * testsuite/20_util/has_trivial_default_constructor/requirements/
296         typedefs.cc: Likewise.
297         * testsuite/20_util/has_trivial_default_constructor/value.cc:
298         Likewise.
299         * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
300         trait.
301         * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
302         * testsuite/util/testsuite_common_types.h: Likewise.
304 2015-01-08  Jonathan Wakely  <jwakely@redhat.com>
306         * include/bits/hashtable_policy.h: Use __bool_constant.
308 2015-01-07  Jonathan Wakely  <jwakely@redhat.com>
310         * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
311         * libsupc++/Makefile.in: Regenerate.
313 2015-01-06  Jonathan Wakely  <jwakely@redhat.com>
315         * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
317 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
319         Update copyright years.
321 2015-01-04  Jonathan Wakely  <jwakely@redhat.com>
323         PR libstdc++/64483
324         * testsuite/18_support/exception_ptr/64241.cc: Use
325         dg-require-atomic-builtins.
327 2015-01-02  Jonathan Wakely  <jwakely@redhat.com>
329         * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
330         date.
332 2015-01-02  Tim Shen  <timshen@google.com>
334         PR libstdc++/64475
335         * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
336         iterator, since the original one shouldn't be mutated.
338 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
340         PR libstdc++/64422
341         * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
342         (string::insert): Likewise.
343         (string::replace): Likewise.
344         (wstring::erase): Likewise.
345         (wstring::insert): Likewise.
346         (wstring::replace): Likewise.
347         * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
349 2015-01-02  Jonathan Wakely  <jwakely@redhat.com>
351         PR libstdc++/64468
352         * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
354 2015-01-02  Jonathan Wakely  <jwakely@redhat.com>
356         PR libstdc++/64438
357         * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
358         Revert removal of dg-require-string-conversions.
359         * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
360         Likewise.
361         * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
362         Likewise.
363         * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
364         Likewise.
365         * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
366         Likewise.
367         * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
368         Likewise.
369         * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
370         Likewise.
371         * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
372         Likewise.
373         * testsuite/21_strings/basic_string/numeric_conversions/char/
374         stoull.cc: Likewise.
375         * testsuite/21_strings/basic_string/numeric_conversions/char/
376         to_string.cc: Likewise.
378 Copyright (C) 2015 Free Software Foundation, Inc.
380 Copying and distribution of this file, with or without modification,
381 are permitted in any medium without royalty provided the copyright
382 notice and this notice are preserved.