* doc/extend.texi: Fix errors in x86 FMA builtin naming.
[official-gcc.git] / libstdc++-v3 / ChangeLog
blob6eab7c7300a780cbebd2d44888c36fc7d3d570ac
1 2013-09-11  Mitsuru Kariya  <kariya_mitsuru@hotmail.com>
2             Chris Jefferson  <chris@bubblescope.net>
4         PR libstdc++/58358
5         * include/bits/stl_algo.h (search_n): Fix to guarantee a number
6         of comparisons <= number of elements in the range.
7         * testsuite/25_algorithms/search_n/58358.cc: New.
8         * testsuite/25_algorithms/search_n/iterator.cc: Extend.
10 2013-09-10  Ed Smith-Rowland  <3dw4rd@verizon.net>
12         * testsuite/28_regex/traits/wchar_t/value.cc: Change template args
13         from char to wchar_t, literals from 'x' to L'x'.
15 2013-09-10  Kai Tietz  <ktietz@redhat.com>
17         PR libstdc++/54314
18         * config/abi/pre/gnu-versioned-namespace.ver: Add thunk _ZTv0_n12_NS*
19         like in gnu.ver.
21 2013-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
23         PR libstdc++/58341
24         * include/bits/stl_algobase.h (copy_backward): Fix documentation
25         per DR 1206.
27 2013-09-05  Tim Shen  <timshen91@gmail.com>
29         * include/bits/regex_automaton.h: Add dummy node type. Rewrite
30         _StateSeq.
31         * include/bits/regex_automaton.tcc: Implement them.
32         * include/bits/regex_compiler.h: Rewrite _Compiler to use new
33         _StateSeq interfaces.
34         * include/bits/regex_compiler.tcc: Implement them.
35         * include/bits/regex_scanner.h: Add word boundry assertion token.
36         * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_ecma):
37         Support word boundry.
38         * testsuite/28_regex/algorithms/regex_match/basic/
39         string_range_02_03.cc: Remove "xfail".
40         * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
41         Likewise.
42         * testsuite/28_regex/algorithms/regex_match/extended/
43         string_range_02_03.cc: Likewise.
44         * testsuite/28_regex/algorithms/regex_match/extended/
45         cstring_questionmark.cc: Remove xfail and get correct length of
46         c-string.
47         * testsuite/28_regex/algorithms/regex_match/extended/
48         string_range_00_03.cc: Likewise.
49         * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
50         New.
51         * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
52         New.
53         * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc: New.
55 2013-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
57         PR libstdc++/58302
58         * include/bits/random.tcc (negative_binomial_distribution<>::
59         operator()(_UniformRandomNumberGenerator&, const param_type&)):
60         Fix typo in template argument.
61         * testsuite/26_numerics/random/negative_binomial_distribution/
62         operators/58302.cc: New.
64 2013-09-02  Tim Shen  <timshen91@gmail.com>
66         * regex_automaton.h: Rearrange _NFA's layout.
67         * include/bits/regex_compiler.h: Add _AnyMatcher and _CharMatcher.
68           Rearrange _BracketMatcher's layout.
69           (_BracketMatcher<>::_M_add_char): Use set instead of vector for
70           _M_char_set.
71           (_BracketMatcher<>::_M_add_collating_element): Likewise.
72           (_BracketMatcher<>::_M_make_range): Likewise.
73         * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom): Use
74           apropriate constructors of matchers above.
75         * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
76           New.
77         * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: New.
78         * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
79           New.
80         * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
81           New.
82         * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: New.
83         * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
84           New.
85         * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: New.
87 2013-08-30  François Dumont  <fdumont@gcc.gnu.org>
89         PR libstdc++/58148
90         * include/debug/functions.h (__foreign_iterator_aux4): Use
91         sequence const_pointer as common type to compare pointers. Add a
92         fallback overload in case pointers cannot be cast to sequence
93         const_pointer.
94         * testsuite/23_containers/vector/modifiers/insert/58148.cc: New.
96 2013-08-30  François Dumont  <fdumont@gcc.gnu.org>
98         PR libstdc++/58191
99         * include/debug/macros.h (__glibcxx_check_partitioned_lower): Add
100         __gnu_debug::__base calls on iterators passed to internal debug
101         check.
102         (__glibcxx_check_partitioned_lower_pred): Likewise.
103         (__glibcxx_check_partitioned_upper): Likewise.
104         (__glibcxx_check_partitioned_upper_pred): Likewise.
105         (__glibcxx_check_sorted): Likewise.
106         (__glibcxx_check_sorted_pred): Likewise.
107         (__glibcxx_check_sorted_set): Likewise.
108         (__glibcxx_check_sorted_set_pred): Likewise.
109         * include/debug/functions.h (__check_partitioned_lower):
110         Remove code to detect safe iterators.
111         (__check_partitioned_upper): Likewise.
112         (__check_sorted): Likewise.
114 2013-08-29  Tim Shen  <timshen91@gmail.com>
116         * include/bits/regex.h (basic_regex<>::assign): Don't lose _M_traits.
117           (regex_iterator<>::regex_iterator): Return nullptr when regex_search
118              failed.
119           (regex_token_iterator<>::_M_end_of_seq): Should be defined true when
120             _M_result is(not isn't) nullptr.
121         * include/bits/regex_compiler.h: Store _Compiler::_M_traits by reference
122           instead of by value.
123         * include/bits/regex_executor.h (_DFSExecutor<>::_DFSExecutor): Add
124           _M_traits to _DFSExecutor.
125         * include/bits/regex_executor.tcc (__get_executor<>): Pass traits to
126           _DFSExecutor too.
127         * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
128           New.
129         * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
130           wstring_02.cc: New.
132 2013-08-26  Tim Shen  <timshen91@gmail.com>
134         * include/Makefile.am: Add regex_scanner.{h,tcc}.
135         * include/Makefile.in: Regenerate.
136         * include/bits/regex.h (match_search): Handle the `__first == __last`
137           situation correctly.
138         * include/bits/regex_compiler.h: Move _Scanner...
139         * include/bits/regex_scanner.h: ...to here. New.
140         * include/bits/regex_compiler.tcc: Move _Scanner...
141         * include/bits/regex_scanner.tcc: ...to here, too. New.
142         * include/bits/regex_executor.tcc: Use value instead of reference for
143           submatch.
144         * include/std/regex: Add regex_scanner.h
145         * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: New.
146         * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: New.
147         * testsuite/28_regex/algorithms/regex_match/ecma/cstring_hex.cc: New.
148         * testsuite/28_regex/algorithms/regex_match/ecma/empty_range.cc: New.
149         * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: New.
151 2013-08-22  Tim Shen  <timshen91@gmail.com>
153         * include/bits/regex.h: Replace 8 spaces in indentation with a tab.
154         * include/bits/regex_automaton.h: Same.
155         * include/bits/regex_automaton.tcc: Same.
156         * include/bits/regex_compiler.h: Same.
157         * include/bits/regex_compiler.tcc: Same.
158         * include/bits/regex_constants.h: Same.
159         * include/bits/regex_executor.h: Same.
160         * include/bits/regex_executor.tcc: Same.
162 2013-08-22  Tim Shen  <timshen91@gmail.com>
164         * include/bits/regex.h: Executor caller.
165         * include/bits/regex_executor.h: Fix empty grouping problem.
166         * include/bits/regex_executor.tcc: Same.
167         * testsuite/28_regex/algorithms/regex_match/ecma/cstring_emptygroup.cc:
168           New.
170 2013-08-20  Phil Muldoon  <pmuldoon@redhat.com>
172         PR libstdc++/53477
173         http://sourceware.org/bugzilla/show_bug.cgi?id=15195
175         * python/libstdcxx/v6/printers.py (Printer.__call__): If a value
176         is a reference, fetch referenced value.
177         (RxPrinter.invoke): Ditto.
178         * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add -O0
179         flag. Add referenced value tests.
181 2013-08-20  Tim Shen  <timshen91@gmail.com>
183         * include/bits/regex_constants.h: Add underlying `unsigned int` for
184           enum syntax_option_type.
186 2013-08-18  Tim Shen  <timshen91@gmail.com>
188         * include/bits/regex_automaton.h: _S_opcode_backref.
189         * include/bits/regex_automaton.tcc: Backref automaton support.
190         * include/bits/regex_compiler.tcc: Parsing support.
191         * include/bits/regex_executor.h: Add _M_traits for _DFSExecutor.
192         * include/bits/regex_executor.tcc: Add _S_opcode_backref support.
193         * testsuite/28_regex/algorithms/regex_match/ecma/string_backref.cc: New.
195 2013-08-16  Tim Shen  <timshen91@gmail.com>
197         * include/bits/regex.h (regex_traits<>::transform_primary):
198         Avoid past-the-end dereferences.
200 2013-08-14  Paolo Carlini  <paolo.carlini@oracle.com>
202         PR libstdc++/58163
203         * include/bits/basic_string.h (basic_string<>::operator[]): Fix
204         _GLIBCXX_DEBUG_PEDASSERT check vs C++11.
205         * include/ext/vstring.h: Likewise.
206         * testsuite/21_strings/basic_string/element_access/char/58163.cc:
207         New.
208         * testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc:
209         Likewise.
210         * testsuite/ext/vstring/element_access/char/58163.cc: Likewise.
211         * testsuite/ext/vstring/element_access/wchar_t/58163.cc: Likewise.
213 2013-08-14  Uros Bizjak  <ubizjak@gmail.com>
215         * src/c++98/compatibility.cc (_ZTIe): Use
216         reinterpret_cast<const cast *> to avoid -Wcast-qual warnings.
217         (_ZTIPe): Ditto.
218         (ZTIPKe): Ditto.
220 2013-08-09  Tim Shen  <timshen91@gmail.com>
222         * include/bits/regex_constants.h: Change syntax_option_type to enum
223         type.
225 2013-08-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
227         * include/bits/regex.h: Replace _A, _B, _C, _R by _Ap, _Bp, _Cp, _Rp.
229 2013-08-08  François Dumont  <fdumont@gcc.gnu.org>
231         * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
232         (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
233         _Hashtable.
234         (_Before_begin<>): Remove.
235         * include/bits/hashtable.h (_Hashtable): Inherit from
236         _Hashtable_alloc and adapt. Restore _M_before_begin field.
237         * src/c++11/hashtable_c++0x.cc: Add ext/alloc_traits.h include.
238         * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
239         access to hashtable before begin.
240         * testsuite/23_containers/unordered_set/
241         not_default_constructible_hash_neg.cc: Adapt dg-error line number.
242         * testsuite/23_containers/unordered_set/instantiation_neg.cc:
243         Likewise.
245 2013-08-07  Tim Shen  <timshen91@gmail.com>
247         * include/Makefile.am: Adjust to new files.
248         * include/Makefile.in: Regenerate.
249         * include/bits/regex.h: Adjust to new interfaces.
250         * include/bits/regex_automaton.h: New.
251         * include/bits/regex_automaton.tcc: New.
252         * include/bits/regex_compiler.h: Adjust to new files.
253         * include/bits/regex_compiler.tcc: New.
254         * include/bits/regex_constants.h: Tail spaces.
255         * include/bits/regex_error.h: Likewise.
256         * include/bits/regex_executor.h: New.
257         * include/bits/regex_executor.tcc: New.
258         * include/std/regex: Adjust to new files.
259         * testsuite/28_regex/algorithms/regex_match/extended/
260         string_dispatch_01.cc: Adjust to new interfaces.
262 2013-08-07  Paolo Carlini  <paolo.carlini@oracle.com>
264         * include/ext/atomicity.h: Add #pragma GCC system_header.
266 2013-08-07  Paolo Carlini  <paolo.carlini@oracle.com>
268         PR libstdc++/58098
269         * include/bits/random.h (cauchy_distribution<>::min,
270         extreme_value_distribution<>::min, normal_distribution<>::min,
271         student_t_distribution<>::min): Fix.
272         * include/ext/random (normal_mv_distribution<>::min): Likewise.
273         * testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
274         Adjust.
275         testsuite/26_numerics/random/cauchy_distribution/cons/default.cc:
276         Likewise.
277         * testsuite/26_numerics/random/extreme_value_distribution/cons/
278         parms.cc: Likewise.
279         testsuite/26_numerics/random/extreme_value_distribution/cons/
280         default.cc: Likewise.
281         * testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
282         Likewise.
283         * testsuite/26_numerics/random/normal_distribution/cons/default.cc:
284         Likewise.
285         * testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
286         Likewise.
287         * testsuite/26_numerics/random/student_t_distribution/cons/default.cc:
288         Likewise.
289         * testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
290         * testsuite/ext/random/normal_mv_distribution/cons/default.cc: Likewise.
292         * testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
293         Minor tweak.
294         * testsuite/26_numerics/random/exponential_distribution/cons/default.cc:
295         Likewise.
297         * testsuite/ext/von_mises_distribution/*: Move to...
298         * testsuite/ext/random/von_mises_distribution/*: ... here.
299         * testsuite/ext/triangular_distribution/*: Move to...
300         * testsuite/ext/random/triangular_distribution/*: ... here.
302 2013-08-06  Caroline Tice  <cmtice@google.com>
304         * fragment.am: Add XTEMPLATE_FLAGS.
305         * configure.ac: Add definitions for --enable-vtable-verify.
306         * acinclude.m4:  Add --enable-vtable-verify and
307         --disable-vtable-verify; define --enable-vtable-verify; define
308         VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
309         * config/abi/pre/gnu.ver: Export symbols for vtable verification.
310         * libsupc++/Makefile.am: Define vtv_sources and add it to
311         libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
312         * libsupc++/vtv_stubs.cc: New file.
313         * include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
314         * src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
315         VTV_CXXLINKFLAGS to CXXLINK.
316         * src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
317         to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
318         * src/C++11/Makefile.am: Ditto.
319         * doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
320         * scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
321         cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
322         * testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
323         libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
324         cxxvtvflags to cxx_final.
325         * testsuite/18_support/bad_exception/23591_thread-1.c: Add
326         -fvtable-verify=none to compiler flags.
327         * testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
328         to compiler flags.
329         * configure: Regenerated.
330         * Makefile.in: Regenerated.
331         * python/Makefile.in: Regenerated.
332         * include/Makefile.in: Regenerated.
333         * libsupc++/Makefile.in: Regenerated.
334         * config.h.in: Regenerated.
335         * po/Makefile.in: Regenerated.
336         * src/Makefile.in: Regenerated.
337         * src/c++98/Makefile.in: Regenerated.
338         * src/c++11/Makefile.in: Regenerated.
339         * doc/Makefile.in: Regenerated.
340         * testsuite/Makefile.in: Regenerated.
342 2013-08-06  Paolo Carlini  <paolo.carlini@oracle.com>
344         Revert the last commit.
346 2013-08-06  François Dumont  <fdumont@gcc.gnu.org>
348         * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
349         (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
350         _Hashtable.
351         (_Before_begin<>): Remove.
352         * include/bits/hashtable.h (_Hashtable): Inherit from
353         _Hashtable_alloc and adapt. Restore _M_before_begin field.
354         * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
355         access to hashtable before begin.
356         * testsuite/23_containers/unordered_set/
357         not_default_constructible_hash_neg.cc: Adapt dg-error line number.
358         * testsuite/23_containers/unordered_set/instantiation_neg.cc:
359         Likewise.
361 2013-08-03  Tim Shen  <timshen91@gmail.com>
363         Implement bracket expression.
364         * include/bits/regex.h: Remove constexpr from "|=", etc.
365         * include/bits/regex_compiler.h: Parse bracket expression.
366         * include/bits/regex_nfa.h: _Comparator and _BracketMatcher(old
367         _RangeMatcher).
368         * include/bits/regex_nfa.tcc: Implement them.
369         * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
370         from regex_search to regex_match.
371         * testsuite/28_regex/algorithms/regex_match/extended/
372         cstring_bracket_01.cc: New.
374 2013-08-02  Paolo Carlini  <paolo.carlini@oracle.com>
376         * include/debug/functions.h (__foreign_iterator_aux4):
377         Initialize __l and __ge.
379 2013-08-02  Paolo Carlini  <paolo.carlini@oracle.com>
381         PR libstdc++/58049
382         * include/debug/functions.h: Include <bits/move.h>; minor formatting
383         changes.
384         (__foreign_iterator_aux4): Declare __l and __ge constexpr.
385         * include/debug/safe_iterator.h (_Safe_iterator<>::operator->):
386         Use __addressof.
387         * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
388         operator->): Likewise.
390 2013-08-01  François Dumont  <fdumont@gcc.gnu.org>
392         PR libstdc++/57779
393         * include/debug/formatter.h (_Debug_msg_id): Add
394         __msg_insert_itself_range entry.
395         * include/debug/functions.h (_Insert_range_from_self_is_safe<>):
396         New, indicate container types supporting self range insertion in
397         GNU implementation.
398         (__foreign_iterator): New, check if an iterator points to a given
399         sequence.
400         * include/debug/macros.h (__glibcxx_check_insert_range): Add check
401         using __foreign_iterator.
402         (__gibcxx_check_insert_range_after): Likewise.
403         * include/debug/string (_Insert_range_from_self_is_safe<>):
404         Partially specialized to mark __gnu_debug::basic_string<> as
405         supporting self range insert.
406         * include/debug/list (_Insert_range_from_self_is_safe<>):
407         Partially specialized to mark std::list as supporting self range
408         insert if _GLIBCXX_DEBUG_PEDANTIC is not defined.
409         * include/debug/forward_list (_Insert_range_from_self_is_safe<>):
410         Likewise.
411         * src/c++11/debug.cc (_S_debug_messages): Add
412         __msg_insert_itself_range_entry message.
413         (_Error_formatter::_Parameter::_M_print_description): Display
414         iterator sequence address rather than sequence address when the
415         parameter type is an iterator.
416         (_Error_formatter::_M_print_word): Enhance behavior when
417         displaying a word with an appended '\n'.
418         * testsuite/util/debug/checks.h (check_insert4<>): New.
419         * testsuite/23_containers/deque/debug/insert5_neg.cc: New.
420         * testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise.
421         * testsuite/23_containers/vector/debug/insert6_neg.cc: Likewise.
422         * testsuite/23_containers/vector/debug/57779_neg.cc: Likewise.
423         * testsuite/23_containers/list/debug/insert5_neg.cc: Likewise.
424         * testsuite/23_containers/forward_list/debug/insert_after4_neg.cc:
425         Likewise.
427 2013-08-01  Fabien Chêne  <fabien@gcc.gnu.org>
429         PR c++/54537
430         * include/tr1/cmath: Remove pow(double,double) overload, remove a
431         duplicated comment about DR 550. Add a comment to explain the
432         issue.
433         * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New.
435 2013-07-31  Tim Shen  <timshen91@gmail.com>
437         Thompson matcher refactored. Fix grouping problem.
438         * include/bits/regex.h: Use a dispatcher _M_get_matcher().
439         * include/bits/regex_compiler.h: Tweak for auto switching.
440         * include/bits/regex_grep_matcher.h: Class structure.
441         * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
442         matcher) refactoring.
443         * include/bits/regex_nfa.h: Change _Results's interfaces.
444         * include/std/regex: Includes <map> and <queue>.
445         * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
446         For both matchers.
447         * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
448         For both matchers.
449         * testsuite/28_regex/algorithms/regex_match/extended/
450         string_dispatch_01.cc: New.
452 2013-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
454         PR libstdc++/56627
455         * include/bits/stl_bvector.h: Use friend struct hash intead of
456         friend class hash to work around useless warnings produced by
457         some compilers.
458         * include/std/bitset: Likewise.
460 2013-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
462         * src/c++11/functexcept.cc: Do not include the whole <regex>.
463         * src/c++11/regex.cc: Likewise.
465 2013-07-31  Tim Shen  <timshen91@gmail.com>
467         Revert last commit.
469 2013-07-31  Tim Shen  <timshen91@gmail.com>
471         Thompson matcher refactored. Fix grouping problem.
472         * include/bits/regex.h: Use a dispatcher _M_get_matcher().
473         * include/bits/regex_compiler.h: Tweak for auto switching.
474         * include/bits/regex_grep_matcher.h: Class structure.
475         * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
476         matcher) refactoring.
477         * include/bits/regex_nfa.h: Change _Results's interfaces.
478         * include/std/regex: Includes <map> and <queue>.
479         * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
480         For both matchers.
481         * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
482         For both matchers.
483         * testsuite/28_regex/algorithms/regex_match/extended/
484         string_dispatch_01.cc: New.
486 2013-07-30  Paolo Carlini  <paolo.carlini@oracle.com>
488         Revert last commit.
490 2013-07-30  Tim Shen  <timshen91@gmail.com>
492         Thompson matcher refactored. Fix grouping problem.
493         * include/bits/regex.h: Use a dispatcher _M_get_matcher().
494         * include/bits/regex_compiler.h: Tweak for auto switching.
495         * include/bits/regex_grep_matcher.h: Class structure.
496         * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
497         matcher) refactoring.
498         * include/bits/regex_nfa.h: Change _Results's interfaces.
499         * include/std/regex: Includes <map> and <queue>.
500         * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
501         For both matchers.
502         * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
503         For both matchers.
504         * testsuite/28_regex/algorithms/regex_match/extended/
505         string_dispatch_01.cc: New.
507 2013-07-29  Nathan Froyd  <froydnj@gcc.gnu.org>
509         * include/std/atomic (compare_exchange_weak, compare_exchange_strong):
510         Add call to __cmpexch_failure_order.
511         * testsuite/util/testsuite_common_types.h
512         (compare_exchange_order_lowering): New generator.
513         * testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc:
514         New test.
516 2013-07-25  Paolo Carlini  <paolo.carlini@oracle.com>
518         * include/std/complex (pow(const complex<>&, int)): Enable in
519         C++11 mode too.
520         * testsuite/26_numerics/complex/dr844.cc: Adjust.
521         * doc/xml/manual/intro.xml: Update.
523 2013-07-25  Tim Shen  <timshen91@gmail.com>
525         Add documents and comments.
526         * include/bits/regex.h: Documents and comments.
527         * include/bits/regex_grep_matcher.h: Likewise.
528         * include/bits/regex_grep_matcher.tcc: Likewise.
529         * testsuite/28_regex/iterators/regex_iterator/char/
530         string_position_01.cc: New.
532 2013-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
534         PR libstdc++/57976
535         * doc/xml/manual/status_cxx2011.xml: Note missing time_get::get and
536         time_get::do_get.
538 2013-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
540         * include/bits/random.h (random_device): Avoid using the FILE type.
541         * include/std/random: Do not include <cstdio>.
542         * src/c++11/random.cc: ... include it here.
543         (random_device::_M_init, random_device::_M_fini,
544         random_device::_M_getval): Cast back and forth void* and FILE*.
546 2013-07-24  Tim Shen  <timshen91@gmail.com>
548         Reimplment matcher using Depth-first search(backtracking).
549         PR libstdc++/53622
550         PR libstdc++/57173
551         * include/bits/regex.h: regex_match() and regex_search().
552         * include/bits/regex_cursor.h: Fix _M_set_pos().
553         * include/bits/regex_grep_matcher.h: add _M_dfs_match().
554         * include/bits/regex_grep_matcher.tcc: Implement it.
555         * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: New.
556         * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: New.
557         * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc:
558         Remove xfail.
560 2013-07-23  Tim Shen  <timshen91@gmail.com>
562         Implement regex_iterator and regex_token_iterator.
563         * include/bits/regex.h: regex_iterator and regex_token_iterator.
564         * testsuite/28_regex/iterators/regex_iterator/char/string_01.cc:
565         New.
566         * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc:
567         New.
568         * testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:
569         New.
570         * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
571         string_01.cc: New.
573 2013-07-23  Paolo Carlini  <paolo.carlini@oracle.com>
575         * include/std/random: Add back <cstdio> include.
576         * src/c++11/random.cc: Don't include <cstdio> here.
578 2013-07-22  Jason Merrill  <jason@redhat.com>
580         PR libstdc++/57914
581         * libsupc++/atexit_thread.cc (run): Delete cleanup elts.
583 2013-07-22  Paolo Carlini  <paolo.carlini@oracle.com>
585         PR c++/57920
586         * src/c++11/random.cc (random_device::_M_getval): If possible, use
587         read instead of std::fread.
588         * include/std/random: Do not include <cstdio> unnecessarily.
590 2013-07-21  Tim Shen  <timshen91@gmail.com>
592         Partially implement regex_search.
593         * include/bits/regex.h: regex_search.
594         * include/bits/regex_grep_matcher.h: _M_search_from_first.
595         * include/bits/regex_grep_matcher.tcc: Implement it.
596         * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: New.
598 2013-07-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
600         PR libstdc++/54352
601         * include/std/condition_variable (condition_variable_any): Move into
602         inline namespace _V2 and replace mutex member with shared_ptr<mutex>.
603         * src/c++11/condition_variable.cc (condition_variable_any): Move
604         definitions to ...
605         * src/c++11/compatibility-condvar.cc (condition_variable_any): Here.
606         * src/Makefile.am: Add new source file.
607         * src/Makefile.in: Regenerate.
609 2013-07-09  Tim Shen  <timshen91@gmail.com>
611         Implement class regex_traits.
612         * include/bits/regex.h: Implement lookup_classname and
613         lookup_collatename; modify isctype; partially implement
614         transform_primary.
615         * testsuite/28_regex/traits/char/isctype.cc: Add more test cases.
616         * testsuite/28_regex/traits/char/lookup_classname.cc: Likewise.
617         * testsuite/28_regex/traits/char/lookup_collatename.cc: Likewise.
618         * testsuite/28_regex/traits/char/transform_primary.cc: Likewise.
619         * testsuite/28_regex/traits/wchar_t/isctype.cc: New.
620         * testsuite/28_regex/traits/wchar_t/lookup_classname.cc: New.
621         * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: New.
622         * testsuite/28_regex/traits/wchar_t/transform_primary.cc: New.
624 2013-07-07  Ed Smith-Rowland  <3dw4rd@verizon.net>
626         * doc/xml/manual/status_cxx2014.xml: Add links for papers.
628 2013-07-05  François Dumont  <fdumont@gcc.gnu.org>
630         * include/bits/hashtable_policy.h (_ReuseOrAllocNode): Use forward
631         pattern.
632         (_MoveReuseOrAllocNode): Remove.
633         (_Insert_base): Take a functor defining how the node is generated.
634         * include/bits/hashtable.h: Adapt.
635         (operator=(initializer_list<value_type>)): Reuse node if any.
636         * testsuite/23_containers/unordered_set/instantiation_neg.cc:
637         Adjust dg-error line number.
638         * testsuite/23_containers/unordered_set/
639         not_default_constructible_hash_neg.cc: Likewise.
641 2013-07-05  Paolo Carlini  <paolo.carlini@oracle.com>
643         * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
644         Tweak, avoid potential undefined behavior.
645         * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
646         Likewise.
647         * testsuite/23_containers/vector/bool/modifiers/insert/
648         const_iterator.cc: Likewise.
649         * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
650         Likewise.
652 2013-07-04  Veres Lajos  <vlajos@gmail.com>
653             Jonathan Wakely  <jwakely.gcc@gmail.com>
655         * config/locale/generic/codecvt_members.cc: Fix typo.
656         * configure.host: Likewise.
657         * doc/html/manual/policy_data_structures_design.html: Likewise.
658         * doc/xml/manual/policy_data_structures.xml: Likewise.
659         * include/bits/hashtable.h: Likewise.
660         * include/bits/random.h: Likewise.
661         * include/profile/impl/profiler_trace.h: Likewise.
662         * testsuite/23_containers/deque/cons/2.cc: Likewise.
663         * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
664         * testsuite/ext/pb_ds/example/basic_multimap.cc: Likewise.
665         * testsuite/performance/23_containers/insert_erase/41975.cc: Likewise.
667 2013-07-04  Ray Chason  <chasonr@newsguy.com>
668             Paolo Carlini  <paolo.carlini@oracle.com>
670         PR libstdc++/57808
671         * include/bits/regex.h (regex_token_iterator<>::operator==,
672         regex_token_iterator<>::operator!=, regex_token_iterator<>::operator*,
673         regex_token_iterator<>::operator->): Declare const.
675 2013-07-01  Paolo Carlini  <paolo.carlini@oracle.com>
677         * include/bits/stl_list.h (list<>::insert(iterator,
678         size_type, const value_type&), list<>::insert(iterator,
679         initializer_list<>), list<>::insert(iterator, _InputIterator,
680         _InputIterator), list<>::splice(iterator, list&&),
681         list<>::splice(iterator, list&), list<>::splice(iterator, list&&,
682         iterator), list<>::splice(iterator, list&, iterator),
683         list<>::splice(iterator, list&&, iterator, iterator),
684         list<>::splice(iterator, list&, iterator, iterator)): Adjust C++11
685         signatures to take const_iterator(s).
686         * include/bits/list.tcc (list<>::insert(const_iterator, size_type,
687         const value_type&), list<>::insert(const_iterator, _InputIterator,
688         _InputIterator)): Define.
689         * include/ext/vstring.h (__versa_string<>::insert(iterator,
690         size_type, _CharT), __versa_string<>::insert(iterator,
691         _InputIterator, _InputIterator), __versa_string<>::insert(iterator,
692         std::initializer_list<>), __versa_string<>::replace(iterator,
693         iterator, _InputIterator, _InputIterator), __versa_string<>::
694         replace(iterator, iterator, std::initializer_list<>)): Adjust C++11
695         signatures to take const_iterator(s).
696         (__versa_string<>::_M_replace_dispatch): Take const_iterators.
697         * include/ext/vstring.tcc: Likewise.
698         * include/debug/list: Adjust.
699         * include/profile/list: Likewise.
700         * testsuite/23_containers/list/operations/splice/const_iterator.cc:
701         New.
702         * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
703         Extend.
704         * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
705         Likewise.
706         * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
707         Likewise.
708         * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
709         Likewise.
710         * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
711         Likewise.
713         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
714         Adjust dg-error line number.
715         * testsuite/23_containers/list/requirements/dr438/
716         constructor_1_neg.cc: Likewise.
717         * testsuite/23_containers/list/requirements/dr438/
718         constructor_2_neg.cc: Likewise.
719         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
720         Likewise.
722 2013-06-30  Paolo Carlini  <paolo.carlini@oracle.com>
724         * include/bits/stl_deque.h (deque<>::insert(iterator,
725         size_type, const value_type&), deque<>::insert(iterator,
726         initializer_list<>), deque<>::insert(iterator, _InputIterator,
727         _InputIterator)): Adjust C++11 signatures to take a const_iterator.
728         * include/bits/stl_vector.h: Likewise.
729         * include/bits/stl_bvector.h: Likewise.
730         * include/debug/deque: Adjust.
731         * include/debug/vector: Likewise.
732         * include/profile/deque: Likewise.
733         * include/profile/vector: Likewise.
734         * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
735         Extend.
736         * testsuite/23_containers/vector/bool/modifiers/insert/
737         const_iterator.cc: Likewise.
738         * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
739         Likewise.
741         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
742         Adjust dg-error line number.
743         * testsuite/23_containers/deque/requirements/dr438/
744         constructor_1_neg.cc: Likewise.
745         * testsuite/23_containers/deque/requirements/dr438/
746         constructor_2_neg.cc: Likewise.
747         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
748         Likewise.
749         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
750         Likewise.
751         * testsuite/23_containers/vector/requirements/dr438/
752         constructor_1_neg.cc: Likewise.
753         * testsuite/23_containers/vector/requirements/dr438/
754         constructor_2_neg.cc: Likewise.
755         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
756         Likewise.
758 2013-06-29  François Dumont  <fdumont@gcc.gnu.org>
760         * include/bits/hashtable_policy.h (_Insert_base): Consider hint in
761         insert methods.
762         * include/bits/hashtable.h: Likewise.
763         * testsuite/23_containers/unordered_multimap/insert/hint.cc: New.
764         * testsuite/performance/23_containers/insert/unordered_multiset_hint.cc:
765         New.
766         * testsuite/23_containers/unordered_set/instantiation_neg.cc:
767         Adjust dg-error line number.
768         * testsuite/23_containers/unordered_set/
769         not_default_constructible_hash_neg.cc: Likewise.
770         * doc/xml/manual/containers.xml: Document hinting in unordered
771         containers.
773 2013-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
775         * testsuite/21_strings/basic_string/operations/*: Move inside
776         testsuite/21_strings/basic_string/operations/data/.
777         * testsuite/21_strings/basic_string/compare/*: Move inside
778         testsuite/21_strings/basic_string/operations/.
779         * testsuite/21_strings/basic_string/find/*: Likewise.
780         * testsuite/21_strings/basic_string/rfind/*: Likewise.
781         * testsuite/21_strings/basic_string/substr/*: Likewise.
783 2013-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
785         * testsuite/21_strings/basic_string/append/*: Move inside
786         testsuite/21_strings/basic_string/modifiers/.
787         * testsuite/21_strings/basic_string/assign/*: Likewise.
788         * testsuite/21_strings/basic_string/insert/*: Likewise.
789         * testsuite/21_strings/basic_string/replace/*: Likewise.
790         * testsuite/21_strings/basic_string/modifiers/pop_back/char/
791         pop_back.cc: Rename to 1.cc.
792         * testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/
793         pop_back.cc: Likewise.
794         * testsuite/ext/vstring/assign/*: Move inside
795         testsuite/ext/vstring/modifiers/.
797 2013-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
799         * include/bits/stl_deque.h (deque<>::insert(iterator,
800         const value_type&), deque<>::insert(iterator, value_type&&),
801         deque<>::emplace(iterator, _Args&&...)): Adjust C++11 signatures to
802         take a const_iterator.
803         (deque<>::erase): Simplify.
804         * include/bits/stl_list.h: Likewise.
805         (_List_iterator<>::_M_const_cast): Add.
806         * include/bits/stl_vector.h: Likewise.
807         * include/bits/stl_bvector.h: Likewise.
808         (_Bit_iterator::_M_const_cast): Add.
809         * include/bits/deque.tcc: Adjust definitions.
810         * include/bits/list.tcc: Likewise.
811         * include/bits/vector.tcc: Likewise.
812         * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
813         Define trivial version in C++98 mode.
814         * include/ext/vstring.h (__versa_string<>::insert(iterator, _CharT),
815         __versa_string<>::replace(iterator, iterator, const __versa_string&),
816         __versa_string<>::replace(iterator, iterator, const _CharT*,
817         size_type), __versa_string<>::replace(iterator, iterator,
818         const _CharT*), __versa_string<>::replace(iterator, iterator,
819         size_type, _CharT)): Adjust C++11 signatures to take a pair of
820         const_iterators.
821         * include/debug/deque: Adjust.
822         * include/debug/list: Likewise.
823         * include/debug/vector: Likewise.
824         * include/profile/deque: Likewise.
825         * include/profile/list: Likewise.
826         * include/profile/vector: Likewise.
827         (vector<>::emplace): Add.
828         * testsuite/util/exception/safety.h: Update.
829         * testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc:
830         New.
831         * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
832         Likewise.
833         * testsuite/23_containers/list/modifiers/emplace/const_iterator.cc:
834         Likewise.
835         * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
836         Likewise.
837         * testsuite/23_containers/vector/bool/modifiers/insert/
838         const_iterator.cc: Likewise.
839         * testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc:
840         Likewise.
841         * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
842         Likewise.
843         * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
844         Likewise.
845         * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
846         Likewise.
847         * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
848         Likewise.
849         * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
850         Likewise.
852         * testsuite/ext/vstring/modifiers/char/54577.cc: Move to testsuite/
853         ext/vstring/modifiers/erase/char/.
854         * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Move to testsuite/
855         ext/vstring/modifiers/wchar_t/.
856         * testsuite/ext/vstring/modifiers/char/pop_back.cc: Move to testsuite/
857         ext/vstring/modifiers/pop_back/char/.
858         * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: Move to
859         testsuite/ext/vstring/modifiers/pop_back/wchar_t/.
861         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
862         Adjust dg-error line number.
863         * testsuite/23_containers/deque/requirements/dr438/
864         constructor_1_neg.cc: Likewise.
865         * testsuite/23_containers/deque/requirements/dr438/
866         constructor_2_neg.cc: Likewise.
867         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
868         Likewise.
869         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
870         Likewise.
871         * testsuite/23_containers/list/requirements/dr438/
872         constructor_1_neg.cc: Likewise.
873         * testsuite/23_containers/list/requirements/dr438/
874         constructor_2_neg.cc: Likewise.
875         * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
876         Likewise.
877         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
878         Likewise.
879         * testsuite/23_containers/vector/requirements/dr438/
880         constructor_1_neg.cc: Likewise.
881         * testsuite/23_containers/vector/requirements/dr438/
882         constructor_2_neg.cc: Likewise.
883         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
884         Likewise.
886 2013-06-25  Ed Smith-Rowland  <3dw4rd@verizon.net>
888         Status page for C++2014 library features
889         * doc/xml/faq.xml: Add link to new C++14 status page.
890         * doc/xml/manual/intro.xml: Ditto.
891         * doc/xml/manual/status_cxx2014.xml: New.
893 2013-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
895         * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid
896         spurious fails with check-debug.
897         * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc:
898         Likewise.
899         * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise.
900         * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc:
901         Likewise.
903 2013-06-25  Paolo Carlini  <paolo.carlini@oracle.com>
905         PR libstdc++/57704
906         * include/bits/char_traits.h (char_traits<char>::lt): Implement
907         LWG 467.
908         * testsuite/21_strings/char_traits/requirements/char/57704.cc: New.
910 2013-06-24  Bernd Edlinger  <bernd.edlinger@hotmail.de>
912         PR libstdc++/57691
913         * include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED,
914         declare per the letter of the C++ standard in terms of void.
915         * include/c_std/cstdlib: Likewise.
917 2013-06-22  Paolo Carlini  <paolo.carlini@oracle.com>
919         PR libstdc++/57674
920         * include/bits/random.h (binomial_distribution<>::_M_waiting):
921         Add double parameter.
922         * include/bits/random.tcc (binomial_distribution<>::operator()
923         (_UniformRandomNumberGenerator&, const param_type&)): Pass
924         __param._M_q to _M_waiting.
925         (_M_waiting): Adjust.
926         * testsuite/26_numerics/random/binomial_distribution/
927         operators/values.cc: Add tests.
929 2013-06-21  Paolo Carlini  <paolo.carlini@oracle.com>
931         PR libstdc++/57666
932         * include/std/valarray (valarray<>::operator=(const _Expr<>&)):
933         Implement correctly C++11 26.6.2.3/1.
934         * testsuite/26_numerics/valarray/dr630-3.C: New.
936 2013-06-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
938         PR libstdc++/57641
939         * include/std/mutex (timed_mutex, recursive_timed_mutex): Move common
940         functionality to new __timed_mutex_impl mixin. Overload try_lock_until
941         to handle conversion between different clocks. Replace constrained
942         __try_lock_for_impl overloads with conditional increment.
943         * include/std/shared_mutex (shared_mutex::_Mutex): Use the new mixin.
944         * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: New.
946 2013-06-17  Jonathan Wakely  <jwakely.gcc@gmail.com>
947             Chris Jefferson  <chris@bubblescope.net>
949         * include/bits/stl_algobase.h (equal): Make C++14 overloads from N3671
950         dispatch to traditional std::equal for random-access iterators.
951         (__equal2_aux, __equal2): Remove.
952         (__equal::equal): Remove unused overloads.
953         * include/bits/stl_algo.h (is_permutation): Fix typos.
955 2013-06-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
957         * include/std/shared_mutex (shared_lock::operator=): Add missing
958         return statement.
960 2013-06-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
962         PR libstdc++/57263
963         * include/bits/forward_list.h (_Fwd_list_base): Convert to/from
964         allocator's pointer type.
965         * include/bits/hashtable.h (_Hashtable): Likewise.
966         * testsuite/util/testsuite_allocator.h (CustomPointerAlloc): Add.
967         * testsuite/23_containers/forward_list/allocator/ext_ptr.cc: New.
968         * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: New.
969         * testsuite/23_containers/vector/allocator/ext_ptr.cc: New.
971 2013-06-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
973         * include/std/shared_mutex: Implement N3659.
974         * include/bits/c++14_warning.h: New.
975         * include/Makefile.am: Add new headers.
976         * include/Makefile.in: Regenerate.
977         * testsuite/30_threads/shared_lock/cons/1.cc: New.
978         * testsuite/30_threads/shared_lock/locking/2.cc: New.
979         * testsuite/30_threads/shared_lock/cons/2.cc: New.
980         * testsuite/30_threads/shared_lock/locking/3.cc: New.
981         * testsuite/30_threads/shared_lock/cons/3.cc: New.
982         * testsuite/30_threads/shared_lock/locking/4.cc: New.
983         * testsuite/30_threads/shared_lock/cons/4.cc: New.
984         * testsuite/30_threads/shared_lock/modifiers/1.cc: New.
985         * testsuite/30_threads/shared_lock/cons/5.cc: New.
986         * testsuite/30_threads/shared_lock/modifiers/2.cc: New.
987         * testsuite/30_threads/shared_lock/cons/6.cc: New.
988         * testsuite/30_threads/shared_lock/requirements/
989         explicit_instantiation.cc: New.
990         * testsuite/30_threads/shared_lock/locking/1.cc: New.
991         * testsuite/30_threads/shared_lock/requirements/typedefs.cc: New.
992         * testsuite/30_threads/shared_mutex/cons/1.cc: New.
993         * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
994         * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
995         * testsuite/30_threads/shared_mutex/requirements/
996         standard_layout.cc: New.
997         * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
998         * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
1000 2013-06-15  Paolo Carlini  <paolo.carlini@oracle.com>
1002         PR libstdc++/57619
1003         * include/bits/unordered_map.h (unordered_map<>::insert,
1004         unordered_multimap<>::insert): Use std::forward, not std::move.
1005         * testsuite/23_containers/unordered_map/insert/57619.C: New.
1006         * testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.
1008 2013-06-14  Alan Modra  <amodra@gmail.com>
1010         * configure.host (abi_baseline_pair): Match powerpc64*.
1012 2013-06-13  Daniel Krugler  <daniel.kruegler@gmail.com>
1014         * include/std/type_traits (is_function): Support ref-qualified
1015         functions.
1016         (is_copy_constructible, is_move_constructible, is_copy_assignable,
1017         is_move_assignable, is_nothrow_copy_constructible,
1018         is_nothrow_move_constructible, is_nothrow_copy_assignable,
1019         is_nothrow_move_assignable): Implement LWG 2196.
1020         (add_lvalue_reference, add_rvalue_reference, add_pointer): Implement
1021         LWG 2101.
1022         (__strip_reference_wrapper<<const reference_wrapper<_Tp>>): Remove,
1023         unused.
1024         * testsuite/20_util/add_lvalue_reference/value.cc: Extend.
1025         * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
1026         * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
1027         * testsuite/20_util/is_assignable/value.cc: Likewise.
1028         * testsuite/20_util/is_constructible/value-2.cc: Likewise.
1029         * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
1030         * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
1031         * testsuite/20_util/is_function/value.cc: Likewise.
1032         * testsuite/20_util/is_move_assignable/value.cc: Likewise.
1033         * testsuite/20_util/is_move_constructible/value.cc: Likewise.
1034         * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
1035         * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
1036         * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
1037         * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
1039         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1040         line number.
1041         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1042         Likewise.
1043         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1044         Likewise.
1046 2013-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
1048         * include/tr1/modified_bessel_func.tcc (__gnu_cxx::__airy_ai(),
1049         __gnu_cxx::__airy_bi()): Remove.
1050         * testsuite/tr1/5_numerical_facilities/special_functions/
1051         10_cyl_bessel_k/airy.cc: Fix.
1053 2013-06-12  Ed Smith-Rowland  <3dw4rd@verizon.net>
1055         PR libstdc++/56430
1056         * include/tr1/modified_bessel_func.tcc (__airy): Remove return
1057         from void function.
1058         (__gnu_cxx::__airy_ai(), __gnu_cxx::__airy_bi()): New functions.
1059         * testsuite/tr1/5_numerical_facilities/special_functions/
1060         10_cyl_bessel_k/airy.cc: New.
1062 2013-06-11  Ed Smith-Rowland  <3dw4rd@verizon.net>
1064         Fix library literals error involving namespace __detail.
1065         * include/std/chrono: Rename __detail to __select_type. Reformat.
1066         * include/bits/basic_string.h: Reformat.
1067         * testsuite/20_util/duration/literals/ns_detail.cc: New.
1069 2013-06-11  Paolo Carlini  <paolo.carlini@oracle.com>
1071         PR libstdc++/56019
1072         * include/c_global/cstddef (max_align_t): Add to namespace std.
1073         * include/c_std/cstddef: Likewise.
1074         * testsuite/18_support/max_align_t/requirements/1.cc: New.
1075         * testsuite/18_support/max_align_t/requirements/2.cc: Likewise.
1077 2013-06-10  Benjamin Kosnik  <bkoz@redhat.com>
1079         * include/bits/c++config (_GLIBCXX_ABI_TAG_CXX11): Add.
1080         * include/bits/stl_map.h (erase): Use abi_tag when C++11.
1081         * include/bits/stl_multimap.h: Same.
1082         * include/bits/stl_multiset.h: Same.
1083         * include/bits/stl_set.h: Same.
1084         * include/bits/stl_tree.h: Same.
1085         * include/std/complex (real, imag): Use macro for abi_tag.
1087         * testsuite/lib/libstdc++.exp: Disable inlinling with -fno-inline.
1088         * testsuite/util/testsuite_containers.h (erase_external): New
1089         declarations.
1090         (erase_external_iterators): Same.
1091         (linkage_check_cxx98_cxx11_erase): Same.
1092         (linkage_check_cxx98_cxx11_erase_iterators): Same.
1093         * testsuite/util/testsuite_shared.cc: Define.
1094         * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: New.
1095         * testsuite/23_containers/map/modifiers/erase/
1096         dr130-linkage-check.cc: New.
1097         * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: New.
1098         * testsuite/23_containers/multimap/modifiers/erase/
1099         dr130-linkage-check.cc: New.
1100         * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: New.
1101         * testsuite/23_containers/multiset/modifiers/erase/
1102         dr130-linkage-check.cc: New.
1103         * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: New.
1104         * testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc:
1105         New.
1106         * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number.
1108         * testsuite/23_containers/map/dr130.cc: Move...
1109         * testsuite/23_containers/map/modifiers/dr130.cc: ...here.
1110         * testsuite/23_containers/multimap/dr130.cc: Move ...
1111         * testsuite/23_containers/multimap/modifiers/dr130.cc: ...here.
1112         * testsuite/23_containers/multiset/dr130.cc: Move...
1113         * testsuite/23_containers/multiset/modifiers/dr130.cc: ...here.
1114         * testsuite/23_containers/set/dr130.cc: Move...
1115         * testsuite/23_containers/set/modifiers/dr130.cc: ...here.
1117 2013-06-10  Thomas Schwinge  <thomas@codesourcery.com>
1119         * testsuite/17_intro/headers/c++1998/49745.cc: Extend current
1120         handling of Linux-based x86 systems to cover all GNU systems.
1121         * testsuite/18_support/bad_exception/23591_thread-1.c: Likewise.
1122         * testsuite/18_support/pthread_guard.cc: Likewise.
1123         * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
1124         Likewise.
1125         * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
1126         Likewise.
1127         * testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
1128         * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
1129         * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
1130         * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1131         * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
1132         * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
1133         * testsuite/23_containers/list/pthread1.cc: Likewise.
1134         * testsuite/23_containers/list/pthread5.cc: Likewise.
1135         * testsuite/23_containers/map/pthread6.cc: Likewise.
1136         * testsuite/23_containers/vector/debug/multithreaded_swap.cc:
1137         Likewise.
1138         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1139         Likewise.
1140         * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
1141         * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
1142         * testsuite/30_threads/async/42819.cc: Likewise.
1143         * testsuite/30_threads/async/49668.cc: Likewise.
1144         * testsuite/30_threads/async/54297.cc: Likewise.
1145         * testsuite/30_threads/async/any.cc: Likewise.
1146         * testsuite/30_threads/async/async.cc: Likewise.
1147         * testsuite/30_threads/async/launch.cc: Likewise.
1148         * testsuite/30_threads/async/sync.cc: Likewise.
1149         * testsuite/30_threads/call_once/39909.cc: Likewise.
1150         * testsuite/30_threads/call_once/49668.cc: Likewise.
1151         * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1152         * testsuite/30_threads/condition_variable/54185.cc: Likewise.
1153         * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
1154         * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
1155         * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
1156         * testsuite/30_threads/condition_variable/members/53841.cc:
1157         Likewise.
1158         * testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
1159         Likewise.
1160         * testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
1161         * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
1162         * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
1163         * testsuite/30_threads/condition_variable_any/members/1.cc:
1164         Likewise.
1165         * testsuite/30_threads/condition_variable_any/members/2.cc:
1166         Likewise.
1167         * testsuite/30_threads/future/cons/move.cc: Likewise.
1168         * testsuite/30_threads/future/members/45133.cc: Likewise.
1169         * testsuite/30_threads/future/members/get.cc: Likewise.
1170         * testsuite/30_threads/future/members/get2.cc: Likewise.
1171         * testsuite/30_threads/future/members/share.cc: Likewise.
1172         * testsuite/30_threads/future/members/valid.cc: Likewise.
1173         * testsuite/30_threads/future/members/wait.cc: Likewise.
1174         * testsuite/30_threads/future/members/wait_for.cc: Likewise.
1175         * testsuite/30_threads/future/members/wait_until.cc: Likewise.
1176         * testsuite/30_threads/lock/1.cc: Likewise.
1177         * testsuite/30_threads/lock/2.cc: Likewise.
1178         * testsuite/30_threads/lock/3.cc: Likewise.
1179         * testsuite/30_threads/lock/4.cc: Likewise.
1180         * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1181         * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1182         * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1183         * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1184         * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
1185         * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1186         * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1187         * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1188         * testsuite/30_threads/packaged_task/49668.cc: Likewise.
1189         * testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
1190         * testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
1191         * testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
1192         * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
1193         * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
1194         * testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
1195         * testsuite/30_threads/packaged_task/cons/move_assign.cc:
1196         Likewise.
1197         * testsuite/30_threads/packaged_task/members/get_future.cc:
1198         Likewise.
1199         * testsuite/30_threads/packaged_task/members/get_future2.cc:
1200         Likewise.
1201         * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
1202         * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
1203         * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
1204         * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
1205         * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
1206         * testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
1207         * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
1208         * testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
1209         * testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
1210         * testsuite/30_threads/promise/cons/1.cc: Likewise.
1211         * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
1212         * testsuite/30_threads/promise/cons/move.cc: Likewise.
1213         * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
1214         * testsuite/30_threads/promise/members/get_future.cc: Likewise.
1215         * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
1216         * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
1217         * testsuite/30_threads/promise/members/set_exception2.cc:
1218         Likewise.
1219         * testsuite/30_threads/promise/members/set_value.cc: Likewise.
1220         * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
1221         * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
1222         * testsuite/30_threads/promise/members/swap.cc: Likewise.
1223         * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
1224         * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
1225         Likewise.
1226         * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
1227         * testsuite/30_threads/recursive_mutex/native_handle/1.cc:
1228         Likewise.
1229         * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
1230         Likewise.
1231         * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1232         * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1233         * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
1234         * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
1235         * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
1236         Likewise.
1237         * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
1238         * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
1239         * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
1240         Likewise.
1241         * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
1242         Likewise.
1243         * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
1244         Likewise.
1245         * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
1246         Likewise.
1247         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
1248         Likewise.
1249         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
1250         Likewise.
1251         * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
1252         Likewise.
1253         * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
1254         Likewise.
1255         * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
1256         Likewise.
1257         * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
1258         Likewise.
1259         * testsuite/30_threads/shared_future/cons/move.cc: Likewise.
1260         * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
1261         * testsuite/30_threads/shared_future/members/get.cc: Likewise.
1262         * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
1263         * testsuite/30_threads/shared_future/members/valid.cc: Likewise.
1264         * testsuite/30_threads/shared_future/members/wait.cc: Likewise.
1265         * testsuite/30_threads/shared_future/members/wait_for.cc:
1266         Likewise.
1267         * testsuite/30_threads/shared_future/members/wait_until.cc:
1268         Likewise.
1269         * testsuite/30_threads/this_thread/1.cc: Likewise.
1270         * testsuite/30_threads/this_thread/2.cc: Likewise.
1271         * testsuite/30_threads/this_thread/3.cc: Likewise.
1272         * testsuite/30_threads/this_thread/4.cc: Likewise.
1273         * testsuite/30_threads/thread/cons/1.cc: Likewise.
1274         * testsuite/30_threads/thread/cons/2.cc: Likewise.
1275         * testsuite/30_threads/thread/cons/3.cc: Likewise.
1276         * testsuite/30_threads/thread/cons/4.cc: Likewise.
1277         * testsuite/30_threads/thread/cons/49668.cc: Likewise.
1278         * testsuite/30_threads/thread/cons/5.cc: Likewise.
1279         * testsuite/30_threads/thread/cons/6.cc: Likewise.
1280         * testsuite/30_threads/thread/cons/7.cc: Likewise.
1281         * testsuite/30_threads/thread/cons/8.cc: Likewise.
1282         * testsuite/30_threads/thread/cons/9.cc: Likewise.
1283         * testsuite/30_threads/thread/cons/moveable.cc: Likewise.
1284         * testsuite/30_threads/thread/members/1.cc: Likewise.
1285         * testsuite/30_threads/thread/members/2.cc: Likewise.
1286         * testsuite/30_threads/thread/members/3.cc: Likewise.
1287         * testsuite/30_threads/thread/members/4.cc: Likewise.
1288         * testsuite/30_threads/thread/members/5.cc: Likewise.
1289         * testsuite/30_threads/thread/members/hardware_concurrency.cc:
1290         Likewise.
1291         * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
1292         * testsuite/30_threads/thread/native_handle/typesizes.cc:
1293         Likewise.
1294         * testsuite/30_threads/thread/swap/1.cc: Likewise.
1295         * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
1296         * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
1297         Likewise.
1298         * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
1299         * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
1300         * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
1301         Likewise.
1302         * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
1303         * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
1304         * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
1305         * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
1306         * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
1307         * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
1308         * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
1309         * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
1310         * testsuite/30_threads/try_lock/1.cc: Likewise.
1311         * testsuite/30_threads/try_lock/2.cc: Likewise.
1312         * testsuite/30_threads/try_lock/3.cc: Likewise.
1313         * testsuite/30_threads/try_lock/4.cc: Likewise.
1314         * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1315         * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1316         * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1317         * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1318         * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1319         * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1320         * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1321         * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1322         * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1323         * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1324         * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1325         * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1326         * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
1327         * testsuite/ext/profile/mh.cc: Likewise.
1328         * testsuite/ext/rope/pthread7-rope.cc: Likewise.
1329         * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise.
1330         * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
1331         Likewise.
1332         * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
1333         Likewise.
1334         * testsuite/util/testsuite_performance.h: Extend current handling
1335         of Linux-based systems to cover all glibc-based systems.
1337 2013-06-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
1339         * include/std/mutex (call_once): Remove parentheses to fix error in
1340         c++1y and gnu++1y mode.
1341         * testsuite/30_threads/mutex/try_lock/2.cc: Call try_lock() in new
1342         thread to avoid undefined behaviour.
1344 2013-06-08  Ed Smith-Rowland  <3dw4rd@verizon.net>
1346         Simplify and clean up library literals.
1347         * include/std/chrono: Simplify namespace and versioning management.
1348         * include/bits/basic_string.h: Ditto.
1349         * testsuite/20_util/duration/literals/types.cc: Remove bogus comment.
1350         * testsuite/20_util/duration/literals/values.cc: Ditto.
1351         * testsuite/21_strings/basic_string/literals/types.cc: Ditto.
1352         * testsuite/21_strings/basic_string/literals/values.cc: Ditto.
1354 2013-06-08  Ed Smith-Rowland  <3dw4rd@verizon.net>
1356         Implement N3654 - Quoted Strings Library Proposal
1357         * include/std/iomanip: Add quoted(String, Char delim, Char escape)
1358         manipulators and supporting machinery in c++1y mode.
1359         * testsuite/27_io/manipulators/standard/char/quoted.cc: New.
1360         * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: New.
1362 2013-06-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1364         * include/bits/alloc_traits.h (allocator_traits::max_size()): LWG
1365         2162: Add noexcept.
1367 2013-06-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1369         * include/bits/stl_algo.h (is_permutation): Add overloads from N3671.
1370         * include/bits/stl_algobase.h (equal, mismatch): Likewise.
1371         * testsuite/25_algorithms/equal/1.cc: Remove duplicate test case.
1372         * testsuite/25_algorithms/equal/2.cc: New.
1373         * testsuite/25_algorithms/equal/check_type2.cc: New.
1374         * testsuite/25_algorithms/is_permutationqual/2.cc: New.
1375         * testsuite/25_algorithms/is_permutationqual/check_type2.cc: New.
1376         * testsuite/25_algorithms/mismatch/2.cc: New.
1377         * testsuite/25_algorithms/mismatch/check_type2.cc: New.
1378         * testsuite/util/testsuite_iterators.h: Fix spelling.
1380 2013-06-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
1382         * include/std/type-traits (integral_constant::operator()): Implement
1383         N3545.
1384         * testsuite/20_util/integral_constant/call_operator.cc: New.
1385         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1386         line numbers.
1387         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1388         Likewise.
1389         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1390         Likewise.
1392 2013-06-07  Uros Bizjak  <ubizjak@gmail.com>
1394         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1396 2013-06-05  Tom Tromey  <tromey@redhat.com>
1398         * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Use -O0.
1400 2013-06-03  Paolo Carlini  <paolo.carlini@oracle.com>
1402         PR c++/57419
1403         * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
1405 2013-06-01  Ed Smith-Rowland  <3dw4rd@verizon.net>
1407         * include/std/chrono: Collapse redundant 'inline' from 'inline
1408         constexpr'.
1409         * include/std/tuple: Ditto.
1410         * include/bits/move.h: Ditto.
1412 2013-05-30  Ed Smith-Rowland  <3dw4rd@verizon.net>
1414         Implement N3642 - User-defined Literals for Standard Library Types
1415         * include/bits/parse_numbers.h: New.
1416         * include/std/chrono: Add duration literal operators.
1417         * include/bits/basic_string.h: Add string literal operators.
1418         * include/Makefile.in: Add parse_numbers.h.
1419         * include/Makefile.am: Ditto.
1420         * testsuite/20_util/duration/literals/values.cc: New.
1421         * testsuite/20_util/duration/literals/types.cc: New.
1422         * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
1423         * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
1424         * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
1425         * testsuite/21_strings/basic_string/literals/values.cc: New.
1426         * testsuite/21_strings/basic_string/literals/types.cc: New.
1428 2013-05-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
1430         * src/c++11/compatibility-chrono.cc (steady_clock::now()): If
1431         !_GLIBCXX_USE_GETTIMEOFDAY perform conversion inline instead of
1432         calling non-existent from_time_t.
1434 2013-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1436         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
1437         Regenerate.
1439 2013-05-24  Benjamin Kosnik  <bkoz@redhat.com>
1441         * include/std/chrono: Wrap clocks in inline namespace _V2.
1442         * src/c++11/chrono.cc: Same.
1443         * src/c++11/compatibility-chrono.cc: Revert to previous chrono.cc
1444         file, with default configure macros selected.
1446         * config/abi/pre/gnu.ver (GLIBCXX_3.4.19): Use symbols from inline
1447         namespace.
1448         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Fix up.
1450         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
1451         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
1452         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
1453         Regenerated.
1454         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1455         Regenerated.
1456         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1457         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
1458         Regenerated.
1459         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
1460         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
1461         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
1462         * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
1463         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
1464         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
1465         Regenerated.
1466         * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
1467         * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
1469 2013-05-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1471         * config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC]
1472         (CLOCK_MONOTONIC): Define.
1474 2013-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
1476         * include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t
1477         overload.
1479         * include/bits/cpp_type_traits.h (__is_fundamental): Remove, unused.
1481 2013-05-24  Jakub Jelinek  <jakub@redhat.com>
1483         * src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL,
1484         include unistd.h and sys/syscall.h.  If _GLIBCXX_COMPATIBILITY_CXX0X,
1485         don't define system_clock::is_steady, system_clock::now() and
1486         steady_clock::is_steady.
1487         (std::chrono::system_clock::now()): If
1488         _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call
1489         syscall (SYS_clock_gettime, ...) instead of clock_gettime (...).
1490         (std::chrono::system_clock::now()): Likewise.  Add weak attribute
1491         if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will
1492         be non-empty.
1493         * src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc.
1494         (compatibility-chrono.lo, compatibility-chrono.o): New goals.
1495         * src/c++11/compatibility-chrono.cc: New file.
1496         * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for
1497         syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp).
1498         * testsuite/util/testsuite_abi.cc (check_version): Add
1499         GLIBCXX_3.4.20 version and make it the latest.
1500         * config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export
1501         also @@GLIBCXX_3.4.19.  Move all symbols so far added for GCC 4.9 to
1502         @@GLIBCXX_3.4.20 instead.
1503         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
1504         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
1505         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
1506         Regenerated.
1507         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1508         Regenerated.
1509         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1510         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
1511         Regenerated.
1512         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
1513         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
1514         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
1515         * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
1516         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
1517         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
1518         Regenerated.
1519         * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
1520         * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
1521         * config.h.in: Regenerated.
1522         * src/Makefile.in: Regenerated.
1523         * configure: Regenerated.
1525 2013-05-23  Matthias Klose  <doko@ubuntu.com>
1527         * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
1528         (ext_headers): Remove ${ext_host_headers}.
1529         (stamp-${host_alias}): Create ${host_builddir}/../ext.
1530         (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
1531         (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
1532         * include/Makefile.in: Regenerate.
1533         * include/ext/random: Include ext/opt_random.h.
1535 2013-05-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
1537         * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to
1538         enable features if target OS is known to support them.
1539         * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'.
1540         * configure: Regenerate.
1542 2013-05-21  Jonathan Wakely  <jwakely.gcc@gmail.com>
1544         PR libstdc++/57336
1545         * include/std/functional (__invoke): Do not form function types with
1546         abstract return type.
1547         * testsuite/20_util/reference_wrapper/invoke-3.cc: New.
1549 2013-05-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
1551         * include/std/tuple (get): Implement N3670.
1552         * include/std/utility (get): Likewise.
1553         * testsuite/20_util/pair/get.cc: Move to ...
1554         * testsuite/20_util/pair/astuple/get.cc: Here.
1555         * testsuite/20_util/pair/astuple/astuple.cc: New.
1556         * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
1557         * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
1558         * testsuite/20_util/pair/astuple/get_by_type.cc: New.
1559         * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
1560         * testsuite/20_util/pair/astuple/get_neg.cc: New.
1561         * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
1562         * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
1563         * testsuite/20_util/tuple/element_access/get_by_type.cc: New.
1565 2013-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
1567         * Revert last commit.
1569 2013-05-19  Matthias Klose  <doko@ubuntu.com>
1571         * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
1572         (ext_headers): Remove ${ext_host_headers}.
1573         (stamp-${host_alias}): Create ${host_builddir}/../ext.
1574         (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
1575         (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
1576         * include/Makefile.in: Regenerate.
1578 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
1580         * include/std/system_error (error_category::error_category()): LWG
1581         2145: Declare public and constexpr.
1582         * src/c++11/system_error.cc (error_category::error_category()): Move
1583         definition to ...
1584         * src/c++11/compatibility-c++0x.cc: Here.
1586 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
1588         * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
1590 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
1592         * include/bits/unique_ptr.h (make_unique): Declare inline.
1593         (unique_ptr<T[],D>::reset()): Combine two overloads into one.
1594         (default_delete, unique_ptr): Add doxygen comments.
1595         * include/bits/shared_ptr_base.h: Improve doxygen comments.
1596         * include/bits/shared_ptr.h: Likewise.
1597         * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
1598         number.
1599         * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
1601 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
1603         * doc/xml/manual/status_cxx2011.xml: Fix markup error.
1605 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
1607         * doc/xml/manual/status_cxx2011.xml: Fix markup error.
1609 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
1611         * include/std/utility (exchange): Define.
1612         * testsuite/20_util/exchange/1.cc: New.
1614 2013-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>
1616         * include/bits/unique_ptr.h (make_unique): Define.
1617         * testsuite/20_util/unique_ptr/creation/single.cc: New.
1618         * testsuite/20_util/unique_ptr/creation/array.cc: New.
1619         * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
1621 2013-05-15  François Dumont  <fdumont@gcc.gnu.org>
1623         * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
1624         rendering of std::tr1 unordered containers iterator.
1625         (StdHashtableIterator): New, render std unordered containers iterator.
1626         * testsuite/libstdc++-prettyprinters/tr1.cc: New.
1628 2013-05-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
1630         * include/bits/basic_string.h (getline): Fix doxygen comments.
1632 2013-05-14  Paolo Carlini  <paolo.carlini@oracle.com>
1634         * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
1635         Use std::pointer_traits.
1637 2013-05-13  Benjamin Kosnik  <bkoz@redhat.com>
1639         * libsupc++/Makefile.am (sources): Add bad_array_length.cc,
1640         bad_array_new.cc.
1641         * libsupc++/Makefile.in: Regenerate.
1642         * libsupc++/bad_array_length.cc: Tweak.
1643         * libsupc++/bad_array_new.cc: Tweak.
1645 2013-05-10  Paolo Carlini  <paolo.carlini@oracle.com>
1647         PR libstdc++/54577
1648         * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
1649         (_Deque_iterator<>::_M_const_cast): Add.
1650         (deque<>::_M_erase): Declare.
1651         * include/bits/deque.tcc: ... and define.
1652         * include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
1653         (_List_const_iterator<>::_M_const_cast): Add.
1654         * include/bits/list.tcc (erase (iterator)): Fix.
1655         * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
1656         Add; include <ext/cast.h>.
1657         * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
1658         (vector<>::_M_erase): Declare.
1659         * include/bits/stl_bvector.h: Likewise.
1660         * include/bits/vector.tcc (vector<>::_M_erase): Define.
1661         * include/ext/vstring.h (erase): Fix signatures in C++11 mode.
1662         * include/debug/deque: Adjust.
1663         * include/debug/list: Likewise.
1664         * include/debug/vector: Likewise.
1665         * include/profile/deque: Likewise.
1666         * include/profile/list: Likewise.
1667         * include/profile/vector: Likewise.
1668         * testsuite/util/exception/safety.h (erase_base<deque>,
1669         erase_base<deque>, erase_base<vector>): Remove.
1670         (erase_base<__versa_string>): Update.
1671         * testsuite/ext/vstring/modifiers/char/54577.cc: New.
1672         * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
1673         * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
1674         * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
1675         * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
1676         Likewise.
1677         * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
1678         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1679         Adjust dg-error line numbers.
1680         * testsuite/23_containers/deque/requirements/dr438/
1681         constructor_1_neg.cc: Likewise.
1682         * testsuite/23_containers/deque/requirements/dr438/
1683         constructor_2_neg.cc: Likewise.
1684         * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1685         Likewise.
1686         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1687         Likewise.
1688         * testsuite/23_containers/list/requirements/dr438/
1689         constructor_1_neg.cc: Likewise.
1690         * testsuite/23_containers/list/requirements/dr438/
1691         constructor_2_neg.cc: Likewise.
1692         * testsuite/23_containers/list/requirements/dr438/
1693         insert_neg.cc: Likewise.
1694         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1695         Likewise.
1696         * testsuite/23_containers/vector/requirements/dr438/
1697         constructor_1_neg.cc: Likewise.
1698         * testsuite/23_containers/vector/requirements/dr438/
1699         constructor_2_neg.cc: Likewise.
1700         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1701         Likewise.
1703 2013-05-09  Uros Bizjak  <ubizjak@gmail.com>
1705         * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8.
1707 2013-05-08  Jason Merrill  <jason@redhat.com>
1709         Add std::bad_array_length (N3639)
1710         * libsupc++/new: Add std::bad_array_length.
1711         * libsupc++/bad_array_length.cc: New.
1712         * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
1713         * libsupc++/Makefile.in: Build them.
1714         * config/abi/pre/gnu.ver: Add new symbols.
1715         * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
1717 2013-05-08  Andi Kleen  <ak@linux.intel.com>
1719         PR target/55947
1720         * libstdc++-v3/include/bits/atomic_base.h
1721         (_GLIBCXX_ALWAYS_INLINE): Add new macro.
1722         (atomic_thread_fence, atomic_signal_fence, test_and_set,
1723         clear, store, load, exchange, compare_exchange_weak)
1724         compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
1725         fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.
1727 2013-05-08  Jason Merrill  <jason@redhat.com>
1729         Add std::bad_array_new_length (N2932)
1730         * libsupc++/new: Add std::bad_array_new_length.
1731         * libsupc++/bad_array_new.cc: New.
1732         * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
1733         * libsupc++/Makefile.in: Build them.
1734         * config/abi/pre/gnu.ver: Add new symbols.
1735         * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
1737 2013-05-08  Andoni Morales Alastruey <ylatuya@gmail.com>
1739         PR libstdc++/57212
1740         * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
1741         to __MINGW32__.
1742         * include/Makefile.in: Regenerated.
1744 2013-05-07  François Dumont  <fdumont@gcc.gnu.org>
1746         * include/profile/unordered_base.h: New.
1747         * include/Makefile.am: Add new profile header.
1748         * include/Makefile.in: Regenerate.
1749         * include/profile/impl/profiler.h
1750         (__profcxx_inefficient_hash_is_on): New macro.
1751         * include/profile/unordered_map (std::profile::unordered_map<>):
1752         Use new _Unordered_profile base class. Use default implementations
1753         for special functions.
1754         (std::profile::unordered_multimap<>): Likewise.
1755         * include/profile/unordered_set (std::profile::unordered_set<>):
1756         Likewise.
1757         (std::profile::unordered_multiset<>): Likewise.
1758         * testsuite/23_containers/unordered_multiset/55043.cc: Fix
1759         MoveOnly equality operator signature.
1761 2013-05-02  Paolo Carlini  <paolo.carlini@oracle.com>
1763         * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
1764         constexpr_data.cc: Move...
1765         * testsuite/20_util/integral_constant/requirements/constexpr_data.cc:
1766         ... here.
1767         * testsuite/20_util/integral_constant/requirements/
1768         explicit_instantiation.cc: New.
1769         * testsuite/20_util/integral_constant/requirements/typedefs.cc:
1770         Likewise.
1771         * testsuite/20_util/integral_constant/static_definition.cc: Likewise.
1772         * testsuite/20_util/integral_constant/true_false_type_typedefs.cc:
1773         Likewise.
1774         * testsuite/20_util/integral_constant/true_false_value.cc: Likewise.
1775         * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise.
1777 2013-05-02  Paolo Carlini  <paolo.carlini@oracle.com>
1779         * include/std/type_traits (is_null_pointer): Add.
1780         (__is_nullptr_t): Implement in terms of the latter.
1781         (is_fundamental, is_scalar): Adjust.
1782         * testsuite/20_util/is_null_pointer/requirements/
1783         explicit_instantiation.cc: New.
1784         * testsuite/20_util/is_null_pointer/requirements/typedefs.cc:
1785         Likewise.
1786         * testsuite/20_util/is_null_pointer/value.cc: Likewise.
1787         * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1788         line number.
1789         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1790         Likewise.
1791         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1792         Likewise.
1794 2013-05-02  Paolo Carlini  <paolo.carlini@oracle.com>
1796         * include/c_global/cstdio: Add comment about LWG 2249.
1797         * include/c_std/cstdio: Likewise.
1799 2013-04-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
1801         * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
1802         comment.
1803         * include/std/mutex (__recursive_mutex_base): Likewise.
1805 2013-04-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
1807         PR libstdc++/51365
1808         * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
1809         implement EBO safely.
1810         (_Sp_counted_base::_M_get_deleter): Add noexcept.
1811         (_Sp_counter_ptr): Use noexcept instead of comments.
1812         (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
1813         (_Sp_counted_ptr_inplace): Likewise.
1814         * testsuite/20_util/shared_ptr/cons/51365.cc: New.
1815         * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
1816         custom allocator and test construction with custom allocator.
1817         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
1818         line number.
1820 2013-04-26  Paolo Carlini  <paolo.carlini@oracle.com>
1822         * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust
1823         dialect to -std=gnu++11.
1825 2013-04-26  François Dumont  <fdumont@gcc.gnu.org>
1827         * include/bits/hashtable_policy.h
1828         (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
1829         * testsuite/23_containers/unordered_set/insert/move_range.cc: New.
1831 2013-04-26  Paolo Carlini  <paolo.carlini@oracle.com>
1833         * include/c_global/cstdio (gets): Provide only in C++98 and C++11.
1834         * include/c_std/cstdio (gets): Likewise.
1835         * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust.
1837 2013-04-25  Paolo Carlini  <paolo.carlini@oracle.com>
1839         PR libstdc++/57065
1840         * include/debug/unordered_map (unordered_map, unordered_multimap):
1841         Fix default allocator type.
1842         * include/profile/unordered_map (unordered_map, unordered_multimap):
1843         Likewise.
1844         * include/bits/unordered_map.h: Fix comments.
1846 2013-04-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
1848         PR libstdc++/56905
1849         * libsupc++/exception_ptr.h (copy_exception): Deprecate and
1850         move implementation to make_exception_ptr.
1851         * include/std/future (_State_base::_M_break_promise): Replace
1852         copy_exception with make_exception_ptr.
1853         * testsuite/18_support/exception_ptr/move.cc: Likewise.
1854         * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
1855         * testsuite/30_threads/future/members/get2.cc: Likewise.
1856         * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
1857         * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
1858         * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
1859         * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
1861 2013-04-22  Jason Merrill  <jason@redhat.com>
1863         * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h.
1865         * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
1866         substitution" lines.
1868         * testsuite/20_util/is_assignable/value.cc: Comment out tests involving
1869         function-cv-quals.
1870         * testsuite/20_util/is_constructible/value-2.cc: Likewise.
1871         * testsuite/20_util/reference_wrapper/result_type.cc: Likewise.
1872         * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
1874 2013-04-22  François Dumont  <fdumont@gcc.gnu.org>
1876         * include/bits/hashtable_policy.h: Add C++11 allocator support.
1877         * include/bits/hashtable.h: Likewise.
1878         * include/bits/unordered_set.h: Likewise.
1879         * include/bits/unordered_map.h: Likewise.
1880         * include/debug/unordered_set: Likewise.
1881         * include/debug/unordered_map: Likewise.
1882         * include/std/unordered_set: Remove bits/algobase.h
1883         include. Replace bits/alloc_traits.h by ext/alloc_traits.h.
1884         * include/std/unordered_map: Likewise.
1885         * include/ext/throw_allocator.h: Add checks on calls to allocator
1886         construct/destroy.
1887         (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw.
1888         (std::hash<__gnu_cxx::throw_value_random>): Likewise.
1889         * testsuite/util/regression/rand/priority_queue
1890         /container_rand_regression_test.tcc: Adapt.
1891         * testsuite/util/regression/rand/assoc
1892         /container_rand_regression_test.tcc: Likewise.
1893         * testsuite/util/testsuite_counter_type.h: Add count of destructors.
1894         * testsuite/23_containers/unordered_set
1895         /not_default_constructible_hash_neg.cc: Adjust dg-error line number.
1896         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
1897         * testsuite/23_containers/unordered_set/allocator/copy.cc: New.
1898         * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New.
1899         * testsuite/23_containers/unordered_set/allocator/minimal.cc: New.
1900         * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New.
1901         * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New.
1902         * testsuite/23_containers/unordered_set/allocator/swap.cc: New.
1903         * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New.
1904         * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc:
1905         New.
1906         * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New.
1907         * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
1908         New.
1909         * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New.
1910         * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New.
1911         * testsuite/23_containers/unordered_map/allocator/copy.cc: New.
1912         * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New.
1913         * testsuite/23_containers/unordered_map/allocator/minimal.cc: New.
1914         * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New.
1915         * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
1916         New.
1917         * testsuite/23_containers/unordered_map/allocator/swap.cc: New.
1918         * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New.
1919         * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc:
1920         New.
1921         * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New.
1922         * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
1923         New.
1924         * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New.
1925         * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New.
1927 2013-04-22  Paolo Carlini  <paolo.carlini@oracle.com>
1929         * include/std/type_traits (is_signed): Simplify.
1930         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1931         Adjust dg-error line numbers.
1932         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1933         Likewise.
1934         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1936 2013-04-22  Paolo Carlini  <paolo.carlini@oracle.com>
1938         N3669
1939         * include/std/complex (complex<float>::real, complex<float>::imag,
1940         complex<double>::real, complex<double>::imag,
1941         complex<long double>::real, complex<long double>::imag): Declare
1942         as const member functions.
1943         * include/std/type_traits (integral_constant<>::operator value_type):
1944         Likewise.
1946 2013-04-22  Paolo Carlini  <paolo.carlini@oracle.com>
1948         PR libstdc++/57010
1949         * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment.
1950         * testsuite/25_algorithms/pop_heap/57010.cc: New.
1952 2013-04-21  Evgeniy Stepanov  <eugenis@google.com>
1954         * src/c++11/system_error.cc (generic_category_instance): Add
1955         initializer.
1956         (system_category_instance): Likewise.
1957         * src/c++11/future.cc (__fec): Likewise.
1959 2013-04-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
1961         * doc/xml/manual/extensions.xml: Fix anachronism.
1963 2013-04-09  Tom Tromey  <tromey@redhat.com>
1965         * configure, config.h.in: Rebuild.
1966         * configure.ac: Use GLIBCXX_CHECK_SDT_H.  Don't check for
1967         sys/sdt.h.
1968         * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
1970 2013-04-09  Uros Bizjak  <ubizjak@gmail.com>
1972         * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1974 2013-04-08  Paolo Carlini  <paolo.carlini@oracle.com>
1976         * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
1978 2013-04-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1980         * include/Makefile.am: Add ext/aligned_buffer.h
1981         * include/Makefile.in: Regenerate.
1982         * include/ext/aligned_buffer.h: New.
1983         * include/std/future (_Result): Use __aligned_buffer.
1984         * include/bits/forward_list.h (_Fwd_list_node): Likewise.
1985         * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
1986         * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
1987         number.
1989 2013-04-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
1991         * include/bits/forward_list.h: Only include required headers.
1992         (forward_list::reference): Define directly, not using __alloc_traits.
1993         (forward_list::const_reference): Likewise.
1995 2013-04-07  François Dumont  <fdumont@gcc.gnu.org>
1997         * include/std/functional (_Derives_from_unary_function): Remove.
1998         (_Derives_from_binary_function): Remove.
1999         * include/std/type_traits (__sfinae_types): Remove.
2000         (__is_assignable_helper): Adapt.
2001         (__is_convertible_helper): Adapt.
2002         (_GLIBCXX_HAS_NESTED_TYPE): Adapt.
2003         Remove several explicit instantiations of integral_constant.
2004         * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
2005         * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2006         Adapt dg-error line number.
2007         * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2008         Likewise.
2009         * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2010         * testsuite/20_util/bind/ref_neg.cc: Likewise.
2012 2013-04-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2014         PR libstdc++/56841
2015         * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
2016         get_terminate() accessors.
2017         * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
2018         * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
2019         available.
2020         * libsupc++/new_handler.cc: Likewise.
2022 2013-04-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
2024         * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
2026 2013-04-03  Paolo Carlini  <paolo.carlini@oracle.com>
2028         PR libstdc++/56834
2029         * include/debug/array (tuple_size, tuple_element): Do not declare.
2030         * include/profile/array: Likewise.
2031         * testsuite/23_containers/array/tuple_interface/
2032         tuple_element_debug_neg.cc: Adjust dg-error line number.
2034 2013-04-03  Jonathan Wakely  <jwakely.gcc@gmail.com>
2036         * libsupc++/exception (get_terminate(), get_unexpected()): Declare.
2037         * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
2038         Define.
2039         (set_terminate(terminate_handler)): Set atomically.
2040         (set_unexpected(terminate_handler)): Likewise.
2041         * libsupc++/new (get_new_handler()): Declare.
2042         * libsupc++/new_handler.cc (get_new_handler()): Define.
2043         (set_new_handler(new_handler)): Set atomically.
2044         (__new_handler): Use internal linkage.
2045         * libsupc++/new_op.cc (operator new): Use get_new_handler().
2046         * libsupc++/new_opnt.cc (operator new): Likewise.
2047         * acinclude.m4: Bump libtool_VERSION to 6:19:0.
2048         * configure: Regenerate.
2049         * libsupc++/Makefile.am: Compile above files with -std=gnu++11.
2050         * libsupc++/Makefile.in: Regenerate.
2051         * config/abi/pre/gnu.ver: Add new exports.
2052         * doc/xml/manual/status_cxx2011.xml: Update.
2053         * testsuite/18_support/headers/exception/synopsis.cc: Check accessors
2054         for handlers.
2055         * testsuite/18_support/headers/new/synopsis.cc: Likewise.
2056         * testsuite/18_support/new_handler.cc: New.
2057         * testsuite/18_support/terminate_handler.cc: New.
2058         * testsuite/18_support/unexpected_handler.cc: New.
2060 2013-04-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
2062         * doc/xml/manual/appendix_contributing.xml: Remove broken link and
2063         defer to general documentation on contributing to GCC.
2064         * doc/html/*: Regenerate.
2066 2013-03-30  Gerald Pfeifer  <gerald@pfeifer.com>
2068         * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.
2070         * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
2071         Coding Standards.
2073         * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
2075         * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
2077         * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
2079         * doc/xml/manual/messages.xml: Adjust link to Java API specs.
2081         * doc/xml/manual/policy_data_structures: Remove direct link to
2082         IBM Haifa Research Labs.
2084         * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
2085         for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
2087         * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
2088         papers.
2090         * doc/xml/manual/shared_ptr.xml: Use canonical address for
2091         www.boost.org.
2093 2013-03-27  Kai Tietz  <ktietz@redhat.com>
2095         * crossconfig.m4: Add support for cygwin x64 target.
2096         * configure: Regenerated.
2098 2013-03-25  Kai Tietz  <ktietz@redhat.com>
2100         * testsuite/18_support/50594.cc: For mingw-targets use only static
2101         libstdc++-version.
2102         * testsuite/19_diagnostics/error_category/operators/equal.cc
2103         * testsuite/19_diagnostics/error_code/cons/1.cc
2104         * testsuite/19_diagnostics/error_code/operators/bool.cc
2105         * testsuite/19_diagnostics/error_code/operators/equal.cc
2106         * testsuite/19_diagnostics/error_code/operators/not_equal.cc
2107         * testsuite/19_diagnostics/error_condition/cons/1.cc
2108         * testsuite/19_diagnostics/error_condition/operators/bool.cc
2109         * testsuite/19_diagnostics/error_condition/operators/equal.cc
2110         * testsuite/19_diagnostics/error_condition/operators/not_equal.cc
2111         * testsuite/23_containers/set/requirements/exception/basic.cc
2112         * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc
2113         * testsuite/lib/dg-options.exp (dg-additional-options): New option.
2115 2013-03-24  Jonathan Wakely  <jwakely.gcc@gmail.com>
2117         PR libstdc++/56170
2118         * include/ext/debug_allocator.h (debug_allocator): Add missing members
2119         to meet allocator requirements.
2120         * testsuite/ext/debug_allocator/56170.cc: New.
2122 2013-03-22  Paolo Carlini  <paolo.carlini@oracle.com>
2124         PR libstdc++/56678
2125         * include/std/chrono (__is_ratio): Uglify T.
2127 2013-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
2129         PR libstdc++/55977 (partial, std::vector and std::deque bits)
2130         * include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
2131         _InputIterator, std::input_iterator_tag)): Use emplace_back.
2132         * include/bits/deque.tcc (_M_range_initialize(_InputIterator,
2133         _InputIterator, std::input_iterator_tag)): Likewise.
2134         * testsuite/23_containers/vector/cons/55977.cc: New.
2135         * testsuite/23_containers/deque/cons/55977.cc: Likewise.
2136         * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2137         Adjust dg-error line number.
2138         * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2139         Likewise.
2141 2013-03-17  Paolo Carlini  <paolo.carlini@oracle.com>
2143         PR libstdc++/55979
2144         * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator,
2145         _InputIterator, __false_type)): Use emplace_back.
2146         * testsuite/23_containers/list/cons/55979.cc: New.
2147         * testsuite/23_containers/list/modifiers/1.h: Adjust.
2148         * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2149         Adjust dg-error line number.
2151 2013-03-16  Jason Merrill  <jason@redhat.com>
2153         PR c++/55017
2154         * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move.
2156 2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
2158         PR libstdc++/56468
2159         * libsupc++/exception_ptr.h (type_info): Declare.
2161 2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
2163         PR libstdc++/56002
2164         * include/std/mutex (lock_guard, unique_lock, lock): Define without
2165         depending on _GLIBCXX_HAS_GTHREADS.
2166         * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
2168 2013-03-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
2170         PR libstdc++/56492
2171         * include/std/future (__future_base::_Result): Add result_type
2172         typedef.
2173         (__future_base::_S_allocate_result): Overload for std::allocator.
2174         (__future_base::_Task_setter): Use _Result::result_type instead of
2175         deducing the type from the task.
2176         (__future_base::_Task_state): Store allocator to allow shared state
2177         to be reset.  Replace std::function with member of target object type
2178         accessed via ...
2179         (__future_base::_Task_state_base): New abstract base class.
2180         (__future_base::_Task_state_base::_M_run): New virtual function to
2181         invoke type-erased target object.
2182         (__future_base::_Task_state_base::_M_reset): New virtual function to
2183         create new shared_state using same target object and allocator.
2184         (__future_base::__create_task_state): Allocate a new _Task_state.
2185         (packaged_task::packaged_task): Use __create_task_state.
2186         (packaged_task::reset): Use _Task_state_base::_M_reset.
2187         * testsuite/30_threads/packaged_task/cons/56492.cc: New.
2189 2013-03-15  Tom Tromey  <tromey@redhat.com>
2191         * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
2192         (PROBE2): New macro.
2193         * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
2194         * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
2195         * configure.ac: Check for sys/sdt.h.
2196         * configure, config.h.in: Rebuild.
2198 2013-03-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
2200         PR libstdc++/56613
2201         * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
2202         allocator_traits instead of calling construct directly.
2203         * testsuite/23_containers/map/56613.cc: New.
2205 2013-03-13  Benjamin Kosnik  <bkoz@redhat.com>
2207         * doc/html/*: Regenerate.
2209 2013-03-13  Paolo Carlini  <paolo.carlini@oracle.com>
2211         PR libstdc++/56609
2212         * include/std/type_traits (is_fundamental): Add std::nullptr_t.
2213         * testsuite/20_util/is_fundamental/value.cc: Extend.
2214         * testsuite/20_util/is_compound/value.cc: Likewise.
2216 2013-03-09  Paolo Carlini  <paolo.carlini@oracle.com>
2218         * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
2219         -Wunused warnings.
2221 2013-03-08  Benjamin Kosnik  <bkoz@redhat.com>
2223         * include/bits/memoryfwd.h: New. Centralize forward declarations.
2224         * include/bits/algorithmfwd.h: Consistent comments.
2225         * include/bits/localefwd.h: Same.
2226         * include/ext/vstring_fwd.h: Same.
2227         * include/parallel/algorithmfwd.h: Same.
2228         * include/parallel/numericfwd.h: Same.
2229         * include/std/iosfwd: Same.
2231         * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator
2232         forward decl.
2233         * include/ext/alloc_traits.h: Remove allocator forward decl.
2234         * include/bits/stl_construct.h: Same.
2235         * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator
2236         forward decl. Consistent comments.
2238         * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO.
2240         * include/Makefile.am (bits_headers): Add memoryfwd.h.
2241         * include/Makefile.in: Regenerate.
2242         * configure: Same.
2244 2013-03-08  François Dumont  <fdumont@gcc.gnu.org>
2246         * include/bits/vector.tcc (vector<>operator=(const vector<>&):
2247         Reset pointers after deallocation when memory can be reused.
2248         * testsuite/23_containers/vector/allocator/minimal.cc: Insert
2249         elements to really challenge C++11 allocator integration.
2250         * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
2251         * testsuite/23_containers/vector/allocator/copy_assign.cc:
2252         Likewise.
2253         * testsuite/23_containers/vector/allocator/move_assign.cc:
2254         Likewise.
2255         * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
2256         swap vector back before checks on memory/personality mapping are
2257         performed.
2258         * testsuite/23_containers/forward_list/allocator/minimal.cc:
2259         Insert element to really challenge C++11 allocator integration.
2260         * testsuite/23_containers/forward_list/allocator/copy.cc:
2261         Likewise.
2262         * testsuite/23_containers/forward_list/allocator/copy_assign.cc:
2263         Likewise.
2264         * testsuite/23_containers/forward_list/allocator/move_assign.cc:
2265         Likewise.
2266         * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
2267         and swap forward_list back before checks on memory/personality
2268         mapping are performed.
2270 2013-03-07  Jakub Jelinek  <jakub@redhat.com>
2272         * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2273         * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2274         * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2275         Likewise.
2276         * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2277         * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2278         * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2279         * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2280         * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2281         * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2283 2013-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2285         * scripts/extract_symvers.pl: Omit symbols bound to base
2286         versions.
2287         * scripts/extract_symvers.in: Likewise.
2288         * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
2289         * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
2290         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2291         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2292         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2294 2013-03-04  Ulrich Drepper  <drepper@gmail.com>
2296         * include/ext/random (__gnu_cxx::von_mises_distribution<>):
2297         Optimize generation function by pulling computation of __r into the
2298         constructor for param_type.  Also compare _M_mu in operator==.
2299         Fix comment.
2301 2013-03-02  Ulrich Drepper  <drepper@gmail.com>
2303         Add triangular and von Mises distributions.
2304         * include/ext/random: Include <ext/cmath>.
2305         Add __gnu_cxx::triangular_distribution<> and
2306         __gnu_cxx::von_mises_distribution<> classes.
2307         * include/ext/random.tcc: Add out-of-line functions for
2308         __gnu_cxx::triangular_distribution<> and
2309         __gnu_cxx::von_mises_distribution<>.
2310         * testsuite/ext/triangular_distribution/cons/default.cc: New file.
2311         * testsuite/ext/triangular_distribution/cons/parms.cc: New file.
2312         * testsuite/ext/triangular_distribution/operators/serialize.cc:
2313         New file.
2314         * testsuite/ext/triangular_distribution/operators/equal.cc:
2315         New file.
2316         * testsuite/ext/triangular_distribution/operators/inequal.cc:
2317         New file.
2318         * testsuite/ext/triangular_distribution/requirements/typedefs.cc:
2319         New file.
2320         * testsuite/ext/triangular_distribution/requirements/
2321         explicit_instantiation/1.cc: New file.
2322         * testsuite/ext/von_mises_distribution/cons/default.cc: New file.
2323         * testsuite/ext/von_mises_distribution/cons/parms.cc: New file.
2324         * testsuite/ext/von_mises_distribution/operators/serialize.cc:
2325         New file.
2326         * testsuite/ext/von_mises_distribution/operators/equal.cc: New file.
2327         * testsuite/ext/von_mises_distribution/operators/inequal.cc:
2328         New file.
2329         * testsuite/ext/von_mises_distribution/requirements/typedefs.cc:
2330         New file.
2331         * testsuite/ext/von_mises_distribution/requirements/
2332         explicit_instantiation/1.cc: New file.
2334         Add math constants.
2335         * include/Makefile.am (ext_headers): Add cmath.
2336         * include/Makefile.in: Regenerated.
2337         * include/ext/cmath: New file.
2339 2013-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2341         * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
2342         * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
2343         * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2344         * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2345         * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2347 2013-02-26  Jonathan Wakely  <jwakely.gcc@gmail.com>
2349         PR libstdc++/56012
2350         * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
2351         * testsuite/29_atomics/atomic/operators/56012.cc: New.
2353         PR libstdc++/56011
2354         * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
2355         missing overload.
2356         * testsuite/29_atomics/atomic/operators/56011.cc: New.
2358 2013-02-25  Jason Merrill  <jason@redhat.com>
2360         * configure.ac: Check for __cxa_thread_atexit_impl.
2361         * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
2362         to it if available.
2363         * config.h.in, configure: Regenerate.
2365 2013-02-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
2367         * include/std/streambuf (basic_streambuf): Use injected class name
2368         instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
2369         group.
2371 2013-02-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
2373         * doc/html/faq.html: Fix spelling.
2374         * doc/xml/faq.xml: Likewise.
2375         * include/bits/basic_ios.h: Likewise.
2376         * include/bits/regex.h: Likewise.
2377         * include/std/istream: Likewise.
2378         * include/std/streambuf: Likewise.
2380 2013-02-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
2382         * testsuite/23_containers/unordered_set/55043.cc: Add missing
2383         namespace qualification.
2384         * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
2386 2013-02-19  Benjamin Kosnik  <bkoz@redhat.com>
2388         * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
2389         _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
2390         AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
2391         * include/bits/stl_pair.h: Add to utilities group.
2392         * include/std/tuple: Same.
2393         * include/std/typeindex: Same.
2395         * include/bits/stringfwd.h: Fix markup.
2396         * include/std/limits: Same.
2397         * include/std/type_traits: Same.
2398         * include/tr1/memory: Same.
2399         * include/tr1/regex: Same.
2400         * scripts/run_doxygen: Comment.
2401         * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
2403 2013-02-14  Jason Merrill  <jason@redhat.com>
2405         * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
2406         test if unsupported.
2408 2013-02-13  Marc Glisse  <marc.glisse@inria.fr>
2410         PR libstdc++/56111
2411         * include/std/complex (complex): Undefine.
2412         * include/c_compatibility/complex.h (complex): Only undefine if
2413         <complex> has been included.
2414         * testsuite/26_numerics/complex/56111.cc: New testcase.
2416 2013-02-13  François Dumont  <fdumont@gcc.gnu.org>
2418         * include/bits/hashtable_policy.h (_Hash_code_base): Restore
2419         default constructor protected.
2420         * include/bits/hashtable.h: static assert that _Hash_code_base has
2421         a default constructor available through inheritance.
2423 2013-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
2425         * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
2426         C++11 mode.
2428 2013-02-12  Julian Brown  <julian@codesourcery.com>
2430         * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
2431         Don't expect dots after abbreviated weekday names for ru_RU for
2432         glibc versions >= 2.17.
2433         * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01):
2434         Likewise.
2436 2013-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
2438         * include/bits/random.tcc (__transform): Remove.
2439         (__normalize): Add.
2440         (discrete_distribution<>::param_type::_M_initialize): Adjust.
2441         (piecewise_constant_distribution<>::param_type::_M_initialize):
2442         Likewise.
2443         (piecewise_linear_distribution<>::param_type::_M_initialize):
2444         Likewise.
2446 2013-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2448         * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
2449         Use -fimplicit-templates.
2450         * src/c++11/Makefile.in: Regenerate.
2451         * src/c++11/hashtable_c++0x.cc: Remove instantiation for
2452         std::lower_bound template.
2454 2013-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
2456         * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
2457         * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only
2458         in C++11 mode and if available in the underlying C library.
2459         * testsuite/18_support/quick_exit/quick_exit.cc: Compile with
2460         -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and
2461         _GLIBCXX_HAVE_QUICK_EXIT.
2463 2013-02-11  Benjamin Kosnik  <bkoz@redhat.com>
2465         * doc/html/*: Regenerate.
2467 2013-02-11  Jason Merrill  <jason@redhat.com>
2469         * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New.
2470         (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit.
2471         * config.h.in, configure: Regenerate.
2472         * include/c_std/cstdlib: Add atexit and at_quick_exit.
2473         * include/c_global/cstdlib: Add atexit and at_quick_exit.
2474         * testsuite/18_support/quick_exit/quick_exit.cc: New.
2476 2013-02-11  Paolo Carlini  <paolo.carlini@oracle.com>
2478         PR libstdc++/56282
2479         Revert:
2480         2013-02-06  Edward Smith-Rowland  <3dw4rd@verizon.net>
2482         PR libstdc++/56193
2483         * include/bits/basic_ios.h: Replace operator void*() const
2484         with explicit operator bool() const in C++11 and greater.
2485         * testsuite/27_io/basic_ios/pr56193.cc: New file.
2487 2013-02-10  François Dumont  <fdumont@gcc.gnu.org>
2488             Jonathan Wakely  <jwakely.gcc@gmail.com>
2490         * doc/xml/manual/containers.xml: Add section on unordered containers.
2491         * doc/xml/manual/using.xml: Fix incomplete sentence.
2493 2013-02-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
2495         PR libstdc++/56267
2496         * include/bits/hashtable.h (__cache_default): Check if hash function
2497         is copy assignable.
2498         * testsuite/23_containers/unordered_set/56267.cc: New.
2499         * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
2500         dg-error line number.
2501         * testsuite/23_containers/unordered_set/
2502         not_default_constructible_hash_neg.cc: Likewise.
2504         PR libstdc++/56278
2505         * include/bits/hashtable_policy.h (_Hash_code_base): Make default
2506         constructor public.
2507         * testsuite/23_containers/unordered_set/56278.cc: New.
2509 2013-02-09  François Dumont  <fdumont@gcc.gnu.org>
2511         * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
2512         simplification.
2514 2013-02-08  Edward Smith-Rowland  <3dw4rd@verizon.net>
2516         PR libstdc++/56216
2517         * include/tr1/special_function_util.h: Remove spurious const
2518         from numeric arguments.
2519         * include/tr1/riemann_zeta.tcc: Likewise.
2520         * include/tr1/exp_integral.tcc: Likewise.
2521         * include/tr1/bessel_function.tcc: Likewise.
2522         * include/tr1/hypergeometric.tcc: Likewise.
2523         * include/tr1/modified_bessel_func.tcc: Likewise.
2524         * include/tr1/poly_laguerre.tcc: Likewise.
2525         * include/tr1/gamma.tcc: Likewise.
2526         * include/tr1/legendre_function.tcc: Likewise.
2527         * include/tr1/poly_hermite.tcc: Likewise.
2528         * include/tr1/ell_integral.tcc: Likewise.
2529         * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
2530         If argument is zero return function value.
2531         * testsuite/tr1/5_numerical_facilities/special_functions/
2532         08_cyl_bessel_i/pr56216.cc: New.
2534 2013-02-07  Paolo Carlini  <paolo.carlini@oracle.com>
2536         * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
2538 2013-02-06  Edward Smith-Rowland  <3dw4rd@verizon.net>
2540         PR libstdc++/56193
2541         * include/bits/basic_ios.h: Replace operator void*() const
2542         with explicit operator bool() const in C++11 and greater.
2543         * testsuite/27_io/basic_ios/pr56193.cc: New file.
2545 2013-02-04  Dodji Seketeli  <dodji@redhat.com>
2547         Add missing explicit instantiation for std::lower_bound template
2548         * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
2549         missing instantiation for std::lower_bound template.
2551 2013-02-04  François Dumont  <fdumont@gcc.gnu.org>
2553         * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
2554         * include/bits/basic_string.h: Specialize previous to mark
2555         std::hash for string types as slow.
2556         * include/bits/hashtable.h (__cache_default): Replace is_integral
2557         with __is_fast_hash.
2558         * src/c++11/hash_c++0x.cc: Add type_traits include.
2559         * testsuite/23_containers/unordered_set/instantiation_neg.cc:
2560         Adapt dg-error line number.
2561         * testsuite/23_containers/unordered_set/
2562         not_default_constructible_hash_neg.cc: Likewise.
2564 2013-02-04  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2565             Paolo Carlini  <paolo.carlini@oracle.com>
2567         PR libstdc++/56202 (again)
2568         * include/bits/random.tcc (binomial_distribution<>::
2569         _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
2570         in previous commit.
2572         * include/bits/random.h: Fix comment typo.
2574 2013-02-04  Manuel López-Ibáñez  <manu@gcc.gnu.org>
2575             Paolo Carlini  <paolo.carlini@oracle.com>
2577         PR libstdc++/56202
2578         * include/bits/random.tcc (binomial_distribution<>::
2579         _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
2580         division by zero.
2582 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
2584         Update copyright years.
2585         * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
2586         testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
2587         testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
2588         testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
2589         testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
2590         testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
2591         testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
2592         testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
2593         testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
2594         testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
2595         testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
2596         testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
2597         testsuite/29_atomics/atomic/cons/assign_neg.cc,
2598         testsuite/29_atomics/atomic/cons/copy_neg.cc,
2599         testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
2600         testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
2601         testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
2602         testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
2603         testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
2604         Update lines in dg error matches.
2606 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
2608         * config/os/mingw32/ctype_inline.h: Fix copyright typo.
2610 2013-02-01  François Dumont  <fdumont@gcc.gnu.org>
2612         * include/bits/hashtable_policy.h
2613         (_Prime_rehash_policy::_M_next_bkt)
2614         (_Prime_rehash_policy::_M_need_rehash): Move definition...
2615         * src/c++11/hashtable_c++0x.cc: ... here.
2616         * src/shared/hashtable-aux.cc: Remove c++config.h include.
2617         * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
2618         symbols.
2620 2013-01-29  Jason Merrill  <jason@redhat.com>
2622         PR libstdc++/54314
2623         * config/abi/pre/gnu.ver: Don't export construction vtables.
2624         * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
2626 2013-01-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
2628         PR libstdc++/56112
2629         * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
2630         to construct value_type explicitly before trying to extract the key.
2631         * testsuite/23_containers/unordered_map/cons/56112.cc: New.
2633 2013-01-28  François Dumont  <fdumont@gcc.gnu.org>
2635         * include/bits/hashtable_policy.h (_Local_iterator_base): Use
2636         _Hashtable_ebo_helper to embed functors into the local_iterator
2637         when necessary. Pass information about functors involved in hash
2638         code by copy.
2639         * include/bits/hashtable.h (__cache_default): Do not cache for
2640         builtin integral types unless the hash functor is not noexcept
2641         qualified or is not default constructible. Adapt static assertions
2642         and local iterator instantiations.
2643         * include/debug/unordered_set
2644         (std::__debug::unordered_set<>::erase): Detect local iterators to
2645         invalidate using contained node rather than generating a dummy
2646         local_iterator instance.
2647         (std::__debug::unordered_multiset<>::erase): Likewise.
2648         * include/debug/unordered_map
2649         (std::__debug::unordered_map<>::erase): Likewise.
2650         (std::__debug::unordered_multimap<>::erase): Likewise.
2651         * testsuite/performance/23_containers/insert_erase/41975.cc: Test
2652         std::tr1 and std versions of unordered_set regardless of any
2653         macro. Add test on default cache behavior.
2654         * testsuite/performance/23_containers/insert/54075.cc: Likewise.
2655         * testsuite/23_containers/unordered_set/instantiation_neg.cc:
2656         Adapt line number.
2657         * testsuite/23_containers/unordered_set/
2658         not_default_constructible_hash_neg.cc: New.
2659         * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
2661 2013-01-24  Paolo Carlini  <paolo.carlini@oracle.com>
2663         PR libstdc++/56085
2664         * include/std/complex (pow(const complex<>&, int)): Avoid __n
2665         signed overflow.
2667 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
2669         * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
2670         Tightten scan-assembler-times regexps, add dg-additional-options for
2671         ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
2672         dg-options.
2674 2013-01-12  Andi Kleen  <ak@linux.intel.com>
2675             Jonathan Wakely  <jwakely.gcc@gmail.com>
2677         PR libstdc++/55233
2678         * include/bits/atomic_base.h (__memory_order_modifier): Add
2679         __memory_order_mask, __memory_order_modifier_mask,
2680         __memory_order_hle_acquire, __memory_order_hle_release.
2681         (operator|,operator&): Add.
2682         (__cmpexch_failure_order):  Rename to __cmpexch_failure_order2.
2683         (__cmpexch_failure_order): Add.
2684         (clear, store, load, compare_exchange_weak, compare_exchange_strong):
2685         Handle flags.
2686         * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
2687         Add.
2689 2013-01-19  Jonathan Wakely  <jwakely.gcc@gmail.com>
2691         PR libstdc++/55861
2692         * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
2693         Fix return type.
2694         (__basic_future::_M_get_result()): Const qualify.
2695         (shared_future::get()): Likewise.
2696         * testsuite/30_threads/shared_future/members/get.cc: Use const
2697         objects.
2699 2013-01-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
2701         PR libstdc++/55043 (again)
2702         * include/bits/alloc_traits.h (allocator_traits::construct): Disable
2703         unless construction would be well-formed.
2704         (__allow_copy_cons, __check_copy_constructible): Define.
2705         * include/bits/unordered_map.h (__check_copy_constructible): Use as
2706         base class so copy constructor will be deleted if appropriate.
2707         (is_copy_constructible): Remove specialization.
2708         * include/bits/unordered_set.h: Likewise.
2709         * include/debug/unordered_map.h: Undo previous commit. Default copy
2710         and move constructors.
2711         * include/debug/unordered_set.h: Likewise.
2712         * include/profile/unordered_map.h: Undo previous commit.
2713         * include/profile/unordered_set.h: Likewise.
2714         * testsuite/23_containers/unordered_map/55043.cc: Fix test.
2715         * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
2716         * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
2717         * testsuite/23_containers/unordered_set/55043.cc: Likewise.
2718         * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
2719         cannot support incomplete types.
2720         * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
2721         Likewise.
2723 2013-01-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
2725         PR libstdc++/55043
2726         * include/std/unordered_map: Include alloc_traits.h
2727         * include/std/unordered_set: Likewise.
2728         * include/bits/alloc_traits.h: Define __is_copy_insertable.
2729         * include/bits/unordered_map.h: Use it.
2730         * include/bits/unordered_set.h: Likewise.
2731         * include/debug/unordered_map.h: Likewise.
2732         * include/debug/unordered_set.h: Likewise.
2733         * include/profile/unordered_map.h: Likewise.
2734         * include/profile/unordered_set.h: Likewise.
2735         * include/bits/hashtable.h: Fix comment typos.
2736         * testsuite/23_containers/unordered_map/55043.cc: New.
2737         * testsuite/23_containers/unordered_multimap/55043.cc: New.
2738         * testsuite/23_containers/unordered_multiset/55043.cc: New.
2739         * testsuite/23_containers/unordered_set/55043.cc: New.
2741 2013-01-03  Janis Johnson  <janisjo@codesourcery.com>
2743         * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
2744         gdb command.
2746 2013-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
2748         * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
2750 2013-01-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
2752         PR libstdc++/55908
2753         * include/std/functional (_Mem_fn::operator()): Fix constraints to
2754         avoid ambiguity.
2755         * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
2756         * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
2758 2013-01-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2760         PR libstdc++/55594
2761         * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
2762         Solaris targets.
2763         * configure: Regenerate.
2765 2013-01-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
2767         PR libstdc++/55847
2768         * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
2769         * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
2770         string.
2772         PR libstdc++/55728
2773         * include/std/functional (bad_function_call::what()): Declare.
2774         * src/c++11/functional.cc (bad_function_call::what()): Define.
2775         * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
2776         * testsuite/20_util/bad_function_call/what.cc: New.
2778 2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
2780         * include/bits/unordered_map.h: Fix typo in comments.
2781         * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
2782         counts for unordered associative containers.
2784 2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
2786         * doc/xml/manual/abi.xml: Update library and symbol versions.
2788 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
2790         * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
2791         in copyright years.
2792         * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
2795 Copyright (C) 2013 Free Software Foundation, Inc.
2797 Copying and distribution of this file, with or without modification,
2798 are permitted in any medium without royalty provided the copyright
2799 notice and this notice are preserved.