1 2014-07-16 Paolo Carlini <paolo.carlini@oracle.com>
3 * include/ext/random: Minor formatting and cosmetic tweaks.
4 (uniform_on_sphere_distribution<>::operator==
5 (const uniform_on_sphere_distribution&,
6 const uniform_on_sphere_distribution&)): Compare the _M_nds.
7 (uniform_on_sphere_distribution<>::reset): Reset _M_nd.
8 (operator!=(const uniform_on_sphere_distribution&,
9 const uniform_on_sphere_distribution&)): Adjust.
10 * include/ext/random.tcc: Minor cosmetc tweaks.
12 2014-07-15 Jonathan Wakely <jwakely@redhat.com>
14 * python/libstdcxx/v6/printers.py (TemplateTypePrinter): Add type
15 printer for class templates.
16 (register_type_printers): Use TemplateTypePrinter for containers
17 and other class templates with default template arguments.
18 * testsuite/libstdc++-prettyprinters/whatis.cc: Test new recognizers.
20 * python/libstdcxx/v6/printers.py (SingleObjContainerPrinter): New
21 base class for experimental::any and experimental::optional printers.
22 (StdExpAnyPrinter, StdExpOptionalPrinter, StdExpStringViewPrinter):
23 New printers for Fundamentals TS types.
24 * testsuite/libstdc++-prettyprinters/libfundts.cc: New.
26 2014-07-15 Tim Shen <timshen@google.com>
29 * include/bits/regex_executor.tcc (_Executor<>::_M_main_dispatch):
30 Clear match queue for next use.
31 * testsuite/28_regex/algorithms/regex_search/61720.cc: New file.
33 2014-07-14 Ulrich Drepper <drepper@gmail.com>
35 * include/ext/random.tcc: Unfortunately more fixes for
36 operator>> and operator<< for uniform_on_sphere_distribution.
38 2014-07-13 Ulrich Drepper <drepper@gmail.com>
40 * include/ext/random.tcc: Fix operator>> and operator<< for
41 uniform_on_sphere_distribution.
43 2014-07-12 Ulrich Drepper <drepper@gmail.com>
45 * include/ext/random: Add uniform_on_sphere_distribution definition.
46 * include/ext/random.tcc: Add out-of-band member function definitions
47 for uniform_on_sphere_distribution.
48 * testsuite/ext/random/uniform_on_sphere_distribution/
49 cons/default.cc: New file.
50 * testsuite/ext/random/uniform_on_sphere_distribution/
51 operators/equal.cc: New file.
52 * testsuite/ext/random/uniform_on_sphere_distribution/
53 operators/inequal.cc: New file.
54 * testsuite/ext/random/uniform_on_sphere_distribution/
55 operators/serialize.cc: New file.
57 2014-07-11 Edward Smith-Rowland <3dw4rd@verizon.net>
59 Add the logistic_distribution as an extension.
60 * include/ext/random: Add the logistic_distribution.
61 * include/ext/random.tcc: Add the logistic_distribution.
62 * testsuite/ext/random/logistic_distribution/cons/parms.cc: New.
63 * testsuite/ext/random/logistic_distribution/cons/default.cc: New.
64 * testsuite/ext/random/logistic_distribution/requirements/typedefs.cc:
66 * testsuite/ext/random/logistic_distribution/operators/inequal.cc: New.
67 * testsuite/ext/random/logistic_distribution/operators/equal.cc: New.
68 * testsuite/ext/random/logistic_distribution/operators/serialize.cc:
71 2014-07-11 Samuel Bronson <naesten@gmail.com>
73 * testsuite/lib/libstdc++.exp (libstdc++_init): Set $GCC_COLORS=""
74 instead of insisting that GCC understand -fdiagnostics-color=never
76 * testsuite/lib/gdb-test.exp (gdb-test): Turn off GDB's auto-load,
79 2014-07-11 Samuel Bronson <naesten@gmail.com>
80 Matthias Klose <doko@ubuntu.com>
83 * python/libstdcxx/v6/printers.py: Port to Python 2+3
84 (imap): New compat function.
86 (Iterator): New mixin to allow writing iterators in Python 3 style
87 regardless of which version we're running on.
88 [Python3] (long) New compat alias for "int".
89 * testsuite/lib/gdb-test.exp: Port to Python 2+3 (print syntax)
91 2014-07-10 Jonathan Wakely <jwakely@redhat.com>
93 * include/experimental/any (any::_Manager_alloc::_Data): Reorder
94 tuple members to simplify pretty printing.
95 (any::_Manager_alloc::_Data::_M_construct): Fix uses-allocator
97 * testsuite/experimental/any/cons/4.cc: New.
99 2014-07-09 Jason Merrill <jason@redhat.com>
102 * libsupc++/cxxabi.h: Define __pbase_type_info::__pointer_catch here.
103 * libsupc++/tinfo.h: Not here.
105 2014-07-08 Jonathan Wakely <jwakely@redhat.com>
107 * include/bits/allocated_ptr.h (__allocated_ptr::operator=): Add
109 * include/experimental/any: Remove unused header.
110 * include/std/functional (_Maybe_wrap_member_pointer): Fix comments.
111 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
112 * testsuite/util/testsuite_regex.h: Move include guard.
114 2014-07-01 Tim Shen <timshen@google.com>
118 * include/bits/regex_automaton.h (_NFA<>::_M_insert_state): Add
119 a NFA state limit. If it's exceeded, regex_constants::error_space
121 * include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone): Use
122 map (which is sparse) instead of vector. This reduce n times clones'
123 cost from O(n^2) to O(n).
124 * include/std/regex: Add map dependency.
125 * testsuite/28_regex/algorithms/regex_match/ecma/char/61601.cc: New
128 2014-07-01 Tim Shen <timshen@google.com>
131 * include/bits/regex.tcc (__regex_algo_impl<>): Use DFS for ECMAScript,
132 not just regex containing back-references.
133 * include/bits/regex_compiler.tcc (_Compiler<>::_M_disjunction):
134 exchange _M_next and _M_alt for alternative operator,
135 making matching from left to right.
136 * include/bits/regex_executor.h (_State_info<>::_M_get_sol_pos):
137 Add position tracking fom DFS.
138 * include/bits/regex_executor.tcc (_Executor<>::_M_main_dispatch,
139 _Executor<>::_M_dfs): Likewise.
140 * include/bits/regex_scanner.h: Remove unused enum entry.
141 * testsuite/28_regex/algorithms/regex_search/61424.cc: New
144 2014-06-30 Jason Merrill <jason@redhat.com>
146 * libsupc++/cxxabi.h (class __pbase_type_info): __pointer_catch
149 2014-06-28 Paolo Carlini <paolo.carlini@oracle.com>
152 2014-06-18 Paolo Carlini <paolo.carlini@oracle.com>
153 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
156 * config/abi/pre/gnu.ver: Adjust for out of line comparisons.
158 2014-06-08 Paolo Carlini <paolo.carlini@oracle.com>
160 * config/abi/pre/gnu.ver: Tighten some patterns; tidy.
162 2014-06-26 Jonathan Wakely <jwakely@redhat.com>
164 * include/bits/shared_ptr_base.h (__shared_ptr::_Deleter): Fix
167 2014-06-25 Jonathan Wakely <jwakely@redhat.com>
169 * include/bits/alloc_traits.h (__alloc_rebind): Define alias template.
170 * include/bits/forward_list.h (_Fwd_list_base): Use __alloc_rebind.
171 * include/bits/hashtable_policy.h (_Insert_base, _Hashtable_alloc):
173 * include/ext/alloc_traits.h: Fix comment.
175 * include/Makefile.am: Add new header.
176 * include/Makefile.in: Regenerate.
177 * include/bits/allocated_ptr.h (__allocated_ptr, __allocate_guarded):
178 New RAII utilities for working with allocators.
179 * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Define
180 __allocator_type typedef and use new __allocated_ptr type.
181 (_Sp_counted_ptr_inplace): Likewise.
182 (__shared_count::__shared_count, __shared_ptr::__shared_ptr): Use
183 __allocate_guarded to to simplify exception handling.
184 * include/experimental/any (any::_Manager_alloc::_S_alloc): Likewise.
185 * include/std/future (_Result_alloc::_M_destroy): Likewise.
186 (_Result_alloc::_S_allocate_result): Likewise.
187 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line number.
188 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
189 * testsuite/20_util/shared_ptr/creation/no_rtti.cc: New.
190 * testsuite/20_util/shared_ptr/creation/alloc.cc: Test allocator
192 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
194 * testsuite/20_util/shared_ptr/creation/alloc.cc: Fix use of test
196 * testsuite/20_util/shared_ptr/creation/no_rtti.cc: Likewise.
197 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
199 2014-06-24 Jonathan Wakely <jwakely@redhat.com>
201 * include/bits/functexcept.h (__throw_out_of_range_fmt): Change
202 attribute to __gnu_printf__ archetype to prevent warnings for "%zu".
203 * include/bits/locale_facets_nonio.tcc (time_get::do_get_weekday):
204 Remove unused typedef.
205 (time_get::do_get_monthname): Likewise.
206 * include/bits/stl_tree.h: Add system_header pragma.
207 * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): Remove
208 redundant const-qualifier.
209 * include/std/complex (complex::__rep): Use _GLIBCXX_CONSTEXPR macro
210 instead of _GLIBCXX_USE_CONSTEXPR.
212 2014-06-23 Jonathan Wakely <jwakely@redhat.com>
214 * include/bits/parse_numbers.h (_Number_help): Fix divide-by-zero.
215 * include/std/chrono (_Checked_integral_constant): Allow zero.
216 * testsuite/20_util/duration/literals/values.cc: Test non-positive
217 values and digit separators.
218 * include/experimental/any
221 * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Do not
222 apply the signed specifier to wchar_t.
223 * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
224 * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Check
225 cv-qualifier and size.
226 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
229 * include/experimental/any (any_v1): Rename namespace to
230 fundamentals_v1. Change string returned by bad_any_cast::what().
231 * include/experimental/optional (fundamentals_v1): Add namespace.
232 * include/experimental/string_view (fundamentals_v1): Likewise.
233 * testsuite/experimental/any/typedefs.cc: New.
234 * testsuite/experimental/optional/typedefs.cc: New.
235 * testsuite/experimental/string_view/typedefs.cc: New.
237 2014-06-18 Paolo Carlini <paolo.carlini@oracle.com>
238 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
241 * config/abi/pre/gnu.ver: Adjust for out of line comparisons.
243 2014-06-14 Jonathan Wakely <jwakely@redhat.com>
245 * doc/xml/manual/status_cxx2014.xml: Update Fundamentals TS status.
246 * include/Makefile.am: Add new header.
247 * include/Makefile.in: Regenerate.
248 * include/experimental/any: New.
249 * include/ext/aligned_buffer.h (__aligned_buffer(nullptr_t)): New
251 * testsuite/experimental/any/assign/1.cc: New.
252 * testsuite/experimental/any/assign/2.cc: New.
253 * testsuite/experimental/any/cons/1.cc: New.
254 * testsuite/experimental/any/cons/2.cc: New.
255 * testsuite/experimental/any/cons/3.cc: New.
256 * testsuite/experimental/any/misc/any_cast.cc: New.
257 * testsuite/experimental/any/misc/any_cast_neg.cc: New.
258 * testsuite/experimental/any/misc/any_cast_no_rtti.cc: New.
259 * testsuite/experimental/any/misc/swap.cc: New.
260 * testsuite/experimental/any/modifiers/1.cc: New.
261 * testsuite/experimental/any/observers/type.cc: New.
263 * doc/doxygen/user.cfg.in (INPUT): Add C++14 headers.
264 * include/bits/random.h (subtract_with_carry_engine): Fix Doxygen
266 * include/bits/shared_ptr.h (shared_ptr): Likewise.
267 * include/bits/unordered_map.h (unordered_map, unordered_multimap):
269 * include/bits/unordered_set.h (unordered_set, unordered_multiset):
271 * include/parallel/list_partition.h (__parallel::list_partition):
273 * include/std/iomanip (quoted): Likewise.
274 * include/tr2/dynamic_bitset (dynamic_bitset): Likewise.
276 * doc/xml/api.xml: Link to more recent API docs.
277 * include/bits/allocator.h: Fix link in doxygen comment.
278 * include/bits/char_traits.h: Likewise.
279 * include/bits/ios_base.h: Likewise.
280 * include/bits/stl_map.h: Likewise.
281 * include/bits/stl_multimap.h: Likewise.
282 * include/bits/stl_multiset.h: Likewise.
283 * include/bits/stl_set.h: Likewise.
284 * include/bits/unordered_map.h: Likewise.
285 * include/bits/unordered_set.h: Likewise.
286 * include/ext/mt_allocator.h: Likewise.
287 * include/std/fstream: Likewise.
288 * include/std/iosfwd: Likewise.
289 * include/std/ostream: Likewise.
290 * include/std/sstream: Likewise.
291 * include/std/streambuf: Likewise.
292 * doc/html/*: Regenerate.
294 * include/experimental/any (any_cast): Combine duplicate doxygen
296 * include/experimental/string_view (basic_string_view): Update
298 * include/std/bitset (bitset): Move to Doxygen 'utilities' group.
299 * include/tr2/dynamic_bitset (_Bool2UChar): Remove unused templates.
300 (dynamic_bitset): Improve Doxygen comments.
301 * include/tr2/dynamic_bitset.tcc (operator>>): Improve Doxygen
304 2014-06-11 Maciej W. Rozycki <macro@codesourcery.com>
306 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc
307 (test02) [TEST_NUMPUT_VERBOSE]: Use `wcout' rather than `cout'.
309 2014-06-10 Jonathan Wakely <jwakely@redhat.com>
312 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp
313 (bin_search_tree_traits): Do not redeclare template-parameters.
314 * testsuite/util/testsuite_iterators.h (test_container): Likewise.
316 2014-06-09 Jonathan Wakely <jwakely@redhat.com>
318 * doc/Makefile.am: Add missing file. Use generate.consistent.ids
319 parameter for DocBook HTML generation.
320 * doc/Makefile.in: Regenerate.
321 * doc/doxygen/user.cfg.in: Unset DOT_FONTNAME.
322 * doc/xml/faq.xml: Update content and improve formatting.
323 * doc/xml/manual/abi.xml: Add stable ID attribute and fix links.
324 * doc/xml/manual/allocator.xml: Add stable ID attribute.
325 * doc/xml/manual/bitmap_allocator.xml: Likewise.
326 * doc/xml/manual/build_hacking.xml: Likewise.
327 * doc/xml/manual/codecvt.xml: Change URL.
328 * doc/xml/manual/ctype.xml: Add stable ID attribute.
329 * doc/xml/manual/debug_mode.xml: Likewise.
330 * doc/xml/manual/documentation_hacking.xml: Likewise.
331 * doc/xml/manual/evolution.xml: Likewise.
332 * doc/xml/manual/extensions.xml: Likewise.
333 * doc/xml/manual/locale.xml: Likewise.
334 * doc/xml/manual/messages.xml: Make section id consistent, improve
336 * doc/xml/manual/parallel_mode.xml: Add stable ID attributes.
337 * doc/xml/manual/profile_mode.xml: Likewise.
338 * doc/xml/manual/shared_ptr.xml: Likewise. Also remove old info.
339 * doc/xml/manual/status_cxx1998.xml: Add stable ID attributes.
340 * doc/xml/manual/status_cxx2011.xml: Likewise.
341 * doc/xml/manual/status_cxx2014.xml: Likewise.
342 * doc/xml/manual/status_cxxtr1.xml: Likewise.
343 * doc/xml/manual/status_cxxtr24733.xml: Likewise.
344 * doc/xml/manual/using.xml: Likewise.
345 * doc/html/*: Regenerate.
347 2014-06-09 Jonathan Wakely <jwakely@redhat.com>
349 * include/tr1/beta_function.tcc: Fix spelling of include guard in
352 2014-06-08 Paolo Carlini <paolo.carlini@oracle.com>
354 * config/abi/pre/gnu.ver: Tighten some patterns; tidy.
356 2014-06-06 Ed Smith-Rowland <3dw4rd@verizon.net>
358 DR 2344 - std::quoted doesn't respect padding
359 * include/std/iomanip: Allow for padding in quoted inserters.
360 * testsuite/27_io/manipulators/standard/char/dr2344.cc: New.
361 * testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc: New.
363 2014-06-06 François Dumont <fdumont@gcc.gnu.org>
365 * testsuite/23_containers/map/operators/1.cc: Simplify test.
367 2014-06-06 Jonathan Wakely <jwakely@redhat.com>
369 * doc/xml/faq.xml (faq.stream_reopening_fails): Replace <quote> in
371 * doc/xml/manual/backwards_compatibility.xml
372 (backwards.second.stringstreams): Likewise.
373 * doc/xml/manual/configure.xml (--enable-libstdcxx-time): Document
375 * doc/xml/manual/containers.xml (associative.bitset.type_string):
376 Replace <quote> in code example.
377 * doc/xml/manual/debug.xml: Clarify reference to ThreadSanitizer.
378 * doc/xml/manual/documentation_hacking.xml: Improve debugging tips,
379 fix typos, improve markup.
380 * doc/xml/manual/intro.xml (manual.intro.status.bugs.iso): Replace
381 <emphasis> with <replaceable>.
382 * doc/xml/manual/locale.xml (locale.impl.c): Remove backticks.
383 * doc/xml/manual/support.xml (std.support.memory): Replace <quote>
384 and remove newlines in string literal.
386 2014-06-03 Paolo Carlini <paolo.carlini@oracle.com>
390 * testsuite/20_util/is_assignable/value.cc: Update.
392 2014-06-02 Jonathan Wakely <jwakely@redhat.com>
394 * include/std/condition_variable (condition_variable_any::_Unlock): Do
395 not swallow __forced_unwind.
396 * include/std/future (__future_base::_Task_setter): Likewise.
397 (__future_base::_Async_state_impl): Turn __forced_unwind into broken
399 * include/std/mutex (try_lock): Likewise.
400 * testsuite/30_threads/async/forced_unwind.cc: New.
401 * testsuite/30_threads/packaged_task/forced_unwind.cc: New.
403 * include/bits/regex_compiler.h (__detail::_BracketMatcher): Reorder
404 members to avoid wasted space when not using a cache.
405 (__detail::_BracketMatcher::_M_ready()): Sort and deduplicate set.
406 * include/bits/regex_compiler.tcc
407 (__detail::_BracketMatcher::_M_apply(_CharT, false_type)): Use binary
409 * include/bits/regex_executor.h (__detail::_Executor::_Match_mode):
410 New enumeration type to indicate match mode.
411 (__detail::_Executor::_State_info): New type holding members only
412 needed in BFS-mode. Replace unique_ptr<vector<bool>> with
414 (__detail::_Executor::_M_rep_once_more, __detail::_Executor::_M_dfs):
415 Replace template parameter with run-time function parameter.
416 (__detail::_Executor::_M_main): Likewise. Dispatch to ...
417 (__detail::_Executor::_M_main_dispatch): New overloaded functions to
418 implement DFS and BFS mode.
419 * include/bits/regex_executor.tcc (__detail::_Executor::_M_main):
420 Split implementation into ...
421 (__detail::_Executor::_M_main_dispatch): New overloaded functions.
422 (__detail::_Executor::_M_lookahead): Create nested executor on stack.
423 (__detail::_Executor::_M_rep_once_more): Pass match mode as function
424 argument instead of template argument.
425 (__detail::_Executor::_M_dfs): Likewise.
426 * include/bits/regex_scanner.tcc: Fix typos in comments.
427 * testsuite/performance/28_regex/range.cc: New.
429 2014-06-02 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
430 Jonathan Wakely <jwakely@redhat.com>
432 * libstdc++-v3/include/std/type_traits (__strictest_alignment): New
434 (aligned_union): New struct (C++11).
435 (aligned_union_t): New type alias (C++14).
436 * doc/xml/manual/status_cxx2011.xml: Update.
437 * libstdc++-v3/testsuite/20_util/aligned_union/1.cc: New file.
438 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
441 2014-06-01 Jonathan Wakely <jwakely@redhat.com>
444 * include/experimental/string_view (operator basic_string): Correct
446 (to_string): Replace with member function.
447 Add inline specifiers. Remove unused header. Remove _S_empty_rep and
448 allow _M_str to be null.
449 * testsuite/experimental/string_view/cons/char/1.cc: Adjust to new
450 default constructor semantics.
451 * testsuite/experimental/string_view/cons/wchar_t/1.cc: Likewise.
452 * testsuite/experimental/string_view/operations/copy/char/1.cc: Fix
453 copyright dates. Remove unused header.
454 * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc:
456 * testsuite/experimental/string_view/operations/data/char/1.cc:
457 Fix copyright dates. Adjust to new default constructor semantics.
458 * testsuite/experimental/string_view/operations/data/wchar_t/1.cc:
460 * testsuite/experimental/string_view/operations/to_string/1.cc: New.
462 * include/bits/uses_allocator.h (__uses_allocator_helper): Simplify.
463 (__uses_allocator_arg): Remove unused type.
464 (__uses_alloc0): Turn into a trivial type.
465 (__uses_alloc): Add missing template parameter in primary template.
466 (__uses_alloc_impl): Rename to __uses_alloc_t.
468 2014-05-30 Jonathan Wakely <jwakely@redhat.com>
470 * testsuite/lib/libstdc++.exp (libstdc++_init): Adjust regexp to
471 work with previous versions of Tcl.
473 * doc/xml/manual/appendix_contributing.xml (list.copyright): Replace
474 Benjamin's old email address.
476 * doc/xml/manual/appendix_contributing.xml (list.copyright): Add
479 2014-05-29 Jonathan Wakely <jwakely@redhat.com>
481 * include/tr2/bool_set: Use UTF-8 for accented characters.
482 * scripts/run_doxygen: Handle Doxygen 1.8.x change.
483 * doc/doxygen/user.cfg.in: Update to Doxygen 1.8.6 format. Set
484 QUIET=YES, remove obsolete SYMBOL_CACHE_SIZE tag.
486 2014-05-27 Jonathan Wakely <jwakely@redhat.com>
489 * include/bits/regex_automaton.tcc (_State_base::_M_print): Add
491 (_State_base::_M_dot): Likewise.
493 2014-05-25 Paolo Carlini <paolo.carlini@oracle.com>
495 * include/profile/map.h: Fix typo in comment; minor formatting fix.
496 * include/profile/multimap.h: Likewise.
497 * include/profile/set.h: Likewise.
498 * include/profile/multiset.h: Likewise.
500 2014-05-24 François Dumont <fdumont@gcc.gnu.org>
502 * include/profile/array: Clean useless white chars.
503 * include/profile/base.h: Likewise.
504 * include/profile/iterator_tracker.h: Likewise.
505 * include/profile/bitset: Code cleanup and remove not instrumented code.
506 * include/profile/deque: Likewise.
507 * include/profile/forward_list: Likewise.
508 * include/profile/list (std::__profile::_List_profile<>): New.
509 (std::__profile::list<>): Inherit from latter and adapt.
510 * include/profile/impl/profiler_map_to_unordered_map.h: Generalize
511 advise to match any ordered to unordered container conversion.
512 * include/profile/ordered_base.h (std::__profile::_Ordered_profile<>):
514 * include/Makefile.am: Add latter.
515 * include/Makefile.in: Regenerate.
516 * include/profile/map.h (std::__profile::map<>): Inherit from latter,
517 remove not instrumented code.
518 * include/profile/multimap.h (std::__profile::multimap<>): Likewise.
519 * include/profile/set.h (std::__profile::set<>): Likewise.
520 * include/profile/multiset.h (std::__profile::multiset<>): Likewise.
521 * include/profile/unordered_base.h: Add some line feed.
522 * include/profile/unordered_map: Clean useless white chars and replace
524 * include/profile/unordered_set: Likewise.
525 * include/profile/vector (std::__profile::_Vector_profile_pre<>): New.
526 (std::__profile::_Vector_profile_post<>): New.
527 (std::__profile::vector<>): Inherit from latter and adapt.
529 2014-05-23 Jonathan Wakely <jwakely@redhat.com>
532 * testsuite/*: Use 's/\*-\*-freebsd\* /&*-*-dragonfly* /' to add
533 dragonfly target selector to all tests that run on freebsd.
535 * testsuite/23_containers/vector/capacity/resize/1.cc: Add xfail for
537 * testsuite/30_threads/call_once/60497.cc: Add target selectors.
538 * testsuite/30_threads/condition_variable/members/53841.cc: Likewise.
540 * testsuite/30_threads/async/54297.cc: Remove duplicate dragonfly
542 * testsuite/30_threads/call_once/60497.cc: Likewise.
543 * testsuite/30_threads/condition_variable/54185.cc: Likewise.
544 * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
545 * testsuite/30_threads/packaged_task/60564.cc: Likewise.
546 * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
547 * testsuite/30_threads/promise/60966.cc: Likewise.
548 * testsuite/30_threads/shared_lock/cons/1.cc: Likewise.
549 * testsuite/30_threads/shared_lock/cons/2.cc: Likewise.
550 * testsuite/30_threads/shared_lock/cons/3.cc: Likewise.
551 * testsuite/30_threads/shared_lock/cons/4.cc: Likewise.
552 * testsuite/30_threads/shared_lock/cons/5.cc: Likewise.
553 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
554 * testsuite/30_threads/shared_lock/locking/1.cc: Likewise.
555 * testsuite/30_threads/shared_lock/locking/2.cc: Likewise.
556 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
557 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
558 * testsuite/30_threads/shared_lock/modifiers/1.cc: Likewise.
559 * testsuite/30_threads/shared_lock/modifiers/2.cc: Likewise.
560 * testsuite/30_threads/shared_timed_mutex/cons/1.cc: Likewise.
561 * testsuite/30_threads/shared_timed_mutex/try_lock/1.cc:
562 * testsuite/30_threads/shared_timed_mutex/try_lock/2.cc: Likewise.
563 * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
564 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Likewise.
566 2014-05-21 François Dumont <fdumont@gcc.gnu.org>
569 * include/bits/hashtable.h: Fix move semantic to leave hashtable in a
571 * testsuite/23_containers/unordered_set/61143.cc: New.
572 * testsuite/23_containers/unordered_set/modifiers/swap.cc: New.
574 2014-05-21 Jonathan Wakely <jwakely@redhat.com>
577 * include/std/type_traits: Move include outside namespace std.
578 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
579 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
580 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
583 * config/locale/dragonfly/c_locale.cc (facet::_S_create_c_locale):
586 2014-05-21 John Marino <gnugcc@marino.st>
588 * acinclude.m4 (*-*-dragonfly*): New target.
589 * configure: Regenerate.
590 * configure.host (*-*-dragonfly*): New target.
591 * config/locale/dragonfly/c_locale.cc: New.
592 * config/locale/dragonfly/ctype_members.cc: New.
593 * config/os/bsd/dragonfly/ctype_base.h: New.
594 * config/os/bsd/dragonfly/ctype_configure_char.cc: New.
595 * config/os/bsd/dragonfly/ctype_inline.h: New.
596 * config/os/bsd/dragonfly/os_defines.h: New.
598 2014-05-20 Cesar Philippidis <cesar@codesourcery.com>
600 * scripts/testsuite_flags.in (cxxflags): Remove @CXXFLAGS@ since
601 libstdc++.exp imports those flags via getenv.
602 * testsuite/lib/libstdc++.exp (libstdc++_init): Ensure that
603 CXXFLAGS contains a '-O' flag.
605 2014-05-20 Alexey Merzlyakov <alexey.merzlyakov@samsung.com>
609 2014-05-16 Alexey Merzlyakov <alexey.merzlyakov@samsung.com>
612 * libsupc++/eh_arm.cc (__cxa_end_cleanup): Change r4 to lr in save/restore
613 and add unwind directives.
615 2014-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
617 * testsuite/lib/libstdc++.exp (load_gcc_lib): Register loaded libs.
619 2014-05-20 Tim Shen <timshen91@gmail.com>
622 * include/bits/regex_compiler.h
623 (_BracketMatcher<>::_M_add_character_class): Add negative character
625 * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply):
627 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
630 2014-05-19 Jonathan Wakely <jwakely@redhat.com>
632 * python/libstdcxx/v6/printers.py: Use Python3 raise syntax.
634 2014-05-17 Marc Glisse <marc.glisse@inria.fr>
636 * libsupc++/new_op.cc: Factor the calls to malloc, use __builtin_expect.
637 * libsupc++/new_opnt.cc: Likewise.
639 2014-05-17 Jonathan Wakely <jwakely@redhat.com>
642 * include/std/future (__future_base::_State_baseV2::_M_set_result):
643 Pass lock into _M_do_set and hold it until the function returns.
644 Signal condition variable after call_once completes.
645 (__future_base::_State_baseV2::_M_do_set): Use lock argument. Do not
647 * testsuite/30_threads/promise/60966.cc: New.
649 2014-05-16 Iain Sandoe <iain@codesourcery.com>
650 Sandra Loosemore <sandra@codesourcery.com>
652 * testsuite/libstdc++-abi/abi.exp: Defer setting of baseline_subdir
653 until after checking that the test is eligible to be run.
655 2014-05-16 Jonathan Wakely <jwakely@redhat.com>
657 * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Fix
658 test for 32-bit target.
659 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
661 * testsuite/tr1/2_general_utilities/shared_ptr/modifiers/reset_neg.cc:
664 2014-05-16 Alexey Merzlyakov <alexey.merzlyakov@samsung.com>
667 * libsupc++/eh_arm.cc (__cxa_end_cleanup): Change r4 to lr in save/restore
668 and add unwind directives.
670 2014-05-16 Jonathan Wakely <jwakely@redhat.com>
672 * include/bits/parse_numbers.h (__parse_int::_Number_help): Check for
674 * include/std/chrono (chrono_literals::__select_type::_Select_type):
676 (chrono_literals::_Checked_integral_constant): Define.
677 Simplify UDL operator templates and check for overflow.
678 * testsuite/20_util/duration/literals/range.cc: New.
680 2014-05-16 Ed Smith-Rowland <3dw4rd@verizon.net>
681 Jonathan Wakely <jwakely@redhat.com>
684 * include/bits/parse_numbers.h: Use integral_constant to remove
685 duplication and simplify.
686 * testsuite/20_util/duration/literals/61166.cc: New.
688 2014-05-15 Jonathan Wakely <jwakely@redhat.com>
691 * include/std/type_traits (__make_unsigned, __make_signed): Define
692 specializations for wchar_t, char16_t and char32_t.
693 * testsuite/20_util/make_signed/requirements/typedefs-4.cc: New.
694 * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Correct
695 test for make_unsigned<volatile wchar_t>.
696 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc:
698 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
700 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
702 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
705 2014-05-15 Jonathan Wakely <jwakely@redhat.com>
707 * include/std/tuple (tuple_size<cv _Tp>): Implement LWG 2313.
708 * include/std/array (tuple_size, tuple_element): Add Doxygen comments.
709 * include/std/utility (tuple_size, tuple_element): Likewise.
710 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
711 Adjust dg-error line number.
713 2014-05-14 Jonathan Wakely <jwakely@redhat.com>
715 * include/std/tuple (__add_c_ref, __add_ref, __add_r_ref): Remove.
716 (__tuple_element_t): Define.
717 (tuple_element): Use __tuple_element_t.
718 (__cv_tuple_size): Define.
719 (tuple_size<cv _Tp>): Use __cv_tuple_size.
720 (get, __get_helper, __get_helper2): Remove uses of __add_ref etc.
721 (get<_Tp>(tuple<_Types...>&&)): Use forward instead of move.
722 (__tuple_compare): Remove size check, re-order parameters.
723 (operator==, operator<): Use static_assert to check requirements.
724 * include/std/functional (__volget): use __tuple_element_t.
725 * testsuite/20_util/tuple/element_access/get_by_type.cc: Test rvalues.
726 * testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error.
728 2014-05-13 Jonathan Wakely <jwakely@redhat.com>
731 * include/std/tuple (get, __tuple_compare): Qualify more calls to
732 prevent ADL. Cast comparison results to bool.
733 * testsuite/20_util/tuple/60497.cc: Test accessing rvalues.
734 * testsuite/20_util/tuple/comparison_operators/overloaded.cc: New.
737 * include/debug/array (get): Qualify call to other get overload.
738 * include/profile/array (get): Likewise.
739 * include/std/array (get): Likewise.
740 * include/std/functional (_Mu, _Bind, _Bind_result): Qualify std::get.
741 * include/std/mutex (unique_lock, call_once): Use __addressof.
742 (__unlock_impl): Remove unused template.
743 (__try_to_lock): Declare inline.
744 (__try_lock_impl::__do_try_lock): Qualify function calls.
745 (lock): Avoid narrowing conversion.
746 * testsuite/20_util/bind/60497.cc: New.
747 * testsuite/23_containers/array/element_access/60497.cc: New.
748 * testsuite/30_threads/call_once/60497.cc: New.
749 * testsuite/30_threads/unique_lock/cons/60497.cc: New.
751 2014-05-09 Jonathan Wakely <jwakely@redhat.com>
753 * config/abi/pre/gnu.ver (GLIBCXX_3.4.20): Correct regex_error export.
754 (GLIBCXX_3.4.21): Export base object constructor for regex_error.
755 * acinclude.m4 (libtool_VERSION): Bump.
756 * configure: Regenerate.
757 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.21 version.
758 * testsuite/28_regex/regex_error/base.cc: New.
760 2014-05-08 Joshua Gay <jgay@gnu.org>
763 * doc/xml/faq.xml (faq.license.what_restrictions): Replace "open
764 source" with "free software".
765 * doc/html/faq.html: Likewise.
767 2014-05-08 Jonathan Wakely <jwakely@redhat.com>
770 * include/bits/ios_base.h (ios_base(const ios_base&)): Define as
772 (operator=(const ios_base&)): Likewise.
773 * include/std/streambuf: Remove trailing whitespace.
774 (basic_streambuf(const basic_streambuf&)): Fix initializer for
775 _M_out_end. Define as defaulted for C++11.
776 (operator=(const basic_streambuf&)): Define as defaulted for C++11.
777 (swap(basic_streambuf&)): Define for C++11.
778 * testsuite/27_io/basic_streambuf/cons/57394.cc: New.
781 * include/std/fstream (basic_filebuf): Enforce requirements on traits.
783 * include/std/iostream: Fix URL in comment.
784 * src/c++98/ios_init.cc: Fix path in comment.
786 2014-05-08 Paolo Carlini <paolo.carlini@oracle.com>
788 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Avoid -Wwrite-strings warning.
789 * configure: Regenerate.
791 2014-05-07 Jonathan Wakely <jwakely@redhat.com>
794 * include/bits/stl_tree.h (_Rb_tree::_M_move_assign): Copy the
796 * testsuite/23_containers/set/cons/61023.cc: New.
799 * include/bits/stl_iterator.h (__normal_iterator::_M_const_cast):
801 * include/bits/stl_vector.h (vector::insert, vector::erase): Use
802 arithmetic to obtain a mutable iterator from const_iterator.
803 * include/bits/vector.tcc (vector::insert): Likewise.
804 * include/debug/vector (vector::erase): Likewise.
805 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
806 Adjust dg-error line number.
807 * testsuite/23_containers/vector/requirements/dr438/
808 constructor_1_neg.cc: Likewise.
809 * testsuite/23_containers/vector/requirements/dr438/
810 constructor_2_neg.cc: Likewise.
811 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
814 2014-05-06 Paolo Carlini <paolo.carlini@oracle.com>
816 * include/Makefile.in: Regenerate.
818 2014-05-06 François Dumont <fdumont@gcc.gnu.org>
820 * include/debug/macros.h [__glibcxx_check_equal_allocs]: Add
821 parameter to pass the 2 instances to check allocator equality.
822 * include/debug/safe_container.h: New, define _Safe_container<>.
823 * include/Makefile.am: Add previous.
824 * include/debug/deque (std::__debug::deque<>): Inherit
825 _Safe_container<>. Use default implementation for all special
827 * include/debug/forward_list (std::__debug::forward_list<>):
829 * include/debug/list (std::__debug::list<>): Likewise.
830 * include/debug/map.h (std::__debug::map<>): Likewise.
831 * include/debug/multimap.h (std::__debug::multimap<>): Likewise.
832 * include/debug/set.h (std::__debug::set<>): Likewise.
833 * include/debug/multiset.h (std::__debug::multiset<>): Likewise.
834 * include/debug/string (std::__debug::basic_string<>): Likewise.
835 * include/debug/unordered_map
836 (std::__debug::unordered_map<>): Likewise.
837 (std::__debug::unordered_multimap<>): Likewise.
838 * include/debug/unordered_set
839 (std::__debug::unordered_set<>): Likewise.
840 (std::__debug::unordered_multiset<>): Likewise.
841 * include/debug/vector (std::__debug::vector<>): Likewise.
842 * include/debug/safe_base.h (_Safe_sequence_base()): Add
844 (_Safe_sequence_base(_Safe_sequence_base&&): Remove.
845 (~_Safe_sequence_base()): Add noexcept.
846 * include/debug/safe_sequence.h
847 (std::__debug::_Safe_node_sequence<>): New.
848 * include/debug/safe_unordered_base.h
849 (_Safe_unordered_container_base()): Add noexcept.
850 (~_Safe_unordered_container_base()): Likewise.
851 (_M_swap(_Safe_unordered_container_base&)): Likewise.
852 * include/debug/safe_unordered_container.h:
853 (_Safe_unordered_container<>::_M_invalidate_locals()): New.
854 (_Safe_unordered_container<>::_M_invalidate_all()): New.
855 * src/c++11/debug.cc: Limit includes, adapt methods noexcept
857 * testsuite/util/debug/checks.h (check_construct1): Just implement
858 an invalid constructor invocation and no other operations
859 potentially not supported by some types of container.
860 (check_construct2): Likewise.
861 (check_construct3): Likewise.
862 * testsuite/23_containers/forward_list/allocator/move.cc: Add
863 check on iterators to make sure they are correctly moved in debug
865 * testsuite/23_containers/forward_list/allocator/move_assign.cc:
867 * testsuite/23_containers/map/allocator/move.cc: Likewise.
868 * testsuite/23_containers/map/allocator/move_assign.cc: Likewise.
869 * testsuite/23_containers/multimap/allocator/move.cc: Likewise.
870 * testsuite/23_containers/multimap/allocator/move_assign.cc:
872 * testsuite/23_containers/multiset/allocator/move.cc: Likewise.
873 * testsuite/23_containers/multiset/allocator/move_assign.cc:
875 * testsuite/23_containers/set/allocator/move.cc: Likewise.
876 * testsuite/23_containers/set/allocator/move_assign.cc: Likewise.
877 * testsuite/23_containers/unordered_map/allocator/move.cc:
879 * testsuite/23_containers/unordered_map/allocator/move_assign.cc:
881 * testsuite/23_containers/unordered_multimap/allocator/move.cc:
883 * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
885 * testsuite/23_containers/unordered_multiset/allocator/move.cc:
887 * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
889 * testsuite/23_containers/unordered_set/allocator/move.cc:
891 * testsuite/23_containers/unordered_set/allocator/move_assign.cc:
893 * testsuite/23_containers/forward_list/debug/construct1_neg.cc:
895 * testsuite/23_containers/forward_list/debug/construct2_neg.cc:
897 * testsuite/23_containers/forward_list/debug/construct3_neg.cc:
899 * testsuite/23_containers/forward_list/debug/construct4_neg.cc:
901 * testsuite/23_containers/forward_list/debug/move_assign_neg.cc:
903 * testsuite/23_containers/forward_list/debug/move_neg.cc: New.
904 * testsuite/23_containers/map/debug/construct5_neg.cc: New.
905 * testsuite/23_containers/map/debug/move_assign_neg.cc: New.
906 * testsuite/23_containers/map/debug/move_neg.cc: New.
907 * testsuite/23_containers/multimap/debug/construct5_neg.cc: New.
908 * testsuite/23_containers/multimap/debug/move_assign_neg.cc: New.
909 * testsuite/23_containers/multimap/debug/move_neg.cc: New.
910 * testsuite/23_containers/multiset/debug/construct5_neg.cc: New.
911 * testsuite/23_containers/multiset/debug/move_assign_neg.cc: New.
912 * testsuite/23_containers/multiset/debug/move_neg.cc: New.
913 * testsuite/23_containers/set/debug/construct5_neg.cc: New.
914 * testsuite/23_containers/set/debug/move_assign_neg.cc: New.
915 * testsuite/23_containers/set/debug/move_neg.cc: New.
916 * testsuite/23_containers/unordered_map/debug/construct5_neg.cc:
918 * testsuite/23_containers/unordered_map/debug/move_assign_neg.cc:
920 * testsuite/23_containers/unordered_map/debug/move_neg.cc: New.
921 * testsuite/23_containers/unordered_multimap/debug/construct5_neg.cc:
923 * testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc:
925 * testsuite/23_containers/unordered_multimap/debug/move_neg.cc:
927 * testsuite/23_containers/unordered_multiset/debug/construct5_neg.cc:
929 * testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc:
931 * testsuite/23_containers/unordered_multiset/debug/move_neg.cc:
933 * testsuite/23_containers/unordered_set/debug/construct5_neg.cc:
935 * testsuite/23_containers/unordered_set/debug/move_assign_neg.cc:
937 * testsuite/23_containers/unordered_set/debug/move_neg.cc: New.
938 * testsuite/23_containers/vector/debug/move_neg.cc: New.
940 2014-05-05 Andreas Schwab <schwab@linux-m68k.org>
942 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt
943 (CXXABI_1.3.9): Remove __float128 symbols.
945 2014-05-02 Jonathan Wakely <jwakely@redhat.com>
948 * python/libstdcxx/v6/printers.py (get_value_from_Rb_tree_node): New
949 function to handle both C++03 and C++11 _Rb_tree_node implementations.
950 (StdRbtreeIteratorPrinter, StdMapPrinter, StdSetPrinter): Use it.
951 * testsuite/libstdc++-prettyprinters/simple.cc: Update comment to
953 * testsuite/libstdc++-prettyprinters/simple11.cc: New.
956 * include/bits/shared_ptr_base.h (__shared_ptr::__shared_ptr(_Tp1*)):
957 Check the correct type in the static assertion.
958 * testsuite/20_util/shared_ptr/cons/61036.cc: New.
960 2014-04-27 Tim Shen <timshen91@gmail.com>
962 * include/bits/regex_automaton.h (_NFA<>::_M_insert_repeat):
963 Add _S_opcode_repeat support to distingush a loop from
964 _S_opcode_alternative.
965 * include/bits/regex_automaton.tcc (_State_base::_M_print,
966 _State_base::_M_dot, _NFA<>::_M_eliminate_dummy,
967 _StateSeq<>::_M_clone): Likewise.
968 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
970 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Likewise.
971 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_ecma):
972 Uglify local variable __i.
973 * include/bits/regex_compiler.h (_BracketMatcher<>::_M_make_cache):
974 Use size_t instead of int to compare with vector::size().
976 2014-04-27 Tim Shen <timshen91@gmail.com>
978 * include/bits/regex_executor.h: Add _M_rep_count to track how
979 many times this repeat node are visited.
980 * include/bits/regex_executor.tcc (_Executor<>::_M_rep_once_more,
981 _Executor<>::_M_dfs): Use _M_rep_count to prevent entering
984 2014-04-27 Tim Shen <timshen91@gmail.com>
986 * include/bits/regex.tcc (__regex_algo_impl<>): Remove
987 _GLIBCXX_REGEX_DFS_QUANTIFIERS_LIMIT and use
988 _GLIBCXX_REGEX_USE_THOMPSON_NFA instead.
989 * include/bits/regex_automaton.h: Remove quantifier counting variable.
990 * include/bits/regex_automaton.tcc (_State_base::_M_dot):
991 Adjust debug NFA dump.
993 2014-04-25 Lars Gullik Bjønnes <larsbj@gullik.org>
996 * include/experimental/optional (operator!=): Implement in terms of
998 * testsuite/experimental/optional/relops/1.cc: Remove operator!=.
999 * testsuite/experimental/optional/relops/2.cc: Likewise.
1000 * testsuite/experimental/optional/relops/3.cc: Likewise.
1001 * testsuite/experimental/optional/relops/4.cc: Likewise.
1002 * testsuite/experimental/optional/relops/5.cc: Likewise.
1003 * testsuite/experimental/optional/relops/6.cc: Likewise.
1005 2014-04-25 Jonathan Wakely <jwakely@redhat.com>
1008 * include/tr1/regex (regex_traits::isctype): Comment out broken code.
1009 * testsuite/util/testsuite_regex.h (regex_match_debug): Improve
1012 2014-04-25 Marc Glisse <marc.glisse@inria.fr>
1014 * testsuite/util/testsuite_abi.cc (check_version): Update for
1017 2014-04-24 Tim Shen <timshen91@gmail.com>
1019 * include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()):
1020 Do _M_alt before _M_next.
1021 * testsuite/28_regex/basic_regex/multiple_quantifiers.cc: Add testcases.
1023 2014-04-24 Marc Glisse <marc.glisse@inria.fr>
1026 * config/abi/pre/gnu.ver (CXXABI_1.3.9): Remove __float128 symbols.
1027 * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
1028 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1030 2014-04-24 Andreas Schwab <schwab@suse.de>
1032 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update for
1033 new CXXABI_1.3.9 symbols.
1035 2014-04-23 Andreas Schwab <schwab@linux-m68k.org>
1037 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt
1038 (CXXABI_1.3.9): New version.
1040 2014-04-22 Marc Glisse <marc.glisse@inria.fr>
1043 * config/abi/pre/gnu.ver (CXXABI_1.3.9): New version, new symbols.
1044 * config/abi/pre/gnu-versioned-namespace.ver: New symbols.
1045 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1047 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1049 * configure.host: Remove solaris2.9 handling.
1050 Change os_include_dir to os/solaris/solaris2.10.
1051 * acinclude.m4 (ac_has_gthreads): Remove solaris2.9* handling.
1052 * crossconfig.m4: Remove *-solaris2.9 handling, simplify.
1053 * configure: Regenerate.
1054 * config/abi/post/solaris2.9: Remove.
1055 * config/os/solaris/solaris2.9: Rename to ...
1056 * config/os/solaris/solaris2.10: ... this.
1057 * config/os/solaris/solaris2.10/os_defines.h (CLOCK_MONOTONIC):
1060 * doc/xml/manual/configure.xml (--enable-libstdcxx-threads):
1061 Remove Solaris 9 reference.
1062 * doc/html/manual/configure.html: Regenerate.
1064 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
1065 Remove *-*-solaris2.9 xfail.
1066 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
1069 * testsuite/ext/enc_filebuf/char/13598.cc: Remove *-*-solaris2.9
1072 2014-04-16 Jonathan Wakely <jwakely@redhat.com>
1074 * include/std/functional (__is_location_invariant): Use __or_ helper.
1076 2014-04-15 Jonathan Wakely <jwakely@redhat.com>
1079 * include/bits/stl_tree.h (_Rb_tree::_M_end): Fix invalid cast.
1082 * include/std/atomic (atomic<_Tp>): Add static assertion.
1083 * testsuite/29_atomics/atomic/60695.cc: New.
1086 * include/std/functional (function::_Callable): Exclude own type
1087 from the callable checks.
1088 * testsuite/20_util/function/60594.cc: New.
1090 * include/bits/atomic_base.h (__atomic_base<_PTp*>::_M_type_size): Add
1091 const to constexpr member functions.
1093 * include/bits/shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)): Use
1094 delegating constructor.
1095 * include/bits/shared_ptr_base.h
1096 (__shared_ptr::__shared_ptr(nullptr_t)): Likewise
1098 * include/std/atomic: Uglify parameter names.
1101 * testsuite/20_util/shared_ptr/requirements/explicit_instantiation/
1102 1.cc: Fix invalid explicit instantiations with unqualified names.
1103 * testsuite/20_util/shared_ptr/requirements/explicit_instantiation/
1105 * testsuite/20_util/tuple/53648.cc: Likweise.
1106 * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc:
1108 * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc:
1110 * testsuite/23_containers/unordered_map/requirements/
1111 debug_container.cc: Likewise.
1112 * testsuite/23_containers/unordered_map/requirements/
1113 explicit_instantiation/3.cc: Likewise.
1114 * testsuite/23_containers/unordered_multimap/requirements/debug.cc:
1116 * testsuite/23_containers/unordered_multimap/requirements/
1117 explicit_instantiation/3.cc: Likewise.
1118 * testsuite/23_containers/unordered_multiset/requirements/debug.cc:
1120 * testsuite/23_containers/unordered_multiset/requirements/
1121 explicit_instantiation/3.cc: Likewise.
1122 * testsuite/23_containers/unordered_set/requirements/
1123 debug_container.cc: Likewise.
1124 * testsuite/23_containers/unordered_set/requirements/
1125 explicit_instantiation/3.cc: Likewise.
1127 * testsuite/24_iterators/insert_iterator/requirements/container.cc: Do
1128 not use uninitialized members in mem-initializers.
1129 * testsuite/ext/throw_value/cons.cc: Fix most vexing parse.
1130 * testsuite/util/testsuite_common_types.h: Update comment.
1132 * include/experimental/string_view: Fix inconsistent exception specs.
1134 * include/bits/shared_ptr.h (shared_ptr::shared_ptr(nullptr_t)):
1135 Remove name of unused parameter.
1137 2014-04-14 Jonathan Wakely <jwakely@redhat.com>
1139 * include/bits/stl_vector.h (_Vector_base::_Vector_impl,
1140 _Vector_base::_M_allocate): NullablePointer requirements do not
1141 include initialization from literal zero, use value-initialization.
1142 * include/bits/vector.tcc (vector::_M_insert_aux,
1143 vector::_M_explace_back_aux): Likewise for assignment.
1145 * include/bits/allocator.h (operator==, operator!=): Add exception
1149 * include/std/tuple (get): Qualify calls to prevent ADL.
1150 * testsuite/20_util/tuple/60497.cc: New.
1152 * include/std/tuple (tuple_element_t): Define.
1153 * testsuite/20_util/tuple/tuple_element.cc: Change to compile-only
1155 * testsuite/20_util/tuple/tuple_element_t.cc: New.
1157 2014-04-11 Marc Glisse <marc.glisse@inria.fr>
1160 * include/bits/stl_iterator.h (move_iterator::reference,
1161 move_iterator::operator*): Implement LWG 2106.
1162 * testsuite/24_iterators/move_iterator/dr2106.cc: New file.
1164 2014-04-11 Marc Glisse <marc.glisse@inria.fr>
1166 * include/std/complex (__complex_exp, pow): Specify the template
1167 parameter in calls to std::polar, for expression templates.
1169 2014-04-10 Andreas Schwab <schwab@suse.de>
1171 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Remove TLS
1173 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Likewise.
1174 * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: Likewise.
1176 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
1178 2014-04-07 Jonathan Wakely <jwakely@redhat.com>
1180 * testsuite/20_util/exchange/1.cc: Add missing return statements.
1181 * testsuite/20_util/pair/40925.cc: Avoid most vexing parse.
1182 * testsuite/22_locale/codecvt_byname/50714.cc: Add missing exception
1185 2014-04-02 Dominique d'Humieres <dominiq@lps.ens.fr>
1186 Jack Howarth <howarth@bromo.med.uc.edu>
1189 * testsuite/30_threads/condition_variable/54185.cc: Skip for
1192 2014-04-01 Jonathan Wakely <jwakely@redhat.com>
1194 * doc/xml/manual/backwards_compatibility.xml (backwards.third.headers):
1196 * doc/xml/manual/policy_data_structures_biblio.xml (bibliography):
1198 * doc/xml/manual/shared_ptr.xml (shared_ptr.impl): Likewise.
1199 * doc/xml/manual/using_exceptions.xml (bibliography): Likewise.
1200 * doc/xml/manual/concurrency_extensions.xml
1201 (manual.ext.concurrency.impl.atomic_fallbacks): Likewise.
1202 * doc/html/*: Regenerate.
1204 2014-03-31 Lars Gullik Bjønnes <larsbj@gullik.org>
1205 Jonathan Wakely <jwakely@redhat.com>
1208 * include/std/iomanip (_Quoted_string operator>>): Do not clear
1209 string if input is not quoted.
1210 * testsuite/27_io/manipulators/standard/char/60270.cc: New.
1212 2014-03-31 Jonathan Wakely <jwakely@redhat.com>
1214 * libsupc++/eh_ptr.cc: Improve static_assert messages.
1216 2014-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1218 * testsuite/18_support/exception_ptr/60612-terminate.cc
1219 (terminate, f): Wrap in _GLIBCXX_USE_C99.
1220 * testsuite/18_support/exception_ptr/60612-unexpected.cc: Likewise.
1222 2014-03-27 Jonathan Wakely <jwakely@redhat.com>
1224 * doc/xml/manual/io.xml (std.io.objects): Additional markup.
1226 * doc/xml/faq.xml (faq): Refer to clauses instead of chapters.
1227 * doc/xml/manual/appendix_contributing.xml (contrib.design_notes):
1229 * doc/xml/manual/backwards_compatibility.xml (backwards.third):
1231 * doc/xml/manual/test.xml (test.organization.layout): Likewise.
1233 * doc/xml/manual/containers.xml (associative.bitset.size_variable):
1234 Fix bad s/part/chapter/ substitutions.
1235 * doc/xml/manual/io.xml (std.io): Likewise.
1236 * doc/xml/manual/numerics.xml (std.numerics.generalized_ops): Likewise.
1237 * doc/xml/manual/strings.xml (strings.string.Cstring): Likewise.
1239 * doc/html/*: Regenerate.
1241 2014-03-27 Jonathan Wakely <jwakely@redhat.com>
1244 * libsupc++/eh_ptr.cc: Assert __cxa_dependent_exception layout is
1245 compatible with __cxa_exception.
1246 * libsupc++/unwind-cxx.h (__cxa_dependent_exception): Add padding.
1247 Fix typos in comments.
1248 * testsuite/18_support/exception_ptr/60612-terminate.cc: New.
1249 * testsuite/18_support/exception_ptr/60612-unexpected.cc: New.
1251 2014-03-25 Jonathan Wakely <jwakely@redhat.com>
1254 * include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()):
1255 Use sizeof pointer type not the element type.
1256 * testsuite/29_atomics/atomic/60658.cc: New.
1258 2014-03-24 Jakub Jelinek <jakub@redhat.com>
1260 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
1261 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1262 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1263 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1264 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1265 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1266 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1267 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1268 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
1269 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Remove TLS
1272 2014-03-23 John David Anglin <danglin@gcc.gnu.org>
1274 * testsuite/23_containers/bitset/45713.cc: Skip compile on hppa*64*-*-*.
1276 2014-03-23 François Dumont <fdumont@gcc.gnu.org>
1278 * include/bits/hashtable.h (_Hashtable(allocator_type)): Fix call
1279 to delegated constructor.
1280 (_Hashtable(size_type, _H1, key_equal, allocator_type)): Likewise.
1281 (_Hashtable<_It>(_It, _It, size_type, _H1, key_equal, allocator_type)):
1284 initializer_list, size_type, _H1, key_equal, allocator_type)): Likewise.
1286 2014-03-23 John David Anglin <danglin@gcc.gnu.org>
1289 * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update.
1291 2014-03-21 Jonathan Wakely <jwakely@redhat.com>
1294 * include/debug/functions.h (_Is_contiguous_sequence): Define.
1295 (__foreign_iterator): Accept additional iterator. Do not dispatch on
1297 (__foreign_iterator_aux2): Likewise. Add overload for iterators
1298 from different types of debug container. Use _Is_contiguous_sequence
1299 instead of is_lvalue_reference.
1300 (__foreign_iterator_aux3): Accept additional iterator. Avoid
1301 dereferencing past-the-end iterator.
1302 (__foreign_iterator_aux4): Use const value_type* instead of
1303 potentially user-defined const_pointer type.
1304 * include/debug/macros.h (__glibcxx_check_insert_range): Fix comment
1305 and pass end iterator to __gnu_debug::__foreign_iterator.
1306 (__glibcxx_check_insert_range_after): Likewise.
1307 (__glibcxx_check_max_load_factor): Fix comment.
1308 * include/debug/vector (_Is_contiguous_sequence): Define partial
1310 * testsuite/23_containers/vector/debug/57779_neg.cc: Remove
1311 -std=gnu++11 option and unused header.
1312 * testsuite/23_containers/vector/debug/60587.cc: New.
1313 * testsuite/23_containers/vector/debug/60587_neg.cc: New.
1315 2014-03-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1317 * crossconfig.m4: Support spu-*-elf* targets.
1318 * configure: Regenerate.
1320 2014-03-18 Jonathan Wakely <jwakely@redhat.com>
1323 * include/std/future (__future_base::_Task_state<>): Change
1324 constructors to template functions using perfect forwarding.
1325 (__create_task_state): Use decayed type as stored task.
1326 (packaged_task::packaged_task(_Fn&&)): Forward instead of moving.
1327 * testsuite/30_threads/packaged_task/60564.cc: New.
1329 2014-03-16 François Dumont <fdumont@gcc.gnu.org>
1331 * scripts/create_testsuite_files: Add testsuite/experimental in
1332 the list of folders to search for tests.
1334 2014-03-15 Andreas Schwab <schwab@linux-m68k.org>
1336 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: New file.
1338 2014-03-15 Tim Shen <timshen91@gmail.com>
1340 * include/bits/regex.h: Add/modify comments.
1341 * include/bits/regex_compiler.h: Likewise.
1342 * include/bits/regex_executor.h: Likewise.
1343 * include/bits/regex_executor.tcc: Likewise.
1344 * include/bits/regex_scanner.h: Likewise.
1346 2014-03-14 Jonathan Wakely <jwakely@redhat.com>
1349 * config/abi/pre/gnu.ver (GLIBCXX_3.4.11): Remove unused pattern for
1350 _ZNSt12system_errorC* symbols which are not exported on any target.
1352 2014-03-12 Roland McGrath <mcgrathr@google.com>
1353 Mark Seaborn <mseaborn@google.com>
1356 * libsupc++/eh_call.cc (__cxa_call_unexpected): Call __do_catch with
1357 the address of a null pointer, not with a null pointer to pointer.
1358 Copy comment for this case from eh_personality.cc:__cxa_call_unexpected.
1359 * testsuite/18_support/bad_exception/59392.cc: New file.
1361 2014-03-11 Jonathan Wakely <jwakely@redhat.com>
1364 * include/debug/forward_list (forward_list::operator=(forward_list&&)):
1366 * include/debug/map (map::operator=(map&&)): Likewise.
1367 * include/debug/multimap (multimap::operator=(multimap&&)): Likewise.
1368 * include/debug/multiset (multiset::operator=(multiset&&)): Likewise.
1369 * include/debug/set (set::operator=(set&&)): Likewise.
1370 * include/debug/unordered_map
1371 (unordered_map::operator=(unordered_map&&)): Likewise.
1372 (unordered_multimap::operator=(unordered_multimap&&)): Likewise.
1373 * include/debug/unordered_set
1374 (unordered_set::operator=(unordered_set&&)): Likewise.
1375 (unordered_multiset::operator=(unordered_multiset&&)): Likewise.
1376 * include/debug/vector (vector::operator=(vector&&)): Likewise.
1377 * testsuite/23_containers/forward_list/debug/60499.cc: New
1378 * testsuite/23_containers/map/debug/60499.cc: New
1379 * testsuite/23_containers/multimap/debug/60499.cc: New
1380 * testsuite/23_containers/multiset/debug/60499.cc: New
1381 * testsuite/23_containers/set/debug/60499.cc: New
1382 * testsuite/23_containers/unordered_map/debug/60499.cc: New
1383 * testsuite/23_containers/unordered_multimap/debug/60499.cc: New
1384 * testsuite/23_containers/unordered_multiset/debug/60499.cc: New
1385 * testsuite/23_containers/unordered_set/debug/60499.cc: New
1386 * testsuite/23_containers/vector/debug/60499.cc: New
1388 2014-03-05 Ed Smith-Rowland <3dw4rd@verizon.net>
1390 * doc/xml/manual/status_cxx2014.xml: Add new items and latest papers
1391 for filesystem and fundamentals TS work items.
1393 2014-03-04 Paolo Carlini <paolo.carlini@oracle.com>
1396 * testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc:
1397 Adjust dg-error directives.
1399 2014-02-26 Tim Shen <timshen91@gmail.com>
1401 * include/bits/regex.tcc (match_results<>::format,
1402 regex_replace<>): Update __out after calling std::copy.
1403 * testsuite/28_regex/algorithms/regex_replace/char/dr2213.cc:
1405 * testsuite/28_regex/match_results/format.cc: Likewise.
1407 2014-02-22 Marc Glisse <marc.glisse@inria.fr>
1410 * include/bits/stl_deque.h (_Deque_base::_Deque_base(const
1411 allocator_type&)): Remove redundant call to _M_initialize_map.
1412 (deque::deque(const allocator_type&)): Initialize _Base with a
1413 constructor that calls _M_initialize_map.
1417 2013-09-20 Marc Glisse <marc.glisse@inria.fr>
1419 (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to
1422 2014-02-21 Ed Smith-Rowland <3dw4rd@verizon.net>
1424 Rename testsuite directory shared_mutex to shared_timed_mutex
1426 * testsuite/30_threads/shared_mutex: Moved to...
1427 * testsuite/30_threads/shared_timed_mutex: ...here
1429 2014-02-20 Ed Smith-Rowland <3dw4rd@verizon.net>
1431 Rename shared_mutex to shared_timed_mutex per C++14 acceptance of N3891.
1432 * include/std/shared_mutex: Rename shared_mutex to shared_timed_mutex.
1433 * testsuite/30_threads/shared_lock/locking/2.cc: Ditto.
1434 * testsuite/30_threads/shared_lock/locking/4.cc: Ditto.
1435 * testsuite/30_threads/shared_lock/locking/1.cc: Ditto.
1436 * testsuite/30_threads/shared_lock/locking/3.cc: Ditto.
1437 * testsuite/30_threads/shared_lock/requirements/
1438 explicit_instantiation.cc: Ditto.
1439 * testsuite/30_threads/shared_lock/requirements/typedefs.cc: Ditto.
1440 * testsuite/30_threads/shared_lock/cons/2.cc: Ditto.
1441 * testsuite/30_threads/shared_lock/cons/4.cc: Ditto.
1442 * testsuite/30_threads/shared_lock/cons/1.cc: Ditto.
1443 * testsuite/30_threads/shared_lock/cons/6.cc: Ditto.
1444 * testsuite/30_threads/shared_lock/cons/3.cc: Ditto.
1445 * testsuite/30_threads/shared_lock/cons/5.cc: Ditto.
1446 * testsuite/30_threads/shared_lock/modifiers/2.cc: Ditto.
1447 * testsuite/30_threads/shared_lock/modifiers/1.cc: Ditto.
1448 * testsuite/30_threads/shared_mutex/requirements/
1449 standard_layout.cc: Ditto.
1450 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: Ditto.
1451 * testsuite/30_threads/shared_mutex/cons/1.cc: Ditto.
1452 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: Ditto.
1453 * testsuite/30_threads/shared_mutex/try_lock/2.cc: Ditto.
1454 * testsuite/30_threads/shared_mutex/try_lock/1.cc: Ditto.
1456 2014-02-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1458 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail
1459 execution on i?86-*-solaris2.9, remove comment.
1460 * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
1462 2014-02-09 Richard Sandiford <rdsandiford@googlemail.com>
1464 * config/abi/post/mips64-linux-gnu/32/baseline_symbols.txt: New file.
1465 * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: Update.
1466 * config/abi/post/mips64-linux-gnu/64/baseline_symbols.txt: Likewise.
1468 2014-01-29 Jonathan Wakely <jwakely@redhat.com>
1470 * include/bits/alloc_traits.h (allocator_traits::_S_allocate): Do
1471 not use varargs when argument could be non-POD.
1472 (__alloctr_rebind_helper): Eliminate static const bool member by
1473 using true_type and false_type.
1474 (allocator_traits::__allocate_helper): Likewise.
1475 (allocator_traits::__construct_helper): Likewise.
1476 (allocator_traits::__destroy_helper): Likewise.
1477 (allocator_traits::__maxsize_helper): Likewise.
1478 (allocator_traits::__select_helper): Likewise.
1479 * include/bits/ptr_traits.h (__ptrtr_rebind_helper): Likewise.
1480 * include/bits/stl_tree.h (_Rb_tree::operator=(const _Rb_tree&)):
1481 Remove redundant condition.
1482 * include/bits/stl_vector.h (vector::operator=(const vector&)):
1484 (_Vector_impl::_M_allocate, _Vector_impl::_M_deallocate): Use
1485 indirection through __alloc_traits.
1486 * include/ext/alloc_traits.h (__allocator_always_compares_equal):
1487 Eliminate static const bool members by using true_type and false_type.
1488 (__gnu_cxx::__alloc_traits::__is_custom_pointer): Optimize.
1489 * testsuite/util/testsuite_allocator.h (PointerBase): Define.
1490 * testsuite/20_util/allocator_traits/members/allocate_hint_nonpod.cc:
1492 * testsuite/20_util/allocator_traits/requirements/typedefs2.cc: New.
1495 * include/bits/stl_vector.h (vector::data()): Call _M_data_ptr.
1496 (vector::_M_data_ptr): New overloaded functions to ensure empty
1497 vectors do not dereference the pointer.
1498 * testsuite/23_containers/vector/59829.cc: New.
1499 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1500 Adjust dg-error line number.
1501 * testsuite/23_containers/vector/requirements/dr438/
1502 constructor_1_neg.cc: Likewise.
1503 * testsuite/23_containers/vector/requirements/dr438/
1504 constructor_2_neg.cc: Likewise.
1505 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1509 * include/ext/array_allocator.h: Add deprecated attribute.
1512 * doc/xml/manual/debug.xml (debug.gdb): Update documentation for
1513 installation and use of python printers.
1514 * doc/xml/manual/status_cxx2011.xml: Update.
1515 * doc/html/*: Regenerate.
1517 2014-01-28 Jonathan Wakely <jwakely@redhat.com>
1518 Kyle Lippincott <spectral@google.com>
1521 * include/bits/shared_ptr.h (shared_ptr): Add new non-throwing
1522 constructor and grant friendship to weak_ptr.
1523 (weak_ptr::lock()): Use new constructor.
1524 * include/bits/shared_ptr_base.h
1525 (_Sp_counted_base::_M_add_ref_lock_nothrow()): Declare new function
1526 and define specializations.
1527 (__shared_count): Add new non-throwing constructor.
1528 (__shared_ptr): Add new non-throwing constructor and grant friendship
1530 (__weak_ptr::lock()): Use new constructor.
1531 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
1532 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
1534 2014-01-27 Jonathan Wakely <jwakely@redhat.com>
1537 * include/bits/shared_ptr_base.h
1538 (_Sp_counted_base<_S_atomic>::_M_add_ref_lock()): Use relaxed atomic
1541 2014-01-27 Jason Merrill <jason@redhat.com>
1546 * libsupc++/eh_throw.cc (__cxa_throw): Set uncaughtExceptions.
1547 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception)
1548 (__cxa_allocate_exception): Don't set it here.
1550 2014-01-26 Jonathan Wakely <jwakely@redhat.com>
1552 * include/bits/stl_map.h: Remove anachronistic comment.
1553 * include/bits/stl_multimap.h: Add whitespace.
1554 * testsuite/23_containers/map/modifiers/emplace/1.cc: Use
1555 -std=gnu++11 instead of -std=c++11.
1556 * testsuite/23_containers/map/operators/2.cc: Likewise.
1557 * testsuite/23_containers/multimap/modifiers/emplace/1.cc: Likewise.
1558 * testsuite/23_containers/multiset/modifiers/emplace/1.cc: Likewise.
1559 * testsuite/23_containers/set/modifiers/emplace/1.cc: Likewise.
1561 * acinclude.m4 (GLIBCXX_ENABLE_C99): Fix typo.
1562 * configure: Regenerate.
1564 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>
1567 * testsuite/experimental/string_view/operations/copy/char/1.cc: New.
1568 * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc: New.
1570 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>
1571 Peter A. Bigot <pab@pabigot.com>
1574 * include/experimental/string_view
1575 (copy(_CharT*, size_type, size_type) const): Correct throw string.
1576 Correct copy start location.
1578 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>
1579 Peter A. Bigot <pab@pabigot.com>
1582 * include/experimental/string_view (operator[](size_type) const):
1583 Fix one-off index error in debug check.
1584 * testsuite/experimental/string_view/element_access/char/1.cc: Don't
1585 test basic_string_view at size().
1586 * testsuite/experimental/string_view/element_access/wchar_t/1.cc: Ditto.
1588 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>
1589 Peter A. Bigot <pab@pabigot.com>
1592 * include/experimental/string_view
1593 (basic_string_view(const _CharT*, size_type)): Don't care if len == 0.
1594 * testsuite/experimental/string_view/operations/substr/char/1.cc:
1595 Comment out catch of out_of_range; No terminating null
1596 in basic_string_view. Check begin == end.
1597 * testsuite/experimental/string_view/operations/substr/wchar_t/1.cc:
1600 2014-01-24 Jonathan Wakely <jwakely@redhat.com>
1603 * include/debug/safe_base.h (_Safe_sequence_base): Define copy
1604 constructor to prevent it being implicitly defined as deleted, but
1605 do not copy anything.
1606 * include/debug/safe_unordered_base.h (_Safe_unordered_container_base):
1607 Define copy and move constructors similar to _Safe_sequence_base's.
1608 * testsuite/23_containers/unordered_map/59548.cc: New.
1610 2014-01-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
1611 Steve Ellcey <sellcey@mips.com>
1613 * acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam
1615 * configure.ac: Use GLIBCXX_CHECK_TMPNAM.
1616 * (configure, config.h.in): Regenerate.
1617 * include/c_global/cstdio: Guard ::tmpnam with _GLIBCXX_USE_TMPNAM
1619 2014-01-23 Jonathan Wakely <jwakely@redhat.com>
1621 * doc/xml/faq.xml (a-how_to_set_paths): Expand FAQ answer.
1622 * doc/xml/manual/abi.xml (abi.versioning.history): Correct symver.
1625 * include/bits/stl_map.h (map::operator=(map&&)): Fix comment.
1626 * include/bits/stl_multimap.h (multimap::operator=(multimap&&)):
1628 * include/bits/stl_multiset.h (multiset::operator=(multiset&&)):
1630 * include/bits/stl_set.h (set::operator=(set&&)): Likewise.
1631 * include/bits/stl_tree.h (_Rb_tree::_M_move_data): New overloaded
1632 functions to perform moving or copying of elements from rvalue tree.
1633 (_Rb_tree::_Rb_tree(_Rb_tree&&)): Use _M_move_data.
1634 (_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_allocator&&)): Likewise.
1635 * testsuite/23_containers/map/59872.cc: New.
1636 * testsuite/23_containers/map/56613.cc: Remove duplicate include.
1638 2014-01-22 Jonathan Wakely <jwakely@redhat.com>
1640 * include/bits/stl_deque.h (_Deque_impl): Move comment.
1643 * include/bits/stl_deque.h (deque::deque(const allocator_type&):
1644 Split into separate default constructor and constructor taking
1646 * include/bits/stl_list.h (list::list(const allocator_type&): Likewise.
1647 * include/bits/stl_vector.h (vector::vector(const allocator_type&):
1649 * include/debug/deque (deque::deque(const allocator_type&)): Likewise.
1650 * include/debug/list (list::list(const _Allocator&)): Likewise.
1651 * include/debug/map.h (map::map(const _Compare&, const _Allocator&)):
1653 * include/debug/multimap.h
1654 (multimap::multimap(const _Compare&, const _Allocator&)): Likewise.
1655 * include/debug/set.h (set::set(const _Compare&, const _Allocator&)):
1657 * include/debug/multiset.h
1658 (multiset::multiset(const _Compare&, const _Allocator&)): Likewise.
1659 * include/debug/vector (vector::vector(const allocator_type&)):
1661 * include/profile/deque (deque::deque(const _Allocator&)): Likewise.
1662 * include/profile/list (list::list(const _Allocator&)): Likewise.
1663 * include/profile/map.h
1664 (map::map(const _Compare&, const _Allocator&)): Likewise.
1665 * include/profile/multimap.h
1666 (multimap::multimap(const _Compare&, const _Allocator&)): Likewise.
1667 * include/profile/set.h
1668 (set::set(const _Compare&, const _Allocator&)): Likewise.
1669 * include/profile/multiset.h
1670 (multiset::multiset(const _Compare&, const _Allocator&)): Likewise.
1671 * include/profile/vector (vector::vector(const _Allocator&)):
1673 * testsuite/23_containers/deque/58764.cc: New.
1674 * testsuite/23_containers/list/58764.cc: New.
1675 * testsuite/23_containers/map/58764.cc: New.
1676 * testsuite/23_containers/multimap/58764.cc: New.
1677 * testsuite/23_containers/set/58764.cc: New.
1678 * testsuite/23_containers/multiset/58764.cc: New.
1679 * testsuite/23_containers/vector/58764.cc: New.
1680 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1681 Adjust dg-error line number.
1682 * testsuite/23_containers/deque/requirements/dr438/
1683 constructor_1_neg.cc: Likewise.
1684 * testsuite/23_containers/deque/requirements/dr438/
1685 constructor_2_neg.cc: Likewise.
1686 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1688 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1690 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1692 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1694 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1696 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1698 * testsuite/23_containers/vector/requirements/dr438/
1699 constructor_1_neg.cc: Likewise.
1700 * testsuite/23_containers/vector/requirements/dr438/
1701 constructor_2_neg.cc: Likewise.
1702 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1705 PR libstdc++/58764 (again)
1706 * include/bits/stl_list.h (list): Make default constructor's exception
1707 specification conditional.
1708 * include/bits/stl_vector.h (vector): Likewise.
1709 * testsuite/util/testsuite_allocator.h (SimpleAllocator): Add noexcept
1710 to default constructor.
1711 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1712 Adjust dg-error line number.
1713 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1715 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1717 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1719 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1721 * testsuite/23_containers/vector/requirements/dr438/
1722 constructor_1_neg.cc: Likewise.
1723 * testsuite/23_containers/vector/requirements/dr438/
1724 constructor_2_neg.cc: Likewise.
1725 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1728 2014-01-21 Tim Shen <timshen91@gmail.com>
1730 * include/bits/regex.tcc: Remove incorrect `nosubs` handling.
1731 * include/bits/regex_scanner.tcc: Handle `nosubs` correctly.
1732 * testsuite/28_regex/constants/syntax_option_type.cc: Add a test case.
1734 2014-01-21 Jonathan Wakely <jwakely@redhat.com>
1737 * include/bits/hashtable.h (__cache_default): Do not depend on
1738 whether the hash function is DefaultConstructible or CopyAssignable.
1739 (_Hashtable): Adjust static assertions.
1740 * doc/xml/manual/containers.xml (containers.unordered.cache): Update.
1741 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
1742 dg-error line number.
1743 * testsuite/23_containers/unordered_set/
1744 not_default_constructible_hash_neg.cc: Remove.
1746 2014-01-20 François Dumont <fdumont@gcc.gnu.org>
1748 * scripts/create_testsuite_files: Add testsuite/experimental in
1749 the list of folders to search for tests.
1750 * include/experimental/string_view
1751 (basic_string_view<>::operator[]): Comment _GLIBCXX_DEBUG_ASSERT,
1752 incompatible with constexpr qualifier.
1753 (basic_string_view<>::front()): Likewise.
1754 (basic_string_view<>::back()): Likewise.
1755 * testsuite/experimental/string_view/element_access/wchar_t/2.cc:
1756 Merge dg-options directives into one.
1757 * testsuite/experimental/string_view/element_access/char/2.cc:
1758 Likewise. Remove invalid experimental namespace scope on
1761 2014-01-20 Jonathan Wakely <jwakely@redhat.com>
1764 * include/bits/hashtable_policy.h (_Hash_code_base<... false>): Grant
1765 friendship to _Local_iterator_base<..., false>.
1766 (_Local_iterator_base): Give protected access to all existing members.
1767 (_Local_iterator_base::_M_curr()): New public accessor.
1768 (_Local_iterator_base::_M_get_bucket()): New public accessor.
1769 (_Local_iterator_base<..., false>::_M_init()): New function to manage
1770 the lifetime of the _Hash_code_base explicitly.
1771 (_Local_iterator_base<..., false>::_M_destroy()): Likewise.
1772 (_Local_iterator_base<..., false>): Define copy constructor and copy
1773 assignment operator that use new functions to manage _Hash_code_base.
1774 (operator==(const _Local_iterator_base&, const _Local_iterator_base&),
1775 operator==(const _Local_iterator_base&, const _Local_iterator_base&)):
1776 Use public API for _Local_iterator_base.
1777 * include/debug/safe_local_iterator.h (_Safe_local_iterator): Likewise.
1778 * include/debug/unordered_map (__debug::unordered_map::erase(),
1779 __debug::unordered_multimap::erase()): Likewise.
1780 * include/debug/unordered_set (__debug::unordered_set::erase(),
1781 __debug::unordered_multiset::erase()): Likewise.
1782 * testsuite/23_containers/unordered_set/56267-2.cc: New test.
1784 2014-01-19 Tim Shen <timshen91@gmail.com>
1786 * include/bits/regex_compiler.h (_Comipler<>::_M_quantifier()):
1787 Fix parse error of multiple consecutive quantifiers like "a**".
1788 * include/bits/regex_compiler.tcc (_Comipler<>::_M_quantifier()):
1790 * testsuite/28_regex/basic_regex/multiple_quantifiers.cc: New.
1792 2014-01-17 François Dumont <fdumont@gcc.gnu.org>
1794 * include/profile/set.h (set): Implement C++11 allocator-aware
1795 container requirements.
1796 * include/profile/map.h (map): Likewise.
1797 * include/profile/multiset.h (multiset): Likewise.
1798 * include/profile/multimap.h (multimap): Likewise.
1799 * include/profile/set.h
1800 (set::operator=(const set&)): Define as default in C++11 mode.
1801 (set::operator=(set&&)): Likewise.
1802 * include/profile/map.h
1803 (map::operator=(const map&)): Likewise.
1804 (map::operator=(map&&)): Likewise.
1805 * include/profile/multiset.h
1806 (multiset::operator=(const multiset&)): Likewise.
1807 (multiset::operator=(multiset&&)): Likewise.
1808 * include/profile/multimap.h
1809 (multimap::operator=(const multimap&)): Likewise.
1810 (multimap::operator=(multimap&&)): Likewise.
1811 * include/profile/set.h (set::operator=(std::initializer_list<>)):
1812 Rely on the same operator from normal mode.
1813 * include/profile/map.h (map::operator=(std::initializer_list<>)):
1815 * include/profile/multiset.h
1816 (multiset::operator=(std::initializer_list<>)): Likewise.
1817 * include/profile/multimap.h
1818 (multimap::operator=(std::initializer_list<>)): Likewise.
1819 * include/profile/set.h (set::swap(set&)): Add noexcept
1821 * include/profile/map.h (map::swap(map&)): Likewise.
1822 * include/profile/multiset.h (multiset::swap(multiset&)): Likewise.
1823 * include/profile/multimap.h (multimap::swap(multimap&)): Likewise.
1825 2014-01-17 Tim Shen <timshen91@gmail.com>
1827 * include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()): Do not
1829 * include/bits/regex_automaton.h: Do not use std::set.
1830 * include/bits/regex_compiler.h (_BracketMatcher<>::_M_add_char(),
1831 _BracketMatcher<>::_M_add_collating_element(),
1832 _BracketMatcher<>::_M_add_equivalence_class(),
1833 _BracketMatcher<>::_M_make_range()): Likewise.
1834 * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply()):
1836 * include/bits/regex_executor.h: Do not use std::queue.
1837 * include/bits/regex_executor.tcc (_Executor<>::_M_main(),
1838 _Executor<>::_M_dfs()): Likewise.
1839 * include/std/regex: Remove <map>, <set> and <queue>.
1841 2014-01-17 Tim Shen <timshen91@gmail.com>
1843 * include/bits/regex.h (__compile_nfa<>(), basic_regex<>::basic_regex(),
1844 basic_regex<>::assign()): Change __compile_nfa to accept
1846 * include/bits/regex_compiler.h: Change _Compiler's template
1847 argument from <_FwdIter, _TraitsT> to <_TraitsT>.
1848 * include/bits/regex_compiler.tcc: Likewise.
1850 2014-01-17 Tim Shen <timshen91@gmail.com>
1852 * include/bits/regex_compiler.h: Change _ScannerT into char-type
1854 * include/bits/regex_scanner.h (_Scanner<>::_Scanner()): Separate
1855 _ScannerBase from _Scanner; Change _Scanner's template argument from
1856 _FwdIter to _CharT. Avoid use of std::map and std::set by using arrays
1858 * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner(),
1859 _Scanner<>::_M_scan_normal(), _Scanner<>::_M_eat_escape_ecma(),
1860 _Scanner<>::_M_eat_escape_posix(), _Scanner<>::_M_eat_escape_awk()):
1862 * include/std/regex: Add <cstring> for using strchr.
1864 2014-01-17 Tim Shen <timshen91@gmail.com>
1866 * bits/regex_automaton.tcc: Indentation fix.
1867 * bits/regex_compiler.h (__compile_nfa<>(), _Compiler<>,
1868 _RegexTranslator<> _AnyMatcher<>, _CharMatcher<>,
1869 _BracketMatcher<>): Add bool option template parameters and
1870 specializations to make matching more efficient and space saving.
1871 * bits/regex_compiler.tcc: Likewise.
1873 2014-01-15 François Dumont <fdumont@gcc.gnu.org>
1876 * include/bits/hashtable_policy.h: Fix some long lines.
1877 * include/bits/hashtable.h (__hash_code_base_access): Define and
1878 use it to check its _M_bucket_index noexcept qualification. Use
1880 (__access_protected_ctor): ...this.
1881 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1883 * testsuite/23_containers/unordered_set/
1884 not_default_constructible_hash_neg.cc: Likewise.
1886 2014-01-13 François Dumont <fdumont@gcc.gnu.org>
1888 * include/debug/set.h (set): Implement C++11 allocator-aware
1889 container requirements.
1890 * include/debug/map.h (map): Likewise.
1891 * include/debug/multiset.h (multiset): Likewise.
1892 * include/debug/multimap.h (multimap): Likewise.
1893 * include/debug/set.h (set::operator=(set&&)): Add noexcept and
1894 fix implementation regarding management of safe iterators.
1895 * include/debug/map.h (map::operator=(map&&)): Likewise.
1896 * include/debug/multiset.h (multiset::operator=(multiset&&)): Likewise.
1897 * include/debug/multimap.h (multimap::operator=(multimap&&)):
1899 * include/debug/set.h (set::operator=(std::initializer_list<>)):
1900 Rely on the same operator from normal mode.
1901 * include/debug/map.h (map::operator=(std::initializer_list<>)):
1903 * include/debug/multiset.h
1904 (multiset::operator=(std::initializer_list<>)): Likewise.
1905 * include/debug/multimap.h
1906 (multimap::operator=(std::initializer_list<>)): Likewise.
1907 * include/debug/set.h (set::swap(set&)): Add noexcept
1908 specification, add allocator equality check.
1909 * include/debug/map.h (map::swap(map&)): Likewise.
1910 * include/debug/multiset.h (multiset::swap(multiset&)): Likewise.
1911 * include/debug/multimap.h (multimap::swap(multimap&)): Likewise.
1913 2014-01-10 Jonathan Wakely <jwakely@redhat.com>
1916 * doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup
1917 and stylistic improvements.
1918 * doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise
1919 and update for C++11.
1920 * doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise.
1923 * doc/xml/manual/backwards_compatibility.xml
1924 (backwards.third.nocreate_noreplace): Correct and expand.
1927 * doc/xml/manual/support.xml (std.support.types.null): Update links.
1929 2014-01-09 Jonathan Wakely <jwakely@redhat.com>
1932 * include/bits/stl_vector.h (vector<>::_M_move_assign): Restore
1933 support for non-Movable types.
1936 * src/c++11/thread.cc (__sleep_for): Fix call to ::sleep.
1938 2014-01-08 François Dumont <fdumont@gcc.gnu.org>
1940 * include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
1941 *this allocator instance when building temporary vector instance
1942 so that *this allocator does not get moved.
1943 * include/debug/safe_base.h
1944 (_Safe_sequence_base(_Safe_sequence_base&&)): New.
1945 * include/debug/vector (__gnu_debug::vector<>(vector&&)): Use new
1946 move constructor from _Safe_sequence_base.
1947 (__gnu_debug::vector<>(vector&&, const allocator_type&)): Swap
1948 safe iterators if the instance is moved.
1949 (__gnu_debug::vector<>::operator=(vector&&)): Likewise.
1950 * testsuite/23_containers/vector/allocator/move.cc (test01): Add
1951 check on a vector iterator.
1952 * testsuite/23_containers/vector/allocator/move_assign.cc
1954 (test03): New, test with a non-propagating allocator.
1955 * testsuite/23_containers/vector/debug/move_assign_neg.cc: New.
1957 2014-01-07 Tim Shen <timshen91@gmail.com>
1959 * include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(),
1960 _AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(),
1961 _CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(),
1962 _BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(),
1963 _BracketMatcher<>::_M_add_char(),
1964 _BracketMatcher<>::_M_add_collating_element(),
1965 _BracketMatcher<>::_M_add_equivalence_class(),
1966 _BracketMatcher<>::_M_add_character_class(),
1967 _BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(),
1968 _BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()):
1969 Fix _AnyMatcher behavior of POSIX style and move _M_flags
1970 to template parameter; Add cache for _BracketMatcher. Adjust
1971 declarations from here...
1972 * include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also,
1973 imbuing a regex will trigger a recompilation to rebuild the cache.
1974 * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(),
1975 _Compiler<>::_M_bracket_expression()): Adjust matchers' caller for
1976 different template bool parameters.
1977 * include/bits/regex_executor.h: Remove unnecessary declarations.
1978 * include/std/regex: Adjust including orders.
1979 * testsuite/28_regex/traits/char/user_defined.cc: New.
1980 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New.
1982 2014-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1984 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
1985 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
1986 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1987 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1988 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1990 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1992 Update copyright years
1994 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1996 * testsuite/18_support/new_handler.cc,
1997 testsuite/18_support/terminate_handler.cc,
1998 testsuite/18_support/unexpected_handler.cc: Use the standard form for
1999 the copyright notice.
2001 Copyright (C) 2014 Free Software Foundation, Inc.
2003 Copying and distribution of this file, with or without modification,
2004 are permitted in any medium without royalty provided the copyright
2005 notice and this notice are preserved.