1 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
3 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
5 2011-03-21 Jakub Jelinek <jakub@redhat.com>
7 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
8 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
10 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
13 sparc*-sun-solaris2.10 && lp64.
15 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
17 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
18 * src/Makefile.in: Regenerate.
19 * libsupc++/Makefile.am: Add nested_exception.cc.
20 * libsupc++/Makefile.in: Regenerate.
21 * src/system_error.cc: Add ctor and dtor definitions for error_category.
22 * src/functional.cc: New. Add dtor definition for bad_function_call.
23 * src/stdexcept.cc: Add dtor definitions for domain_error,
24 invalid_argument, length_error, out_of_range, range_error,
25 overflow_error, underflow_error.
26 * src/future.cc: Add dtor definition for __future_base::_Result_base.
27 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
28 * include/std/system_error: Adjust.
29 * include/std/stdexcept: Same.
30 * include/std/future: Same.
31 * include/std/functional: Same.
32 * include/bits/shared_ptr_base.h: Same.
33 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
34 * libsupc++/nested_exception.h: Adjust.
35 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
36 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
37 * config/abi/pre/gnu.ver: Add new exports.
39 * src/future.cc: Guard definitions.
40 * libsupc++/nested_exception.cc: Same.
42 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
43 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
44 Add base destructors for stdexcept classes.
46 * testsuite/19_diagnostics/stdexcept.cc: New.
48 2011-03-15 Doug Kwan <dougkwan@google.com>
51 * include/Makefile.am (install-freestanding-headers): Install
53 * include/Makefile.in: Regenerate.
55 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
57 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
59 * doc/html/manual/abi.html: Regenerate.
61 2011-03-14 Andrey Zholos <aaz@althenia.net>
64 * include/bits/random.h (geometric_distribution): Correct formula
65 in comment, per C++0x.
66 (geometric_distribution<>::param_type::param_type(double)): Fix check.
67 (geometric_distribution<>::param_type::_M_initialize):
69 * include/bits/random.tcc (geometric_distribution<>::operator()):
71 (binomial_distribution<>::operator()): Likewise.
73 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
75 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
77 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
78 Chris Jefferson <chris@bubblescope.net>
79 Paolo Carlini <paolo.carlini@oracle.com>
81 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
83 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
85 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
87 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
89 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
91 2011-03-09 Chris Jefferson <chris@bubblescope.net>
94 * include/bits/stl_algo.h (__merge_backward): Rename to
95 __move_merge_backward and change to always move rather than copy.
96 (__move_merge): New function similar to std::merge except values
97 are moved instead of copied.
98 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
99 and __merge_backward to __move_merge and __move_merge_backward.
101 2011-03-07 Jason Merrill <jason@redhat.com>
103 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
106 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
107 Matthias Klose <doko@ubuntu.com>
108 Jonathan Wakely <redi@gcc.gnu.org>
111 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
112 * configure.ac: Use it.
113 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
114 * configure: Regenerate.
115 * doc/Makefile.in: Regenerate.
117 2011-03-04 Benjamin Kosnik <bkoz@chula>
119 * src/Makefile.am (inst_sources): Make source instantion files
121 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
122 * src/Makefile.in: Regenerate.
123 * src/valarray-inst.cc: Move to..
124 * src/valarray.cc: ...this.
125 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
126 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
127 * configure: Regenerate.
128 * include/Makefile.am (stamp-extern-template): Add.
129 * include/Makefile.in: Regenerate.
131 * doc/xml/manual/configure.xml: Document --enable-extern-template.
133 * include/bits/locale_classes.tcc: Adjust comment.
134 * include/bits/locale_facets.tcc: Same.
135 * include/bits/basic_ios.tcc: Same.
136 * include/bits/istream.tcc: Same.
137 * include/bits/codecvt.h: Same.
138 * include/bits/ostream.tcc: Same.
139 * include/bits/sstream.tcc: Same.
140 * include/bits/c++config: Same.
141 * include/bits/basic_string.tcc: Same.
142 * include/bits/ostream_insert.h: Same.
143 * include/bits/locale_facets_nonio.tcc: Same.
144 * include/bits/streambuf.tcc: Same.
145 * include/bits/allocator.h: Same.
146 * include/bits/fstream.tcc: Same.
148 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
150 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
152 * testsuite/Makefile.am: Make clean fixups.
153 * testsuite/Makefile.in: Regenerate.
155 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
157 * include/std/ratio (ratio_less): Add comments.
159 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
162 * include/std/ratio (ratio_add): Avoid denominator overflow.
163 * testsuite/20_util/ratio/operations/47913.cc: New.
165 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
167 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
168 * testsuite/20_util/hash/quality.cc: Same.
170 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
173 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
175 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
176 xputn): Use the latter.
177 * include/bits/streambuf_iterator.h: Likewise.
178 * src/strstream.cc: Likewise.
179 * src/streambuf.cc: Likewise.
180 * src/compatibility.cc: Likewise.
181 * src/istream.cc: Likewise.
182 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
184 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
185 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
186 seekpos, _M_sync): Use setg, setp, and _M_pbump.
187 * config/abi/pre/gnu.ver: Tweak.
189 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
191 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
193 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
196 * include/std/ratio (ratio_less): Reimplement to never overflow.
197 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
199 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
201 * testsuite/18_support/type_info/fundamental.cc: New.
203 * testsuite/Makefile.am: Make clean fixups.
204 * testsuite/Makefile.in: Regenerate.
206 2011-02-19 François Dumont <francois.cppdevs@free.fr>
208 * include/debug/string (basic_string::insert): Add iterator check and
209 pass normal iterator to normal insert.
210 * include/debug/macros.h (__glibcxx_check_heap,
211 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
214 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
217 * testsuite/ext/vstring/hash/char/1.cc: Fix.
218 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
220 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
222 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
223 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
224 (basic_regex::operator=(basic_regex&&)): Likewise.
225 (basic_regex::assign(basic_regex&&)): Likewise.
226 (operator==(sub_match,...)): Implement DR 1181.
227 (match_results::match_results(match_results&&)): Define.
228 (match_results::operator=(const match_results&)): Fix parameter type.
229 (match_results::operator=(match_results&&)): Define.
231 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
234 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
235 line anchors as metacharacters.
236 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
238 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
241 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
242 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
243 hash<__gnu_cxx::__u32vstring>): Add.
244 * testsuite/ext/vstring/hash/char/1.cc: New.
245 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
247 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
249 * include/bits/regex.h (match_results::format): Use char_traits.
251 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
253 * include/std/atomic: Remove atomic_address, uplift to N3225.
254 * include/bits/atomic_0.h: Same.
255 * include/bits/atomic_2.h: Same.
256 * include/bits/atomic_base.h: Same.
257 * testsuite/29_atomics/atomic_address/*: Delete.
259 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
261 * include/bits/regex.h (sub_match::sub_match): Add.
262 (match_results::ready): Add.
263 (match_results::empty): Adjust.
264 (match_results::length): Add missing dereference.
265 (match_results::operator[],prefix,suffix): Add debug mode checks.
266 (match_results::cend): Re-use end().
267 (match_results::format): Adjust signatures.
268 (operator==(match_results,match_results)): Implement.
269 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
270 * include/bits/regex_constants.h (syntax_option_type): Likewise.
271 * include/bits/regex_grep_matcher.h: Fix comment typo.
272 (_SpecializedResults::_SpecializedResults): Simplify.
273 * include/bits/regex_cursor.h: Fix comment typo.
274 * include/bits/regex_nfa.h: Likewise.
275 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
276 Fix error code, remove xfail.
277 * testsuite/28_regex/basic_regex/ctors/extended/
278 string_range_01_02_03.cc: Likewise.
280 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
282 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
283 * include/bits/regex_nfa.h: Remove unnecessary base classes.
285 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
287 * configure: Regenerate.
289 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
292 * include/ext/algorithm (is_heap): In C++0x mode import from
294 * testsuite/ext/is_heap/47709.cc: New.
296 2011-02-12 Jakub Jelinek <jakub@redhat.com>
297 Jonathan Wakely <jwakely.gcc@gmail.com>
300 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
301 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
303 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
305 * include/tr1/cmath (fabs): Define.
306 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
309 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
311 * testsuite/tr1/headers/c++200x/complex.cc: New.
313 2011-02-11 Johannes Singler <singler@kit.edu>
316 * include/parallel/losertree.h
317 (_LoserTreeUnguarded<>::__delete_min_insert):
318 Add missing "using std::swap;", as for other variants.
320 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
322 * src/Makefile.am (sources): Add regex.cc.
323 * src/Makefile.in: Regenerate.
325 * include/bits/regex_error.h (error_type): Use constexpr.
326 (regex_error): Move ctor and dtor out of line.
328 * testsuite/28_regex/03_requirements: To...
329 * testsuite/28_regex/requirements: ... this.
330 * testsuite/28_regex/04_header: To...
331 * testsuite/28_regex/headers: ... this.
332 * testsuite/28_regex/05_constants: To...
333 * testsuite/28_regex/constants: ... this.
334 * testsuite/28_regex/06_exception_type: To...
335 * testsuite/28_regex/regex_error: ... this.
336 * testsuite/28_regex/07_traits: To...
337 * testsuite/28_regex/traits: ... this.
338 * testsuite/28_regex/08_basic_regex: To...
339 * testsuite/28_regex/basic_regex: ... this.
340 * testsuite/28_regex/09_sub_match: To...
341 * testsuite/28_regex/sub_match: ... this.
342 * testsuite/28_regex/10_match_results: To...
343 * testsuite/28_regex/match_results: ... this.
344 * testsuite/28_regex/11_algorithms: To...
345 * testsuite/28_regex/algorithms: ... this.
346 * testsuite/28_regex/12_iterators: To...
347 * testsuite/28_regex/iterators: ... this.
349 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
352 * include/bits/c++config: Do not use alternative token.
353 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
355 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
357 * src/future.cc (future_error_category::message): Handle no_state.
359 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
361 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
362 not test in C++0x mode.
363 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
364 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
367 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
369 * doc/xml/manual/status_cxx200x.xml: Update.
370 * doc/html/*: Regenerate.
372 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
374 * doc/xml/manual/debug.xml: Improve data race docs.
376 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
379 * include/debug/map.h (map): Remove unnecessary using-declaration.
380 * include/debug/multimap.h (multimap): Likewise.
381 * include/profile/map.h (map): Likewise.
382 * include/profile/multimap.h (multimap): Likewise.
384 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
387 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
389 * libsupc++/guard_error.cc: ... new file.
390 * libsupc++/Makefile.am: Update.
391 * libsupc++/Makefile.in: Regenerate.
393 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
395 * include/std/future (packaged_task::operator bool): Rename to...
396 (packaged_task::valid): ...this.
397 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
398 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
399 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
400 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
401 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
402 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
403 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
404 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
405 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
406 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
407 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
409 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
411 * doc/xml/manual/io.xml: Fix typo.
412 * doc/html/manual/streambufs.html: Likewise.
414 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
416 * config/abi/pre/gnu.ver: Fix.
418 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
420 * doc/xml/manual/appendix_porting.xml: Add doc section.
421 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
422 * doc/xml/manual/documentation_hacking.xml: ...here.
424 * doc/xml/manual/debug_mode.xml: Adjust.
425 * doc/xml/manual/prerequisites.xml: Adjust.
426 * doc/Makefile.am (xml_sources): Add dot files,
427 documentation_hacking.xml.
428 * doc/Makefile.in: Regenerate.
430 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
431 * doc/xml/images/confdeps.pdf: Add.
433 * doc/html/*: Regenerate.
435 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
437 * doc/xml/gnu/fdl-1.2.xml: Remove.
438 * doc/xml/gnu/gpl-2.0.xml: Remove.
439 * doc/Makefile.am: Update.
440 * doc/Makefile.in: Regenerate.
442 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
445 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
446 iterator)): Add back in C++03 mode.
447 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
448 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
450 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
452 PR libstdc++/47560 try two
453 * config/os/hpux/os_defines.h: Guard for C++.
455 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
457 * doc/xml/faq.xml: Adjust link to bug database.
458 Remove old item on broken header files.
460 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
462 * include/bits/regex_error.h (__throw_regex_error): Not inline.
463 * src/functexcept.cc: Add definition.
464 * config/abi/pre/gnu.ver: Export.
466 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
468 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
469 * configure: Regenerate.
471 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
474 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
475 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
476 avoid name conflicts.
478 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
481 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
483 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
485 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
486 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
487 (COMPACT_LATEX): Enable.
489 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
490 * include/profile/impl/profiler_hash_func.h: Same.
491 * include/bits/hashtable.h: Same.
492 * include/backward/auto_ptr.h: Same.
493 * include/backward/strstream: Same.
494 * include/backward/backward_warning.h: Same.
495 * include/backward/binders.h: Same.
497 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
499 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
500 Adjust link to GDB manual.
502 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
504 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
505 _GLIBCXX_USE_DEPRECATED.
506 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
507 * doc/xml/manual/using.xml: Same.
508 * include/std/memory: Same.
509 * include/std/streambuf: Same.
510 * include/bits/shared_ptr.h: Same.
511 * include/bits/unique_ptr.h: Same.
512 * include/bits/shared_ptr_base.h: Same.
513 * include/bits/stl_function.h: Same.
514 * include/tr1/shared_ptr.h: Same.
515 * include/backward/auto_ptr.h: Same.
516 * include/backward/binders.h: Same.
518 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
520 * doc/html/ext/lwg-active.html: Update to Revision D73.
521 * doc/html/ext/lwg-closed.html: Likewise.
522 * doc/html/ext/lwg-defects.html: Likewise.
523 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
525 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
527 PR libstdc++/36104 part four
528 * include/bits/c++config (_GLIBCXX_STD): Remove.
529 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
530 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
531 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
532 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
533 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
534 _GLIBCXX_INLINE_PROFILE): Remove.
535 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
536 (_GLIBCXX_END_NAMESPACE): Remove.
537 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
538 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
539 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
540 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
541 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
542 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
543 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
544 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
545 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
546 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
547 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
548 * include/*: Use new macros for namespace scope.
552 * src/Makefile.am (sources): Remove debug_list.cc, add
553 compatibility-debug_list-2.cc.
554 (parallel_sources): Remove parallel_list.cc, add
555 compatibility-parallel_list-2.cc.
556 (compatibility-parallel_list-2.[o,lo]): New rule.
557 * src/Makefile.in: Regenerate.
558 * src/debug_list.cc: Remove.
559 * src/parallel_list.cc: Remove.
560 * src/compatibility-list-2.cc: New.
561 * src/compatibility-debug_list-2.cc: New.
562 * src/compatibility-parallel_list-2.cc: New.
564 * doc/doxygen/user.cfg.in: Adjust macros.
566 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
567 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
568 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
569 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
570 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
571 * testsuite/20_util/forward/c_neg.cc: Same.
572 * testsuite/20_util/forward/f_neg.cc: Same.
573 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
574 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
575 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
576 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
577 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
578 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
579 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
580 * testsuite/23_containers/deque/requirements/dr438/
581 constructor_1_neg.cc: Same.
582 * testsuite/23_containers/deque/requirements/dr438/
583 constructor_2_neg.cc: Same.
584 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
585 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
586 * testsuite/23_containers/forward_list/requirements/dr438/
588 * testsuite/23_containers/forward_list/requirements/dr438/
589 constructor_1_neg.cc: Same.
590 * testsuite/23_containers/forward_list/requirements/dr438/
591 constructor_2_neg.cc: Same.
592 * testsuite/23_containers/forward_list/requirements/dr438/
594 * testsuite/23_containers/list/capacity/29134.cc: Same.
595 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
596 * testsuite/23_containers/list/requirements/dr438/
597 constructor_1_neg.cc: Same.
598 * testsuite/23_containers/list/requirements/dr438/
599 constructor_2_neg.cc: Same.
600 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
601 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
602 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
603 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
604 * testsuite/23_containers/vector/requirements/dr438/
605 constructor_1_neg.cc: Same.
606 * testsuite/23_containers/vector/requirements/dr438/
607 constructor_2_neg.cc: Same.
608 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
609 * testsuite/25_algorithms/sort/35588.cc: Same.
610 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
611 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
612 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
613 * testsuite/ext/profile/profiler_algos.cc: Same.
614 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
615 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
616 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
617 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
618 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
620 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
622 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
623 Improve description of one such reference.
625 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
627 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
628 Standards Revision Group.
629 * doc/xml/manual/locale.xml: Ditto.
630 * doc/xml/manual/messages.xml: Ditto.
631 * doc/xml/manual/using_exceptions.xml: Ditto.
633 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
635 * include/bits/atomic_base.h: Do not include <stddef.h>.
636 (kill_dependency): Uglify ret.
638 2011-01-26 Johannes Singler <singler@kit.edu>
640 * include/parallel/numeric (inner_product, partial_sum):
641 Qualify subsequent call with __gnu_parallel instead of
642 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
643 * include/parallel/algobase.h (equal): Likewise.
644 * include/parallel/algo.h (find_first_of, search_n, merge,
645 nth_element, partial_sort, max_element, min_element): Likewise.
646 * testsuite/25_algorithms/headers/algorithm/
647 parallel_algorithm_mixed1.cc (main): Add respective test cases.
648 * testsuite/25_algorithms/headers/algorithm/
649 parallel_algorithm_mixed2.cc (main): Likewise.
650 * testsuite/26_numerics/headers/numeric/
651 parallel_numeric_mixed1.cc (main): Likewise.
652 * testsuite/26_numerics/headers/numeric/
653 parallel_numeric_mixed2.cc (main): Likewise.
655 2011-01-24 Graham Reed <greed@pobox.com>
658 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
661 2011-01-24 Johannes Singler <singler@kit.edu>
664 * include/parallel/losertree.h
665 (_LoserTree<>::__delete_min_insert):
666 Do not qualify swap with std:: for value type,
667 but include a using directive instead.
668 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
669 * include/parallel/balanced_quicksort.h (__qsb_divide):
670 Use std::iter_swap instead of std::swap.
671 (__qsb_local_sort_with_helping): Likewise.
672 * include/parallel/partition.h (__parallel_partition):
673 Likewise. (__parallel_nth_element): Likewise.
675 2011-01-24 Johannes Singler <singler@kit.edu>
678 * include/parallel/multiway_merge.h (_UnguardedIterator):
679 Remove useless "mutable" from reference declaration.
681 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
683 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
684 * include/debug/safe_sequence.h: Same.
685 * include/debug/safe_iterator.h: Same.
686 * include/std/forward_list: Same.
687 * include/std/deque: Same.
688 * include/std/list: Same.
689 * include/std/random: Same.
690 * include/std/streambuf: Same.
691 * include/std/fstream: Same.
692 * include/std/istream: Same.
693 * include/std/string: Same.
694 * include/std/ostream: Same.
695 * include/std/sstream: Same.
696 * include/ext/vstring.h: Same.
697 * include/bits/basic_ios.h: Same.
698 * include/bits/locale_classes.h: Same.
699 * include/bits/locale_facets.h: Same.
700 * include/bits/valarray_array.h: Same.
701 * include/bits/locale_facets_nonio.h: Same.
702 * include/tr1/random: Same.
704 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
706 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
708 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
710 PR libstdc++/36104 part three
711 * src/hashtable_c++0x.cc: Adjust namespace macros.
712 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
713 * config/abi/pre/gnu-versioned-namespace.ver: Update.
715 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
717 * include/ext/pb_ds/detail/resize_policy/
718 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
719 * include/ext/pb_ds/detail/pat_trie_/
720 constructors_destructor_fn_imps.hpp: Same.
721 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
722 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
723 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
725 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
726 iterations downward when testing in debug mode.
727 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
728 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
729 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
730 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
731 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
732 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
733 reduce in debug mode.
735 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
737 PR libstdc++/36104 part two
738 * include/bits/hashtable.h: Revert to non-nested macro usage.
739 * include/bits/hashtable_policy.h: Same.
741 2011-01-19 Graham Reed <greed@pobox.com>
744 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
746 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
748 * doc/xml/images/confdeps.png: Regenerate.
750 * include/std/chrono (duration): Mark copy constructor constexpr.
751 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
753 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
755 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
756 Declare defaulted per DR 1517.
757 * testsuite/util/testsuite_common_types.h
758 (constexpr_defaulted_default_constructible): Add.
759 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
761 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
763 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
765 * include/bits/stl_stack.h (stack<>::swap): Likewise.
767 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
770 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
771 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
773 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
776 * testsuite/18_support/numeric_limits/lowest.cc:
777 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
779 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
782 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
783 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
785 2011-01-16 François Dumont <francois.cppdevs@free.fr>
787 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
788 to this. Use _neg suffix.
789 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
791 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
793 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
794 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
796 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
797 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
799 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
800 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
802 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
803 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
805 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
806 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
808 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
809 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
811 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
812 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
814 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
815 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
817 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
818 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
820 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
821 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
823 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
824 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
826 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
827 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
829 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
830 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
832 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
833 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
835 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
837 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
840 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
841 * include/Makefile.in: Regenerate.
842 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
843 (install-stdHEADERS, install-bitsHEADERS): New.
844 * libsupc++/Makefile.in: Regenerate.
846 * include/bits/c++config: Update for inline namespaces.
847 * libsupc++/cxxabi-forced.h: To...
848 * libsupc++/cxxabi_forced.h: ...this.
849 * libsupc++/hash_bytes.h: Separate file.
850 * libsupc++/typeinfo: Use it.
851 * libsupc++/exception: Adjust for bits subdirectory.
852 * libsupc++/eh_aux_runtime.cc: Same.
853 * libsupc++/eh_ptr.cc: Same.
854 * libsupc++/new_op.cc: Same.
855 * libsupc++/exception_defines.h: Same.
856 * libsupc++/nested_exception.h: Same.
857 * libsupc++/eh_terminate.cc: Same.
858 * libsupc++/vec.cc: Same.
859 * libsupc++/vterminate.cc: Same.
860 * libsupc++/exception_ptr.h: Same.
861 * libsupc++/eh_personality.cc: Same.
862 * libsupc++/eh_call.cc: Same.
863 * libsupc++/new_opnt.cc: Same.
864 * libsupc++/hash_bytes.cc: Same.
865 * config/cpu/arm/cxxabi_tweaks.h: Same.
866 * config/cpu/generic/cxxabi_tweaks.h: Same.
867 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
868 * include/std/bitset: Same.
869 * include/ext/vstring.tcc: Same.
870 * include/bits/hashtable.h: Same.
871 * include/bits/functional_hash.h: Same.
872 * include/bits/hashtable_policy.h: Same.
873 * include/bits/basic_string.h: Same.
874 * include/bits/istream.tcc: Same.
875 * include/bits/ostream.tcc: Same.
876 * include/bits/algorithmfwd.h: Same.
877 * include/bits/basic_string.tcc: Same.
878 * include/bits/ostream_insert.h: Same.
879 * include/bits/fstream.tcc: Same.
880 * include/bits/functexcept.h: Same.
882 * doc/doxygen/user.cfg.in: Adjust names.
884 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
886 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
888 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
890 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
892 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
894 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
895 * testsuite/25_algorithms/is_permutation/requirements/
896 explicit_instantiation/2.cc: Likewise.
897 * testsuite/25_algorithms/is_permutation/requirements/
898 explicit_instantiation/pod.cc: Likewise.
899 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
901 2011-01-13 John Lakos <jlakos@bloomberg.net>
902 Pablo Halpern <phalpern@halpernwightsoftware.com>
903 Paolo Carlini <paolo.carlini@oracle.com>
905 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
906 * include/bits/algorithmfwd.h: Add.
908 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
911 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
913 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
915 * aclocal.m4: Regenerate.
917 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
920 * src/placeholders.cc: New.
921 * src/Makefile.am: Adjust.
922 * src/Makefile.in: Regenerate.
923 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
925 * config/abi/pre/gnu.ver: Export.
927 2011-01-05 François Dumont <francois.cppdevs@free.fr>
929 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
930 * include/src/debug.cc: Use latter
931 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
932 correctly handle before_begin iterators.
933 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
934 useless _GLIBCXX_DEBUG checks.
936 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
939 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
940 * configure: Regenerated.
942 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
945 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
948 Copyright (C) 2011 Free Software Foundation, Inc.
950 Copying and distribution of this file, with or without modification,
951 are permitted in any medium without royalty provided the copyright
952 notice and this notice are preserved.