1 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
3 * testsuite/Makefile.am: Make clean fixups.
4 * testsuite/Makefile.in: Regenerate.
6 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
8 * include/std/ratio (ratio_less): Add comments.
10 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
13 * include/std/ratio (ratio_add): Avoid denominator overflow.
14 * testsuite/20_util/ratio/operations/47913.cc: New.
16 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
18 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
19 * testsuite/20_util/hash/quality.cc: Same.
21 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
24 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
26 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
27 xputn): Use the latter.
28 * include/bits/streambuf_iterator.h: Likewise.
29 * src/strstream.cc: Likewise.
30 * src/streambuf.cc: Likewise.
31 * src/compatibility.cc: Likewise.
32 * src/istream.cc: Likewise.
33 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
35 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
36 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
37 seekpos, _M_sync): Use setg, setp, and _M_pbump.
38 * config/abi/pre/gnu.ver: Tweak.
40 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
42 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
44 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
47 * include/std/ratio (ratio_less): Reimplement to never overflow.
48 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
50 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
52 * testsuite/18_support/type_info/fundamental.cc: New.
54 * testsuite/Makefile.am: Make clean fixups.
55 * testsuite/Makefile.in: Regenerate.
57 2011-02-19 François Dumont <francois.cppdevs@free.fr>
59 * include/debug/string (basic_string::insert): Add iterator check and
60 pass normal iterator to normal insert.
61 * include/debug/macros.h (__glibcxx_check_heap,
62 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
65 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
68 * testsuite/ext/vstring/hash/char/1.cc: Fix.
69 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
71 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
73 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
74 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
75 (basic_regex::operator=(basic_regex&&)): Likewise.
76 (basic_regex::assign(basic_regex&&)): Likewise.
77 (operator==(sub_match,...)): Implement DR 1181.
78 (match_results::match_results(match_results&&)): Define.
79 (match_results::operator=(const match_results&)): Fix parameter type.
80 (match_results::operator=(match_results&&)): Define.
82 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
85 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
86 line anchors as metacharacters.
87 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
89 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
92 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
93 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
94 hash<__gnu_cxx::__u32vstring>): Add.
95 * testsuite/ext/vstring/hash/char/1.cc: New.
96 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
98 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
100 * include/bits/regex.h (match_results::format): Use char_traits.
102 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
104 * include/std/atomic: Remove atomic_address, uplift to N3225.
105 * include/bits/atomic_0.h: Same.
106 * include/bits/atomic_2.h: Same.
107 * include/bits/atomic_base.h: Same.
108 * testsuite/29_atomics/atomic_address/*: Delete.
110 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
112 * include/bits/regex.h (sub_match::sub_match): Add.
113 (match_results::ready): Add.
114 (match_results::empty): Adjust.
115 (match_results::length): Add missing dereference.
116 (match_results::operator[],prefix,suffix): Add debug mode checks.
117 (match_results::cend): Re-use end().
118 (match_results::format): Adjust signatures.
119 (operator==(match_results,match_results)): Implement.
120 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
121 * include/bits/regex_constants.h (syntax_option_type): Likewise.
122 * include/bits/regex_grep_matcher.h: Fix comment typo.
123 (_SpecializedResults::_SpecializedResults): Simplify.
124 * include/bits/regex_cursor.h: Fix comment typo.
125 * include/bits/regex_nfa.h: Likewise.
126 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
127 Fix error code, remove xfail.
128 * testsuite/28_regex/basic_regex/ctors/extended/
129 string_range_01_02_03.cc: Likewise.
131 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
133 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
134 * include/bits/regex_nfa.h: Remove unnecessary base classes.
136 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
138 * configure: Regenerate.
140 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
143 * include/ext/algorithm (is_heap): In C++0x mode import from
145 * testsuite/ext/is_heap/47709.cc: New.
147 2011-02-12 Jakub Jelinek <jakub@redhat.com>
148 Jonathan Wakely <jwakely.gcc@gmail.com>
151 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
152 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
154 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
156 * include/tr1/cmath (fabs): Define.
157 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
160 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
162 * testsuite/tr1/headers/c++200x/complex.cc: New.
164 2011-02-11 Johannes Singler <singler@kit.edu>
167 * include/parallel/losertree.h
168 (_LoserTreeUnguarded<>::__delete_min_insert):
169 Add missing "using std::swap;", as for other variants.
171 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
173 * src/Makefile.am (sources): Add regex.cc.
174 * src/Makefile.in: Regenerate.
176 * include/bits/regex_error.h (error_type): Use constexpr.
177 (regex_error): Move ctor and dtor out of line.
179 * testsuite/28_regex/03_requirements: To...
180 * testsuite/28_regex/requirements: ... this.
181 * testsuite/28_regex/04_header: To...
182 * testsuite/28_regex/headers: ... this.
183 * testsuite/28_regex/05_constants: To...
184 * testsuite/28_regex/constants: ... this.
185 * testsuite/28_regex/06_exception_type: To...
186 * testsuite/28_regex/regex_error: ... this.
187 * testsuite/28_regex/07_traits: To...
188 * testsuite/28_regex/traits: ... this.
189 * testsuite/28_regex/08_basic_regex: To...
190 * testsuite/28_regex/basic_regex: ... this.
191 * testsuite/28_regex/09_sub_match: To...
192 * testsuite/28_regex/sub_match: ... this.
193 * testsuite/28_regex/10_match_results: To...
194 * testsuite/28_regex/match_results: ... this.
195 * testsuite/28_regex/11_algorithms: To...
196 * testsuite/28_regex/algorithms: ... this.
197 * testsuite/28_regex/12_iterators: To...
198 * testsuite/28_regex/iterators: ... this.
200 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
203 * include/bits/c++config: Do not use alternative token.
204 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
206 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
208 * src/future.cc (future_error_category::message): Handle no_state.
210 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
212 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
213 not test in C++0x mode.
214 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
215 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
218 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
220 * doc/xml/manual/status_cxx200x.xml: Update.
221 * doc/html/*: Regenerate.
223 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
225 * doc/xml/manual/debug.xml: Improve data race docs.
227 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
230 * include/debug/map.h (map): Remove unnecessary using-declaration.
231 * include/debug/multimap.h (multimap): Likewise.
232 * include/profile/map.h (map): Likewise.
233 * include/profile/multimap.h (multimap): Likewise.
235 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
238 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
240 * libsupc++/guard_error.cc: ... new file.
241 * libsupc++/Makefile.am: Update.
242 * libsupc++/Makefile.in: Regenerate.
244 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
246 * include/std/future (packaged_task::operator bool): Rename to...
247 (packaged_task::valid): ...this.
248 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
249 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
250 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
251 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
252 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
253 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
254 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
255 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
256 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
257 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
258 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
260 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
262 * doc/xml/manual/io.xml: Fix typo.
263 * doc/html/manual/streambufs.html: Likewise.
265 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
267 * config/abi/pre/gnu.ver: Fix.
269 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
271 * doc/xml/manual/appendix_porting.xml: Add doc section.
272 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
273 * doc/xml/manual/documentation_hacking.xml: ...here.
275 * doc/xml/manual/debug_mode.xml: Adjust.
276 * doc/xml/manual/prerequisites.xml: Adjust.
277 * doc/Makefile.am (xml_sources): Add dot files,
278 documentation_hacking.xml.
279 * doc/Makefile.in: Regenerate.
281 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
282 * doc/xml/images/confdeps.pdf: Add.
284 * doc/html/*: Regenerate.
286 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
288 * doc/xml/gnu/fdl-1.2.xml: Remove.
289 * doc/xml/gnu/gpl-2.0.xml: Remove.
290 * doc/Makefile.am: Update.
291 * doc/Makefile.in: Regenerate.
293 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
296 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
297 iterator)): Add back in C++03 mode.
298 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
299 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
301 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
303 PR libstdc++/47560 try two
304 * config/os/hpux/os_defines.h: Guard for C++.
306 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
308 * doc/xml/faq.xml: Adjust link to bug database.
309 Remove old item on broken header files.
311 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
313 * include/bits/regex_error.h (__throw_regex_error): Not inline.
314 * src/functexcept.cc: Add definition.
315 * config/abi/pre/gnu.ver: Export.
317 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
319 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
320 * configure: Regenerate.
322 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
325 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
326 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
327 avoid name conflicts.
329 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
332 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
334 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
336 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
337 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
338 (COMPACT_LATEX): Enable.
340 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
341 * include/profile/impl/profiler_hash_func.h: Same.
342 * include/bits/hashtable.h: Same.
343 * include/backward/auto_ptr.h: Same.
344 * include/backward/strstream: Same.
345 * include/backward/backward_warning.h: Same.
346 * include/backward/binders.h: Same.
348 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
350 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
351 Adjust link to GDB manual.
353 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
355 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
356 _GLIBCXX_USE_DEPRECATED.
357 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
358 * doc/xml/manual/using.xml: Same.
359 * include/std/memory: Same.
360 * include/std/streambuf: Same.
361 * include/bits/shared_ptr.h: Same.
362 * include/bits/unique_ptr.h: Same.
363 * include/bits/shared_ptr_base.h: Same.
364 * include/bits/stl_function.h: Same.
365 * include/tr1/shared_ptr.h: Same.
366 * include/backward/auto_ptr.h: Same.
367 * include/backward/binders.h: Same.
369 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
371 * doc/html/ext/lwg-active.html: Update to Revision D73.
372 * doc/html/ext/lwg-closed.html: Likewise.
373 * doc/html/ext/lwg-defects.html: Likewise.
374 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
376 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
378 PR libstdc++/36104 part four
379 * include/bits/c++config (_GLIBCXX_STD): Remove.
380 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
381 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
382 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
383 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
384 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
385 _GLIBCXX_INLINE_PROFILE): Remove.
386 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
387 (_GLIBCXX_END_NAMESPACE): Remove.
388 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
389 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
390 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
391 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
392 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
393 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
394 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
395 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
396 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
397 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
398 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
399 * include/*: Use new macros for namespace scope.
403 * src/Makefile.am (sources): Remove debug_list.cc, add
404 compatibility-debug_list-2.cc.
405 (parallel_sources): Remove parallel_list.cc, add
406 compatibility-parallel_list-2.cc.
407 (compatibility-parallel_list-2.[o,lo]): New rule.
408 * src/Makefile.in: Regenerate.
409 * src/debug_list.cc: Remove.
410 * src/parallel_list.cc: Remove.
411 * src/compatibility-list-2.cc: New.
412 * src/compatibility-debug_list-2.cc: New.
413 * src/compatibility-parallel_list-2.cc: New.
415 * doc/doxygen/user.cfg.in: Adjust macros.
417 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
418 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
419 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
420 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
421 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
422 * testsuite/20_util/forward/c_neg.cc: Same.
423 * testsuite/20_util/forward/f_neg.cc: Same.
424 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
425 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
426 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
427 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
428 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
429 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
430 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
431 * testsuite/23_containers/deque/requirements/dr438/
432 constructor_1_neg.cc: Same.
433 * testsuite/23_containers/deque/requirements/dr438/
434 constructor_2_neg.cc: Same.
435 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
436 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
437 * testsuite/23_containers/forward_list/requirements/dr438/
439 * testsuite/23_containers/forward_list/requirements/dr438/
440 constructor_1_neg.cc: Same.
441 * testsuite/23_containers/forward_list/requirements/dr438/
442 constructor_2_neg.cc: Same.
443 * testsuite/23_containers/forward_list/requirements/dr438/
445 * testsuite/23_containers/list/capacity/29134.cc: Same.
446 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
447 * testsuite/23_containers/list/requirements/dr438/
448 constructor_1_neg.cc: Same.
449 * testsuite/23_containers/list/requirements/dr438/
450 constructor_2_neg.cc: Same.
451 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
452 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
453 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
454 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
455 * testsuite/23_containers/vector/requirements/dr438/
456 constructor_1_neg.cc: Same.
457 * testsuite/23_containers/vector/requirements/dr438/
458 constructor_2_neg.cc: Same.
459 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
460 * testsuite/25_algorithms/sort/35588.cc: Same.
461 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
462 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
463 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
464 * testsuite/ext/profile/profiler_algos.cc: Same.
465 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
466 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
467 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
468 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
469 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
471 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
473 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
474 Improve description of one such reference.
476 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
478 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
479 Standards Revision Group.
480 * doc/xml/manual/locale.xml: Ditto.
481 * doc/xml/manual/messages.xml: Ditto.
482 * doc/xml/manual/using_exceptions.xml: Ditto.
484 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
486 * include/bits/atomic_base.h: Do not include <stddef.h>.
487 (kill_dependency): Uglify ret.
489 2011-01-26 Johannes Singler <singler@kit.edu>
491 * include/parallel/numeric (inner_product, partial_sum):
492 Qualify subsequent call with __gnu_parallel instead of
493 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
494 * include/parallel/algobase.h (equal): Likewise.
495 * include/parallel/algo.h (find_first_of, search_n, merge,
496 nth_element, partial_sort, max_element, min_element): Likewise.
497 * testsuite/25_algorithms/headers/algorithm/
498 parallel_algorithm_mixed1.cc (main): Add respective test cases.
499 * testsuite/25_algorithms/headers/algorithm/
500 parallel_algorithm_mixed2.cc (main): Likewise.
501 * testsuite/26_numerics/headers/numeric/
502 parallel_numeric_mixed1.cc (main): Likewise.
503 * testsuite/26_numerics/headers/numeric/
504 parallel_numeric_mixed2.cc (main): Likewise.
506 2011-01-24 Graham Reed <greed@pobox.com>
509 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
512 2011-01-24 Johannes Singler <singler@kit.edu>
515 * include/parallel/losertree.h
516 (_LoserTree<>::__delete_min_insert):
517 Do not qualify swap with std:: for value type,
518 but include a using directive instead.
519 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
520 * include/parallel/balanced_quicksort.h (__qsb_divide):
521 Use std::iter_swap instead of std::swap.
522 (__qsb_local_sort_with_helping): Likewise.
523 * include/parallel/partition.h (__parallel_partition):
524 Likewise. (__parallel_nth_element): Likewise.
526 2011-01-24 Johannes Singler <singler@kit.edu>
529 * include/parallel/multiway_merge.h (_UnguardedIterator):
530 Remove useless "mutable" from reference declaration.
532 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
534 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
535 * include/debug/safe_sequence.h: Same.
536 * include/debug/safe_iterator.h: Same.
537 * include/std/forward_list: Same.
538 * include/std/deque: Same.
539 * include/std/list: Same.
540 * include/std/random: Same.
541 * include/std/streambuf: Same.
542 * include/std/fstream: Same.
543 * include/std/istream: Same.
544 * include/std/string: Same.
545 * include/std/ostream: Same.
546 * include/std/sstream: Same.
547 * include/ext/vstring.h: Same.
548 * include/bits/basic_ios.h: Same.
549 * include/bits/locale_classes.h: Same.
550 * include/bits/locale_facets.h: Same.
551 * include/bits/valarray_array.h: Same.
552 * include/bits/locale_facets_nonio.h: Same.
553 * include/tr1/random: Same.
555 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
557 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
559 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
561 PR libstdc++/36104 part three
562 * src/hashtable_c++0x.cc: Adjust namespace macros.
563 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
564 * config/abi/pre/gnu-versioned-namespace.ver: Update.
566 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
568 * include/ext/pb_ds/detail/resize_policy/
569 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
570 * include/ext/pb_ds/detail/pat_trie_/
571 constructors_destructor_fn_imps.hpp: Same.
572 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
573 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
574 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
576 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
577 iterations downward when testing in debug mode.
578 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
579 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
580 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
581 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
582 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
583 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
584 reduce in debug mode.
586 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
588 PR libstdc++/36104 part two
589 * include/bits/hashtable.h: Revert to non-nested macro usage.
590 * include/bits/hashtable_policy.h: Same.
592 2011-01-19 Graham Reed <greed@pobox.com>
595 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
597 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
599 * doc/xml/images/confdeps.png: Regenerate.
601 * include/std/chrono (duration): Mark copy constructor constexpr.
602 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
604 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
606 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
607 Declare defaulted per DR 1517.
608 * testsuite/util/testsuite_common_types.h
609 (constexpr_defaulted_default_constructible): Add.
610 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
612 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
614 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
616 * include/bits/stl_stack.h (stack<>::swap): Likewise.
618 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
621 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
622 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
624 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
627 * testsuite/18_support/numeric_limits/lowest.cc:
628 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
630 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
633 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
634 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
636 2011-01-16 François Dumont <francois.cppdevs@free.fr>
638 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
639 to this. Use _neg suffix.
640 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
642 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
644 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
645 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
647 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
648 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
650 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
651 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
653 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
654 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
656 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
657 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
659 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
660 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
662 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
663 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
665 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
666 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
668 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
669 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
671 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
672 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
674 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
675 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
677 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
678 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
680 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
681 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
683 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
684 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
686 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
688 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
691 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
692 * include/Makefile.in: Regenerate.
693 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
694 (install-stdHEADERS, install-bitsHEADERS): New.
695 * libsupc++/Makefile.in: Regenerate.
697 * include/bits/c++config: Update for inline namespaces.
698 * libsupc++/cxxabi-forced.h: To...
699 * libsupc++/cxxabi_forced.h: ...this.
700 * libsupc++/hash_bytes.h: Separate file.
701 * libsupc++/typeinfo: Use it.
702 * libsupc++/exception: Adjust for bits subdirectory.
703 * libsupc++/eh_aux_runtime.cc: Same.
704 * libsupc++/eh_ptr.cc: Same.
705 * libsupc++/new_op.cc: Same.
706 * libsupc++/exception_defines.h: Same.
707 * libsupc++/nested_exception.h: Same.
708 * libsupc++/eh_terminate.cc: Same.
709 * libsupc++/vec.cc: Same.
710 * libsupc++/vterminate.cc: Same.
711 * libsupc++/exception_ptr.h: Same.
712 * libsupc++/eh_personality.cc: Same.
713 * libsupc++/eh_call.cc: Same.
714 * libsupc++/new_opnt.cc: Same.
715 * libsupc++/hash_bytes.cc: Same.
716 * config/cpu/arm/cxxabi_tweaks.h: Same.
717 * config/cpu/generic/cxxabi_tweaks.h: Same.
718 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
719 * include/std/bitset: Same.
720 * include/ext/vstring.tcc: Same.
721 * include/bits/hashtable.h: Same.
722 * include/bits/functional_hash.h: Same.
723 * include/bits/hashtable_policy.h: Same.
724 * include/bits/basic_string.h: Same.
725 * include/bits/istream.tcc: Same.
726 * include/bits/ostream.tcc: Same.
727 * include/bits/algorithmfwd.h: Same.
728 * include/bits/basic_string.tcc: Same.
729 * include/bits/ostream_insert.h: Same.
730 * include/bits/fstream.tcc: Same.
731 * include/bits/functexcept.h: Same.
733 * doc/doxygen/user.cfg.in: Adjust names.
735 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
737 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
739 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
741 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
743 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
745 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
746 * testsuite/25_algorithms/is_permutation/requirements/
747 explicit_instantiation/2.cc: Likewise.
748 * testsuite/25_algorithms/is_permutation/requirements/
749 explicit_instantiation/pod.cc: Likewise.
750 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
752 2011-01-13 John Lakos <jlakos@bloomberg.net>
753 Pablo Halpern <phalpern@halpernwightsoftware.com>
754 Paolo Carlini <paolo.carlini@oracle.com>
756 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
757 * include/bits/algorithmfwd.h: Add.
759 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
762 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
764 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
766 * aclocal.m4: Regenerate.
768 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
771 * src/placeholders.cc: New.
772 * src/Makefile.am: Adjust.
773 * src/Makefile.in: Regenerate.
774 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
776 * config/abi/pre/gnu.ver: Export.
778 2011-01-05 François Dumont <francois.cppdevs@free.fr>
780 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
781 * include/src/debug.cc: Use latter
782 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
783 correctly handle before_begin iterators.
784 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
785 useless _GLIBCXX_DEBUG checks.
787 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
790 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
791 * configure: Regenerated.
793 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
796 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
799 Copyright (C) 2011 Free Software Foundation, Inc.
801 Copying and distribution of this file, with or without modification,
802 are permitted in any medium without royalty provided the copyright
803 notice and this notice are preserved.