1 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
3 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
4 * src/Makefile.in: Regenerate.
5 * libsupc++/Makefile.am: Add nested_exception.cc.
6 * libsupc++/Makefile.in: Regenerate.
7 * src/system_error.cc: Add ctor and dtor definitions for error_category.
8 * src/functional.cc: New. Add dtor definition for bad_function_call.
9 * src/stdexcept.cc: Add dtor definitions for domain_error,
10 invalid_argument, length_error, out_of_range, range_error,
11 overflow_error, underflow_error.
12 * src/future.cc: Add dtor definition for __future_base::_Result_base.
13 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
14 * src/thread.cc: Add dtor for thread::_Impl_base.
15 * include/std/system_error: Adjust.
16 * include/std/stdexcept: Same.
17 * include/std/future: Same.
18 * include/std/functional: Same.
19 * include/std/thread: Same.
20 * include/bits/shared_ptr_base.h: Same.
21 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
22 * libsupc++/nested_exception.h: Adjust.
23 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
24 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
25 * config/abi/pre/gnu.ver: Add new exports.
27 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
29 * include/bits/regex_compiler.h: Nest namespace versioning.
30 * include/bits/regex_grep_matcher.tcc: Same.
31 * include/bits/regex_grep_matcher.h: Same.
32 * include/bits/regex_cursor.h: Same.
33 * include/bits/regex_nfa.h: Same.
34 * include/bits/regex_nfa.tcc: Same.
36 * include/bits/regex_grep_matcher.h: Version forward declarations.
37 * include/bits/c++config: Add namespace association for __regex.
38 * include/bits/regex.h: Make sub_match consistent.
40 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
42 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
44 * doc/html/manual/abi.html: Regenerate.
46 2011-03-14 Tom Tromey <tromey@redhat.com>
48 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
49 Try to import `gdb.printing' module.
50 (UniquePointerPrinter.__init__): Add 'typename' argument.
51 (StdSlistPrinter.__init__): Likewise.
52 (StdSlistIteratorPrinter.__init__): Likewise.
53 (StdVectorIteratorPrinter.__init__): Likewise.
54 (StdRbtreeIteratorPrinter.__init__): Likewise.
55 (StdDebugIteratorPrinter.__init__): Likewise.
56 (StdDequeIteratorPrinter.__init__): Likewise.
57 (StdStringPrinter.__init__): Likewise.
58 (RxPrinter, Printer): New class.
59 (libstdcxx_printer): New global.
60 (register_libstdcxx_printers): Rewrite.
61 (build_libstdcxx_dictionary): Rewrite.
62 (pretty_printers_dict): Remove.
64 2011-03-14 Andrey Zholos <aaz@althenia.net>
67 * include/bits/random.h (geometric_distribution): Correct formula
68 in comment, per C++0x.
69 (geometric_distribution<>::param_type::param_type(double)): Fix check.
70 (geometric_distribution<>::param_type::_M_initialize):
72 * include/bits/random.tcc (geometric_distribution<>::operator()):
74 (binomial_distribution<>::operator()): Likewise.
76 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
78 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
80 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
81 Chris Jefferson <chris@bubblescope.net>
82 Paolo Carlini <paolo.carlini@oracle.com>
84 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
86 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
88 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
90 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
92 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
94 2011-03-09 Chris Jefferson <chris@bubblescope.net>
97 * include/bits/stl_algo.h (__merge_backward): Rename to
98 __move_merge_backward and change to always move rather than copy.
99 (__move_merge): New function similar to std::merge except values
100 are moved instead of copied.
101 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
102 and __merge_backward to __move_merge and __move_merge_backward.
104 2011-03-07 Jason Merrill <jason@redhat.com>
106 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
109 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
110 Matthias Klose <doko@ubuntu.com>
111 Jonathan Wakely <redi@gcc.gnu.org>
114 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
115 * configure.ac: Use it.
116 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
117 * configure: Regenerate.
118 * doc/Makefile.in: Regenerate.
120 2011-03-04 Benjamin Kosnik <bkoz@chula>
122 * src/Makefile.am (inst_sources): Make source instantion files
124 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
125 * src/Makefile.in: Regenerate.
126 * src/valarray-inst.cc: Move to..
127 * src/valarray.cc: ...this.
128 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
129 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
130 * configure: Regenerate.
131 * include/Makefile.am (stamp-extern-template): Add.
132 * include/Makefile.in: Regenerate.
134 * doc/xml/manual/configure.xml: Document --enable-extern-template.
136 * include/bits/locale_classes.tcc: Adjust comment.
137 * include/bits/locale_facets.tcc: Same.
138 * include/bits/basic_ios.tcc: Same.
139 * include/bits/istream.tcc: Same.
140 * include/bits/codecvt.h: Same.
141 * include/bits/ostream.tcc: Same.
142 * include/bits/sstream.tcc: Same.
143 * include/bits/c++config: Same.
144 * include/bits/basic_string.tcc: Same.
145 * include/bits/ostream_insert.h: Same.
146 * include/bits/locale_facets_nonio.tcc: Same.
147 * include/bits/streambuf.tcc: Same.
148 * include/bits/allocator.h: Same.
149 * include/bits/fstream.tcc: Same.
151 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
153 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
155 * testsuite/Makefile.am: Make clean fixups.
156 * testsuite/Makefile.in: Regenerate.
158 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
160 * include/std/ratio (ratio_less): Add comments.
162 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
165 * include/std/ratio (ratio_add): Avoid denominator overflow.
166 * testsuite/20_util/ratio/operations/47913.cc: New.
168 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
170 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
171 * testsuite/20_util/hash/quality.cc: Same.
173 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
176 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
178 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
179 xputn): Use the latter.
180 * include/bits/streambuf_iterator.h: Likewise.
181 * src/strstream.cc: Likewise.
182 * src/streambuf.cc: Likewise.
183 * src/compatibility.cc: Likewise.
184 * src/istream.cc: Likewise.
185 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
187 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
188 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
189 seekpos, _M_sync): Use setg, setp, and _M_pbump.
190 * config/abi/pre/gnu.ver: Tweak.
192 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
194 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
196 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
199 * include/std/ratio (ratio_less): Reimplement to never overflow.
200 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
202 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
204 * testsuite/18_support/type_info/fundamental.cc: New.
206 * testsuite/Makefile.am: Make clean fixups.
207 * testsuite/Makefile.in: Regenerate.
209 2011-02-19 François Dumont <francois.cppdevs@free.fr>
211 * include/debug/string (basic_string::insert): Add iterator check and
212 pass normal iterator to normal insert.
213 * include/debug/macros.h (__glibcxx_check_heap,
214 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
217 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
220 * testsuite/ext/vstring/hash/char/1.cc: Fix.
221 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
223 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
225 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
226 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
227 (basic_regex::operator=(basic_regex&&)): Likewise.
228 (basic_regex::assign(basic_regex&&)): Likewise.
229 (operator==(sub_match,...)): Implement DR 1181.
230 (match_results::match_results(match_results&&)): Define.
231 (match_results::operator=(const match_results&)): Fix parameter type.
232 (match_results::operator=(match_results&&)): Define.
234 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
237 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
238 line anchors as metacharacters.
239 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
241 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
244 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
245 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
246 hash<__gnu_cxx::__u32vstring>): Add.
247 * testsuite/ext/vstring/hash/char/1.cc: New.
248 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
250 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
252 * include/bits/regex.h (match_results::format): Use char_traits.
254 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
256 * include/std/atomic: Remove atomic_address, uplift to N3225.
257 * include/bits/atomic_0.h: Same.
258 * include/bits/atomic_2.h: Same.
259 * include/bits/atomic_base.h: Same.
260 * testsuite/29_atomics/atomic_address/*: Delete.
262 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
264 * include/bits/regex.h (sub_match::sub_match): Add.
265 (match_results::ready): Add.
266 (match_results::empty): Adjust.
267 (match_results::length): Add missing dereference.
268 (match_results::operator[],prefix,suffix): Add debug mode checks.
269 (match_results::cend): Re-use end().
270 (match_results::format): Adjust signatures.
271 (operator==(match_results,match_results)): Implement.
272 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
273 * include/bits/regex_constants.h (syntax_option_type): Likewise.
274 * include/bits/regex_grep_matcher.h: Fix comment typo.
275 (_SpecializedResults::_SpecializedResults): Simplify.
276 * include/bits/regex_cursor.h: Fix comment typo.
277 * include/bits/regex_nfa.h: Likewise.
278 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
279 Fix error code, remove xfail.
280 * testsuite/28_regex/basic_regex/ctors/extended/
281 string_range_01_02_03.cc: Likewise.
283 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
285 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
286 * include/bits/regex_nfa.h: Remove unnecessary base classes.
288 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
290 * configure: Regenerate.
292 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
295 * include/ext/algorithm (is_heap): In C++0x mode import from
297 * testsuite/ext/is_heap/47709.cc: New.
299 2011-02-12 Jakub Jelinek <jakub@redhat.com>
300 Jonathan Wakely <jwakely.gcc@gmail.com>
303 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
304 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
306 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
308 * include/tr1/cmath (fabs): Define.
309 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
312 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
314 * testsuite/tr1/headers/c++200x/complex.cc: New.
316 2011-02-11 Johannes Singler <singler@kit.edu>
319 * include/parallel/losertree.h
320 (_LoserTreeUnguarded<>::__delete_min_insert):
321 Add missing "using std::swap;", as for other variants.
323 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
325 * src/Makefile.am (sources): Add regex.cc.
326 * src/Makefile.in: Regenerate.
328 * include/bits/regex_error.h (error_type): Use constexpr.
329 (regex_error): Move ctor and dtor out of line.
331 * testsuite/28_regex/03_requirements: To...
332 * testsuite/28_regex/requirements: ... this.
333 * testsuite/28_regex/04_header: To...
334 * testsuite/28_regex/headers: ... this.
335 * testsuite/28_regex/05_constants: To...
336 * testsuite/28_regex/constants: ... this.
337 * testsuite/28_regex/06_exception_type: To...
338 * testsuite/28_regex/regex_error: ... this.
339 * testsuite/28_regex/07_traits: To...
340 * testsuite/28_regex/traits: ... this.
341 * testsuite/28_regex/08_basic_regex: To...
342 * testsuite/28_regex/basic_regex: ... this.
343 * testsuite/28_regex/09_sub_match: To...
344 * testsuite/28_regex/sub_match: ... this.
345 * testsuite/28_regex/10_match_results: To...
346 * testsuite/28_regex/match_results: ... this.
347 * testsuite/28_regex/11_algorithms: To...
348 * testsuite/28_regex/algorithms: ... this.
349 * testsuite/28_regex/12_iterators: To...
350 * testsuite/28_regex/iterators: ... this.
352 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
355 * include/bits/c++config: Do not use alternative token.
356 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
358 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
360 * src/future.cc (future_error_category::message): Handle no_state.
362 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
364 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
365 not test in C++0x mode.
366 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
367 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
370 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
372 * doc/xml/manual/status_cxx200x.xml: Update.
373 * doc/html/*: Regenerate.
375 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
377 * doc/xml/manual/debug.xml: Improve data race docs.
379 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
382 * include/debug/map.h (map): Remove unnecessary using-declaration.
383 * include/debug/multimap.h (multimap): Likewise.
384 * include/profile/map.h (map): Likewise.
385 * include/profile/multimap.h (multimap): Likewise.
387 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
390 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
392 * libsupc++/guard_error.cc: ... new file.
393 * libsupc++/Makefile.am: Update.
394 * libsupc++/Makefile.in: Regenerate.
396 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
398 * include/std/future (packaged_task::operator bool): Rename to...
399 (packaged_task::valid): ...this.
400 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
401 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
402 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
403 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
404 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
405 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
406 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
407 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
408 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
409 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
410 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
412 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
414 * doc/xml/manual/io.xml: Fix typo.
415 * doc/html/manual/streambufs.html: Likewise.
417 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
419 * config/abi/pre/gnu.ver: Fix.
421 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
423 * doc/xml/manual/appendix_porting.xml: Add doc section.
424 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
425 * doc/xml/manual/documentation_hacking.xml: ...here.
427 * doc/xml/manual/debug_mode.xml: Adjust.
428 * doc/xml/manual/prerequisites.xml: Adjust.
429 * doc/Makefile.am (xml_sources): Add dot files,
430 documentation_hacking.xml.
431 * doc/Makefile.in: Regenerate.
433 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
434 * doc/xml/images/confdeps.pdf: Add.
436 * doc/html/*: Regenerate.
438 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
440 * doc/xml/gnu/fdl-1.2.xml: Remove.
441 * doc/xml/gnu/gpl-2.0.xml: Remove.
442 * doc/Makefile.am: Update.
443 * doc/Makefile.in: Regenerate.
445 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
448 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
449 iterator)): Add back in C++03 mode.
450 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
451 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
453 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
455 PR libstdc++/47560 try two
456 * config/os/hpux/os_defines.h: Guard for C++.
458 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
460 * doc/xml/faq.xml: Adjust link to bug database.
461 Remove old item on broken header files.
463 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
465 * include/bits/regex_error.h (__throw_regex_error): Not inline.
466 * src/functexcept.cc: Add definition.
467 * config/abi/pre/gnu.ver: Export.
469 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
471 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
472 * configure: Regenerate.
474 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
477 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
478 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
479 avoid name conflicts.
481 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
484 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
486 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
488 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
489 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
490 (COMPACT_LATEX): Enable.
492 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
493 * include/profile/impl/profiler_hash_func.h: Same.
494 * include/bits/hashtable.h: Same.
495 * include/backward/auto_ptr.h: Same.
496 * include/backward/strstream: Same.
497 * include/backward/backward_warning.h: Same.
498 * include/backward/binders.h: Same.
500 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
502 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
503 Adjust link to GDB manual.
505 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
507 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
508 _GLIBCXX_USE_DEPRECATED.
509 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
510 * doc/xml/manual/using.xml: Same.
511 * include/std/memory: Same.
512 * include/std/streambuf: Same.
513 * include/bits/shared_ptr.h: Same.
514 * include/bits/unique_ptr.h: Same.
515 * include/bits/shared_ptr_base.h: Same.
516 * include/bits/stl_function.h: Same.
517 * include/tr1/shared_ptr.h: Same.
518 * include/backward/auto_ptr.h: Same.
519 * include/backward/binders.h: Same.
521 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
523 * doc/html/ext/lwg-active.html: Update to Revision D73.
524 * doc/html/ext/lwg-closed.html: Likewise.
525 * doc/html/ext/lwg-defects.html: Likewise.
526 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
528 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
530 PR libstdc++/36104 part four
531 * include/bits/c++config (_GLIBCXX_STD): Remove.
532 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
533 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
534 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
535 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
536 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
537 _GLIBCXX_INLINE_PROFILE): Remove.
538 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
539 (_GLIBCXX_END_NAMESPACE): Remove.
540 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
541 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
542 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
543 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
544 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
545 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
546 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
547 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
548 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
549 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
550 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
551 * include/*: Use new macros for namespace scope.
555 * src/Makefile.am (sources): Remove debug_list.cc, add
556 compatibility-debug_list-2.cc.
557 (parallel_sources): Remove parallel_list.cc, add
558 compatibility-parallel_list-2.cc.
559 (compatibility-parallel_list-2.[o,lo]): New rule.
560 * src/Makefile.in: Regenerate.
561 * src/debug_list.cc: Remove.
562 * src/parallel_list.cc: Remove.
563 * src/compatibility-list-2.cc: New.
564 * src/compatibility-debug_list-2.cc: New.
565 * src/compatibility-parallel_list-2.cc: New.
567 * doc/doxygen/user.cfg.in: Adjust macros.
569 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
570 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
571 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
572 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
573 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
574 * testsuite/20_util/forward/c_neg.cc: Same.
575 * testsuite/20_util/forward/f_neg.cc: Same.
576 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
577 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
578 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
579 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
580 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
581 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
582 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
583 * testsuite/23_containers/deque/requirements/dr438/
584 constructor_1_neg.cc: Same.
585 * testsuite/23_containers/deque/requirements/dr438/
586 constructor_2_neg.cc: Same.
587 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
588 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
589 * testsuite/23_containers/forward_list/requirements/dr438/
591 * testsuite/23_containers/forward_list/requirements/dr438/
592 constructor_1_neg.cc: Same.
593 * testsuite/23_containers/forward_list/requirements/dr438/
594 constructor_2_neg.cc: Same.
595 * testsuite/23_containers/forward_list/requirements/dr438/
597 * testsuite/23_containers/list/capacity/29134.cc: Same.
598 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
599 * testsuite/23_containers/list/requirements/dr438/
600 constructor_1_neg.cc: Same.
601 * testsuite/23_containers/list/requirements/dr438/
602 constructor_2_neg.cc: Same.
603 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
604 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
605 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
606 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
607 * testsuite/23_containers/vector/requirements/dr438/
608 constructor_1_neg.cc: Same.
609 * testsuite/23_containers/vector/requirements/dr438/
610 constructor_2_neg.cc: Same.
611 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
612 * testsuite/25_algorithms/sort/35588.cc: Same.
613 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
614 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
615 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
616 * testsuite/ext/profile/profiler_algos.cc: Same.
617 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
618 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
619 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
620 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
621 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
623 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
625 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
626 Improve description of one such reference.
628 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
630 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
631 Standards Revision Group.
632 * doc/xml/manual/locale.xml: Ditto.
633 * doc/xml/manual/messages.xml: Ditto.
634 * doc/xml/manual/using_exceptions.xml: Ditto.
636 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
638 * include/bits/atomic_base.h: Do not include <stddef.h>.
639 (kill_dependency): Uglify ret.
641 2011-01-26 Johannes Singler <singler@kit.edu>
643 * include/parallel/numeric (inner_product, partial_sum):
644 Qualify subsequent call with __gnu_parallel instead of
645 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
646 * include/parallel/algobase.h (equal): Likewise.
647 * include/parallel/algo.h (find_first_of, search_n, merge,
648 nth_element, partial_sort, max_element, min_element): Likewise.
649 * testsuite/25_algorithms/headers/algorithm/
650 parallel_algorithm_mixed1.cc (main): Add respective test cases.
651 * testsuite/25_algorithms/headers/algorithm/
652 parallel_algorithm_mixed2.cc (main): Likewise.
653 * testsuite/26_numerics/headers/numeric/
654 parallel_numeric_mixed1.cc (main): Likewise.
655 * testsuite/26_numerics/headers/numeric/
656 parallel_numeric_mixed2.cc (main): Likewise.
658 2011-01-24 Graham Reed <greed@pobox.com>
661 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
664 2011-01-24 Johannes Singler <singler@kit.edu>
667 * include/parallel/losertree.h
668 (_LoserTree<>::__delete_min_insert):
669 Do not qualify swap with std:: for value type,
670 but include a using directive instead.
671 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
672 * include/parallel/balanced_quicksort.h (__qsb_divide):
673 Use std::iter_swap instead of std::swap.
674 (__qsb_local_sort_with_helping): Likewise.
675 * include/parallel/partition.h (__parallel_partition):
676 Likewise. (__parallel_nth_element): Likewise.
678 2011-01-24 Johannes Singler <singler@kit.edu>
681 * include/parallel/multiway_merge.h (_UnguardedIterator):
682 Remove useless "mutable" from reference declaration.
684 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
686 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
687 * include/debug/safe_sequence.h: Same.
688 * include/debug/safe_iterator.h: Same.
689 * include/std/forward_list: Same.
690 * include/std/deque: Same.
691 * include/std/list: Same.
692 * include/std/random: Same.
693 * include/std/streambuf: Same.
694 * include/std/fstream: Same.
695 * include/std/istream: Same.
696 * include/std/string: Same.
697 * include/std/ostream: Same.
698 * include/std/sstream: Same.
699 * include/ext/vstring.h: Same.
700 * include/bits/basic_ios.h: Same.
701 * include/bits/locale_classes.h: Same.
702 * include/bits/locale_facets.h: Same.
703 * include/bits/valarray_array.h: Same.
704 * include/bits/locale_facets_nonio.h: Same.
705 * include/tr1/random: Same.
707 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
709 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
711 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
713 PR libstdc++/36104 part three
714 * src/hashtable_c++0x.cc: Adjust namespace macros.
715 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
716 * config/abi/pre/gnu-versioned-namespace.ver: Update.
718 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
720 * include/ext/pb_ds/detail/resize_policy/
721 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
722 * include/ext/pb_ds/detail/pat_trie_/
723 constructors_destructor_fn_imps.hpp: Same.
724 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
725 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
726 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
728 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
729 iterations downward when testing in debug mode.
730 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
731 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
732 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
733 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
734 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
735 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
736 reduce in debug mode.
738 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
740 PR libstdc++/36104 part two
741 * include/bits/hashtable.h: Revert to non-nested macro usage.
742 * include/bits/hashtable_policy.h: Same.
744 2011-01-19 Graham Reed <greed@pobox.com>
747 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
749 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
751 * doc/xml/images/confdeps.png: Regenerate.
753 * include/std/chrono (duration): Mark copy constructor constexpr.
754 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
756 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
758 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
759 Declare defaulted per DR 1517.
760 * testsuite/util/testsuite_common_types.h
761 (constexpr_defaulted_default_constructible): Add.
762 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
764 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
766 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
768 * include/bits/stl_stack.h (stack<>::swap): Likewise.
770 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
773 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
774 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
776 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
779 * testsuite/18_support/numeric_limits/lowest.cc:
780 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
782 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
785 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
786 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
788 2011-01-16 François Dumont <francois.cppdevs@free.fr>
790 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
791 to this. Use _neg suffix.
792 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
794 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
796 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
797 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
799 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
800 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
802 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
803 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
805 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
806 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
808 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
809 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
811 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
812 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
814 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
815 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
817 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
818 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
820 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
821 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
823 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
824 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
826 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
827 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
829 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
830 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
832 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
833 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
835 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
836 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
838 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
840 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
843 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
844 * include/Makefile.in: Regenerate.
845 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
846 (install-stdHEADERS, install-bitsHEADERS): New.
847 * libsupc++/Makefile.in: Regenerate.
849 * include/bits/c++config: Update for inline namespaces.
850 * libsupc++/cxxabi-forced.h: To...
851 * libsupc++/cxxabi_forced.h: ...this.
852 * libsupc++/hash_bytes.h: Separate file.
853 * libsupc++/typeinfo: Use it.
854 * libsupc++/exception: Adjust for bits subdirectory.
855 * libsupc++/eh_aux_runtime.cc: Same.
856 * libsupc++/eh_ptr.cc: Same.
857 * libsupc++/new_op.cc: Same.
858 * libsupc++/exception_defines.h: Same.
859 * libsupc++/nested_exception.h: Same.
860 * libsupc++/eh_terminate.cc: Same.
861 * libsupc++/vec.cc: Same.
862 * libsupc++/vterminate.cc: Same.
863 * libsupc++/exception_ptr.h: Same.
864 * libsupc++/eh_personality.cc: Same.
865 * libsupc++/eh_call.cc: Same.
866 * libsupc++/new_opnt.cc: Same.
867 * libsupc++/hash_bytes.cc: Same.
868 * config/cpu/arm/cxxabi_tweaks.h: Same.
869 * config/cpu/generic/cxxabi_tweaks.h: Same.
870 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
871 * include/std/bitset: Same.
872 * include/ext/vstring.tcc: Same.
873 * include/bits/hashtable.h: Same.
874 * include/bits/functional_hash.h: Same.
875 * include/bits/hashtable_policy.h: Same.
876 * include/bits/basic_string.h: Same.
877 * include/bits/istream.tcc: Same.
878 * include/bits/ostream.tcc: Same.
879 * include/bits/algorithmfwd.h: Same.
880 * include/bits/basic_string.tcc: Same.
881 * include/bits/ostream_insert.h: Same.
882 * include/bits/fstream.tcc: Same.
883 * include/bits/functexcept.h: Same.
885 * doc/doxygen/user.cfg.in: Adjust names.
887 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
889 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
891 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
893 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
895 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
897 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
898 * testsuite/25_algorithms/is_permutation/requirements/
899 explicit_instantiation/2.cc: Likewise.
900 * testsuite/25_algorithms/is_permutation/requirements/
901 explicit_instantiation/pod.cc: Likewise.
902 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
904 2011-01-13 John Lakos <jlakos@bloomberg.net>
905 Pablo Halpern <phalpern@halpernwightsoftware.com>
906 Paolo Carlini <paolo.carlini@oracle.com>
908 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
909 * include/bits/algorithmfwd.h: Add.
911 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
914 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
916 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
918 * aclocal.m4: Regenerate.
920 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
923 * src/placeholders.cc: New.
924 * src/Makefile.am: Adjust.
925 * src/Makefile.in: Regenerate.
926 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
928 * config/abi/pre/gnu.ver: Export.
930 2011-01-05 François Dumont <francois.cppdevs@free.fr>
932 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
933 * include/src/debug.cc: Use latter
934 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
935 correctly handle before_begin iterators.
936 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
937 useless _GLIBCXX_DEBUG checks.
939 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
942 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
943 * configure: Regenerated.
945 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
948 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
951 Copyright (C) 2011 Free Software Foundation, Inc.
953 Copying and distribution of this file, with or without modification,
954 are permitted in any medium without royalty provided the copyright
955 notice and this notice are preserved.