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