1 2013-09-05 Tim Shen <timshen91@gmail.com>
3 * include/bits/regex_automaton.h: Add dummy node type. Rewrite
5 * include/bits/regex_automaton.tcc: Implement them.
6 * include/bits/regex_compiler.h: Rewrite _Compiler to use new
8 * include/bits/regex_compiler.tcc: Implement them.
9 * include/bits/regex_scanner.h: Add word boundry assertion token.
10 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_ecma):
12 * testsuite/28_regex/algorithms/regex_match/basic/
13 string_range_02_03.cc: Remove "xfail".
14 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
16 * testsuite/28_regex/algorithms/regex_match/extended/
17 string_range_02_03.cc: Likewise.
18 * testsuite/28_regex/algorithms/regex_match/extended/
19 cstring_questionmark.cc: Remove xfail and get correct length of
21 * testsuite/28_regex/algorithms/regex_match/extended/
22 string_range_00_03.cc: Likewise.
23 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
25 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
27 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc: New.
29 2013-09-03 Paolo Carlini <paolo.carlini@oracle.com>
32 * include/bits/random.tcc (negative_binomial_distribution<>::
33 operator()(_UniformRandomNumberGenerator&, const param_type&)):
34 Fix typo in template argument.
35 * testsuite/26_numerics/random/negative_binomial_distribution/
36 operators/58302.cc: New.
38 2013-09-02 Tim Shen <timshen91@gmail.com>
40 * regex_automaton.h: Rearrange _NFA's layout.
41 * include/bits/regex_compiler.h: Add _AnyMatcher and _CharMatcher.
42 Rearrange _BracketMatcher's layout.
43 (_BracketMatcher<>::_M_add_char): Use set instead of vector for
45 (_BracketMatcher<>::_M_add_collating_element): Likewise.
46 (_BracketMatcher<>::_M_make_range): Likewise.
47 * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom): Use
48 apropriate constructors of matchers above.
49 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
51 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: New.
52 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
54 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
56 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: New.
57 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
59 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: New.
61 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
64 * include/debug/functions.h (__foreign_iterator_aux4): Use
65 sequence const_pointer as common type to compare pointers. Add a
66 fallback overload in case pointers cannot be cast to sequence
68 * testsuite/23_containers/vector/modifiers/insert/58148.cc: New.
70 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
73 * include/debug/macros.h (__glibcxx_check_partitioned_lower): Add
74 __gnu_debug::__base calls on iterators passed to internal debug
76 (__glibcxx_check_partitioned_lower_pred): Likewise.
77 (__glibcxx_check_partitioned_upper): Likewise.
78 (__glibcxx_check_partitioned_upper_pred): Likewise.
79 (__glibcxx_check_sorted): Likewise.
80 (__glibcxx_check_sorted_pred): Likewise.
81 (__glibcxx_check_sorted_set): Likewise.
82 (__glibcxx_check_sorted_set_pred): Likewise.
83 * include/debug/functions.h (__check_partitioned_lower):
84 Remove code to detect safe iterators.
85 (__check_partitioned_upper): Likewise.
86 (__check_sorted): Likewise.
88 2013-08-29 Tim Shen <timshen91@gmail.com>
90 * include/bits/regex.h (basic_regex<>::assign): Don't lose _M_traits.
91 (regex_iterator<>::regex_iterator): Return nullptr when regex_search
93 (regex_token_iterator<>::_M_end_of_seq): Should be defined true when
94 _M_result is(not isn't) nullptr.
95 * include/bits/regex_compiler.h: Store _Compiler::_M_traits by reference
97 * include/bits/regex_executor.h (_DFSExecutor<>::_DFSExecutor): Add
98 _M_traits to _DFSExecutor.
99 * include/bits/regex_executor.tcc (__get_executor<>): Pass traits to
101 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
103 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
106 2013-08-26 Tim Shen <timshen91@gmail.com>
108 * include/Makefile.am: Add regex_scanner.{h,tcc}.
109 * include/Makefile.in: Regenerate.
110 * include/bits/regex.h (match_search): Handle the `__first == __last`
112 * include/bits/regex_compiler.h: Move _Scanner...
113 * include/bits/regex_scanner.h: ...to here. New.
114 * include/bits/regex_compiler.tcc: Move _Scanner...
115 * include/bits/regex_scanner.tcc: ...to here, too. New.
116 * include/bits/regex_executor.tcc: Use value instead of reference for
118 * include/std/regex: Add regex_scanner.h
119 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: New.
120 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: New.
121 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_hex.cc: New.
122 * testsuite/28_regex/algorithms/regex_match/ecma/empty_range.cc: New.
123 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: New.
125 2013-08-22 Tim Shen <timshen91@gmail.com>
127 * include/bits/regex.h: Replace 8 spaces in indentation with a tab.
128 * include/bits/regex_automaton.h: Same.
129 * include/bits/regex_automaton.tcc: Same.
130 * include/bits/regex_compiler.h: Same.
131 * include/bits/regex_compiler.tcc: Same.
132 * include/bits/regex_constants.h: Same.
133 * include/bits/regex_executor.h: Same.
134 * include/bits/regex_executor.tcc: Same.
136 2013-08-22 Tim Shen <timshen91@gmail.com>
138 * include/bits/regex.h: Executor caller.
139 * include/bits/regex_executor.h: Fix empty grouping problem.
140 * include/bits/regex_executor.tcc: Same.
141 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_emptygroup.cc:
144 2013-08-20 Phil Muldoon <pmuldoon@redhat.com>
147 http://sourceware.org/bugzilla/show_bug.cgi?id=15195
149 * python/libstdcxx/v6/printers.py (Printer.__call__): If a value
150 is a reference, fetch referenced value.
151 (RxPrinter.invoke): Ditto.
152 * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add -O0
153 flag. Add referenced value tests.
155 2013-08-20 Tim Shen <timshen91@gmail.com>
157 * include/bits/regex_constants.h: Add underlying `unsigned int` for
158 enum syntax_option_type.
160 2013-08-18 Tim Shen <timshen91@gmail.com>
162 * include/bits/regex_automaton.h: _S_opcode_backref.
163 * include/bits/regex_automaton.tcc: Backref automaton support.
164 * include/bits/regex_compiler.tcc: Parsing support.
165 * include/bits/regex_executor.h: Add _M_traits for _DFSExecutor.
166 * include/bits/regex_executor.tcc: Add _S_opcode_backref support.
167 * testsuite/28_regex/algorithms/regex_match/ecma/string_backref.cc: New.
169 2013-08-16 Tim Shen <timshen91@gmail.com>
171 * include/bits/regex.h (regex_traits<>::transform_primary):
172 Avoid past-the-end dereferences.
174 2013-08-14 Paolo Carlini <paolo.carlini@oracle.com>
177 * include/bits/basic_string.h (basic_string<>::operator[]): Fix
178 _GLIBCXX_DEBUG_PEDASSERT check vs C++11.
179 * include/ext/vstring.h: Likewise.
180 * testsuite/21_strings/basic_string/element_access/char/58163.cc:
182 * testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc:
184 * testsuite/ext/vstring/element_access/char/58163.cc: Likewise.
185 * testsuite/ext/vstring/element_access/wchar_t/58163.cc: Likewise.
187 2013-08-14 Uros Bizjak <ubizjak@gmail.com>
189 * src/c++98/compatibility.cc (_ZTIe): Use
190 reinterpret_cast<const cast *> to avoid -Wcast-qual warnings.
194 2013-08-09 Tim Shen <timshen91@gmail.com>
196 * include/bits/regex_constants.h: Change syntax_option_type to enum
199 2013-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
201 * include/bits/regex.h: Replace _A, _B, _C, _R by _Ap, _Bp, _Cp, _Rp.
203 2013-08-08 François Dumont <fdumont@gcc.gnu.org>
205 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
206 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
208 (_Before_begin<>): Remove.
209 * include/bits/hashtable.h (_Hashtable): Inherit from
210 _Hashtable_alloc and adapt. Restore _M_before_begin field.
211 * src/c++11/hashtable_c++0x.cc: Add ext/alloc_traits.h include.
212 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
213 access to hashtable before begin.
214 * testsuite/23_containers/unordered_set/
215 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
216 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
219 2013-08-07 Tim Shen <timshen91@gmail.com>
221 * include/Makefile.am: Adjust to new files.
222 * include/Makefile.in: Regenerate.
223 * include/bits/regex.h: Adjust to new interfaces.
224 * include/bits/regex_automaton.h: New.
225 * include/bits/regex_automaton.tcc: New.
226 * include/bits/regex_compiler.h: Adjust to new files.
227 * include/bits/regex_compiler.tcc: New.
228 * include/bits/regex_constants.h: Tail spaces.
229 * include/bits/regex_error.h: Likewise.
230 * include/bits/regex_executor.h: New.
231 * include/bits/regex_executor.tcc: New.
232 * include/std/regex: Adjust to new files.
233 * testsuite/28_regex/algorithms/regex_match/extended/
234 string_dispatch_01.cc: Adjust to new interfaces.
236 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
238 * include/ext/atomicity.h: Add #pragma GCC system_header.
240 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
243 * include/bits/random.h (cauchy_distribution<>::min,
244 extreme_value_distribution<>::min, normal_distribution<>::min,
245 student_t_distribution<>::min): Fix.
246 * include/ext/random (normal_mv_distribution<>::min): Likewise.
247 * testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
249 testsuite/26_numerics/random/cauchy_distribution/cons/default.cc:
251 * testsuite/26_numerics/random/extreme_value_distribution/cons/
253 testsuite/26_numerics/random/extreme_value_distribution/cons/
254 default.cc: Likewise.
255 * testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
257 * testsuite/26_numerics/random/normal_distribution/cons/default.cc:
259 * testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
261 * testsuite/26_numerics/random/student_t_distribution/cons/default.cc:
263 * testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
264 * testsuite/ext/random/normal_mv_distribution/cons/default.cc: Likewise.
266 * testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
268 * testsuite/26_numerics/random/exponential_distribution/cons/default.cc:
271 * testsuite/ext/von_mises_distribution/*: Move to...
272 * testsuite/ext/random/von_mises_distribution/*: ... here.
273 * testsuite/ext/triangular_distribution/*: Move to...
274 * testsuite/ext/random/triangular_distribution/*: ... here.
276 2013-08-06 Caroline Tice <cmtice@google.com>
278 * fragment.am: Add XTEMPLATE_FLAGS.
279 * configure.ac: Add definitions for --enable-vtable-verify.
280 * acinclude.m4: Add --enable-vtable-verify and
281 --disable-vtable-verify; define --enable-vtable-verify; define
282 VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
283 * config/abi/pre/gnu.ver: Export symbols for vtable verification.
284 * libsupc++/Makefile.am: Define vtv_sources and add it to
285 libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
286 * libsupc++/vtv_stubs.cc: New file.
287 * include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
288 * src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
289 VTV_CXXLINKFLAGS to CXXLINK.
290 * src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
291 to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
292 * src/C++11/Makefile.am: Ditto.
293 * doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
294 * scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
295 cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
296 * testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
297 libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
298 cxxvtvflags to cxx_final.
299 * testsuite/18_support/bad_exception/23591_thread-1.c: Add
300 -fvtable-verify=none to compiler flags.
301 * testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
303 * configure: Regenerated.
304 * Makefile.in: Regenerated.
305 * python/Makefile.in: Regenerated.
306 * include/Makefile.in: Regenerated.
307 * libsupc++/Makefile.in: Regenerated.
308 * config.h.in: Regenerated.
309 * po/Makefile.in: Regenerated.
310 * src/Makefile.in: Regenerated.
311 * src/c++98/Makefile.in: Regenerated.
312 * src/c++11/Makefile.in: Regenerated.
313 * doc/Makefile.in: Regenerated.
314 * testsuite/Makefile.in: Regenerated.
316 2013-08-06 Paolo Carlini <paolo.carlini@oracle.com>
318 Revert the last commit.
320 2013-08-06 François Dumont <fdumont@gcc.gnu.org>
322 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
323 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
325 (_Before_begin<>): Remove.
326 * include/bits/hashtable.h (_Hashtable): Inherit from
327 _Hashtable_alloc and adapt. Restore _M_before_begin field.
328 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
329 access to hashtable before begin.
330 * testsuite/23_containers/unordered_set/
331 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
332 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
335 2013-08-03 Tim Shen <timshen91@gmail.com>
337 Implement bracket expression.
338 * include/bits/regex.h: Remove constexpr from "|=", etc.
339 * include/bits/regex_compiler.h: Parse bracket expression.
340 * include/bits/regex_nfa.h: _Comparator and _BracketMatcher(old
342 * include/bits/regex_nfa.tcc: Implement them.
343 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
344 from regex_search to regex_match.
345 * testsuite/28_regex/algorithms/regex_match/extended/
346 cstring_bracket_01.cc: New.
348 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
350 * include/debug/functions.h (__foreign_iterator_aux4):
351 Initialize __l and __ge.
353 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
356 * include/debug/functions.h: Include <bits/move.h>; minor formatting
358 (__foreign_iterator_aux4): Declare __l and __ge constexpr.
359 * include/debug/safe_iterator.h (_Safe_iterator<>::operator->):
361 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
362 operator->): Likewise.
364 2013-08-01 François Dumont <fdumont@gcc.gnu.org>
367 * include/debug/formatter.h (_Debug_msg_id): Add
368 __msg_insert_itself_range entry.
369 * include/debug/functions.h (_Insert_range_from_self_is_safe<>):
370 New, indicate container types supporting self range insertion in
372 (__foreign_iterator): New, check if an iterator points to a given
374 * include/debug/macros.h (__glibcxx_check_insert_range): Add check
375 using __foreign_iterator.
376 (__gibcxx_check_insert_range_after): Likewise.
377 * include/debug/string (_Insert_range_from_self_is_safe<>):
378 Partially specialized to mark __gnu_debug::basic_string<> as
379 supporting self range insert.
380 * include/debug/list (_Insert_range_from_self_is_safe<>):
381 Partially specialized to mark std::list as supporting self range
382 insert if _GLIBCXX_DEBUG_PEDANTIC is not defined.
383 * include/debug/forward_list (_Insert_range_from_self_is_safe<>):
385 * src/c++11/debug.cc (_S_debug_messages): Add
386 __msg_insert_itself_range_entry message.
387 (_Error_formatter::_Parameter::_M_print_description): Display
388 iterator sequence address rather than sequence address when the
389 parameter type is an iterator.
390 (_Error_formatter::_M_print_word): Enhance behavior when
391 displaying a word with an appended '\n'.
392 * testsuite/util/debug/checks.h (check_insert4<>): New.
393 * testsuite/23_containers/deque/debug/insert5_neg.cc: New.
394 * testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise.
395 * testsuite/23_containers/vector/debug/insert6_neg.cc: Likewise.
396 * testsuite/23_containers/vector/debug/57779_neg.cc: Likewise.
397 * testsuite/23_containers/list/debug/insert5_neg.cc: Likewise.
398 * testsuite/23_containers/forward_list/debug/insert_after4_neg.cc:
401 2013-08-01 Fabien Chêne <fabien@gcc.gnu.org>
404 * include/tr1/cmath: Remove pow(double,double) overload, remove a
405 duplicated comment about DR 550. Add a comment to explain the
407 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New.
409 2013-07-31 Tim Shen <timshen91@gmail.com>
411 Thompson matcher refactored. Fix grouping problem.
412 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
413 * include/bits/regex_compiler.h: Tweak for auto switching.
414 * include/bits/regex_grep_matcher.h: Class structure.
415 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
416 matcher) refactoring.
417 * include/bits/regex_nfa.h: Change _Results's interfaces.
418 * include/std/regex: Includes <map> and <queue>.
419 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
421 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
423 * testsuite/28_regex/algorithms/regex_match/extended/
424 string_dispatch_01.cc: New.
426 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
429 * include/bits/stl_bvector.h: Use friend struct hash intead of
430 friend class hash to work around useless warnings produced by
432 * include/std/bitset: Likewise.
434 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
436 * src/c++11/functexcept.cc: Do not include the whole <regex>.
437 * src/c++11/regex.cc: Likewise.
439 2013-07-31 Tim Shen <timshen91@gmail.com>
443 2013-07-31 Tim Shen <timshen91@gmail.com>
445 Thompson matcher refactored. Fix grouping problem.
446 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
447 * include/bits/regex_compiler.h: Tweak for auto switching.
448 * include/bits/regex_grep_matcher.h: Class structure.
449 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
450 matcher) refactoring.
451 * include/bits/regex_nfa.h: Change _Results's interfaces.
452 * include/std/regex: Includes <map> and <queue>.
453 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
455 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
457 * testsuite/28_regex/algorithms/regex_match/extended/
458 string_dispatch_01.cc: New.
460 2013-07-30 Paolo Carlini <paolo.carlini@oracle.com>
464 2013-07-30 Tim Shen <timshen91@gmail.com>
466 Thompson matcher refactored. Fix grouping problem.
467 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
468 * include/bits/regex_compiler.h: Tweak for auto switching.
469 * include/bits/regex_grep_matcher.h: Class structure.
470 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
471 matcher) refactoring.
472 * include/bits/regex_nfa.h: Change _Results's interfaces.
473 * include/std/regex: Includes <map> and <queue>.
474 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
476 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
478 * testsuite/28_regex/algorithms/regex_match/extended/
479 string_dispatch_01.cc: New.
481 2013-07-29 Nathan Froyd <froydnj@gcc.gnu.org>
483 * include/std/atomic (compare_exchange_weak, compare_exchange_strong):
484 Add call to __cmpexch_failure_order.
485 * testsuite/util/testsuite_common_types.h
486 (compare_exchange_order_lowering): New generator.
487 * testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc:
490 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com>
492 * include/std/complex (pow(const complex<>&, int)): Enable in
494 * testsuite/26_numerics/complex/dr844.cc: Adjust.
495 * doc/xml/manual/intro.xml: Update.
497 2013-07-25 Tim Shen <timshen91@gmail.com>
499 Add documents and comments.
500 * include/bits/regex.h: Documents and comments.
501 * include/bits/regex_grep_matcher.h: Likewise.
502 * include/bits/regex_grep_matcher.tcc: Likewise.
503 * testsuite/28_regex/iterators/regex_iterator/char/
504 string_position_01.cc: New.
506 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
509 * doc/xml/manual/status_cxx2011.xml: Note missing time_get::get and
512 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
514 * include/bits/random.h (random_device): Avoid using the FILE type.
515 * include/std/random: Do not include <cstdio>.
516 * src/c++11/random.cc: ... include it here.
517 (random_device::_M_init, random_device::_M_fini,
518 random_device::_M_getval): Cast back and forth void* and FILE*.
520 2013-07-24 Tim Shen <timshen91@gmail.com>
522 Reimplment matcher using Depth-first search(backtracking).
525 * include/bits/regex.h: regex_match() and regex_search().
526 * include/bits/regex_cursor.h: Fix _M_set_pos().
527 * include/bits/regex_grep_matcher.h: add _M_dfs_match().
528 * include/bits/regex_grep_matcher.tcc: Implement it.
529 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: New.
530 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: New.
531 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc:
534 2013-07-23 Tim Shen <timshen91@gmail.com>
536 Implement regex_iterator and regex_token_iterator.
537 * include/bits/regex.h: regex_iterator and regex_token_iterator.
538 * testsuite/28_regex/iterators/regex_iterator/char/string_01.cc:
540 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc:
542 * testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:
544 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
547 2013-07-23 Paolo Carlini <paolo.carlini@oracle.com>
549 * include/std/random: Add back <cstdio> include.
550 * src/c++11/random.cc: Don't include <cstdio> here.
552 2013-07-22 Jason Merrill <jason@redhat.com>
555 * libsupc++/atexit_thread.cc (run): Delete cleanup elts.
557 2013-07-22 Paolo Carlini <paolo.carlini@oracle.com>
560 * src/c++11/random.cc (random_device::_M_getval): If possible, use
561 read instead of std::fread.
562 * include/std/random: Do not include <cstdio> unnecessarily.
564 2013-07-21 Tim Shen <timshen91@gmail.com>
566 Partially implement regex_search.
567 * include/bits/regex.h: regex_search.
568 * include/bits/regex_grep_matcher.h: _M_search_from_first.
569 * include/bits/regex_grep_matcher.tcc: Implement it.
570 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: New.
572 2013-07-21 Jonathan Wakely <jwakely.gcc@gmail.com>
575 * include/std/condition_variable (condition_variable_any): Move into
576 inline namespace _V2 and replace mutex member with shared_ptr<mutex>.
577 * src/c++11/condition_variable.cc (condition_variable_any): Move
579 * src/c++11/compatibility-condvar.cc (condition_variable_any): Here.
580 * src/Makefile.am: Add new source file.
581 * src/Makefile.in: Regenerate.
583 2013-07-09 Tim Shen <timshen91@gmail.com>
585 Implement class regex_traits.
586 * include/bits/regex.h: Implement lookup_classname and
587 lookup_collatename; modify isctype; partially implement
589 * testsuite/28_regex/traits/char/isctype.cc: Add more test cases.
590 * testsuite/28_regex/traits/char/lookup_classname.cc: Likewise.
591 * testsuite/28_regex/traits/char/lookup_collatename.cc: Likewise.
592 * testsuite/28_regex/traits/char/transform_primary.cc: Likewise.
593 * testsuite/28_regex/traits/wchar_t/isctype.cc: New.
594 * testsuite/28_regex/traits/wchar_t/lookup_classname.cc: New.
595 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: New.
596 * testsuite/28_regex/traits/wchar_t/transform_primary.cc: New.
598 2013-07-07 Ed Smith-Rowland <3dw4rd@verizon.net>
600 * doc/xml/manual/status_cxx2014.xml: Add links for papers.
602 2013-07-05 François Dumont <fdumont@gcc.gnu.org>
604 * include/bits/hashtable_policy.h (_ReuseOrAllocNode): Use forward
606 (_MoveReuseOrAllocNode): Remove.
607 (_Insert_base): Take a functor defining how the node is generated.
608 * include/bits/hashtable.h: Adapt.
609 (operator=(initializer_list<value_type>)): Reuse node if any.
610 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
611 Adjust dg-error line number.
612 * testsuite/23_containers/unordered_set/
613 not_default_constructible_hash_neg.cc: Likewise.
615 2013-07-05 Paolo Carlini <paolo.carlini@oracle.com>
617 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
618 Tweak, avoid potential undefined behavior.
619 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
621 * testsuite/23_containers/vector/bool/modifiers/insert/
622 const_iterator.cc: Likewise.
623 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
626 2013-07-04 Veres Lajos <vlajos@gmail.com>
627 Jonathan Wakely <jwakely.gcc@gmail.com>
629 * config/locale/generic/codecvt_members.cc: Fix typo.
630 * configure.host: Likewise.
631 * doc/html/manual/policy_data_structures_design.html: Likewise.
632 * doc/xml/manual/policy_data_structures.xml: Likewise.
633 * include/bits/hashtable.h: Likewise.
634 * include/bits/random.h: Likewise.
635 * include/profile/impl/profiler_trace.h: Likewise.
636 * testsuite/23_containers/deque/cons/2.cc: Likewise.
637 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
638 * testsuite/ext/pb_ds/example/basic_multimap.cc: Likewise.
639 * testsuite/performance/23_containers/insert_erase/41975.cc: Likewise.
641 2013-07-04 Ray Chason <chasonr@newsguy.com>
642 Paolo Carlini <paolo.carlini@oracle.com>
645 * include/bits/regex.h (regex_token_iterator<>::operator==,
646 regex_token_iterator<>::operator!=, regex_token_iterator<>::operator*,
647 regex_token_iterator<>::operator->): Declare const.
649 2013-07-01 Paolo Carlini <paolo.carlini@oracle.com>
651 * include/bits/stl_list.h (list<>::insert(iterator,
652 size_type, const value_type&), list<>::insert(iterator,
653 initializer_list<>), list<>::insert(iterator, _InputIterator,
654 _InputIterator), list<>::splice(iterator, list&&),
655 list<>::splice(iterator, list&), list<>::splice(iterator, list&&,
656 iterator), list<>::splice(iterator, list&, iterator),
657 list<>::splice(iterator, list&&, iterator, iterator),
658 list<>::splice(iterator, list&, iterator, iterator)): Adjust C++11
659 signatures to take const_iterator(s).
660 * include/bits/list.tcc (list<>::insert(const_iterator, size_type,
661 const value_type&), list<>::insert(const_iterator, _InputIterator,
662 _InputIterator)): Define.
663 * include/ext/vstring.h (__versa_string<>::insert(iterator,
664 size_type, _CharT), __versa_string<>::insert(iterator,
665 _InputIterator, _InputIterator), __versa_string<>::insert(iterator,
666 std::initializer_list<>), __versa_string<>::replace(iterator,
667 iterator, _InputIterator, _InputIterator), __versa_string<>::
668 replace(iterator, iterator, std::initializer_list<>)): Adjust C++11
669 signatures to take const_iterator(s).
670 (__versa_string<>::_M_replace_dispatch): Take const_iterators.
671 * include/ext/vstring.tcc: Likewise.
672 * include/debug/list: Adjust.
673 * include/profile/list: Likewise.
674 * testsuite/23_containers/list/operations/splice/const_iterator.cc:
676 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
678 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
680 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
682 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
684 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
687 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
688 Adjust dg-error line number.
689 * testsuite/23_containers/list/requirements/dr438/
690 constructor_1_neg.cc: Likewise.
691 * testsuite/23_containers/list/requirements/dr438/
692 constructor_2_neg.cc: Likewise.
693 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
696 2013-06-30 Paolo Carlini <paolo.carlini@oracle.com>
698 * include/bits/stl_deque.h (deque<>::insert(iterator,
699 size_type, const value_type&), deque<>::insert(iterator,
700 initializer_list<>), deque<>::insert(iterator, _InputIterator,
701 _InputIterator)): Adjust C++11 signatures to take a const_iterator.
702 * include/bits/stl_vector.h: Likewise.
703 * include/bits/stl_bvector.h: Likewise.
704 * include/debug/deque: Adjust.
705 * include/debug/vector: Likewise.
706 * include/profile/deque: Likewise.
707 * include/profile/vector: Likewise.
708 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
710 * testsuite/23_containers/vector/bool/modifiers/insert/
711 const_iterator.cc: Likewise.
712 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
715 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
716 Adjust dg-error line number.
717 * testsuite/23_containers/deque/requirements/dr438/
718 constructor_1_neg.cc: Likewise.
719 * testsuite/23_containers/deque/requirements/dr438/
720 constructor_2_neg.cc: Likewise.
721 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
723 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
725 * testsuite/23_containers/vector/requirements/dr438/
726 constructor_1_neg.cc: Likewise.
727 * testsuite/23_containers/vector/requirements/dr438/
728 constructor_2_neg.cc: Likewise.
729 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
732 2013-06-29 François Dumont <fdumont@gcc.gnu.org>
734 * include/bits/hashtable_policy.h (_Insert_base): Consider hint in
736 * include/bits/hashtable.h: Likewise.
737 * testsuite/23_containers/unordered_multimap/insert/hint.cc: New.
738 * testsuite/performance/23_containers/insert/unordered_multiset_hint.cc:
740 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
741 Adjust dg-error line number.
742 * testsuite/23_containers/unordered_set/
743 not_default_constructible_hash_neg.cc: Likewise.
744 * doc/xml/manual/containers.xml: Document hinting in unordered
747 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
749 * testsuite/21_strings/basic_string/operations/*: Move inside
750 testsuite/21_strings/basic_string/operations/data/.
751 * testsuite/21_strings/basic_string/compare/*: Move inside
752 testsuite/21_strings/basic_string/operations/.
753 * testsuite/21_strings/basic_string/find/*: Likewise.
754 * testsuite/21_strings/basic_string/rfind/*: Likewise.
755 * testsuite/21_strings/basic_string/substr/*: Likewise.
757 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
759 * testsuite/21_strings/basic_string/append/*: Move inside
760 testsuite/21_strings/basic_string/modifiers/.
761 * testsuite/21_strings/basic_string/assign/*: Likewise.
762 * testsuite/21_strings/basic_string/insert/*: Likewise.
763 * testsuite/21_strings/basic_string/replace/*: Likewise.
764 * testsuite/21_strings/basic_string/modifiers/pop_back/char/
765 pop_back.cc: Rename to 1.cc.
766 * testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/
767 pop_back.cc: Likewise.
768 * testsuite/ext/vstring/assign/*: Move inside
769 testsuite/ext/vstring/modifiers/.
771 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
773 * include/bits/stl_deque.h (deque<>::insert(iterator,
774 const value_type&), deque<>::insert(iterator, value_type&&),
775 deque<>::emplace(iterator, _Args&&...)): Adjust C++11 signatures to
776 take a const_iterator.
777 (deque<>::erase): Simplify.
778 * include/bits/stl_list.h: Likewise.
779 (_List_iterator<>::_M_const_cast): Add.
780 * include/bits/stl_vector.h: Likewise.
781 * include/bits/stl_bvector.h: Likewise.
782 (_Bit_iterator::_M_const_cast): Add.
783 * include/bits/deque.tcc: Adjust definitions.
784 * include/bits/list.tcc: Likewise.
785 * include/bits/vector.tcc: Likewise.
786 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
787 Define trivial version in C++98 mode.
788 * include/ext/vstring.h (__versa_string<>::insert(iterator, _CharT),
789 __versa_string<>::replace(iterator, iterator, const __versa_string&),
790 __versa_string<>::replace(iterator, iterator, const _CharT*,
791 size_type), __versa_string<>::replace(iterator, iterator,
792 const _CharT*), __versa_string<>::replace(iterator, iterator,
793 size_type, _CharT)): Adjust C++11 signatures to take a pair of
795 * include/debug/deque: Adjust.
796 * include/debug/list: Likewise.
797 * include/debug/vector: Likewise.
798 * include/profile/deque: Likewise.
799 * include/profile/list: Likewise.
800 * include/profile/vector: Likewise.
801 (vector<>::emplace): Add.
802 * testsuite/util/exception/safety.h: Update.
803 * testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc:
805 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
807 * testsuite/23_containers/list/modifiers/emplace/const_iterator.cc:
809 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
811 * testsuite/23_containers/vector/bool/modifiers/insert/
812 const_iterator.cc: Likewise.
813 * testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc:
815 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
817 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
819 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
821 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
823 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
826 * testsuite/ext/vstring/modifiers/char/54577.cc: Move to testsuite/
827 ext/vstring/modifiers/erase/char/.
828 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Move to testsuite/
829 ext/vstring/modifiers/wchar_t/.
830 * testsuite/ext/vstring/modifiers/char/pop_back.cc: Move to testsuite/
831 ext/vstring/modifiers/pop_back/char/.
832 * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: Move to
833 testsuite/ext/vstring/modifiers/pop_back/wchar_t/.
835 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
836 Adjust dg-error line number.
837 * testsuite/23_containers/deque/requirements/dr438/
838 constructor_1_neg.cc: Likewise.
839 * testsuite/23_containers/deque/requirements/dr438/
840 constructor_2_neg.cc: Likewise.
841 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
843 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
845 * testsuite/23_containers/list/requirements/dr438/
846 constructor_1_neg.cc: Likewise.
847 * testsuite/23_containers/list/requirements/dr438/
848 constructor_2_neg.cc: Likewise.
849 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
851 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
853 * testsuite/23_containers/vector/requirements/dr438/
854 constructor_1_neg.cc: Likewise.
855 * testsuite/23_containers/vector/requirements/dr438/
856 constructor_2_neg.cc: Likewise.
857 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
860 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net>
862 Status page for C++2014 library features
863 * doc/xml/faq.xml: Add link to new C++14 status page.
864 * doc/xml/manual/intro.xml: Ditto.
865 * doc/xml/manual/status_cxx2014.xml: New.
867 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
869 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid
870 spurious fails with check-debug.
871 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc:
873 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise.
874 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc:
877 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
880 * include/bits/char_traits.h (char_traits<char>::lt): Implement
882 * testsuite/21_strings/char_traits/requirements/char/57704.cc: New.
884 2013-06-24 Bernd Edlinger <bernd.edlinger@hotmail.de>
887 * include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED,
888 declare per the letter of the C++ standard in terms of void.
889 * include/c_std/cstdlib: Likewise.
891 2013-06-22 Paolo Carlini <paolo.carlini@oracle.com>
894 * include/bits/random.h (binomial_distribution<>::_M_waiting):
895 Add double parameter.
896 * include/bits/random.tcc (binomial_distribution<>::operator()
897 (_UniformRandomNumberGenerator&, const param_type&)): Pass
898 __param._M_q to _M_waiting.
899 (_M_waiting): Adjust.
900 * testsuite/26_numerics/random/binomial_distribution/
901 operators/values.cc: Add tests.
903 2013-06-21 Paolo Carlini <paolo.carlini@oracle.com>
906 * include/std/valarray (valarray<>::operator=(const _Expr<>&)):
907 Implement correctly C++11 26.6.2.3/1.
908 * testsuite/26_numerics/valarray/dr630-3.C: New.
910 2013-06-18 Jonathan Wakely <jwakely.gcc@gmail.com>
913 * include/std/mutex (timed_mutex, recursive_timed_mutex): Move common
914 functionality to new __timed_mutex_impl mixin. Overload try_lock_until
915 to handle conversion between different clocks. Replace constrained
916 __try_lock_for_impl overloads with conditional increment.
917 * include/std/shared_mutex (shared_mutex::_Mutex): Use the new mixin.
918 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: New.
920 2013-06-17 Jonathan Wakely <jwakely.gcc@gmail.com>
921 Chris Jefferson <chris@bubblescope.net>
923 * include/bits/stl_algobase.h (equal): Make C++14 overloads from N3671
924 dispatch to traditional std::equal for random-access iterators.
925 (__equal2_aux, __equal2): Remove.
926 (__equal::equal): Remove unused overloads.
927 * include/bits/stl_algo.h (is_permutation): Fix typos.
929 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
931 * include/std/shared_mutex (shared_lock::operator=): Add missing
934 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
937 * include/bits/forward_list.h (_Fwd_list_base): Convert to/from
938 allocator's pointer type.
939 * include/bits/hashtable.h (_Hashtable): Likewise.
940 * testsuite/util/testsuite_allocator.h (CustomPointerAlloc): Add.
941 * testsuite/23_containers/forward_list/allocator/ext_ptr.cc: New.
942 * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: New.
943 * testsuite/23_containers/vector/allocator/ext_ptr.cc: New.
945 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
947 * include/std/shared_mutex: Implement N3659.
948 * include/bits/c++14_warning.h: New.
949 * include/Makefile.am: Add new headers.
950 * include/Makefile.in: Regenerate.
951 * testsuite/30_threads/shared_lock/cons/1.cc: New.
952 * testsuite/30_threads/shared_lock/locking/2.cc: New.
953 * testsuite/30_threads/shared_lock/cons/2.cc: New.
954 * testsuite/30_threads/shared_lock/locking/3.cc: New.
955 * testsuite/30_threads/shared_lock/cons/3.cc: New.
956 * testsuite/30_threads/shared_lock/locking/4.cc: New.
957 * testsuite/30_threads/shared_lock/cons/4.cc: New.
958 * testsuite/30_threads/shared_lock/modifiers/1.cc: New.
959 * testsuite/30_threads/shared_lock/cons/5.cc: New.
960 * testsuite/30_threads/shared_lock/modifiers/2.cc: New.
961 * testsuite/30_threads/shared_lock/cons/6.cc: New.
962 * testsuite/30_threads/shared_lock/requirements/
963 explicit_instantiation.cc: New.
964 * testsuite/30_threads/shared_lock/locking/1.cc: New.
965 * testsuite/30_threads/shared_lock/requirements/typedefs.cc: New.
966 * testsuite/30_threads/shared_mutex/cons/1.cc: New.
967 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
968 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
969 * testsuite/30_threads/shared_mutex/requirements/
970 standard_layout.cc: New.
971 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
972 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
974 2013-06-15 Paolo Carlini <paolo.carlini@oracle.com>
977 * include/bits/unordered_map.h (unordered_map<>::insert,
978 unordered_multimap<>::insert): Use std::forward, not std::move.
979 * testsuite/23_containers/unordered_map/insert/57619.C: New.
980 * testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.
982 2013-06-14 Alan Modra <amodra@gmail.com>
984 * configure.host (abi_baseline_pair): Match powerpc64*.
986 2013-06-13 Daniel Krugler <daniel.kruegler@gmail.com>
988 * include/std/type_traits (is_function): Support ref-qualified
990 (is_copy_constructible, is_move_constructible, is_copy_assignable,
991 is_move_assignable, is_nothrow_copy_constructible,
992 is_nothrow_move_constructible, is_nothrow_copy_assignable,
993 is_nothrow_move_assignable): Implement LWG 2196.
994 (add_lvalue_reference, add_rvalue_reference, add_pointer): Implement
996 (__strip_reference_wrapper<<const reference_wrapper<_Tp>>): Remove,
998 * testsuite/20_util/add_lvalue_reference/value.cc: Extend.
999 * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
1000 * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
1001 * testsuite/20_util/is_assignable/value.cc: Likewise.
1002 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
1003 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
1004 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
1005 * testsuite/20_util/is_function/value.cc: Likewise.
1006 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
1007 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
1008 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
1009 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
1010 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
1011 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
1013 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1015 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1017 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1020 2013-06-13 Paolo Carlini <paolo.carlini@oracle.com>
1022 * include/tr1/modified_bessel_func.tcc (__gnu_cxx::__airy_ai(),
1023 __gnu_cxx::__airy_bi()): Remove.
1024 * testsuite/tr1/5_numerical_facilities/special_functions/
1025 10_cyl_bessel_k/airy.cc: Fix.
1027 2013-06-12 Ed Smith-Rowland <3dw4rd@verizon.net>
1030 * include/tr1/modified_bessel_func.tcc (__airy): Remove return
1032 (__gnu_cxx::__airy_ai(), __gnu_cxx::__airy_bi()): New functions.
1033 * testsuite/tr1/5_numerical_facilities/special_functions/
1034 10_cyl_bessel_k/airy.cc: New.
1036 2013-06-11 Ed Smith-Rowland <3dw4rd@verizon.net>
1038 Fix library literals error involving namespace __detail.
1039 * include/std/chrono: Rename __detail to __select_type. Reformat.
1040 * include/bits/basic_string.h: Reformat.
1041 * testsuite/20_util/duration/literals/ns_detail.cc: New.
1043 2013-06-11 Paolo Carlini <paolo.carlini@oracle.com>
1046 * include/c_global/cstddef (max_align_t): Add to namespace std.
1047 * include/c_std/cstddef: Likewise.
1048 * testsuite/18_support/max_align_t/requirements/1.cc: New.
1049 * testsuite/18_support/max_align_t/requirements/2.cc: Likewise.
1051 2013-06-10 Benjamin Kosnik <bkoz@redhat.com>
1053 * include/bits/c++config (_GLIBCXX_ABI_TAG_CXX11): Add.
1054 * include/bits/stl_map.h (erase): Use abi_tag when C++11.
1055 * include/bits/stl_multimap.h: Same.
1056 * include/bits/stl_multiset.h: Same.
1057 * include/bits/stl_set.h: Same.
1058 * include/bits/stl_tree.h: Same.
1059 * include/std/complex (real, imag): Use macro for abi_tag.
1061 * testsuite/lib/libstdc++.exp: Disable inlinling with -fno-inline.
1062 * testsuite/util/testsuite_containers.h (erase_external): New
1064 (erase_external_iterators): Same.
1065 (linkage_check_cxx98_cxx11_erase): Same.
1066 (linkage_check_cxx98_cxx11_erase_iterators): Same.
1067 * testsuite/util/testsuite_shared.cc: Define.
1068 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: New.
1069 * testsuite/23_containers/map/modifiers/erase/
1070 dr130-linkage-check.cc: New.
1071 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: New.
1072 * testsuite/23_containers/multimap/modifiers/erase/
1073 dr130-linkage-check.cc: New.
1074 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: New.
1075 * testsuite/23_containers/multiset/modifiers/erase/
1076 dr130-linkage-check.cc: New.
1077 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: New.
1078 * testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc:
1080 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number.
1082 * testsuite/23_containers/map/dr130.cc: Move...
1083 * testsuite/23_containers/map/modifiers/dr130.cc: ...here.
1084 * testsuite/23_containers/multimap/dr130.cc: Move ...
1085 * testsuite/23_containers/multimap/modifiers/dr130.cc: ...here.
1086 * testsuite/23_containers/multiset/dr130.cc: Move...
1087 * testsuite/23_containers/multiset/modifiers/dr130.cc: ...here.
1088 * testsuite/23_containers/set/dr130.cc: Move...
1089 * testsuite/23_containers/set/modifiers/dr130.cc: ...here.
1091 2013-06-10 Thomas Schwinge <thomas@codesourcery.com>
1093 * testsuite/17_intro/headers/c++1998/49745.cc: Extend current
1094 handling of Linux-based x86 systems to cover all GNU systems.
1095 * testsuite/18_support/bad_exception/23591_thread-1.c: Likewise.
1096 * testsuite/18_support/pthread_guard.cc: Likewise.
1097 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
1099 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
1101 * testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
1102 * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
1103 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
1104 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1105 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
1106 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
1107 * testsuite/23_containers/list/pthread1.cc: Likewise.
1108 * testsuite/23_containers/list/pthread5.cc: Likewise.
1109 * testsuite/23_containers/map/pthread6.cc: Likewise.
1110 * testsuite/23_containers/vector/debug/multithreaded_swap.cc:
1112 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1114 * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
1115 * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
1116 * testsuite/30_threads/async/42819.cc: Likewise.
1117 * testsuite/30_threads/async/49668.cc: Likewise.
1118 * testsuite/30_threads/async/54297.cc: Likewise.
1119 * testsuite/30_threads/async/any.cc: Likewise.
1120 * testsuite/30_threads/async/async.cc: Likewise.
1121 * testsuite/30_threads/async/launch.cc: Likewise.
1122 * testsuite/30_threads/async/sync.cc: Likewise.
1123 * testsuite/30_threads/call_once/39909.cc: Likewise.
1124 * testsuite/30_threads/call_once/49668.cc: Likewise.
1125 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1126 * testsuite/30_threads/condition_variable/54185.cc: Likewise.
1127 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
1128 * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
1129 * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
1130 * testsuite/30_threads/condition_variable/members/53841.cc:
1132 * testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
1134 * testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
1135 * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
1136 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
1137 * testsuite/30_threads/condition_variable_any/members/1.cc:
1139 * testsuite/30_threads/condition_variable_any/members/2.cc:
1141 * testsuite/30_threads/future/cons/move.cc: Likewise.
1142 * testsuite/30_threads/future/members/45133.cc: Likewise.
1143 * testsuite/30_threads/future/members/get.cc: Likewise.
1144 * testsuite/30_threads/future/members/get2.cc: Likewise.
1145 * testsuite/30_threads/future/members/share.cc: Likewise.
1146 * testsuite/30_threads/future/members/valid.cc: Likewise.
1147 * testsuite/30_threads/future/members/wait.cc: Likewise.
1148 * testsuite/30_threads/future/members/wait_for.cc: Likewise.
1149 * testsuite/30_threads/future/members/wait_until.cc: Likewise.
1150 * testsuite/30_threads/lock/1.cc: Likewise.
1151 * testsuite/30_threads/lock/2.cc: Likewise.
1152 * testsuite/30_threads/lock/3.cc: Likewise.
1153 * testsuite/30_threads/lock/4.cc: Likewise.
1154 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1155 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1156 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1157 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1158 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
1159 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1160 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1161 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1162 * testsuite/30_threads/packaged_task/49668.cc: Likewise.
1163 * testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
1164 * testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
1165 * testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
1166 * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
1167 * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
1168 * testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
1169 * testsuite/30_threads/packaged_task/cons/move_assign.cc:
1171 * testsuite/30_threads/packaged_task/members/get_future.cc:
1173 * testsuite/30_threads/packaged_task/members/get_future2.cc:
1175 * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
1176 * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
1177 * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
1178 * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
1179 * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
1180 * testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
1181 * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
1182 * testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
1183 * testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
1184 * testsuite/30_threads/promise/cons/1.cc: Likewise.
1185 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
1186 * testsuite/30_threads/promise/cons/move.cc: Likewise.
1187 * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
1188 * testsuite/30_threads/promise/members/get_future.cc: Likewise.
1189 * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
1190 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
1191 * testsuite/30_threads/promise/members/set_exception2.cc:
1193 * testsuite/30_threads/promise/members/set_value.cc: Likewise.
1194 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
1195 * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
1196 * testsuite/30_threads/promise/members/swap.cc: Likewise.
1197 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
1198 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
1200 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
1201 * testsuite/30_threads/recursive_mutex/native_handle/1.cc:
1203 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
1205 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1206 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1207 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
1208 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
1209 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
1211 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
1212 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
1213 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
1215 * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
1217 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
1219 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
1221 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
1223 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
1225 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
1227 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
1229 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
1231 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
1233 * testsuite/30_threads/shared_future/cons/move.cc: Likewise.
1234 * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
1235 * testsuite/30_threads/shared_future/members/get.cc: Likewise.
1236 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
1237 * testsuite/30_threads/shared_future/members/valid.cc: Likewise.
1238 * testsuite/30_threads/shared_future/members/wait.cc: Likewise.
1239 * testsuite/30_threads/shared_future/members/wait_for.cc:
1241 * testsuite/30_threads/shared_future/members/wait_until.cc:
1243 * testsuite/30_threads/this_thread/1.cc: Likewise.
1244 * testsuite/30_threads/this_thread/2.cc: Likewise.
1245 * testsuite/30_threads/this_thread/3.cc: Likewise.
1246 * testsuite/30_threads/this_thread/4.cc: Likewise.
1247 * testsuite/30_threads/thread/cons/1.cc: Likewise.
1248 * testsuite/30_threads/thread/cons/2.cc: Likewise.
1249 * testsuite/30_threads/thread/cons/3.cc: Likewise.
1250 * testsuite/30_threads/thread/cons/4.cc: Likewise.
1251 * testsuite/30_threads/thread/cons/49668.cc: Likewise.
1252 * testsuite/30_threads/thread/cons/5.cc: Likewise.
1253 * testsuite/30_threads/thread/cons/6.cc: Likewise.
1254 * testsuite/30_threads/thread/cons/7.cc: Likewise.
1255 * testsuite/30_threads/thread/cons/8.cc: Likewise.
1256 * testsuite/30_threads/thread/cons/9.cc: Likewise.
1257 * testsuite/30_threads/thread/cons/moveable.cc: Likewise.
1258 * testsuite/30_threads/thread/members/1.cc: Likewise.
1259 * testsuite/30_threads/thread/members/2.cc: Likewise.
1260 * testsuite/30_threads/thread/members/3.cc: Likewise.
1261 * testsuite/30_threads/thread/members/4.cc: Likewise.
1262 * testsuite/30_threads/thread/members/5.cc: Likewise.
1263 * testsuite/30_threads/thread/members/hardware_concurrency.cc:
1265 * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
1266 * testsuite/30_threads/thread/native_handle/typesizes.cc:
1268 * testsuite/30_threads/thread/swap/1.cc: Likewise.
1269 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
1270 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
1272 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
1273 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
1274 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
1276 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
1277 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
1278 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
1279 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
1280 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
1281 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
1282 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
1283 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
1284 * testsuite/30_threads/try_lock/1.cc: Likewise.
1285 * testsuite/30_threads/try_lock/2.cc: Likewise.
1286 * testsuite/30_threads/try_lock/3.cc: Likewise.
1287 * testsuite/30_threads/try_lock/4.cc: Likewise.
1288 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
1289 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
1290 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
1291 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
1292 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
1293 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
1294 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
1295 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
1296 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
1297 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
1298 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1299 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1300 * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
1301 * testsuite/ext/profile/mh.cc: Likewise.
1302 * testsuite/ext/rope/pthread7-rope.cc: Likewise.
1303 * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise.
1304 * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
1306 * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
1308 * testsuite/util/testsuite_performance.h: Extend current handling
1309 of Linux-based systems to cover all glibc-based systems.
1311 2013-06-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1313 * include/std/mutex (call_once): Remove parentheses to fix error in
1314 c++1y and gnu++1y mode.
1315 * testsuite/30_threads/mutex/try_lock/2.cc: Call try_lock() in new
1316 thread to avoid undefined behaviour.
1318 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
1320 Simplify and clean up library literals.
1321 * include/std/chrono: Simplify namespace and versioning management.
1322 * include/bits/basic_string.h: Ditto.
1323 * testsuite/20_util/duration/literals/types.cc: Remove bogus comment.
1324 * testsuite/20_util/duration/literals/values.cc: Ditto.
1325 * testsuite/21_strings/basic_string/literals/types.cc: Ditto.
1326 * testsuite/21_strings/basic_string/literals/values.cc: Ditto.
1328 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
1330 Implement N3654 - Quoted Strings Library Proposal
1331 * include/std/iomanip: Add quoted(String, Char delim, Char escape)
1332 manipulators and supporting machinery in c++1y mode.
1333 * testsuite/27_io/manipulators/standard/char/quoted.cc: New.
1334 * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: New.
1336 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1338 * include/bits/alloc_traits.h (allocator_traits::max_size()): LWG
1341 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1343 * include/bits/stl_algo.h (is_permutation): Add overloads from N3671.
1344 * include/bits/stl_algobase.h (equal, mismatch): Likewise.
1345 * testsuite/25_algorithms/equal/1.cc: Remove duplicate test case.
1346 * testsuite/25_algorithms/equal/2.cc: New.
1347 * testsuite/25_algorithms/equal/check_type2.cc: New.
1348 * testsuite/25_algorithms/is_permutationqual/2.cc: New.
1349 * testsuite/25_algorithms/is_permutationqual/check_type2.cc: New.
1350 * testsuite/25_algorithms/mismatch/2.cc: New.
1351 * testsuite/25_algorithms/mismatch/check_type2.cc: New.
1352 * testsuite/util/testsuite_iterators.h: Fix spelling.
1354 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1356 * include/std/type-traits (integral_constant::operator()): Implement
1358 * testsuite/20_util/integral_constant/call_operator.cc: New.
1359 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1361 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1363 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1366 2013-06-07 Uros Bizjak <ubizjak@gmail.com>
1368 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1370 2013-06-05 Tom Tromey <tromey@redhat.com>
1372 * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Use -O0.
1374 2013-06-03 Paolo Carlini <paolo.carlini@oracle.com>
1377 * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
1379 2013-06-01 Ed Smith-Rowland <3dw4rd@verizon.net>
1381 * include/std/chrono: Collapse redundant 'inline' from 'inline
1383 * include/std/tuple: Ditto.
1384 * include/bits/move.h: Ditto.
1386 2013-05-30 Ed Smith-Rowland <3dw4rd@verizon.net>
1388 Implement N3642 - User-defined Literals for Standard Library Types
1389 * include/bits/parse_numbers.h: New.
1390 * include/std/chrono: Add duration literal operators.
1391 * include/bits/basic_string.h: Add string literal operators.
1392 * include/Makefile.in: Add parse_numbers.h.
1393 * include/Makefile.am: Ditto.
1394 * testsuite/20_util/duration/literals/values.cc: New.
1395 * testsuite/20_util/duration/literals/types.cc: New.
1396 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
1397 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
1398 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
1399 * testsuite/21_strings/basic_string/literals/values.cc: New.
1400 * testsuite/21_strings/basic_string/literals/types.cc: New.
1402 2013-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1404 * src/c++11/compatibility-chrono.cc (steady_clock::now()): If
1405 !_GLIBCXX_USE_GETTIMEOFDAY perform conversion inline instead of
1406 calling non-existent from_time_t.
1408 2013-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1410 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
1413 2013-05-24 Benjamin Kosnik <bkoz@redhat.com>
1415 * include/std/chrono: Wrap clocks in inline namespace _V2.
1416 * src/c++11/chrono.cc: Same.
1417 * src/c++11/compatibility-chrono.cc: Revert to previous chrono.cc
1418 file, with default configure macros selected.
1420 * config/abi/pre/gnu.ver (GLIBCXX_3.4.19): Use symbols from inline
1422 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Fix up.
1424 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
1425 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
1426 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
1428 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1430 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1431 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
1433 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
1434 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
1435 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
1436 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
1437 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
1438 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
1440 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
1441 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
1443 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1445 * config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC]
1446 (CLOCK_MONOTONIC): Define.
1448 2013-05-24 Paolo Carlini <paolo.carlini@oracle.com>
1450 * include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t
1453 * include/bits/cpp_type_traits.h (__is_fundamental): Remove, unused.
1455 2013-05-24 Jakub Jelinek <jakub@redhat.com>
1457 * src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL,
1458 include unistd.h and sys/syscall.h. If _GLIBCXX_COMPATIBILITY_CXX0X,
1459 don't define system_clock::is_steady, system_clock::now() and
1460 steady_clock::is_steady.
1461 (std::chrono::system_clock::now()): If
1462 _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call
1463 syscall (SYS_clock_gettime, ...) instead of clock_gettime (...).
1464 (std::chrono::system_clock::now()): Likewise. Add weak attribute
1465 if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will
1467 * src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc.
1468 (compatibility-chrono.lo, compatibility-chrono.o): New goals.
1469 * src/c++11/compatibility-chrono.cc: New file.
1470 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for
1471 syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp).
1472 * testsuite/util/testsuite_abi.cc (check_version): Add
1473 GLIBCXX_3.4.20 version and make it the latest.
1474 * config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export
1475 also @@GLIBCXX_3.4.19. Move all symbols so far added for GCC 4.9 to
1476 @@GLIBCXX_3.4.20 instead.
1477 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
1478 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
1479 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
1481 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1483 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1484 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
1486 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
1487 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
1488 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
1489 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
1490 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
1491 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
1493 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
1494 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
1495 * config.h.in: Regenerated.
1496 * src/Makefile.in: Regenerated.
1497 * configure: Regenerated.
1499 2013-05-23 Matthias Klose <doko@ubuntu.com>
1501 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
1502 (ext_headers): Remove ${ext_host_headers}.
1503 (stamp-${host_alias}): Create ${host_builddir}/../ext.
1504 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
1505 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
1506 * include/Makefile.in: Regenerate.
1507 * include/ext/random: Include ext/opt_random.h.
1509 2013-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1511 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to
1512 enable features if target OS is known to support them.
1513 * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'.
1514 * configure: Regenerate.
1516 2013-05-21 Jonathan Wakely <jwakely.gcc@gmail.com>
1519 * include/std/functional (__invoke): Do not form function types with
1520 abstract return type.
1521 * testsuite/20_util/reference_wrapper/invoke-3.cc: New.
1523 2013-05-19 Jonathan Wakely <jwakely.gcc@gmail.com>
1525 * include/std/tuple (get): Implement N3670.
1526 * include/std/utility (get): Likewise.
1527 * testsuite/20_util/pair/get.cc: Move to ...
1528 * testsuite/20_util/pair/astuple/get.cc: Here.
1529 * testsuite/20_util/pair/astuple/astuple.cc: New.
1530 * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
1531 * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
1532 * testsuite/20_util/pair/astuple/get_by_type.cc: New.
1533 * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
1534 * testsuite/20_util/pair/astuple/get_neg.cc: New.
1535 * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
1536 * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
1537 * testsuite/20_util/tuple/element_access/get_by_type.cc: New.
1539 2013-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1541 * Revert last commit.
1543 2013-05-19 Matthias Klose <doko@ubuntu.com>
1545 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
1546 (ext_headers): Remove ${ext_host_headers}.
1547 (stamp-${host_alias}): Create ${host_builddir}/../ext.
1548 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
1549 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
1550 * include/Makefile.in: Regenerate.
1552 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1554 * include/std/system_error (error_category::error_category()): LWG
1555 2145: Declare public and constexpr.
1556 * src/c++11/system_error.cc (error_category::error_category()): Move
1558 * src/c++11/compatibility-c++0x.cc: Here.
1560 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1562 * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
1564 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1566 * include/bits/unique_ptr.h (make_unique): Declare inline.
1567 (unique_ptr<T[],D>::reset()): Combine two overloads into one.
1568 (default_delete, unique_ptr): Add doxygen comments.
1569 * include/bits/shared_ptr_base.h: Improve doxygen comments.
1570 * include/bits/shared_ptr.h: Likewise.
1571 * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
1573 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
1575 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1577 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
1579 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1581 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
1583 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1585 * include/std/utility (exchange): Define.
1586 * testsuite/20_util/exchange/1.cc: New.
1588 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1590 * include/bits/unique_ptr.h (make_unique): Define.
1591 * testsuite/20_util/unique_ptr/creation/single.cc: New.
1592 * testsuite/20_util/unique_ptr/creation/array.cc: New.
1593 * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
1595 2013-05-15 François Dumont <fdumont@gcc.gnu.org>
1597 * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
1598 rendering of std::tr1 unordered containers iterator.
1599 (StdHashtableIterator): New, render std unordered containers iterator.
1600 * testsuite/libstdc++-prettyprinters/tr1.cc: New.
1602 2013-05-15 Jonathan Wakely <jwakely.gcc@gmail.com>
1604 * include/bits/basic_string.h (getline): Fix doxygen comments.
1606 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com>
1608 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
1609 Use std::pointer_traits.
1611 2013-05-13 Benjamin Kosnik <bkoz@redhat.com>
1613 * libsupc++/Makefile.am (sources): Add bad_array_length.cc,
1615 * libsupc++/Makefile.in: Regenerate.
1616 * libsupc++/bad_array_length.cc: Tweak.
1617 * libsupc++/bad_array_new.cc: Tweak.
1619 2013-05-10 Paolo Carlini <paolo.carlini@oracle.com>
1622 * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
1623 (_Deque_iterator<>::_M_const_cast): Add.
1624 (deque<>::_M_erase): Declare.
1625 * include/bits/deque.tcc: ... and define.
1626 * include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
1627 (_List_const_iterator<>::_M_const_cast): Add.
1628 * include/bits/list.tcc (erase (iterator)): Fix.
1629 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
1630 Add; include <ext/cast.h>.
1631 * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
1632 (vector<>::_M_erase): Declare.
1633 * include/bits/stl_bvector.h: Likewise.
1634 * include/bits/vector.tcc (vector<>::_M_erase): Define.
1635 * include/ext/vstring.h (erase): Fix signatures in C++11 mode.
1636 * include/debug/deque: Adjust.
1637 * include/debug/list: Likewise.
1638 * include/debug/vector: Likewise.
1639 * include/profile/deque: Likewise.
1640 * include/profile/list: Likewise.
1641 * include/profile/vector: Likewise.
1642 * testsuite/util/exception/safety.h (erase_base<deque>,
1643 erase_base<deque>, erase_base<vector>): Remove.
1644 (erase_base<__versa_string>): Update.
1645 * testsuite/ext/vstring/modifiers/char/54577.cc: New.
1646 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
1647 * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
1648 * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
1649 * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
1651 * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
1652 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1653 Adjust dg-error line numbers.
1654 * testsuite/23_containers/deque/requirements/dr438/
1655 constructor_1_neg.cc: Likewise.
1656 * testsuite/23_containers/deque/requirements/dr438/
1657 constructor_2_neg.cc: Likewise.
1658 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1660 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1662 * testsuite/23_containers/list/requirements/dr438/
1663 constructor_1_neg.cc: Likewise.
1664 * testsuite/23_containers/list/requirements/dr438/
1665 constructor_2_neg.cc: Likewise.
1666 * testsuite/23_containers/list/requirements/dr438/
1667 insert_neg.cc: Likewise.
1668 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1670 * testsuite/23_containers/vector/requirements/dr438/
1671 constructor_1_neg.cc: Likewise.
1672 * testsuite/23_containers/vector/requirements/dr438/
1673 constructor_2_neg.cc: Likewise.
1674 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1677 2013-05-09 Uros Bizjak <ubizjak@gmail.com>
1679 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8.
1681 2013-05-08 Jason Merrill <jason@redhat.com>
1683 Add std::bad_array_length (N3639)
1684 * libsupc++/new: Add std::bad_array_length.
1685 * libsupc++/bad_array_length.cc: New.
1686 * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
1687 * libsupc++/Makefile.in: Build them.
1688 * config/abi/pre/gnu.ver: Add new symbols.
1689 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
1691 2013-05-08 Andi Kleen <ak@linux.intel.com>
1694 * libstdc++-v3/include/bits/atomic_base.h
1695 (_GLIBCXX_ALWAYS_INLINE): Add new macro.
1696 (atomic_thread_fence, atomic_signal_fence, test_and_set,
1697 clear, store, load, exchange, compare_exchange_weak)
1698 compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
1699 fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.
1701 2013-05-08 Jason Merrill <jason@redhat.com>
1703 Add std::bad_array_new_length (N2932)
1704 * libsupc++/new: Add std::bad_array_new_length.
1705 * libsupc++/bad_array_new.cc: New.
1706 * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
1707 * libsupc++/Makefile.in: Build them.
1708 * config/abi/pre/gnu.ver: Add new symbols.
1709 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
1711 2013-05-08 Andoni Morales Alastruey <ylatuya@gmail.com>
1714 * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
1716 * include/Makefile.in: Regenerated.
1718 2013-05-07 François Dumont <fdumont@gcc.gnu.org>
1720 * include/profile/unordered_base.h: New.
1721 * include/Makefile.am: Add new profile header.
1722 * include/Makefile.in: Regenerate.
1723 * include/profile/impl/profiler.h
1724 (__profcxx_inefficient_hash_is_on): New macro.
1725 * include/profile/unordered_map (std::profile::unordered_map<>):
1726 Use new _Unordered_profile base class. Use default implementations
1727 for special functions.
1728 (std::profile::unordered_multimap<>): Likewise.
1729 * include/profile/unordered_set (std::profile::unordered_set<>):
1731 (std::profile::unordered_multiset<>): Likewise.
1732 * testsuite/23_containers/unordered_multiset/55043.cc: Fix
1733 MoveOnly equality operator signature.
1735 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
1737 * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
1738 constexpr_data.cc: Move...
1739 * testsuite/20_util/integral_constant/requirements/constexpr_data.cc:
1741 * testsuite/20_util/integral_constant/requirements/
1742 explicit_instantiation.cc: New.
1743 * testsuite/20_util/integral_constant/requirements/typedefs.cc:
1745 * testsuite/20_util/integral_constant/static_definition.cc: Likewise.
1746 * testsuite/20_util/integral_constant/true_false_type_typedefs.cc:
1748 * testsuite/20_util/integral_constant/true_false_value.cc: Likewise.
1749 * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise.
1751 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
1753 * include/std/type_traits (is_null_pointer): Add.
1754 (__is_nullptr_t): Implement in terms of the latter.
1755 (is_fundamental, is_scalar): Adjust.
1756 * testsuite/20_util/is_null_pointer/requirements/
1757 explicit_instantiation.cc: New.
1758 * testsuite/20_util/is_null_pointer/requirements/typedefs.cc:
1760 * testsuite/20_util/is_null_pointer/value.cc: Likewise.
1761 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1763 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1765 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1768 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
1770 * include/c_global/cstdio: Add comment about LWG 2249.
1771 * include/c_std/cstdio: Likewise.
1773 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1775 * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
1777 * include/std/mutex (__recursive_mutex_base): Likewise.
1779 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1782 * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
1783 implement EBO safely.
1784 (_Sp_counted_base::_M_get_deleter): Add noexcept.
1785 (_Sp_counter_ptr): Use noexcept instead of comments.
1786 (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
1787 (_Sp_counted_ptr_inplace): Likewise.
1788 * testsuite/20_util/shared_ptr/cons/51365.cc: New.
1789 * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
1790 custom allocator and test construction with custom allocator.
1791 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
1794 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
1796 * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust
1797 dialect to -std=gnu++11.
1799 2013-04-26 François Dumont <fdumont@gcc.gnu.org>
1801 * include/bits/hashtable_policy.h
1802 (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
1803 * testsuite/23_containers/unordered_set/insert/move_range.cc: New.
1805 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
1807 * include/c_global/cstdio (gets): Provide only in C++98 and C++11.
1808 * include/c_std/cstdio (gets): Likewise.
1809 * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust.
1811 2013-04-25 Paolo Carlini <paolo.carlini@oracle.com>
1814 * include/debug/unordered_map (unordered_map, unordered_multimap):
1815 Fix default allocator type.
1816 * include/profile/unordered_map (unordered_map, unordered_multimap):
1818 * include/bits/unordered_map.h: Fix comments.
1820 2013-04-24 Jonathan Wakely <jwakely.gcc@gmail.com>
1823 * libsupc++/exception_ptr.h (copy_exception): Deprecate and
1824 move implementation to make_exception_ptr.
1825 * include/std/future (_State_base::_M_break_promise): Replace
1826 copy_exception with make_exception_ptr.
1827 * testsuite/18_support/exception_ptr/move.cc: Likewise.
1828 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
1829 * testsuite/30_threads/future/members/get2.cc: Likewise.
1830 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
1831 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
1832 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
1833 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
1835 2013-04-22 Jason Merrill <jason@redhat.com>
1837 * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h.
1839 * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
1840 substitution" lines.
1842 * testsuite/20_util/is_assignable/value.cc: Comment out tests involving
1844 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
1845 * testsuite/20_util/reference_wrapper/result_type.cc: Likewise.
1846 * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
1848 2013-04-22 François Dumont <fdumont@gcc.gnu.org>
1850 * include/bits/hashtable_policy.h: Add C++11 allocator support.
1851 * include/bits/hashtable.h: Likewise.
1852 * include/bits/unordered_set.h: Likewise.
1853 * include/bits/unordered_map.h: Likewise.
1854 * include/debug/unordered_set: Likewise.
1855 * include/debug/unordered_map: Likewise.
1856 * include/std/unordered_set: Remove bits/algobase.h
1857 include. Replace bits/alloc_traits.h by ext/alloc_traits.h.
1858 * include/std/unordered_map: Likewise.
1859 * include/ext/throw_allocator.h: Add checks on calls to allocator
1861 (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw.
1862 (std::hash<__gnu_cxx::throw_value_random>): Likewise.
1863 * testsuite/util/regression/rand/priority_queue
1864 /container_rand_regression_test.tcc: Adapt.
1865 * testsuite/util/regression/rand/assoc
1866 /container_rand_regression_test.tcc: Likewise.
1867 * testsuite/util/testsuite_counter_type.h: Add count of destructors.
1868 * testsuite/23_containers/unordered_set
1869 /not_default_constructible_hash_neg.cc: Adjust dg-error line number.
1870 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
1871 * testsuite/23_containers/unordered_set/allocator/copy.cc: New.
1872 * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New.
1873 * testsuite/23_containers/unordered_set/allocator/minimal.cc: New.
1874 * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New.
1875 * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New.
1876 * testsuite/23_containers/unordered_set/allocator/swap.cc: New.
1877 * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New.
1878 * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc:
1880 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New.
1881 * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
1883 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New.
1884 * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New.
1885 * testsuite/23_containers/unordered_map/allocator/copy.cc: New.
1886 * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New.
1887 * testsuite/23_containers/unordered_map/allocator/minimal.cc: New.
1888 * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New.
1889 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
1891 * testsuite/23_containers/unordered_map/allocator/swap.cc: New.
1892 * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New.
1893 * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc:
1895 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New.
1896 * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
1898 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New.
1899 * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New.
1901 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
1903 * include/std/type_traits (is_signed): Simplify.
1904 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1905 Adjust dg-error line numbers.
1906 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1908 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1910 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
1913 * include/std/complex (complex<float>::real, complex<float>::imag,
1914 complex<double>::real, complex<double>::imag,
1915 complex<long double>::real, complex<long double>::imag): Declare
1916 as const member functions.
1917 * include/std/type_traits (integral_constant<>::operator value_type):
1920 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
1923 * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment.
1924 * testsuite/25_algorithms/pop_heap/57010.cc: New.
1926 2013-04-21 Evgeniy Stepanov <eugenis@google.com>
1928 * src/c++11/system_error.cc (generic_category_instance): Add
1930 (system_category_instance): Likewise.
1931 * src/c++11/future.cc (__fec): Likewise.
1933 2013-04-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1935 * doc/xml/manual/extensions.xml: Fix anachronism.
1937 2013-04-09 Tom Tromey <tromey@redhat.com>
1939 * configure, config.h.in: Rebuild.
1940 * configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for
1942 * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
1944 2013-04-09 Uros Bizjak <ubizjak@gmail.com>
1946 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1948 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
1950 * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
1952 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1954 * include/Makefile.am: Add ext/aligned_buffer.h
1955 * include/Makefile.in: Regenerate.
1956 * include/ext/aligned_buffer.h: New.
1957 * include/std/future (_Result): Use __aligned_buffer.
1958 * include/bits/forward_list.h (_Fwd_list_node): Likewise.
1959 * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
1960 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
1963 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1965 * include/bits/forward_list.h: Only include required headers.
1966 (forward_list::reference): Define directly, not using __alloc_traits.
1967 (forward_list::const_reference): Likewise.
1969 2013-04-07 François Dumont <fdumont@gcc.gnu.org>
1971 * include/std/functional (_Derives_from_unary_function): Remove.
1972 (_Derives_from_binary_function): Remove.
1973 * include/std/type_traits (__sfinae_types): Remove.
1974 (__is_assignable_helper): Adapt.
1975 (__is_convertible_helper): Adapt.
1976 (_GLIBCXX_HAS_NESTED_TYPE): Adapt.
1977 Remove several explicit instantiations of integral_constant.
1978 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
1979 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1980 Adapt dg-error line number.
1981 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1983 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1984 * testsuite/20_util/bind/ref_neg.cc: Likewise.
1986 2013-04-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1989 * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
1990 get_terminate() accessors.
1991 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
1992 * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
1994 * libsupc++/new_handler.cc: Likewise.
1996 2013-04-04 Jonathan Wakely <jwakely.gcc@gmail.com>
1998 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
2000 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
2003 * include/debug/array (tuple_size, tuple_element): Do not declare.
2004 * include/profile/array: Likewise.
2005 * testsuite/23_containers/array/tuple_interface/
2006 tuple_element_debug_neg.cc: Adjust dg-error line number.
2008 2013-04-03 Jonathan Wakely <jwakely.gcc@gmail.com>
2010 * libsupc++/exception (get_terminate(), get_unexpected()): Declare.
2011 * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
2013 (set_terminate(terminate_handler)): Set atomically.
2014 (set_unexpected(terminate_handler)): Likewise.
2015 * libsupc++/new (get_new_handler()): Declare.
2016 * libsupc++/new_handler.cc (get_new_handler()): Define.
2017 (set_new_handler(new_handler)): Set atomically.
2018 (__new_handler): Use internal linkage.
2019 * libsupc++/new_op.cc (operator new): Use get_new_handler().
2020 * libsupc++/new_opnt.cc (operator new): Likewise.
2021 * acinclude.m4: Bump libtool_VERSION to 6:19:0.
2022 * configure: Regenerate.
2023 * libsupc++/Makefile.am: Compile above files with -std=gnu++11.
2024 * libsupc++/Makefile.in: Regenerate.
2025 * config/abi/pre/gnu.ver: Add new exports.
2026 * doc/xml/manual/status_cxx2011.xml: Update.
2027 * testsuite/18_support/headers/exception/synopsis.cc: Check accessors
2029 * testsuite/18_support/headers/new/synopsis.cc: Likewise.
2030 * testsuite/18_support/new_handler.cc: New.
2031 * testsuite/18_support/terminate_handler.cc: New.
2032 * testsuite/18_support/unexpected_handler.cc: New.
2034 2013-04-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2036 * doc/xml/manual/appendix_contributing.xml: Remove broken link and
2037 defer to general documentation on contributing to GCC.
2038 * doc/html/*: Regenerate.
2040 2013-03-30 Gerald Pfeifer <gerald@pfeifer.com>
2042 * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.
2044 * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
2047 * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
2049 * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
2051 * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
2053 * doc/xml/manual/messages.xml: Adjust link to Java API specs.
2055 * doc/xml/manual/policy_data_structures: Remove direct link to
2056 IBM Haifa Research Labs.
2058 * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
2059 for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
2061 * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
2064 * doc/xml/manual/shared_ptr.xml: Use canonical address for
2067 2013-03-27 Kai Tietz <ktietz@redhat.com>
2069 * crossconfig.m4: Add support for cygwin x64 target.
2070 * configure: Regenerated.
2072 2013-03-25 Kai Tietz <ktietz@redhat.com>
2074 * testsuite/18_support/50594.cc: For mingw-targets use only static
2076 * testsuite/19_diagnostics/error_category/operators/equal.cc
2077 * testsuite/19_diagnostics/error_code/cons/1.cc
2078 * testsuite/19_diagnostics/error_code/operators/bool.cc
2079 * testsuite/19_diagnostics/error_code/operators/equal.cc
2080 * testsuite/19_diagnostics/error_code/operators/not_equal.cc
2081 * testsuite/19_diagnostics/error_condition/cons/1.cc
2082 * testsuite/19_diagnostics/error_condition/operators/bool.cc
2083 * testsuite/19_diagnostics/error_condition/operators/equal.cc
2084 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc
2085 * testsuite/23_containers/set/requirements/exception/basic.cc
2086 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc
2087 * testsuite/lib/dg-options.exp (dg-additional-options): New option.
2089 2013-03-24 Jonathan Wakely <jwakely.gcc@gmail.com>
2092 * include/ext/debug_allocator.h (debug_allocator): Add missing members
2093 to meet allocator requirements.
2094 * testsuite/ext/debug_allocator/56170.cc: New.
2096 2013-03-22 Paolo Carlini <paolo.carlini@oracle.com>
2099 * include/std/chrono (__is_ratio): Uglify T.
2101 2013-03-18 Paolo Carlini <paolo.carlini@oracle.com>
2103 PR libstdc++/55977 (partial, std::vector and std::deque bits)
2104 * include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
2105 _InputIterator, std::input_iterator_tag)): Use emplace_back.
2106 * include/bits/deque.tcc (_M_range_initialize(_InputIterator,
2107 _InputIterator, std::input_iterator_tag)): Likewise.
2108 * testsuite/23_containers/vector/cons/55977.cc: New.
2109 * testsuite/23_containers/deque/cons/55977.cc: Likewise.
2110 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2111 Adjust dg-error line number.
2112 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2115 2013-03-17 Paolo Carlini <paolo.carlini@oracle.com>
2118 * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator,
2119 _InputIterator, __false_type)): Use emplace_back.
2120 * testsuite/23_containers/list/cons/55979.cc: New.
2121 * testsuite/23_containers/list/modifiers/1.h: Adjust.
2122 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2123 Adjust dg-error line number.
2125 2013-03-16 Jason Merrill <jason@redhat.com>
2128 * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move.
2130 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2133 * libsupc++/exception_ptr.h (type_info): Declare.
2135 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2138 * include/std/mutex (lock_guard, unique_lock, lock): Define without
2139 depending on _GLIBCXX_HAS_GTHREADS.
2140 * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
2142 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2145 * include/std/future (__future_base::_Result): Add result_type
2147 (__future_base::_S_allocate_result): Overload for std::allocator.
2148 (__future_base::_Task_setter): Use _Result::result_type instead of
2149 deducing the type from the task.
2150 (__future_base::_Task_state): Store allocator to allow shared state
2151 to be reset. Replace std::function with member of target object type
2153 (__future_base::_Task_state_base): New abstract base class.
2154 (__future_base::_Task_state_base::_M_run): New virtual function to
2155 invoke type-erased target object.
2156 (__future_base::_Task_state_base::_M_reset): New virtual function to
2157 create new shared_state using same target object and allocator.
2158 (__future_base::__create_task_state): Allocate a new _Task_state.
2159 (packaged_task::packaged_task): Use __create_task_state.
2160 (packaged_task::reset): Use _Task_state_base::_M_reset.
2161 * testsuite/30_threads/packaged_task/cons/56492.cc: New.
2163 2013-03-15 Tom Tromey <tromey@redhat.com>
2165 * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
2166 (PROBE2): New macro.
2167 * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
2168 * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
2169 * configure.ac: Check for sys/sdt.h.
2170 * configure, config.h.in: Rebuild.
2172 2013-03-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2175 * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
2176 allocator_traits instead of calling construct directly.
2177 * testsuite/23_containers/map/56613.cc: New.
2179 2013-03-13 Benjamin Kosnik <bkoz@redhat.com>
2181 * doc/html/*: Regenerate.
2183 2013-03-13 Paolo Carlini <paolo.carlini@oracle.com>
2186 * include/std/type_traits (is_fundamental): Add std::nullptr_t.
2187 * testsuite/20_util/is_fundamental/value.cc: Extend.
2188 * testsuite/20_util/is_compound/value.cc: Likewise.
2190 2013-03-09 Paolo Carlini <paolo.carlini@oracle.com>
2192 * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
2195 2013-03-08 Benjamin Kosnik <bkoz@redhat.com>
2197 * include/bits/memoryfwd.h: New. Centralize forward declarations.
2198 * include/bits/algorithmfwd.h: Consistent comments.
2199 * include/bits/localefwd.h: Same.
2200 * include/ext/vstring_fwd.h: Same.
2201 * include/parallel/algorithmfwd.h: Same.
2202 * include/parallel/numericfwd.h: Same.
2203 * include/std/iosfwd: Same.
2205 * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator
2207 * include/ext/alloc_traits.h: Remove allocator forward decl.
2208 * include/bits/stl_construct.h: Same.
2209 * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator
2210 forward decl. Consistent comments.
2212 * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO.
2214 * include/Makefile.am (bits_headers): Add memoryfwd.h.
2215 * include/Makefile.in: Regenerate.
2218 2013-03-08 François Dumont <fdumont@gcc.gnu.org>
2220 * include/bits/vector.tcc (vector<>operator=(const vector<>&):
2221 Reset pointers after deallocation when memory can be reused.
2222 * testsuite/23_containers/vector/allocator/minimal.cc: Insert
2223 elements to really challenge C++11 allocator integration.
2224 * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
2225 * testsuite/23_containers/vector/allocator/copy_assign.cc:
2227 * testsuite/23_containers/vector/allocator/move_assign.cc:
2229 * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
2230 swap vector back before checks on memory/personality mapping are
2232 * testsuite/23_containers/forward_list/allocator/minimal.cc:
2233 Insert element to really challenge C++11 allocator integration.
2234 * testsuite/23_containers/forward_list/allocator/copy.cc:
2236 * testsuite/23_containers/forward_list/allocator/copy_assign.cc:
2238 * testsuite/23_containers/forward_list/allocator/move_assign.cc:
2240 * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
2241 and swap forward_list back before checks on memory/personality
2242 mapping are performed.
2244 2013-03-07 Jakub Jelinek <jakub@redhat.com>
2246 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2247 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
2248 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2250 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
2251 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
2252 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
2253 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
2254 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
2255 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
2257 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2259 * scripts/extract_symvers.pl: Omit symbols bound to base
2261 * scripts/extract_symvers.in: Likewise.
2262 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
2263 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
2264 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2265 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2266 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2268 2013-03-04 Ulrich Drepper <drepper@gmail.com>
2270 * include/ext/random (__gnu_cxx::von_mises_distribution<>):
2271 Optimize generation function by pulling computation of __r into the
2272 constructor for param_type. Also compare _M_mu in operator==.
2275 2013-03-02 Ulrich Drepper <drepper@gmail.com>
2277 Add triangular and von Mises distributions.
2278 * include/ext/random: Include <ext/cmath>.
2279 Add __gnu_cxx::triangular_distribution<> and
2280 __gnu_cxx::von_mises_distribution<> classes.
2281 * include/ext/random.tcc: Add out-of-line functions for
2282 __gnu_cxx::triangular_distribution<> and
2283 __gnu_cxx::von_mises_distribution<>.
2284 * testsuite/ext/triangular_distribution/cons/default.cc: New file.
2285 * testsuite/ext/triangular_distribution/cons/parms.cc: New file.
2286 * testsuite/ext/triangular_distribution/operators/serialize.cc:
2288 * testsuite/ext/triangular_distribution/operators/equal.cc:
2290 * testsuite/ext/triangular_distribution/operators/inequal.cc:
2292 * testsuite/ext/triangular_distribution/requirements/typedefs.cc:
2294 * testsuite/ext/triangular_distribution/requirements/
2295 explicit_instantiation/1.cc: New file.
2296 * testsuite/ext/von_mises_distribution/cons/default.cc: New file.
2297 * testsuite/ext/von_mises_distribution/cons/parms.cc: New file.
2298 * testsuite/ext/von_mises_distribution/operators/serialize.cc:
2300 * testsuite/ext/von_mises_distribution/operators/equal.cc: New file.
2301 * testsuite/ext/von_mises_distribution/operators/inequal.cc:
2303 * testsuite/ext/von_mises_distribution/requirements/typedefs.cc:
2305 * testsuite/ext/von_mises_distribution/requirements/
2306 explicit_instantiation/1.cc: New file.
2309 * include/Makefile.am (ext_headers): Add cmath.
2310 * include/Makefile.in: Regenerated.
2311 * include/ext/cmath: New file.
2313 2013-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2315 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
2316 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
2317 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
2318 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2319 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2321 2013-02-26 Jonathan Wakely <jwakely.gcc@gmail.com>
2324 * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
2325 * testsuite/29_atomics/atomic/operators/56012.cc: New.
2328 * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
2330 * testsuite/29_atomics/atomic/operators/56011.cc: New.
2332 2013-02-25 Jason Merrill <jason@redhat.com>
2334 * configure.ac: Check for __cxa_thread_atexit_impl.
2335 * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
2337 * config.h.in, configure: Regenerate.
2339 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2341 * include/std/streambuf (basic_streambuf): Use injected class name
2342 instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
2345 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2347 * doc/html/faq.html: Fix spelling.
2348 * doc/xml/faq.xml: Likewise.
2349 * include/bits/basic_ios.h: Likewise.
2350 * include/bits/regex.h: Likewise.
2351 * include/std/istream: Likewise.
2352 * include/std/streambuf: Likewise.
2354 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2356 * testsuite/23_containers/unordered_set/55043.cc: Add missing
2357 namespace qualification.
2358 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
2360 2013-02-19 Benjamin Kosnik <bkoz@redhat.com>
2362 * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
2363 _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
2364 AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
2365 * include/bits/stl_pair.h: Add to utilities group.
2366 * include/std/tuple: Same.
2367 * include/std/typeindex: Same.
2369 * include/bits/stringfwd.h: Fix markup.
2370 * include/std/limits: Same.
2371 * include/std/type_traits: Same.
2372 * include/tr1/memory: Same.
2373 * include/tr1/regex: Same.
2374 * scripts/run_doxygen: Comment.
2375 * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
2377 2013-02-14 Jason Merrill <jason@redhat.com>
2379 * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
2380 test if unsupported.
2382 2013-02-13 Marc Glisse <marc.glisse@inria.fr>
2385 * include/std/complex (complex): Undefine.
2386 * include/c_compatibility/complex.h (complex): Only undefine if
2387 <complex> has been included.
2388 * testsuite/26_numerics/complex/56111.cc: New testcase.
2390 2013-02-13 François Dumont <fdumont@gcc.gnu.org>
2392 * include/bits/hashtable_policy.h (_Hash_code_base): Restore
2393 default constructor protected.
2394 * include/bits/hashtable.h: static assert that _Hash_code_base has
2395 a default constructor available through inheritance.
2397 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2399 * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
2402 2013-02-12 Julian Brown <julian@codesourcery.com>
2404 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
2405 Don't expect dots after abbreviated weekday names for ru_RU for
2406 glibc versions >= 2.17.
2407 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01):
2410 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2412 * include/bits/random.tcc (__transform): Remove.
2414 (discrete_distribution<>::param_type::_M_initialize): Adjust.
2415 (piecewise_constant_distribution<>::param_type::_M_initialize):
2417 (piecewise_linear_distribution<>::param_type::_M_initialize):
2420 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
2422 * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
2423 Use -fimplicit-templates.
2424 * src/c++11/Makefile.in: Regenerate.
2425 * src/c++11/hashtable_c++0x.cc: Remove instantiation for
2426 std::lower_bound template.
2428 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
2430 * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
2431 * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only
2432 in C++11 mode and if available in the underlying C library.
2433 * testsuite/18_support/quick_exit/quick_exit.cc: Compile with
2434 -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and
2435 _GLIBCXX_HAVE_QUICK_EXIT.
2437 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
2439 * doc/html/*: Regenerate.
2441 2013-02-11 Jason Merrill <jason@redhat.com>
2443 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New.
2444 (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit.
2445 * config.h.in, configure: Regenerate.
2446 * include/c_std/cstdlib: Add atexit and at_quick_exit.
2447 * include/c_global/cstdlib: Add atexit and at_quick_exit.
2448 * testsuite/18_support/quick_exit/quick_exit.cc: New.
2450 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
2454 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
2457 * include/bits/basic_ios.h: Replace operator void*() const
2458 with explicit operator bool() const in C++11 and greater.
2459 * testsuite/27_io/basic_ios/pr56193.cc: New file.
2461 2013-02-10 François Dumont <fdumont@gcc.gnu.org>
2462 Jonathan Wakely <jwakely.gcc@gmail.com>
2464 * doc/xml/manual/containers.xml: Add section on unordered containers.
2465 * doc/xml/manual/using.xml: Fix incomplete sentence.
2467 2013-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2470 * include/bits/hashtable.h (__cache_default): Check if hash function
2472 * testsuite/23_containers/unordered_set/56267.cc: New.
2473 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
2474 dg-error line number.
2475 * testsuite/23_containers/unordered_set/
2476 not_default_constructible_hash_neg.cc: Likewise.
2479 * include/bits/hashtable_policy.h (_Hash_code_base): Make default
2481 * testsuite/23_containers/unordered_set/56278.cc: New.
2483 2013-02-09 François Dumont <fdumont@gcc.gnu.org>
2485 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
2488 2013-02-08 Edward Smith-Rowland <3dw4rd@verizon.net>
2491 * include/tr1/special_function_util.h: Remove spurious const
2492 from numeric arguments.
2493 * include/tr1/riemann_zeta.tcc: Likewise.
2494 * include/tr1/exp_integral.tcc: Likewise.
2495 * include/tr1/bessel_function.tcc: Likewise.
2496 * include/tr1/hypergeometric.tcc: Likewise.
2497 * include/tr1/modified_bessel_func.tcc: Likewise.
2498 * include/tr1/poly_laguerre.tcc: Likewise.
2499 * include/tr1/gamma.tcc: Likewise.
2500 * include/tr1/legendre_function.tcc: Likewise.
2501 * include/tr1/poly_hermite.tcc: Likewise.
2502 * include/tr1/ell_integral.tcc: Likewise.
2503 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
2504 If argument is zero return function value.
2505 * testsuite/tr1/5_numerical_facilities/special_functions/
2506 08_cyl_bessel_i/pr56216.cc: New.
2508 2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
2510 * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
2512 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
2515 * include/bits/basic_ios.h: Replace operator void*() const
2516 with explicit operator bool() const in C++11 and greater.
2517 * testsuite/27_io/basic_ios/pr56193.cc: New file.
2519 2013-02-04 Dodji Seketeli <dodji@redhat.com>
2521 Add missing explicit instantiation for std::lower_bound template
2522 * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
2523 missing instantiation for std::lower_bound template.
2525 2013-02-04 François Dumont <fdumont@gcc.gnu.org>
2527 * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
2528 * include/bits/basic_string.h: Specialize previous to mark
2529 std::hash for string types as slow.
2530 * include/bits/hashtable.h (__cache_default): Replace is_integral
2531 with __is_fast_hash.
2532 * src/c++11/hash_c++0x.cc: Add type_traits include.
2533 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
2534 Adapt dg-error line number.
2535 * testsuite/23_containers/unordered_set/
2536 not_default_constructible_hash_neg.cc: Likewise.
2538 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
2539 Paolo Carlini <paolo.carlini@oracle.com>
2541 PR libstdc++/56202 (again)
2542 * include/bits/random.tcc (binomial_distribution<>::
2543 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
2546 * include/bits/random.h: Fix comment typo.
2548 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
2549 Paolo Carlini <paolo.carlini@oracle.com>
2552 * include/bits/random.tcc (binomial_distribution<>::
2553 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
2556 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
2558 Update copyright years.
2559 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
2560 testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
2561 testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
2562 testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
2563 testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
2564 testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
2565 testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
2566 testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
2567 testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
2568 testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
2569 testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
2570 testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
2571 testsuite/29_atomics/atomic/cons/assign_neg.cc,
2572 testsuite/29_atomics/atomic/cons/copy_neg.cc,
2573 testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
2574 testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
2575 testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
2576 testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
2577 testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
2578 Update lines in dg error matches.
2580 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
2582 * config/os/mingw32/ctype_inline.h: Fix copyright typo.
2584 2013-02-01 François Dumont <fdumont@gcc.gnu.org>
2586 * include/bits/hashtable_policy.h
2587 (_Prime_rehash_policy::_M_next_bkt)
2588 (_Prime_rehash_policy::_M_need_rehash): Move definition...
2589 * src/c++11/hashtable_c++0x.cc: ... here.
2590 * src/shared/hashtable-aux.cc: Remove c++config.h include.
2591 * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
2594 2013-01-29 Jason Merrill <jason@redhat.com>
2597 * config/abi/pre/gnu.ver: Don't export construction vtables.
2598 * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
2600 2013-01-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2603 * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
2604 to construct value_type explicitly before trying to extract the key.
2605 * testsuite/23_containers/unordered_map/cons/56112.cc: New.
2607 2013-01-28 François Dumont <fdumont@gcc.gnu.org>
2609 * include/bits/hashtable_policy.h (_Local_iterator_base): Use
2610 _Hashtable_ebo_helper to embed functors into the local_iterator
2611 when necessary. Pass information about functors involved in hash
2613 * include/bits/hashtable.h (__cache_default): Do not cache for
2614 builtin integral types unless the hash functor is not noexcept
2615 qualified or is not default constructible. Adapt static assertions
2616 and local iterator instantiations.
2617 * include/debug/unordered_set
2618 (std::__debug::unordered_set<>::erase): Detect local iterators to
2619 invalidate using contained node rather than generating a dummy
2620 local_iterator instance.
2621 (std::__debug::unordered_multiset<>::erase): Likewise.
2622 * include/debug/unordered_map
2623 (std::__debug::unordered_map<>::erase): Likewise.
2624 (std::__debug::unordered_multimap<>::erase): Likewise.
2625 * testsuite/performance/23_containers/insert_erase/41975.cc: Test
2626 std::tr1 and std versions of unordered_set regardless of any
2627 macro. Add test on default cache behavior.
2628 * testsuite/performance/23_containers/insert/54075.cc: Likewise.
2629 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
2631 * testsuite/23_containers/unordered_set/
2632 not_default_constructible_hash_neg.cc: New.
2633 * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
2635 2013-01-24 Paolo Carlini <paolo.carlini@oracle.com>
2638 * include/std/complex (pow(const complex<>&, int)): Avoid __n
2641 2013-01-22 Jakub Jelinek <jakub@redhat.com>
2643 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
2644 Tightten scan-assembler-times regexps, add dg-additional-options for
2645 ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
2648 2013-01-12 Andi Kleen <ak@linux.intel.com>
2649 Jonathan Wakely <jwakely.gcc@gmail.com>
2652 * include/bits/atomic_base.h (__memory_order_modifier): Add
2653 __memory_order_mask, __memory_order_modifier_mask,
2654 __memory_order_hle_acquire, __memory_order_hle_release.
2655 (operator|,operator&): Add.
2656 (__cmpexch_failure_order): Rename to __cmpexch_failure_order2.
2657 (__cmpexch_failure_order): Add.
2658 (clear, store, load, compare_exchange_weak, compare_exchange_strong):
2660 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
2663 2013-01-19 Jonathan Wakely <jwakely.gcc@gmail.com>
2666 * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
2668 (__basic_future::_M_get_result()): Const qualify.
2669 (shared_future::get()): Likewise.
2670 * testsuite/30_threads/shared_future/members/get.cc: Use const
2673 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2675 PR libstdc++/55043 (again)
2676 * include/bits/alloc_traits.h (allocator_traits::construct): Disable
2677 unless construction would be well-formed.
2678 (__allow_copy_cons, __check_copy_constructible): Define.
2679 * include/bits/unordered_map.h (__check_copy_constructible): Use as
2680 base class so copy constructor will be deleted if appropriate.
2681 (is_copy_constructible): Remove specialization.
2682 * include/bits/unordered_set.h: Likewise.
2683 * include/debug/unordered_map.h: Undo previous commit. Default copy
2684 and move constructors.
2685 * include/debug/unordered_set.h: Likewise.
2686 * include/profile/unordered_map.h: Undo previous commit.
2687 * include/profile/unordered_set.h: Likewise.
2688 * testsuite/23_containers/unordered_map/55043.cc: Fix test.
2689 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
2690 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
2691 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
2692 * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
2693 cannot support incomplete types.
2694 * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
2697 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2700 * include/std/unordered_map: Include alloc_traits.h
2701 * include/std/unordered_set: Likewise.
2702 * include/bits/alloc_traits.h: Define __is_copy_insertable.
2703 * include/bits/unordered_map.h: Use it.
2704 * include/bits/unordered_set.h: Likewise.
2705 * include/debug/unordered_map.h: Likewise.
2706 * include/debug/unordered_set.h: Likewise.
2707 * include/profile/unordered_map.h: Likewise.
2708 * include/profile/unordered_set.h: Likewise.
2709 * include/bits/hashtable.h: Fix comment typos.
2710 * testsuite/23_containers/unordered_map/55043.cc: New.
2711 * testsuite/23_containers/unordered_multimap/55043.cc: New.
2712 * testsuite/23_containers/unordered_multiset/55043.cc: New.
2713 * testsuite/23_containers/unordered_set/55043.cc: New.
2715 2013-01-03 Janis Johnson <janisjo@codesourcery.com>
2717 * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
2720 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2722 * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
2724 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2727 * include/std/functional (_Mem_fn::operator()): Fix constraints to
2729 * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
2730 * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
2732 2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2735 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
2737 * configure: Regenerate.
2739 2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com>
2742 * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
2743 * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
2747 * include/std/functional (bad_function_call::what()): Declare.
2748 * src/c++11/functional.cc (bad_function_call::what()): Define.
2749 * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
2750 * testsuite/20_util/bad_function_call/what.cc: New.
2752 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
2754 * include/bits/unordered_map.h: Fix typo in comments.
2755 * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
2756 counts for unordered associative containers.
2758 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
2760 * doc/xml/manual/abi.xml: Update library and symbol versions.
2762 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
2764 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
2766 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
2769 Copyright (C) 2013 Free Software Foundation, Inc.
2771 Copying and distribution of this file, with or without modification,
2772 are permitted in any medium without royalty provided the copyright
2773 notice and this notice are preserved.