]>
Commit | Line | Data |
---|---|---|
37ea0d87 DN |
1 | 2013-10-15 Diego Novillo <dnovillo@google.com> |
2 | ||
3 | * testsuite/20_util/exchange/1.cc: Add missing function | |
4 | bodies. | |
5 | ||
96937d47 TS |
6 | 2013-10-15 Tim Shen <timshen91@gmail.com> |
7 | ||
8 | PR libstdc++/58737 | |
9 | * include/bits/regex_automaton.h (_Automaton<>::~_Automaton): Fix memory | |
10 | leak by adding it. | |
11 | * include/bits/regex_executor.h (_Executor<>::~_Executor): Likewise. | |
12 | ||
39aeb94e L |
13 | 2013-10-11 H.J. Lu <hongjiu.lu@intel.com> |
14 | ||
15 | * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update. | |
16 | ||
000ebb92 MS |
17 | 2013-10-10 Marcus Shawcroft <marcus.shawcroft@arm.com> |
18 | ||
19 | * testsuite/29_atomics/atomic/cons/49445.cc | |
20 | (dg-require-atomic-builtins): Add. | |
21 | ||
fd673f29 JW |
22 | 2013-10-09 Jonathan Wakely <jwakely.gcc@gmail.com> |
23 | ||
24 | * testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of | |
25 | aborting. | |
26 | ||
57b48998 MS |
27 | 2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com> |
28 | ||
29 | * testsuite/20_util/shared_ptr/cons/58659.cc: Use __builtin_abort(). | |
30 | ||
9ae63018 JW |
31 | 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
32 | ||
33 | * testsuite/*: Remove stray semi-colons after function definitions. | |
34 | ||
61bf02e0 JW |
35 | 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
36 | ||
37 | PR libstdc++/58659 | |
38 | * include/bits/shared_ptr_base.h (__shared_count::__shared_count(P,D)): | |
39 | Delegate to constructor taking allocator. | |
40 | (__shared_count::_S_create_from_up): Inline into ... | |
41 | (__shared_count::__shared_count(unique_ptr<Y,D>&&): Here. Use | |
42 | std::conditional instead of constrained overloads. Allocate memory | |
43 | using the allocator type that will be used for deallocation. | |
44 | * testsuite/20_util/shared_ptr/cons/58659.cc: New. | |
45 | * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust. | |
46 | ||
18971f1f TS |
47 | 2013-10-08 Tim Shen <timshen91@gmail.com> |
48 | ||
49 | * include/bits/regex_executor.h: Add _TodoList class. | |
50 | * include/bits/regex_executor.tcc (_BFSExecutor<>::_M_main): Add | |
51 | _M_match_stack and _M_stack to make everything faster. Break if | |
52 | _M_stack is empty, to reduce unnecessary idling. | |
53 | * testsuite/performance/28_regex/split.cc: New. | |
54 | ||
6cb43087 TS |
55 | 2013-10-06 Tim Shen <timshen91@gmail.com> |
56 | ||
57 | * include/bits/regex.h: (regex_token_iterator<>::regex_token_iterator): | |
58 | Fix compile error. | |
59 | * include/bits/regex.tcc: (regex_replace<>): Remove default parameter. | |
60 | ||
61 | 2013-10-06 Tim Shen <timshen91@gmail.com> | |
62 | ||
63 | * include/bits/regex.h (__regex_algo_impl<>, regex_match<>, | |
64 | regex_search<>): New abstract function for regex_match and regex_search. | |
65 | * include/bits/regex.tcc (__regex_algo_impl<>): Implement. | |
66 | * include/bits/regex_executor.h | |
67 | (_Executor<>::_M_lookahead, | |
68 | _DFSExecutor<>::_M_clone, | |
69 | _BFSExecutor<>::_M_clone): Let _M_clone to choose which executor to | |
70 | use. | |
71 | * include/bits/regex_executor.tcc (__get_executor<>): Update the | |
72 | definition to support __policy. | |
73 | * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: Use | |
74 | *_debug. | |
75 | * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: Same. | |
76 | * testsuite/28_regex/algorithms/regex_match/basic/string_01.cc: Same. | |
77 | * testsuite/28_regex/algorithms/regex_match/basic/string_range_00_03.cc: | |
78 | Same. | |
79 | * testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc: | |
80 | Same. | |
81 | * testsuite/28_regex/algorithms/regex_match/basic/string_range_02_03.cc: | |
82 | Same. | |
83 | * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc: Same. | |
84 | * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc: Same. | |
85 | * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: Same. | |
86 | * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc: | |
87 | Same. | |
88 | * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: Same. | |
89 | * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc: | |
90 | Same. | |
91 | * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc: | |
92 | Same. | |
93 | * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: Same. | |
94 | * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc: | |
95 | Same. | |
96 | * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc: | |
97 | Same. | |
98 | * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: Same. | |
99 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
100 | string_bracket_01.cc: Same. | |
101 | * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc: | |
102 | Same. | |
103 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
104 | string_questionmark.cc: Same. | |
105 | * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc: | |
106 | Same. | |
107 | * testsuite/28_regex/algorithms/regex_match/extended/string_any.cc: | |
108 | Same. | |
109 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
110 | string_dispatch_01.cc: Same. | |
111 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
112 | string_range_00_03.cc: Same. | |
113 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
114 | string_range_01_03.cc: Same. | |
115 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
116 | string_range_02_03.cc: Same. | |
117 | * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc: | |
118 | Same. | |
119 | * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: Same. | |
120 | * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: Same. | |
121 | * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: Same. | |
122 | * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Same. | |
123 | * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: Same. | |
124 | * testsuite/28_regex/match_results/format.cc: Same. | |
125 | * testsuite/util/testsuite_regex.h | |
126 | (regex_match_debug<>, regex_search_debug<>): Implement. | |
127 | ||
c3ddbdce OE |
128 | 2013-10-06 Oleg Endo <olegendo@gcc.gnu.org> |
129 | Paolo Carlini <paolo.carlini@oracle.com> | |
130 | ||
131 | PR libstdc++/58625 | |
132 | * include/c_global/cmath (signbit): Use __builtin_signbitf and | |
133 | __builtin_signbitl. | |
134 | ||
468146e0 TS |
135 | 2013-10-03 Tim Shen <timshen91@gmail.com> |
136 | ||
137 | * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs): Fix wrong | |
138 | backup variable initialization. | |
139 | ||
d358f348 JW |
140 | 2013-10-03 John Woolverton <jdwoolverton@gmail.com> |
141 | ||
142 | PR libstdc++/58604 | |
143 | * include/std/vector: Fix garbled line in HP Copyright. | |
144 | ||
fc7657bb MG |
145 | 2013-10-03 Marc Glisse <marc.glisse@inria.fr> |
146 | ||
147 | * libsupc++/del_op.cc (operator delete): Don't test for 0 before free. | |
148 | * libsupc++/del_opnt.cc (free): Only declare if freestanding. | |
149 | (operator delete): Qualify free with std::. | |
150 | ||
44d209d7 JW |
151 | 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com> |
152 | Daniel Krugler <daniel.kruegler@gmail.com> | |
153 | ||
154 | PR libstdc++/58569 | |
155 | * include/std/functional (function::_CheckResult): Move to namespace | |
156 | scope and rename to __check_func_return_type. | |
157 | * testsuite/20_util/function/58569.cc: New. | |
158 | ||
3fd113d7 JW |
159 | 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com> |
160 | ||
161 | PR libstdc++/58594 | |
162 | * include/bits/shared_ptr_base.h | |
163 | (_Sp_counted_ptr_inplace::_M_get_deleter()): Cast away cv-quals. | |
164 | * testsuite/20_util/shared_ptr/creation/58594.cc: New. | |
165 | ||
756aa0c3 TS |
166 | 2013-10-02 Tim Shen <timshen91@gmail.com> |
167 | ||
168 | * include/bits/regex_compiler.h | |
169 | (_BracketMatcher<>::_M_add_equivalence_class): Implement it correctly. | |
170 | * include/bits/regex_compiler.tcc (_BracketMatcher<>::operator()): | |
171 | Add _M_equiv_set support. | |
172 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
173 | cstring_bracket_01.cc: Add new "[[=a=]]" testcase. | |
174 | ||
c877c342 TS |
175 | 2013-10-01 Tim Shen <timshen91@gmail.com> |
176 | ||
177 | * doc/xml/manual/status_cxx2011.xml: Change "is not implemented" to | |
178 | "is not correctly implemented". | |
179 | ||
7d48a109 TS |
180 | 2013-10-01 Tim Shen <timshen91@gmail.com> |
181 | ||
182 | * doc/xml/manual/status_cxx2011.xml: Update regex status. | |
183 | * include/bits/regex.h (match_results<>::begin, | |
184 | match_results<>::cbegin, match_results<>::end, match_results<>::cend): | |
185 | [28.10.3.13], [28.10.3.14] Always iterate the range [0, size()-2). | |
186 | ||
089ccc04 FD |
187 | 2013-10-01 François Dumont <fdumont@gcc.gnu.org> |
188 | ||
189 | * include/parallel/algobase.h (mismatch, equal): Provide parallel | |
190 | version for N3671 overloads. | |
191 | ||
4167a189 PP |
192 | 2013-10-01 Paul Pluzhnikov <ppluzhnikov@google.com> |
193 | ||
194 | * src/c++11/snprintf_lite.cc: Add missing | |
195 | _GLIBCXX_{BEGIN,END}_NAMESPACE_VERSION | |
196 | ||
53426f6c JR |
197 | 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com> |
198 | ||
199 | * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Also check for | |
200 | _Unwind_SjLj_Register when deciding if to set enable_sjlj_exceptions. | |
201 | * configure: Regenerate. | |
202 | ||
70b50ed7 TS |
203 | 2013-10-01 Tim Shen <timshen91@gmail.com> |
204 | ||
205 | PR libstdc++/58576 | |
206 | * include/bits/regex_automaton.tcc (_NFA<>::_M_eliminate_dummy) | |
207 | (_StateSeq<>::_M_clone): Add _S_opcode_subexpr_lookahead branch. | |
208 | * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: New. | |
209 | ||
a5290694 PC |
210 | 2013-09-30 Paolo Carlini <paolo.carlini@oracle.com> |
211 | ||
212 | * include/parallel/algo.h (__find_switch): Use __binder2nd. | |
213 | ||
a10bad86 CJ |
214 | 2013-09-30 Chris Jefferson <chris@bubblescope.net> |
215 | ||
216 | PR libstdc++/58437 | |
217 | * include/bits/stl_algo.h (__move_median_first): Rename to | |
218 | __move_median_to_first, change to take an addition argument. | |
219 | (__unguarded_partition_pivot): Adjust. | |
220 | * testsuite/performance/25_algorithms/sort.cc: New. | |
221 | * testsuite/performance/25_algorithms/sort_heap.cc: Likewise. | |
222 | * testsuite/performance/25_algorithms/stable_sort.cc: Likewise. | |
223 | ||
3bd2644c FD |
224 | 2013-09-28 François Dumont <fdumont@gcc.gnu.org> |
225 | ||
226 | * include/bits/stl_algo.h (remove_copy, remove_copy_if): Declare | |
227 | inline. | |
228 | (rotate_copy, stable_partition, partial_sort_copy): Likewise. | |
229 | (lower_bound, upper_bound, equal_range, inplace_merge): Likewise. | |
230 | (includes, next_permutation, prev_permutation): Likewise. | |
231 | (replace_copy, replace_copy_if, is_sorted_until): Likewise. | |
232 | (minmax_element, is_permutation, adjacent_find): Likewise. | |
233 | (count, count_if, search, search_n, merge): Likewise. | |
234 | (set_intersection, set_difference): Likewise. | |
235 | (set_symmetric_difference, min_element, max_element): Likewise. | |
236 | * include/bits/stl_algobase.h (lower_bound): Likewise. | |
237 | (lexicographical_compare, mismatch): Likewise. | |
238 | ||
8d60fca5 TS |
239 | 2013-09-28 Tim Shen <timshen91@gmail.com> |
240 | ||
241 | * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_posix): | |
242 | Let ordinary char escaping in POSIX be valid. | |
243 | * testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Test this | |
244 | change. | |
245 | ||
ea89b248 FD |
246 | 2013-09-27 François Dumont <fdumont@gcc.gnu.org> |
247 | ||
248 | * include/bits/predefined_ops.h: New. | |
249 | * include/bits/stl_heap.h: Include <bits/predefined_ops.h>. | |
250 | (__is_heap_until, __push_heap, __adjust_heap, __pop_heap): Remove | |
251 | algo duplication. | |
252 | (__is_heap): Adapt. | |
253 | (__make_heap): New. | |
254 | (make_heap): Adapt to use latter. | |
255 | (__sort_heap): New. | |
256 | (sort_heap): Adapt to use latter. | |
257 | * include/bits/algobase.h: Include <bits/predefined_ops.h>. | |
258 | (__lexicographical_compare_impl): New. | |
259 | (__lexicographical_compare<false>::__lc): Adapt to use latter. | |
260 | (lexicographical_compare): Likewise. | |
261 | (__lower_bound): New. | |
262 | (lower_bound): Adapt to use latter. | |
263 | (equal): Use _GLIBCXX_STD_A::equal in N3671 overloads. | |
264 | (__mismatch): New. | |
265 | (mismatch): Use latter. | |
266 | * include/bits/algo.h: Include <bits/predefined_ops.h>. Remove | |
267 | <functional> include. | |
268 | (__move_median_first, __find, __find_if, __find_if_not): Remove | |
269 | algo duplication. | |
270 | (__find_end): Likewise. | |
271 | (__search_n): Rename into ... | |
272 | (__search_n_aux): ... this. | |
273 | (__search_n): Renew, use latter. | |
274 | (search_n): Use latter. | |
275 | (__search): New. | |
276 | (search): Use latter. | |
277 | (__find_end): Likewise. | |
278 | (__remove_copy_if): New. | |
279 | (remove_copy): Use latter. | |
280 | (__adjacent_find): New. | |
281 | (adjacent_find): Use latter. | |
282 | (__unique): New. | |
283 | (unique): Use latter. | |
284 | (__unique_copy): Remove algo duplication. | |
285 | (__stable_partition): New. | |
286 | (stable_partition): Use latter. | |
287 | (__heap_select): Remove algo duplication, use __make_heap. | |
288 | (__partial_sort): New, use latter. | |
289 | (partial_sort): Use latter. | |
290 | (__partial_sort_copy): New. | |
291 | (partial_sort_copy): Use latter. | |
292 | (__unguarded_linear_insert, __insertion_sort): Remove algo | |
293 | duplication. | |
294 | (__unguarded_insertion_sort, __final_insertion_sort): Likewise. | |
295 | (__unguarded_partition, __unguarded_partition_pivot): Likewise. | |
296 | (__partial_sort): New. | |
297 | (partial_sort): Use latter. | |
298 | (__sort): New. | |
299 | (sort): Use latter. | |
300 | (lower_bound): Use __lower_bound. | |
301 | (__upper_bound): New. | |
302 | (upper_bound): Use latter. | |
303 | (__equal_range): New. | |
304 | (equal_range): Use latter. | |
305 | (__move_merge_adaptive, __move_merge_adaptive_backward): Remove | |
306 | algo duplication. | |
307 | (__merge_adaptive, __merge_without_buffer): Likewise. | |
308 | (__inplace_merge): New. | |
309 | (inplace_merge): Use latter. | |
310 | (__move_merge, __merge_sort_loop, __chunk_insertion_sort): Remove | |
311 | algo duplication. | |
312 | (__merge_sort_with_buffer, __stable_sort_adaptive): Likewise. | |
313 | (__inplace_stable_sort): Likewise. | |
314 | (__include): New. | |
315 | (includes): Use latter. | |
316 | (__next_permutation): New. | |
317 | (next_permutation): Use latter. | |
318 | (__prev_permutation): New. | |
319 | (prev_permutation): Use latter. | |
320 | (__replace_copy_if): New. | |
321 | (replace_copy): Use latter. | |
322 | (__is_sorted_until): New. | |
323 | (is_sorted_unitl): Use latter. | |
324 | (__minmax_element): New. | |
325 | (minmax_element): Use latter. | |
326 | (__is_permutation): New. | |
327 | (is_permutation): Use latter. | |
328 | (__adjacent_find): New. | |
329 | (adjacent_find): Use latter. | |
330 | (__count_if): New. | |
331 | (count): Use latter. | |
332 | (count_if): Likewise. | |
333 | (__merge): New. | |
334 | (merge): Use latter. | |
335 | (__stable_sort): New. | |
336 | (stable_sort): Use latter. | |
337 | (__set_union): New. | |
338 | (set_union): Use latter. | |
339 | (__set_intersection): New. | |
340 | (set_intersection): Use latter. | |
341 | (__set_difference): New. | |
342 | (set_difference): Use latter. | |
343 | (__set_symmetric_difference): New. | |
344 | (set_symmetric_difference): Use latter. | |
345 | (__min_element): New. | |
346 | (min_element): Use latter. | |
347 | (__max_element): New. | |
348 | (max_element): Use latter. | |
349 | * include/Makefile.am: Add predefined_ops.h. | |
350 | * include/Makefile.in: Regenerate. | |
351 | * include/parallel/algobase.h (equal, mismatch): Add overloads | |
352 | from N3671. | |
353 | * testsuite/25_algorithms/is_permutation/vectorbool.cc: New. | |
354 | * testsuite/25_algorithms/adjacent_find/vectorbool.cc: Likewise. | |
355 | * testsuite/25_algorithms/find/vectorbool.cc: Likewise. | |
356 | * testsuite/25_algorithms/find_if/vectorbool.cc: Likewise. | |
357 | * testsuite/25_algorithms/find_first_of/vectorbool.cc: Likewise. | |
358 | * testsuite/25_algorithms/heap/vectorbool.cc: Likewise. | |
359 | * testsuite/25_algorithms/find_end/vectorbool.cc: Likewise. | |
360 | * testsuite/25_algorithms/find_if_not/vectorbool.cc: Likewise. | |
361 | ||
362 | 2013-09-27 Jonathan Wakely <jwakely.gcc@gmail.com> | |
d02dae41 JW |
363 | |
364 | PR libstdc++/57465 | |
365 | * include/std/functional | |
366 | (_Function_base::_Base_manager::_M_not_empty_function): Fix overload | |
367 | for pointers. | |
368 | * testsuite/20_util/function/cons/57465.cc: New. | |
369 | ||
d4e12601 TS |
370 | 2013-09-26 Tim Shen <timshen91@gmail.com> |
371 | ||
372 | * regex_error.h: Remove _S_error_last to follow the standard. | |
373 | * regex_scanner.tcc: | |
374 | (_Scanner<_FwdIter>::_M_scan_in_brace): Change error_brace to | |
375 | error_badbrace. | |
376 | (_Scanner<>::_M_eat_escape_posix): Extended doesn't support | |
377 | back-reference. | |
378 | * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc: | |
379 | Move here from ../../extended. | |
380 | * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc: | |
381 | Likewise. | |
382 | ||
34e6625a MG |
383 | 2013-09-25 Marc Glisse <marc.glisse@inria.fr> |
384 | ||
385 | PR libstdc++/58338 | |
386 | * include/bits/forward_list.h (_Fwd_list_node_base::_M_transfer_after): | |
387 | Mark as noexcept. | |
388 | (_Fwd_list_iterator) [_Fwd_list_iterator, operator*, operator->, | |
389 | operator++, operator==, operator!=, _M_next]: Likewise. | |
390 | (_Fwd_list_const_iterator) [_Fwd_list_const_iterator, operator*, | |
391 | operator->, operator++, operator==, operator!=, _M_next]: Likewise. | |
392 | (operator==(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&), | |
393 | operator!=(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&)): | |
394 | Likewise. | |
395 | * include/bits/hashtable_policy.h (_Hash_node_base::_Hash_node_base, | |
396 | _Hash_node::_M_next, _Node_iterator_base::_Node_iterator_base, | |
397 | _Node_iterator_base::_M_incr, operator==(const _Node_iterator_base&, | |
398 | const _Node_iterator_base&), operator!=(const _Node_iterator_base&, | |
399 | const _Node_iterator_base&)): Likewise. | |
400 | (_Node_iterator) [_Node_iterator, operator*, operator->, operator++]: | |
401 | Likewise. | |
402 | (_Node_const_iterator) [_Node_const_iterator, operator*, operator->, | |
403 | operator++]: Likewise. | |
404 | * include/debug/safe_iterator.h (_Safe_iterator) [_Safe_iterator, | |
405 | operator=, operator*, operator->, operator++, operator--, operator[], | |
406 | operator+=, operator+, operator-=, operator-, base, operator _Iterator]: | |
407 | Likewise. | |
408 | (operator==(const _Safe_iterator&, const _Safe_iterator&), | |
409 | operator!=(const _Safe_iterator&, const _Safe_iterator&), | |
410 | operator<(const _Safe_iterator&, const _Safe_iterator&), | |
411 | operator<=(const _Safe_iterator&, const _Safe_iterator&), | |
412 | operator>(const _Safe_iterator&, const _Safe_iterator&), | |
413 | operator>=(const _Safe_iterator&, const _Safe_iterator&), | |
414 | operator-(const _Safe_iterator&, const _Safe_iterator&), | |
415 | operator+(difference_type, const _Safe_iterator&)): Likewise. | |
416 | * include/profile/iterator_tracker.h (__iterator_tracker) | |
417 | [__iterator_tracker, base, operator _Iterator, operator->, operator++, | |
418 | operator--, operator=, operator*, operator[], operator+=, operator+, | |
419 | operator-=, operator-]: Likewise. | |
420 | (operator==(const __iterator_tracker&, const __iterator_tracker&), | |
421 | operator!=(const __iterator_tracker&, const __iterator_tracker&), | |
422 | operator<(const __iterator_tracker&, const __iterator_tracker&), | |
423 | operator<=(const __iterator_tracker&, const __iterator_tracker&), | |
424 | operator>(const __iterator_tracker&, const __iterator_tracker&), | |
425 | operator>=(const __iterator_tracker&, const __iterator_tracker&), | |
426 | operator-(const __iterator_tracker&, const __iterator_tracker&), | |
427 | operator+(difference_type, const __iterator_tracker&)): Likewise. | |
428 | ||
63ebd8f1 MG |
429 | 2013-09-24 Marc Glisse <marc.glisse@inria.fr> |
430 | ||
431 | PR libstdc++/58338 | |
432 | PR libstdc++/56166 | |
433 | * include/bits/basic_string.h (basic_string) | |
434 | [basic_string(basic_string&&)]: Make the noexcept conditional. | |
435 | [operator=(basic_string&&), assign(basic_string&&)]: Link to PR 58265. | |
436 | [begin(), end(), rbegin(), rend(), clear]: Remove noexcept. | |
437 | [pop_back]: Comment on the lack of noexcept. | |
438 | * include/debug/string (basic_string) [basic_string(const _Allocator&), | |
439 | basic_string(basic_string&&), begin(), end(), rbegin(), rend(), clear, | |
440 | operator[](size_type), pop_back]: Comment out noexcept, until vstring | |
441 | replaces basic_string. | |
442 | ||
c2669da9 TS |
443 | 2013-09-24 Tim Shen <timshen91@gmail.com> |
444 | ||
445 | * include/Makefile.am: Add regex.tcc. | |
446 | * include/Makefile.in: Regenerate. | |
447 | * include/bits/regex.h: Remove definitions to regex.tcc. | |
448 | * include/bits/regex.tcc: New. | |
449 | (match_results::format, regex_replace): Implement; | |
450 | * include/bits/regex_compiler.h: Move _M_flags to the top of class | |
451 | member list, because other members' initialization depend on it. | |
452 | * include/bits/regex_compiler.tcc | |
453 | (_Compiler<>::_Compiler): Adjust member initializations. | |
454 | (_Compiler<>::_M_quantifier): Fix ungreedy interval quantifier. | |
455 | * include/bits/regex_executor.h: Remove _RegexT from _*Executor classes. | |
456 | In the future, all regex classes may refactor to *Impl style. | |
457 | * include/bits/regex_executor.tcc (_Executor::_M_set_results): | |
458 | Merge identical code from _*Executor classes. | |
459 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
460 | string_dispatch_01.cc (fake_match<>): Adjust the hacking-style testcase | |
461 | caller for new __get_executors interface. | |
462 | * testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc: | |
463 | New. | |
464 | * testsuite/28_regex/match_results/format.cc: New. | |
465 | * testsuite/28_regex/traits/char/lookup_collatename.cc: Remove digraph | |
466 | testcase. | |
467 | * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: Likewise. | |
468 | ||
dfff7c46 PP |
469 | 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com> |
470 | ||
471 | * src/c++11/snprintf_lite.cc (__concat_size_t): Use | |
472 | unsigned long long conditionally. | |
473 | ||
5303f3a4 PP |
474 | 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com> |
475 | ||
476 | * src/c++11/snprintf_lite.cc (__concat_size_t): Use only | |
477 | std::__int_to_char<unsigned long long>() | |
478 | ||
9779c871 PP |
479 | 2013-09-21 Paul Pluzhnikov <ppluzhnikov@google.com> |
480 | ||
481 | * include/bits/functexcept.h (__throw_out_of_range_fmt): New. | |
482 | * src/c++11/functexcept.cc (__throw_out_of_range_fmt): New. | |
483 | * src/c++11/snprintf_lite.cc: New. | |
484 | * src/c++11/Makefile.am: Add snprintf_lite.cc. | |
485 | * src/c++11/Makefile.in: Regenerate. | |
486 | * config/abi/pre/gnu.ver: Add _ZSt24__throw_out_of_range_fmtPKcz. | |
487 | * include/std/array (at): Use __throw_out_of_range_fmt. | |
488 | * include/debug/array (at): Likewise. | |
489 | * include/profile/array (at): Likewise. | |
490 | * include/std/bitset (_M_check_initial_position, _M_check): New. | |
491 | (bitset::bitset): Use _M_check_initial_position. | |
492 | (set, reset, flip, test): Use _M_check. | |
493 | * include/ext/vstring.h (_M_check, at): Use __throw_out_of_range_fmt. | |
494 | * include/bits/stl_vector.h (_M_range_check): Likewise. | |
495 | * include/bits/stl_bvector.h (_M_range_check): Likewise. | |
496 | * include/bits/stl_deque.h (_M_range_check): Likewise. | |
497 | * include/bits/basic_string.h (_M_check, at): Likewise. | |
498 | * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust. | |
499 | * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. | |
500 | * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: | |
501 | Likewise. | |
502 | * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: | |
503 | Likewise. | |
504 | * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Likewise. | |
505 | * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise. | |
506 | * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: | |
507 | Likewise. | |
508 | * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc: | |
509 | Likewise. | |
510 | * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise. | |
511 | * testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc: | |
512 | Likewise. | |
513 | * testsuite/23_containers/array/tuple_interface/get_neg.cc: Likewise. | |
514 | * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Likewise. | |
515 | * testsuite/util/exception/safety.h (generate): Use __throw_out_of_range_fmt. | |
516 | ||
bd599dea JJ |
517 | 2013-09-20 Jakub Jelinek <jakub@redhat.com> |
518 | ||
519 | PR testsuite/57605 | |
520 | * testsuite/lib/libstdc++.exp (libstdc++_init): Prepend | |
521 | -fdiagnostics-color=never to cxxflags. | |
522 | ||
d15ac9d9 MG |
523 | 2013-09-20 Marc Glisse <marc.glisse@inria.fr> |
524 | ||
525 | PR libstdc++/58338 | |
526 | * include/bits/allocator.h (__alloc_swap::_S_do_it, | |
527 | __shrink_to_fit_aux::_S_do_it): Mark as noexcept. | |
528 | * include/bits/basic_string.h (basic_string::_Rep) [_S_empty_rep, | |
529 | _M_is_leaked, _M_is_shared, _M_set_leaked, _M_set_sharable, | |
530 | _M_set_length_and_sharable, _M_dispose]: Likewise. | |
531 | (basic_string::_Alloc_hider::_Alloc_hider): Likewise. | |
532 | (basic_string) [_M_data, _M_rep, _M_ibegin, _M_iend, _M_limit, | |
533 | _M_disjunct, _M_copy, _M_move, _M_assign, _S_copy_chars, _S_compare, | |
534 | _S_empty_rep, shrink_to_fit, operator[] const, front const, back const]: | |
535 | Likewise. | |
536 | [clear]: Link to PR 56166. | |
537 | [swap]: Link to PR 58265. | |
538 | * include/bits/stl_deque.h (_Deque_iterator) [_S_buffer_size, | |
539 | _Deque_iterator, _M_const_cast, operator*, operator->, operator++, | |
540 | operator--, operator+=, operator+, operator-=, operator-, operator[], | |
541 | _M_set_node]: Mark as noexcept. | |
542 | (operator==(const _Deque_iterator&, const _Deque_iterator&), | |
543 | operator!=(const _Deque_iterator&, const _Deque_iterator&), | |
544 | operator<(const _Deque_iterator&, const _Deque_iterator&), | |
545 | operator>(const _Deque_iterator&, const _Deque_iterator&), | |
546 | operator<=(const _Deque_iterator&, const _Deque_iterator&), | |
547 | operator>=(const _Deque_iterator&, const _Deque_iterator&), | |
548 | operator-(const _Deque_iterator&, const _Deque_iterator&), | |
549 | operator+(ptrdiff_t, const _Deque_iterator&)): Likewise. | |
550 | (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to | |
551 | _M_initialize_map. | |
552 | [~_Deque_base, _M_deallocate_node, _M_deallocate_map, _M_destroy_nodes]: | |
553 | Mark as noexcept. | |
554 | (_Deque_base::_Deque_impl) [_Deque_impl(const _Tp_alloc_type&), | |
555 | _Deque_impl(_Tp_alloc_type&&)]: Likewise. | |
556 | (deque) [_S_buffer_size, operator=(deque&&), shrink_to_fit, operator[], | |
557 | front, back, pop_front, pop_back, swap]: Likewise. | |
558 | [deque(), deque(const allocator_type&)]: Merge. | |
559 | * include/debug/deque (deque) [operator=(deque&&), shrink_to_fit, | |
560 | operator[], front, back, pop_front, pop_back, swap]: Mark as noexcept. | |
561 | * include/profile/deque (deque) [operator=(deque&&), operator[], front, | |
562 | back, pop_front, pop_back, swap]: Likewise. | |
563 | * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: | |
564 | Adjust line number. | |
565 | * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: | |
566 | Likewise. | |
567 | * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc: | |
568 | Likewise. | |
569 | * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: | |
570 | Likewise. | |
571 | ||
3cbe17f7 AM |
572 | 2013-09-20 Alan Modra <amodra@gmail.com> |
573 | ||
574 | * configure: Regenerate. | |
575 | ||
0e1a966a MG |
576 | 2013-09-19 Marc Glisse <marc.glisse@inria.fr> |
577 | ||
578 | PR libstdc++/58338 | |
579 | * include/bits/stl_tree.h (_Rb_tree_node_base) [_S_minimum, _S_maximum]: | |
580 | Mark as noexcept. | |
581 | (_Rb_tree_iterator) [_Rb_tree_iterator, operator*, operator->, | |
582 | operator++, operator--, operator==, operator!=]: Likewise. | |
583 | (_Rb_tree_const_iterator) [_Rb_tree_const_iterator, _M_const_cast, | |
584 | operator*, operator->, operator++, operator--, operator==, operator!=]: | |
585 | Likewise. | |
586 | (operator==(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&), | |
587 | operator!=(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&)): | |
588 | Likewise. | |
589 | (_Rb_tree) [_M_put_node, _M_destroy_node, _M_root, _M_leftmost, | |
590 | _M_rightmost, _M_begin, _M_end, _S_left, _S_right, _S_minimum, | |
591 | _S_maximum]: Likewise. | |
592 | * include/debug/string (basic_string) [basic_string(const _Allocator&), | |
593 | shrink_to_fit, operator[], pop_back]: Likewise. | |
594 | * include/ext/vstring.h (__versa_string) [_M_limit, _M_disjunct, | |
595 | _M_ibegin, _M_iend, __versa_string(const _Alloc&), | |
596 | operator=(__versa_string&&), shrink_to_fit, operator[], front, | |
597 | back, assign(__versa_string&&), swap]: Likewise. | |
598 | (__versa_string) [__versa_string(), __versa_string(const _Alloc&)]: | |
599 | Merge. | |
600 | ||
b4efa80e MG |
601 | 2013-09-18 Marc Glisse <marc.glisse@inria.fr> |
602 | ||
603 | PR libstdc++/58338 | |
604 | * include/bits/stl_iterator.h (__normal_iterator) [__normal_iterator, | |
605 | _M_const_cast, operator*, operator->, operator++, operator--, | |
606 | operator[], operator+=, operator+, operator-=, operator-, base]: | |
607 | Mark as noexcept. | |
608 | (operator==(const __normal_iterator&, const __normal_iterator&), | |
609 | operator!=(const __normal_iterator&, const __normal_iterator&), | |
610 | operator<(const __normal_iterator&, const __normal_iterator&), | |
611 | operator>(const __normal_iterator&, const __normal_iterator&), | |
612 | operator<=(const __normal_iterator&, const __normal_iterator&), | |
613 | operator>=(const __normal_iterator&, const __normal_iterator&), | |
614 | operator-(const __normal_iterator&, const __normal_iterator&), | |
615 | operator+(difference_type, const __normal_iterator&)): Likewise. | |
616 | * include/bits/stl_list.h (list) [splice, _M_check_equal_allocators]: | |
617 | Likewise. | |
618 | (list::_M_check_equal_allocators): Abort instead of throwing. | |
619 | * include/debug/array (array) [operator[], front, back]: Mark as | |
620 | noexcept. | |
621 | * include/profile/array (array) [operator[], front, back]: Likewise. | |
622 | * include/std/array (array) [operator[], front, back]: Likewise. | |
623 | * include/debug/list (list::splice): Likewise. | |
624 | * include/profile/list (list::splice): Likewise. | |
625 | * testsuite/23_containers/list/operations/5.cc: Remove file. | |
626 | * testsuite/23_containers/list/operations/5.h: Likewise. | |
627 | ||
b21abcee TS |
628 | 2013-09-18 Tim Shen <timshen91@gmail.com> |
629 | ||
630 | * include/bits/regex.h: Add friend classes. | |
631 | (match_results<>::position, regex_iterator<>::operator++): | |
632 | Implement position specification in regex_iterator. | |
633 | (regex_match<>, regex_search<>): | |
634 | Move match_results initializations to these function. Remove `todo`. | |
635 | * include/bits/regex_compiler.tcc: | |
636 | (_Compiler<>::_M_quantifier): Fix greedy/ungreedy of interval matching. | |
637 | * include/bits/regex_constants.h: | |
638 | Fix indentation. Change match_flag_type to enum type. | |
639 | * include/bits/regex_executor.h: | |
640 | Merge identical code to the base class _Executor. | |
641 | Support flags in regex_constants. | |
642 | * include/bits/regex_executor.tcc: Likewise. | |
643 | * include/bits/regex_scanner.h: Add comments. | |
644 | * include/bits/regex_scanner.tcc: Same. | |
645 | * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: | |
646 | Add a testcase. | |
647 | * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: New. | |
648 | * testsuite/28_regex/iterators/regex_iterator/char/ | |
649 | string_position_01.cc: Remove `xfail`. | |
650 | * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc: | |
651 | Remove `xfail` and make the case really work. | |
652 | ||
64bc8861 PC |
653 | 2013-09-18 Paolo Carlini <paolo.carlini@oracle.com> |
654 | ||
655 | * testsuite/performance/25_algorithms/search_n.cc: Fix typo. | |
656 | ||
837bf511 MG |
657 | 2013-09-18 Marc Glisse <marc.glisse@inria.fr> |
658 | ||
659 | PR libstdc++/58338 | |
660 | * include/bits/list.tcc (_List_base::_M_clear, list::erase): Mark as | |
661 | noexcept. | |
662 | * include/bits/stl_list.h (_List_iterator) [_List_iterator, | |
663 | _M_const_cast, operator*, operator->, operator++, operator--, | |
664 | operator==, operator!=]: Likewise. | |
665 | (_List_const_iterator) [_List_const_iterator, _M_const_cast, operator*, | |
666 | operator->, operator++, operator--, operator==, operator!=]: Likewise. | |
667 | (operator==(const _List_iterator&, const _List_const_iterator&), | |
668 | operator!=(const _List_iterator&, const _List_const_iterator&)): | |
669 | Likewise. | |
670 | (_List_impl) [_List_impl(const _Node_alloc_type&), | |
671 | _List_impl(_Node_alloc_type&&)]: Likewise. | |
672 | (_List_base) [_M_put_node, _List_base(const _Node_alloc_type&), | |
673 | _List_base(_List_base&&), _M_clear, _M_init]: Likewise. | |
674 | (list) [list(), list(const allocator_type&)]: Merge. | |
675 | (list) [list(const allocator_type&), front, back, pop_front, pop_back, | |
676 | erase, _M_erase]: Mark as noexcept. | |
677 | * include/debug/list (list) [list(const _Allocator&), front, back, | |
678 | pop_front, pop_back, _M_erase, erase]: Likewise. | |
679 | * include/profile/list (list) [list(const _Allocator&), front, back, | |
680 | pop_front, pop_back, erase]: Likewise. | |
681 | * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: | |
682 | Adjust line number. | |
683 | * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: | |
684 | Likewise. | |
685 | * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: | |
686 | Likewise. | |
687 | * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: | |
688 | Likewise. | |
689 | ||
757b1644 MG |
690 | 2013-09-17 Marc Glisse <marc.glisse@inria.fr> |
691 | ||
692 | PR libstdc++/58338 | |
693 | * include/bits/stl_vector.h (vector::vector(), | |
694 | vector::vector(const allocator_type&)): Merge. | |
695 | (_Vector_impl::_Vector_impl(_Tp_alloc_type const&), | |
696 | _Vector_impl::_Vector_impl(_Tp_alloc_type&&), | |
697 | _Vector_impl::_M_swap_data, | |
698 | _Vector_base::_Vector_base(const allocator_type&), | |
699 | _Vector_base::_Vector_base(allocator_type&&), | |
700 | _Vector_base::_Vector_base(_Vector_base&&), _Vector_base::~_Vector_base, | |
701 | vector::vector(const allocator_type&), vector::operator[], | |
702 | vector::operator[] const, vector::front, vector::front const, | |
703 | vector::back, vector::back const, vector::pop_back, | |
704 | vector::_M_erase_at_end): Mark as noexcept. | |
705 | * include/debug/vector (vector::vector(const _Allocator&), | |
706 | vector::operator[], vector::operator[] const, vector::front, | |
707 | vector::front const, vector::back, vector::back const, vector::pop_back, | |
708 | _M_requires_reallocation, _M_update_guaranteed_capacity, | |
709 | _M_invalidate_after_nth): Mark as noexcept. | |
710 | * include/profile/vector (vector::vector(const _Allocator&), | |
711 | vector::operator[], vector::operator[] const, vector::front, | |
712 | vector::front const, vector::back, vector::back const): Mark as | |
713 | noexcept. | |
714 | (vector::vector(vector&&, const _Allocator&)): Remove wrong noexcept. | |
715 | * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: | |
716 | Adjust line number. | |
717 | * testsuite/23_containers/vector/requirements/dr438/ | |
718 | constructor_1_neg.cc: Likewise. | |
719 | * testsuite/23_containers/vector/requirements/dr438/ | |
720 | constructor_2_neg.cc: Likewise. | |
721 | * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: | |
722 | Likewise. | |
723 | ||
7b86458e TS |
724 | 2013-09-14 Tim Shen <timshen91@gmail.com> |
725 | ||
726 | * include/bits/regex.h (regex_match<>, regex_search<>): | |
727 | Change regex_executor caller. Now use their return value instead | |
728 | of checking __m[0].matched to find out if it's successful. | |
729 | (regex_search<>): Move the search logic to regex_executor. | |
730 | * include/bits/regex_automaton.h: Add some new _Opcode. Refactor | |
731 | _NFA::_M_insert_*. | |
732 | * include/bits/regex_automaton.tcc: Add DEBUG dump for new | |
733 | _Opcode. Refactor _NFA::_M_insert_*. | |
734 | * include/bits/regex_compiler.h (_Compiler<>::_M_get_nfa): | |
735 | Use make_shared instead of construct by hand. | |
736 | * include/bits/regex_compiler.tcc: Implement _Compiler<>::_M_assertion. | |
737 | * include/bits/regex_constants.h: Fix indentation and line breaking. | |
738 | * include/bits/regex_executor.h: Add _ResultsEntry to support | |
739 | greedy/ungreedy mode. Move regex_search logic here. | |
740 | * include/bits/regex_executor.tcc: Implement assertions and | |
741 | greedy/ungreedy matching. | |
742 | * include/bits/regex_scanner.h: Add a new token _S_token_ungreedy. | |
743 | * include/bits/regex_scanner.tcc: Parse a new token _S_token_ungreedy. | |
744 | * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: New. | |
745 | * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: New. | |
746 | * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: | |
747 | Fix comment. | |
748 | ||
4f038754 PC |
749 | 2013-09-13 Paolo Carlini <paolo.carlini@oracle.com> |
750 | ||
751 | PR libstdc++/58415 | |
752 | * include/ext/sso_string_base.h (__sso_string_base<>:: | |
753 | __sso_string_base(__sso_string_base&&)): Fix thinkos about | |
754 | _M_length vs _M_set_length. | |
755 | * testsuite/ext/vstring/cons/58415-1.cc: New. | |
756 | * testsuite/ext/vstring/cons/58415-2.cc: Likewise. | |
757 | ||
274ddab6 PC |
758 | 2013-09-12 Paolo Carlini <paolo.carlini@oracle.com> |
759 | ||
760 | PR libstdc++/58403 | |
761 | * include/bits/stl_iterator.h (__normal_iterator<>::operator[], | |
762 | operator+=, operator+, operator-=, operator-): Take the argument | |
763 | by value. | |
764 | * testsuite/24_iterators/normal_iterator/58403.cc: New. | |
765 | ||
4b47d655 MK |
766 | 2013-09-11 Mitsuru Kariya <kariya_mitsuru@hotmail.com> |
767 | Chris Jefferson <chris@bubblescope.net> | |
768 | ||
769 | PR libstdc++/58358 | |
770 | * include/bits/stl_algo.h (search_n): Fix to guarantee a number | |
771 | of comparisons <= number of elements in the range. | |
772 | * testsuite/25_algorithms/search_n/58358.cc: New. | |
773 | * testsuite/25_algorithms/search_n/iterator.cc: Extend. | |
774 | ||
df7d9dfd ESR |
775 | 2013-09-10 Ed Smith-Rowland <3dw4rd@verizon.net> |
776 | ||
777 | * testsuite/28_regex/traits/wchar_t/value.cc: Change template args | |
778 | from char to wchar_t, literals from 'x' to L'x'. | |
779 | ||
6da10826 KT |
780 | 2013-09-10 Kai Tietz <ktietz@redhat.com> |
781 | ||
1329f0c4 | 782 | PR libstdc++/54314 |
6da10826 KT |
783 | * config/abi/pre/gnu-versioned-namespace.ver: Add thunk _ZTv0_n12_NS* |
784 | like in gnu.ver. | |
785 | ||
9a7fb488 PC |
786 | 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com> |
787 | ||
788 | PR libstdc++/58341 | |
789 | * include/bits/stl_algobase.h (copy_backward): Fix documentation | |
790 | per DR 1206. | |
791 | ||
7c812a2a TS |
792 | 2013-09-05 Tim Shen <timshen91@gmail.com> |
793 | ||
794 | * include/bits/regex_automaton.h: Add dummy node type. Rewrite | |
795 | _StateSeq. | |
796 | * include/bits/regex_automaton.tcc: Implement them. | |
797 | * include/bits/regex_compiler.h: Rewrite _Compiler to use new | |
798 | _StateSeq interfaces. | |
799 | * include/bits/regex_compiler.tcc: Implement them. | |
800 | * include/bits/regex_scanner.h: Add word boundry assertion token. | |
801 | * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_ecma): | |
802 | Support word boundry. | |
803 | * testsuite/28_regex/algorithms/regex_match/basic/ | |
804 | string_range_02_03.cc: Remove "xfail". | |
805 | * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc: | |
806 | Likewise. | |
807 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
808 | string_range_02_03.cc: Likewise. | |
809 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
810 | cstring_questionmark.cc: Remove xfail and get correct length of | |
811 | c-string. | |
812 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
813 | string_range_00_03.cc: Likewise. | |
814 | * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc: | |
815 | New. | |
816 | * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc: | |
817 | New. | |
818 | * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc: New. | |
819 | ||
e5fbc9fc PC |
820 | 2013-09-03 Paolo Carlini <paolo.carlini@oracle.com> |
821 | ||
822 | PR libstdc++/58302 | |
823 | * include/bits/random.tcc (negative_binomial_distribution<>:: | |
7c812a2a | 824 | operator()(_UniformRandomNumberGenerator&, const param_type&)): |
e5fbc9fc PC |
825 | Fix typo in template argument. |
826 | * testsuite/26_numerics/random/negative_binomial_distribution/ | |
827 | operators/58302.cc: New. | |
828 | ||
e3509691 TS |
829 | 2013-09-02 Tim Shen <timshen91@gmail.com> |
830 | ||
831 | * regex_automaton.h: Rearrange _NFA's layout. | |
832 | * include/bits/regex_compiler.h: Add _AnyMatcher and _CharMatcher. | |
a10bad86 CJ |
833 | Rearrange _BracketMatcher's layout. |
834 | (_BracketMatcher<>::_M_add_char): Use set instead of vector for | |
835 | _M_char_set. | |
836 | (_BracketMatcher<>::_M_add_collating_element): Likewise. | |
837 | (_BracketMatcher<>::_M_make_range): Likewise. | |
e3509691 | 838 | * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom): Use |
a10bad86 | 839 | appropriate constructors of matchers above. |
e3509691 | 840 | * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc: |
a10bad86 | 841 | New. |
e3509691 TS |
842 | * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: New. |
843 | * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc: | |
a10bad86 | 844 | New. |
e3509691 | 845 | * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc: |
a10bad86 | 846 | New. |
e3509691 TS |
847 | * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: New. |
848 | * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc: | |
a10bad86 | 849 | New. |
e3509691 TS |
850 | * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: New. |
851 | ||
32bb816a FD |
852 | 2013-08-30 François Dumont <fdumont@gcc.gnu.org> |
853 | ||
854 | PR libstdc++/58148 | |
855 | * include/debug/functions.h (__foreign_iterator_aux4): Use | |
856 | sequence const_pointer as common type to compare pointers. Add a | |
857 | fallback overload in case pointers cannot be cast to sequence | |
858 | const_pointer. | |
859 | * testsuite/23_containers/vector/modifiers/insert/58148.cc: New. | |
860 | ||
8915a229 FD |
861 | 2013-08-30 François Dumont <fdumont@gcc.gnu.org> |
862 | ||
863 | PR libstdc++/58191 | |
864 | * include/debug/macros.h (__glibcxx_check_partitioned_lower): Add | |
865 | __gnu_debug::__base calls on iterators passed to internal debug | |
866 | check. | |
867 | (__glibcxx_check_partitioned_lower_pred): Likewise. | |
868 | (__glibcxx_check_partitioned_upper): Likewise. | |
869 | (__glibcxx_check_partitioned_upper_pred): Likewise. | |
870 | (__glibcxx_check_sorted): Likewise. | |
871 | (__glibcxx_check_sorted_pred): Likewise. | |
872 | (__glibcxx_check_sorted_set): Likewise. | |
873 | (__glibcxx_check_sorted_set_pred): Likewise. | |
874 | * include/debug/functions.h (__check_partitioned_lower): | |
875 | Remove code to detect safe iterators. | |
876 | (__check_partitioned_upper): Likewise. | |
877 | (__check_sorted): Likewise. | |
878 | ||
9222fb6f TS |
879 | 2013-08-29 Tim Shen <timshen91@gmail.com> |
880 | ||
881 | * include/bits/regex.h (basic_regex<>::assign): Don't lose _M_traits. | |
a10bad86 CJ |
882 | (regex_iterator<>::regex_iterator): Return nullptr when regex_search |
883 | failed. | |
884 | (regex_token_iterator<>::_M_end_of_seq): Should be defined true when | |
885 | _M_result is(not isn't) nullptr. | |
9222fb6f | 886 | * include/bits/regex_compiler.h: Store _Compiler::_M_traits by reference |
a10bad86 | 887 | instead of by value. |
9222fb6f | 888 | * include/bits/regex_executor.h (_DFSExecutor<>::_DFSExecutor): Add |
a10bad86 | 889 | _M_traits to _DFSExecutor. |
9222fb6f | 890 | * include/bits/regex_executor.tcc (__get_executor<>): Pass traits to |
a10bad86 | 891 | _DFSExecutor too. |
9222fb6f | 892 | * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc: |
a10bad86 | 893 | New. |
9222fb6f | 894 | * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/ |
a10bad86 | 895 | wstring_02.cc: New. |
9222fb6f | 896 | |
33fbbb76 TS |
897 | 2013-08-26 Tim Shen <timshen91@gmail.com> |
898 | ||
899 | * include/Makefile.am: Add regex_scanner.{h,tcc}. | |
900 | * include/Makefile.in: Regenerate. | |
901 | * include/bits/regex.h (match_search): Handle the `__first == __last` | |
a10bad86 | 902 | situation correctly. |
33fbbb76 TS |
903 | * include/bits/regex_compiler.h: Move _Scanner... |
904 | * include/bits/regex_scanner.h: ...to here. New. | |
905 | * include/bits/regex_compiler.tcc: Move _Scanner... | |
906 | * include/bits/regex_scanner.tcc: ...to here, too. New. | |
907 | * include/bits/regex_executor.tcc: Use value instead of reference for | |
a10bad86 | 908 | submatch. |
33fbbb76 TS |
909 | * include/std/regex: Add regex_scanner.h |
910 | * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: New. | |
911 | * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: New. | |
912 | * testsuite/28_regex/algorithms/regex_match/ecma/cstring_hex.cc: New. | |
913 | * testsuite/28_regex/algorithms/regex_match/ecma/empty_range.cc: New. | |
914 | * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: New. | |
915 | ||
e280b6ff TS |
916 | 2013-08-22 Tim Shen <timshen91@gmail.com> |
917 | ||
918 | * include/bits/regex.h: Replace 8 spaces in indentation with a tab. | |
919 | * include/bits/regex_automaton.h: Same. | |
920 | * include/bits/regex_automaton.tcc: Same. | |
921 | * include/bits/regex_compiler.h: Same. | |
922 | * include/bits/regex_compiler.tcc: Same. | |
923 | * include/bits/regex_constants.h: Same. | |
924 | * include/bits/regex_executor.h: Same. | |
925 | * include/bits/regex_executor.tcc: Same. | |
926 | ||
1b488e33 TS |
927 | 2013-08-22 Tim Shen <timshen91@gmail.com> |
928 | ||
929 | * include/bits/regex.h: Executor caller. | |
930 | * include/bits/regex_executor.h: Fix empty grouping problem. | |
931 | * include/bits/regex_executor.tcc: Same. | |
932 | * testsuite/28_regex/algorithms/regex_match/ecma/cstring_emptygroup.cc: | |
933 | New. | |
934 | ||
c77efe8f PM |
935 | 2013-08-20 Phil Muldoon <pmuldoon@redhat.com> |
936 | ||
937 | PR libstdc++/53477 | |
938 | http://sourceware.org/bugzilla/show_bug.cgi?id=15195 | |
939 | ||
940 | * python/libstdcxx/v6/printers.py (Printer.__call__): If a value | |
941 | is a reference, fetch referenced value. | |
942 | (RxPrinter.invoke): Ditto. | |
943 | * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add -O0 | |
944 | flag. Add referenced value tests. | |
945 | ||
f6f0407c TS |
946 | 2013-08-20 Tim Shen <timshen91@gmail.com> |
947 | ||
948 | * include/bits/regex_constants.h: Add underlying `unsigned int` for | |
949 | enum syntax_option_type. | |
950 | ||
ce645eb0 TS |
951 | 2013-08-18 Tim Shen <timshen91@gmail.com> |
952 | ||
953 | * include/bits/regex_automaton.h: _S_opcode_backref. | |
954 | * include/bits/regex_automaton.tcc: Backref automaton support. | |
955 | * include/bits/regex_compiler.tcc: Parsing support. | |
956 | * include/bits/regex_executor.h: Add _M_traits for _DFSExecutor. | |
957 | * include/bits/regex_executor.tcc: Add _S_opcode_backref support. | |
958 | * testsuite/28_regex/algorithms/regex_match/ecma/string_backref.cc: New. | |
959 | ||
5073d509 TS |
960 | 2013-08-16 Tim Shen <timshen91@gmail.com> |
961 | ||
962 | * include/bits/regex.h (regex_traits<>::transform_primary): | |
963 | Avoid past-the-end dereferences. | |
964 | ||
56b5d3b4 PC |
965 | 2013-08-14 Paolo Carlini <paolo.carlini@oracle.com> |
966 | ||
967 | PR libstdc++/58163 | |
968 | * include/bits/basic_string.h (basic_string<>::operator[]): Fix | |
969 | _GLIBCXX_DEBUG_PEDASSERT check vs C++11. | |
970 | * include/ext/vstring.h: Likewise. | |
971 | * testsuite/21_strings/basic_string/element_access/char/58163.cc: | |
972 | New. | |
973 | * testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc: | |
974 | Likewise. | |
975 | * testsuite/ext/vstring/element_access/char/58163.cc: Likewise. | |
976 | * testsuite/ext/vstring/element_access/wchar_t/58163.cc: Likewise. | |
977 | ||
346334d2 UB |
978 | 2013-08-14 Uros Bizjak <ubizjak@gmail.com> |
979 | ||
b5ff10f3 UB |
980 | * src/c++98/compatibility.cc (_ZTIe): Use |
981 | reinterpret_cast<const cast *> to avoid -Wcast-qual warnings. | |
346334d2 UB |
982 | (_ZTIPe): Ditto. |
983 | (ZTIPKe): Ditto. | |
984 | ||
6646d624 TS |
985 | 2013-08-09 Tim Shen <timshen91@gmail.com> |
986 | ||
987 | * include/bits/regex_constants.h: Change syntax_option_type to enum | |
988 | type. | |
989 | ||
374cf165 RO |
990 | 2013-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
991 | ||
346334d2 | 992 | * include/bits/regex.h: Replace _A, _B, _C, _R by _Ap, _Bp, _Cp, _Rp. |
374cf165 | 993 | |
b09bcf83 FD |
994 | 2013-08-08 François Dumont <fdumont@gcc.gnu.org> |
995 | ||
996 | * include/bits/hashtable_policy.h (_Hashtable_alloc): New. | |
997 | (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than | |
998 | _Hashtable. | |
999 | (_Before_begin<>): Remove. | |
1000 | * include/bits/hashtable.h (_Hashtable): Inherit from | |
1001 | _Hashtable_alloc and adapt. Restore _M_before_begin field. | |
1002 | * src/c++11/hashtable_c++0x.cc: Add ext/alloc_traits.h include. | |
1003 | * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt | |
1004 | access to hashtable before begin. | |
1005 | * testsuite/23_containers/unordered_set/ | |
1006 | not_default_constructible_hash_neg.cc: Adapt dg-error line number. | |
1007 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: | |
1008 | Likewise. | |
1009 | ||
6cb784b6 TS |
1010 | 2013-08-07 Tim Shen <timshen91@gmail.com> |
1011 | ||
1012 | * include/Makefile.am: Adjust to new files. | |
1013 | * include/Makefile.in: Regenerate. | |
1014 | * include/bits/regex.h: Adjust to new interfaces. | |
1015 | * include/bits/regex_automaton.h: New. | |
1016 | * include/bits/regex_automaton.tcc: New. | |
1017 | * include/bits/regex_compiler.h: Adjust to new files. | |
1018 | * include/bits/regex_compiler.tcc: New. | |
1019 | * include/bits/regex_constants.h: Tail spaces. | |
1020 | * include/bits/regex_error.h: Likewise. | |
1021 | * include/bits/regex_executor.h: New. | |
1022 | * include/bits/regex_executor.tcc: New. | |
1023 | * include/std/regex: Adjust to new files. | |
1024 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
1025 | string_dispatch_01.cc: Adjust to new interfaces. | |
1026 | ||
aeb1f2be PC |
1027 | 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com> |
1028 | ||
1029 | * include/ext/atomicity.h: Add #pragma GCC system_header. | |
1030 | ||
a803975d PC |
1031 | 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com> |
1032 | ||
1033 | PR libstdc++/58098 | |
1034 | * include/bits/random.h (cauchy_distribution<>::min, | |
1035 | extreme_value_distribution<>::min, normal_distribution<>::min, | |
1036 | student_t_distribution<>::min): Fix. | |
1037 | * include/ext/random (normal_mv_distribution<>::min): Likewise. | |
1038 | * testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc: | |
1039 | Adjust. | |
1040 | testsuite/26_numerics/random/cauchy_distribution/cons/default.cc: | |
1041 | Likewise. | |
1042 | * testsuite/26_numerics/random/extreme_value_distribution/cons/ | |
1043 | parms.cc: Likewise. | |
1044 | testsuite/26_numerics/random/extreme_value_distribution/cons/ | |
1045 | default.cc: Likewise. | |
1046 | * testsuite/26_numerics/random/normal_distribution/cons/parms.cc: | |
1047 | Likewise. | |
1048 | * testsuite/26_numerics/random/normal_distribution/cons/default.cc: | |
1049 | Likewise. | |
1050 | * testsuite/26_numerics/random/student_t_distribution/cons/parms.cc: | |
1051 | Likewise. | |
1052 | * testsuite/26_numerics/random/student_t_distribution/cons/default.cc: | |
1053 | Likewise. | |
1054 | * testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise. | |
1055 | * testsuite/ext/random/normal_mv_distribution/cons/default.cc: Likewise. | |
1056 | ||
1057 | * testsuite/26_numerics/random/exponential_distribution/cons/parms.cc: | |
1058 | Minor tweak. | |
1059 | * testsuite/26_numerics/random/exponential_distribution/cons/default.cc: | |
1060 | Likewise. | |
1061 | ||
1062 | * testsuite/ext/von_mises_distribution/*: Move to... | |
1063 | * testsuite/ext/random/von_mises_distribution/*: ... here. | |
1064 | * testsuite/ext/triangular_distribution/*: Move to... | |
1065 | * testsuite/ext/random/triangular_distribution/*: ... here. | |
1066 | ||
2077db1b CT |
1067 | 2013-08-06 Caroline Tice <cmtice@google.com> |
1068 | ||
1069 | * fragment.am: Add XTEMPLATE_FLAGS. | |
1070 | * configure.ac: Add definitions for --enable-vtable-verify. | |
1071 | * acinclude.m4: Add --enable-vtable-verify and | |
1072 | --disable-vtable-verify; define --enable-vtable-verify; define | |
1073 | VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS. | |
1074 | * config/abi/pre/gnu.ver: Export symbols for vtable verification. | |
1075 | * libsupc++/Makefile.am: Define vtv_sources and add it to | |
1076 | libsupc___la_SOURCES and libsupc__convenience_la_SOURCES. | |
1077 | * libsupc++/vtv_stubs.cc: New file. | |
1078 | * include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS. | |
1079 | * src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add | |
1080 | VTV_CXXLINKFLAGS to CXXLINK. | |
1081 | * src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS | |
1082 | to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK. | |
1083 | * src/C++11/Makefile.am: Ditto. | |
1084 | * doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify. | |
1085 | * scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause | |
1086 | cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS. | |
1087 | * testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate | |
1088 | libvtv if --enable-vtable-verify was used; set cxxvtvflags; add | |
1089 | cxxvtvflags to cxx_final. | |
1090 | * testsuite/18_support/bad_exception/23591_thread-1.c: Add | |
1091 | -fvtable-verify=none to compiler flags. | |
1092 | * testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none | |
1093 | to compiler flags. | |
1094 | * configure: Regenerated. | |
1095 | * Makefile.in: Regenerated. | |
1096 | * python/Makefile.in: Regenerated. | |
1097 | * include/Makefile.in: Regenerated. | |
1098 | * libsupc++/Makefile.in: Regenerated. | |
1099 | * config.h.in: Regenerated. | |
1100 | * po/Makefile.in: Regenerated. | |
1101 | * src/Makefile.in: Regenerated. | |
1102 | * src/c++98/Makefile.in: Regenerated. | |
1103 | * src/c++11/Makefile.in: Regenerated. | |
1104 | * doc/Makefile.in: Regenerated. | |
1105 | * testsuite/Makefile.in: Regenerated. | |
1106 | ||
6ffd1096 PC |
1107 | 2013-08-06 Paolo Carlini <paolo.carlini@oracle.com> |
1108 | ||
1109 | Revert the last commit. | |
1110 | ||
a3d4b3d7 FD |
1111 | 2013-08-06 François Dumont <fdumont@gcc.gnu.org> |
1112 | ||
1113 | * include/bits/hashtable_policy.h (_Hashtable_alloc): New. | |
1114 | (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than | |
1115 | _Hashtable. | |
1116 | (_Before_begin<>): Remove. | |
1117 | * include/bits/hashtable.h (_Hashtable): Inherit from | |
1118 | _Hashtable_alloc and adapt. Restore _M_before_begin field. | |
1119 | * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt | |
1120 | access to hashtable before begin. | |
1121 | * testsuite/23_containers/unordered_set/ | |
1122 | not_default_constructible_hash_neg.cc: Adapt dg-error line number. | |
1123 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: | |
1124 | Likewise. | |
1125 | ||
399eeef9 TS |
1126 | 2013-08-03 Tim Shen <timshen91@gmail.com> |
1127 | ||
1128 | Implement bracket expression. | |
1129 | * include/bits/regex.h: Remove constexpr from "|=", etc. | |
1130 | * include/bits/regex_compiler.h: Parse bracket expression. | |
1131 | * include/bits/regex_nfa.h: _Comparator and _BracketMatcher(old | |
1132 | _RangeMatcher). | |
1133 | * include/bits/regex_nfa.tcc: Implement them. | |
1134 | * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: | |
1135 | from regex_search to regex_match. | |
1136 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
1137 | cstring_bracket_01.cc: New. | |
1138 | ||
7dec245a PC |
1139 | 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com> |
1140 | ||
1141 | * include/debug/functions.h (__foreign_iterator_aux4): | |
1142 | Initialize __l and __ge. | |
1143 | ||
a1a0abac PC |
1144 | 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com> |
1145 | ||
1146 | PR libstdc++/58049 | |
1147 | * include/debug/functions.h: Include <bits/move.h>; minor formatting | |
1148 | changes. | |
1149 | (__foreign_iterator_aux4): Declare __l and __ge constexpr. | |
1150 | * include/debug/safe_iterator.h (_Safe_iterator<>::operator->): | |
1151 | Use __addressof. | |
1152 | * include/debug/safe_local_iterator.h (_Safe_local_iterator<>:: | |
1153 | operator->): Likewise. | |
1154 | ||
5720787a FD |
1155 | 2013-08-01 François Dumont <fdumont@gcc.gnu.org> |
1156 | ||
1157 | PR libstdc++/57779 | |
1158 | * include/debug/formatter.h (_Debug_msg_id): Add | |
1159 | __msg_insert_itself_range entry. | |
1160 | * include/debug/functions.h (_Insert_range_from_self_is_safe<>): | |
1161 | New, indicate container types supporting self range insertion in | |
1162 | GNU implementation. | |
1163 | (__foreign_iterator): New, check if an iterator points to a given | |
1164 | sequence. | |
1165 | * include/debug/macros.h (__glibcxx_check_insert_range): Add check | |
1166 | using __foreign_iterator. | |
1167 | (__gibcxx_check_insert_range_after): Likewise. | |
1168 | * include/debug/string (_Insert_range_from_self_is_safe<>): | |
1169 | Partially specialized to mark __gnu_debug::basic_string<> as | |
1170 | supporting self range insert. | |
1171 | * include/debug/list (_Insert_range_from_self_is_safe<>): | |
1172 | Partially specialized to mark std::list as supporting self range | |
1173 | insert if _GLIBCXX_DEBUG_PEDANTIC is not defined. | |
1174 | * include/debug/forward_list (_Insert_range_from_self_is_safe<>): | |
1175 | Likewise. | |
1176 | * src/c++11/debug.cc (_S_debug_messages): Add | |
1177 | __msg_insert_itself_range_entry message. | |
1178 | (_Error_formatter::_Parameter::_M_print_description): Display | |
1179 | iterator sequence address rather than sequence address when the | |
1180 | parameter type is an iterator. | |
1181 | (_Error_formatter::_M_print_word): Enhance behavior when | |
1182 | displaying a word with an appended '\n'. | |
1183 | * testsuite/util/debug/checks.h (check_insert4<>): New. | |
1184 | * testsuite/23_containers/deque/debug/insert5_neg.cc: New. | |
1185 | * testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise. | |
1186 | * testsuite/23_containers/vector/debug/insert6_neg.cc: Likewise. | |
1187 | * testsuite/23_containers/vector/debug/57779_neg.cc: Likewise. | |
1188 | * testsuite/23_containers/list/debug/insert5_neg.cc: Likewise. | |
1189 | * testsuite/23_containers/forward_list/debug/insert_after4_neg.cc: | |
1190 | Likewise. | |
1191 | ||
fb23b69e FC |
1192 | 2013-08-01 Fabien Chêne <fabien@gcc.gnu.org> |
1193 | ||
1194 | PR c++/54537 | |
1195 | * include/tr1/cmath: Remove pow(double,double) overload, remove a | |
1196 | duplicated comment about DR 550. Add a comment to explain the | |
1197 | issue. | |
1198 | * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New. | |
1199 | ||
95c7d828 TS |
1200 | 2013-07-31 Tim Shen <timshen91@gmail.com> |
1201 | ||
1202 | Thompson matcher refactored. Fix grouping problem. | |
1203 | * include/bits/regex.h: Use a dispatcher _M_get_matcher(). | |
1204 | * include/bits/regex_compiler.h: Tweak for auto switching. | |
1205 | * include/bits/regex_grep_matcher.h: Class structure. | |
1206 | * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson | |
1207 | matcher) refactoring. | |
1208 | * include/bits/regex_nfa.h: Change _Results's interfaces. | |
1209 | * include/std/regex: Includes <map> and <queue>. | |
1210 | * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: | |
1211 | For both matchers. | |
1212 | * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: | |
1213 | For both matchers. | |
1214 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
1215 | string_dispatch_01.cc: New. | |
1216 | ||
4333e4dc PC |
1217 | 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com> |
1218 | ||
1219 | PR libstdc++/56627 | |
1220 | * include/bits/stl_bvector.h: Use friend struct hash intead of | |
1221 | friend class hash to work around useless warnings produced by | |
1222 | some compilers. | |
1223 | * include/std/bitset: Likewise. | |
1224 | ||
a781834e PC |
1225 | 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com> |
1226 | ||
1227 | * src/c++11/functexcept.cc: Do not include the whole <regex>. | |
1228 | * src/c++11/regex.cc: Likewise. | |
1229 | ||
11510532 TS |
1230 | 2013-07-31 Tim Shen <timshen91@gmail.com> |
1231 | ||
1232 | Revert last commit. | |
1233 | ||
abf1719e TS |
1234 | 2013-07-31 Tim Shen <timshen91@gmail.com> |
1235 | ||
1236 | Thompson matcher refactored. Fix grouping problem. | |
1237 | * include/bits/regex.h: Use a dispatcher _M_get_matcher(). | |
1238 | * include/bits/regex_compiler.h: Tweak for auto switching. | |
1239 | * include/bits/regex_grep_matcher.h: Class structure. | |
1240 | * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson | |
1241 | matcher) refactoring. | |
1242 | * include/bits/regex_nfa.h: Change _Results's interfaces. | |
1243 | * include/std/regex: Includes <map> and <queue>. | |
1244 | * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: | |
1245 | For both matchers. | |
1246 | * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: | |
1247 | For both matchers. | |
1248 | * testsuite/28_regex/algorithms/regex_match/extended/ | |
1249 | string_dispatch_01.cc: New. | |
1250 | ||
5034aa21 PC |
1251 | 2013-07-30 Paolo Carlini <paolo.carlini@oracle.com> |
1252 | ||
1253 | Revert last commit. | |
1254 | ||
a6dc77bc TS |
1255 | 2013-07-30 Tim Shen <timshen91@gmail.com> |
1256 | ||
1257 | Thompson matcher refactored. Fix grouping problem. | |
1258 | * include/bits/regex.h: Use a dispatcher _M_get_matcher(). | |
1259 | * include/bits/regex_compiler.h: Tweak for auto switching. | |
1260 | * include/bits/regex_grep_matcher.h: Class structure. | |
1261 | * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson | |
1262 | matcher) refactoring. | |
1263 | * include/bits/regex_nfa.h: Change _Results's interfaces. | |
1264 | * include/std/regex: Includes <map> and <queue>. | |
1265 | * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: | |
1266 | For both matchers. | |
1267 | * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: | |
1268 | For both matchers. | |
5034aa21 PC |
1269 | * testsuite/28_regex/algorithms/regex_match/extended/ |
1270 | string_dispatch_01.cc: New. | |
a6dc77bc | 1271 | |
272827e4 NF |
1272 | 2013-07-29 Nathan Froyd <froydnj@gcc.gnu.org> |
1273 | ||
1274 | * include/std/atomic (compare_exchange_weak, compare_exchange_strong): | |
1275 | Add call to __cmpexch_failure_order. | |
1276 | * testsuite/util/testsuite_common_types.h | |
1277 | (compare_exchange_order_lowering): New generator. | |
1278 | * testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc: | |
1279 | New test. | |
1280 | ||
4e30cb71 PC |
1281 | 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com> |
1282 | ||
1283 | * include/std/complex (pow(const complex<>&, int)): Enable in | |
1284 | C++11 mode too. | |
1285 | * testsuite/26_numerics/complex/dr844.cc: Adjust. | |
1286 | * doc/xml/manual/intro.xml: Update. | |
1287 | ||
105164bb TS |
1288 | 2013-07-25 Tim Shen <timshen91@gmail.com> |
1289 | ||
1290 | Add documents and comments. | |
1291 | * include/bits/regex.h: Documents and comments. | |
1292 | * include/bits/regex_grep_matcher.h: Likewise. | |
1293 | * include/bits/regex_grep_matcher.tcc: Likewise. | |
4e30cb71 PC |
1294 | * testsuite/28_regex/iterators/regex_iterator/char/ |
1295 | string_position_01.cc: New. | |
105164bb | 1296 | |
484b502a PC |
1297 | 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com> |
1298 | ||
1299 | PR libstdc++/57976 | |
1300 | * doc/xml/manual/status_cxx2011.xml: Note missing time_get::get and | |
1301 | time_get::do_get. | |
1302 | ||
821f6f1b PC |
1303 | 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com> |
1304 | ||
1305 | * include/bits/random.h (random_device): Avoid using the FILE type. | |
1306 | * include/std/random: Do not include <cstdio>. | |
1307 | * src/c++11/random.cc: ... include it here. | |
1308 | (random_device::_M_init, random_device::_M_fini, | |
1309 | random_device::_M_getval): Cast back and forth void* and FILE*. | |
1310 | ||
37c74e28 TS |
1311 | 2013-07-24 Tim Shen <timshen91@gmail.com> |
1312 | ||
1313 | Reimplment matcher using Depth-first search(backtracking). | |
1314 | PR libstdc++/53622 | |
1315 | PR libstdc++/57173 | |
1316 | * include/bits/regex.h: regex_match() and regex_search(). | |
1317 | * include/bits/regex_cursor.h: Fix _M_set_pos(). | |
1318 | * include/bits/regex_grep_matcher.h: add _M_dfs_match(). | |
1319 | * include/bits/regex_grep_matcher.tcc: Implement it. | |
b698d310 TS |
1320 | * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: New. |
1321 | * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: New. | |
37c74e28 TS |
1322 | * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: |
1323 | Remove xfail. | |
1324 | ||
407a0fa3 TS |
1325 | 2013-07-23 Tim Shen <timshen91@gmail.com> |
1326 | ||
1327 | Implement regex_iterator and regex_token_iterator. | |
1328 | * include/bits/regex.h: regex_iterator and regex_token_iterator. | |
1329 | * testsuite/28_regex/iterators/regex_iterator/char/string_01.cc: | |
1330 | New. | |
1331 | * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc: | |
1332 | New. | |
1333 | * testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc: | |
1334 | New. | |
821f6f1b PC |
1335 | * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/ |
1336 | string_01.cc: New. | |
407a0fa3 | 1337 | |
3c68decc PC |
1338 | 2013-07-23 Paolo Carlini <paolo.carlini@oracle.com> |
1339 | ||
1340 | * include/std/random: Add back <cstdio> include. | |
1341 | * src/c++11/random.cc: Don't include <cstdio> here. | |
1342 | ||
16a1d8fe JM |
1343 | 2013-07-22 Jason Merrill <jason@redhat.com> |
1344 | ||
1345 | PR libstdc++/57914 | |
1346 | * libsupc++/atexit_thread.cc (run): Delete cleanup elts. | |
1347 | ||
94e7477f PC |
1348 | 2013-07-22 Paolo Carlini <paolo.carlini@oracle.com> |
1349 | ||
1350 | PR c++/57920 | |
1351 | * src/c++11/random.cc (random_device::_M_getval): If possible, use | |
1352 | read instead of std::fread. | |
1353 | * include/std/random: Do not include <cstdio> unnecessarily. | |
1354 | ||
603c431f TS |
1355 | 2013-07-21 Tim Shen <timshen91@gmail.com> |
1356 | ||
1357 | Partially implement regex_search. | |
1358 | * include/bits/regex.h: regex_search. | |
1359 | * include/bits/regex_grep_matcher.h: _M_search_from_first. | |
1360 | * include/bits/regex_grep_matcher.tcc: Implement it. | |
1361 | * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: New. | |
1362 | ||
3429db0f JW |
1363 | 2013-07-21 Jonathan Wakely <jwakely.gcc@gmail.com> |
1364 | ||
1365 | PR libstdc++/54352 | |
1366 | * include/std/condition_variable (condition_variable_any): Move into | |
1367 | inline namespace _V2 and replace mutex member with shared_ptr<mutex>. | |
1368 | * src/c++11/condition_variable.cc (condition_variable_any): Move | |
1369 | definitions to ... | |
1370 | * src/c++11/compatibility-condvar.cc (condition_variable_any): Here. | |
1371 | * src/Makefile.am: Add new source file. | |
1372 | * src/Makefile.in: Regenerate. | |
1373 | ||
b3ebe3d0 TS |
1374 | 2013-07-09 Tim Shen <timshen91@gmail.com> |
1375 | ||
1376 | Implement class regex_traits. | |
1377 | * include/bits/regex.h: Implement lookup_classname and | |
1378 | lookup_collatename; modify isctype; partially implement | |
1379 | transform_primary. | |
1380 | * testsuite/28_regex/traits/char/isctype.cc: Add more test cases. | |
1381 | * testsuite/28_regex/traits/char/lookup_classname.cc: Likewise. | |
1382 | * testsuite/28_regex/traits/char/lookup_collatename.cc: Likewise. | |
1383 | * testsuite/28_regex/traits/char/transform_primary.cc: Likewise. | |
1384 | * testsuite/28_regex/traits/wchar_t/isctype.cc: New. | |
1385 | * testsuite/28_regex/traits/wchar_t/lookup_classname.cc: New. | |
1386 | * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: New. | |
1387 | * testsuite/28_regex/traits/wchar_t/transform_primary.cc: New. | |
1388 | ||
c8dfadf8 ESR |
1389 | 2013-07-07 Ed Smith-Rowland <3dw4rd@verizon.net> |
1390 | ||
1391 | * doc/xml/manual/status_cxx2014.xml: Add links for papers. | |
1392 | ||
b3abc9d8 FD |
1393 | 2013-07-05 François Dumont <fdumont@gcc.gnu.org> |
1394 | ||
1395 | * include/bits/hashtable_policy.h (_ReuseOrAllocNode): Use forward | |
1396 | pattern. | |
1397 | (_MoveReuseOrAllocNode): Remove. | |
1398 | (_Insert_base): Take a functor defining how the node is generated. | |
1399 | * include/bits/hashtable.h: Adapt. | |
1400 | (operator=(initializer_list<value_type>)): Reuse node if any. | |
1401 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: | |
1402 | Adjust dg-error line number. | |
1403 | * testsuite/23_containers/unordered_set/ | |
1404 | not_default_constructible_hash_neg.cc: Likewise. | |
1405 | ||
110374e4 PC |
1406 | 2013-07-05 Paolo Carlini <paolo.carlini@oracle.com> |
1407 | ||
1408 | * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc: | |
1409 | Tweak, avoid potential undefined behavior. | |
1410 | * testsuite/23_containers/list/modifiers/insert/const_iterator.cc: | |
1411 | Likewise. | |
1412 | * testsuite/23_containers/vector/bool/modifiers/insert/ | |
1413 | const_iterator.cc: Likewise. | |
1414 | * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc: | |
1415 | Likewise. | |
1416 | ||
1d77bc54 VL |
1417 | 2013-07-04 Veres Lajos <vlajos@gmail.com> |
1418 | Jonathan Wakely <jwakely.gcc@gmail.com> | |
1419 | ||
1420 | * config/locale/generic/codecvt_members.cc: Fix typo. | |
1421 | * configure.host: Likewise. | |
1422 | * doc/html/manual/policy_data_structures_design.html: Likewise. | |
1423 | * doc/xml/manual/policy_data_structures.xml: Likewise. | |
1424 | * include/bits/hashtable.h: Likewise. | |
1425 | * include/bits/random.h: Likewise. | |
1426 | * include/profile/impl/profiler_trace.h: Likewise. | |
1427 | * testsuite/23_containers/deque/cons/2.cc: Likewise. | |
1428 | * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise. | |
1429 | * testsuite/ext/pb_ds/example/basic_multimap.cc: Likewise. | |
1430 | * testsuite/performance/23_containers/insert_erase/41975.cc: Likewise. | |
1431 | ||
b727d9c4 RC |
1432 | 2013-07-04 Ray Chason <chasonr@newsguy.com> |
1433 | Paolo Carlini <paolo.carlini@oracle.com> | |
1434 | ||
1435 | PR libstdc++/57808 | |
1436 | * include/bits/regex.h (regex_token_iterator<>::operator==, | |
1437 | regex_token_iterator<>::operator!=, regex_token_iterator<>::operator*, | |
1438 | regex_token_iterator<>::operator->): Declare const. | |
1439 | ||
019fdb79 PC |
1440 | 2013-07-01 Paolo Carlini <paolo.carlini@oracle.com> |
1441 | ||
1442 | * include/bits/stl_list.h (list<>::insert(iterator, | |
1443 | size_type, const value_type&), list<>::insert(iterator, | |
1444 | initializer_list<>), list<>::insert(iterator, _InputIterator, | |
1445 | _InputIterator), list<>::splice(iterator, list&&), | |
1446 | list<>::splice(iterator, list&), list<>::splice(iterator, list&&, | |
1447 | iterator), list<>::splice(iterator, list&, iterator), | |
1448 | list<>::splice(iterator, list&&, iterator, iterator), | |
1449 | list<>::splice(iterator, list&, iterator, iterator)): Adjust C++11 | |
1450 | signatures to take const_iterator(s). | |
1451 | * include/bits/list.tcc (list<>::insert(const_iterator, size_type, | |
1452 | const value_type&), list<>::insert(const_iterator, _InputIterator, | |
1453 | _InputIterator)): Define. | |
1454 | * include/ext/vstring.h (__versa_string<>::insert(iterator, | |
1455 | size_type, _CharT), __versa_string<>::insert(iterator, | |
1456 | _InputIterator, _InputIterator), __versa_string<>::insert(iterator, | |
1457 | std::initializer_list<>), __versa_string<>::replace(iterator, | |
1458 | iterator, _InputIterator, _InputIterator), __versa_string<>:: | |
1459 | replace(iterator, iterator, std::initializer_list<>)): Adjust C++11 | |
1460 | signatures to take const_iterator(s). | |
1461 | (__versa_string<>::_M_replace_dispatch): Take const_iterators. | |
1462 | * include/ext/vstring.tcc: Likewise. | |
1463 | * include/debug/list: Adjust. | |
1464 | * include/profile/list: Likewise. | |
1465 | * testsuite/23_containers/list/operations/splice/const_iterator.cc: | |
1466 | New. | |
1467 | * testsuite/23_containers/list/modifiers/insert/const_iterator.cc: | |
1468 | Extend. | |
1469 | * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc: | |
1470 | Likewise. | |
1471 | * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc: | |
1472 | Likewise. | |
1473 | * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc: | |
1474 | Likewise. | |
1475 | * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc: | |
1476 | Likewise. | |
1477 | ||
1478 | * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: | |
1479 | Adjust dg-error line number. | |
1480 | * testsuite/23_containers/list/requirements/dr438/ | |
1481 | constructor_1_neg.cc: Likewise. | |
1482 | * testsuite/23_containers/list/requirements/dr438/ | |
1483 | constructor_2_neg.cc: Likewise. | |
1484 | * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: | |
1485 | Likewise. | |
1486 | ||
06eed9f5 PC |
1487 | 2013-06-30 Paolo Carlini <paolo.carlini@oracle.com> |
1488 | ||
1489 | * include/bits/stl_deque.h (deque<>::insert(iterator, | |
1490 | size_type, const value_type&), deque<>::insert(iterator, | |
1491 | initializer_list<>), deque<>::insert(iterator, _InputIterator, | |
1492 | _InputIterator)): Adjust C++11 signatures to take a const_iterator. | |
1493 | * include/bits/stl_vector.h: Likewise. | |
1494 | * include/bits/stl_bvector.h: Likewise. | |
1495 | * include/debug/deque: Adjust. | |
1496 | * include/debug/vector: Likewise. | |
1497 | * include/profile/deque: Likewise. | |
1498 | * include/profile/vector: Likewise. | |
1499 | * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc: | |
1500 | Extend. | |
1501 | * testsuite/23_containers/vector/bool/modifiers/insert/ | |
1502 | const_iterator.cc: Likewise. | |
1503 | * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc: | |
1504 | Likewise. | |
1505 | ||
1506 | * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: | |
1507 | Adjust dg-error line number. | |
1508 | * testsuite/23_containers/deque/requirements/dr438/ | |
1509 | constructor_1_neg.cc: Likewise. | |
1510 | * testsuite/23_containers/deque/requirements/dr438/ | |
1511 | constructor_2_neg.cc: Likewise. | |
1512 | * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: | |
1513 | Likewise. | |
1514 | * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: | |
1515 | Likewise. | |
1516 | * testsuite/23_containers/vector/requirements/dr438/ | |
1517 | constructor_1_neg.cc: Likewise. | |
1518 | * testsuite/23_containers/vector/requirements/dr438/ | |
1519 | constructor_2_neg.cc: Likewise. | |
1520 | * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: | |
1521 | Likewise. | |
1522 | ||
b1eb497f FD |
1523 | 2013-06-29 François Dumont <fdumont@gcc.gnu.org> |
1524 | ||
1525 | * include/bits/hashtable_policy.h (_Insert_base): Consider hint in | |
1526 | insert methods. | |
1527 | * include/bits/hashtable.h: Likewise. | |
1528 | * testsuite/23_containers/unordered_multimap/insert/hint.cc: New. | |
1529 | * testsuite/performance/23_containers/insert/unordered_multiset_hint.cc: | |
1530 | New. | |
1531 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: | |
1532 | Adjust dg-error line number. | |
1533 | * testsuite/23_containers/unordered_set/ | |
1534 | not_default_constructible_hash_neg.cc: Likewise. | |
1535 | * doc/xml/manual/containers.xml: Document hinting in unordered | |
1536 | containers. | |
1537 | ||
e8f24c86 PC |
1538 | 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com> |
1539 | ||
1540 | * testsuite/21_strings/basic_string/operations/*: Move inside | |
1541 | testsuite/21_strings/basic_string/operations/data/. | |
1542 | * testsuite/21_strings/basic_string/compare/*: Move inside | |
1543 | testsuite/21_strings/basic_string/operations/. | |
1544 | * testsuite/21_strings/basic_string/find/*: Likewise. | |
1545 | * testsuite/21_strings/basic_string/rfind/*: Likewise. | |
1546 | * testsuite/21_strings/basic_string/substr/*: Likewise. | |
1547 | ||
17ee10db PC |
1548 | 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com> |
1549 | ||
1550 | * testsuite/21_strings/basic_string/append/*: Move inside | |
1551 | testsuite/21_strings/basic_string/modifiers/. | |
1552 | * testsuite/21_strings/basic_string/assign/*: Likewise. | |
1553 | * testsuite/21_strings/basic_string/insert/*: Likewise. | |
1554 | * testsuite/21_strings/basic_string/replace/*: Likewise. | |
1555 | * testsuite/21_strings/basic_string/modifiers/pop_back/char/ | |
1556 | pop_back.cc: Rename to 1.cc. | |
1557 | * testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/ | |
1558 | pop_back.cc: Likewise. | |
1559 | * testsuite/ext/vstring/assign/*: Move inside | |
1560 | testsuite/ext/vstring/modifiers/. | |
1561 | ||
7b61c5a9 PC |
1562 | 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com> |
1563 | ||
1564 | * include/bits/stl_deque.h (deque<>::insert(iterator, | |
1565 | const value_type&), deque<>::insert(iterator, value_type&&), | |
1566 | deque<>::emplace(iterator, _Args&&...)): Adjust C++11 signatures to | |
1567 | take a const_iterator. | |
1568 | (deque<>::erase): Simplify. | |
1569 | * include/bits/stl_list.h: Likewise. | |
1570 | (_List_iterator<>::_M_const_cast): Add. | |
1571 | * include/bits/stl_vector.h: Likewise. | |
1572 | * include/bits/stl_bvector.h: Likewise. | |
1573 | (_Bit_iterator::_M_const_cast): Add. | |
1574 | * include/bits/deque.tcc: Adjust definitions. | |
1575 | * include/bits/list.tcc: Likewise. | |
1576 | * include/bits/vector.tcc: Likewise. | |
1577 | * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast): | |
1578 | Define trivial version in C++98 mode. | |
1579 | * include/ext/vstring.h (__versa_string<>::insert(iterator, _CharT), | |
1580 | __versa_string<>::replace(iterator, iterator, const __versa_string&), | |
1581 | __versa_string<>::replace(iterator, iterator, const _CharT*, | |
1582 | size_type), __versa_string<>::replace(iterator, iterator, | |
1583 | const _CharT*), __versa_string<>::replace(iterator, iterator, | |
1584 | size_type, _CharT)): Adjust C++11 signatures to take a pair of | |
1585 | const_iterators. | |
1586 | * include/debug/deque: Adjust. | |
1587 | * include/debug/list: Likewise. | |
1588 | * include/debug/vector: Likewise. | |
1589 | * include/profile/deque: Likewise. | |
1590 | * include/profile/list: Likewise. | |
1591 | * include/profile/vector: Likewise. | |
1592 | (vector<>::emplace): Add. | |
1593 | * testsuite/util/exception/safety.h: Update. | |
1594 | * testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc: | |
1595 | New. | |
1596 | * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc: | |
1597 | Likewise. | |
1598 | * testsuite/23_containers/list/modifiers/emplace/const_iterator.cc: | |
1599 | Likewise. | |
1600 | * testsuite/23_containers/list/modifiers/insert/const_iterator.cc: | |
1601 | Likewise. | |
1602 | * testsuite/23_containers/vector/bool/modifiers/insert/ | |
1603 | const_iterator.cc: Likewise. | |
1604 | * testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc: | |
1605 | Likewise. | |
1606 | * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc: | |
1607 | Likewise. | |
1608 | * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc: | |
1609 | Likewise. | |
1610 | * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc: | |
1611 | Likewise. | |
1612 | * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc: | |
1613 | Likewise. | |
1614 | * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc: | |
1615 | Likewise. | |
1616 | ||
1617 | * testsuite/ext/vstring/modifiers/char/54577.cc: Move to testsuite/ | |
1618 | ext/vstring/modifiers/erase/char/. | |
1619 | * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Move to testsuite/ | |
1620 | ext/vstring/modifiers/wchar_t/. | |
1621 | * testsuite/ext/vstring/modifiers/char/pop_back.cc: Move to testsuite/ | |
1622 | ext/vstring/modifiers/pop_back/char/. | |
1623 | * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: Move to | |
1624 | testsuite/ext/vstring/modifiers/pop_back/wchar_t/. | |
1625 | ||
1626 | * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: | |
1627 | Adjust dg-error line number. | |
1628 | * testsuite/23_containers/deque/requirements/dr438/ | |
1629 | constructor_1_neg.cc: Likewise. | |
1630 | * testsuite/23_containers/deque/requirements/dr438/ | |
1631 | constructor_2_neg.cc: Likewise. | |
1632 | * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: | |
1633 | Likewise. | |
1634 | * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: | |
1635 | Likewise. | |
1636 | * testsuite/23_containers/list/requirements/dr438/ | |
1637 | constructor_1_neg.cc: Likewise. | |
1638 | * testsuite/23_containers/list/requirements/dr438/ | |
1639 | constructor_2_neg.cc: Likewise. | |
1640 | * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: | |
1641 | Likewise. | |
1642 | * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: | |
1643 | Likewise. | |
1644 | * testsuite/23_containers/vector/requirements/dr438/ | |
1645 | constructor_1_neg.cc: Likewise. | |
1646 | * testsuite/23_containers/vector/requirements/dr438/ | |
1647 | constructor_2_neg.cc: Likewise. | |
1648 | * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: | |
1649 | Likewise. | |
1650 | ||
3ed8a9cd ESR |
1651 | 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net> |
1652 | ||
1653 | Status page for C++2014 library features | |
1654 | * doc/xml/faq.xml: Add link to new C++14 status page. | |
1655 | * doc/xml/manual/intro.xml: Ditto. | |
1656 | * doc/xml/manual/status_cxx2014.xml: New. | |
1657 | ||
a9826e56 PC |
1658 | 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com> |
1659 | ||
1660 | * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid | |
1661 | spurious fails with check-debug. | |
1662 | * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: | |
1663 | Likewise. | |
1664 | * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise. | |
1665 | * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: | |
1666 | Likewise. | |
1667 | ||
6cdbb7e8 PC |
1668 | 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com> |
1669 | ||
1670 | PR libstdc++/57704 | |
1671 | * include/bits/char_traits.h (char_traits<char>::lt): Implement | |
1672 | LWG 467. | |
1673 | * testsuite/21_strings/char_traits/requirements/char/57704.cc: New. | |
1674 | ||
a4e28c81 BE |
1675 | 2013-06-24 Bernd Edlinger <bernd.edlinger@hotmail.de> |
1676 | ||
1677 | PR libstdc++/57691 | |
1678 | * include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED, | |
1679 | declare per the letter of the C++ standard in terms of void. | |
1680 | * include/c_std/cstdlib: Likewise. | |
1681 | ||
07bba3b1 PC |
1682 | 2013-06-22 Paolo Carlini <paolo.carlini@oracle.com> |
1683 | ||
1684 | PR libstdc++/57674 | |
1685 | * include/bits/random.h (binomial_distribution<>::_M_waiting): | |
1686 | Add double parameter. | |
1687 | * include/bits/random.tcc (binomial_distribution<>::operator() | |
1688 | (_UniformRandomNumberGenerator&, const param_type&)): Pass | |
1689 | __param._M_q to _M_waiting. | |
1690 | (_M_waiting): Adjust. | |
1691 | * testsuite/26_numerics/random/binomial_distribution/ | |
1692 | operators/values.cc: Add tests. | |
1693 | ||
b0ad3635 PC |
1694 | 2013-06-21 Paolo Carlini <paolo.carlini@oracle.com> |
1695 | ||
1696 | PR libstdc++/57666 | |
1697 | * include/std/valarray (valarray<>::operator=(const _Expr<>&)): | |
1698 | Implement correctly C++11 26.6.2.3/1. | |
1699 | * testsuite/26_numerics/valarray/dr630-3.C: New. | |
1700 | ||
25e00ab6 JW |
1701 | 2013-06-18 Jonathan Wakely <jwakely.gcc@gmail.com> |
1702 | ||
1703 | PR libstdc++/57641 | |
1704 | * include/std/mutex (timed_mutex, recursive_timed_mutex): Move common | |
1705 | functionality to new __timed_mutex_impl mixin. Overload try_lock_until | |
1706 | to handle conversion between different clocks. Replace constrained | |
1707 | __try_lock_for_impl overloads with conditional increment. | |
1708 | * include/std/shared_mutex (shared_mutex::_Mutex): Use the new mixin. | |
1709 | * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: New. | |
1710 | ||
31eb8a18 JW |
1711 | 2013-06-17 Jonathan Wakely <jwakely.gcc@gmail.com> |
1712 | Chris Jefferson <chris@bubblescope.net> | |
1713 | ||
1714 | * include/bits/stl_algobase.h (equal): Make C++14 overloads from N3671 | |
1715 | dispatch to traditional std::equal for random-access iterators. | |
1716 | (__equal2_aux, __equal2): Remove. | |
1717 | (__equal::equal): Remove unused overloads. | |
1718 | * include/bits/stl_algo.h (is_permutation): Fix typos. | |
1719 | ||
2081281b JW |
1720 | 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com> |
1721 | ||
1722 | * include/std/shared_mutex (shared_lock::operator=): Add missing | |
1723 | return statement. | |
1724 | ||
f038f582 JW |
1725 | 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com> |
1726 | ||
1727 | PR libstdc++/57263 | |
1728 | * include/bits/forward_list.h (_Fwd_list_base): Convert to/from | |
1729 | allocator's pointer type. | |
1730 | * include/bits/hashtable.h (_Hashtable): Likewise. | |
1731 | * testsuite/util/testsuite_allocator.h (CustomPointerAlloc): Add. | |
1732 | * testsuite/23_containers/forward_list/allocator/ext_ptr.cc: New. | |
1733 | * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: New. | |
1734 | * testsuite/23_containers/vector/allocator/ext_ptr.cc: New. | |
1735 | ||
8d2cddc1 JW |
1736 | 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com> |
1737 | ||
1738 | * include/std/shared_mutex: Implement N3659. | |
1739 | * include/bits/c++14_warning.h: New. | |
1740 | * include/Makefile.am: Add new headers. | |
1741 | * include/Makefile.in: Regenerate. | |
1742 | * testsuite/30_threads/shared_lock/cons/1.cc: New. | |
1743 | * testsuite/30_threads/shared_lock/locking/2.cc: New. | |
1744 | * testsuite/30_threads/shared_lock/cons/2.cc: New. | |
1745 | * testsuite/30_threads/shared_lock/locking/3.cc: New. | |
1746 | * testsuite/30_threads/shared_lock/cons/3.cc: New. | |
1747 | * testsuite/30_threads/shared_lock/locking/4.cc: New. | |
1748 | * testsuite/30_threads/shared_lock/cons/4.cc: New. | |
1749 | * testsuite/30_threads/shared_lock/modifiers/1.cc: New. | |
1750 | * testsuite/30_threads/shared_lock/cons/5.cc: New. | |
1751 | * testsuite/30_threads/shared_lock/modifiers/2.cc: New. | |
1752 | * testsuite/30_threads/shared_lock/cons/6.cc: New. | |
1753 | * testsuite/30_threads/shared_lock/requirements/ | |
1754 | explicit_instantiation.cc: New. | |
1755 | * testsuite/30_threads/shared_lock/locking/1.cc: New. | |
1756 | * testsuite/30_threads/shared_lock/requirements/typedefs.cc: New. | |
1757 | * testsuite/30_threads/shared_mutex/cons/1.cc: New. | |
1758 | * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New. | |
1759 | * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New. | |
1760 | * testsuite/30_threads/shared_mutex/requirements/ | |
1761 | standard_layout.cc: New. | |
1762 | * testsuite/30_threads/shared_mutex/try_lock/1.cc: New. | |
1763 | * testsuite/30_threads/shared_mutex/try_lock/2.cc: New. | |
1764 | ||
95777cb0 PC |
1765 | 2013-06-15 Paolo Carlini <paolo.carlini@oracle.com> |
1766 | ||
1767 | PR libstdc++/57619 | |
1768 | * include/bits/unordered_map.h (unordered_map<>::insert, | |
1769 | unordered_multimap<>::insert): Use std::forward, not std::move. | |
1770 | * testsuite/23_containers/unordered_map/insert/57619.C: New. | |
1771 | * testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise. | |
1772 | ||
8f7fa4ba AM |
1773 | 2013-06-14 Alan Modra <amodra@gmail.com> |
1774 | ||
1775 | * configure.host (abi_baseline_pair): Match powerpc64*. | |
1776 | ||
89898034 DK |
1777 | 2013-06-13 Daniel Krugler <daniel.kruegler@gmail.com> |
1778 | ||
1779 | * include/std/type_traits (is_function): Support ref-qualified | |
1780 | functions. | |
1781 | (is_copy_constructible, is_move_constructible, is_copy_assignable, | |
1782 | is_move_assignable, is_nothrow_copy_constructible, | |
1783 | is_nothrow_move_constructible, is_nothrow_copy_assignable, | |
1784 | is_nothrow_move_assignable): Implement LWG 2196. | |
1785 | (add_lvalue_reference, add_rvalue_reference, add_pointer): Implement | |
1786 | LWG 2101. | |
1787 | (__strip_reference_wrapper<<const reference_wrapper<_Tp>>): Remove, | |
1788 | unused. | |
1789 | * testsuite/20_util/add_lvalue_reference/value.cc: Extend. | |
1790 | * testsuite/20_util/add_rvalue_reference/value.cc: Likewise. | |
1791 | * testsuite/20_util/decay/requirements/typedefs.cc: Likewise. | |
1792 | * testsuite/20_util/is_assignable/value.cc: Likewise. | |
1793 | * testsuite/20_util/is_constructible/value-2.cc: Likewise. | |
1794 | * testsuite/20_util/is_copy_assignable/value.cc: Likewise. | |
1795 | * testsuite/20_util/is_copy_constructible/value.cc: Likewise. | |
1796 | * testsuite/20_util/is_function/value.cc: Likewise. | |
1797 | * testsuite/20_util/is_move_assignable/value.cc: Likewise. | |
1798 | * testsuite/20_util/is_move_constructible/value.cc: Likewise. | |
1799 | * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise. | |
1800 | * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise. | |
1801 | * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise. | |
1802 | * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise. | |
1803 | ||
1804 | * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error | |
1805 | line number. | |
1806 | * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: | |
1807 | Likewise. | |
1808 | * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: | |
1809 | Likewise. | |
1810 | ||
8aaba3a9 PC |
1811 | 2013-06-13 Paolo Carlini <paolo.carlini@oracle.com> |
1812 | ||
1813 | * include/tr1/modified_bessel_func.tcc (__gnu_cxx::__airy_ai(), | |
1814 | __gnu_cxx::__airy_bi()): Remove. | |
1815 | * testsuite/tr1/5_numerical_facilities/special_functions/ | |
1816 | 10_cyl_bessel_k/airy.cc: Fix. | |
1817 | ||
bcc193bf ESR |
1818 | 2013-06-12 Ed Smith-Rowland <3dw4rd@verizon.net> |
1819 | ||
1820 | PR libstdc++/56430 | |
1821 | * include/tr1/modified_bessel_func.tcc (__airy): Remove return | |
1822 | from void function. | |
1823 | (__gnu_cxx::__airy_ai(), __gnu_cxx::__airy_bi()): New functions. | |
1824 | * testsuite/tr1/5_numerical_facilities/special_functions/ | |
1825 | 10_cyl_bessel_k/airy.cc: New. | |
1826 | ||
0372af98 ESR |
1827 | 2013-06-11 Ed Smith-Rowland <3dw4rd@verizon.net> |
1828 | ||
1829 | Fix library literals error involving namespace __detail. | |
1830 | * include/std/chrono: Rename __detail to __select_type. Reformat. | |
1831 | * include/bits/basic_string.h: Reformat. | |
1832 | * testsuite/20_util/duration/literals/ns_detail.cc: New. | |
1833 | ||
899e00eb PC |
1834 | 2013-06-11 Paolo Carlini <paolo.carlini@oracle.com> |
1835 | ||
1836 | PR libstdc++/56019 | |
1837 | * include/c_global/cstddef (max_align_t): Add to namespace std. | |
1838 | * include/c_std/cstddef: Likewise. | |
1839 | * testsuite/18_support/max_align_t/requirements/1.cc: New. | |
1840 | * testsuite/18_support/max_align_t/requirements/2.cc: Likewise. | |
1841 | ||
3b31a727 BK |
1842 | 2013-06-10 Benjamin Kosnik <bkoz@redhat.com> |
1843 | ||
1844 | * include/bits/c++config (_GLIBCXX_ABI_TAG_CXX11): Add. | |
1845 | * include/bits/stl_map.h (erase): Use abi_tag when C++11. | |
1846 | * include/bits/stl_multimap.h: Same. | |
1847 | * include/bits/stl_multiset.h: Same. | |
1848 | * include/bits/stl_set.h: Same. | |
1849 | * include/bits/stl_tree.h: Same. | |
1850 | * include/std/complex (real, imag): Use macro for abi_tag. | |
1851 | ||
1852 | * testsuite/lib/libstdc++.exp: Disable inlinling with -fno-inline. | |
1853 | * testsuite/util/testsuite_containers.h (erase_external): New | |
1854 | declarations. | |
1855 | (erase_external_iterators): Same. | |
1856 | (linkage_check_cxx98_cxx11_erase): Same. | |
1857 | (linkage_check_cxx98_cxx11_erase_iterators): Same. | |
1858 | * testsuite/util/testsuite_shared.cc: Define. | |
1859 | * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: New. | |
1860 | * testsuite/23_containers/map/modifiers/erase/ | |
1861 | dr130-linkage-check.cc: New. | |
1862 | * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: New. | |
1863 | * testsuite/23_containers/multimap/modifiers/erase/ | |
1864 | dr130-linkage-check.cc: New. | |
1865 | * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: New. | |
1866 | * testsuite/23_containers/multiset/modifiers/erase/ | |
1867 | dr130-linkage-check.cc: New. | |
1868 | * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: New. | |
1869 | * testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc: | |
1870 | New. | |
1871 | * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number. | |
1872 | ||
1873 | * testsuite/23_containers/map/dr130.cc: Move... | |
1874 | * testsuite/23_containers/map/modifiers/dr130.cc: ...here. | |
1875 | * testsuite/23_containers/multimap/dr130.cc: Move ... | |
1876 | * testsuite/23_containers/multimap/modifiers/dr130.cc: ...here. | |
1877 | * testsuite/23_containers/multiset/dr130.cc: Move... | |
1878 | * testsuite/23_containers/multiset/modifiers/dr130.cc: ...here. | |
1879 | * testsuite/23_containers/set/dr130.cc: Move... | |
1880 | * testsuite/23_containers/set/modifiers/dr130.cc: ...here. | |
1881 | ||
9275f73a TS |
1882 | 2013-06-10 Thomas Schwinge <thomas@codesourcery.com> |
1883 | ||
1884 | * testsuite/17_intro/headers/c++1998/49745.cc: Extend current | |
1885 | handling of Linux-based x86 systems to cover all GNU systems. | |
1886 | * testsuite/18_support/bad_exception/23591_thread-1.c: Likewise. | |
1887 | * testsuite/18_support/pthread_guard.cc: Likewise. | |
1888 | * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: | |
1889 | Likewise. | |
1890 | * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: | |
1891 | Likewise. | |
1892 | * testsuite/21_strings/basic_string/pthread18185.cc: Likewise. | |
1893 | * testsuite/21_strings/basic_string/pthread4.cc: Likewise. | |
1894 | * testsuite/22_locale/ctype/is/char/2.cc: Likewise. | |
1895 | * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise. | |
1896 | * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise. | |
1897 | * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. | |
1898 | * testsuite/23_containers/list/pthread1.cc: Likewise. | |
1899 | * testsuite/23_containers/list/pthread5.cc: Likewise. | |
1900 | * testsuite/23_containers/map/pthread6.cc: Likewise. | |
1901 | * testsuite/23_containers/vector/debug/multithreaded_swap.cc: | |
1902 | Likewise. | |
1903 | * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: | |
1904 | Likewise. | |
1905 | * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise. | |
1906 | * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise. | |
1907 | * testsuite/30_threads/async/42819.cc: Likewise. | |
1908 | * testsuite/30_threads/async/49668.cc: Likewise. | |
1909 | * testsuite/30_threads/async/54297.cc: Likewise. | |
1910 | * testsuite/30_threads/async/any.cc: Likewise. | |
1911 | * testsuite/30_threads/async/async.cc: Likewise. | |
1912 | * testsuite/30_threads/async/launch.cc: Likewise. | |
1913 | * testsuite/30_threads/async/sync.cc: Likewise. | |
1914 | * testsuite/30_threads/call_once/39909.cc: Likewise. | |
1915 | * testsuite/30_threads/call_once/49668.cc: Likewise. | |
1916 | * testsuite/30_threads/call_once/call_once1.cc: Likewise. | |
1917 | * testsuite/30_threads/condition_variable/54185.cc: Likewise. | |
1918 | * testsuite/30_threads/condition_variable/cons/1.cc: Likewise. | |
1919 | * testsuite/30_threads/condition_variable/members/1.cc: Likewise. | |
1920 | * testsuite/30_threads/condition_variable/members/2.cc: Likewise. | |
1921 | * testsuite/30_threads/condition_variable/members/53841.cc: | |
1922 | Likewise. | |
1923 | * testsuite/30_threads/condition_variable/native_handle/typesizes.cc: | |
1924 | Likewise. | |
1925 | * testsuite/30_threads/condition_variable_any/50862.cc: Likewise. | |
1926 | * testsuite/30_threads/condition_variable_any/53830.cc: Likewise. | |
1927 | * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise. | |
1928 | * testsuite/30_threads/condition_variable_any/members/1.cc: | |
1929 | Likewise. | |
1930 | * testsuite/30_threads/condition_variable_any/members/2.cc: | |
1931 | Likewise. | |
1932 | * testsuite/30_threads/future/cons/move.cc: Likewise. | |
1933 | * testsuite/30_threads/future/members/45133.cc: Likewise. | |
1934 | * testsuite/30_threads/future/members/get.cc: Likewise. | |
1935 | * testsuite/30_threads/future/members/get2.cc: Likewise. | |
1936 | * testsuite/30_threads/future/members/share.cc: Likewise. | |
1937 | * testsuite/30_threads/future/members/valid.cc: Likewise. | |
1938 | * testsuite/30_threads/future/members/wait.cc: Likewise. | |
1939 | * testsuite/30_threads/future/members/wait_for.cc: Likewise. | |
1940 | * testsuite/30_threads/future/members/wait_until.cc: Likewise. | |
1941 | * testsuite/30_threads/lock/1.cc: Likewise. | |
1942 | * testsuite/30_threads/lock/2.cc: Likewise. | |
1943 | * testsuite/30_threads/lock/3.cc: Likewise. | |
1944 | * testsuite/30_threads/lock/4.cc: Likewise. | |
1945 | * testsuite/30_threads/mutex/cons/1.cc: Likewise. | |
1946 | * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise. | |
1947 | * testsuite/30_threads/mutex/lock/1.cc: Likewise. | |
1948 | * testsuite/30_threads/mutex/native_handle/1.cc: Likewise. | |
1949 | * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise. | |
1950 | * testsuite/30_threads/mutex/try_lock/1.cc: Likewise. | |
1951 | * testsuite/30_threads/mutex/try_lock/2.cc: Likewise. | |
1952 | * testsuite/30_threads/mutex/unlock/1.cc: Likewise. | |
1953 | * testsuite/30_threads/packaged_task/49668.cc: Likewise. | |
1954 | * testsuite/30_threads/packaged_task/cons/1.cc: Likewise. | |
1955 | * testsuite/30_threads/packaged_task/cons/2.cc: Likewise. | |
1956 | * testsuite/30_threads/packaged_task/cons/3.cc: Likewise. | |
1957 | * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise. | |
1958 | * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise. | |
1959 | * testsuite/30_threads/packaged_task/cons/move.cc: Likewise. | |
1960 | * testsuite/30_threads/packaged_task/cons/move_assign.cc: | |
1961 | Likewise. | |
1962 | * testsuite/30_threads/packaged_task/members/get_future.cc: | |
1963 | Likewise. | |
1964 | * testsuite/30_threads/packaged_task/members/get_future2.cc: | |
1965 | Likewise. | |
1966 | * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise. | |
1967 | * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise. | |
1968 | * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise. | |
1969 | * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise. | |
1970 | * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise. | |
1971 | * testsuite/30_threads/packaged_task/members/reset.cc: Likewise. | |
1972 | * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise. | |
1973 | * testsuite/30_threads/packaged_task/members/swap.cc: Likewise. | |
1974 | * testsuite/30_threads/packaged_task/members/valid.cc: Likewise. | |
1975 | * testsuite/30_threads/promise/cons/1.cc: Likewise. | |
1976 | * testsuite/30_threads/promise/cons/alloc.cc: Likewise. | |
1977 | * testsuite/30_threads/promise/cons/move.cc: Likewise. | |
1978 | * testsuite/30_threads/promise/cons/move_assign.cc: Likewise. | |
1979 | * testsuite/30_threads/promise/members/get_future.cc: Likewise. | |
1980 | * testsuite/30_threads/promise/members/get_future2.cc: Likewise. | |
1981 | * testsuite/30_threads/promise/members/set_exception.cc: Likewise. | |
1982 | * testsuite/30_threads/promise/members/set_exception2.cc: | |
1983 | Likewise. | |
1984 | * testsuite/30_threads/promise/members/set_value.cc: Likewise. | |
1985 | * testsuite/30_threads/promise/members/set_value2.cc: Likewise. | |
1986 | * testsuite/30_threads/promise/members/set_value3.cc: Likewise. | |
1987 | * testsuite/30_threads/promise/members/swap.cc: Likewise. | |
1988 | * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise. | |
1989 | * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: | |
1990 | Likewise. | |
1991 | * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise. | |
1992 | * testsuite/30_threads/recursive_mutex/native_handle/1.cc: | |
1993 | Likewise. | |
1994 | * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: | |
1995 | Likewise. | |
1996 | * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise. | |
1997 | * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise. | |
1998 | * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise. | |
1999 | * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise. | |
2000 | * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc: | |
2001 | Likewise. | |
2002 | * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise. | |
2003 | * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise. | |
2004 | * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc: | |
2005 | Likewise. | |
2006 | * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc: | |
2007 | Likewise. | |
2008 | * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: | |
2009 | Likewise. | |
2010 | * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: | |
2011 | Likewise. | |
2012 | * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc: | |
2013 | Likewise. | |
2014 | * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc: | |
2015 | Likewise. | |
2016 | * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc: | |
2017 | Likewise. | |
2018 | * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc: | |
2019 | Likewise. | |
2020 | * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc: | |
2021 | Likewise. | |
2022 | * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: | |
2023 | Likewise. | |
2024 | * testsuite/30_threads/shared_future/cons/move.cc: Likewise. | |
2025 | * testsuite/30_threads/shared_future/members/45133.cc: Likewise. | |
2026 | * testsuite/30_threads/shared_future/members/get.cc: Likewise. | |
2027 | * testsuite/30_threads/shared_future/members/get2.cc: Likewise. | |
2028 | * testsuite/30_threads/shared_future/members/valid.cc: Likewise. | |
2029 | * testsuite/30_threads/shared_future/members/wait.cc: Likewise. | |
2030 | * testsuite/30_threads/shared_future/members/wait_for.cc: | |
2031 | Likewise. | |
2032 | * testsuite/30_threads/shared_future/members/wait_until.cc: | |
2033 | Likewise. | |
2034 | * testsuite/30_threads/this_thread/1.cc: Likewise. | |
2035 | * testsuite/30_threads/this_thread/2.cc: Likewise. | |
2036 | * testsuite/30_threads/this_thread/3.cc: Likewise. | |
2037 | * testsuite/30_threads/this_thread/4.cc: Likewise. | |
2038 | * testsuite/30_threads/thread/cons/1.cc: Likewise. | |
2039 | * testsuite/30_threads/thread/cons/2.cc: Likewise. | |
2040 | * testsuite/30_threads/thread/cons/3.cc: Likewise. | |
2041 | * testsuite/30_threads/thread/cons/4.cc: Likewise. | |
2042 | * testsuite/30_threads/thread/cons/49668.cc: Likewise. | |
2043 | * testsuite/30_threads/thread/cons/5.cc: Likewise. | |
2044 | * testsuite/30_threads/thread/cons/6.cc: Likewise. | |
2045 | * testsuite/30_threads/thread/cons/7.cc: Likewise. | |
2046 | * testsuite/30_threads/thread/cons/8.cc: Likewise. | |
2047 | * testsuite/30_threads/thread/cons/9.cc: Likewise. | |
2048 | * testsuite/30_threads/thread/cons/moveable.cc: Likewise. | |
2049 | * testsuite/30_threads/thread/members/1.cc: Likewise. | |
2050 | * testsuite/30_threads/thread/members/2.cc: Likewise. | |
2051 | * testsuite/30_threads/thread/members/3.cc: Likewise. | |
2052 | * testsuite/30_threads/thread/members/4.cc: Likewise. | |
2053 | * testsuite/30_threads/thread/members/5.cc: Likewise. | |
2054 | * testsuite/30_threads/thread/members/hardware_concurrency.cc: | |
2055 | Likewise. | |
2056 | * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise. | |
2057 | * testsuite/30_threads/thread/native_handle/typesizes.cc: | |
2058 | Likewise. | |
2059 | * testsuite/30_threads/thread/swap/1.cc: Likewise. | |
2060 | * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise. | |
2061 | * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: | |
2062 | Likewise. | |
2063 | * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise. | |
2064 | * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise. | |
2065 | * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: | |
2066 | Likewise. | |
2067 | * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise. | |
2068 | * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise. | |
2069 | * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise. | |
2070 | * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise. | |
2071 | * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise. | |
2072 | * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise. | |
2073 | * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise. | |
2074 | * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise. | |
2075 | * testsuite/30_threads/try_lock/1.cc: Likewise. | |
2076 | * testsuite/30_threads/try_lock/2.cc: Likewise. | |
2077 | * testsuite/30_threads/try_lock/3.cc: Likewise. | |
2078 | * testsuite/30_threads/try_lock/4.cc: Likewise. | |
2079 | * testsuite/30_threads/unique_lock/cons/1.cc: Likewise. | |
2080 | * testsuite/30_threads/unique_lock/cons/2.cc: Likewise. | |
2081 | * testsuite/30_threads/unique_lock/cons/3.cc: Likewise. | |
2082 | * testsuite/30_threads/unique_lock/cons/4.cc: Likewise. | |
2083 | * testsuite/30_threads/unique_lock/cons/5.cc: Likewise. | |
2084 | * testsuite/30_threads/unique_lock/cons/6.cc: Likewise. | |
2085 | * testsuite/30_threads/unique_lock/locking/1.cc: Likewise. | |
2086 | * testsuite/30_threads/unique_lock/locking/2.cc: Likewise. | |
2087 | * testsuite/30_threads/unique_lock/locking/3.cc: Likewise. | |
2088 | * testsuite/30_threads/unique_lock/locking/4.cc: Likewise. | |
2089 | * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise. | |
2090 | * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise. | |
2091 | * testsuite/ext/mt_allocator/22309_thread.cc: Likewise. | |
2092 | * testsuite/ext/profile/mh.cc: Likewise. | |
2093 | * testsuite/ext/rope/pthread7-rope.cc: Likewise. | |
2094 | * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise. | |
2095 | * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc: | |
2096 | Likewise. | |
2097 | * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc: | |
2098 | Likewise. | |
2099 | * testsuite/util/testsuite_performance.h: Extend current handling | |
2100 | of Linux-based systems to cover all glibc-based systems. | |
2101 | ||
bd24ec2d JW |
2102 | 2013-06-09 Jonathan Wakely <jwakely.gcc@gmail.com> |
2103 | ||
2104 | * include/std/mutex (call_once): Remove parentheses to fix error in | |
2105 | c++1y and gnu++1y mode. | |
2106 | * testsuite/30_threads/mutex/try_lock/2.cc: Call try_lock() in new | |
2107 | thread to avoid undefined behaviour. | |
2108 | ||
88c4d6b7 ESR |
2109 | 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net> |
2110 | ||
2111 | Simplify and clean up library literals. | |
2112 | * include/std/chrono: Simplify namespace and versioning management. | |
2113 | * include/bits/basic_string.h: Ditto. | |
2114 | * testsuite/20_util/duration/literals/types.cc: Remove bogus comment. | |
2115 | * testsuite/20_util/duration/literals/values.cc: Ditto. | |
2116 | * testsuite/21_strings/basic_string/literals/types.cc: Ditto. | |
2117 | * testsuite/21_strings/basic_string/literals/values.cc: Ditto. | |
2118 | ||
83ac9249 ESR |
2119 | 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net> |
2120 | ||
2121 | Implement N3654 - Quoted Strings Library Proposal | |
2122 | * include/std/iomanip: Add quoted(String, Char delim, Char escape) | |
2123 | manipulators and supporting machinery in c++1y mode. | |
2124 | * testsuite/27_io/manipulators/standard/char/quoted.cc: New. | |
2125 | * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: New. | |
2126 | ||
7b916902 JW |
2127 | 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
2128 | ||
2129 | * include/bits/alloc_traits.h (allocator_traits::max_size()): LWG | |
2130 | 2162: Add noexcept. | |
2131 | ||
f7fbb003 JW |
2132 | 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
2133 | ||
2134 | * include/bits/stl_algo.h (is_permutation): Add overloads from N3671. | |
2135 | * include/bits/stl_algobase.h (equal, mismatch): Likewise. | |
2136 | * testsuite/25_algorithms/equal/1.cc: Remove duplicate test case. | |
2137 | * testsuite/25_algorithms/equal/2.cc: New. | |
2138 | * testsuite/25_algorithms/equal/check_type2.cc: New. | |
2139 | * testsuite/25_algorithms/is_permutationqual/2.cc: New. | |
2140 | * testsuite/25_algorithms/is_permutationqual/check_type2.cc: New. | |
2141 | * testsuite/25_algorithms/mismatch/2.cc: New. | |
2142 | * testsuite/25_algorithms/mismatch/check_type2.cc: New. | |
2143 | * testsuite/util/testsuite_iterators.h: Fix spelling. | |
2144 | ||
db113eda JW |
2145 | 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
2146 | ||
2147 | * include/std/type-traits (integral_constant::operator()): Implement | |
2148 | N3545. | |
2149 | * testsuite/20_util/integral_constant/call_operator.cc: New. | |
2150 | * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error | |
2151 | line numbers. | |
2152 | * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: | |
2153 | Likewise. | |
2154 | * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: | |
2155 | Likewise. | |
2156 | ||
cb8ac9d0 UB |
2157 | 2013-06-07 Uros Bizjak <ubizjak@gmail.com> |
2158 | ||
2159 | * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update. | |
2160 | ||
0d471c50 TT |
2161 | 2013-06-05 Tom Tromey <tromey@redhat.com> |
2162 | ||
2163 | * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Use -O0. | |
2164 | ||
2e649151 PC |
2165 | 2013-06-03 Paolo Carlini <paolo.carlini@oracle.com> |
2166 | ||
2167 | PR c++/57419 | |
2168 | * testsuite/20_util/default_delete/48631_neg.cc: Adjust. | |
2169 | ||
fa409833 ESR |
2170 | 2013-06-01 Ed Smith-Rowland <3dw4rd@verizon.net> |
2171 | ||
2e649151 PC |
2172 | * include/std/chrono: Collapse redundant 'inline' from 'inline |
2173 | constexpr'. | |
2174 | * include/std/tuple: Ditto. | |
2175 | * include/bits/move.h: Ditto. | |
fa409833 | 2176 | |
1c9f675f ESR |
2177 | 2013-05-30 Ed Smith-Rowland <3dw4rd@verizon.net> |
2178 | ||
2179 | Implement N3642 - User-defined Literals for Standard Library Types | |
2180 | * include/bits/parse_numbers.h: New. | |
2181 | * include/std/chrono: Add duration literal operators. | |
2182 | * include/bits/basic_string.h: Add string literal operators. | |
2183 | * include/Makefile.in: Add parse_numbers.h. | |
2184 | * include/Makefile.am: Ditto. | |
2185 | * testsuite/20_util/duration/literals/values.cc: New. | |
2186 | * testsuite/20_util/duration/literals/types.cc: New. | |
2187 | * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust. | |
2188 | * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust. | |
2189 | * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust. | |
2190 | * testsuite/21_strings/basic_string/literals/values.cc: New. | |
2191 | * testsuite/21_strings/basic_string/literals/types.cc: New. | |
2192 | ||
8b70770d JW |
2193 | 2013-05-28 Jonathan Wakely <jwakely.gcc@gmail.com> |
2194 | ||
2195 | * src/c++11/compatibility-chrono.cc (steady_clock::now()): If | |
2196 | !_GLIBCXX_USE_GETTIMEOFDAY perform conversion inline instead of | |
2197 | calling non-existent from_time_t. | |
2198 | ||
388c13d6 RO |
2199 | 2013-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2200 | ||
2201 | * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: | |
2202 | Regenerate. | |
2203 | ||
1f08a749 BK |
2204 | 2013-05-24 Benjamin Kosnik <bkoz@redhat.com> |
2205 | ||
2206 | * include/std/chrono: Wrap clocks in inline namespace _V2. | |
2207 | * src/c++11/chrono.cc: Same. | |
2208 | * src/c++11/compatibility-chrono.cc: Revert to previous chrono.cc | |
2209 | file, with default configure macros selected. | |
2210 | ||
2211 | * config/abi/pre/gnu.ver (GLIBCXX_3.4.19): Use symbols from inline | |
2212 | namespace. | |
2213 | * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Fix up. | |
2214 | ||
2215 | * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated. | |
2216 | * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated. | |
2217 | * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: | |
2218 | Regenerated. | |
2219 | * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: | |
2220 | Regenerated. | |
2221 | * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated. | |
2222 | * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: | |
2223 | Regenerated. | |
2224 | * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated. | |
2225 | * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated. | |
2226 | * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated. | |
2227 | * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated. | |
2228 | * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated. | |
2229 | * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: | |
2230 | Regenerated. | |
2231 | * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated. | |
2232 | * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated. | |
2233 | ||
57d6e1b3 RO |
2234 | 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2235 | ||
2236 | * config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC] | |
2237 | (CLOCK_MONOTONIC): Define. | |
2238 | ||
9797bec9 PC |
2239 | 2013-05-24 Paolo Carlini <paolo.carlini@oracle.com> |
2240 | ||
2241 | * include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t | |
2242 | overload. | |
2243 | ||
2244 | * include/bits/cpp_type_traits.h (__is_fundamental): Remove, unused. | |
2245 | ||
2e8a9734 JJ |
2246 | 2013-05-24 Jakub Jelinek <jakub@redhat.com> |
2247 | ||
2248 | * src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, | |
2249 | include unistd.h and sys/syscall.h. If _GLIBCXX_COMPATIBILITY_CXX0X, | |
2250 | don't define system_clock::is_steady, system_clock::now() and | |
2251 | steady_clock::is_steady. | |
2252 | (std::chrono::system_clock::now()): If | |
2253 | _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call | |
2254 | syscall (SYS_clock_gettime, ...) instead of clock_gettime (...). | |
2255 | (std::chrono::system_clock::now()): Likewise. Add weak attribute | |
2256 | if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will | |
2257 | be non-empty. | |
2258 | * src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc. | |
2259 | (compatibility-chrono.lo, compatibility-chrono.o): New goals. | |
2260 | * src/c++11/compatibility-chrono.cc: New file. | |
2261 | * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for | |
2262 | syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp). | |
2263 | * testsuite/util/testsuite_abi.cc (check_version): Add | |
2264 | GLIBCXX_3.4.20 version and make it the latest. | |
2265 | * config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export | |
2266 | also @@GLIBCXX_3.4.19. Move all symbols so far added for GCC 4.9 to | |
2267 | @@GLIBCXX_3.4.20 instead. | |
2268 | * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated. | |
2269 | * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated. | |
2270 | * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: | |
2271 | Regenerated. | |
2272 | * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: | |
2273 | Regenerated. | |
2274 | * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated. | |
2275 | * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: | |
2276 | Regenerated. | |
2277 | * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated. | |
2278 | * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated. | |
2279 | * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated. | |
2280 | * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated. | |
2281 | * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated. | |
2282 | * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: | |
2283 | Regenerated. | |
2284 | * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated. | |
2285 | * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated. | |
2286 | * config.h.in: Regenerated. | |
2287 | * src/Makefile.in: Regenerated. | |
2288 | * configure: Regenerated. | |
2289 | ||
6ca935e6 MK |
2290 | 2013-05-23 Matthias Klose <doko@ubuntu.com> |
2291 | ||
2292 | * include/Makefile.am (bits_headers): Remove ${bits_host_headers}. | |
2293 | (ext_headers): Remove ${ext_host_headers}. | |
2294 | (stamp-${host_alias}): Create ${host_builddir}/../ext. | |
2295 | (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}. | |
2296 | (install-headers): Install ${bits_host_headers} and ${ext_host_headers}. | |
2297 | * include/Makefile.in: Regenerate. | |
2298 | * include/ext/random: Include ext/opt_random.h. | |
2299 | ||
88b1a025 JW |
2300 | 2013-05-22 Jonathan Wakely <jwakely.gcc@gmail.com> |
2301 | ||
2302 | * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to | |
2303 | enable features if target OS is known to support them. | |
2304 | * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'. | |
2305 | * configure: Regenerate. | |
2306 | ||
bf5f6aa9 JW |
2307 | 2013-05-21 Jonathan Wakely <jwakely.gcc@gmail.com> |
2308 | ||
2309 | PR libstdc++/57336 | |
2310 | * include/std/functional (__invoke): Do not form function types with | |
2311 | abstract return type. | |
2312 | * testsuite/20_util/reference_wrapper/invoke-3.cc: New. | |
2313 | ||
b5a8fed6 JW |
2314 | 2013-05-19 Jonathan Wakely <jwakely.gcc@gmail.com> |
2315 | ||
2316 | * include/std/tuple (get): Implement N3670. | |
2317 | * include/std/utility (get): Likewise. | |
2318 | * testsuite/20_util/pair/get.cc: Move to ... | |
2319 | * testsuite/20_util/pair/astuple/get.cc: Here. | |
2320 | * testsuite/20_util/pair/astuple/astuple.cc: New. | |
2321 | * testsuite/20_util/pair/astuple/constexpr_get.cc: New. | |
2322 | * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New. | |
2323 | * testsuite/20_util/pair/astuple/get_by_type.cc: New. | |
2324 | * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New. | |
2325 | * testsuite/20_util/pair/astuple/get_neg.cc: New. | |
2326 | * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New. | |
2327 | * testsuite/20_util/tuple/element_access/get2_by_type.cc: New. | |
2328 | * testsuite/20_util/tuple/element_access/get_by_type.cc: New. | |
2329 | ||
eeb71f0c PC |
2330 | 2013-05-19 Paolo Carlini <paolo.carlini@oracle.com> |
2331 | ||
2332 | * Revert last commit. | |
2333 | ||
ae3258be MK |
2334 | 2013-05-19 Matthias Klose <doko@ubuntu.com> |
2335 | ||
2336 | * include/Makefile.am (bits_headers): Remove ${bits_host_headers}. | |
2337 | (ext_headers): Remove ${ext_host_headers}. | |
2338 | (stamp-${host_alias}): Create ${host_builddir}/../ext. | |
2339 | (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}. | |
2340 | (install-headers): Install ${bits_host_headers} and ${ext_host_headers}. | |
2341 | * include/Makefile.in: Regenerate. | |
2342 | ||
f891e5d1 JW |
2343 | 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com> |
2344 | ||
2345 | * include/std/system_error (error_category::error_category()): LWG | |
2346 | 2145: Declare public and constexpr. | |
2347 | * src/c++11/system_error.cc (error_category::error_category()): Move | |
2348 | definition to ... | |
2349 | * src/c++11/compatibility-c++0x.cc: Here. | |
2350 | ||
f92126ba JW |
2351 | 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com> |
2352 | ||
2353 | * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept. | |
2354 | ||
05a4261b JW |
2355 | 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com> |
2356 | ||
2357 | * include/bits/unique_ptr.h (make_unique): Declare inline. | |
2358 | (unique_ptr<T[],D>::reset()): Combine two overloads into one. | |
2359 | (default_delete, unique_ptr): Add doxygen comments. | |
2360 | * include/bits/shared_ptr_base.h: Improve doxygen comments. | |
2361 | * include/bits/shared_ptr.h: Likewise. | |
2362 | * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line | |
2363 | number. | |
2364 | * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise. | |
2365 | ||
2366 | 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com> | |
2367 | ||
2368 | * doc/xml/manual/status_cxx2011.xml: Fix markup error. | |
2369 | ||
82ec8686 JW |
2370 | 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com> |
2371 | ||
2372 | * doc/xml/manual/status_cxx2011.xml: Fix markup error. | |
2373 | ||
c98b0598 JW |
2374 | 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com> |
2375 | ||
2376 | * include/std/utility (exchange): Define. | |
2377 | * testsuite/20_util/exchange/1.cc: New. | |
2378 | ||
a9769eb0 JW |
2379 | 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com> |
2380 | ||
2381 | * include/bits/unique_ptr.h (make_unique): Define. | |
2382 | * testsuite/20_util/unique_ptr/creation/single.cc: New. | |
2383 | * testsuite/20_util/unique_ptr/creation/array.cc: New. | |
2384 | * testsuite/20_util/unique_ptr/creation/array_neg.cc: New. | |
2385 | ||
4722d005 FD |
2386 | 2013-05-15 François Dumont <fdumont@gcc.gnu.org> |
2387 | ||
2388 | * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix | |
2389 | rendering of std::tr1 unordered containers iterator. | |
2390 | (StdHashtableIterator): New, render std unordered containers iterator. | |
2391 | * testsuite/libstdc++-prettyprinters/tr1.cc: New. | |
2392 | ||
3b2453a9 JW |
2393 | 2013-05-15 Jonathan Wakely <jwakely.gcc@gmail.com> |
2394 | ||
2395 | * include/bits/basic_string.h (getline): Fix doxygen comments. | |
2396 | ||
a5244b2e PC |
2397 | 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com> |
2398 | ||
2399 | * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast): | |
2400 | Use std::pointer_traits. | |
2401 | ||
61a359f6 BK |
2402 | 2013-05-13 Benjamin Kosnik <bkoz@redhat.com> |
2403 | ||
2404 | * libsupc++/Makefile.am (sources): Add bad_array_length.cc, | |
2405 | bad_array_new.cc. | |
2406 | * libsupc++/Makefile.in: Regenerate. | |
2407 | * libsupc++/bad_array_length.cc: Tweak. | |
2408 | * libsupc++/bad_array_new.cc: Tweak. | |
2409 | ||
94938aec PC |
2410 | 2013-05-10 Paolo Carlini <paolo.carlini@oracle.com> |
2411 | ||
2412 | PR libstdc++/54577 | |
2413 | * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode. | |
2414 | (_Deque_iterator<>::_M_const_cast): Add. | |
2415 | (deque<>::_M_erase): Declare. | |
2416 | * include/bits/deque.tcc: ... and define. | |
2417 | * include/bits/stl_list.h (erase): Fix signatures in C++11 mode. | |
2418 | (_List_const_iterator<>::_M_const_cast): Add. | |
2419 | * include/bits/list.tcc (erase (iterator)): Fix. | |
2420 | * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast): | |
2421 | Add; include <ext/cast.h>. | |
2422 | * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode. | |
2423 | (vector<>::_M_erase): Declare. | |
2424 | * include/bits/stl_bvector.h: Likewise. | |
2425 | * include/bits/vector.tcc (vector<>::_M_erase): Define. | |
2426 | * include/ext/vstring.h (erase): Fix signatures in C++11 mode. | |
2427 | * include/debug/deque: Adjust. | |
2428 | * include/debug/list: Likewise. | |
2429 | * include/debug/vector: Likewise. | |
2430 | * include/profile/deque: Likewise. | |
2431 | * include/profile/list: Likewise. | |
2432 | * include/profile/vector: Likewise. | |
2433 | * testsuite/util/exception/safety.h (erase_base<deque>, | |
2434 | erase_base<deque>, erase_base<vector>): Remove. | |
2435 | (erase_base<__versa_string>): Update. | |
2436 | * testsuite/ext/vstring/modifiers/char/54577.cc: New. | |
2437 | * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise. | |
2438 | * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise. | |
2439 | * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise. | |
2440 | * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc: | |
2441 | Likewise. | |
2442 | * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise. | |
2443 | * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: | |
2444 | Adjust dg-error line numbers. | |
2445 | * testsuite/23_containers/deque/requirements/dr438/ | |
2446 | constructor_1_neg.cc: Likewise. | |
2447 | * testsuite/23_containers/deque/requirements/dr438/ | |
2448 | constructor_2_neg.cc: Likewise. | |
2449 | * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: | |
2450 | Likewise. | |
2451 | * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: | |
2452 | Likewise. | |
2453 | * testsuite/23_containers/list/requirements/dr438/ | |
2454 | constructor_1_neg.cc: Likewise. | |
2455 | * testsuite/23_containers/list/requirements/dr438/ | |
2456 | constructor_2_neg.cc: Likewise. | |
2457 | * testsuite/23_containers/list/requirements/dr438/ | |
2458 | insert_neg.cc: Likewise. | |
2459 | * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: | |
2460 | Likewise. | |
2461 | * testsuite/23_containers/vector/requirements/dr438/ | |
2462 | constructor_1_neg.cc: Likewise. | |
2463 | * testsuite/23_containers/vector/requirements/dr438/ | |
2464 | constructor_2_neg.cc: Likewise. | |
2465 | * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: | |
2466 | Likewise. | |
2467 | ||
fb7f649d UB |
2468 | 2013-05-09 Uros Bizjak <ubizjak@gmail.com> |
2469 | ||
2470 | * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8. | |
2471 | ||
0138d6b2 JM |
2472 | 2013-05-08 Jason Merrill <jason@redhat.com> |
2473 | ||
2474 | Add std::bad_array_length (N3639) | |
2475 | * libsupc++/new: Add std::bad_array_length. | |
2476 | * libsupc++/bad_array_length.cc: New. | |
2477 | * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length. | |
2478 | * libsupc++/Makefile.in: Build them. | |
2479 | * config/abi/pre/gnu.ver: Add new symbols. | |
2480 | * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols. | |
2481 | ||
a062bb4b AK |
2482 | 2013-05-08 Andi Kleen <ak@linux.intel.com> |
2483 | ||
2484 | PR target/55947 | |
2485 | * libstdc++-v3/include/bits/atomic_base.h | |
2486 | (_GLIBCXX_ALWAYS_INLINE): Add new macro. | |
2487 | (atomic_thread_fence, atomic_signal_fence, test_and_set, | |
2488 | clear, store, load, exchange, compare_exchange_weak) | |
2489 | compare_exchange_strong, fetch_add, fetch_sub, fetch_and, | |
2490 | fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE. | |
2491 | ||
7d5e76c8 JM |
2492 | 2013-05-08 Jason Merrill <jason@redhat.com> |
2493 | ||
2494 | Add std::bad_array_new_length (N2932) | |
2495 | * libsupc++/new: Add std::bad_array_new_length. | |
2496 | * libsupc++/bad_array_new.cc: New. | |
2497 | * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length. | |
2498 | * libsupc++/Makefile.in: Build them. | |
2499 | * config/abi/pre/gnu.ver: Add new symbols. | |
2500 | * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols. | |
2501 | ||
ea31132e AMA |
2502 | 2013-05-08 Andoni Morales Alastruey <ylatuya@gmail.com> |
2503 | ||
2504 | PR libstdc++/57212 | |
2505 | * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify | |
2506 | to __MINGW32__. | |
2507 | * include/Makefile.in: Regenerated. | |
2508 | ||
703f140f FD |
2509 | 2013-05-07 François Dumont <fdumont@gcc.gnu.org> |
2510 | ||
2511 | * include/profile/unordered_base.h: New. | |
2512 | * include/Makefile.am: Add new profile header. | |
2513 | * include/Makefile.in: Regenerate. | |
2514 | * include/profile/impl/profiler.h | |
2515 | (__profcxx_inefficient_hash_is_on): New macro. | |
2516 | * include/profile/unordered_map (std::profile::unordered_map<>): | |
2517 | Use new _Unordered_profile base class. Use default implementations | |
2518 | for special functions. | |
2519 | (std::profile::unordered_multimap<>): Likewise. | |
2520 | * include/profile/unordered_set (std::profile::unordered_set<>): | |
2521 | Likewise. | |
2522 | (std::profile::unordered_multiset<>): Likewise. | |
2523 | * testsuite/23_containers/unordered_multiset/55043.cc: Fix | |
2524 | MoveOnly equality operator signature. | |
2525 | ||
b273e79b PC |
2526 | 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com> |
2527 | ||
2528 | * testsuite/tr1/4_metaprogramming/integral_constant/requirements/ | |
2529 | constexpr_data.cc: Move... | |
2530 | * testsuite/20_util/integral_constant/requirements/constexpr_data.cc: | |
2531 | ... here. | |
2532 | * testsuite/20_util/integral_constant/requirements/ | |
2533 | explicit_instantiation.cc: New. | |
2534 | * testsuite/20_util/integral_constant/requirements/typedefs.cc: | |
2535 | Likewise. | |
2536 | * testsuite/20_util/integral_constant/static_definition.cc: Likewise. | |
2537 | * testsuite/20_util/integral_constant/true_false_type_typedefs.cc: | |
2538 | Likewise. | |
2539 | * testsuite/20_util/integral_constant/true_false_value.cc: Likewise. | |
2540 | * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise. | |
2541 | ||
aa940ab5 PC |
2542 | 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com> |
2543 | ||
2544 | * include/std/type_traits (is_null_pointer): Add. | |
2545 | (__is_nullptr_t): Implement in terms of the latter. | |
2546 | (is_fundamental, is_scalar): Adjust. | |
2547 | * testsuite/20_util/is_null_pointer/requirements/ | |
2548 | explicit_instantiation.cc: New. | |
2549 | * testsuite/20_util/is_null_pointer/requirements/typedefs.cc: | |
2550 | Likewise. | |
2551 | * testsuite/20_util/is_null_pointer/value.cc: Likewise. | |
2552 | * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error | |
2553 | line number. | |
2554 | * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: | |
2555 | Likewise. | |
2556 | * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: | |
2557 | Likewise. | |
2558 | ||
ff84dbcb PC |
2559 | 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com> |
2560 | ||
2561 | * include/c_global/cstdio: Add comment about LWG 2249. | |
2562 | * include/c_std/cstdio: Likewise. | |
2563 | ||
d872e4aa JW |
2564 | 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com> |
2565 | ||
2566 | * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix | |
2567 | comment. | |
2568 | * include/std/mutex (__recursive_mutex_base): Likewise. | |
2569 | ||
fe807059 JW |
2570 | 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com> |
2571 | ||
2572 | PR libstdc++/51365 | |
2573 | * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to | |
2574 | implement EBO safely. | |
2575 | (_Sp_counted_base::_M_get_deleter): Add noexcept. | |
2576 | (_Sp_counter_ptr): Use noexcept instead of comments. | |
2577 | (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper. | |
2578 | (_Sp_counted_ptr_inplace): Likewise. | |
2579 | * testsuite/20_util/shared_ptr/cons/51365.cc: New. | |
2580 | * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to | |
2581 | custom allocator and test construction with custom allocator. | |
2582 | * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error | |
2583 | line number. | |
2584 | ||
0433be86 PC |
2585 | 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com> |
2586 | ||
2587 | * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust | |
2588 | dialect to -std=gnu++11. | |
2589 | ||
d2f2f2e3 FD |
2590 | 2013-04-26 François Dumont <fdumont@gcc.gnu.org> |
2591 | ||
2592 | * include/bits/hashtable_policy.h | |
2593 | (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics. | |
2594 | * testsuite/23_containers/unordered_set/insert/move_range.cc: New. | |
2595 | ||
acd1cc4b PC |
2596 | 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com> |
2597 | ||
2598 | * include/c_global/cstdio (gets): Provide only in C++98 and C++11. | |
2599 | * include/c_std/cstdio (gets): Likewise. | |
2600 | * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust. | |
2601 | ||
03d7aff6 PC |
2602 | 2013-04-25 Paolo Carlini <paolo.carlini@oracle.com> |
2603 | ||
2604 | PR libstdc++/57065 | |
2605 | * include/debug/unordered_map (unordered_map, unordered_multimap): | |
2606 | Fix default allocator type. | |
2607 | * include/profile/unordered_map (unordered_map, unordered_multimap): | |
2608 | Likewise. | |
2609 | * include/bits/unordered_map.h: Fix comments. | |
2610 | ||
2310e8c1 | 2611 | 2013-04-24 Jonathan Wakely <jwakely.gcc@gmail.com> |
ec98d010 JW |
2612 | |
2613 | PR libstdc++/56905 | |
2614 | * libsupc++/exception_ptr.h (copy_exception): Deprecate and | |
2615 | move implementation to make_exception_ptr. | |
2616 | * include/std/future (_State_base::_M_break_promise): Replace | |
2617 | copy_exception with make_exception_ptr. | |
2618 | * testsuite/18_support/exception_ptr/move.cc: Likewise. | |
2619 | * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise. | |
2620 | * testsuite/30_threads/future/members/get2.cc: Likewise. | |
2621 | * testsuite/30_threads/promise/members/set_exception.cc: Likewise. | |
2622 | * testsuite/30_threads/promise/members/set_exception2.cc: Likewise. | |
2623 | * testsuite/30_threads/promise/members/set_value2.cc: Likewise. | |
2624 | * testsuite/30_threads/shared_future/members/get2.cc: Likewise. | |
2625 | ||
80f7a782 JM |
2626 | 2013-04-22 Jason Merrill <jason@redhat.com> |
2627 | ||
7441bd3d JM |
2628 | * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h. |
2629 | ||
3579964b JM |
2630 | * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In |
2631 | substitution" lines. | |
2632 | ||
80f7a782 JM |
2633 | * testsuite/20_util/is_assignable/value.cc: Comment out tests involving |
2634 | function-cv-quals. | |
2635 | * testsuite/20_util/is_constructible/value-2.cc: Likewise. | |
2636 | * testsuite/20_util/reference_wrapper/result_type.cc: Likewise. | |
2637 | * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise. | |
2638 | ||
0462b6aa FD |
2639 | 2013-04-22 François Dumont <fdumont@gcc.gnu.org> |
2640 | ||
2641 | * include/bits/hashtable_policy.h: Add C++11 allocator support. | |
2642 | * include/bits/hashtable.h: Likewise. | |
2643 | * include/bits/unordered_set.h: Likewise. | |
2644 | * include/bits/unordered_map.h: Likewise. | |
2645 | * include/debug/unordered_set: Likewise. | |
2646 | * include/debug/unordered_map: Likewise. | |
2647 | * include/std/unordered_set: Remove bits/algobase.h | |
2648 | include. Replace bits/alloc_traits.h by ext/alloc_traits.h. | |
2649 | * include/std/unordered_map: Likewise. | |
2650 | * include/ext/throw_allocator.h: Add checks on calls to allocator | |
2651 | construct/destroy. | |
2652 | (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw. | |
2653 | (std::hash<__gnu_cxx::throw_value_random>): Likewise. | |
2654 | * testsuite/util/regression/rand/priority_queue | |
2655 | /container_rand_regression_test.tcc: Adapt. | |
2656 | * testsuite/util/regression/rand/assoc | |
2657 | /container_rand_regression_test.tcc: Likewise. | |
2658 | * testsuite/util/testsuite_counter_type.h: Add count of destructors. | |
2659 | * testsuite/23_containers/unordered_set | |
2660 | /not_default_constructible_hash_neg.cc: Adjust dg-error line number. | |
2661 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise. | |
2662 | * testsuite/23_containers/unordered_set/allocator/copy.cc: New. | |
2663 | * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New. | |
2664 | * testsuite/23_containers/unordered_set/allocator/minimal.cc: New. | |
2665 | * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New. | |
2666 | * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New. | |
2667 | * testsuite/23_containers/unordered_set/allocator/swap.cc: New. | |
2668 | * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New. | |
2669 | * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc: | |
2670 | New. | |
2671 | * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New. | |
2672 | * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc: | |
2673 | New. | |
2674 | * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New. | |
2675 | * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New. | |
2676 | * testsuite/23_containers/unordered_map/allocator/copy.cc: New. | |
2677 | * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New. | |
2678 | * testsuite/23_containers/unordered_map/allocator/minimal.cc: New. | |
2679 | * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New. | |
2680 | * testsuite/23_containers/unordered_map/allocator/noexcept.cc: | |
2681 | New. | |
2682 | * testsuite/23_containers/unordered_map/allocator/swap.cc: New. | |
2683 | * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New. | |
2684 | * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc: | |
2685 | New. | |
2686 | * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New. | |
2687 | * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc: | |
2688 | New. | |
2689 | * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New. | |
2690 | * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New. | |
2691 | ||
6a4b1a00 PC |
2692 | 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com> |
2693 | ||
2694 | * include/std/type_traits (is_signed): Simplify. | |
2695 | * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: | |
2696 | Adjust dg-error line numbers. | |
2697 | * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: | |
2698 | Likewise. | |
2699 | * testsuite/20_util/declval/requirements/1_neg.cc: Likewise. | |
2700 | ||
9191d7a8 PC |
2701 | 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com> |
2702 | ||
2703 | N3669 | |
2704 | * include/std/complex (complex<float>::real, complex<float>::imag, | |
2705 | complex<double>::real, complex<double>::imag, | |
2706 | complex<long double>::real, complex<long double>::imag): Declare | |
2707 | as const member functions. | |
2708 | * include/std/type_traits (integral_constant<>::operator value_type): | |
2709 | Likewise. | |
2710 | ||
177d2b74 PC |
2711 | 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com> |
2712 | ||
2713 | PR libstdc++/57010 | |
2714 | * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment. | |
2715 | * testsuite/25_algorithms/pop_heap/57010.cc: New. | |
2716 | ||
1cbe724c ES |
2717 | 2013-04-21 Evgeniy Stepanov <eugenis@google.com> |
2718 | ||
2719 | * src/c++11/system_error.cc (generic_category_instance): Add | |
2720 | initializer. | |
2721 | (system_category_instance): Likewise. | |
2722 | * src/c++11/future.cc (__fec): Likewise. | |
2723 | ||
fcb2185b JW |
2724 | 2013-04-20 Jonathan Wakely <jwakely.gcc@gmail.com> |
2725 | ||
2726 | * doc/xml/manual/extensions.xml: Fix anachronism. | |
2727 | ||
d74e340d TT |
2728 | 2013-04-09 Tom Tromey <tromey@redhat.com> |
2729 | ||
2730 | * configure, config.h.in: Rebuild. | |
2731 | * configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for | |
2732 | sys/sdt.h. | |
2733 | * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun. | |
2734 | ||
ae3d0361 UB |
2735 | 2013-04-09 Uros Bizjak <ubizjak@gmail.com> |
2736 | ||
2737 | * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update. | |
2738 | ||
d6222d4e PC |
2739 | 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com> |
2740 | ||
2741 | * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>. | |
2742 | ||
f2e2de5f JW |
2743 | 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com> |
2744 | ||
2745 | * include/Makefile.am: Add ext/aligned_buffer.h | |
2746 | * include/Makefile.in: Regenerate. | |
2747 | * include/ext/aligned_buffer.h: New. | |
2748 | * include/std/future (_Result): Use __aligned_buffer. | |
2749 | * include/bits/forward_list.h (_Fwd_list_node): Likewise. | |
2750 | * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise. | |
2751 | * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line | |
2752 | number. | |
2753 | ||
7db567cd JW |
2754 | 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com> |
2755 | ||
2756 | * include/bits/forward_list.h: Only include required headers. | |
2757 | (forward_list::reference): Define directly, not using __alloc_traits. | |
2758 | (forward_list::const_reference): Likewise. | |
2759 | ||
82b12c4b FD |
2760 | 2013-04-07 François Dumont <fdumont@gcc.gnu.org> |
2761 | ||
2762 | * include/std/functional (_Derives_from_unary_function): Remove. | |
2763 | (_Derives_from_binary_function): Remove. | |
2764 | * include/std/type_traits (__sfinae_types): Remove. | |
2765 | (__is_assignable_helper): Adapt. | |
2766 | (__is_convertible_helper): Adapt. | |
2767 | (_GLIBCXX_HAS_NESTED_TYPE): Adapt. | |
2768 | Remove several explicit instantiations of integral_constant. | |
2769 | * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt. | |
2770 | * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: | |
2771 | Adapt dg-error line number. | |
2772 | * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: | |
2773 | Likewise. | |
2774 | * testsuite/20_util/declval/requirements/1_neg.cc: Likewise. | |
2775 | * testsuite/20_util/bind/ref_neg.cc: Likewise. | |
2776 | ||
7e20f4b0 JW |
2777 | 2013-04-05 Jonathan Wakely <jwakely.gcc@gmail.com> |
2778 | ||
2779 | PR libstdc++/56841 | |
2780 | * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and | |
2781 | get_terminate() accessors. | |
2782 | * libsupc++/eh_throw.cc (__cxa_throw): Likewise. | |
2783 | * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not | |
2784 | available. | |
2785 | * libsupc++/new_handler.cc: Likewise. | |
2786 | ||
2d500828 JW |
2787 | 2013-04-04 Jonathan Wakely <jwakely.gcc@gmail.com> |
2788 | ||
2789 | * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version. | |
2790 | ||
169a7e85 PC |
2791 | 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com> |
2792 | ||
2793 | PR libstdc++/56834 | |
2794 | * include/debug/array (tuple_size, tuple_element): Do not declare. | |
2795 | * include/profile/array: Likewise. | |
2796 | * testsuite/23_containers/array/tuple_interface/ | |
2797 | tuple_element_debug_neg.cc: Adjust dg-error line number. | |
2798 | ||
dca77a8a JW |
2799 | 2013-04-03 Jonathan Wakely <jwakely.gcc@gmail.com> |
2800 | ||
2801 | * libsupc++/exception (get_terminate(), get_unexpected()): Declare. | |
2802 | * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()): | |
2803 | Define. | |
2804 | (set_terminate(terminate_handler)): Set atomically. | |
2805 | (set_unexpected(terminate_handler)): Likewise. | |
2806 | * libsupc++/new (get_new_handler()): Declare. | |
2807 | * libsupc++/new_handler.cc (get_new_handler()): Define. | |
2808 | (set_new_handler(new_handler)): Set atomically. | |
2809 | (__new_handler): Use internal linkage. | |
2810 | * libsupc++/new_op.cc (operator new): Use get_new_handler(). | |
2811 | * libsupc++/new_opnt.cc (operator new): Likewise. | |
2812 | * acinclude.m4: Bump libtool_VERSION to 6:19:0. | |
2813 | * configure: Regenerate. | |
2814 | * libsupc++/Makefile.am: Compile above files with -std=gnu++11. | |
2815 | * libsupc++/Makefile.in: Regenerate. | |
2816 | * config/abi/pre/gnu.ver: Add new exports. | |
2817 | * doc/xml/manual/status_cxx2011.xml: Update. | |
2818 | * testsuite/18_support/headers/exception/synopsis.cc: Check accessors | |
2819 | for handlers. | |
2820 | * testsuite/18_support/headers/new/synopsis.cc: Likewise. | |
2821 | * testsuite/18_support/new_handler.cc: New. | |
2822 | * testsuite/18_support/terminate_handler.cc: New. | |
2823 | * testsuite/18_support/unexpected_handler.cc: New. | |
2824 | ||
fa93ca85 JW |
2825 | 2013-04-02 Jonathan Wakely <jwakely.gcc@gmail.com> |
2826 | ||
2827 | * doc/xml/manual/appendix_contributing.xml: Remove broken link and | |
2828 | defer to general documentation on contributing to GCC. | |
2829 | * doc/html/*: Regenerate. | |
2830 | ||
8bebe0af GP |
2831 | 2013-03-30 Gerald Pfeifer <gerald@pfeifer.com> |
2832 | ||
fa93ca85 | 2833 | * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article. |
8bebe0af GP |
2834 | |
2835 | * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU | |
2836 | Coding Standards. | |
2837 | ||
2838 | * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer. | |
2839 | ||
2840 | * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL. | |
2841 | ||
2842 | * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link. | |
2843 | ||
2844 | * doc/xml/manual/messages.xml: Adjust link to Java API specs. | |
2845 | ||
2846 | * doc/xml/manual/policy_data_structures: Remove direct link to | |
2847 | IBM Haifa Research Labs. | |
2848 | ||
2849 | * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links | |
2850 | for biblio.maverik_lowerbounds and biblio.nelson96stlpq. | |
8bebe0af GP |
2851 | |
2852 | * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org | |
2853 | papers. | |
2854 | ||
2855 | * doc/xml/manual/shared_ptr.xml: Use canonical address for | |
2856 | www.boost.org. | |
2857 | ||
7e866c8b KT |
2858 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
2859 | ||
2860 | * crossconfig.m4: Add support for cygwin x64 target. | |
2861 | * configure: Regenerated. | |
2862 | ||
c0f6f2b4 KT |
2863 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
2864 | ||
2865 | * testsuite/18_support/50594.cc: For mingw-targets use only static | |
2866 | libstdc++-version. | |
2867 | * testsuite/19_diagnostics/error_category/operators/equal.cc | |
2868 | * testsuite/19_diagnostics/error_code/cons/1.cc | |
2869 | * testsuite/19_diagnostics/error_code/operators/bool.cc | |
2870 | * testsuite/19_diagnostics/error_code/operators/equal.cc | |
2871 | * testsuite/19_diagnostics/error_code/operators/not_equal.cc | |
2872 | * testsuite/19_diagnostics/error_condition/cons/1.cc | |
2873 | * testsuite/19_diagnostics/error_condition/operators/bool.cc | |
2874 | * testsuite/19_diagnostics/error_condition/operators/equal.cc | |
2875 | * testsuite/19_diagnostics/error_condition/operators/not_equal.cc | |
2876 | * testsuite/23_containers/set/requirements/exception/basic.cc | |
2877 | * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc | |
2878 | * testsuite/lib/dg-options.exp (dg-additional-options): New option. | |
2879 | ||
95a83503 JW |
2880 | 2013-03-24 Jonathan Wakely <jwakely.gcc@gmail.com> |
2881 | ||
2882 | PR libstdc++/56170 | |
2883 | * include/ext/debug_allocator.h (debug_allocator): Add missing members | |
2884 | to meet allocator requirements. | |
2885 | * testsuite/ext/debug_allocator/56170.cc: New. | |
2886 | ||
7ad68967 PC |
2887 | 2013-03-22 Paolo Carlini <paolo.carlini@oracle.com> |
2888 | ||
2889 | PR libstdc++/56678 | |
2890 | * include/std/chrono (__is_ratio): Uglify T. | |
2891 | ||
ad6fdc19 PC |
2892 | 2013-03-18 Paolo Carlini <paolo.carlini@oracle.com> |
2893 | ||
2894 | PR libstdc++/55977 (partial, std::vector and std::deque bits) | |
2895 | * include/bits/stl_vector.h (_M_range_initialize(_InputIterator, | |
2896 | _InputIterator, std::input_iterator_tag)): Use emplace_back. | |
2897 | * include/bits/deque.tcc (_M_range_initialize(_InputIterator, | |
2898 | _InputIterator, std::input_iterator_tag)): Likewise. | |
2899 | * testsuite/23_containers/vector/cons/55977.cc: New. | |
2900 | * testsuite/23_containers/deque/cons/55977.cc: Likewise. | |
2901 | * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: | |
2902 | Adjust dg-error line number. | |
2903 | * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: | |
2904 | Likewise. | |
2905 | ||
b4904956 PC |
2906 | 2013-03-17 Paolo Carlini <paolo.carlini@oracle.com> |
2907 | ||
2908 | PR libstdc++/55979 | |
2909 | * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator, | |
2910 | _InputIterator, __false_type)): Use emplace_back. | |
2911 | * testsuite/23_containers/list/cons/55979.cc: New. | |
2912 | * testsuite/23_containers/list/modifiers/1.h: Adjust. | |
2913 | * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: | |
2914 | Adjust dg-error line number. | |
2915 | ||
5275b2c7 JM |
2916 | 2013-03-16 Jason Merrill <jason@redhat.com> |
2917 | ||
2918 | PR c++/55017 | |
2919 | * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move. | |
2920 | ||
c49cec93 JW |
2921 | 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com> |
2922 | ||
2923 | PR libstdc++/56468 | |
2924 | * libsupc++/exception_ptr.h (type_info): Declare. | |
2925 | ||
3442f18d JW |
2926 | 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com> |
2927 | ||
2928 | PR libstdc++/56002 | |
2929 | * include/std/mutex (lock_guard, unique_lock, lock): Define without | |
2930 | depending on _GLIBCXX_HAS_GTHREADS. | |
2931 | * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets. | |
2932 | ||
aaad548e JW |
2933 | 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com> |
2934 | ||
2935 | PR libstdc++/56492 | |
2936 | * include/std/future (__future_base::_Result): Add result_type | |
2937 | typedef. | |
2938 | (__future_base::_S_allocate_result): Overload for std::allocator. | |
2939 | (__future_base::_Task_setter): Use _Result::result_type instead of | |
2940 | deducing the type from the task. | |
2941 | (__future_base::_Task_state): Store allocator to allow shared state | |
2942 | to be reset. Replace std::function with member of target object type | |
2943 | accessed via ... | |
2944 | (__future_base::_Task_state_base): New abstract base class. | |
2945 | (__future_base::_Task_state_base::_M_run): New virtual function to | |
2946 | invoke type-erased target object. | |
2947 | (__future_base::_Task_state_base::_M_reset): New virtual function to | |
2948 | create new shared_state using same target object and allocator. | |
2949 | (__future_base::__create_task_state): Allocate a new _Task_state. | |
2950 | (packaged_task::packaged_task): Use __create_task_state. | |
2951 | (packaged_task::reset): Use _Task_state_base::_M_reset. | |
2952 | * testsuite/30_threads/packaged_task/cons/56492.cc: New. | |
2953 | ||
83c214a8 TT |
2954 | 2013-03-15 Tom Tromey <tromey@redhat.com> |
2955 | ||
2956 | * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected. | |
2957 | (PROBE2): New macro. | |
2958 | * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe. | |
2959 | * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe. | |
2960 | * configure.ac: Check for sys/sdt.h. | |
2961 | * configure, config.h.in: Rebuild. | |
2962 | ||
1f069142 JW |
2963 | 2013-03-14 Jonathan Wakely <jwakely.gcc@gmail.com> |
2964 | ||
2965 | PR libstdc++/56613 | |
2966 | * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use | |
2967 | allocator_traits instead of calling construct directly. | |
2968 | * testsuite/23_containers/map/56613.cc: New. | |
2969 | ||
10ace8a0 BK |
2970 | 2013-03-13 Benjamin Kosnik <bkoz@redhat.com> |
2971 | ||
2972 | * doc/html/*: Regenerate. | |
2973 | ||
8a38ebb6 PC |
2974 | 2013-03-13 Paolo Carlini <paolo.carlini@oracle.com> |
2975 | ||
2976 | PR libstdc++/56609 | |
2977 | * include/std/type_traits (is_fundamental): Add std::nullptr_t. | |
2978 | * testsuite/20_util/is_fundamental/value.cc: Extend. | |
2979 | * testsuite/20_util/is_compound/value.cc: Likewise. | |
2980 | ||
03a42414 PC |
2981 | 2013-03-09 Paolo Carlini <paolo.carlini@oracle.com> |
2982 | ||
2983 | * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid | |
2984 | -Wunused warnings. | |
2985 | ||
cd1e6665 BK |
2986 | 2013-03-08 Benjamin Kosnik <bkoz@redhat.com> |
2987 | ||
2988 | * include/bits/memoryfwd.h: New. Centralize forward declarations. | |
2989 | * include/bits/algorithmfwd.h: Consistent comments. | |
2990 | * include/bits/localefwd.h: Same. | |
2991 | * include/ext/vstring_fwd.h: Same. | |
2992 | * include/parallel/algorithmfwd.h: Same. | |
2993 | * include/parallel/numericfwd.h: Same. | |
2994 | * include/std/iosfwd: Same. | |
2995 | ||
2996 | * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator | |
2997 | forward decl. | |
2998 | * include/ext/alloc_traits.h: Remove allocator forward decl. | |
2999 | * include/bits/stl_construct.h: Same. | |
3000 | * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator | |
3001 | forward decl. Consistent comments. | |
3002 | ||
3003 | * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO. | |
3004 | ||
3005 | * include/Makefile.am (bits_headers): Add memoryfwd.h. | |
3006 | * include/Makefile.in: Regenerate. | |
3007 | * configure: Same. | |
3008 | ||
68d047cb FD |
3009 | 2013-03-08 François Dumont <fdumont@gcc.gnu.org> |
3010 | ||
3011 | * include/bits/vector.tcc (vector<>operator=(const vector<>&): | |
3012 | Reset pointers after deallocation when memory can be reused. | |
3013 | * testsuite/23_containers/vector/allocator/minimal.cc: Insert | |
3014 | elements to really challenge C++11 allocator integration. | |
3015 | * testsuite/23_containers/vector/allocator/copy.cc: Likewise. | |
3016 | * testsuite/23_containers/vector/allocator/copy_assign.cc: | |
3017 | Likewise. | |
3018 | * testsuite/23_containers/vector/allocator/move_assign.cc: | |
3019 | Likewise. | |
3020 | * testsuite/23_containers/vector/allocator/swap.cc: Likewise and | |
3021 | swap vector back before checks on memory/personality mapping are | |
3022 | performed. | |
3023 | * testsuite/23_containers/forward_list/allocator/minimal.cc: | |
3024 | Insert element to really challenge C++11 allocator integration. | |
3025 | * testsuite/23_containers/forward_list/allocator/copy.cc: | |
3026 | Likewise. | |
3027 | * testsuite/23_containers/forward_list/allocator/copy_assign.cc: | |
3028 | Likewise. | |
3029 | * testsuite/23_containers/forward_list/allocator/move_assign.cc: | |
3030 | Likewise. | |
3031 | * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise | |
3032 | and swap forward_list back before checks on memory/personality | |
3033 | mapping are performed. | |
3034 | ||
d415f879 JJ |
3035 | 2013-03-07 Jakub Jelinek <jakub@redhat.com> |
3036 | ||
3037 | * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update. | |
3038 | * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise. | |
3039 | * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: | |
3040 | Likewise. | |
3041 | * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise. | |
3042 | * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise. | |
3043 | * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise. | |
3044 | * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise. | |
3045 | * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise. | |
3046 | * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise. | |
3047 | ||
9ac0b841 RO |
3048 | 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3049 | ||
3050 | * scripts/extract_symvers.pl: Omit symbols bound to base | |
3051 | versions. | |
3052 | * scripts/extract_symvers.in: Likewise. | |
3053 | * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate. | |
3054 | * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise. | |
3055 | * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. | |
3056 | * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. | |
3057 | * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. | |
3058 | ||
0388c913 UD |
3059 | 2013-03-04 Ulrich Drepper <drepper@gmail.com> |
3060 | ||
3061 | * include/ext/random (__gnu_cxx::von_mises_distribution<>): | |
3062 | Optimize generation function by pulling computation of __r into the | |
3063 | constructor for param_type. Also compare _M_mu in operator==. | |
3064 | Fix comment. | |
3065 | ||
d233c237 UD |
3066 | 2013-03-02 Ulrich Drepper <drepper@gmail.com> |
3067 | ||
3068 | Add triangular and von Mises distributions. | |
3069 | * include/ext/random: Include <ext/cmath>. | |
3070 | Add __gnu_cxx::triangular_distribution<> and | |
3071 | __gnu_cxx::von_mises_distribution<> classes. | |
3072 | * include/ext/random.tcc: Add out-of-line functions for | |
3073 | __gnu_cxx::triangular_distribution<> and | |
3074 | __gnu_cxx::von_mises_distribution<>. | |
3075 | * testsuite/ext/triangular_distribution/cons/default.cc: New file. | |
3076 | * testsuite/ext/triangular_distribution/cons/parms.cc: New file. | |
3077 | * testsuite/ext/triangular_distribution/operators/serialize.cc: | |
3078 | New file. | |
3079 | * testsuite/ext/triangular_distribution/operators/equal.cc: | |
3080 | New file. | |
3081 | * testsuite/ext/triangular_distribution/operators/inequal.cc: | |
3082 | New file. | |
3083 | * testsuite/ext/triangular_distribution/requirements/typedefs.cc: | |
3084 | New file. | |
3085 | * testsuite/ext/triangular_distribution/requirements/ | |
3086 | explicit_instantiation/1.cc: New file. | |
3087 | * testsuite/ext/von_mises_distribution/cons/default.cc: New file. | |
3088 | * testsuite/ext/von_mises_distribution/cons/parms.cc: New file. | |
3089 | * testsuite/ext/von_mises_distribution/operators/serialize.cc: | |
3090 | New file. | |
3091 | * testsuite/ext/von_mises_distribution/operators/equal.cc: New file. | |
3092 | * testsuite/ext/von_mises_distribution/operators/inequal.cc: | |
3093 | New file. | |
3094 | * testsuite/ext/von_mises_distribution/requirements/typedefs.cc: | |
3095 | New file. | |
3096 | * testsuite/ext/von_mises_distribution/requirements/ | |
3097 | explicit_instantiation/1.cc: New file. | |
3098 | ||
3099 | Add math constants. | |
3100 | * include/Makefile.am (ext_headers): Add cmath. | |
3101 | * include/Makefile.in: Regenerated. | |
3102 | * include/ext/cmath: New file. | |
3103 | ||
63d4f19e RO |
3104 | 2013-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3105 | ||
3106 | * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate. | |
3107 | * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise. | |
3108 | * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. | |
3109 | * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. | |
3110 | * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. | |
3111 | ||
a26f0501 JW |
3112 | 2013-02-26 Jonathan Wakely <jwakely.gcc@gmail.com> |
3113 | ||
3114 | PR libstdc++/56012 | |
3115 | * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion. | |
3116 | * testsuite/29_atomics/atomic/operators/56012.cc: New. | |
3117 | ||
3118 | PR libstdc++/56011 | |
3119 | * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add | |
3120 | missing overload. | |
3121 | * testsuite/29_atomics/atomic/operators/56011.cc: New. | |
3122 | ||
bed152e3 JM |
3123 | 2013-02-25 Jason Merrill <jason@redhat.com> |
3124 | ||
3125 | * configure.ac: Check for __cxa_thread_atexit_impl. | |
3126 | * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward | |
3127 | to it if available. | |
3128 | * config.h.in, configure: Regenerate. | |
3129 | ||
f1c69797 JW |
3130 | 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com> |
3131 | ||
3132 | * include/std/streambuf (basic_streambuf): Use injected class name | |
3133 | instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen | |
3134 | group. | |
3135 | ||
2f2b63da JW |
3136 | 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com> |
3137 | ||
3138 | * doc/html/faq.html: Fix spelling. | |
3139 | * doc/xml/faq.xml: Likewise. | |
3140 | * include/bits/basic_ios.h: Likewise. | |
3141 | * include/bits/regex.h: Likewise. | |
3142 | * include/std/istream: Likewise. | |
3143 | * include/std/streambuf: Likewise. | |
3144 | ||
4731c966 JW |
3145 | 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com> |
3146 | ||
3147 | * testsuite/23_containers/unordered_set/55043.cc: Add missing | |
3148 | namespace qualification. | |
3149 | * testsuite/23_containers/unordered_multiset/55043.cc: Likewise. | |
3150 | ||
c0ffa2ba BK |
3151 | 2013-02-19 Benjamin Kosnik <bkoz@redhat.com> |
3152 | ||
3153 | * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to | |
3154 | _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT, | |
3155 | AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1. | |
3156 | * include/bits/stl_pair.h: Add to utilities group. | |
3157 | * include/std/tuple: Same. | |
3158 | * include/std/typeindex: Same. | |
3159 | ||
3160 | * include/bits/stringfwd.h: Fix markup. | |
3161 | * include/std/limits: Same. | |
3162 | * include/std/type_traits: Same. | |
3163 | * include/tr1/memory: Same. | |
3164 | * include/tr1/regex: Same. | |
3165 | * scripts/run_doxygen: Comment. | |
3166 | * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers. | |
3167 | ||
5b858a6c JM |
3168 | 2013-02-14 Jason Merrill <jason@redhat.com> |
3169 | ||
3170 | * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole | |
3171 | test if unsupported. | |
3172 | ||
1c259e8b MG |
3173 | 2013-02-13 Marc Glisse <marc.glisse@inria.fr> |
3174 | ||
3175 | PR libstdc++/56111 | |
3176 | * include/std/complex (complex): Undefine. | |
3177 | * include/c_compatibility/complex.h (complex): Only undefine if | |
3178 | <complex> has been included. | |
3179 | * testsuite/26_numerics/complex/56111.cc: New testcase. | |
3180 | ||
d9a3647a FD |
3181 | 2013-02-13 François Dumont <fdumont@gcc.gnu.org> |
3182 | ||
3183 | * include/bits/hashtable_policy.h (_Hash_code_base): Restore | |
3184 | default constructor protected. | |
3185 | * include/bits/hashtable.h: static assert that _Hash_code_base has | |
3186 | a default constructor available through inheritance. | |
3187 | ||
fdec36ab PC |
3188 | 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com> |
3189 | ||
3190 | * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in | |
3191 | C++11 mode. | |
3192 | ||
1590a835 JB |
3193 | 2013-02-12 Julian Brown <julian@codesourcery.com> |
3194 | ||
3195 | * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01): | |
3196 | Don't expect dots after abbreviated weekday names for ru_RU for | |
3197 | glibc versions >= 2.17. | |
3198 | * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01): | |
3199 | Likewise. | |
3200 | ||
60f3a59f PC |
3201 | 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com> |
3202 | ||
3203 | * include/bits/random.tcc (__transform): Remove. | |
3204 | (__normalize): Add. | |
3205 | (discrete_distribution<>::param_type::_M_initialize): Adjust. | |
3206 | (piecewise_constant_distribution<>::param_type::_M_initialize): | |
3207 | Likewise. | |
3208 | (piecewise_linear_distribution<>::param_type::_M_initialize): | |
3209 | Likewise. | |
3210 | ||
6e1d47c4 BK |
3211 | 2013-02-11 Benjamin Kosnik <bkoz@redhat.com> |
3212 | ||
3213 | * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o): | |
3214 | Use -fimplicit-templates. | |
3215 | * src/c++11/Makefile.in: Regenerate. | |
3216 | * src/c++11/hashtable_c++0x.cc: Remove instantiation for | |
3217 | std::lower_bound template. | |
3218 | ||
42906f79 PC |
3219 | 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com> |
3220 | ||
3221 | * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare. | |
3222 | * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only | |
3223 | in C++11 mode and if available in the underlying C library. | |
3224 | * testsuite/18_support/quick_exit/quick_exit.cc: Compile with | |
3225 | -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and | |
3226 | _GLIBCXX_HAVE_QUICK_EXIT. | |
3227 | ||
53b03cce BK |
3228 | 2013-02-11 Benjamin Kosnik <bkoz@redhat.com> |
3229 | ||
3230 | * doc/html/*: Regenerate. | |
42906f79 | 3231 | |
cc999d03 JM |
3232 | 2013-02-11 Jason Merrill <jason@redhat.com> |
3233 | ||
3234 | * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New. | |
3235 | (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit. | |
3236 | * config.h.in, configure: Regenerate. | |
3237 | * include/c_std/cstdlib: Add atexit and at_quick_exit. | |
3238 | * include/c_global/cstdlib: Add atexit and at_quick_exit. | |
3239 | * testsuite/18_support/quick_exit/quick_exit.cc: New. | |
3240 | ||
3b424b30 PC |
3241 | 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com> |
3242 | ||
3243 | PR libstdc++/56282 | |
3244 | Revert: | |
3245 | 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net> | |
3246 | ||
3247 | PR libstdc++/56193 | |
3248 | * include/bits/basic_ios.h: Replace operator void*() const | |
3249 | with explicit operator bool() const in C++11 and greater. | |
3250 | * testsuite/27_io/basic_ios/pr56193.cc: New file. | |
3251 | ||
adb1c4d1 FD |
3252 | 2013-02-10 François Dumont <fdumont@gcc.gnu.org> |
3253 | Jonathan Wakely <jwakely.gcc@gmail.com> | |
3254 | ||
3255 | * doc/xml/manual/containers.xml: Add section on unordered containers. | |
3256 | * doc/xml/manual/using.xml: Fix incomplete sentence. | |
3257 | ||
a9b68b82 JW |
3258 | 2013-02-10 Jonathan Wakely <jwakely.gcc@gmail.com> |
3259 | ||
dfed5434 JW |
3260 | PR libstdc++/56267 |
3261 | * include/bits/hashtable.h (__cache_default): Check if hash function | |
3262 | is copy assignable. | |
3263 | * testsuite/23_containers/unordered_set/56267.cc: New. | |
3264 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust | |
3265 | dg-error line number. | |
3266 | * testsuite/23_containers/unordered_set/ | |
3267 | not_default_constructible_hash_neg.cc: Likewise. | |
3268 | ||
a9b68b82 JW |
3269 | PR libstdc++/56278 |
3270 | * include/bits/hashtable_policy.h (_Hash_code_base): Make default | |
3271 | constructor public. | |
3272 | * testsuite/23_containers/unordered_set/56278.cc: New. | |
3273 | ||
0112ed60 FD |
3274 | 2013-02-09 François Dumont <fdumont@gcc.gnu.org> |
3275 | ||
3276 | * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code | |
3277 | simplification. | |
3278 | ||
be59c932 ESR |
3279 | 2013-02-08 Edward Smith-Rowland <3dw4rd@verizon.net> |
3280 | ||
3281 | PR libstdc++/56216 | |
3282 | * include/tr1/special_function_util.h: Remove spurious const | |
3283 | from numeric arguments. | |
3b424b30 PC |
3284 | * include/tr1/riemann_zeta.tcc: Likewise. |
3285 | * include/tr1/exp_integral.tcc: Likewise. | |
3286 | * include/tr1/bessel_function.tcc: Likewise. | |
3287 | * include/tr1/hypergeometric.tcc: Likewise. | |
3288 | * include/tr1/modified_bessel_func.tcc: Likewise. | |
3289 | * include/tr1/poly_laguerre.tcc: Likewise. | |
3290 | * include/tr1/gamma.tcc: Likewise. | |
3291 | * include/tr1/legendre_function.tcc: Likewise. | |
3292 | * include/tr1/poly_hermite.tcc: Likewise. | |
3293 | * include/tr1/ell_integral.tcc: Likewise. | |
be59c932 ESR |
3294 | * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): |
3295 | If argument is zero return function value. | |
3b424b30 PC |
3296 | * testsuite/tr1/5_numerical_facilities/special_functions/ |
3297 | 08_cyl_bessel_i/pr56216.cc: New. | |
be59c932 | 3298 | |
54353978 PC |
3299 | 2013-02-07 Paolo Carlini <paolo.carlini@oracle.com> |
3300 | ||
3301 | * testsuite/27_io/basic_ios/pr56193.cc: Tweak. | |
3302 | ||
fcf0430b ESR |
3303 | 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net> |
3304 | ||
54353978 | 3305 | PR libstdc++/56193 |
fcf0430b ESR |
3306 | * include/bits/basic_ios.h: Replace operator void*() const |
3307 | with explicit operator bool() const in C++11 and greater. | |
3308 | * testsuite/27_io/basic_ios/pr56193.cc: New file. | |
3309 | ||
c8ab2cfa DS |
3310 | 2013-02-04 Dodji Seketeli <dodji@redhat.com> |
3311 | ||
3312 | Add missing explicit instantiation for std::lower_bound template | |
3313 | * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add | |
3314 | missing instantiation for std::lower_bound template. | |
3315 | ||
4df047dd FD |
3316 | 2013-02-04 François Dumont <fdumont@gcc.gnu.org> |
3317 | ||
3318 | * include/bits/functional_hash.h (std::__is_fast_hash<>): New. | |
3319 | * include/bits/basic_string.h: Specialize previous to mark | |
3320 | std::hash for string types as slow. | |
3321 | * include/bits/hashtable.h (__cache_default): Replace is_integral | |
3322 | with __is_fast_hash. | |
3323 | * src/c++11/hash_c++0x.cc: Add type_traits include. | |
3324 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: | |
3325 | Adapt dg-error line number. | |
3326 | * testsuite/23_containers/unordered_set/ | |
3327 | not_default_constructible_hash_neg.cc: Likewise. | |
3328 | ||
9ea146e6 MLI |
3329 | 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3330 | Paolo Carlini <paolo.carlini@oracle.com> | |
3331 | ||
3332 | PR libstdc++/56202 (again) | |
3333 | * include/bits/random.tcc (binomial_distribution<>:: | |
3334 | _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko | |
3335 | in previous commit. | |
3336 | ||
3337 | * include/bits/random.h: Fix comment typo. | |
3338 | ||
85018f40 MLI |
3339 | 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3340 | Paolo Carlini <paolo.carlini@oracle.com> | |
3341 | ||
3342 | PR libstdc++/56202 | |
3343 | * include/bits/random.tcc (binomial_distribution<>:: | |
3344 | _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid | |
3345 | division by zero. | |
3346 | ||
405feeb8 RS |
3347 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
3348 | ||
3349 | Update copyright years. | |
3350 | * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc, | |
3351 | testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc, | |
3352 | testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc, | |
3353 | testsuite/23_containers/deque/requirements/dr438/insert_neg.cc, | |
3354 | testsuite/23_containers/list/requirements/dr438/assign_neg.cc, | |
3355 | testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc, | |
3356 | testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc, | |
3357 | testsuite/23_containers/list/requirements/dr438/insert_neg.cc, | |
3358 | testsuite/23_containers/vector/requirements/dr438/assign_neg.cc, | |
3359 | testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc, | |
3360 | testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc, | |
3361 | testsuite/23_containers/vector/requirements/dr438/insert_neg.cc, | |
3362 | testsuite/29_atomics/atomic/cons/assign_neg.cc, | |
3363 | testsuite/29_atomics/atomic/cons/copy_neg.cc, | |
3364 | testsuite/29_atomics/atomic_integral/cons/assign_neg.cc, | |
3365 | testsuite/29_atomics/atomic_integral/cons/copy_neg.cc, | |
3366 | testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc, | |
3367 | testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc, | |
3368 | testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: | |
3369 | Update lines in dg error matches. | |
3370 | ||
5031121c RS |
3371 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
3372 | ||
3373 | * config/os/mingw32/ctype_inline.h: Fix copyright typo. | |
3374 | ||
6e147946 FD |
3375 | 2013-02-01 François Dumont <fdumont@gcc.gnu.org> |
3376 | ||
3377 | * include/bits/hashtable_policy.h | |
3378 | (_Prime_rehash_policy::_M_next_bkt) | |
3379 | (_Prime_rehash_policy::_M_need_rehash): Move definition... | |
3380 | * src/c++11/hashtable_c++0x.cc: ... here. | |
3381 | * src/shared/hashtable-aux.cc: Remove c++config.h include. | |
3382 | * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy | |
3383 | symbols. | |
3384 | ||
2ee8a2d5 JM |
3385 | 2013-01-29 Jason Merrill <jason@redhat.com> |
3386 | ||
3387 | PR libstdc++/54314 | |
3388 | * config/abi/pre/gnu.ver: Don't export construction vtables. | |
3389 | * config/abi/pre/gnu-versioned-namespace.ver: Likewise. | |
3390 | ||
0addb273 JW |
3391 | 2013-01-28 Jonathan Wakely <jwakely.gcc@gmail.com> |
3392 | ||
3393 | PR libstdc++/56112 | |
3394 | * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace | |
3395 | to construct value_type explicitly before trying to extract the key. | |
3396 | * testsuite/23_containers/unordered_map/cons/56112.cc: New. | |
3397 | ||
5b3be7cf FD |
3398 | 2013-01-28 François Dumont <fdumont@gcc.gnu.org> |
3399 | ||
3400 | * include/bits/hashtable_policy.h (_Local_iterator_base): Use | |
3401 | _Hashtable_ebo_helper to embed functors into the local_iterator | |
3402 | when necessary. Pass information about functors involved in hash | |
3403 | code by copy. | |
3404 | * include/bits/hashtable.h (__cache_default): Do not cache for | |
3405 | builtin integral types unless the hash functor is not noexcept | |
3406 | qualified or is not default constructible. Adapt static assertions | |
3407 | and local iterator instantiations. | |
3408 | * include/debug/unordered_set | |
3409 | (std::__debug::unordered_set<>::erase): Detect local iterators to | |
3410 | invalidate using contained node rather than generating a dummy | |
3411 | local_iterator instance. | |
3412 | (std::__debug::unordered_multiset<>::erase): Likewise. | |
3413 | * include/debug/unordered_map | |
3414 | (std::__debug::unordered_map<>::erase): Likewise. | |
3415 | (std::__debug::unordered_multimap<>::erase): Likewise. | |
3416 | * testsuite/performance/23_containers/insert_erase/41975.cc: Test | |
3417 | std::tr1 and std versions of unordered_set regardless of any | |
3418 | macro. Add test on default cache behavior. | |
3419 | * testsuite/performance/23_containers/insert/54075.cc: Likewise. | |
3420 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: | |
3421 | Adapt line number. | |
3422 | * testsuite/23_containers/unordered_set/ | |
3423 | not_default_constructible_hash_neg.cc: New. | |
3424 | * testsuite/23_containers/unordered_set/buckets/swap.cc: New. | |
3425 | ||
91f4a9e3 PC |
3426 | 2013-01-24 Paolo Carlini <paolo.carlini@oracle.com> |
3427 | ||
3428 | PR libstdc++/56085 | |
3429 | * include/std/complex (pow(const complex<>&, int)): Avoid __n | |
3430 | signed overflow. | |
3431 | ||
0a18c815 JJ |
3432 | 2013-01-22 Jakub Jelinek <jakub@redhat.com> |
3433 | ||
3434 | * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc: | |
3435 | Tightten scan-assembler-times regexps, add dg-additional-options for | |
3436 | ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to | |
3437 | dg-options. | |
3438 | ||
d76b6ea4 AK |
3439 | 2013-01-12 Andi Kleen <ak@linux.intel.com> |
3440 | Jonathan Wakely <jwakely.gcc@gmail.com> | |
3441 | ||
318c94c0 | 3442 | PR libstdc++/55233 |
d76b6ea4 AK |
3443 | * include/bits/atomic_base.h (__memory_order_modifier): Add |
3444 | __memory_order_mask, __memory_order_modifier_mask, | |
3445 | __memory_order_hle_acquire, __memory_order_hle_release. | |
3446 | (operator|,operator&): Add. | |
3447 | (__cmpexch_failure_order): Rename to __cmpexch_failure_order2. | |
3448 | (__cmpexch_failure_order): Add. | |
3449 | (clear, store, load, compare_exchange_weak, compare_exchange_strong): | |
3450 | Handle flags. | |
3451 | * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc: | |
3452 | Add. | |
3453 | ||
c93fa3ca JW |
3454 | 2013-01-19 Jonathan Wakely <jwakely.gcc@gmail.com> |
3455 | ||
3456 | PR libstdc++/55861 | |
3457 | * include/std/future (_State_base::_S_check(const shared_ptr<T>&)): | |
3458 | Fix return type. | |
3459 | (__basic_future::_M_get_result()): Const qualify. | |
3460 | (shared_future::get()): Likewise. | |
3461 | * testsuite/30_threads/shared_future/members/get.cc: Use const | |
3462 | objects. | |
3463 | ||
b7202baf JW |
3464 | 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com> |
3465 | ||
3466 | PR libstdc++/55043 (again) | |
3467 | * include/bits/alloc_traits.h (allocator_traits::construct): Disable | |
3468 | unless construction would be well-formed. | |
3469 | (__allow_copy_cons, __check_copy_constructible): Define. | |
3470 | * include/bits/unordered_map.h (__check_copy_constructible): Use as | |
3471 | base class so copy constructor will be deleted if appropriate. | |
3472 | (is_copy_constructible): Remove specialization. | |
3473 | * include/bits/unordered_set.h: Likewise. | |
3474 | * include/debug/unordered_map.h: Undo previous commit. Default copy | |
3475 | and move constructors. | |
3476 | * include/debug/unordered_set.h: Likewise. | |
3477 | * include/profile/unordered_map.h: Undo previous commit. | |
3478 | * include/profile/unordered_set.h: Likewise. | |
3479 | * testsuite/23_containers/unordered_map/55043.cc: Fix test. | |
3480 | * testsuite/23_containers/unordered_multimap/55043.cc: Likewise. | |
3481 | * testsuite/23_containers/unordered_multiset/55043.cc: Likewise. | |
3482 | * testsuite/23_containers/unordered_set/55043.cc: Likewise. | |
3483 | * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL, | |
3484 | cannot support incomplete types. | |
3485 | * testsuite/23_containers/unordered_multimap/requirements/53339.cc: | |
3486 | Likewise. | |
3487 | ||
8175e986 JW |
3488 | 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com> |
3489 | ||
3490 | PR libstdc++/55043 | |
3491 | * include/std/unordered_map: Include alloc_traits.h | |
3492 | * include/std/unordered_set: Likewise. | |
3493 | * include/bits/alloc_traits.h: Define __is_copy_insertable. | |
3494 | * include/bits/unordered_map.h: Use it. | |
3495 | * include/bits/unordered_set.h: Likewise. | |
3496 | * include/debug/unordered_map.h: Likewise. | |
3497 | * include/debug/unordered_set.h: Likewise. | |
3498 | * include/profile/unordered_map.h: Likewise. | |
3499 | * include/profile/unordered_set.h: Likewise. | |
3500 | * include/bits/hashtable.h: Fix comment typos. | |
3501 | * testsuite/23_containers/unordered_map/55043.cc: New. | |
3502 | * testsuite/23_containers/unordered_multimap/55043.cc: New. | |
3503 | * testsuite/23_containers/unordered_multiset/55043.cc: New. | |
3504 | * testsuite/23_containers/unordered_set/55043.cc: New. | |
3505 | ||
93b2c9a5 JJ |
3506 | 2013-01-03 Janis Johnson <janisjo@codesourcery.com> |
3507 | ||
3508 | * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running | |
3509 | gdb command. | |
3510 | ||
965f0c57 JW |
3511 | 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
3512 | ||
3513 | * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing. | |
3514 | ||
890e1665 JW |
3515 | 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
3516 | ||
3517 | PR libstdc++/55908 | |
3518 | * include/std/functional (_Mem_fn::operator()): Fix constraints to | |
3519 | avoid ambiguity. | |
3520 | * testsuite/20_util/function_objects/mem_fn/55908.cc: New. | |
3521 | * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers. | |
3522 | ||
1191c46b RO |
3523 | 2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3524 | ||
3525 | PR libstdc++/55594 | |
3526 | * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to | |
3527 | Solaris targets. | |
3528 | * configure: Regenerate. | |
3529 | ||
78aff336 JW |
3530 | 2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com> |
3531 | ||
3532 | PR libstdc++/55847 | |
3533 | * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string. | |
3534 | * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify | |
3535 | string. | |
3536 | ||
3537 | PR libstdc++/55728 | |
3538 | * include/std/functional (bad_function_call::what()): Declare. | |
3539 | * src/c++11/functional.cc (bad_function_call::what()): Define. | |
3540 | * config/abi/pre/gnu.ver (bad_function_call::what()): Export. | |
3541 | * testsuite/20_util/bad_function_call/what.cc: New. | |
3542 | ||
1c2620dd JW |
3543 | 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
3544 | ||
3545 | * include/bits/unordered_map.h: Fix typo in comments. | |
3546 | * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket | |
3547 | counts for unordered associative containers. | |
3548 | ||
ac43ff42 JW |
3549 | 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
3550 | ||
3551 | * doc/xml/manual/abi.xml: Update library and symbol versions. | |
3552 | ||
adf8bb4f RS |
3553 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
3554 | ||
3555 | * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo | |
3556 | in copyright years. | |
3557 | * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise. | |
3558 | ||
86a2db33 JJ |
3559 | \f |
3560 | Copyright (C) 2013 Free Software Foundation, Inc. | |
3cc6dd4d | 3561 | |
86a2db33 JJ |
3562 | Copying and distribution of this file, with or without modification, |
3563 | are permitted in any medium without royalty provided the copyright | |
3564 | notice and this notice are preserved. |