1 2015-01-29 Jakub Jelinek <jakub@redhat.com>
3 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
4 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
5 * configure: Regenerated.
7 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
9 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
10 after vtv_cygmin is set.
11 * configure: Regenerated.
13 2015-01-29 Matthias Klose <doko@ubuntu.com>
15 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
17 * configure: Regenerate.
19 2015-01-29 Caroline Tice <cmtice@google.com>
21 Committing VTV Cywin/Ming patch for Patrick Wollgast
22 * configure: Regenerate.
23 * libsupc++/Makefile.in: Regenerate.
24 * src/Makefile.in: Regenerate.
26 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
28 * include/bits/atomic_base.h: Use __always_inline__ instead of
30 * include/bits/atomic_futex.h: Likewise.
31 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
32 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
33 __packed__ instead of packed.
34 * include/std/shared_mutex: Use __unused__ instead of unused.
35 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
36 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
37 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
39 2015-01-28 Caroline Tice <cmtice@google.com>
41 Committing VTV Cywin/Ming patch for Patrick Wollgast
42 * acinclude.m4: Define VTV_CYGMIN.
43 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
44 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
45 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
47 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
48 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
49 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
51 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
54 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
55 * libsupc++/Makefile.in: Regenerate.
56 * src/c++11/Makefile.in: Regenerate.
58 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
60 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
61 check for unsupported.
62 (v3_target_compile_as_c): Likewise.
64 2015-01-28 Richard Biener <rguenther@suse.de>
67 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
69 (pool::allocate): Adjust allocation size and alignment to
71 (pool::free): Adjust pointer offsetting.
73 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
76 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
77 shared_timed_mutex::try_lock_until): Only define when POSIX thread
78 timeouts option is supported.
79 (shared_timed_mutex::try_shared_lock_for,
80 shared_timed_mutex::try_shared_lock_until): Likewise.
82 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
85 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
86 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
87 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
88 and use cache's _M_grouping field.
89 (__numpunct_fill_cache): Likewise.
90 (__moneypunct_fill_cache): Improve comments.
92 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
94 * testsuite/23_containers/set/operations/2.cc: Add test for
95 non-transparent comparison function.
97 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
100 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
101 Remove SH4A inline asm and lock based implementations and use the
102 defaults from ext/atomicity.h.
104 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
106 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
107 new std::string constructors for byname facets.
109 2015-01-22 Richard Biener <rguenther@suse.de>
112 * libsupc++/eh_alloc.cc: Include new.
113 (bitmask_type): Remove.
114 (one_buffer): Likewise.
115 (emergency_buffer): Likewise.
116 (emergency_used): Likewise.
117 (dependents_buffer): Likewise.
118 (dependents_used): Likewise.
119 (class pool): New custom fixed-size arena, variable size object
121 (emergency_pool): New global.
122 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
123 (__cxxabiv1::__cxa_free_exception): Likewise.
124 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
125 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
127 2015-01-22 Tim Shen <timshen@google.com>
130 * include/bits/regex.h (basic_regex<>::basic_regex,
131 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
133 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
135 2015-01-22 Tim Shen <timshen@google.com>
138 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
139 regex_traits<>::lookup_classname): Correctly narrow input chars.
140 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
142 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
144 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
146 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
148 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
150 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
152 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
153 * doc/xml/manual/status_cxx2014.xml: Update status.
154 * doc/html/manual/status.html: Regenerate.
156 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
159 * include/experimental/optional (bad_optional_access): Add default
161 * testsuite/experimental/optional/requirements.cc: Test for default
164 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
166 * include/bits/stl_map.h (map::find<>, map::count<>,
167 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
168 member function templates to perform heterogeneous lookup.
169 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
170 multimap::lower_bound<>, multimap::upper_bound<>,
171 multimap::equal_range<>): Likewise.
172 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
173 multiset::lower_bound<>, multiset::upper_bound<>,
174 multiset::equal_range<>): Likewise.
175 * include/bits/stl_set.h (set::find<>, set::count<>,
176 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
177 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
178 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
179 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
180 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
181 * testsuite/23_containers/map/operations/2.cc: New.
182 * testsuite/23_containers/multimap/operations/2.cc: New.
183 * testsuite/23_containers/multiset/operations/2.cc: New.
184 * testsuite/23_containers/set/operations/2.cc: New.
186 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
188 * config/abi/pre/gnu.ver: Export new constructors.
189 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
190 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
191 specializations and declare explicit instantiations.
192 * include/bits/locale_classes.h (locale, collate_byname): Add string
194 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
196 * include/bits/locale_facets_nonio.h (time_get_byname,
197 time_put_byname, moneypunct_byname, messages_byname): Likewise.
198 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
199 codecvt_byname<char32_t>): Define explicit instantiations.
200 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
201 Instantiate string constructors.
202 (ctype_byname): Define string constructor.
203 * testsuite/22_locale/codecvt_byname/1.cc: New.
204 * testsuite/22_locale/collate_byname/1.cc: New.
205 * testsuite/22_locale/ctype_byname/2.cc: New.
206 * testsuite/22_locale/messages_byname/1.cc: New.
207 * testsuite/22_locale/moneypunct_byname/1.cc: New.
208 * testsuite/22_locale/numpunct_byname/1.cc: New.
210 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
213 * include/std/atomic (atomic_init): Define.
214 * testsuite/29_atomics/atomic/64658.cc: New.
216 2015-01-19 Tim Shen <timshen@google.com>
219 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
220 regex_traits<>::lookup_classname): Support forward iterators.
221 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
222 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
224 2015-01-19 Tim Shen <timshen@google.com>
228 * include/bits/regex.h (basic_regex<>::basic_regex,
229 basic_regex<>::assign, basic_regex<>::imbue,
230 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
231 imbuing basic_regex; Make assign() transactional against exception.
232 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
233 __compile_nfa SFINAE.
234 * include/std/regex: Adjust include order to avoid __compile_nfa
236 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
237 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
239 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
240 Jonathan Wakely <jwakely@redhat.com>
242 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
243 on overloads for arrays.
244 (cbegin, cend, rbegin, rend, crbegin, crend): New.
245 * testsuite/24_iterators/range_access_cpp14.cc: New.
247 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
250 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
251 end of the second range.
252 * testsuite/25_algorithms/is_permutation/64646.cc: New.
254 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
256 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
257 * doc/html/manual/status.html: Regenerate.
259 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
261 * include/bits/atomic_futex.h: Use mutex and condition_variable when
262 atomic int is not lock-free. Make member variables private.
263 * src/c++11/futex.cc: Likewise.
265 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
267 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
270 * include/bits/atomic_futex.h: Use appropriate config macros for
271 availability of std::mutex, std::condition and std::chrono.
273 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
274 Jonathan Wakely <jwakely@redhat.com>
276 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
277 * doc/html/*: Regenerate.
279 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
283 * include/bits/algorithmfwd.h (rotate): Return an iterator.
284 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
285 * testsuite/25_algorithms/rotate/dr488.cc: New.
286 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
287 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
289 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
292 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
295 * include/bits/atomic_base.h: Remove atomic integral typedefs as
296 synonyms for __atomic_base<int> etc.
297 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
298 likewise for all atomic integral types.
299 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
300 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
302 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
305 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
306 and define one-element specialization.
307 * testsuite/20_util/tuple/56785.cc: New.
309 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
311 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
312 Remove unused header.
313 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
315 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
318 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
320 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
321 * include/std/locale: Include new header.
322 * include/Makefile.am: Add it.
323 * include/Makefile.in: Regenerate.
324 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
325 * testsuite/22_locale/conversions/string/1.cc: New.
326 * testsuite/22_locale/conversions/string/2.cc: New.
327 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
328 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
331 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
333 * config/abi/pre/gnu.ver: Export new symbols.
334 * include/Makefile.am: Add codecvt.
335 * include/Makefile.in: Regenerate.
336 * include/std/codecvt: New header.
337 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
338 __codecvt_utf8_utf16_base): Define specializations.
339 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
340 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
341 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
344 2015-01-16 Torvald Riegel <triegel@redhat.com>
346 * src/c++11/futex.cc: New file.
347 * include/bits/atomic_futex.h: New file.
348 * include/std/future (__future_base::_State_baseV2): Use
349 atomic_futex_unsigned instead of mutex+condvar.
350 * src/c++11/futex.cc: Likewise.
351 * include/Makefile.am: Add atomic_futex.h.
352 * include/Makefile.in: Likewise.
353 * src/c++11/Makefile.am: Add futex.cc.
354 * src/c++11/Makefile.in: Likewise.
356 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
358 * acinclude.m4: Fix typo in comment.
359 * configure: Regenerate.
360 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
361 codecvt<char16_t, char, mbstate_t>): Declare specializations.
362 * include/bits/locale_facets.h: Reserve space for new specializations.
363 * src/c++11/Makefile.am: Add codecvt.cc.
364 * src/c++11/Makefile.in: Regenerate.
365 * src/c++11/codecvt.cc: New.
366 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
368 * src/c++98/Makefile.in: Regenerate.
369 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
370 * src/c++98/localename.cc: Likewise.
371 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
372 * testsuite/22_locale/codecvt/utf8.cc: New.
373 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
374 specializations are installed in locale objects.
376 2015-01-16 Torvald Riegel <triegel@redhat.com>
378 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
381 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
384 * config/abi/pre/gnu.ver: Export fstream functions using new string.
386 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
389 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
393 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
395 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
397 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
398 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
399 Multi Processing Runtime Library".
401 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
404 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
405 is_assignable arguments.
406 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
409 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
411 * libsupc++/unwind-cxx.h: Revert previous commit.
413 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
415 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
417 2015-01-09 Tim Shen <timshen@google.com>
420 * include/bits/regex.h (match_results<>::swap): Use std::swap
422 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
424 * testsuite/28_regex/match_results/swap.cc: New testcase.
426 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
429 * include/std/type_traits (has_trivial_default_constructor,
430 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
432 * testsuite/20_util/has_trivial_copy_assign/requirements/
433 explicit_instantiation.cc: Use -Wno-deprecated.
434 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
436 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
437 * testsuite/20_util/has_trivial_copy_constructor/requirements/
438 explicit_instantiation.cc: Likewise.
439 * testsuite/20_util/has_trivial_copy_constructor/requirements/
440 typedefs.cc: Likewise.
441 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
442 * testsuite/20_util/has_trivial_default_constructor/requirements/
443 explicit_instantiation.c: Likewise.
444 * testsuite/20_util/has_trivial_default_constructor/requirements/
445 typedefs.cc: Likewise.
446 * testsuite/20_util/has_trivial_default_constructor/value.cc:
448 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
450 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
451 * testsuite/util/testsuite_common_types.h: Likewise.
453 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
455 * include/bits/hashtable_policy.h: Use __bool_constant.
457 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
459 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
460 * libsupc++/Makefile.in: Regenerate.
462 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
464 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
466 2015-01-05 Jakub Jelinek <jakub@redhat.com>
468 Update copyright years.
470 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
473 * testsuite/18_support/exception_ptr/64241.cc: Use
474 dg-require-atomic-builtins.
476 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
478 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
481 2015-01-02 Tim Shen <timshen@google.com>
484 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
485 iterator, since the original one shouldn't be mutated.
487 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
490 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
491 (string::insert): Likewise.
492 (string::replace): Likewise.
493 (wstring::erase): Likewise.
494 (wstring::insert): Likewise.
495 (wstring::replace): Likewise.
496 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
498 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
501 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
503 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
506 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
507 Revert removal of dg-require-string-conversions.
508 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
510 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
512 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
514 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
516 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
518 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
520 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
522 * testsuite/21_strings/basic_string/numeric_conversions/char/
524 * testsuite/21_strings/basic_string/numeric_conversions/char/
525 to_string.cc: Likewise.
527 Copyright (C) 2015 Free Software Foundation, Inc.
529 Copying and distribution of this file, with or without modification,
530 are permitted in any medium without royalty provided the copyright
531 notice and this notice are preserved.