1 2013-12-09 Paolo Carlini <paolo.carlini@oracle.com>
4 * include/bits/fstream.tcc (basic_filebuf<>::overflow,
5 basic_filebuf<>::xsputn): Per lwg/596, ios_base::app implies
7 * include/std/fstream (basic_filebuf<>::_M_set_buffer): Likewise.
8 * testsuite/27_io/basic_filebuf/sputc/char/59427.cc: New.
9 * testsuite/27_io/basic_filebuf/sputn/char/59427.cc: Likewise.
11 2013-12-09 Renlin Li <Renlin.Li@arm.com>
13 * testsuite/20_util/hash/chi2_quality.cc: Change -DSAMPLES=30000.
15 2013-12-08 Jonathan Wakely <jwakely.gcc@gmail.com>
17 * testsuite/30_threads/async/async.cc: Fix race condition in test.
19 2013-12-08 Paolo Carlini <paolo.carlini@oracle.com>
21 * testsuite/20_util/add_const/requirements/explicit_instantiation.cc:
23 * testsuite/20_util/add_const/value.cc: Likewise.
24 * testsuite/20_util/add_cv/requirements/explicit_instantiation.cc:
26 * testsuite/20_util/add_cv/value.cc: Likewise.
27 * testsuite/20_util/add_pointer/requirements/explicit_instantiation.cc:
29 * testsuite/20_util/add_pointer/value.cc: Likewise.
30 * testsuite/20_util/add_volatile/requirements/
31 explicit_instantiation.cc: Likewise.
32 * testsuite/20_util/add_volatile/value.cc: Likewise.
33 * testsuite/20_util/alignment_of/requirements/
34 explicit_instantiation.cc: Likewise.
35 * testsuite/20_util/alignment_of/requirements/typedefs.cc: Likewise.
36 * testsuite/20_util/alignment_of/value.cc: Likewise.
37 * testsuite/20_util/extent/requirements/explicit_instantiation.cc:
39 * testsuite/20_util/extent/requirements/typedefs.cc: Likewise.
40 * testsuite/20_util/extent/value.cc: Likewise.
41 * testsuite/20_util/has_virtual_destructor/requirements/
42 explicit_instantiation.cc: Likewise.
43 * testsuite/20_util/has_virtual_destructor/requirements/
44 typedefs.cc: Likewise.
45 * testsuite/20_util/has_virtual_destructor/value.cc: Likewise.
46 * testsuite/20_util/is_abstract/requirements/explicit_instantiation.cc:
48 * testsuite/20_util/is_abstract/requirements/typedefs.cc: Likewise.
49 * testsuite/20_util/is_abstract/value.cc: Likewise.
50 * testsuite/20_util/is_arithmetic/requirements/
51 explicit_instantiation.cc: Likewise.
52 * testsuite/20_util/is_arithmetic/requirements/typedefs.cc: Likewise.
53 * testsuite/20_util/is_arithmetic/value.cc: Likewise.
54 * testsuite/20_util/is_array/requirements/explicit_instantiation.cc:
56 * testsuite/20_util/is_array/requirements/typedefs.cc: Likewise.
57 * testsuite/20_util/is_array/value.cc: Likewise.
58 * testsuite/20_util/is_base_of/requirements/explicit_instantiation.cc:
60 * testsuite/20_util/is_base_of/requirements/typedefs.cc: Likewise.
61 * testsuite/20_util/is_base_of/value.cc: Likewise.
62 * testsuite/20_util/is_class/requirements/explicit_instantiation.cc:
64 * testsuite/20_util/is_class/requirements/typedefs.cc: Likewise.
65 * testsuite/20_util/is_class/value.cc: Likewise.
66 * testsuite/20_util/is_const/requirements/explicit_instantiation.cc:
68 * testsuite/20_util/is_const/requirements/typedefs.cc: Likewise.
69 * testsuite/20_util/is_const/value.cc: Likewise.
70 * testsuite/20_util/is_empty/requirements/explicit_instantiation.cc:
72 * testsuite/20_util/is_empty/requirements/typedefs.cc: Likewise.
73 * testsuite/20_util/is_empty/value.cc: Likewise.
74 * testsuite/20_util/is_enum/requirements/explicit_instantiation.cc:
76 * testsuite/20_util/is_enum/requirements/typedefs.cc
77 * testsuite/20_util/is_enum/value.cc: Likewise.
78 * testsuite/20_util/is_pointer/requirements/explicit_instantiation.cc
79 * testsuite/20_util/is_pointer/value.cc: Likewise.
80 * testsuite/20_util/is_polymorphic/requirements/
81 explicit_instantiation.cc: Likewise.
82 * testsuite/20_util/is_polymorphic/requirements/typedefs.cc: Likewise.
83 * testsuite/20_util/is_polymorphic/value.cc: Likewise.
84 * testsuite/20_util/is_same/requirements/explicit_instantiation.cc
85 * testsuite/20_util/is_same/requirements/typedefs.cc: Likewise.
86 * testsuite/20_util/is_same/value.cc: Likewise.
87 * testsuite/20_util/is_union/requirements/
88 explicit_instantiation.cc: Likewise.
89 * testsuite/20_util/is_union/requirements/typedefs.cc: Likewise.
90 * testsuite/20_util/is_union/value.cc: Likewise.
91 * testsuite/20_util/is_void/requirements/explicit_instantiation.cc
92 * testsuite/20_util/is_void/requirements/typedefs.cc: Likewise.
93 * testsuite/20_util/is_void/value.cc: Likewise.
94 * testsuite/20_util/is_volatile/requirements/
95 explicit_instantiation.cc: Likewise.
96 * testsuite/20_util/is_volatile/requirements/typedefs.cc: Likewise.
97 * testsuite/20_util/is_volatile/value.cc: Likewise.
98 * testsuite/20_util/rank/requirements/explicit_instantiation.cc:
100 * testsuite/20_util/rank/requirements/typedefs.cc: Likewise.
101 * testsuite/20_util/rank/value.cc: Likewise.
102 * testsuite/20_util/remove_all_extents/requirements/
103 explicit_instantiation.cc: Likewise.
104 * testsuite/20_util/remove_all_extents/value.cc: Likewise.
105 * testsuite/20_util/remove_const/requirements/
106 explicit_instantiation.cc: Likewise.
107 * testsuite/20_util/remove_const/value.cc: Likewise.
108 * testsuite/20_util/remove_cv/requirements/explicit_instantiation.cc:
110 * testsuite/20_util/remove_cv/value.cc: Likewise.
111 * testsuite/20_util/remove_extent/requirements/
112 explicit_instantiation.cc: Likewise.
113 * testsuite/20_util/remove_extent/value.cc: Likewise.
114 * testsuite/20_util/remove_pointer/requirements/
115 explicit_instantiation.cc: Likewise.
116 * testsuite/20_util/remove_pointer/value.cc: Likewise.
117 * testsuite/20_util/remove_volatile/requirements/
118 explicit_instantiation.cc: Likewise.
119 * testsuite/20_util/remove_volatile/value.cc: Likewise.
121 2013-12-06 Paolo Carlini <paolo.carlini@oracle.com>
123 * testsuite/util/testsuite_tr1.h (test_category, test_property,
124 test_relationship): constexpr in c++11 mode.
125 * testsuite/20_util/add_lvalue_reference/value.cc: Use static_assert
126 and change to dg-do compile testcase.
127 * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
128 * testsuite/20_util/aligned_storage/value.cc: Likewise.
129 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
130 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
131 * testsuite/20_util/has_trivial_default_constructor/value.cc: Likewise.
132 * testsuite/20_util/is_compound/value.cc: Likewise.
133 * testsuite/20_util/is_constructible/value.cc: Likewise.
134 * testsuite/20_util/is_convertible/value.cc: Likewise.
135 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
136 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
137 * testsuite/20_util/is_floating_point/value.cc: Likewise.
138 * testsuite/20_util/is_function/value.cc: Likewise.
139 * testsuite/20_util/is_fundamental/value.cc: Likewise.
140 * testsuite/20_util/is_integral/value.cc: Likewise.
141 * testsuite/20_util/is_literal_type/value.cc: Likewise.
142 * testsuite/20_util/is_lvalue_reference/value.cc: Likewise.
143 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
144 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
145 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
146 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
147 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
148 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
149 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
150 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
151 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
152 * testsuite/20_util/is_nothrow_default_constructible/value.cc: Likewise.
153 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
154 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
155 * testsuite/20_util/is_null_pointer/value.cc: Likewise.
156 * testsuite/20_util/is_object/value.cc: Likewise.
157 * testsuite/20_util/is_pod/value.cc: Likewise.
158 * testsuite/20_util/is_reference/value.cc: Likewise.
159 * testsuite/20_util/is_rvalue_reference/value.cc: Likewise.
160 * testsuite/20_util/is_scalar/value.cc: Likewise.
161 * testsuite/20_util/is_signed/value.cc: Likewise.
162 * testsuite/20_util/is_standard_layout/value.cc: Likewise.
163 * testsuite/20_util/is_trivial/value.cc: Likewise.
164 * testsuite/20_util/is_trivially_destructible/value.cc: Likewise.
165 * testsuite/20_util/is_unsigned/value.cc: Likewise.
166 * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Likewise.
167 * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Likewise.
168 * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Likewise.
169 * testsuite/20_util/remove_reference/value.cc: Likewise.
171 2013-12-03 Jonathan Wakely <jwakely.gcc@gmail.com>
173 * include/std/fstream (basic_filebuf::open): Use preformatted text
174 for table in Doxygen comment.
176 2013-12-03 Tim Shen <timshen91@gmail.com>
178 * regex_compiler.h: Add todo comment.
179 * regex_executor.tcc: Likewise.
181 2013-11-29 Matthias Klose <doko@ubuntu.com>
183 * testsuite/experimental/string_view/requirements/exception,
184 testsuite/experimental/string_view/capacity/wchar_t,
185 testsuite/experimental/string_view/capacity/char: Remove empty dirs.
187 2013-11-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
189 * testsuite/ext/random/hypergeometric_distribution/operators/values.cc:
190 Use dg-require-cmath instead.
192 * testsuite/ext/random/hypergeometric_distribution/operators/values.cc
193 (test01): Wrap in _GLIBCXX_USE_C99_MATH_TR1.
195 2013-11-22 François Dumont <fdumont@gcc.gnu.org>
197 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>):
198 Remove _M_bucket, use same information in normal local_iterator.
199 (operator==): Remove redundant _M_can_compare check.
200 * include/debug/safe_local_iterator.tcc: Adapt.
201 * include/debug/unordered_set: Likewise.
202 * include/debug/unordered_map: Likewise.
204 2013-11-22 Jakub Jelinek <jakub@redhat.com>
206 * testsuite/Makefile.am (check_DEJAGNU_normal_targets): Add 10.
207 (check-DEJAGNU): Add normal10, run 28_regex/[ab]*
208 tests as another separate job.
209 * testsuite/Makefile.in: Regenerated.
211 2013-11-22 Jonathan Wakely <jwakely.gcc@gmail.com>
213 * acinclude.m4 (libtool_VERSION): Bump.
214 * configure: Regenerate.
215 * doc/xml/manual/abi.xml: Update version information.
218 * include/bits/c++config (_GLIBCXX_INLINE_VERSION): Declare namespace
219 std::experimental::__7 as inline.
220 * include/bits/regex.h (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Do not
221 enclose namespace __detail.
222 * include/bits/regex.tcc (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Likewise.
223 * include/std/iomanip (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Likewise.
224 * include/ext/pb_ds/tag_and_trait.hpp (detail): Fix comment.
225 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number.
227 2013-11-22 Paolo Carlini <paolo.carlini@oracle.com>
229 * testsuite/ext/random/hypergeometric_distribution/operators/
230 values.cc: Fix further thinkos.
232 2013-11-22 Paolo Carlini <paolo.carlini@oracle.com>
234 * testsuite/ext/random/hypergeometric_distribution/operators/
235 values.cc: Fix thinkos.
237 2013-11-21 Edward Smith-Rowland <3dw4rd@verizon.net>
239 * include/experimental/string_view: Rep empty string with unit-length
240 static constexpr string. Uncomment _GLIBCXX_VISIBILITY. Enforce
241 invariant of no nullptr string pointer.
242 * include/experimental/string_view.tcc: Ditto.
243 * testsuite/experimental/string_view/cons/char/1.cc: data() for empty
244 string_view is no longer nullptr.
245 * testsuite/experimental/string_view/cons/wchar_t/1.cc: Ditto.
246 * testsuite/experimental/string_view/operations/data/char/1.cc: Ditto.
247 * testsuite/experimental/string_view/operations/data/wchar_t/1.cc:
250 2013-11-21 Edward Smith-Rowland <3dw4rd@verizon.net>
252 Implement __gnu_cxx::hypergeometric_distribution.
253 * include/ext/random: Add hypergeometric_distribution.
254 * include/ext/random.tcc: Add hypergeometric_distribution.
255 * testsuite/util/testsuite_random.h (hypergeometric_pdf): New pdf
256 for the hypergeometric discreet distribution;
257 (lbincoef): New supporting function for binomial coefficients.
258 * testsuite/ext/random/hypergeometric_distribution/operators/
260 * testsuite/ext/random/hypergeometric_distribution/operators/
262 * testsuite/ext/random/hypergeometric_distribution/operators/
264 * testsuite/ext/random/hypergeometric_distribution/operators/
266 * testsuite/ext/random/hypergeometric_distribution/cons/parms.cc: New.
267 * testsuite/ext/random/hypergeometric_distribution/cons/default.cc: New.
268 * testsuite/ext/random/hypergeometric_distribution/requirements/
269 explicit_instantiation/1.cc: New.
270 * testsuite/ext/random/hypergeometric_distribution/requirements/
273 2013-11-20 Jonathan Wakely <jwakely.gcc@gmail.com>
276 * include/ext/pointer.h (pointer_traits<>::rebind<>): Add template
277 keyword in nested name.
280 * include/std/future (__future_base::_State_base): Rename to
281 __future_base::_State_baseV2.
282 (__future_base::_State_baseV2::~_State_baseV2): Define as defaulted.
283 (__future_base::_State_baseV2::_M_run_deferred): Rename to
285 (__future_base::_State_baseV2::_M_has_deferred): Add new virtual.
286 (__future_base::_State_baseV2::wait_for): Call _M_has_deferred() to
287 test for a deferred function, or call _M_complete_async() to join an
288 async thread that has made the shared state ready.
289 (__future_base::_State_baseV2::wait_until): Likewise.
290 (__future_base::_Async_state_common): Rename to _Async_state_commonV2.
291 (__future_base::_Async_state_commonV2::_M_run_deferred): Rename to
293 * src/c++11/compatibility-thread-c++0x.cc (__future_base::_State_base):
294 Export old definition.
295 (__future_base::_Async_state_common): Likewise.
296 * src/c++11/future.cc (__future_base::_State_base::~_State_base):
298 * doc/xml/manual/status_cxx2011.xml: Update status.
299 * testsuite/30_threads/async/async.cc: Test future_status::timeout
300 and future_status::ready.
301 * testsuite/30_threads/async/sync.cc: Test future_status::deferred.
303 2013-11-20 David Edelsohn <dje.gcc@gmail.com>
305 * testsuite/17_intro/static.cc: Ignore AIX TOC reload warnings.
307 2013-11-19 Jonathan Wakely <jwakely.gcc@gmail.com>
309 * testsuite/23_containers/forward_list/allocator/noexcept.cc: Change
310 to compile-only test. Adjust swap overload to handle rebound
312 * testsuite/23_containers/map/allocator/noexcept.cc: Likewise.
313 * testsuite/23_containers/multimap/allocator/noexcept.cc: Likewise.
314 * testsuite/23_containers/multiset/allocator/noexcept.cc: Likewise.
315 * testsuite/23_containers/set/allocator/noexcept.cc: Likewise.
316 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
318 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc:
320 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc:
322 * testsuite/23_containers/unordered_set/allocator/noexcept.cc:
324 * testsuite/23_containers/vector/allocator/noexcept.cc: Likewise.
325 * testsuite/23_containers/vector/allocator/swap.cc: Add elements
328 * config/abi/pre/gnu.ver (_ZNSt11regex_errorC*): Export regex_error
330 * testsuite/20_util/addressof/1.cc: Remove { dg-do compile }.
331 * testsuite/20_util/allocator_traits/members/destroy.cc: Likewise.
332 * testsuite/20_util/allocator_traits/members/select.cc: Likewise. Fix
334 * testsuite/28_regex/basic_regex/ctors/extended/cstring.cc: Likewise.
335 * testsuite/28_regex/init-list.cc: Likewise.
336 * testsuite/28_regex/regex_error/regex_error.cc: Likewise.
337 * testsuite/28_regex/sub_match/length.cc: Likewise. Add main.
338 * testsuite/28_regex/sub_match/cast_char.cc: Likewise. Fix test.
339 * testsuite/28_regex/sub_match/cast_wchar_t.cc: Likewise.
340 * testsuite/tr1/7_regular_expressions/regex/cons/char/
341 c_string_extended.cc: Delete.
343 2013-11-19 Paolo Carlini <paolo.carlini@oracle.com>
345 * include/experimental/string_view (_S_max_size): Remove.
346 (basic_string_view<>::max_size): Adjust.
347 * testsuite/experimental/string_view/capacity/1.cc: Clean-up.
348 * testsuite/experimental/string_view/inserters/pod/10081-out.cc:
351 2013-11-19 Jonathan Wakely <jwakely.gcc@gmail.com>
353 * doc/xml/manual/status_cxx2014.xml: Create new table for TS statuses.
355 2013-11-18 Jonathan Wakely <jwakely.gcc@gmail.com>
357 * include/bits/shared_ptr_base.h (_Sp_counted_base<_S_single>): Use
358 non-atomic operations.
359 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line number.
360 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
362 2013-11-16 Edward Smith-Rowland <3dw4rd@verizon.net>
364 Implement N3762 string_view: a non-owning reference to a string.
365 * include/Makefile.am: Add string_view and string_view.tcc.
366 * include/Makefile.in: Regenerate.
367 * include/experimental/string_view: Implement basic_string_view.
368 * include/experimental/string_view.tcc: Implement basic_string_view.
369 * testsuite/experimental/string_view/capacity/1.cc: New.
370 * testsuite/experimental/string_view/cons/char/1.cc: New.
371 * testsuite/experimental/string_view/cons/char/2.cc: New.
372 * testsuite/experimental/string_view/cons/char/3.cc: New.
373 * testsuite/experimental/string_view/cons/wchar_t/1.cc: New.
374 * testsuite/experimental/string_view/cons/wchar_t/2.cc: New.
375 * testsuite/experimental/string_view/cons/wchar_t/3.cc: New.
376 * testsuite/experimental/string_view/element_access/char/1.cc: New.
377 * testsuite/experimental/string_view/element_access/char/2.cc: New.
378 * testsuite/experimental/string_view/element_access/char/empty.cc: New.
379 * testsuite/experimental/string_view/element_access/char/front_back.cc:
381 * testsuite/experimental/string_view/element_access/wchar_t/1.cc: New.
382 * testsuite/experimental/string_view/element_access/wchar_t/2.cc: New.
383 * testsuite/experimental/string_view/element_access/wchar_t/empty.cc:
385 * testsuite/experimental/string_view/element_access/wchar_t/
387 * testsuite/experimental/string_view/include.cc: New.
388 * testsuite/experimental/string_view/inserters/char/1.cc: New.
389 * testsuite/experimental/string_view/inserters/char/2.cc: New.
390 * testsuite/experimental/string_view/inserters/char/3.cc: New.
391 * testsuite/experimental/string_view/inserters/pod/10081-out.cc: New.
392 * testsuite/experimental/string_view/inserters/wchar_t/1.cc: New.
393 * testsuite/experimental/string_view/inserters/wchar_t/2.cc: New.
394 * testsuite/experimental/string_view/inserters/wchar_t/3.cc: New.
395 * testsuite/experimental/string_view/literals/types.cc: New.
396 * testsuite/experimental/string_view/literals/values.cc: New.
397 * testsuite/experimental/string_view/modifiers/remove_prefix/char/1.cc:
399 * testsuite/experimental/string_view/modifiers/remove_prefix/wchar_t/
401 * testsuite/experimental/string_view/modifiers/remove_suffix/char/1.cc:
403 * testsuite/experimental/string_view/modifiers/remove_suffix/wchar_t/
405 * testsuite/experimental/string_view/operations/compare/char/1.cc: New.
406 * testsuite/experimental/string_view/operations/compare/char/13650.cc:
408 * testsuite/experimental/string_view/operations/compare/wchar_t/1.cc:
410 * testsuite/experimental/string_view/operations/compare/wchar_t/
412 * testsuite/experimental/string_view/operations/data/char/1.cc: New.
413 * testsuite/experimental/string_view/operations/data/wchar_t/1.cc: New.
414 * testsuite/experimental/string_view/operations/find/char/1.cc: New.
415 * testsuite/experimental/string_view/operations/find/char/2.cc: New.
416 * testsuite/experimental/string_view/operations/find/char/3.cc: New.
417 * testsuite/experimental/string_view/operations/find/char/4.cc: New.
418 * testsuite/experimental/string_view/operations/find/wchar_t/1.cc: New.
419 * testsuite/experimental/string_view/operations/find/wchar_t/2.cc: New.
420 * testsuite/experimental/string_view/operations/find/wchar_t/3.cc: New.
421 * testsuite/experimental/string_view/operations/find/wchar_t/4.cc: New.
422 * testsuite/experimental/string_view/operations/rfind/char/1.cc: New.
423 * testsuite/experimental/string_view/operations/rfind/char/2.cc: New.
424 * testsuite/experimental/string_view/operations/rfind/char/3.cc: New.
425 * testsuite/experimental/string_view/operations/rfind/wchar_t/1.cc: New.
426 * testsuite/experimental/string_view/operations/rfind/wchar_t/2.cc: New.
427 * testsuite/experimental/string_view/operations/rfind/wchar_t/3.cc: New.
428 * testsuite/experimental/string_view/operations/substr/char/1.cc: New.
429 * testsuite/experimental/string_view/operations/substr/wchar_t/1.cc:
431 * testsuite/experimental/string_view/operators/char/2.cc: New.
432 * testsuite/experimental/string_view/operators/wchar_t/2.cc: New.
433 * testsuite/experimental/string_view/range_access/char/1.cc: New.
434 * testsuite/experimental/string_view/range_access/wchar_t/1.cc: New.
435 * testsuite/experimental/string_view/requirements/
436 explicit_instantiation/1.cc: New.
437 * testsuite/experimental/string_view/requirements/
438 explicit_instantiation/char/1.cc: New.
439 * testsuite/experimental/string_view/requirements/
440 explicit_instantiation/char16_t/1.cc: New.
441 * testsuite/experimental/string_view/requirements/
442 explicit_instantiation/char32_t/1.cc: New.
443 * testsuite/experimental/string_view/requirements/
444 explicit_instantiation/wchar_t/1.cc: New.
445 * testsuite/experimental/string_view/requirements/typedefs.cc: New.
446 * testsuite/experimental/string_view/types/1.cc: New.
448 2013-11-16 François Dumont <fdumont@gcc.gnu.org>
450 * testsuite/23_containers/unordered_set/55043.cc (equal): Add
451 missing & on rhs parameter.
453 2013-11-15 Jonathan Wakely <jwakely.gcc@gmail.com>
455 * include/bits/stl_bvector.h (vector<bool>::emplace_back()): LWG 2187:
457 (vector<bool>::emplace()): Likewise.
458 * testsuite/23_containers/vector/bool/emplace.cc: New.
460 2013-11-15 Ondřej Bílka <neleai@seznam.cz>
461 Jonathan Wakely <jwakely.gcc@gmail.com>
463 * doc/xml/manual/build_hacking.xml: Fix documentation typos.
464 * doc/xml/manual/configure.xml: Likewise.
465 * include/bits/atomic_base.h: Fix typos in comments.
466 * include/bits/random.h: Likewise.
467 * include/ext/cast.h: Likewise.
468 * libsupc++/cxxabi.h: Likewise.
469 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Likewise.
470 * testsuite/tr1/5_numerical_facilities/special_functions/testcase.h:
472 * testsuite/util/exception/safety.h: Likewise.
473 * testsuite/util/testsuite_containers.h: Likewise.
474 * testsuite/util/testsuite_hooks.cc: Likewise.
476 2013-11-15 Jonathan Wakely <jwakely.gcc@gmail.com>
478 * include/bits/stl_map.h (map): Implement C++11 allocator-aware
479 container requirements.
480 * include/bits/stl_multimap.h (multimap): Likewise.
481 * include/bits/stl_multiset.h (multiset): Likewise.
482 * include/bits/stl_set.h (set): Likewise.
483 * include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_buffer and
484 add accessors for value.
485 (_Rb_tree_iterator, _Rb_tree_const_iterator): Use _Rb_tree_node
487 (_Rb_tree): Use allocator_traits and implement support for sets and
488 maps the be allocator-aware.
489 * include/bits/forward_list.h (_Fwd_list_base::_M_create_node): Do
490 not zero-initialize storage buffer.
491 * include/bits/hashtable_policy.h (_Hashtable_alloc::_M_allocate_node):
493 * include/bits/stl_vector.h (vector(vector&&, const allocator_type&)):
494 Add conditional noexcept specification.
495 * doc/xml/manual/status_cxx2011.xml: Update status of containers.
496 * testsuite/util/testsuite_allocator.h: Re-indent.
497 * testsuite/23_containers/forward_list/allocator/copy.cc: Test
498 allocator-extended copy constructor.
499 * testsuite/23_containers/unordered_map/allocator/copy.cc: Likewise.
500 * testsuite/23_containers/unordered_multimap/allocator/copy.cc:
502 * testsuite/23_containers/unordered_multiset/allocator/copy.cc:
504 * testsuite/23_containers/unordered_set/allocator/copy.cc: Likewise.
505 * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
506 * testsuite/23_containers/forward_list/allocator/move.cc: New.
507 * testsuite/23_containers/unordered_map/allocator/move.cc: New.
508 * testsuite/23_containers/unordered_multimap/allocator/move.cc: New.
509 * testsuite/23_containers/unordered_multiset/allocator/move.cc: New.
510 * testsuite/23_containers/unordered_set/allocator/move.cc: New.
511 * testsuite/23_containers/vector/allocator/move.cc: New.
512 * testsuite/23_containers/map/allocator/copy.cc: New.
513 * testsuite/23_containers/map/allocator/copy_assign.cc: New.
514 * testsuite/23_containers/map/allocator/minimal.cc: New.
515 * testsuite/23_containers/map/allocator/move.cc: New.
516 * testsuite/23_containers/map/allocator/move_assign.cc: New.
517 * testsuite/23_containers/map/allocator/noexcept.cc: New.
518 * testsuite/23_containers/map/allocator/swap.cc: New.
519 * testsuite/23_containers/multimap/allocator/copy.cc: New.
520 * testsuite/23_containers/multimap/allocator/copy_assign.cc: New.
521 * testsuite/23_containers/multimap/allocator/minimal.cc: New.
522 * testsuite/23_containers/multimap/allocator/move.cc: New.
523 * testsuite/23_containers/multimap/allocator/move_assign.cc: New.
524 * testsuite/23_containers/multimap/allocator/noexcept.cc: New.
525 * testsuite/23_containers/multimap/allocator/swap.cc: New.
526 * testsuite/23_containers/multiset/allocator/copy.cc: New.
527 * testsuite/23_containers/multiset/allocator/copy_assign.cc: New.
528 * testsuite/23_containers/multiset/allocator/minimal.cc: New.
529 * testsuite/23_containers/multiset/allocator/move.cc: New.
530 * testsuite/23_containers/multiset/allocator/move_assign.cc: New.
531 * testsuite/23_containers/multiset/allocator/noexcept.cc: New.
532 * testsuite/23_containers/multiset/allocator/swap.cc: New.
533 * testsuite/23_containers/set/allocator/copy.cc: New.
534 * testsuite/23_containers/set/allocator/copy_assign.cc: New.
535 * testsuite/23_containers/set/allocator/minimal.cc: New.
536 * testsuite/23_containers/set/allocator/move.cc: New.
537 * testsuite/23_containers/set/allocator/move_assign.cc: New.
538 * testsuite/23_containers/set/allocator/noexcept.cc: New.
539 * testsuite/23_containers/set/allocator/swap.cc: New.
540 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
541 Adjust dg-error line number.
542 * testsuite/23_containers/vector/requirements/dr438/
543 constructor_1_neg.cc: Likewise.
544 * testsuite/23_containers/vector/requirements/dr438/
545 constructor_2_neg.cc: Likewise.
546 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
549 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
551 * scripts/extract_symvers.in: Ignore <localentry: > fields
552 in readelf --symbols output.
554 2013-11-14 Jonathan Wakely <jwakely.gcc@gmail.com>
556 * include/bits/alloc_traits.h (__allow_copy_cons): Remove.
557 (__check_copy_constructible): Likewise.
558 * include/bits/unordered_map.h (unordered_map, unordered_multimap):
559 Do not derive from __check_copy_constructible.
560 * include/bits/unordered_set.h (unordered_set, unordered_multiset):
562 * testsuite/23_containers/unordered_map/55043.cc: It is no longer
563 necessary for is_copy_constructible to be correct to use nested
564 unordered containers.
565 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
566 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
567 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
569 2013-11-13 Marc Glisse <marc.glisse@inria.fr>
572 * include/ext/pod_char_traits.h: Uglify V, I and S.
574 2013-11-11 Jonathan Wakely <jwakely.gcc@gmail.com>
577 * include/std/mutex (__timed_mutex_impl::__clock_t): Use
578 high_resolution_clock for absolute timeouts, because
579 pthread_mutex_timedlock uses CLOCK_REALTIME not CLOCK_MONOTONIC.
580 (__timed_mutex_impl::_M_try_lock_for): Use steady_clock for relative
581 timeouts as per [thread.req.timing].
582 (__timed_mutex_impl::_M_try_lock_until<Clock,Duration>): Convert to
583 __clock_t time point instead of using _M_try_lock_for.
585 2013-11-09 Jonathan Wakely <jwakely.gcc@gmail.com>
588 * include/bits/stl_algobase.h (__copy_move::__copy_m): Use assertion
589 to prevent using memmove() on non-assignable types.
590 (__copy_move_backward::__copy_move_b): Likewise.
591 * include/bits/stl_uninitialized.h (uninitialized_copy
592 uninitialized_copy_n, uninitialized_fill, uninitialized_fill_n,
593 __uninitialized_default, __uninitialized_default_n): Check for
594 assignable as well as trivial.
595 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
597 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
599 * testsuite/20_util/specialized_algorithms/uninitialized_fill/
601 * testsuite/20_util/specialized_algorithms/uninitialized_fill_n/
603 * testsuite/25_algorithms/copy/58982.cc: New.
604 * testsuite/25_algorithms/copy_n/58982.cc: New.
606 2013-11-08 François Dumont <fdumont@gcc.gnu.org>
608 * include/debug/safe_iterator.h (_BeforeBeginHelper<>::_S_Is):
609 Take only a const safe iterator reference.
610 (_BeforeBeginHelper<>::_S_Is_beginnest): Likewise.
611 (__get_distance): Take only one type of iterator.
612 (_Safe_iterator<>::_M_valid_range<>): Not template anymore.
613 (_Safe_iterator<>::_M_get_sequence()): Return pointer to const
614 sequence from a const_iterator and a pointer to sequence from an
616 * include/debug/safe_iterator.tcc: Adapt.
617 * include/debug/safe_local_iterator.h
618 (_Safe_local_iterator<>::_M_valid_range<>): Not template anymore.
619 (_Safe_local_iterator<>::_M_get_sequence()): Return pointer to
620 const sequence from a const_iterator and a pointer to sequence
622 * include/debug/safe_local_iterator.tcc: Adapt.
623 * include/debug/forward_list
624 (_BeforeBeginHelper<std::__debug::forward_list<>>): Adapt.
626 2013-11-08 Jonathan Wakely <jwakely.gcc@gmail.com>
628 * include/bits/regex_automaton.h (__detail::_State): Split
629 non-dependent parts into new _State_base.
630 (__detail::_NFA): Likewise for _NFA_base. Use std::move() to avoid
631 copies when inserting _MatcherT and _StateT objects.
632 * include/bits/regex_automaton.tcc: Move member definitions to base
633 class. Qualify dependent names.
634 * include/bits/regex_compiler.h (__detail::_Compiler::_M_get_nfa): Make
635 non-const and use std::move to avoid copying.
636 * include/bits/regex_compiler.tcc: Likewise.
637 * include/bits/regex_executor.h (__detail::_Executor::_M_is_word): Use
638 array, so past-the-end iterator is valid.
640 * include/bits/regex_automaton.h (__detail::_State, __detail::_NFA,
641 __detail::_StateSeq): Remove redundant _CharT template parameters.
642 * include/bits/regex_automaton.tcc: Likewise.
643 * include/bits/regex_compiler.h (__detail::_Compiler): Likewise.
644 (__compile_nfa): Add object generator for _Compiler.
645 * include/bits/regex_compiler.tcc: Remove _CharT template parameters.
646 * include/bits/regex_executor.h: Likewise.
647 * include/bits/regex_executor.tcc: Likewise.
648 * include/bits/regex.h (basic_regex): Assert char_type matches. Use
649 __compile_nfa object generator. Remove _CharT template parameter.
651 * include/bits/regex_compiler.h (__detail::_AnyMatcher,
652 __detail::_CharMatcher, __detail::_BracketMatcher): Remove redundant
653 _CharT template parameters.
654 * include/bits/regex_compiler.tcc: Likewise.
656 * include/bits/regex_compiler.h (__detail::__compile_nfa): Overload
657 so that std::basic_string<C> and std::vector<C> iterators dispatch to
658 the const C* compiler.
660 * include/bits/regex_compiler.h (__detail::__has_contiguous_iter):
661 vector<bool> storage is not contiguous.
663 2013-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
665 * include/bits/regex_automaton.h (_S_opcode_word_boundry): Rename to
666 _S_opcode_word_boundary.
667 * include/bits/regex_automaton.tcc: Likewise.
668 * include/bits/regex_executor.h (__detail::_Executor::_M_word_boundry):
669 Rename to _M_word_boundary.
670 * include/bits/regex_executor.tcc: Likewise.
672 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
674 N3655 C++1y TransformationTraits Redux
675 * include/std/type_traits (remove_const_t, remove_volatile_t,
676 remove_cv_t, add_const_t, add_volatile_t, add_cv_t, remove_reference_t,
677 add_lvalue_reference_t, add_rvalue_reference_t, make_signed_t,
678 make_unsigned_t, remove_extent_t, remove_all_extents_t,
679 remove_pointer_t, add_pointer_t, aligned_storage_t, decay_t,
680 enable_if_t, conditional_t, common_type_t, underlying_type_t,
681 result_of_t): Define.
682 * doc/xml/manual/status_cxx2014.xml: Update.
683 * testsuite/20_util/add_lvalue_reference/requirements/typedefs-3.cc:
685 * testsuite/20_util/add_rvalue_reference/requirements/typedefs-3.cc:
687 * testsuite/20_util/common_type/requirements/typedefs-3.cc: New.
688 * testsuite/20_util/conditional/requirements/typedefs-2.cc: New.
689 * testsuite/20_util/decay/requirements/typedefs-2.cc: New.
690 * testsuite/20_util/enable_if/requirements/typedefs-2.cc: New.
691 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
692 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
693 * testsuite/20_util/remove_reference/requirements/typedefs.cc: New.
694 * testsuite/20_util/result_of/requirements/typedefs.cc: New.
695 * testsuite/20_util/underlying_type/requirements/typedefs-3.cc: New.
696 * testsuite/20_util/common_type/requirements/typedefs-2.cc: Change to
698 * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
699 * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Likewise.
700 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
702 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
704 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
707 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
709 * doc/xml/manual/status_cxx2011.xml: Document aligned_union as
712 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
713 Paolo Carlini <paolo.carlini@oracle.com>
715 * include/experimental/optional: Use __and_<> and __not_<> in
716 conditions. Style fixes.
717 (__constexpr_addressof, swap): Make inline.
718 * testsuite/experimental/optional/cons/copy.cc: Adjust constants for
720 * testsuite/experimental/optional/cons/move.cc: Likewise.
721 * testsuite/experimental/optional/cons/value.cc: Likewise.
722 * testsuite/experimental/optional/constexpr/cons/value.cc: Likewise.
724 2013-11-01 Michael Brune <lucdanton@free.fr>
726 * include/bits/enable_special_members.h: New.
727 * include/experimental/optional: New.
728 * include/Makefile.am: Handle include/experimental.
729 * include/Makefile.in: Regenerate.
730 * testsuite/libstdc++-dg/conformance.exp: Run tests from
731 testsuite/experimental sub-directory.
732 * testsuite/experimental/optional/assignment/1.cc: New.
733 * testsuite/experimental/optional/assignment/2.cc: New.
734 * testsuite/experimental/optional/assignment/3.cc: New.
735 * testsuite/experimental/optional/assignment/4.cc: New.
736 * testsuite/experimental/optional/assignment/5.cc: New.
737 * testsuite/experimental/optional/assignment/6.cc: New.
738 * testsuite/experimental/optional/cons/copy.cc: New.
739 * testsuite/experimental/optional/cons/default.cc: New.
740 * testsuite/experimental/optional/cons/move.cc: New.
741 * testsuite/experimental/optional/cons/value.cc: New.
742 * testsuite/experimental/optional/constexpr/cons/default.cc: New.
743 * testsuite/experimental/optional/constexpr/cons/value.cc: New.
744 * testsuite/experimental/optional/constexpr/in_place.cc: New.
745 * testsuite/experimental/optional/constexpr/make_optional.cc: New.
746 * testsuite/experimental/optional/constexpr/nullopt.cc: New.
747 * testsuite/experimental/optional/constexpr/observers/1.cc: New.
748 * testsuite/experimental/optional/constexpr/observers/2.cc: New.
749 * testsuite/experimental/optional/constexpr/observers/3.cc: New.
750 * testsuite/experimental/optional/constexpr/observers/4.cc: New.
751 * testsuite/experimental/optional/constexpr/observers/5.cc: New.
752 * testsuite/experimental/optional/constexpr/relops/1.cc: New.
753 * testsuite/experimental/optional/constexpr/relops/2.cc: New.
754 * testsuite/experimental/optional/constexpr/relops/3.cc: New.
755 * testsuite/experimental/optional/constexpr/relops/4.cc: New.
756 * testsuite/experimental/optional/constexpr/relops/5.cc: New.
757 * testsuite/experimental/optional/constexpr/relops/6.cc: New.
758 * testsuite/experimental/optional/in_place.cc: New.
759 * testsuite/experimental/optional/make_optional.cc: New.
760 * testsuite/experimental/optional/nullopt.cc: New.
761 * testsuite/experimental/optional/observers/1.cc: New.
762 * testsuite/experimental/optional/observers/2.cc: New.
763 * testsuite/experimental/optional/observers/3.cc: New.
764 * testsuite/experimental/optional/observers/4.cc: New.
765 * testsuite/experimental/optional/observers/5.cc: New.
766 * testsuite/experimental/optional/relops/1.cc: New.
767 * testsuite/experimental/optional/relops/2.cc: New.
768 * testsuite/experimental/optional/relops/3.cc: New.
769 * testsuite/experimental/optional/relops/4.cc: New.
770 * testsuite/experimental/optional/relops/5.cc: New.
771 * testsuite/experimental/optional/relops/6.cc: New.
772 * testsuite/experimental/optional/requirements.cc: New.
773 * testsuite/experimental/optional/swap/1.cc: New.
775 2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
777 * include/bits/stl_function.h (logical_not<void>): Add noexcept.
779 2013-11-01 Paolo Carlini <paolo.carlini@oracle.com>
782 * include/c_global/cstdio: Undef getchar.
784 2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
786 N3421 C++1y Transparent functors
787 * include/bits/stl_function.h (plus<void>, minus<void>,
788 multiplies<void>, divides<void>, modulus<void>, negate<void>,
789 equal_to<void>, not_equal_to<void>, greater<void>, less<void>,
790 greater_equal<void>, less_equal<void>, logical_and<void>,
791 logical_or<void>, logical_not<void>, bit_and<void>, bit_or<void>,
792 bit_xor<void>, bit_not<void>): Define.
793 * doc/xml/manual/status_cxx2014.xml: Update.
794 * testsuite/20_util/function_objects/comparisons_void.cc: New.
796 2013-10-31 Jonathan Wakely <jwakely.gcc@gmail.com>
798 * include/std/tuple (_Index_tuple, _Build_index_tuple): Move to
800 * include/std/utility (integer_sequence, make_integer_sequence,
801 index_sequence, make_index_sequence, index_sequence_for): Define.
802 * doc/xml/manual/status_cxx2014.xml: Update.
803 * testsuite/20_util/integer_sequence/intseq.cc: New.
804 * testsuite/20_util/integer_sequence/requirements/typedefs.cc: New.
806 2013-10-31 Steve Ellcey <sellcey@mips.com>
808 * configure.ac: Add header checks for fenv.h and complex.h.
809 * configure: Regenerate.
811 2013-10-31 Edward Smith-Rowland <3dw4rd@verizon.net>
813 Implement C++14 digit separators.
814 * include/include/bits/parse_numbers.h: Change struct _Digit<_Base, '`'>
815 to struct _Digit<_Base, '\''>.
817 2013-10-31 Paolo Carlini <paolo.carlini@oracle.com>
819 * testsuite/20_util/default_delete/48631_neg.cc: Tweak dg-prune.
821 2013-10-30 Jonathan Wakely <jwakely.gcc@gmail.com>
823 * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: Fix
824 and enable VERIFY tests.
826 2013-10-30 Jonathan Wakely <jwakely.gcc@gmail.com>
828 * include/bits/shared_ptr (__shared_ptr): Assert non-void pointer.
829 * include/bits/shared_ptr (default_delete): Likewise.
830 * testsuite/20_util/shared_ptr/cons/58839.cc: Do not use
831 default_delete<void>.
832 * testsuite/20_util/shared_ptr/cons/void_neg.cc: New.
833 * testsuite/20_util/default_delete/void_neg.cc: New.
834 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
835 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
837 2013-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
840 * include/bits/shared_ptr_base.h
841 (__shared_ptr<T>::__shared_ptr(unique_ptr<U,D>&&)): Only use addressof
842 when unique_ptr<U,D>::pointer is not a built-in pointer type.
843 * testsuite/20_util/shared_ptr/cons/58839.cc: New.
844 * testsuite/20_util/enable_shared_from_this/members/assign.cc: New.
845 * testsuite/20_util/enable_shared_from_this/members/unique_ptr.cc: New.
847 2013-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
849 * include/bits/hashtable.cc (__access_protected_ctor): Define and use
850 new type instead of _Hashtable_ebo_helper.
851 * testsuite/23_containers/unordered_set/
852 not_default_constructible_hash_neg.cc: Adjust line number.
854 2013-10-28 Tim Shen <timshen91@gmail.com>
856 * regex_executor.tcc: Add comments.
858 2013-10-26 Tim Shen <timshen91@gmail.com>
860 * include/bits/regex.h: Remove unnecessary friends.
861 * include/bits/regex.tcc (__regex_algo_impl<>): Move __get_executor
863 * include/bits/regex_executor.h: Remove _DFSExecutor and _BFSExecutor;
864 they are merged into _Executor. Eliminate quantifier tracking part, so
866 * include/bits/regex_executor.tcc: Implement _Executor.
867 * testsuite/28_regex/algorithms/regex_match/ecma/char/ungreedy.cc: New.
868 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Adjust
870 * testsuite/performance/28_regex/split.h: New.
871 * testsuite/performance/28_regex/split_bfs.cc: New.
872 * testsuite/util/testsuite_regex.h: Adjust behavior of two-executors
873 agreement judger: do not compare match_results when executor return
876 2013-10-25 François Dumont <fdumont@gcc.gnu.org>
878 * include/debug/formatter.h (__check_singular): Add const on
880 * include/debug/functions.h (__check_singular): Likewise.
881 (__check_singular(const _Safe_iterator<_Ite, _Seq>&)): Delete.
882 (__check_dereferenceable(const _Ite&)): Add const on iterator
884 (__check_dereferenceable(const _Safe_local_iterator<>&)): New.
885 * include/debug/safe_iterator.h (__check_singular_aux): Review
887 * testsuite/23_containers/vector/debug/debug_functions.cc: New.
888 * testsuite/23_containers/unordered_set/debug/debug_functions.cc:
891 2013-10-23 Chris Jefferson <chris@bubblescope.net>
892 Paolo Carlini <paolo.carlini@oracle.com>
894 * testsuite/util/testsuite_containergen.h: New.
895 * testsuite/util/testsuite_iterators.h (test_container<>::val): Add.
896 * testsuite/25_algorithms/nth_element/random_test.cc: New, use the
898 * testsuite/25_algorithms/partial_sort/random_test.cc: Likewise.
899 * testsuite/25_algorithms/partial_sort_copy/random_test.cc: Likewise.
900 * testsuite/25_algorithms/sort/random_test.cc: Likewise.
902 2013-10-23 Jason Merrill <jason@redhat.com>
904 * include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base.
906 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
909 * include/std/chrono (minutes, hours): Change typedefs to uniformly
911 * testsuite/20_util/duration/arithmetic/58850.cc: New.
913 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
915 * testsuite/decimal/pr58815.cc: Fix thinko.
917 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
920 * include/decimal/decimal (decimal32::operator long long(),
921 decimal64::operator long long(), decimal128::operator long long()):
922 Add in c++11 mode per n3407.
923 * testsuite/decimal/pr58815.cc: New.
925 2013-10-22 Edward Smith-Rowland <3dw4rd@verizon.net>
927 * include/bits/basic_string.h (operator""s): Remove space between quotes
928 and literal identifier.
929 * include/std/chrono (operator""h, operator""min, operator""s,
930 operator""ms, operator""us, operator""ns): Ditto.
932 2013-10-22 Ed Smith-Rowland <3dw4rd@verizon.net>
934 Implement N3779 - User-defined Literals for std::complex,
935 part 2 of UDL for Standard Library Types
936 * include/std/complex: Add complex literal operators.
937 * testsuite/26_numerics/complex/literals/types.cc: New.
938 * testsuite/26_numerics/complex/literals/values.cc: New.
940 2013-10-21 Edward Smith-Rowland <3dw4rd@verizon.net>
944 * include/tr2/dynamic_bitset
945 (__dynamic_bitset_base<_WordT, _Alloc>::_M_are_all_aux,
946 __dynamic_bitset_base<_WordT, _Alloc>::_M_do_count):
947 Use __builtin_popcountll() instead of __builtin_popcountl().
948 * include/tr2/dynamic_bitset.tcc
949 (__dynamic_bitset_base<_WordT, _Alloc>::_M_do_find_first,
950 __dynamic_bitset_base<_WordT, _Alloc>::_M_do_find_next):
951 Use __builtin_ctzll() instead of __builtin_ctzl().
953 2013-10-20 Tim Shen <timshen91@gmail.com>
955 * include/bits/regex.h: Remove virtual class _Automaton.
956 * include/bits/regex_automaton.h: Likewise.
957 * include/bits/regex.tcc: Adjust comment for policy changing.
958 * include/bits/regex_executor.h: Update comments of complexity.
959 * include/bits/regex_executor.tcc: Adjust executor choosing
960 policy. Now DFS executor is the default one.
961 * testsuite/util/testsuite_regex.h (regex_match_debug,
962 regex_search_debug): Adjust for policy changing.
964 2013-10-20 Chris Jefferson <chris@bubblescope.net>
965 Paolo Carlini <paolo.carlini@oracle.com>
968 * include/bits/stl_algo.h (__unguarded_partition_pivot): Change
969 __last - 2 to __last - 1.
970 * testsuite/25_algorithms/nth_element/58800.cc: New
972 2013-10-18 Edward Smith-Rowland <3dw4rd@verizon.net>
975 * include/tr2/dynamic_bitset (_M_resize, resize): Use input value
976 to set bits; (_M_do_left_shift, _M_do_right_shift, _M_do_to_ulong,
977 _M_do_to_ullong, _M_do_find_first, _M_do_find_next, _M_copy_from_ptr,
978 operator>>): Move long methods outline to...
979 * include/tr2/dynamic_bitset.tcc: New.
980 * include/Makefile.am: Add dynamic_bitset.tcc.
981 * include/Makefile.in: Add dynamic_bitset.tcc.
982 * testsuite/tr2/dynamic_bitset/pr58729.cc: New.
984 2013-10-18 Tim Shen <timshen91@gmail.com>
986 * include/bits/regex_scanner.tcc: (_Scanner<>::_M_scan_normal,
987 _Scanner<>::_M_eat_escape_ecma, _Scanner<>::_M_eat_escape_posix,
988 _Scanner<>::_M_eat_escape_awk): Narrow character before finding in maps.
989 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc:
992 2013-10-17 Tim Shen <timshen91@gmail.com>
994 * include/bits/regex.h (regex_token_iterator<>::regex_token_iterator):
995 Fix initialization orders in initialization list and add explicit braces
996 for potentially ambiguous(actually not) `else` branch to eliminate
998 * include/bits/regex_automaton.h (_NFA<>::_NFA): Likewise.
999 * include/bits/regex_compiler.h (_CharMatcher<>::_CharMatcher,
1000 _BracketMatcher<>::_BracketMatcher): Likewise.
1001 * include/bits/regex_compiler.tcc (_Compiler<>::_Compiler,
1002 _Compiler<>::_M_atom): Likewise.
1003 * include/bits/regex_executor.h (_Executor<>::_Executor): Likewise.
1004 * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs,
1005 _Executor<>::_M_word_boundry): Likewise.
1006 * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner,
1007 _Scanner<>::_M_eat_class): Likewise.
1008 * include/bits/regex.tcc (__regex_algo_impl<>,
1009 regex_iterator<>::operator++): Likewise, and remove unused typedef.
1011 2013-10-16 Tim Shen <timshen91@gmail.com>
1013 * include/bits/regex.h (regex_token_iterator<>::regex_token_iterator):
1014 Add initialization for _M_has_m1.
1015 * include/bits/regex.tcc (regex_token_iterator<>::operator=): Add return
1018 2013-10-15 Diego Novillo <dnovillo@google.com>
1020 * testsuite/20_util/exchange/1.cc: Add missing function
1023 2013-10-15 Tim Shen <timshen91@gmail.com>
1026 * include/bits/regex_automaton.h (_Automaton<>::~_Automaton): Fix memory
1028 * include/bits/regex_executor.h (_Executor<>::~_Executor): Likewise.
1030 2013-10-11 H.J. Lu <hongjiu.lu@intel.com>
1032 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
1034 2013-10-10 Marcus Shawcroft <marcus.shawcroft@arm.com>
1036 * testsuite/29_atomics/atomic/cons/49445.cc
1037 (dg-require-atomic-builtins): Add.
1039 2013-10-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1041 * testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of
1044 2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
1046 * testsuite/20_util/shared_ptr/cons/58659.cc: Use __builtin_abort().
1048 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1050 * testsuite/*: Remove stray semi-colons after function definitions.
1052 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1055 * include/bits/shared_ptr_base.h (__shared_count::__shared_count(P,D)):
1056 Delegate to constructor taking allocator.
1057 (__shared_count::_S_create_from_up): Inline into ...
1058 (__shared_count::__shared_count(unique_ptr<Y,D>&&): Here. Use
1059 std::conditional instead of constrained overloads. Allocate memory
1060 using the allocator type that will be used for deallocation.
1061 * testsuite/20_util/shared_ptr/cons/58659.cc: New.
1062 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust.
1064 2013-10-08 Tim Shen <timshen91@gmail.com>
1066 * include/bits/regex_executor.h: Add _TodoList class.
1067 * include/bits/regex_executor.tcc (_BFSExecutor<>::_M_main): Add
1068 _M_match_stack and _M_stack to make everything faster. Break if
1069 _M_stack is empty, to reduce unnecessary idling.
1070 * testsuite/performance/28_regex/split.cc: New.
1072 2013-10-06 Tim Shen <timshen91@gmail.com>
1074 * include/bits/regex.h: (regex_token_iterator<>::regex_token_iterator):
1076 * include/bits/regex.tcc: (regex_replace<>): Remove default parameter.
1078 2013-10-06 Tim Shen <timshen91@gmail.com>
1080 * include/bits/regex.h (__regex_algo_impl<>, regex_match<>,
1081 regex_search<>): New abstract function for regex_match and regex_search.
1082 * include/bits/regex.tcc (__regex_algo_impl<>): Implement.
1083 * include/bits/regex_executor.h
1084 (_Executor<>::_M_lookahead,
1085 _DFSExecutor<>::_M_clone,
1086 _BFSExecutor<>::_M_clone): Let _M_clone to choose which executor to
1088 * include/bits/regex_executor.tcc (__get_executor<>): Update the
1089 definition to support __policy.
1090 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: Use
1092 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: Same.
1093 * testsuite/28_regex/algorithms/regex_match/basic/string_01.cc: Same.
1094 * testsuite/28_regex/algorithms/regex_match/basic/string_range_00_03.cc:
1096 * testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc:
1098 * testsuite/28_regex/algorithms/regex_match/basic/string_range_02_03.cc:
1100 * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc: Same.
1101 * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc: Same.
1102 * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: Same.
1103 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
1105 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: Same.
1106 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
1108 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
1110 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: Same.
1111 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
1113 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
1115 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: Same.
1116 * testsuite/28_regex/algorithms/regex_match/extended/
1117 string_bracket_01.cc: Same.
1118 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
1120 * testsuite/28_regex/algorithms/regex_match/extended/
1121 string_questionmark.cc: Same.
1122 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
1124 * testsuite/28_regex/algorithms/regex_match/extended/string_any.cc:
1126 * testsuite/28_regex/algorithms/regex_match/extended/
1127 string_dispatch_01.cc: Same.
1128 * testsuite/28_regex/algorithms/regex_match/extended/
1129 string_range_00_03.cc: Same.
1130 * testsuite/28_regex/algorithms/regex_match/extended/
1131 string_range_01_03.cc: Same.
1132 * testsuite/28_regex/algorithms/regex_match/extended/
1133 string_range_02_03.cc: Same.
1134 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
1136 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: Same.
1137 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: Same.
1138 * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: Same.
1139 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Same.
1140 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: Same.
1141 * testsuite/28_regex/match_results/format.cc: Same.
1142 * testsuite/util/testsuite_regex.h
1143 (regex_match_debug<>, regex_search_debug<>): Implement.
1145 2013-10-06 Oleg Endo <olegendo@gcc.gnu.org>
1146 Paolo Carlini <paolo.carlini@oracle.com>
1149 * include/c_global/cmath (signbit): Use __builtin_signbitf and
1152 2013-10-03 Tim Shen <timshen91@gmail.com>
1154 * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs): Fix wrong
1155 backup variable initialization.
1157 2013-10-03 John Woolverton <jdwoolverton@gmail.com>
1160 * include/std/vector: Fix garbled line in HP Copyright.
1162 2013-10-03 Marc Glisse <marc.glisse@inria.fr>
1164 * libsupc++/del_op.cc (operator delete): Don't test for 0 before free.
1165 * libsupc++/del_opnt.cc (free): Only declare if freestanding.
1166 (operator delete): Qualify free with std::.
1168 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1169 Daniel Krugler <daniel.kruegler@gmail.com>
1172 * include/std/functional (function::_CheckResult): Move to namespace
1173 scope and rename to __check_func_return_type.
1174 * testsuite/20_util/function/58569.cc: New.
1176 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1179 * include/bits/shared_ptr_base.h
1180 (_Sp_counted_ptr_inplace::_M_get_deleter()): Cast away cv-quals.
1181 * testsuite/20_util/shared_ptr/creation/58594.cc: New.
1183 2013-10-02 Tim Shen <timshen91@gmail.com>
1185 * include/bits/regex_compiler.h
1186 (_BracketMatcher<>::_M_add_equivalence_class): Implement it correctly.
1187 * include/bits/regex_compiler.tcc (_BracketMatcher<>::operator()):
1188 Add _M_equiv_set support.
1189 * testsuite/28_regex/algorithms/regex_match/extended/
1190 cstring_bracket_01.cc: Add new "[[=a=]]" testcase.
1192 2013-10-01 Tim Shen <timshen91@gmail.com>
1194 * doc/xml/manual/status_cxx2011.xml: Change "is not implemented" to
1195 "is not correctly implemented".
1197 2013-10-01 Tim Shen <timshen91@gmail.com>
1199 * doc/xml/manual/status_cxx2011.xml: Update regex status.
1200 * include/bits/regex.h (match_results<>::begin,
1201 match_results<>::cbegin, match_results<>::end, match_results<>::cend):
1202 [28.10.3.13], [28.10.3.14] Always iterate the range [0, size()-2).
1204 2013-10-01 François Dumont <fdumont@gcc.gnu.org>
1206 * include/parallel/algobase.h (mismatch, equal): Provide parallel
1207 version for N3671 overloads.
1209 2013-10-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1211 * src/c++11/snprintf_lite.cc: Add missing
1212 _GLIBCXX_{BEGIN,END}_NAMESPACE_VERSION
1214 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1216 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Also check for
1217 _Unwind_SjLj_Register when deciding if to set enable_sjlj_exceptions.
1218 * configure: Regenerate.
1220 2013-10-01 Tim Shen <timshen91@gmail.com>
1223 * include/bits/regex_automaton.tcc (_NFA<>::_M_eliminate_dummy)
1224 (_StateSeq<>::_M_clone): Add _S_opcode_subexpr_lookahead branch.
1225 * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: New.
1227 2013-09-30 Paolo Carlini <paolo.carlini@oracle.com>
1229 * include/parallel/algo.h (__find_switch): Use __binder2nd.
1231 2013-09-30 Chris Jefferson <chris@bubblescope.net>
1234 * include/bits/stl_algo.h (__move_median_first): Rename to
1235 __move_median_to_first, change to take an addition argument.
1236 (__unguarded_partition_pivot): Adjust.
1237 * testsuite/performance/25_algorithms/sort.cc: New.
1238 * testsuite/performance/25_algorithms/sort_heap.cc: Likewise.
1239 * testsuite/performance/25_algorithms/stable_sort.cc: Likewise.
1241 2013-09-28 François Dumont <fdumont@gcc.gnu.org>
1243 * include/bits/stl_algo.h (remove_copy, remove_copy_if): Declare
1245 (rotate_copy, stable_partition, partial_sort_copy): Likewise.
1246 (lower_bound, upper_bound, equal_range, inplace_merge): Likewise.
1247 (includes, next_permutation, prev_permutation): Likewise.
1248 (replace_copy, replace_copy_if, is_sorted_until): Likewise.
1249 (minmax_element, is_permutation, adjacent_find): Likewise.
1250 (count, count_if, search, search_n, merge): Likewise.
1251 (set_intersection, set_difference): Likewise.
1252 (set_symmetric_difference, min_element, max_element): Likewise.
1253 * include/bits/stl_algobase.h (lower_bound): Likewise.
1254 (lexicographical_compare, mismatch): Likewise.
1256 2013-09-28 Tim Shen <timshen91@gmail.com>
1258 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_posix):
1259 Let ordinary char escaping in POSIX be valid.
1260 * testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Test this
1263 2013-09-27 François Dumont <fdumont@gcc.gnu.org>
1265 * include/bits/predefined_ops.h: New.
1266 * include/bits/stl_heap.h: Include <bits/predefined_ops.h>.
1267 (__is_heap_until, __push_heap, __adjust_heap, __pop_heap): Remove
1271 (make_heap): Adapt to use latter.
1273 (sort_heap): Adapt to use latter.
1274 * include/bits/algobase.h: Include <bits/predefined_ops.h>.
1275 (__lexicographical_compare_impl): New.
1276 (__lexicographical_compare<false>::__lc): Adapt to use latter.
1277 (lexicographical_compare): Likewise.
1278 (__lower_bound): New.
1279 (lower_bound): Adapt to use latter.
1280 (equal): Use _GLIBCXX_STD_A::equal in N3671 overloads.
1282 (mismatch): Use latter.
1283 * include/bits/algo.h: Include <bits/predefined_ops.h>. Remove
1284 <functional> include.
1285 (__move_median_first, __find, __find_if, __find_if_not): Remove
1287 (__find_end): Likewise.
1288 (__search_n): Rename into ...
1289 (__search_n_aux): ... this.
1290 (__search_n): Renew, use latter.
1291 (search_n): Use latter.
1293 (search): Use latter.
1294 (__find_end): Likewise.
1295 (__remove_copy_if): New.
1296 (remove_copy): Use latter.
1297 (__adjacent_find): New.
1298 (adjacent_find): Use latter.
1300 (unique): Use latter.
1301 (__unique_copy): Remove algo duplication.
1302 (__stable_partition): New.
1303 (stable_partition): Use latter.
1304 (__heap_select): Remove algo duplication, use __make_heap.
1305 (__partial_sort): New, use latter.
1306 (partial_sort): Use latter.
1307 (__partial_sort_copy): New.
1308 (partial_sort_copy): Use latter.
1309 (__unguarded_linear_insert, __insertion_sort): Remove algo
1311 (__unguarded_insertion_sort, __final_insertion_sort): Likewise.
1312 (__unguarded_partition, __unguarded_partition_pivot): Likewise.
1313 (__partial_sort): New.
1314 (partial_sort): Use latter.
1317 (lower_bound): Use __lower_bound.
1318 (__upper_bound): New.
1319 (upper_bound): Use latter.
1320 (__equal_range): New.
1321 (equal_range): Use latter.
1322 (__move_merge_adaptive, __move_merge_adaptive_backward): Remove
1324 (__merge_adaptive, __merge_without_buffer): Likewise.
1325 (__inplace_merge): New.
1326 (inplace_merge): Use latter.
1327 (__move_merge, __merge_sort_loop, __chunk_insertion_sort): Remove
1329 (__merge_sort_with_buffer, __stable_sort_adaptive): Likewise.
1330 (__inplace_stable_sort): Likewise.
1332 (includes): Use latter.
1333 (__next_permutation): New.
1334 (next_permutation): Use latter.
1335 (__prev_permutation): New.
1336 (prev_permutation): Use latter.
1337 (__replace_copy_if): New.
1338 (replace_copy): Use latter.
1339 (__is_sorted_until): New.
1340 (is_sorted_unitl): Use latter.
1341 (__minmax_element): New.
1342 (minmax_element): Use latter.
1343 (__is_permutation): New.
1344 (is_permutation): Use latter.
1345 (__adjacent_find): New.
1346 (adjacent_find): Use latter.
1348 (count): Use latter.
1349 (count_if): Likewise.
1351 (merge): Use latter.
1352 (__stable_sort): New.
1353 (stable_sort): Use latter.
1355 (set_union): Use latter.
1356 (__set_intersection): New.
1357 (set_intersection): Use latter.
1358 (__set_difference): New.
1359 (set_difference): Use latter.
1360 (__set_symmetric_difference): New.
1361 (set_symmetric_difference): Use latter.
1362 (__min_element): New.
1363 (min_element): Use latter.
1364 (__max_element): New.
1365 (max_element): Use latter.
1366 * include/Makefile.am: Add predefined_ops.h.
1367 * include/Makefile.in: Regenerate.
1368 * include/parallel/algobase.h (equal, mismatch): Add overloads
1370 * testsuite/25_algorithms/is_permutation/vectorbool.cc: New.
1371 * testsuite/25_algorithms/adjacent_find/vectorbool.cc: Likewise.
1372 * testsuite/25_algorithms/find/vectorbool.cc: Likewise.
1373 * testsuite/25_algorithms/find_if/vectorbool.cc: Likewise.
1374 * testsuite/25_algorithms/find_first_of/vectorbool.cc: Likewise.
1375 * testsuite/25_algorithms/heap/vectorbool.cc: Likewise.
1376 * testsuite/25_algorithms/find_end/vectorbool.cc: Likewise.
1377 * testsuite/25_algorithms/find_if_not/vectorbool.cc: Likewise.
1379 2013-09-27 Jonathan Wakely <jwakely.gcc@gmail.com>
1382 * include/std/functional
1383 (_Function_base::_Base_manager::_M_not_empty_function): Fix overload
1385 * testsuite/20_util/function/cons/57465.cc: New.
1387 2013-09-26 Tim Shen <timshen91@gmail.com>
1389 * regex_error.h: Remove _S_error_last to follow the standard.
1390 * regex_scanner.tcc:
1391 (_Scanner<_FwdIter>::_M_scan_in_brace): Change error_brace to
1393 (_Scanner<>::_M_eat_escape_posix): Extended doesn't support
1395 * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc:
1396 Move here from ../../extended.
1397 * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc:
1400 2013-09-25 Marc Glisse <marc.glisse@inria.fr>
1403 * include/bits/forward_list.h (_Fwd_list_node_base::_M_transfer_after):
1405 (_Fwd_list_iterator) [_Fwd_list_iterator, operator*, operator->,
1406 operator++, operator==, operator!=, _M_next]: Likewise.
1407 (_Fwd_list_const_iterator) [_Fwd_list_const_iterator, operator*,
1408 operator->, operator++, operator==, operator!=, _M_next]: Likewise.
1409 (operator==(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&),
1410 operator!=(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&)):
1412 * include/bits/hashtable_policy.h (_Hash_node_base::_Hash_node_base,
1413 _Hash_node::_M_next, _Node_iterator_base::_Node_iterator_base,
1414 _Node_iterator_base::_M_incr, operator==(const _Node_iterator_base&,
1415 const _Node_iterator_base&), operator!=(const _Node_iterator_base&,
1416 const _Node_iterator_base&)): Likewise.
1417 (_Node_iterator) [_Node_iterator, operator*, operator->, operator++]:
1419 (_Node_const_iterator) [_Node_const_iterator, operator*, operator->,
1420 operator++]: Likewise.
1421 * include/debug/safe_iterator.h (_Safe_iterator) [_Safe_iterator,
1422 operator=, operator*, operator->, operator++, operator--, operator[],
1423 operator+=, operator+, operator-=, operator-, base, operator _Iterator]:
1425 (operator==(const _Safe_iterator&, const _Safe_iterator&),
1426 operator!=(const _Safe_iterator&, const _Safe_iterator&),
1427 operator<(const _Safe_iterator&, const _Safe_iterator&),
1428 operator<=(const _Safe_iterator&, const _Safe_iterator&),
1429 operator>(const _Safe_iterator&, const _Safe_iterator&),
1430 operator>=(const _Safe_iterator&, const _Safe_iterator&),
1431 operator-(const _Safe_iterator&, const _Safe_iterator&),
1432 operator+(difference_type, const _Safe_iterator&)): Likewise.
1433 * include/profile/iterator_tracker.h (__iterator_tracker)
1434 [__iterator_tracker, base, operator _Iterator, operator->, operator++,
1435 operator--, operator=, operator*, operator[], operator+=, operator+,
1436 operator-=, operator-]: Likewise.
1437 (operator==(const __iterator_tracker&, const __iterator_tracker&),
1438 operator!=(const __iterator_tracker&, const __iterator_tracker&),
1439 operator<(const __iterator_tracker&, const __iterator_tracker&),
1440 operator<=(const __iterator_tracker&, const __iterator_tracker&),
1441 operator>(const __iterator_tracker&, const __iterator_tracker&),
1442 operator>=(const __iterator_tracker&, const __iterator_tracker&),
1443 operator-(const __iterator_tracker&, const __iterator_tracker&),
1444 operator+(difference_type, const __iterator_tracker&)): Likewise.
1446 2013-09-24 Marc Glisse <marc.glisse@inria.fr>
1450 * include/bits/basic_string.h (basic_string)
1451 [basic_string(basic_string&&)]: Make the noexcept conditional.
1452 [operator=(basic_string&&), assign(basic_string&&)]: Link to PR 58265.
1453 [begin(), end(), rbegin(), rend(), clear]: Remove noexcept.
1454 [pop_back]: Comment on the lack of noexcept.
1455 * include/debug/string (basic_string) [basic_string(const _Allocator&),
1456 basic_string(basic_string&&), begin(), end(), rbegin(), rend(), clear,
1457 operator[](size_type), pop_back]: Comment out noexcept, until vstring
1458 replaces basic_string.
1460 2013-09-24 Tim Shen <timshen91@gmail.com>
1462 * include/Makefile.am: Add regex.tcc.
1463 * include/Makefile.in: Regenerate.
1464 * include/bits/regex.h: Remove definitions to regex.tcc.
1465 * include/bits/regex.tcc: New.
1466 (match_results::format, regex_replace): Implement;
1467 * include/bits/regex_compiler.h: Move _M_flags to the top of class
1468 member list, because other members' initialization depend on it.
1469 * include/bits/regex_compiler.tcc
1470 (_Compiler<>::_Compiler): Adjust member initializations.
1471 (_Compiler<>::_M_quantifier): Fix ungreedy interval quantifier.
1472 * include/bits/regex_executor.h: Remove _RegexT from _*Executor classes.
1473 In the future, all regex classes may refactor to *Impl style.
1474 * include/bits/regex_executor.tcc (_Executor::_M_set_results):
1475 Merge identical code from _*Executor classes.
1476 * testsuite/28_regex/algorithms/regex_match/extended/
1477 string_dispatch_01.cc (fake_match<>): Adjust the hacking-style testcase
1478 caller for new __get_executors interface.
1479 * testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc:
1481 * testsuite/28_regex/match_results/format.cc: New.
1482 * testsuite/28_regex/traits/char/lookup_collatename.cc: Remove digraph
1484 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: Likewise.
1486 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com>
1488 * src/c++11/snprintf_lite.cc (__concat_size_t): Use
1489 unsigned long long conditionally.
1491 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com>
1493 * src/c++11/snprintf_lite.cc (__concat_size_t): Use only
1494 std::__int_to_char<unsigned long long>()
1496 2013-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
1498 * include/bits/functexcept.h (__throw_out_of_range_fmt): New.
1499 * src/c++11/functexcept.cc (__throw_out_of_range_fmt): New.
1500 * src/c++11/snprintf_lite.cc: New.
1501 * src/c++11/Makefile.am: Add snprintf_lite.cc.
1502 * src/c++11/Makefile.in: Regenerate.
1503 * config/abi/pre/gnu.ver: Add _ZSt24__throw_out_of_range_fmtPKcz.
1504 * include/std/array (at): Use __throw_out_of_range_fmt.
1505 * include/debug/array (at): Likewise.
1506 * include/profile/array (at): Likewise.
1507 * include/std/bitset (_M_check_initial_position, _M_check): New.
1508 (bitset::bitset): Use _M_check_initial_position.
1509 (set, reset, flip, test): Use _M_check.
1510 * include/ext/vstring.h (_M_check, at): Use __throw_out_of_range_fmt.
1511 * include/bits/stl_vector.h (_M_range_check): Likewise.
1512 * include/bits/stl_bvector.h (_M_range_check): Likewise.
1513 * include/bits/stl_deque.h (_M_range_check): Likewise.
1514 * include/bits/basic_string.h (_M_check, at): Likewise.
1515 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust.
1516 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
1517 * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc:
1519 * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc:
1521 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Likewise.
1522 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
1523 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1525 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1527 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise.
1528 * testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc:
1530 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Likewise.
1531 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Likewise.
1532 * testsuite/util/exception/safety.h (generate): Use __throw_out_of_range_fmt.
1534 2013-09-20 Jakub Jelinek <jakub@redhat.com>
1537 * testsuite/lib/libstdc++.exp (libstdc++_init): Prepend
1538 -fdiagnostics-color=never to cxxflags.
1540 2013-09-20 Marc Glisse <marc.glisse@inria.fr>
1543 * include/bits/allocator.h (__alloc_swap::_S_do_it,
1544 __shrink_to_fit_aux::_S_do_it): Mark as noexcept.
1545 * include/bits/basic_string.h (basic_string::_Rep) [_S_empty_rep,
1546 _M_is_leaked, _M_is_shared, _M_set_leaked, _M_set_sharable,
1547 _M_set_length_and_sharable, _M_dispose]: Likewise.
1548 (basic_string::_Alloc_hider::_Alloc_hider): Likewise.
1549 (basic_string) [_M_data, _M_rep, _M_ibegin, _M_iend, _M_limit,
1550 _M_disjunct, _M_copy, _M_move, _M_assign, _S_copy_chars, _S_compare,
1551 _S_empty_rep, shrink_to_fit, operator[] const, front const, back const]:
1553 [clear]: Link to PR 56166.
1554 [swap]: Link to PR 58265.
1555 * include/bits/stl_deque.h (_Deque_iterator) [_S_buffer_size,
1556 _Deque_iterator, _M_const_cast, operator*, operator->, operator++,
1557 operator--, operator+=, operator+, operator-=, operator-, operator[],
1558 _M_set_node]: Mark as noexcept.
1559 (operator==(const _Deque_iterator&, const _Deque_iterator&),
1560 operator!=(const _Deque_iterator&, const _Deque_iterator&),
1561 operator<(const _Deque_iterator&, const _Deque_iterator&),
1562 operator>(const _Deque_iterator&, const _Deque_iterator&),
1563 operator<=(const _Deque_iterator&, const _Deque_iterator&),
1564 operator>=(const _Deque_iterator&, const _Deque_iterator&),
1565 operator-(const _Deque_iterator&, const _Deque_iterator&),
1566 operator+(ptrdiff_t, const _Deque_iterator&)): Likewise.
1567 (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to
1569 [~_Deque_base, _M_deallocate_node, _M_deallocate_map, _M_destroy_nodes]:
1571 (_Deque_base::_Deque_impl) [_Deque_impl(const _Tp_alloc_type&),
1572 _Deque_impl(_Tp_alloc_type&&)]: Likewise.
1573 (deque) [_S_buffer_size, operator=(deque&&), shrink_to_fit, operator[],
1574 front, back, pop_front, pop_back, swap]: Likewise.
1575 [deque(), deque(const allocator_type&)]: Merge.
1576 * include/debug/deque (deque) [operator=(deque&&), shrink_to_fit,
1577 operator[], front, back, pop_front, pop_back, swap]: Mark as noexcept.
1578 * include/profile/deque (deque) [operator=(deque&&), operator[], front,
1579 back, pop_front, pop_back, swap]: Likewise.
1580 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1582 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1584 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1586 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1589 2013-09-20 Alan Modra <amodra@gmail.com>
1591 * configure: Regenerate.
1593 2013-09-19 Marc Glisse <marc.glisse@inria.fr>
1596 * include/bits/stl_tree.h (_Rb_tree_node_base) [_S_minimum, _S_maximum]:
1598 (_Rb_tree_iterator) [_Rb_tree_iterator, operator*, operator->,
1599 operator++, operator--, operator==, operator!=]: Likewise.
1600 (_Rb_tree_const_iterator) [_Rb_tree_const_iterator, _M_const_cast,
1601 operator*, operator->, operator++, operator--, operator==, operator!=]:
1603 (operator==(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&),
1604 operator!=(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&)):
1606 (_Rb_tree) [_M_put_node, _M_destroy_node, _M_root, _M_leftmost,
1607 _M_rightmost, _M_begin, _M_end, _S_left, _S_right, _S_minimum,
1608 _S_maximum]: Likewise.
1609 * include/debug/string (basic_string) [basic_string(const _Allocator&),
1610 shrink_to_fit, operator[], pop_back]: Likewise.
1611 * include/ext/vstring.h (__versa_string) [_M_limit, _M_disjunct,
1612 _M_ibegin, _M_iend, __versa_string(const _Alloc&),
1613 operator=(__versa_string&&), shrink_to_fit, operator[], front,
1614 back, assign(__versa_string&&), swap]: Likewise.
1615 (__versa_string) [__versa_string(), __versa_string(const _Alloc&)]:
1618 2013-09-18 Marc Glisse <marc.glisse@inria.fr>
1621 * include/bits/stl_iterator.h (__normal_iterator) [__normal_iterator,
1622 _M_const_cast, operator*, operator->, operator++, operator--,
1623 operator[], operator+=, operator+, operator-=, operator-, base]:
1625 (operator==(const __normal_iterator&, const __normal_iterator&),
1626 operator!=(const __normal_iterator&, const __normal_iterator&),
1627 operator<(const __normal_iterator&, const __normal_iterator&),
1628 operator>(const __normal_iterator&, const __normal_iterator&),
1629 operator<=(const __normal_iterator&, const __normal_iterator&),
1630 operator>=(const __normal_iterator&, const __normal_iterator&),
1631 operator-(const __normal_iterator&, const __normal_iterator&),
1632 operator+(difference_type, const __normal_iterator&)): Likewise.
1633 * include/bits/stl_list.h (list) [splice, _M_check_equal_allocators]:
1635 (list::_M_check_equal_allocators): Abort instead of throwing.
1636 * include/debug/array (array) [operator[], front, back]: Mark as
1638 * include/profile/array (array) [operator[], front, back]: Likewise.
1639 * include/std/array (array) [operator[], front, back]: Likewise.
1640 * include/debug/list (list::splice): Likewise.
1641 * include/profile/list (list::splice): Likewise.
1642 * testsuite/23_containers/list/operations/5.cc: Remove file.
1643 * testsuite/23_containers/list/operations/5.h: Likewise.
1645 2013-09-18 Tim Shen <timshen91@gmail.com>
1647 * include/bits/regex.h: Add friend classes.
1648 (match_results<>::position, regex_iterator<>::operator++):
1649 Implement position specification in regex_iterator.
1650 (regex_match<>, regex_search<>):
1651 Move match_results initializations to these function. Remove `todo`.
1652 * include/bits/regex_compiler.tcc:
1653 (_Compiler<>::_M_quantifier): Fix greedy/ungreedy of interval matching.
1654 * include/bits/regex_constants.h:
1655 Fix indentation. Change match_flag_type to enum type.
1656 * include/bits/regex_executor.h:
1657 Merge identical code to the base class _Executor.
1658 Support flags in regex_constants.
1659 * include/bits/regex_executor.tcc: Likewise.
1660 * include/bits/regex_scanner.h: Add comments.
1661 * include/bits/regex_scanner.tcc: Same.
1662 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc:
1664 * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: New.
1665 * testsuite/28_regex/iterators/regex_iterator/char/
1666 string_position_01.cc: Remove `xfail`.
1667 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc:
1668 Remove `xfail` and make the case really work.
1670 2013-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1672 * testsuite/performance/25_algorithms/search_n.cc: Fix typo.
1674 2013-09-18 Marc Glisse <marc.glisse@inria.fr>
1677 * include/bits/list.tcc (_List_base::_M_clear, list::erase): Mark as
1679 * include/bits/stl_list.h (_List_iterator) [_List_iterator,
1680 _M_const_cast, operator*, operator->, operator++, operator--,
1681 operator==, operator!=]: Likewise.
1682 (_List_const_iterator) [_List_const_iterator, _M_const_cast, operator*,
1683 operator->, operator++, operator--, operator==, operator!=]: Likewise.
1684 (operator==(const _List_iterator&, const _List_const_iterator&),
1685 operator!=(const _List_iterator&, const _List_const_iterator&)):
1687 (_List_impl) [_List_impl(const _Node_alloc_type&),
1688 _List_impl(_Node_alloc_type&&)]: Likewise.
1689 (_List_base) [_M_put_node, _List_base(const _Node_alloc_type&),
1690 _List_base(_List_base&&), _M_clear, _M_init]: Likewise.
1691 (list) [list(), list(const allocator_type&)]: Merge.
1692 (list) [list(const allocator_type&), front, back, pop_front, pop_back,
1693 erase, _M_erase]: Mark as noexcept.
1694 * include/debug/list (list) [list(const _Allocator&), front, back,
1695 pop_front, pop_back, _M_erase, erase]: Likewise.
1696 * include/profile/list (list) [list(const _Allocator&), front, back,
1697 pop_front, pop_back, erase]: Likewise.
1698 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1700 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1702 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1704 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1707 2013-09-17 Marc Glisse <marc.glisse@inria.fr>
1710 * include/bits/stl_vector.h (vector::vector(),
1711 vector::vector(const allocator_type&)): Merge.
1712 (_Vector_impl::_Vector_impl(_Tp_alloc_type const&),
1713 _Vector_impl::_Vector_impl(_Tp_alloc_type&&),
1714 _Vector_impl::_M_swap_data,
1715 _Vector_base::_Vector_base(const allocator_type&),
1716 _Vector_base::_Vector_base(allocator_type&&),
1717 _Vector_base::_Vector_base(_Vector_base&&), _Vector_base::~_Vector_base,
1718 vector::vector(const allocator_type&), vector::operator[],
1719 vector::operator[] const, vector::front, vector::front const,
1720 vector::back, vector::back const, vector::pop_back,
1721 vector::_M_erase_at_end): Mark as noexcept.
1722 * include/debug/vector (vector::vector(const _Allocator&),
1723 vector::operator[], vector::operator[] const, vector::front,
1724 vector::front const, vector::back, vector::back const, vector::pop_back,
1725 _M_requires_reallocation, _M_update_guaranteed_capacity,
1726 _M_invalidate_after_nth): Mark as noexcept.
1727 * include/profile/vector (vector::vector(const _Allocator&),
1728 vector::operator[], vector::operator[] const, vector::front,
1729 vector::front const, vector::back, vector::back const): Mark as
1731 (vector::vector(vector&&, const _Allocator&)): Remove wrong noexcept.
1732 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1734 * testsuite/23_containers/vector/requirements/dr438/
1735 constructor_1_neg.cc: Likewise.
1736 * testsuite/23_containers/vector/requirements/dr438/
1737 constructor_2_neg.cc: Likewise.
1738 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1741 2013-09-14 Tim Shen <timshen91@gmail.com>
1743 * include/bits/regex.h (regex_match<>, regex_search<>):
1744 Change regex_executor caller. Now use their return value instead
1745 of checking __m[0].matched to find out if it's successful.
1746 (regex_search<>): Move the search logic to regex_executor.
1747 * include/bits/regex_automaton.h: Add some new _Opcode. Refactor
1749 * include/bits/regex_automaton.tcc: Add DEBUG dump for new
1750 _Opcode. Refactor _NFA::_M_insert_*.
1751 * include/bits/regex_compiler.h (_Compiler<>::_M_get_nfa):
1752 Use make_shared instead of construct by hand.
1753 * include/bits/regex_compiler.tcc: Implement _Compiler<>::_M_assertion.
1754 * include/bits/regex_constants.h: Fix indentation and line breaking.
1755 * include/bits/regex_executor.h: Add _ResultsEntry to support
1756 greedy/ungreedy mode. Move regex_search logic here.
1757 * include/bits/regex_executor.tcc: Implement assertions and
1758 greedy/ungreedy matching.
1759 * include/bits/regex_scanner.h: Add a new token _S_token_ungreedy.
1760 * include/bits/regex_scanner.tcc: Parse a new token _S_token_ungreedy.
1761 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: New.
1762 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: New.
1763 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc:
1766 2013-09-13 Paolo Carlini <paolo.carlini@oracle.com>
1769 * include/ext/sso_string_base.h (__sso_string_base<>::
1770 __sso_string_base(__sso_string_base&&)): Fix thinkos about
1771 _M_length vs _M_set_length.
1772 * testsuite/ext/vstring/cons/58415-1.cc: New.
1773 * testsuite/ext/vstring/cons/58415-2.cc: Likewise.
1775 2013-09-12 Paolo Carlini <paolo.carlini@oracle.com>
1778 * include/bits/stl_iterator.h (__normal_iterator<>::operator[],
1779 operator+=, operator+, operator-=, operator-): Take the argument
1781 * testsuite/24_iterators/normal_iterator/58403.cc: New.
1783 2013-09-11 Mitsuru Kariya <kariya_mitsuru@hotmail.com>
1784 Chris Jefferson <chris@bubblescope.net>
1787 * include/bits/stl_algo.h (search_n): Fix to guarantee a number
1788 of comparisons <= number of elements in the range.
1789 * testsuite/25_algorithms/search_n/58358.cc: New.
1790 * testsuite/25_algorithms/search_n/iterator.cc: Extend.
1792 2013-09-10 Ed Smith-Rowland <3dw4rd@verizon.net>
1794 * testsuite/28_regex/traits/wchar_t/value.cc: Change template args
1795 from char to wchar_t, literals from 'x' to L'x'.
1797 2013-09-10 Kai Tietz <ktietz@redhat.com>
1800 * config/abi/pre/gnu-versioned-namespace.ver: Add thunk _ZTv0_n12_NS*
1803 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1806 * include/bits/stl_algobase.h (copy_backward): Fix documentation
1809 2013-09-05 Tim Shen <timshen91@gmail.com>
1811 * include/bits/regex_automaton.h: Add dummy node type. Rewrite
1813 * include/bits/regex_automaton.tcc: Implement them.
1814 * include/bits/regex_compiler.h: Rewrite _Compiler to use new
1815 _StateSeq interfaces.
1816 * include/bits/regex_compiler.tcc: Implement them.
1817 * include/bits/regex_scanner.h: Add word boundry assertion token.
1818 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_ecma):
1819 Support word boundry.
1820 * testsuite/28_regex/algorithms/regex_match/basic/
1821 string_range_02_03.cc: Remove "xfail".
1822 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
1824 * testsuite/28_regex/algorithms/regex_match/extended/
1825 string_range_02_03.cc: Likewise.
1826 * testsuite/28_regex/algorithms/regex_match/extended/
1827 cstring_questionmark.cc: Remove xfail and get correct length of
1829 * testsuite/28_regex/algorithms/regex_match/extended/
1830 string_range_00_03.cc: Likewise.
1831 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
1833 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
1835 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc: New.
1837 2013-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1840 * include/bits/random.tcc (negative_binomial_distribution<>::
1841 operator()(_UniformRandomNumberGenerator&, const param_type&)):
1842 Fix typo in template argument.
1843 * testsuite/26_numerics/random/negative_binomial_distribution/
1844 operators/58302.cc: New.
1846 2013-09-02 Tim Shen <timshen91@gmail.com>
1848 * regex_automaton.h: Rearrange _NFA's layout.
1849 * include/bits/regex_compiler.h: Add _AnyMatcher and _CharMatcher.
1850 Rearrange _BracketMatcher's layout.
1851 (_BracketMatcher<>::_M_add_char): Use set instead of vector for
1853 (_BracketMatcher<>::_M_add_collating_element): Likewise.
1854 (_BracketMatcher<>::_M_make_range): Likewise.
1855 * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom): Use
1856 appropriate constructors of matchers above.
1857 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
1859 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: New.
1860 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
1862 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
1864 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: New.
1865 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
1867 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: New.
1869 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
1872 * include/debug/functions.h (__foreign_iterator_aux4): Use
1873 sequence const_pointer as common type to compare pointers. Add a
1874 fallback overload in case pointers cannot be cast to sequence
1876 * testsuite/23_containers/vector/modifiers/insert/58148.cc: New.
1878 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
1881 * include/debug/macros.h (__glibcxx_check_partitioned_lower): Add
1882 __gnu_debug::__base calls on iterators passed to internal debug
1884 (__glibcxx_check_partitioned_lower_pred): Likewise.
1885 (__glibcxx_check_partitioned_upper): Likewise.
1886 (__glibcxx_check_partitioned_upper_pred): Likewise.
1887 (__glibcxx_check_sorted): Likewise.
1888 (__glibcxx_check_sorted_pred): Likewise.
1889 (__glibcxx_check_sorted_set): Likewise.
1890 (__glibcxx_check_sorted_set_pred): Likewise.
1891 * include/debug/functions.h (__check_partitioned_lower):
1892 Remove code to detect safe iterators.
1893 (__check_partitioned_upper): Likewise.
1894 (__check_sorted): Likewise.
1896 2013-08-29 Tim Shen <timshen91@gmail.com>
1898 * include/bits/regex.h (basic_regex<>::assign): Don't lose _M_traits.
1899 (regex_iterator<>::regex_iterator): Return nullptr when regex_search
1901 (regex_token_iterator<>::_M_end_of_seq): Should be defined true when
1902 _M_result is(not isn't) nullptr.
1903 * include/bits/regex_compiler.h: Store _Compiler::_M_traits by reference
1904 instead of by value.
1905 * include/bits/regex_executor.h (_DFSExecutor<>::_DFSExecutor): Add
1906 _M_traits to _DFSExecutor.
1907 * include/bits/regex_executor.tcc (__get_executor<>): Pass traits to
1909 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
1911 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
1914 2013-08-26 Tim Shen <timshen91@gmail.com>
1916 * include/Makefile.am: Add regex_scanner.{h,tcc}.
1917 * include/Makefile.in: Regenerate.
1918 * include/bits/regex.h (match_search): Handle the `__first == __last`
1919 situation correctly.
1920 * include/bits/regex_compiler.h: Move _Scanner...
1921 * include/bits/regex_scanner.h: ...to here. New.
1922 * include/bits/regex_compiler.tcc: Move _Scanner...
1923 * include/bits/regex_scanner.tcc: ...to here, too. New.
1924 * include/bits/regex_executor.tcc: Use value instead of reference for
1926 * include/std/regex: Add regex_scanner.h
1927 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: New.
1928 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: New.
1929 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_hex.cc: New.
1930 * testsuite/28_regex/algorithms/regex_match/ecma/empty_range.cc: New.
1931 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: New.
1933 2013-08-22 Tim Shen <timshen91@gmail.com>
1935 * include/bits/regex.h: Replace 8 spaces in indentation with a tab.
1936 * include/bits/regex_automaton.h: Same.
1937 * include/bits/regex_automaton.tcc: Same.
1938 * include/bits/regex_compiler.h: Same.
1939 * include/bits/regex_compiler.tcc: Same.
1940 * include/bits/regex_constants.h: Same.
1941 * include/bits/regex_executor.h: Same.
1942 * include/bits/regex_executor.tcc: Same.
1944 2013-08-22 Tim Shen <timshen91@gmail.com>
1946 * include/bits/regex.h: Executor caller.
1947 * include/bits/regex_executor.h: Fix empty grouping problem.
1948 * include/bits/regex_executor.tcc: Same.
1949 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_emptygroup.cc:
1952 2013-08-20 Phil Muldoon <pmuldoon@redhat.com>
1955 http://sourceware.org/bugzilla/show_bug.cgi?id=15195
1957 * python/libstdcxx/v6/printers.py (Printer.__call__): If a value
1958 is a reference, fetch referenced value.
1959 (RxPrinter.invoke): Ditto.
1960 * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add -O0
1961 flag. Add referenced value tests.
1963 2013-08-20 Tim Shen <timshen91@gmail.com>
1965 * include/bits/regex_constants.h: Add underlying `unsigned int` for
1966 enum syntax_option_type.
1968 2013-08-18 Tim Shen <timshen91@gmail.com>
1970 * include/bits/regex_automaton.h: _S_opcode_backref.
1971 * include/bits/regex_automaton.tcc: Backref automaton support.
1972 * include/bits/regex_compiler.tcc: Parsing support.
1973 * include/bits/regex_executor.h: Add _M_traits for _DFSExecutor.
1974 * include/bits/regex_executor.tcc: Add _S_opcode_backref support.
1975 * testsuite/28_regex/algorithms/regex_match/ecma/string_backref.cc: New.
1977 2013-08-16 Tim Shen <timshen91@gmail.com>
1979 * include/bits/regex.h (regex_traits<>::transform_primary):
1980 Avoid past-the-end dereferences.
1982 2013-08-14 Paolo Carlini <paolo.carlini@oracle.com>
1985 * include/bits/basic_string.h (basic_string<>::operator[]): Fix
1986 _GLIBCXX_DEBUG_PEDASSERT check vs C++11.
1987 * include/ext/vstring.h: Likewise.
1988 * testsuite/21_strings/basic_string/element_access/char/58163.cc:
1990 * testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc:
1992 * testsuite/ext/vstring/element_access/char/58163.cc: Likewise.
1993 * testsuite/ext/vstring/element_access/wchar_t/58163.cc: Likewise.
1995 2013-08-14 Uros Bizjak <ubizjak@gmail.com>
1997 * src/c++98/compatibility.cc (_ZTIe): Use
1998 reinterpret_cast<const cast *> to avoid -Wcast-qual warnings.
2002 2013-08-09 Tim Shen <timshen91@gmail.com>
2004 * include/bits/regex_constants.h: Change syntax_option_type to enum
2007 2013-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2009 * include/bits/regex.h: Replace _A, _B, _C, _R by _Ap, _Bp, _Cp, _Rp.
2011 2013-08-08 François Dumont <fdumont@gcc.gnu.org>
2013 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
2014 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
2016 (_Before_begin<>): Remove.
2017 * include/bits/hashtable.h (_Hashtable): Inherit from
2018 _Hashtable_alloc and adapt. Restore _M_before_begin field.
2019 * src/c++11/hashtable_c++0x.cc: Add ext/alloc_traits.h include.
2020 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
2021 access to hashtable before begin.
2022 * testsuite/23_containers/unordered_set/
2023 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
2024 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
2027 2013-08-07 Tim Shen <timshen91@gmail.com>
2029 * include/Makefile.am: Adjust to new files.
2030 * include/Makefile.in: Regenerate.
2031 * include/bits/regex.h: Adjust to new interfaces.
2032 * include/bits/regex_automaton.h: New.
2033 * include/bits/regex_automaton.tcc: New.
2034 * include/bits/regex_compiler.h: Adjust to new files.
2035 * include/bits/regex_compiler.tcc: New.
2036 * include/bits/regex_constants.h: Tail spaces.
2037 * include/bits/regex_error.h: Likewise.
2038 * include/bits/regex_executor.h: New.
2039 * include/bits/regex_executor.tcc: New.
2040 * include/std/regex: Adjust to new files.
2041 * testsuite/28_regex/algorithms/regex_match/extended/
2042 string_dispatch_01.cc: Adjust to new interfaces.
2044 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
2046 * include/ext/atomicity.h: Add #pragma GCC system_header.
2048 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
2051 * include/bits/random.h (cauchy_distribution<>::min,
2052 extreme_value_distribution<>::min, normal_distribution<>::min,
2053 student_t_distribution<>::min): Fix.
2054 * include/ext/random (normal_mv_distribution<>::min): Likewise.
2055 * testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
2057 testsuite/26_numerics/random/cauchy_distribution/cons/default.cc:
2059 * testsuite/26_numerics/random/extreme_value_distribution/cons/
2061 testsuite/26_numerics/random/extreme_value_distribution/cons/
2062 default.cc: Likewise.
2063 * testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
2065 * testsuite/26_numerics/random/normal_distribution/cons/default.cc:
2067 * testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
2069 * testsuite/26_numerics/random/student_t_distribution/cons/default.cc:
2071 * testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
2072 * testsuite/ext/random/normal_mv_distribution/cons/default.cc: Likewise.
2074 * testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
2076 * testsuite/26_numerics/random/exponential_distribution/cons/default.cc:
2079 * testsuite/ext/von_mises_distribution/*: Move to...
2080 * testsuite/ext/random/von_mises_distribution/*: ... here.
2081 * testsuite/ext/triangular_distribution/*: Move to...
2082 * testsuite/ext/random/triangular_distribution/*: ... here.
2084 2013-08-06 Caroline Tice <cmtice@google.com>
2086 * fragment.am: Add XTEMPLATE_FLAGS.
2087 * configure.ac: Add definitions for --enable-vtable-verify.
2088 * acinclude.m4: Add --enable-vtable-verify and
2089 --disable-vtable-verify; define --enable-vtable-verify; define
2090 VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
2091 * config/abi/pre/gnu.ver: Export symbols for vtable verification.
2092 * libsupc++/Makefile.am: Define vtv_sources and add it to
2093 libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
2094 * libsupc++/vtv_stubs.cc: New file.
2095 * include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
2096 * src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
2097 VTV_CXXLINKFLAGS to CXXLINK.
2098 * src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
2099 to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
2100 * src/C++11/Makefile.am: Ditto.
2101 * doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
2102 * scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
2103 cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
2104 * testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
2105 libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
2106 cxxvtvflags to cxx_final.
2107 * testsuite/18_support/bad_exception/23591_thread-1.c: Add
2108 -fvtable-verify=none to compiler flags.
2109 * testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
2111 * configure: Regenerated.
2112 * Makefile.in: Regenerated.
2113 * python/Makefile.in: Regenerated.
2114 * include/Makefile.in: Regenerated.
2115 * libsupc++/Makefile.in: Regenerated.
2116 * config.h.in: Regenerated.
2117 * po/Makefile.in: Regenerated.
2118 * src/Makefile.in: Regenerated.
2119 * src/c++98/Makefile.in: Regenerated.
2120 * src/c++11/Makefile.in: Regenerated.
2121 * doc/Makefile.in: Regenerated.
2122 * testsuite/Makefile.in: Regenerated.
2124 2013-08-06 Paolo Carlini <paolo.carlini@oracle.com>
2126 Revert the last commit.
2128 2013-08-06 François Dumont <fdumont@gcc.gnu.org>
2130 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
2131 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
2133 (_Before_begin<>): Remove.
2134 * include/bits/hashtable.h (_Hashtable): Inherit from
2135 _Hashtable_alloc and adapt. Restore _M_before_begin field.
2136 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
2137 access to hashtable before begin.
2138 * testsuite/23_containers/unordered_set/
2139 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
2140 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
2143 2013-08-03 Tim Shen <timshen91@gmail.com>
2145 Implement bracket expression.
2146 * include/bits/regex.h: Remove constexpr from "|=", etc.
2147 * include/bits/regex_compiler.h: Parse bracket expression.
2148 * include/bits/regex_nfa.h: _Comparator and _BracketMatcher(old
2150 * include/bits/regex_nfa.tcc: Implement them.
2151 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
2152 from regex_search to regex_match.
2153 * testsuite/28_regex/algorithms/regex_match/extended/
2154 cstring_bracket_01.cc: New.
2156 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
2158 * include/debug/functions.h (__foreign_iterator_aux4):
2159 Initialize __l and __ge.
2161 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
2164 * include/debug/functions.h: Include <bits/move.h>; minor formatting
2166 (__foreign_iterator_aux4): Declare __l and __ge constexpr.
2167 * include/debug/safe_iterator.h (_Safe_iterator<>::operator->):
2169 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
2170 operator->): Likewise.
2172 2013-08-01 François Dumont <fdumont@gcc.gnu.org>
2175 * include/debug/formatter.h (_Debug_msg_id): Add
2176 __msg_insert_itself_range entry.
2177 * include/debug/functions.h (_Insert_range_from_self_is_safe<>):
2178 New, indicate container types supporting self range insertion in
2180 (__foreign_iterator): New, check if an iterator points to a given
2182 * include/debug/macros.h (__glibcxx_check_insert_range): Add check
2183 using __foreign_iterator.
2184 (__gibcxx_check_insert_range_after): Likewise.
2185 * include/debug/string (_Insert_range_from_self_is_safe<>):
2186 Partially specialized to mark __gnu_debug::basic_string<> as
2187 supporting self range insert.
2188 * include/debug/list (_Insert_range_from_self_is_safe<>):
2189 Partially specialized to mark std::list as supporting self range
2190 insert if _GLIBCXX_DEBUG_PEDANTIC is not defined.
2191 * include/debug/forward_list (_Insert_range_from_self_is_safe<>):
2193 * src/c++11/debug.cc (_S_debug_messages): Add
2194 __msg_insert_itself_range_entry message.
2195 (_Error_formatter::_Parameter::_M_print_description): Display
2196 iterator sequence address rather than sequence address when the
2197 parameter type is an iterator.
2198 (_Error_formatter::_M_print_word): Enhance behavior when
2199 displaying a word with an appended '\n'.
2200 * testsuite/util/debug/checks.h (check_insert4<>): New.
2201 * testsuite/23_containers/deque/debug/insert5_neg.cc: New.
2202 * testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise.
2203 * testsuite/23_containers/vector/debug/insert6_neg.cc: Likewise.
2204 * testsuite/23_containers/vector/debug/57779_neg.cc: Likewise.
2205 * testsuite/23_containers/list/debug/insert5_neg.cc: Likewise.
2206 * testsuite/23_containers/forward_list/debug/insert_after4_neg.cc:
2209 2013-08-01 Fabien Chêne <fabien@gcc.gnu.org>
2212 * include/tr1/cmath: Remove pow(double,double) overload, remove a
2213 duplicated comment about DR 550. Add a comment to explain the
2215 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New.
2217 2013-07-31 Tim Shen <timshen91@gmail.com>
2219 Thompson matcher refactored. Fix grouping problem.
2220 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
2221 * include/bits/regex_compiler.h: Tweak for auto switching.
2222 * include/bits/regex_grep_matcher.h: Class structure.
2223 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
2224 matcher) refactoring.
2225 * include/bits/regex_nfa.h: Change _Results's interfaces.
2226 * include/std/regex: Includes <map> and <queue>.
2227 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
2229 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
2231 * testsuite/28_regex/algorithms/regex_match/extended/
2232 string_dispatch_01.cc: New.
2234 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2237 * include/bits/stl_bvector.h: Use friend struct hash intead of
2238 friend class hash to work around useless warnings produced by
2240 * include/std/bitset: Likewise.
2242 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2244 * src/c++11/functexcept.cc: Do not include the whole <regex>.
2245 * src/c++11/regex.cc: Likewise.
2247 2013-07-31 Tim Shen <timshen91@gmail.com>
2251 2013-07-31 Tim Shen <timshen91@gmail.com>
2253 Thompson matcher refactored. Fix grouping problem.
2254 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
2255 * include/bits/regex_compiler.h: Tweak for auto switching.
2256 * include/bits/regex_grep_matcher.h: Class structure.
2257 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
2258 matcher) refactoring.
2259 * include/bits/regex_nfa.h: Change _Results's interfaces.
2260 * include/std/regex: Includes <map> and <queue>.
2261 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
2263 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
2265 * testsuite/28_regex/algorithms/regex_match/extended/
2266 string_dispatch_01.cc: New.
2268 2013-07-30 Paolo Carlini <paolo.carlini@oracle.com>
2272 2013-07-30 Tim Shen <timshen91@gmail.com>
2274 Thompson matcher refactored. Fix grouping problem.
2275 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
2276 * include/bits/regex_compiler.h: Tweak for auto switching.
2277 * include/bits/regex_grep_matcher.h: Class structure.
2278 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
2279 matcher) refactoring.
2280 * include/bits/regex_nfa.h: Change _Results's interfaces.
2281 * include/std/regex: Includes <map> and <queue>.
2282 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
2284 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
2286 * testsuite/28_regex/algorithms/regex_match/extended/
2287 string_dispatch_01.cc: New.
2289 2013-07-29 Nathan Froyd <froydnj@gcc.gnu.org>
2291 * include/std/atomic (compare_exchange_weak, compare_exchange_strong):
2292 Add call to __cmpexch_failure_order.
2293 * testsuite/util/testsuite_common_types.h
2294 (compare_exchange_order_lowering): New generator.
2295 * testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc:
2298 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com>
2300 * include/std/complex (pow(const complex<>&, int)): Enable in
2302 * testsuite/26_numerics/complex/dr844.cc: Adjust.
2303 * doc/xml/manual/intro.xml: Update.
2305 2013-07-25 Tim Shen <timshen91@gmail.com>
2307 Add documents and comments.
2308 * include/bits/regex.h: Documents and comments.
2309 * include/bits/regex_grep_matcher.h: Likewise.
2310 * include/bits/regex_grep_matcher.tcc: Likewise.
2311 * testsuite/28_regex/iterators/regex_iterator/char/
2312 string_position_01.cc: New.
2314 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2317 * doc/xml/manual/status_cxx2011.xml: Note missing time_get::get and
2320 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2322 * include/bits/random.h (random_device): Avoid using the FILE type.
2323 * include/std/random: Do not include <cstdio>.
2324 * src/c++11/random.cc: ... include it here.
2325 (random_device::_M_init, random_device::_M_fini,
2326 random_device::_M_getval): Cast back and forth void* and FILE*.
2328 2013-07-24 Tim Shen <timshen91@gmail.com>
2330 Reimplment matcher using Depth-first search(backtracking).
2333 * include/bits/regex.h: regex_match() and regex_search().
2334 * include/bits/regex_cursor.h: Fix _M_set_pos().
2335 * include/bits/regex_grep_matcher.h: add _M_dfs_match().
2336 * include/bits/regex_grep_matcher.tcc: Implement it.
2337 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: New.
2338 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: New.
2339 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc:
2342 2013-07-23 Tim Shen <timshen91@gmail.com>
2344 Implement regex_iterator and regex_token_iterator.
2345 * include/bits/regex.h: regex_iterator and regex_token_iterator.
2346 * testsuite/28_regex/iterators/regex_iterator/char/string_01.cc:
2348 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc:
2350 * testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:
2352 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
2355 2013-07-23 Paolo Carlini <paolo.carlini@oracle.com>
2357 * include/std/random: Add back <cstdio> include.
2358 * src/c++11/random.cc: Don't include <cstdio> here.
2360 2013-07-22 Jason Merrill <jason@redhat.com>
2363 * libsupc++/atexit_thread.cc (run): Delete cleanup elts.
2365 2013-07-22 Paolo Carlini <paolo.carlini@oracle.com>
2368 * src/c++11/random.cc (random_device::_M_getval): If possible, use
2369 read instead of std::fread.
2370 * include/std/random: Do not include <cstdio> unnecessarily.
2372 2013-07-21 Tim Shen <timshen91@gmail.com>
2374 Partially implement regex_search.
2375 * include/bits/regex.h: regex_search.
2376 * include/bits/regex_grep_matcher.h: _M_search_from_first.
2377 * include/bits/regex_grep_matcher.tcc: Implement it.
2378 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: New.
2380 2013-07-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2383 * include/std/condition_variable (condition_variable_any): Move into
2384 inline namespace _V2 and replace mutex member with shared_ptr<mutex>.
2385 * src/c++11/condition_variable.cc (condition_variable_any): Move
2387 * src/c++11/compatibility-condvar.cc (condition_variable_any): Here.
2388 * src/Makefile.am: Add new source file.
2389 * src/Makefile.in: Regenerate.
2391 2013-07-09 Tim Shen <timshen91@gmail.com>
2393 Implement class regex_traits.
2394 * include/bits/regex.h: Implement lookup_classname and
2395 lookup_collatename; modify isctype; partially implement
2397 * testsuite/28_regex/traits/char/isctype.cc: Add more test cases.
2398 * testsuite/28_regex/traits/char/lookup_classname.cc: Likewise.
2399 * testsuite/28_regex/traits/char/lookup_collatename.cc: Likewise.
2400 * testsuite/28_regex/traits/char/transform_primary.cc: Likewise.
2401 * testsuite/28_regex/traits/wchar_t/isctype.cc: New.
2402 * testsuite/28_regex/traits/wchar_t/lookup_classname.cc: New.
2403 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: New.
2404 * testsuite/28_regex/traits/wchar_t/transform_primary.cc: New.
2406 2013-07-07 Ed Smith-Rowland <3dw4rd@verizon.net>
2408 * doc/xml/manual/status_cxx2014.xml: Add links for papers.
2410 2013-07-05 François Dumont <fdumont@gcc.gnu.org>
2412 * include/bits/hashtable_policy.h (_ReuseOrAllocNode): Use forward
2414 (_MoveReuseOrAllocNode): Remove.
2415 (_Insert_base): Take a functor defining how the node is generated.
2416 * include/bits/hashtable.h: Adapt.
2417 (operator=(initializer_list<value_type>)): Reuse node if any.
2418 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
2419 Adjust dg-error line number.
2420 * testsuite/23_containers/unordered_set/
2421 not_default_constructible_hash_neg.cc: Likewise.
2423 2013-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2425 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
2426 Tweak, avoid potential undefined behavior.
2427 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
2429 * testsuite/23_containers/vector/bool/modifiers/insert/
2430 const_iterator.cc: Likewise.
2431 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
2434 2013-07-04 Veres Lajos <vlajos@gmail.com>
2435 Jonathan Wakely <jwakely.gcc@gmail.com>
2437 * config/locale/generic/codecvt_members.cc: Fix typo.
2438 * configure.host: Likewise.
2439 * doc/html/manual/policy_data_structures_design.html: Likewise.
2440 * doc/xml/manual/policy_data_structures.xml: Likewise.
2441 * include/bits/hashtable.h: Likewise.
2442 * include/bits/random.h: Likewise.
2443 * include/profile/impl/profiler_trace.h: Likewise.
2444 * testsuite/23_containers/deque/cons/2.cc: Likewise.
2445 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
2446 * testsuite/ext/pb_ds/example/basic_multimap.cc: Likewise.
2447 * testsuite/performance/23_containers/insert_erase/41975.cc: Likewise.
2449 2013-07-04 Ray Chason <chasonr@newsguy.com>
2450 Paolo Carlini <paolo.carlini@oracle.com>
2453 * include/bits/regex.h (regex_token_iterator<>::operator==,
2454 regex_token_iterator<>::operator!=, regex_token_iterator<>::operator*,
2455 regex_token_iterator<>::operator->): Declare const.
2457 2013-07-01 Paolo Carlini <paolo.carlini@oracle.com>
2459 * include/bits/stl_list.h (list<>::insert(iterator,
2460 size_type, const value_type&), list<>::insert(iterator,
2461 initializer_list<>), list<>::insert(iterator, _InputIterator,
2462 _InputIterator), list<>::splice(iterator, list&&),
2463 list<>::splice(iterator, list&), list<>::splice(iterator, list&&,
2464 iterator), list<>::splice(iterator, list&, iterator),
2465 list<>::splice(iterator, list&&, iterator, iterator),
2466 list<>::splice(iterator, list&, iterator, iterator)): Adjust C++11
2467 signatures to take const_iterator(s).
2468 * include/bits/list.tcc (list<>::insert(const_iterator, size_type,
2469 const value_type&), list<>::insert(const_iterator, _InputIterator,
2470 _InputIterator)): Define.
2471 * include/ext/vstring.h (__versa_string<>::insert(iterator,
2472 size_type, _CharT), __versa_string<>::insert(iterator,
2473 _InputIterator, _InputIterator), __versa_string<>::insert(iterator,
2474 std::initializer_list<>), __versa_string<>::replace(iterator,
2475 iterator, _InputIterator, _InputIterator), __versa_string<>::
2476 replace(iterator, iterator, std::initializer_list<>)): Adjust C++11
2477 signatures to take const_iterator(s).
2478 (__versa_string<>::_M_replace_dispatch): Take const_iterators.
2479 * include/ext/vstring.tcc: Likewise.
2480 * include/debug/list: Adjust.
2481 * include/profile/list: Likewise.
2482 * testsuite/23_containers/list/operations/splice/const_iterator.cc:
2484 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
2486 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
2488 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
2490 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
2492 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
2495 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2496 Adjust dg-error line number.
2497 * testsuite/23_containers/list/requirements/dr438/
2498 constructor_1_neg.cc: Likewise.
2499 * testsuite/23_containers/list/requirements/dr438/
2500 constructor_2_neg.cc: Likewise.
2501 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2504 2013-06-30 Paolo Carlini <paolo.carlini@oracle.com>
2506 * include/bits/stl_deque.h (deque<>::insert(iterator,
2507 size_type, const value_type&), deque<>::insert(iterator,
2508 initializer_list<>), deque<>::insert(iterator, _InputIterator,
2509 _InputIterator)): Adjust C++11 signatures to take a const_iterator.
2510 * include/bits/stl_vector.h: Likewise.
2511 * include/bits/stl_bvector.h: Likewise.
2512 * include/debug/deque: Adjust.
2513 * include/debug/vector: Likewise.
2514 * include/profile/deque: Likewise.
2515 * include/profile/vector: Likewise.
2516 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
2518 * testsuite/23_containers/vector/bool/modifiers/insert/
2519 const_iterator.cc: Likewise.
2520 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
2523 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2524 Adjust dg-error line number.
2525 * testsuite/23_containers/deque/requirements/dr438/
2526 constructor_1_neg.cc: Likewise.
2527 * testsuite/23_containers/deque/requirements/dr438/
2528 constructor_2_neg.cc: Likewise.
2529 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2531 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2533 * testsuite/23_containers/vector/requirements/dr438/
2534 constructor_1_neg.cc: Likewise.
2535 * testsuite/23_containers/vector/requirements/dr438/
2536 constructor_2_neg.cc: Likewise.
2537 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2540 2013-06-29 François Dumont <fdumont@gcc.gnu.org>
2542 * include/bits/hashtable_policy.h (_Insert_base): Consider hint in
2544 * include/bits/hashtable.h: Likewise.
2545 * testsuite/23_containers/unordered_multimap/insert/hint.cc: New.
2546 * testsuite/performance/23_containers/insert/unordered_multiset_hint.cc:
2548 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
2549 Adjust dg-error line number.
2550 * testsuite/23_containers/unordered_set/
2551 not_default_constructible_hash_neg.cc: Likewise.
2552 * doc/xml/manual/containers.xml: Document hinting in unordered
2555 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2557 * testsuite/21_strings/basic_string/operations/*: Move inside
2558 testsuite/21_strings/basic_string/operations/data/.
2559 * testsuite/21_strings/basic_string/compare/*: Move inside
2560 testsuite/21_strings/basic_string/operations/.
2561 * testsuite/21_strings/basic_string/find/*: Likewise.
2562 * testsuite/21_strings/basic_string/rfind/*: Likewise.
2563 * testsuite/21_strings/basic_string/substr/*: Likewise.
2565 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2567 * testsuite/21_strings/basic_string/append/*: Move inside
2568 testsuite/21_strings/basic_string/modifiers/.
2569 * testsuite/21_strings/basic_string/assign/*: Likewise.
2570 * testsuite/21_strings/basic_string/insert/*: Likewise.
2571 * testsuite/21_strings/basic_string/replace/*: Likewise.
2572 * testsuite/21_strings/basic_string/modifiers/pop_back/char/
2573 pop_back.cc: Rename to 1.cc.
2574 * testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/
2575 pop_back.cc: Likewise.
2576 * testsuite/ext/vstring/assign/*: Move inside
2577 testsuite/ext/vstring/modifiers/.
2579 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2581 * include/bits/stl_deque.h (deque<>::insert(iterator,
2582 const value_type&), deque<>::insert(iterator, value_type&&),
2583 deque<>::emplace(iterator, _Args&&...)): Adjust C++11 signatures to
2584 take a const_iterator.
2585 (deque<>::erase): Simplify.
2586 * include/bits/stl_list.h: Likewise.
2587 (_List_iterator<>::_M_const_cast): Add.
2588 * include/bits/stl_vector.h: Likewise.
2589 * include/bits/stl_bvector.h: Likewise.
2590 (_Bit_iterator::_M_const_cast): Add.
2591 * include/bits/deque.tcc: Adjust definitions.
2592 * include/bits/list.tcc: Likewise.
2593 * include/bits/vector.tcc: Likewise.
2594 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
2595 Define trivial version in C++98 mode.
2596 * include/ext/vstring.h (__versa_string<>::insert(iterator, _CharT),
2597 __versa_string<>::replace(iterator, iterator, const __versa_string&),
2598 __versa_string<>::replace(iterator, iterator, const _CharT*,
2599 size_type), __versa_string<>::replace(iterator, iterator,
2600 const _CharT*), __versa_string<>::replace(iterator, iterator,
2601 size_type, _CharT)): Adjust C++11 signatures to take a pair of
2603 * include/debug/deque: Adjust.
2604 * include/debug/list: Likewise.
2605 * include/debug/vector: Likewise.
2606 * include/profile/deque: Likewise.
2607 * include/profile/list: Likewise.
2608 * include/profile/vector: Likewise.
2609 (vector<>::emplace): Add.
2610 * testsuite/util/exception/safety.h: Update.
2611 * testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc:
2613 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
2615 * testsuite/23_containers/list/modifiers/emplace/const_iterator.cc:
2617 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
2619 * testsuite/23_containers/vector/bool/modifiers/insert/
2620 const_iterator.cc: Likewise.
2621 * testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc:
2623 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
2625 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
2627 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
2629 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
2631 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
2634 * testsuite/ext/vstring/modifiers/char/54577.cc: Move to testsuite/
2635 ext/vstring/modifiers/erase/char/.
2636 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Move to testsuite/
2637 ext/vstring/modifiers/wchar_t/.
2638 * testsuite/ext/vstring/modifiers/char/pop_back.cc: Move to testsuite/
2639 ext/vstring/modifiers/pop_back/char/.
2640 * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: Move to
2641 testsuite/ext/vstring/modifiers/pop_back/wchar_t/.
2643 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2644 Adjust dg-error line number.
2645 * testsuite/23_containers/deque/requirements/dr438/
2646 constructor_1_neg.cc: Likewise.
2647 * testsuite/23_containers/deque/requirements/dr438/
2648 constructor_2_neg.cc: Likewise.
2649 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2651 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2653 * testsuite/23_containers/list/requirements/dr438/
2654 constructor_1_neg.cc: Likewise.
2655 * testsuite/23_containers/list/requirements/dr438/
2656 constructor_2_neg.cc: Likewise.
2657 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2659 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2661 * testsuite/23_containers/vector/requirements/dr438/
2662 constructor_1_neg.cc: Likewise.
2663 * testsuite/23_containers/vector/requirements/dr438/
2664 constructor_2_neg.cc: Likewise.
2665 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2668 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net>
2670 Status page for C++2014 library features
2671 * doc/xml/faq.xml: Add link to new C++14 status page.
2672 * doc/xml/manual/intro.xml: Ditto.
2673 * doc/xml/manual/status_cxx2014.xml: New.
2675 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2677 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid
2678 spurious fails with check-debug.
2679 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc:
2681 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise.
2682 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc:
2685 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2688 * include/bits/char_traits.h (char_traits<char>::lt): Implement
2690 * testsuite/21_strings/char_traits/requirements/char/57704.cc: New.
2692 2013-06-24 Bernd Edlinger <bernd.edlinger@hotmail.de>
2695 * include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED,
2696 declare per the letter of the C++ standard in terms of void.
2697 * include/c_std/cstdlib: Likewise.
2699 2013-06-22 Paolo Carlini <paolo.carlini@oracle.com>
2702 * include/bits/random.h (binomial_distribution<>::_M_waiting):
2703 Add double parameter.
2704 * include/bits/random.tcc (binomial_distribution<>::operator()
2705 (_UniformRandomNumberGenerator&, const param_type&)): Pass
2706 __param._M_q to _M_waiting.
2707 (_M_waiting): Adjust.
2708 * testsuite/26_numerics/random/binomial_distribution/
2709 operators/values.cc: Add tests.
2711 2013-06-21 Paolo Carlini <paolo.carlini@oracle.com>
2714 * include/std/valarray (valarray<>::operator=(const _Expr<>&)):
2715 Implement correctly C++11 26.6.2.3/1.
2716 * testsuite/26_numerics/valarray/dr630-3.C: New.
2718 2013-06-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2721 * include/std/mutex (timed_mutex, recursive_timed_mutex): Move common
2722 functionality to new __timed_mutex_impl mixin. Overload try_lock_until
2723 to handle conversion between different clocks. Replace constrained
2724 __try_lock_for_impl overloads with conditional increment.
2725 * include/std/shared_mutex (shared_mutex::_Mutex): Use the new mixin.
2726 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: New.
2728 2013-06-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2729 Chris Jefferson <chris@bubblescope.net>
2731 * include/bits/stl_algobase.h (equal): Make C++14 overloads from N3671
2732 dispatch to traditional std::equal for random-access iterators.
2733 (__equal2_aux, __equal2): Remove.
2734 (__equal::equal): Remove unused overloads.
2735 * include/bits/stl_algo.h (is_permutation): Fix typos.
2737 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2739 * include/std/shared_mutex (shared_lock::operator=): Add missing
2742 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2745 * include/bits/forward_list.h (_Fwd_list_base): Convert to/from
2746 allocator's pointer type.
2747 * include/bits/hashtable.h (_Hashtable): Likewise.
2748 * testsuite/util/testsuite_allocator.h (CustomPointerAlloc): Add.
2749 * testsuite/23_containers/forward_list/allocator/ext_ptr.cc: New.
2750 * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: New.
2751 * testsuite/23_containers/vector/allocator/ext_ptr.cc: New.
2753 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2755 * include/std/shared_mutex: Implement N3659.
2756 * include/bits/c++14_warning.h: New.
2757 * include/Makefile.am: Add new headers.
2758 * include/Makefile.in: Regenerate.
2759 * testsuite/30_threads/shared_lock/cons/1.cc: New.
2760 * testsuite/30_threads/shared_lock/locking/2.cc: New.
2761 * testsuite/30_threads/shared_lock/cons/2.cc: New.
2762 * testsuite/30_threads/shared_lock/locking/3.cc: New.
2763 * testsuite/30_threads/shared_lock/cons/3.cc: New.
2764 * testsuite/30_threads/shared_lock/locking/4.cc: New.
2765 * testsuite/30_threads/shared_lock/cons/4.cc: New.
2766 * testsuite/30_threads/shared_lock/modifiers/1.cc: New.
2767 * testsuite/30_threads/shared_lock/cons/5.cc: New.
2768 * testsuite/30_threads/shared_lock/modifiers/2.cc: New.
2769 * testsuite/30_threads/shared_lock/cons/6.cc: New.
2770 * testsuite/30_threads/shared_lock/requirements/
2771 explicit_instantiation.cc: New.
2772 * testsuite/30_threads/shared_lock/locking/1.cc: New.
2773 * testsuite/30_threads/shared_lock/requirements/typedefs.cc: New.
2774 * testsuite/30_threads/shared_mutex/cons/1.cc: New.
2775 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
2776 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
2777 * testsuite/30_threads/shared_mutex/requirements/
2778 standard_layout.cc: New.
2779 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
2780 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
2782 2013-06-15 Paolo Carlini <paolo.carlini@oracle.com>
2785 * include/bits/unordered_map.h (unordered_map<>::insert,
2786 unordered_multimap<>::insert): Use std::forward, not std::move.
2787 * testsuite/23_containers/unordered_map/insert/57619.C: New.
2788 * testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.
2790 2013-06-14 Alan Modra <amodra@gmail.com>
2792 * configure.host (abi_baseline_pair): Match powerpc64*.
2794 2013-06-13 Daniel Krugler <daniel.kruegler@gmail.com>
2796 * include/std/type_traits (is_function): Support ref-qualified
2798 (is_copy_constructible, is_move_constructible, is_copy_assignable,
2799 is_move_assignable, is_nothrow_copy_constructible,
2800 is_nothrow_move_constructible, is_nothrow_copy_assignable,
2801 is_nothrow_move_assignable): Implement LWG 2196.
2802 (add_lvalue_reference, add_rvalue_reference, add_pointer): Implement
2804 (__strip_reference_wrapper<<const reference_wrapper<_Tp>>): Remove,
2806 * testsuite/20_util/add_lvalue_reference/value.cc: Extend.
2807 * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
2808 * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
2809 * testsuite/20_util/is_assignable/value.cc: Likewise.
2810 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
2811 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
2812 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
2813 * testsuite/20_util/is_function/value.cc: Likewise.
2814 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
2815 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
2816 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
2817 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
2818 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
2819 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
2821 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2823 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2825 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2828 2013-06-13 Paolo Carlini <paolo.carlini@oracle.com>
2830 * include/tr1/modified_bessel_func.tcc (__gnu_cxx::__airy_ai(),
2831 __gnu_cxx::__airy_bi()): Remove.
2832 * testsuite/tr1/5_numerical_facilities/special_functions/
2833 10_cyl_bessel_k/airy.cc: Fix.
2835 2013-06-12 Ed Smith-Rowland <3dw4rd@verizon.net>
2838 * include/tr1/modified_bessel_func.tcc (__airy): Remove return
2840 (__gnu_cxx::__airy_ai(), __gnu_cxx::__airy_bi()): New functions.
2841 * testsuite/tr1/5_numerical_facilities/special_functions/
2842 10_cyl_bessel_k/airy.cc: New.
2844 2013-06-11 Ed Smith-Rowland <3dw4rd@verizon.net>
2846 Fix library literals error involving namespace __detail.
2847 * include/std/chrono: Rename __detail to __select_type. Reformat.
2848 * include/bits/basic_string.h: Reformat.
2849 * testsuite/20_util/duration/literals/ns_detail.cc: New.
2851 2013-06-11 Paolo Carlini <paolo.carlini@oracle.com>
2854 * include/c_global/cstddef (max_align_t): Add to namespace std.
2855 * include/c_std/cstddef: Likewise.
2856 * testsuite/18_support/max_align_t/requirements/1.cc: New.
2857 * testsuite/18_support/max_align_t/requirements/2.cc: Likewise.
2859 2013-06-10 Benjamin Kosnik <bkoz@redhat.com>
2861 * include/bits/c++config (_GLIBCXX_ABI_TAG_CXX11): Add.
2862 * include/bits/stl_map.h (erase): Use abi_tag when C++11.
2863 * include/bits/stl_multimap.h: Same.
2864 * include/bits/stl_multiset.h: Same.
2865 * include/bits/stl_set.h: Same.
2866 * include/bits/stl_tree.h: Same.
2867 * include/std/complex (real, imag): Use macro for abi_tag.
2869 * testsuite/lib/libstdc++.exp: Disable inlinling with -fno-inline.
2870 * testsuite/util/testsuite_containers.h (erase_external): New
2872 (erase_external_iterators): Same.
2873 (linkage_check_cxx98_cxx11_erase): Same.
2874 (linkage_check_cxx98_cxx11_erase_iterators): Same.
2875 * testsuite/util/testsuite_shared.cc: Define.
2876 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: New.
2877 * testsuite/23_containers/map/modifiers/erase/
2878 dr130-linkage-check.cc: New.
2879 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: New.
2880 * testsuite/23_containers/multimap/modifiers/erase/
2881 dr130-linkage-check.cc: New.
2882 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: New.
2883 * testsuite/23_containers/multiset/modifiers/erase/
2884 dr130-linkage-check.cc: New.
2885 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: New.
2886 * testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc:
2888 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number.
2890 * testsuite/23_containers/map/dr130.cc: Move...
2891 * testsuite/23_containers/map/modifiers/dr130.cc: ...here.
2892 * testsuite/23_containers/multimap/dr130.cc: Move ...
2893 * testsuite/23_containers/multimap/modifiers/dr130.cc: ...here.
2894 * testsuite/23_containers/multiset/dr130.cc: Move...
2895 * testsuite/23_containers/multiset/modifiers/dr130.cc: ...here.
2896 * testsuite/23_containers/set/dr130.cc: Move...
2897 * testsuite/23_containers/set/modifiers/dr130.cc: ...here.
2899 2013-06-10 Thomas Schwinge <thomas@codesourcery.com>
2901 * testsuite/17_intro/headers/c++1998/49745.cc: Extend current
2902 handling of Linux-based x86 systems to cover all GNU systems.
2903 * testsuite/18_support/bad_exception/23591_thread-1.c: Likewise.
2904 * testsuite/18_support/pthread_guard.cc: Likewise.
2905 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
2907 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
2909 * testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
2910 * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
2911 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2912 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2913 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2914 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2915 * testsuite/23_containers/list/pthread1.cc: Likewise.
2916 * testsuite/23_containers/list/pthread5.cc: Likewise.
2917 * testsuite/23_containers/map/pthread6.cc: Likewise.
2918 * testsuite/23_containers/vector/debug/multithreaded_swap.cc:
2920 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
2922 * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
2923 * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
2924 * testsuite/30_threads/async/42819.cc: Likewise.
2925 * testsuite/30_threads/async/49668.cc: Likewise.
2926 * testsuite/30_threads/async/54297.cc: Likewise.
2927 * testsuite/30_threads/async/any.cc: Likewise.
2928 * testsuite/30_threads/async/async.cc: Likewise.
2929 * testsuite/30_threads/async/launch.cc: Likewise.
2930 * testsuite/30_threads/async/sync.cc: Likewise.
2931 * testsuite/30_threads/call_once/39909.cc: Likewise.
2932 * testsuite/30_threads/call_once/49668.cc: Likewise.
2933 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
2934 * testsuite/30_threads/condition_variable/54185.cc: Likewise.
2935 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
2936 * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
2937 * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
2938 * testsuite/30_threads/condition_variable/members/53841.cc:
2940 * testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
2942 * testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
2943 * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
2944 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
2945 * testsuite/30_threads/condition_variable_any/members/1.cc:
2947 * testsuite/30_threads/condition_variable_any/members/2.cc:
2949 * testsuite/30_threads/future/cons/move.cc: Likewise.
2950 * testsuite/30_threads/future/members/45133.cc: Likewise.
2951 * testsuite/30_threads/future/members/get.cc: Likewise.
2952 * testsuite/30_threads/future/members/get2.cc: Likewise.
2953 * testsuite/30_threads/future/members/share.cc: Likewise.
2954 * testsuite/30_threads/future/members/valid.cc: Likewise.
2955 * testsuite/30_threads/future/members/wait.cc: Likewise.
2956 * testsuite/30_threads/future/members/wait_for.cc: Likewise.
2957 * testsuite/30_threads/future/members/wait_until.cc: Likewise.
2958 * testsuite/30_threads/lock/1.cc: Likewise.
2959 * testsuite/30_threads/lock/2.cc: Likewise.
2960 * testsuite/30_threads/lock/3.cc: Likewise.
2961 * testsuite/30_threads/lock/4.cc: Likewise.
2962 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
2963 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
2964 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
2965 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
2966 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
2967 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2968 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2969 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
2970 * testsuite/30_threads/packaged_task/49668.cc: Likewise.
2971 * testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
2972 * testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
2973 * testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
2974 * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
2975 * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
2976 * testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
2977 * testsuite/30_threads/packaged_task/cons/move_assign.cc:
2979 * testsuite/30_threads/packaged_task/members/get_future.cc:
2981 * testsuite/30_threads/packaged_task/members/get_future2.cc:
2983 * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
2984 * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
2985 * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
2986 * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
2987 * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
2988 * testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
2989 * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
2990 * testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
2991 * testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
2992 * testsuite/30_threads/promise/cons/1.cc: Likewise.
2993 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
2994 * testsuite/30_threads/promise/cons/move.cc: Likewise.
2995 * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
2996 * testsuite/30_threads/promise/members/get_future.cc: Likewise.
2997 * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
2998 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
2999 * testsuite/30_threads/promise/members/set_exception2.cc:
3001 * testsuite/30_threads/promise/members/set_value.cc: Likewise.
3002 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
3003 * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
3004 * testsuite/30_threads/promise/members/swap.cc: Likewise.
3005 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
3006 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
3008 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
3009 * testsuite/30_threads/recursive_mutex/native_handle/1.cc:
3011 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
3013 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
3014 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
3015 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
3016 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
3017 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
3019 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
3020 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
3021 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
3023 * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
3025 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
3027 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
3029 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
3031 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
3033 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
3035 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
3037 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
3039 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
3041 * testsuite/30_threads/shared_future/cons/move.cc: Likewise.
3042 * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
3043 * testsuite/30_threads/shared_future/members/get.cc: Likewise.
3044 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
3045 * testsuite/30_threads/shared_future/members/valid.cc: Likewise.
3046 * testsuite/30_threads/shared_future/members/wait.cc: Likewise.
3047 * testsuite/30_threads/shared_future/members/wait_for.cc:
3049 * testsuite/30_threads/shared_future/members/wait_until.cc:
3051 * testsuite/30_threads/this_thread/1.cc: Likewise.
3052 * testsuite/30_threads/this_thread/2.cc: Likewise.
3053 * testsuite/30_threads/this_thread/3.cc: Likewise.
3054 * testsuite/30_threads/this_thread/4.cc: Likewise.
3055 * testsuite/30_threads/thread/cons/1.cc: Likewise.
3056 * testsuite/30_threads/thread/cons/2.cc: Likewise.
3057 * testsuite/30_threads/thread/cons/3.cc: Likewise.
3058 * testsuite/30_threads/thread/cons/4.cc: Likewise.
3059 * testsuite/30_threads/thread/cons/49668.cc: Likewise.
3060 * testsuite/30_threads/thread/cons/5.cc: Likewise.
3061 * testsuite/30_threads/thread/cons/6.cc: Likewise.
3062 * testsuite/30_threads/thread/cons/7.cc: Likewise.
3063 * testsuite/30_threads/thread/cons/8.cc: Likewise.
3064 * testsuite/30_threads/thread/cons/9.cc: Likewise.
3065 * testsuite/30_threads/thread/cons/moveable.cc: Likewise.
3066 * testsuite/30_threads/thread/members/1.cc: Likewise.
3067 * testsuite/30_threads/thread/members/2.cc: Likewise.
3068 * testsuite/30_threads/thread/members/3.cc: Likewise.
3069 * testsuite/30_threads/thread/members/4.cc: Likewise.
3070 * testsuite/30_threads/thread/members/5.cc: Likewise.
3071 * testsuite/30_threads/thread/members/hardware_concurrency.cc:
3073 * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
3074 * testsuite/30_threads/thread/native_handle/typesizes.cc:
3076 * testsuite/30_threads/thread/swap/1.cc: Likewise.
3077 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
3078 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
3080 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
3081 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
3082 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
3084 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
3085 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
3086 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
3087 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
3088 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
3089 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
3090 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
3091 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
3092 * testsuite/30_threads/try_lock/1.cc: Likewise.
3093 * testsuite/30_threads/try_lock/2.cc: Likewise.
3094 * testsuite/30_threads/try_lock/3.cc: Likewise.
3095 * testsuite/30_threads/try_lock/4.cc: Likewise.
3096 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
3097 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
3098 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
3099 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
3100 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
3101 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
3102 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
3103 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
3104 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
3105 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
3106 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
3107 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
3108 * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
3109 * testsuite/ext/profile/mh.cc: Likewise.
3110 * testsuite/ext/rope/pthread7-rope.cc: Likewise.
3111 * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise.
3112 * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
3114 * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
3116 * testsuite/util/testsuite_performance.h: Extend current handling
3117 of Linux-based systems to cover all glibc-based systems.
3119 2013-06-09 Jonathan Wakely <jwakely.gcc@gmail.com>
3121 * include/std/mutex (call_once): Remove parentheses to fix error in
3122 c++1y and gnu++1y mode.
3123 * testsuite/30_threads/mutex/try_lock/2.cc: Call try_lock() in new
3124 thread to avoid undefined behaviour.
3126 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
3128 Simplify and clean up library literals.
3129 * include/std/chrono: Simplify namespace and versioning management.
3130 * include/bits/basic_string.h: Ditto.
3131 * testsuite/20_util/duration/literals/types.cc: Remove bogus comment.
3132 * testsuite/20_util/duration/literals/values.cc: Ditto.
3133 * testsuite/21_strings/basic_string/literals/types.cc: Ditto.
3134 * testsuite/21_strings/basic_string/literals/values.cc: Ditto.
3136 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
3138 Implement N3654 - Quoted Strings Library Proposal
3139 * include/std/iomanip: Add quoted(String, Char delim, Char escape)
3140 manipulators and supporting machinery in c++1y mode.
3141 * testsuite/27_io/manipulators/standard/char/quoted.cc: New.
3142 * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: New.
3144 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3146 * include/bits/alloc_traits.h (allocator_traits::max_size()): LWG
3149 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3151 * include/bits/stl_algo.h (is_permutation): Add overloads from N3671.
3152 * include/bits/stl_algobase.h (equal, mismatch): Likewise.
3153 * testsuite/25_algorithms/equal/1.cc: Remove duplicate test case.
3154 * testsuite/25_algorithms/equal/2.cc: New.
3155 * testsuite/25_algorithms/equal/check_type2.cc: New.
3156 * testsuite/25_algorithms/is_permutationqual/2.cc: New.
3157 * testsuite/25_algorithms/is_permutationqual/check_type2.cc: New.
3158 * testsuite/25_algorithms/mismatch/2.cc: New.
3159 * testsuite/25_algorithms/mismatch/check_type2.cc: New.
3160 * testsuite/util/testsuite_iterators.h: Fix spelling.
3162 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3164 * include/std/type-traits (integral_constant::operator()): Implement
3166 * testsuite/20_util/integral_constant/call_operator.cc: New.
3167 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
3169 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3171 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3174 2013-06-07 Uros Bizjak <ubizjak@gmail.com>
3176 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
3178 2013-06-05 Tom Tromey <tromey@redhat.com>
3180 * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Use -O0.
3182 2013-06-03 Paolo Carlini <paolo.carlini@oracle.com>
3185 * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
3187 2013-06-01 Ed Smith-Rowland <3dw4rd@verizon.net>
3189 * include/std/chrono: Collapse redundant 'inline' from 'inline
3191 * include/std/tuple: Ditto.
3192 * include/bits/move.h: Ditto.
3194 2013-05-30 Ed Smith-Rowland <3dw4rd@verizon.net>
3196 Implement N3642 - User-defined Literals for Standard Library Types
3197 * include/bits/parse_numbers.h: New.
3198 * include/std/chrono: Add duration literal operators.
3199 * include/bits/basic_string.h: Add string literal operators.
3200 * include/Makefile.in: Add parse_numbers.h.
3201 * include/Makefile.am: Ditto.
3202 * testsuite/20_util/duration/literals/values.cc: New.
3203 * testsuite/20_util/duration/literals/types.cc: New.
3204 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
3205 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
3206 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
3207 * testsuite/21_strings/basic_string/literals/values.cc: New.
3208 * testsuite/21_strings/basic_string/literals/types.cc: New.
3210 2013-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3212 * src/c++11/compatibility-chrono.cc (steady_clock::now()): If
3213 !_GLIBCXX_USE_GETTIMEOFDAY perform conversion inline instead of
3214 calling non-existent from_time_t.
3216 2013-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3218 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
3221 2013-05-24 Benjamin Kosnik <bkoz@redhat.com>
3223 * include/std/chrono: Wrap clocks in inline namespace _V2.
3224 * src/c++11/chrono.cc: Same.
3225 * src/c++11/compatibility-chrono.cc: Revert to previous chrono.cc
3226 file, with default configure macros selected.
3228 * config/abi/pre/gnu.ver (GLIBCXX_3.4.19): Use symbols from inline
3230 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Fix up.
3232 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
3233 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
3234 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
3236 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3238 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
3239 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
3241 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
3242 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
3243 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
3244 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
3245 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
3246 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
3248 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
3249 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
3251 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3253 * config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC]
3254 (CLOCK_MONOTONIC): Define.
3256 2013-05-24 Paolo Carlini <paolo.carlini@oracle.com>
3258 * include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t
3261 * include/bits/cpp_type_traits.h (__is_fundamental): Remove, unused.
3263 2013-05-24 Jakub Jelinek <jakub@redhat.com>
3265 * src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL,
3266 include unistd.h and sys/syscall.h. If _GLIBCXX_COMPATIBILITY_CXX0X,
3267 don't define system_clock::is_steady, system_clock::now() and
3268 steady_clock::is_steady.
3269 (std::chrono::system_clock::now()): If
3270 _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call
3271 syscall (SYS_clock_gettime, ...) instead of clock_gettime (...).
3272 (std::chrono::system_clock::now()): Likewise. Add weak attribute
3273 if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will
3275 * src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc.
3276 (compatibility-chrono.lo, compatibility-chrono.o): New goals.
3277 * src/c++11/compatibility-chrono.cc: New file.
3278 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for
3279 syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp).
3280 * testsuite/util/testsuite_abi.cc (check_version): Add
3281 GLIBCXX_3.4.20 version and make it the latest.
3282 * config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export
3283 also @@GLIBCXX_3.4.19. Move all symbols so far added for GCC 4.9 to
3284 @@GLIBCXX_3.4.20 instead.
3285 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
3286 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
3287 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
3289 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3291 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
3292 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
3294 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
3295 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
3296 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
3297 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
3298 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
3299 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
3301 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
3302 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
3303 * config.h.in: Regenerated.
3304 * src/Makefile.in: Regenerated.
3305 * configure: Regenerated.
3307 2013-05-23 Matthias Klose <doko@ubuntu.com>
3309 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
3310 (ext_headers): Remove ${ext_host_headers}.
3311 (stamp-${host_alias}): Create ${host_builddir}/../ext.
3312 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
3313 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
3314 * include/Makefile.in: Regenerate.
3315 * include/ext/random: Include ext/opt_random.h.
3317 2013-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
3319 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to
3320 enable features if target OS is known to support them.
3321 * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'.
3322 * configure: Regenerate.
3324 2013-05-21 Jonathan Wakely <jwakely.gcc@gmail.com>
3327 * include/std/functional (__invoke): Do not form function types with
3328 abstract return type.
3329 * testsuite/20_util/reference_wrapper/invoke-3.cc: New.
3331 2013-05-19 Jonathan Wakely <jwakely.gcc@gmail.com>
3333 * include/std/tuple (get): Implement N3670.
3334 * include/std/utility (get): Likewise.
3335 * testsuite/20_util/pair/get.cc: Move to ...
3336 * testsuite/20_util/pair/astuple/get.cc: Here.
3337 * testsuite/20_util/pair/astuple/astuple.cc: New.
3338 * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
3339 * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
3340 * testsuite/20_util/pair/astuple/get_by_type.cc: New.
3341 * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
3342 * testsuite/20_util/pair/astuple/get_neg.cc: New.
3343 * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
3344 * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
3345 * testsuite/20_util/tuple/element_access/get_by_type.cc: New.
3347 2013-05-19 Paolo Carlini <paolo.carlini@oracle.com>
3349 * Revert last commit.
3351 2013-05-19 Matthias Klose <doko@ubuntu.com>
3353 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
3354 (ext_headers): Remove ${ext_host_headers}.
3355 (stamp-${host_alias}): Create ${host_builddir}/../ext.
3356 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
3357 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
3358 * include/Makefile.in: Regenerate.
3360 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3362 * include/std/system_error (error_category::error_category()): LWG
3363 2145: Declare public and constexpr.
3364 * src/c++11/system_error.cc (error_category::error_category()): Move
3366 * src/c++11/compatibility-c++0x.cc: Here.
3368 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3370 * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
3372 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3374 * include/bits/unique_ptr.h (make_unique): Declare inline.
3375 (unique_ptr<T[],D>::reset()): Combine two overloads into one.
3376 (default_delete, unique_ptr): Add doxygen comments.
3377 * include/bits/shared_ptr_base.h: Improve doxygen comments.
3378 * include/bits/shared_ptr.h: Likewise.
3379 * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
3381 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
3383 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3385 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
3387 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3389 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
3391 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3393 * include/std/utility (exchange): Define.
3394 * testsuite/20_util/exchange/1.cc: New.
3396 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3398 * include/bits/unique_ptr.h (make_unique): Define.
3399 * testsuite/20_util/unique_ptr/creation/single.cc: New.
3400 * testsuite/20_util/unique_ptr/creation/array.cc: New.
3401 * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
3403 2013-05-15 François Dumont <fdumont@gcc.gnu.org>
3405 * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
3406 rendering of std::tr1 unordered containers iterator.
3407 (StdHashtableIterator): New, render std unordered containers iterator.
3408 * testsuite/libstdc++-prettyprinters/tr1.cc: New.
3410 2013-05-15 Jonathan Wakely <jwakely.gcc@gmail.com>
3412 * include/bits/basic_string.h (getline): Fix doxygen comments.
3414 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com>
3416 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
3417 Use std::pointer_traits.
3419 2013-05-13 Benjamin Kosnik <bkoz@redhat.com>
3421 * libsupc++/Makefile.am (sources): Add bad_array_length.cc,
3423 * libsupc++/Makefile.in: Regenerate.
3424 * libsupc++/bad_array_length.cc: Tweak.
3425 * libsupc++/bad_array_new.cc: Tweak.
3427 2013-05-10 Paolo Carlini <paolo.carlini@oracle.com>
3430 * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
3431 (_Deque_iterator<>::_M_const_cast): Add.
3432 (deque<>::_M_erase): Declare.
3433 * include/bits/deque.tcc: ... and define.
3434 * include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
3435 (_List_const_iterator<>::_M_const_cast): Add.
3436 * include/bits/list.tcc (erase (iterator)): Fix.
3437 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
3438 Add; include <ext/cast.h>.
3439 * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
3440 (vector<>::_M_erase): Declare.
3441 * include/bits/stl_bvector.h: Likewise.
3442 * include/bits/vector.tcc (vector<>::_M_erase): Define.
3443 * include/ext/vstring.h (erase): Fix signatures in C++11 mode.
3444 * include/debug/deque: Adjust.
3445 * include/debug/list: Likewise.
3446 * include/debug/vector: Likewise.
3447 * include/profile/deque: Likewise.
3448 * include/profile/list: Likewise.
3449 * include/profile/vector: Likewise.
3450 * testsuite/util/exception/safety.h (erase_base<deque>,
3451 erase_base<deque>, erase_base<vector>): Remove.
3452 (erase_base<__versa_string>): Update.
3453 * testsuite/ext/vstring/modifiers/char/54577.cc: New.
3454 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
3455 * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
3456 * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
3457 * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
3459 * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
3460 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3461 Adjust dg-error line numbers.
3462 * testsuite/23_containers/deque/requirements/dr438/
3463 constructor_1_neg.cc: Likewise.
3464 * testsuite/23_containers/deque/requirements/dr438/
3465 constructor_2_neg.cc: Likewise.
3466 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3468 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3470 * testsuite/23_containers/list/requirements/dr438/
3471 constructor_1_neg.cc: Likewise.
3472 * testsuite/23_containers/list/requirements/dr438/
3473 constructor_2_neg.cc: Likewise.
3474 * testsuite/23_containers/list/requirements/dr438/
3475 insert_neg.cc: Likewise.
3476 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3478 * testsuite/23_containers/vector/requirements/dr438/
3479 constructor_1_neg.cc: Likewise.
3480 * testsuite/23_containers/vector/requirements/dr438/
3481 constructor_2_neg.cc: Likewise.
3482 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3485 2013-05-09 Uros Bizjak <ubizjak@gmail.com>
3487 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8.
3489 2013-05-08 Jason Merrill <jason@redhat.com>
3491 Add std::bad_array_length (N3639)
3492 * libsupc++/new: Add std::bad_array_length.
3493 * libsupc++/bad_array_length.cc: New.
3494 * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
3495 * libsupc++/Makefile.in: Build them.
3496 * config/abi/pre/gnu.ver: Add new symbols.
3497 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
3499 2013-05-08 Andi Kleen <ak@linux.intel.com>
3502 * libstdc++-v3/include/bits/atomic_base.h
3503 (_GLIBCXX_ALWAYS_INLINE): Add new macro.
3504 (atomic_thread_fence, atomic_signal_fence, test_and_set,
3505 clear, store, load, exchange, compare_exchange_weak)
3506 compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
3507 fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.
3509 2013-05-08 Jason Merrill <jason@redhat.com>
3511 Add std::bad_array_new_length (N2932)
3512 * libsupc++/new: Add std::bad_array_new_length.
3513 * libsupc++/bad_array_new.cc: New.
3514 * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
3515 * libsupc++/Makefile.in: Build them.
3516 * config/abi/pre/gnu.ver: Add new symbols.
3517 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
3519 2013-05-08 Andoni Morales Alastruey <ylatuya@gmail.com>
3522 * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
3524 * include/Makefile.in: Regenerated.
3526 2013-05-07 François Dumont <fdumont@gcc.gnu.org>
3528 * include/profile/unordered_base.h: New.
3529 * include/Makefile.am: Add new profile header.
3530 * include/Makefile.in: Regenerate.
3531 * include/profile/impl/profiler.h
3532 (__profcxx_inefficient_hash_is_on): New macro.
3533 * include/profile/unordered_map (std::profile::unordered_map<>):
3534 Use new _Unordered_profile base class. Use default implementations
3535 for special functions.
3536 (std::profile::unordered_multimap<>): Likewise.
3537 * include/profile/unordered_set (std::profile::unordered_set<>):
3539 (std::profile::unordered_multiset<>): Likewise.
3540 * testsuite/23_containers/unordered_multiset/55043.cc: Fix
3541 MoveOnly equality operator signature.
3543 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
3545 * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
3546 constexpr_data.cc: Move...
3547 * testsuite/20_util/integral_constant/requirements/constexpr_data.cc:
3549 * testsuite/20_util/integral_constant/requirements/
3550 explicit_instantiation.cc: New.
3551 * testsuite/20_util/integral_constant/requirements/typedefs.cc:
3553 * testsuite/20_util/integral_constant/static_definition.cc: Likewise.
3554 * testsuite/20_util/integral_constant/true_false_type_typedefs.cc:
3556 * testsuite/20_util/integral_constant/true_false_value.cc: Likewise.
3557 * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise.
3559 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
3561 * include/std/type_traits (is_null_pointer): Add.
3562 (__is_nullptr_t): Implement in terms of the latter.
3563 (is_fundamental, is_scalar): Adjust.
3564 * testsuite/20_util/is_null_pointer/requirements/
3565 explicit_instantiation.cc: New.
3566 * testsuite/20_util/is_null_pointer/requirements/typedefs.cc:
3568 * testsuite/20_util/is_null_pointer/value.cc: Likewise.
3569 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
3571 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3573 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3576 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
3578 * include/c_global/cstdio: Add comment about LWG 2249.
3579 * include/c_std/cstdio: Likewise.
3581 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3583 * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
3585 * include/std/mutex (__recursive_mutex_base): Likewise.
3587 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3590 * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
3591 implement EBO safely.
3592 (_Sp_counted_base::_M_get_deleter): Add noexcept.
3593 (_Sp_counter_ptr): Use noexcept instead of comments.
3594 (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
3595 (_Sp_counted_ptr_inplace): Likewise.
3596 * testsuite/20_util/shared_ptr/cons/51365.cc: New.
3597 * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
3598 custom allocator and test construction with custom allocator.
3599 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
3602 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
3604 * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust
3605 dialect to -std=gnu++11.
3607 2013-04-26 François Dumont <fdumont@gcc.gnu.org>
3609 * include/bits/hashtable_policy.h
3610 (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
3611 * testsuite/23_containers/unordered_set/insert/move_range.cc: New.
3613 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
3615 * include/c_global/cstdio (gets): Provide only in C++98 and C++11.
3616 * include/c_std/cstdio (gets): Likewise.
3617 * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust.
3619 2013-04-25 Paolo Carlini <paolo.carlini@oracle.com>
3622 * include/debug/unordered_map (unordered_map, unordered_multimap):
3623 Fix default allocator type.
3624 * include/profile/unordered_map (unordered_map, unordered_multimap):
3626 * include/bits/unordered_map.h: Fix comments.
3628 2013-04-24 Jonathan Wakely <jwakely.gcc@gmail.com>
3631 * libsupc++/exception_ptr.h (copy_exception): Deprecate and
3632 move implementation to make_exception_ptr.
3633 * include/std/future (_State_base::_M_break_promise): Replace
3634 copy_exception with make_exception_ptr.
3635 * testsuite/18_support/exception_ptr/move.cc: Likewise.
3636 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
3637 * testsuite/30_threads/future/members/get2.cc: Likewise.
3638 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
3639 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
3640 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
3641 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
3643 2013-04-22 Jason Merrill <jason@redhat.com>
3645 * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h.
3647 * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
3648 substitution" lines.
3650 * testsuite/20_util/is_assignable/value.cc: Comment out tests involving
3652 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
3653 * testsuite/20_util/reference_wrapper/result_type.cc: Likewise.
3654 * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
3656 2013-04-22 François Dumont <fdumont@gcc.gnu.org>
3658 * include/bits/hashtable_policy.h: Add C++11 allocator support.
3659 * include/bits/hashtable.h: Likewise.
3660 * include/bits/unordered_set.h: Likewise.
3661 * include/bits/unordered_map.h: Likewise.
3662 * include/debug/unordered_set: Likewise.
3663 * include/debug/unordered_map: Likewise.
3664 * include/std/unordered_set: Remove bits/algobase.h
3665 include. Replace bits/alloc_traits.h by ext/alloc_traits.h.
3666 * include/std/unordered_map: Likewise.
3667 * include/ext/throw_allocator.h: Add checks on calls to allocator
3669 (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw.
3670 (std::hash<__gnu_cxx::throw_value_random>): Likewise.
3671 * testsuite/util/regression/rand/priority_queue
3672 /container_rand_regression_test.tcc: Adapt.
3673 * testsuite/util/regression/rand/assoc
3674 /container_rand_regression_test.tcc: Likewise.
3675 * testsuite/util/testsuite_counter_type.h: Add count of destructors.
3676 * testsuite/23_containers/unordered_set
3677 /not_default_constructible_hash_neg.cc: Adjust dg-error line number.
3678 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
3679 * testsuite/23_containers/unordered_set/allocator/copy.cc: New.
3680 * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New.
3681 * testsuite/23_containers/unordered_set/allocator/minimal.cc: New.
3682 * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New.
3683 * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New.
3684 * testsuite/23_containers/unordered_set/allocator/swap.cc: New.
3685 * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New.
3686 * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc:
3688 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New.
3689 * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
3691 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New.
3692 * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New.
3693 * testsuite/23_containers/unordered_map/allocator/copy.cc: New.
3694 * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New.
3695 * testsuite/23_containers/unordered_map/allocator/minimal.cc: New.
3696 * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New.
3697 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
3699 * testsuite/23_containers/unordered_map/allocator/swap.cc: New.
3700 * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New.
3701 * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc:
3703 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New.
3704 * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
3706 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New.
3707 * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New.
3709 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3711 * include/std/type_traits (is_signed): Simplify.
3712 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3713 Adjust dg-error line numbers.
3714 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3716 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3718 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3721 * include/std/complex (complex<float>::real, complex<float>::imag,
3722 complex<double>::real, complex<double>::imag,
3723 complex<long double>::real, complex<long double>::imag): Declare
3724 as const member functions.
3725 * include/std/type_traits (integral_constant<>::operator value_type):
3728 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3731 * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment.
3732 * testsuite/25_algorithms/pop_heap/57010.cc: New.
3734 2013-04-21 Evgeniy Stepanov <eugenis@google.com>
3736 * src/c++11/system_error.cc (generic_category_instance): Add
3738 (system_category_instance): Likewise.
3739 * src/c++11/future.cc (__fec): Likewise.
3741 2013-04-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3743 * doc/xml/manual/extensions.xml: Fix anachronism.
3745 2013-04-09 Tom Tromey <tromey@redhat.com>
3747 * configure, config.h.in: Rebuild.
3748 * configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for
3750 * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
3752 2013-04-09 Uros Bizjak <ubizjak@gmail.com>
3754 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
3756 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
3758 * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
3760 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3762 * include/Makefile.am: Add ext/aligned_buffer.h
3763 * include/Makefile.in: Regenerate.
3764 * include/ext/aligned_buffer.h: New.
3765 * include/std/future (_Result): Use __aligned_buffer.
3766 * include/bits/forward_list.h (_Fwd_list_node): Likewise.
3767 * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
3768 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
3771 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3773 * include/bits/forward_list.h: Only include required headers.
3774 (forward_list::reference): Define directly, not using __alloc_traits.
3775 (forward_list::const_reference): Likewise.
3777 2013-04-07 François Dumont <fdumont@gcc.gnu.org>
3779 * include/std/functional (_Derives_from_unary_function): Remove.
3780 (_Derives_from_binary_function): Remove.
3781 * include/std/type_traits (__sfinae_types): Remove.
3782 (__is_assignable_helper): Adapt.
3783 (__is_convertible_helper): Adapt.
3784 (_GLIBCXX_HAS_NESTED_TYPE): Adapt.
3785 Remove several explicit instantiations of integral_constant.
3786 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
3787 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3788 Adapt dg-error line number.
3789 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3791 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3792 * testsuite/20_util/bind/ref_neg.cc: Likewise.
3794 2013-04-05 Jonathan Wakely <jwakely.gcc@gmail.com>
3797 * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
3798 get_terminate() accessors.
3799 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
3800 * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
3802 * libsupc++/new_handler.cc: Likewise.
3804 2013-04-04 Jonathan Wakely <jwakely.gcc@gmail.com>
3806 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
3808 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
3811 * include/debug/array (tuple_size, tuple_element): Do not declare.
3812 * include/profile/array: Likewise.
3813 * testsuite/23_containers/array/tuple_interface/
3814 tuple_element_debug_neg.cc: Adjust dg-error line number.
3816 2013-04-03 Jonathan Wakely <jwakely.gcc@gmail.com>
3818 * libsupc++/exception (get_terminate(), get_unexpected()): Declare.
3819 * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
3821 (set_terminate(terminate_handler)): Set atomically.
3822 (set_unexpected(terminate_handler)): Likewise.
3823 * libsupc++/new (get_new_handler()): Declare.
3824 * libsupc++/new_handler.cc (get_new_handler()): Define.
3825 (set_new_handler(new_handler)): Set atomically.
3826 (__new_handler): Use internal linkage.
3827 * libsupc++/new_op.cc (operator new): Use get_new_handler().
3828 * libsupc++/new_opnt.cc (operator new): Likewise.
3829 * acinclude.m4: Bump libtool_VERSION to 6:19:0.
3830 * configure: Regenerate.
3831 * libsupc++/Makefile.am: Compile above files with -std=gnu++11.
3832 * libsupc++/Makefile.in: Regenerate.
3833 * config/abi/pre/gnu.ver: Add new exports.
3834 * doc/xml/manual/status_cxx2011.xml: Update.
3835 * testsuite/18_support/headers/exception/synopsis.cc: Check accessors
3837 * testsuite/18_support/headers/new/synopsis.cc: Likewise.
3838 * testsuite/18_support/new_handler.cc: New.
3839 * testsuite/18_support/terminate_handler.cc: New.
3840 * testsuite/18_support/unexpected_handler.cc: New.
3842 2013-04-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3844 * doc/xml/manual/appendix_contributing.xml: Remove broken link and
3845 defer to general documentation on contributing to GCC.
3846 * doc/html/*: Regenerate.
3848 2013-03-30 Gerald Pfeifer <gerald@pfeifer.com>
3850 * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.
3852 * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
3855 * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
3857 * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
3859 * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
3861 * doc/xml/manual/messages.xml: Adjust link to Java API specs.
3863 * doc/xml/manual/policy_data_structures: Remove direct link to
3864 IBM Haifa Research Labs.
3866 * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
3867 for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
3869 * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
3872 * doc/xml/manual/shared_ptr.xml: Use canonical address for
3875 2013-03-27 Kai Tietz <ktietz@redhat.com>
3877 * crossconfig.m4: Add support for cygwin x64 target.
3878 * configure: Regenerated.
3880 2013-03-25 Kai Tietz <ktietz@redhat.com>
3882 * testsuite/18_support/50594.cc: For mingw-targets use only static
3884 * testsuite/19_diagnostics/error_category/operators/equal.cc
3885 * testsuite/19_diagnostics/error_code/cons/1.cc
3886 * testsuite/19_diagnostics/error_code/operators/bool.cc
3887 * testsuite/19_diagnostics/error_code/operators/equal.cc
3888 * testsuite/19_diagnostics/error_code/operators/not_equal.cc
3889 * testsuite/19_diagnostics/error_condition/cons/1.cc
3890 * testsuite/19_diagnostics/error_condition/operators/bool.cc
3891 * testsuite/19_diagnostics/error_condition/operators/equal.cc
3892 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc
3893 * testsuite/23_containers/set/requirements/exception/basic.cc
3894 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc
3895 * testsuite/lib/dg-options.exp (dg-additional-options): New option.
3897 2013-03-24 Jonathan Wakely <jwakely.gcc@gmail.com>
3900 * include/ext/debug_allocator.h (debug_allocator): Add missing members
3901 to meet allocator requirements.
3902 * testsuite/ext/debug_allocator/56170.cc: New.
3904 2013-03-22 Paolo Carlini <paolo.carlini@oracle.com>
3907 * include/std/chrono (__is_ratio): Uglify T.
3909 2013-03-18 Paolo Carlini <paolo.carlini@oracle.com>
3911 PR libstdc++/55977 (partial, std::vector and std::deque bits)
3912 * include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
3913 _InputIterator, std::input_iterator_tag)): Use emplace_back.
3914 * include/bits/deque.tcc (_M_range_initialize(_InputIterator,
3915 _InputIterator, std::input_iterator_tag)): Likewise.
3916 * testsuite/23_containers/vector/cons/55977.cc: New.
3917 * testsuite/23_containers/deque/cons/55977.cc: Likewise.
3918 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3919 Adjust dg-error line number.
3920 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3923 2013-03-17 Paolo Carlini <paolo.carlini@oracle.com>
3926 * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator,
3927 _InputIterator, __false_type)): Use emplace_back.
3928 * testsuite/23_containers/list/cons/55979.cc: New.
3929 * testsuite/23_containers/list/modifiers/1.h: Adjust.
3930 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3931 Adjust dg-error line number.
3933 2013-03-16 Jason Merrill <jason@redhat.com>
3936 * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move.
3938 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3941 * libsupc++/exception_ptr.h (type_info): Declare.
3943 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3946 * include/std/mutex (lock_guard, unique_lock, lock): Define without
3947 depending on _GLIBCXX_HAS_GTHREADS.
3948 * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
3950 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3953 * include/std/future (__future_base::_Result): Add result_type
3955 (__future_base::_S_allocate_result): Overload for std::allocator.
3956 (__future_base::_Task_setter): Use _Result::result_type instead of
3957 deducing the type from the task.
3958 (__future_base::_Task_state): Store allocator to allow shared state
3959 to be reset. Replace std::function with member of target object type
3961 (__future_base::_Task_state_base): New abstract base class.
3962 (__future_base::_Task_state_base::_M_run): New virtual function to
3963 invoke type-erased target object.
3964 (__future_base::_Task_state_base::_M_reset): New virtual function to
3965 create new shared_state using same target object and allocator.
3966 (__future_base::__create_task_state): Allocate a new _Task_state.
3967 (packaged_task::packaged_task): Use __create_task_state.
3968 (packaged_task::reset): Use _Task_state_base::_M_reset.
3969 * testsuite/30_threads/packaged_task/cons/56492.cc: New.
3971 2013-03-15 Tom Tromey <tromey@redhat.com>
3973 * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
3974 (PROBE2): New macro.
3975 * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
3976 * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
3977 * configure.ac: Check for sys/sdt.h.
3978 * configure, config.h.in: Rebuild.
3980 2013-03-14 Jonathan Wakely <jwakely.gcc@gmail.com>
3983 * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
3984 allocator_traits instead of calling construct directly.
3985 * testsuite/23_containers/map/56613.cc: New.
3987 2013-03-13 Benjamin Kosnik <bkoz@redhat.com>
3989 * doc/html/*: Regenerate.
3991 2013-03-13 Paolo Carlini <paolo.carlini@oracle.com>
3994 * include/std/type_traits (is_fundamental): Add std::nullptr_t.
3995 * testsuite/20_util/is_fundamental/value.cc: Extend.
3996 * testsuite/20_util/is_compound/value.cc: Likewise.
3998 2013-03-09 Paolo Carlini <paolo.carlini@oracle.com>
4000 * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
4003 2013-03-08 Benjamin Kosnik <bkoz@redhat.com>
4005 * include/bits/memoryfwd.h: New. Centralize forward declarations.
4006 * include/bits/algorithmfwd.h: Consistent comments.
4007 * include/bits/localefwd.h: Same.
4008 * include/ext/vstring_fwd.h: Same.
4009 * include/parallel/algorithmfwd.h: Same.
4010 * include/parallel/numericfwd.h: Same.
4011 * include/std/iosfwd: Same.
4013 * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator
4015 * include/ext/alloc_traits.h: Remove allocator forward decl.
4016 * include/bits/stl_construct.h: Same.
4017 * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator
4018 forward decl. Consistent comments.
4020 * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO.
4022 * include/Makefile.am (bits_headers): Add memoryfwd.h.
4023 * include/Makefile.in: Regenerate.
4026 2013-03-08 François Dumont <fdumont@gcc.gnu.org>
4028 * include/bits/vector.tcc (vector<>operator=(const vector<>&):
4029 Reset pointers after deallocation when memory can be reused.
4030 * testsuite/23_containers/vector/allocator/minimal.cc: Insert
4031 elements to really challenge C++11 allocator integration.
4032 * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
4033 * testsuite/23_containers/vector/allocator/copy_assign.cc:
4035 * testsuite/23_containers/vector/allocator/move_assign.cc:
4037 * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
4038 swap vector back before checks on memory/personality mapping are
4040 * testsuite/23_containers/forward_list/allocator/minimal.cc:
4041 Insert element to really challenge C++11 allocator integration.
4042 * testsuite/23_containers/forward_list/allocator/copy.cc:
4044 * testsuite/23_containers/forward_list/allocator/copy_assign.cc:
4046 * testsuite/23_containers/forward_list/allocator/move_assign.cc:
4048 * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
4049 and swap forward_list back before checks on memory/personality
4050 mapping are performed.
4052 2013-03-07 Jakub Jelinek <jakub@redhat.com>
4054 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
4055 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
4056 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
4058 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
4059 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
4060 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
4061 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
4062 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
4063 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
4065 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4067 * scripts/extract_symvers.pl: Omit symbols bound to base
4069 * scripts/extract_symvers.in: Likewise.
4070 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
4071 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
4072 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
4073 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
4074 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
4076 2013-03-04 Ulrich Drepper <drepper@gmail.com>
4078 * include/ext/random (__gnu_cxx::von_mises_distribution<>):
4079 Optimize generation function by pulling computation of __r into the
4080 constructor for param_type. Also compare _M_mu in operator==.
4083 2013-03-02 Ulrich Drepper <drepper@gmail.com>
4085 Add triangular and von Mises distributions.
4086 * include/ext/random: Include <ext/cmath>.
4087 Add __gnu_cxx::triangular_distribution<> and
4088 __gnu_cxx::von_mises_distribution<> classes.
4089 * include/ext/random.tcc: Add out-of-line functions for
4090 __gnu_cxx::triangular_distribution<> and
4091 __gnu_cxx::von_mises_distribution<>.
4092 * testsuite/ext/triangular_distribution/cons/default.cc: New file.
4093 * testsuite/ext/triangular_distribution/cons/parms.cc: New file.
4094 * testsuite/ext/triangular_distribution/operators/serialize.cc:
4096 * testsuite/ext/triangular_distribution/operators/equal.cc:
4098 * testsuite/ext/triangular_distribution/operators/inequal.cc:
4100 * testsuite/ext/triangular_distribution/requirements/typedefs.cc:
4102 * testsuite/ext/triangular_distribution/requirements/
4103 explicit_instantiation/1.cc: New file.
4104 * testsuite/ext/von_mises_distribution/cons/default.cc: New file.
4105 * testsuite/ext/von_mises_distribution/cons/parms.cc: New file.
4106 * testsuite/ext/von_mises_distribution/operators/serialize.cc:
4108 * testsuite/ext/von_mises_distribution/operators/equal.cc: New file.
4109 * testsuite/ext/von_mises_distribution/operators/inequal.cc:
4111 * testsuite/ext/von_mises_distribution/requirements/typedefs.cc:
4113 * testsuite/ext/von_mises_distribution/requirements/
4114 explicit_instantiation/1.cc: New file.
4117 * include/Makefile.am (ext_headers): Add cmath.
4118 * include/Makefile.in: Regenerated.
4119 * include/ext/cmath: New file.
4121 2013-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4123 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
4124 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
4125 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
4126 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
4127 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
4129 2013-02-26 Jonathan Wakely <jwakely.gcc@gmail.com>
4132 * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
4133 * testsuite/29_atomics/atomic/operators/56012.cc: New.
4136 * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
4138 * testsuite/29_atomics/atomic/operators/56011.cc: New.
4140 2013-02-25 Jason Merrill <jason@redhat.com>
4142 * configure.ac: Check for __cxa_thread_atexit_impl.
4143 * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
4145 * config.h.in, configure: Regenerate.
4147 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4149 * include/std/streambuf (basic_streambuf): Use injected class name
4150 instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
4153 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4155 * doc/html/faq.html: Fix spelling.
4156 * doc/xml/faq.xml: Likewise.
4157 * include/bits/basic_ios.h: Likewise.
4158 * include/bits/regex.h: Likewise.
4159 * include/std/istream: Likewise.
4160 * include/std/streambuf: Likewise.
4162 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4164 * testsuite/23_containers/unordered_set/55043.cc: Add missing
4165 namespace qualification.
4166 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
4168 2013-02-19 Benjamin Kosnik <bkoz@redhat.com>
4170 * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
4171 _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
4172 AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
4173 * include/bits/stl_pair.h: Add to utilities group.
4174 * include/std/tuple: Same.
4175 * include/std/typeindex: Same.
4177 * include/bits/stringfwd.h: Fix markup.
4178 * include/std/limits: Same.
4179 * include/std/type_traits: Same.
4180 * include/tr1/memory: Same.
4181 * include/tr1/regex: Same.
4182 * scripts/run_doxygen: Comment.
4183 * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
4185 2013-02-14 Jason Merrill <jason@redhat.com>
4187 * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
4188 test if unsupported.
4190 2013-02-13 Marc Glisse <marc.glisse@inria.fr>
4193 * include/std/complex (complex): Undefine.
4194 * include/c_compatibility/complex.h (complex): Only undefine if
4195 <complex> has been included.
4196 * testsuite/26_numerics/complex/56111.cc: New testcase.
4198 2013-02-13 François Dumont <fdumont@gcc.gnu.org>
4200 * include/bits/hashtable_policy.h (_Hash_code_base): Restore
4201 default constructor protected.
4202 * include/bits/hashtable.h: static assert that _Hash_code_base has
4203 a default constructor available through inheritance.
4205 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
4207 * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
4210 2013-02-12 Julian Brown <julian@codesourcery.com>
4212 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
4213 Don't expect dots after abbreviated weekday names for ru_RU for
4214 glibc versions >= 2.17.
4215 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01):
4218 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
4220 * include/bits/random.tcc (__transform): Remove.
4222 (discrete_distribution<>::param_type::_M_initialize): Adjust.
4223 (piecewise_constant_distribution<>::param_type::_M_initialize):
4225 (piecewise_linear_distribution<>::param_type::_M_initialize):
4228 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
4230 * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
4231 Use -fimplicit-templates.
4232 * src/c++11/Makefile.in: Regenerate.
4233 * src/c++11/hashtable_c++0x.cc: Remove instantiation for
4234 std::lower_bound template.
4236 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
4238 * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
4239 * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only
4240 in C++11 mode and if available in the underlying C library.
4241 * testsuite/18_support/quick_exit/quick_exit.cc: Compile with
4242 -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and
4243 _GLIBCXX_HAVE_QUICK_EXIT.
4245 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
4247 * doc/html/*: Regenerate.
4249 2013-02-11 Jason Merrill <jason@redhat.com>
4251 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New.
4252 (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit.
4253 * config.h.in, configure: Regenerate.
4254 * include/c_std/cstdlib: Add atexit and at_quick_exit.
4255 * include/c_global/cstdlib: Add atexit and at_quick_exit.
4256 * testsuite/18_support/quick_exit/quick_exit.cc: New.
4258 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
4262 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
4265 * include/bits/basic_ios.h: Replace operator void*() const
4266 with explicit operator bool() const in C++11 and greater.
4267 * testsuite/27_io/basic_ios/pr56193.cc: New file.
4269 2013-02-10 François Dumont <fdumont@gcc.gnu.org>
4270 Jonathan Wakely <jwakely.gcc@gmail.com>
4272 * doc/xml/manual/containers.xml: Add section on unordered containers.
4273 * doc/xml/manual/using.xml: Fix incomplete sentence.
4275 2013-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
4278 * include/bits/hashtable.h (__cache_default): Check if hash function
4280 * testsuite/23_containers/unordered_set/56267.cc: New.
4281 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
4282 dg-error line number.
4283 * testsuite/23_containers/unordered_set/
4284 not_default_constructible_hash_neg.cc: Likewise.
4287 * include/bits/hashtable_policy.h (_Hash_code_base): Make default
4289 * testsuite/23_containers/unordered_set/56278.cc: New.
4291 2013-02-09 François Dumont <fdumont@gcc.gnu.org>
4293 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
4296 2013-02-08 Edward Smith-Rowland <3dw4rd@verizon.net>
4299 * include/tr1/special_function_util.h: Remove spurious const
4300 from numeric arguments.
4301 * include/tr1/riemann_zeta.tcc: Likewise.
4302 * include/tr1/exp_integral.tcc: Likewise.
4303 * include/tr1/bessel_function.tcc: Likewise.
4304 * include/tr1/hypergeometric.tcc: Likewise.
4305 * include/tr1/modified_bessel_func.tcc: Likewise.
4306 * include/tr1/poly_laguerre.tcc: Likewise.
4307 * include/tr1/gamma.tcc: Likewise.
4308 * include/tr1/legendre_function.tcc: Likewise.
4309 * include/tr1/poly_hermite.tcc: Likewise.
4310 * include/tr1/ell_integral.tcc: Likewise.
4311 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
4312 If argument is zero return function value.
4313 * testsuite/tr1/5_numerical_facilities/special_functions/
4314 08_cyl_bessel_i/pr56216.cc: New.
4316 2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
4318 * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
4320 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
4323 * include/bits/basic_ios.h: Replace operator void*() const
4324 with explicit operator bool() const in C++11 and greater.
4325 * testsuite/27_io/basic_ios/pr56193.cc: New file.
4327 2013-02-04 Dodji Seketeli <dodji@redhat.com>
4329 Add missing explicit instantiation for std::lower_bound template
4330 * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
4331 missing instantiation for std::lower_bound template.
4333 2013-02-04 François Dumont <fdumont@gcc.gnu.org>
4335 * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
4336 * include/bits/basic_string.h: Specialize previous to mark
4337 std::hash for string types as slow.
4338 * include/bits/hashtable.h (__cache_default): Replace is_integral
4339 with __is_fast_hash.
4340 * src/c++11/hash_c++0x.cc: Add type_traits include.
4341 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
4342 Adapt dg-error line number.
4343 * testsuite/23_containers/unordered_set/
4344 not_default_constructible_hash_neg.cc: Likewise.
4346 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
4347 Paolo Carlini <paolo.carlini@oracle.com>
4349 PR libstdc++/56202 (again)
4350 * include/bits/random.tcc (binomial_distribution<>::
4351 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
4354 * include/bits/random.h: Fix comment typo.
4356 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
4357 Paolo Carlini <paolo.carlini@oracle.com>
4360 * include/bits/random.tcc (binomial_distribution<>::
4361 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
4364 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
4366 Update copyright years.
4367 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
4368 testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
4369 testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
4370 testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
4371 testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
4372 testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
4373 testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
4374 testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
4375 testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
4376 testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
4377 testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
4378 testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
4379 testsuite/29_atomics/atomic/cons/assign_neg.cc,
4380 testsuite/29_atomics/atomic/cons/copy_neg.cc,
4381 testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
4382 testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
4383 testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
4384 testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
4385 testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
4386 Update lines in dg error matches.
4388 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
4390 * config/os/mingw32/ctype_inline.h: Fix copyright typo.
4392 2013-02-01 François Dumont <fdumont@gcc.gnu.org>
4394 * include/bits/hashtable_policy.h
4395 (_Prime_rehash_policy::_M_next_bkt)
4396 (_Prime_rehash_policy::_M_need_rehash): Move definition...
4397 * src/c++11/hashtable_c++0x.cc: ... here.
4398 * src/shared/hashtable-aux.cc: Remove c++config.h include.
4399 * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
4402 2013-01-29 Jason Merrill <jason@redhat.com>
4405 * config/abi/pre/gnu.ver: Don't export construction vtables.
4406 * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
4408 2013-01-28 Jonathan Wakely <jwakely.gcc@gmail.com>
4411 * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
4412 to construct value_type explicitly before trying to extract the key.
4413 * testsuite/23_containers/unordered_map/cons/56112.cc: New.
4415 2013-01-28 François Dumont <fdumont@gcc.gnu.org>
4417 * include/bits/hashtable_policy.h (_Local_iterator_base): Use
4418 _Hashtable_ebo_helper to embed functors into the local_iterator
4419 when necessary. Pass information about functors involved in hash
4421 * include/bits/hashtable.h (__cache_default): Do not cache for
4422 builtin integral types unless the hash functor is not noexcept
4423 qualified or is not default constructible. Adapt static assertions
4424 and local iterator instantiations.
4425 * include/debug/unordered_set
4426 (std::__debug::unordered_set<>::erase): Detect local iterators to
4427 invalidate using contained node rather than generating a dummy
4428 local_iterator instance.
4429 (std::__debug::unordered_multiset<>::erase): Likewise.
4430 * include/debug/unordered_map
4431 (std::__debug::unordered_map<>::erase): Likewise.
4432 (std::__debug::unordered_multimap<>::erase): Likewise.
4433 * testsuite/performance/23_containers/insert_erase/41975.cc: Test
4434 std::tr1 and std versions of unordered_set regardless of any
4435 macro. Add test on default cache behavior.
4436 * testsuite/performance/23_containers/insert/54075.cc: Likewise.
4437 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
4439 * testsuite/23_containers/unordered_set/
4440 not_default_constructible_hash_neg.cc: New.
4441 * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
4443 2013-01-24 Paolo Carlini <paolo.carlini@oracle.com>
4446 * include/std/complex (pow(const complex<>&, int)): Avoid __n
4449 2013-01-22 Jakub Jelinek <jakub@redhat.com>
4451 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
4452 Tightten scan-assembler-times regexps, add dg-additional-options for
4453 ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
4456 2013-01-12 Andi Kleen <ak@linux.intel.com>
4457 Jonathan Wakely <jwakely.gcc@gmail.com>
4460 * include/bits/atomic_base.h (__memory_order_modifier): Add
4461 __memory_order_mask, __memory_order_modifier_mask,
4462 __memory_order_hle_acquire, __memory_order_hle_release.
4463 (operator|,operator&): Add.
4464 (__cmpexch_failure_order): Rename to __cmpexch_failure_order2.
4465 (__cmpexch_failure_order): Add.
4466 (clear, store, load, compare_exchange_weak, compare_exchange_strong):
4468 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
4471 2013-01-19 Jonathan Wakely <jwakely.gcc@gmail.com>
4474 * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
4476 (__basic_future::_M_get_result()): Const qualify.
4477 (shared_future::get()): Likewise.
4478 * testsuite/30_threads/shared_future/members/get.cc: Use const
4481 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
4483 PR libstdc++/55043 (again)
4484 * include/bits/alloc_traits.h (allocator_traits::construct): Disable
4485 unless construction would be well-formed.
4486 (__allow_copy_cons, __check_copy_constructible): Define.
4487 * include/bits/unordered_map.h (__check_copy_constructible): Use as
4488 base class so copy constructor will be deleted if appropriate.
4489 (is_copy_constructible): Remove specialization.
4490 * include/bits/unordered_set.h: Likewise.
4491 * include/debug/unordered_map.h: Undo previous commit. Default copy
4492 and move constructors.
4493 * include/debug/unordered_set.h: Likewise.
4494 * include/profile/unordered_map.h: Undo previous commit.
4495 * include/profile/unordered_set.h: Likewise.
4496 * testsuite/23_containers/unordered_map/55043.cc: Fix test.
4497 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
4498 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
4499 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
4500 * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
4501 cannot support incomplete types.
4502 * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
4505 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
4508 * include/std/unordered_map: Include alloc_traits.h
4509 * include/std/unordered_set: Likewise.
4510 * include/bits/alloc_traits.h: Define __is_copy_insertable.
4511 * include/bits/unordered_map.h: Use it.
4512 * include/bits/unordered_set.h: Likewise.
4513 * include/debug/unordered_map.h: Likewise.
4514 * include/debug/unordered_set.h: Likewise.
4515 * include/profile/unordered_map.h: Likewise.
4516 * include/profile/unordered_set.h: Likewise.
4517 * include/bits/hashtable.h: Fix comment typos.
4518 * testsuite/23_containers/unordered_map/55043.cc: New.
4519 * testsuite/23_containers/unordered_multimap/55043.cc: New.
4520 * testsuite/23_containers/unordered_multiset/55043.cc: New.
4521 * testsuite/23_containers/unordered_set/55043.cc: New.
4523 2013-01-03 Janis Johnson <janisjo@codesourcery.com>
4525 * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
4528 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
4530 * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
4532 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
4535 * include/std/functional (_Mem_fn::operator()): Fix constraints to
4537 * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
4538 * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
4540 2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4543 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
4545 * configure: Regenerate.
4547 2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com>
4550 * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
4551 * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
4555 * include/std/functional (bad_function_call::what()): Declare.
4556 * src/c++11/functional.cc (bad_function_call::what()): Define.
4557 * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
4558 * testsuite/20_util/bad_function_call/what.cc: New.
4560 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
4562 * include/bits/unordered_map.h: Fix typo in comments.
4563 * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
4564 counts for unordered associative containers.
4566 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
4568 * doc/xml/manual/abi.xml: Update library and symbol versions.
4570 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
4572 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
4574 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
4577 Copyright (C) 2013 Free Software Foundation, Inc.
4579 Copying and distribution of this file, with or without modification,
4580 are permitted in any medium without royalty provided the copyright
4581 notice and this notice are preserved.