1 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
3 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
4 to check_v3_target_cmath.
5 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
7 * testsuite/26_numerics/random/binomial_distribution/
8 operators/values.cc: Adjust.
10 2011-03-18 Diego Novillo <dnovillo@google.com>
12 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
14 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
15 mixed-mode-arith_neg.cc
17 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
19 * testsuite/util/testsuite_random.h: New.
20 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
21 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
22 * testsuite/26_numerics/random/bernoulli_distribution/
23 operators/values.cc: New.
24 * testsuite/26_numerics/random/binomial_distribution/
25 operators/values.cc: Likewise.
26 * testsuite/26_numerics/random/geometric_distribution/
27 operators/values.cc: Likewise.
29 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
31 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
32 * testsuite/19_diagnostics/stdexcept.cc: New.
34 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
36 * include/std/thread: Revert.
37 * src/thread.cc: Same.
38 * config/abi/pre/gnu.ver: Same.
40 2011-03-15 Doug Kwan <dougkwan@google.com>
43 * include/Makefile.am (install-freestanding-headers): Install
45 * include/Makefile.in: Regenerate.
47 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
49 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
50 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
52 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
55 * src/future.cc: Guard definitions.
56 * libsupc++/nested_exception.cc: Same.
58 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
60 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
61 * src/Makefile.in: Regenerate.
62 * libsupc++/Makefile.am: Add nested_exception.cc.
63 * libsupc++/Makefile.in: Regenerate.
64 * src/system_error.cc: Add ctor and dtor definitions for error_category.
65 * src/functional.cc: New. Add dtor definition for bad_function_call.
66 * src/stdexcept.cc: Add dtor definitions for domain_error,
67 invalid_argument, length_error, out_of_range, range_error,
68 overflow_error, underflow_error.
69 * src/future.cc: Add dtor definition for __future_base::_Result_base.
70 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
71 * src/thread.cc: Add dtor for thread::_Impl_base.
72 * include/std/system_error: Adjust.
73 * include/std/stdexcept: Same.
74 * include/std/future: Same.
75 * include/std/functional: Same.
76 * include/std/thread: Same.
77 * include/bits/shared_ptr_base.h: Same.
78 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
79 * libsupc++/nested_exception.h: Adjust.
80 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
81 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
82 * config/abi/pre/gnu.ver: Add new exports.
84 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
86 * include/bits/regex_compiler.h: Nest namespace versioning.
87 * include/bits/regex_grep_matcher.tcc: Same.
88 * include/bits/regex_grep_matcher.h: Same.
89 * include/bits/regex_cursor.h: Same.
90 * include/bits/regex_nfa.h: Same.
91 * include/bits/regex_nfa.tcc: Same.
93 * include/bits/regex_grep_matcher.h: Version forward declarations.
94 * include/bits/c++config: Add namespace association for __regex.
95 * include/bits/regex.h: Make sub_match consistent.
97 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
99 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
101 * doc/html/manual/abi.html: Regenerate.
103 2011-03-14 Tom Tromey <tromey@redhat.com>
105 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
106 Try to import `gdb.printing' module.
107 (UniquePointerPrinter.__init__): Add 'typename' argument.
108 (StdSlistPrinter.__init__): Likewise.
109 (StdSlistIteratorPrinter.__init__): Likewise.
110 (StdVectorIteratorPrinter.__init__): Likewise.
111 (StdRbtreeIteratorPrinter.__init__): Likewise.
112 (StdDebugIteratorPrinter.__init__): Likewise.
113 (StdDequeIteratorPrinter.__init__): Likewise.
114 (StdStringPrinter.__init__): Likewise.
115 (RxPrinter, Printer): New class.
116 (libstdcxx_printer): New global.
117 (register_libstdcxx_printers): Rewrite.
118 (build_libstdcxx_dictionary): Rewrite.
119 (pretty_printers_dict): Remove.
121 2011-03-14 Andrey Zholos <aaz@althenia.net>
124 * include/bits/random.h (geometric_distribution): Correct formula
125 in comment, per C++0x.
126 (geometric_distribution<>::param_type::param_type(double)): Fix check.
127 (geometric_distribution<>::param_type::_M_initialize):
129 * include/bits/random.tcc (geometric_distribution<>::operator()):
131 (binomial_distribution<>::operator()): Likewise.
133 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
135 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
137 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
138 Chris Jefferson <chris@bubblescope.net>
139 Paolo Carlini <paolo.carlini@oracle.com>
141 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
143 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
145 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
147 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
149 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
151 2011-03-09 Chris Jefferson <chris@bubblescope.net>
154 * include/bits/stl_algo.h (__merge_backward): Rename to
155 __move_merge_backward and change to always move rather than copy.
156 (__move_merge): New function similar to std::merge except values
157 are moved instead of copied.
158 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
159 and __merge_backward to __move_merge and __move_merge_backward.
161 2011-03-07 Jason Merrill <jason@redhat.com>
163 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
166 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
167 Matthias Klose <doko@ubuntu.com>
168 Jonathan Wakely <redi@gcc.gnu.org>
171 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
172 * configure.ac: Use it.
173 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
174 * configure: Regenerate.
175 * doc/Makefile.in: Regenerate.
177 2011-03-04 Benjamin Kosnik <bkoz@chula>
179 * src/Makefile.am (inst_sources): Make source instantion files
181 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
182 * src/Makefile.in: Regenerate.
183 * src/valarray-inst.cc: Move to..
184 * src/valarray.cc: ...this.
185 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
186 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
187 * configure: Regenerate.
188 * include/Makefile.am (stamp-extern-template): Add.
189 * include/Makefile.in: Regenerate.
191 * doc/xml/manual/configure.xml: Document --enable-extern-template.
193 * include/bits/locale_classes.tcc: Adjust comment.
194 * include/bits/locale_facets.tcc: Same.
195 * include/bits/basic_ios.tcc: Same.
196 * include/bits/istream.tcc: Same.
197 * include/bits/codecvt.h: Same.
198 * include/bits/ostream.tcc: Same.
199 * include/bits/sstream.tcc: Same.
200 * include/bits/c++config: Same.
201 * include/bits/basic_string.tcc: Same.
202 * include/bits/ostream_insert.h: Same.
203 * include/bits/locale_facets_nonio.tcc: Same.
204 * include/bits/streambuf.tcc: Same.
205 * include/bits/allocator.h: Same.
206 * include/bits/fstream.tcc: Same.
208 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
210 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
212 * testsuite/Makefile.am: Make clean fixups.
213 * testsuite/Makefile.in: Regenerate.
215 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
217 * include/std/ratio (ratio_less): Add comments.
219 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
222 * include/std/ratio (ratio_add): Avoid denominator overflow.
223 * testsuite/20_util/ratio/operations/47913.cc: New.
225 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
227 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
228 * testsuite/20_util/hash/quality.cc: Same.
230 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
233 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
235 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
236 xputn): Use the latter.
237 * include/bits/streambuf_iterator.h: Likewise.
238 * src/strstream.cc: Likewise.
239 * src/streambuf.cc: Likewise.
240 * src/compatibility.cc: Likewise.
241 * src/istream.cc: Likewise.
242 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
244 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
245 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
246 seekpos, _M_sync): Use setg, setp, and _M_pbump.
247 * config/abi/pre/gnu.ver: Tweak.
249 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
251 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
253 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
256 * include/std/ratio (ratio_less): Reimplement to never overflow.
257 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
259 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
261 * testsuite/18_support/type_info/fundamental.cc: New.
263 * testsuite/Makefile.am: Make clean fixups.
264 * testsuite/Makefile.in: Regenerate.
266 2011-02-19 François Dumont <francois.cppdevs@free.fr>
268 * include/debug/string (basic_string::insert): Add iterator check and
269 pass normal iterator to normal insert.
270 * include/debug/macros.h (__glibcxx_check_heap,
271 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
274 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
277 * testsuite/ext/vstring/hash/char/1.cc: Fix.
278 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
280 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
282 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
283 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
284 (basic_regex::operator=(basic_regex&&)): Likewise.
285 (basic_regex::assign(basic_regex&&)): Likewise.
286 (operator==(sub_match,...)): Implement DR 1181.
287 (match_results::match_results(match_results&&)): Define.
288 (match_results::operator=(const match_results&)): Fix parameter type.
289 (match_results::operator=(match_results&&)): Define.
291 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
294 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
295 line anchors as metacharacters.
296 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
298 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
301 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
302 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
303 hash<__gnu_cxx::__u32vstring>): Add.
304 * testsuite/ext/vstring/hash/char/1.cc: New.
305 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
307 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
309 * include/bits/regex.h (match_results::format): Use char_traits.
311 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
313 * include/std/atomic: Remove atomic_address, uplift to N3225.
314 * include/bits/atomic_0.h: Same.
315 * include/bits/atomic_2.h: Same.
316 * include/bits/atomic_base.h: Same.
317 * testsuite/29_atomics/atomic_address/*: Delete.
319 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
321 * include/bits/regex.h (sub_match::sub_match): Add.
322 (match_results::ready): Add.
323 (match_results::empty): Adjust.
324 (match_results::length): Add missing dereference.
325 (match_results::operator[],prefix,suffix): Add debug mode checks.
326 (match_results::cend): Re-use end().
327 (match_results::format): Adjust signatures.
328 (operator==(match_results,match_results)): Implement.
329 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
330 * include/bits/regex_constants.h (syntax_option_type): Likewise.
331 * include/bits/regex_grep_matcher.h: Fix comment typo.
332 (_SpecializedResults::_SpecializedResults): Simplify.
333 * include/bits/regex_cursor.h: Fix comment typo.
334 * include/bits/regex_nfa.h: Likewise.
335 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
336 Fix error code, remove xfail.
337 * testsuite/28_regex/basic_regex/ctors/extended/
338 string_range_01_02_03.cc: Likewise.
340 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
342 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
343 * include/bits/regex_nfa.h: Remove unnecessary base classes.
345 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
347 * configure: Regenerate.
349 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
352 * include/ext/algorithm (is_heap): In C++0x mode import from
354 * testsuite/ext/is_heap/47709.cc: New.
356 2011-02-12 Jakub Jelinek <jakub@redhat.com>
357 Jonathan Wakely <jwakely.gcc@gmail.com>
360 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
361 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
363 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
365 * include/tr1/cmath (fabs): Define.
366 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
369 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
371 * testsuite/tr1/headers/c++200x/complex.cc: New.
373 2011-02-11 Johannes Singler <singler@kit.edu>
376 * include/parallel/losertree.h
377 (_LoserTreeUnguarded<>::__delete_min_insert):
378 Add missing "using std::swap;", as for other variants.
380 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
382 * src/Makefile.am (sources): Add regex.cc.
383 * src/Makefile.in: Regenerate.
385 * include/bits/regex_error.h (error_type): Use constexpr.
386 (regex_error): Move ctor and dtor out of line.
388 * testsuite/28_regex/03_requirements: To...
389 * testsuite/28_regex/requirements: ... this.
390 * testsuite/28_regex/04_header: To...
391 * testsuite/28_regex/headers: ... this.
392 * testsuite/28_regex/05_constants: To...
393 * testsuite/28_regex/constants: ... this.
394 * testsuite/28_regex/06_exception_type: To...
395 * testsuite/28_regex/regex_error: ... this.
396 * testsuite/28_regex/07_traits: To...
397 * testsuite/28_regex/traits: ... this.
398 * testsuite/28_regex/08_basic_regex: To...
399 * testsuite/28_regex/basic_regex: ... this.
400 * testsuite/28_regex/09_sub_match: To...
401 * testsuite/28_regex/sub_match: ... this.
402 * testsuite/28_regex/10_match_results: To...
403 * testsuite/28_regex/match_results: ... this.
404 * testsuite/28_regex/11_algorithms: To...
405 * testsuite/28_regex/algorithms: ... this.
406 * testsuite/28_regex/12_iterators: To...
407 * testsuite/28_regex/iterators: ... this.
409 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
412 * include/bits/c++config: Do not use alternative token.
413 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
415 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
417 * src/future.cc (future_error_category::message): Handle no_state.
419 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
421 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
422 not test in C++0x mode.
423 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
424 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
427 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
429 * doc/xml/manual/status_cxx200x.xml: Update.
430 * doc/html/*: Regenerate.
432 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
434 * doc/xml/manual/debug.xml: Improve data race docs.
436 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
439 * include/debug/map.h (map): Remove unnecessary using-declaration.
440 * include/debug/multimap.h (multimap): Likewise.
441 * include/profile/map.h (map): Likewise.
442 * include/profile/multimap.h (multimap): Likewise.
444 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
447 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
449 * libsupc++/guard_error.cc: ... new file.
450 * libsupc++/Makefile.am: Update.
451 * libsupc++/Makefile.in: Regenerate.
453 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
455 * include/std/future (packaged_task::operator bool): Rename to...
456 (packaged_task::valid): ...this.
457 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
458 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
459 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
460 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
461 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
462 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
463 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
464 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
465 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
466 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
467 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
469 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
471 * doc/xml/manual/io.xml: Fix typo.
472 * doc/html/manual/streambufs.html: Likewise.
474 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
476 * config/abi/pre/gnu.ver: Fix.
478 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
480 * doc/xml/manual/appendix_porting.xml: Add doc section.
481 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
482 * doc/xml/manual/documentation_hacking.xml: ...here.
484 * doc/xml/manual/debug_mode.xml: Adjust.
485 * doc/xml/manual/prerequisites.xml: Adjust.
486 * doc/Makefile.am (xml_sources): Add dot files,
487 documentation_hacking.xml.
488 * doc/Makefile.in: Regenerate.
490 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
491 * doc/xml/images/confdeps.pdf: Add.
493 * doc/html/*: Regenerate.
495 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
497 * doc/xml/gnu/fdl-1.2.xml: Remove.
498 * doc/xml/gnu/gpl-2.0.xml: Remove.
499 * doc/Makefile.am: Update.
500 * doc/Makefile.in: Regenerate.
502 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
505 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
506 iterator)): Add back in C++03 mode.
507 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
508 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
510 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
512 PR libstdc++/47560 try two
513 * config/os/hpux/os_defines.h: Guard for C++.
515 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
517 * doc/xml/faq.xml: Adjust link to bug database.
518 Remove old item on broken header files.
520 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
522 * include/bits/regex_error.h (__throw_regex_error): Not inline.
523 * src/functexcept.cc: Add definition.
524 * config/abi/pre/gnu.ver: Export.
526 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
528 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
529 * configure: Regenerate.
531 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
534 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
535 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
536 avoid name conflicts.
538 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
541 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
543 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
545 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
546 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
547 (COMPACT_LATEX): Enable.
549 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
550 * include/profile/impl/profiler_hash_func.h: Same.
551 * include/bits/hashtable.h: Same.
552 * include/backward/auto_ptr.h: Same.
553 * include/backward/strstream: Same.
554 * include/backward/backward_warning.h: Same.
555 * include/backward/binders.h: Same.
557 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
559 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
560 Adjust link to GDB manual.
562 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
564 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
565 _GLIBCXX_USE_DEPRECATED.
566 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
567 * doc/xml/manual/using.xml: Same.
568 * include/std/memory: Same.
569 * include/std/streambuf: Same.
570 * include/bits/shared_ptr.h: Same.
571 * include/bits/unique_ptr.h: Same.
572 * include/bits/shared_ptr_base.h: Same.
573 * include/bits/stl_function.h: Same.
574 * include/tr1/shared_ptr.h: Same.
575 * include/backward/auto_ptr.h: Same.
576 * include/backward/binders.h: Same.
578 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
580 * doc/html/ext/lwg-active.html: Update to Revision D73.
581 * doc/html/ext/lwg-closed.html: Likewise.
582 * doc/html/ext/lwg-defects.html: Likewise.
583 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
585 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
587 PR libstdc++/36104 part four
588 * include/bits/c++config (_GLIBCXX_STD): Remove.
589 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
590 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
591 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
592 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
593 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
594 _GLIBCXX_INLINE_PROFILE): Remove.
595 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
596 (_GLIBCXX_END_NAMESPACE): Remove.
597 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
598 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
599 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
600 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
601 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
602 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
603 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
604 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
605 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
606 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
607 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
608 * include/*: Use new macros for namespace scope.
612 * src/Makefile.am (sources): Remove debug_list.cc, add
613 compatibility-debug_list-2.cc.
614 (parallel_sources): Remove parallel_list.cc, add
615 compatibility-parallel_list-2.cc.
616 (compatibility-parallel_list-2.[o,lo]): New rule.
617 * src/Makefile.in: Regenerate.
618 * src/debug_list.cc: Remove.
619 * src/parallel_list.cc: Remove.
620 * src/compatibility-list-2.cc: New.
621 * src/compatibility-debug_list-2.cc: New.
622 * src/compatibility-parallel_list-2.cc: New.
624 * doc/doxygen/user.cfg.in: Adjust macros.
626 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
627 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
628 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
629 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
630 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
631 * testsuite/20_util/forward/c_neg.cc: Same.
632 * testsuite/20_util/forward/f_neg.cc: Same.
633 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
634 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
635 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
636 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
637 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
638 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
639 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
640 * testsuite/23_containers/deque/requirements/dr438/
641 constructor_1_neg.cc: Same.
642 * testsuite/23_containers/deque/requirements/dr438/
643 constructor_2_neg.cc: Same.
644 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
645 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
646 * testsuite/23_containers/forward_list/requirements/dr438/
648 * testsuite/23_containers/forward_list/requirements/dr438/
649 constructor_1_neg.cc: Same.
650 * testsuite/23_containers/forward_list/requirements/dr438/
651 constructor_2_neg.cc: Same.
652 * testsuite/23_containers/forward_list/requirements/dr438/
654 * testsuite/23_containers/list/capacity/29134.cc: Same.
655 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
656 * testsuite/23_containers/list/requirements/dr438/
657 constructor_1_neg.cc: Same.
658 * testsuite/23_containers/list/requirements/dr438/
659 constructor_2_neg.cc: Same.
660 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
661 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
662 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
663 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
664 * testsuite/23_containers/vector/requirements/dr438/
665 constructor_1_neg.cc: Same.
666 * testsuite/23_containers/vector/requirements/dr438/
667 constructor_2_neg.cc: Same.
668 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
669 * testsuite/25_algorithms/sort/35588.cc: Same.
670 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
671 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
672 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
673 * testsuite/ext/profile/profiler_algos.cc: Same.
674 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
675 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
676 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
677 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
678 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
680 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
682 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
683 Improve description of one such reference.
685 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
687 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
688 Standards Revision Group.
689 * doc/xml/manual/locale.xml: Ditto.
690 * doc/xml/manual/messages.xml: Ditto.
691 * doc/xml/manual/using_exceptions.xml: Ditto.
693 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
695 * include/bits/atomic_base.h: Do not include <stddef.h>.
696 (kill_dependency): Uglify ret.
698 2011-01-26 Johannes Singler <singler@kit.edu>
700 * include/parallel/numeric (inner_product, partial_sum):
701 Qualify subsequent call with __gnu_parallel instead of
702 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
703 * include/parallel/algobase.h (equal): Likewise.
704 * include/parallel/algo.h (find_first_of, search_n, merge,
705 nth_element, partial_sort, max_element, min_element): Likewise.
706 * testsuite/25_algorithms/headers/algorithm/
707 parallel_algorithm_mixed1.cc (main): Add respective test cases.
708 * testsuite/25_algorithms/headers/algorithm/
709 parallel_algorithm_mixed2.cc (main): Likewise.
710 * testsuite/26_numerics/headers/numeric/
711 parallel_numeric_mixed1.cc (main): Likewise.
712 * testsuite/26_numerics/headers/numeric/
713 parallel_numeric_mixed2.cc (main): Likewise.
715 2011-01-24 Graham Reed <greed@pobox.com>
718 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
721 2011-01-24 Johannes Singler <singler@kit.edu>
724 * include/parallel/losertree.h
725 (_LoserTree<>::__delete_min_insert):
726 Do not qualify swap with std:: for value type,
727 but include a using directive instead.
728 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
729 * include/parallel/balanced_quicksort.h (__qsb_divide):
730 Use std::iter_swap instead of std::swap.
731 (__qsb_local_sort_with_helping): Likewise.
732 * include/parallel/partition.h (__parallel_partition):
733 Likewise. (__parallel_nth_element): Likewise.
735 2011-01-24 Johannes Singler <singler@kit.edu>
738 * include/parallel/multiway_merge.h (_UnguardedIterator):
739 Remove useless "mutable" from reference declaration.
741 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
743 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
744 * include/debug/safe_sequence.h: Same.
745 * include/debug/safe_iterator.h: Same.
746 * include/std/forward_list: Same.
747 * include/std/deque: Same.
748 * include/std/list: Same.
749 * include/std/random: Same.
750 * include/std/streambuf: Same.
751 * include/std/fstream: Same.
752 * include/std/istream: Same.
753 * include/std/string: Same.
754 * include/std/ostream: Same.
755 * include/std/sstream: Same.
756 * include/ext/vstring.h: Same.
757 * include/bits/basic_ios.h: Same.
758 * include/bits/locale_classes.h: Same.
759 * include/bits/locale_facets.h: Same.
760 * include/bits/valarray_array.h: Same.
761 * include/bits/locale_facets_nonio.h: Same.
762 * include/tr1/random: Same.
764 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
766 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
768 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
770 PR libstdc++/36104 part three
771 * src/hashtable_c++0x.cc: Adjust namespace macros.
772 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
773 * config/abi/pre/gnu-versioned-namespace.ver: Update.
775 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
777 * include/ext/pb_ds/detail/resize_policy/
778 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
779 * include/ext/pb_ds/detail/pat_trie_/
780 constructors_destructor_fn_imps.hpp: Same.
781 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
782 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
783 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
785 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
786 iterations downward when testing in debug mode.
787 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
788 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
789 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
790 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
791 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
792 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
793 reduce in debug mode.
795 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
797 PR libstdc++/36104 part two
798 * include/bits/hashtable.h: Revert to non-nested macro usage.
799 * include/bits/hashtable_policy.h: Same.
801 2011-01-19 Graham Reed <greed@pobox.com>
804 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
806 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
808 * doc/xml/images/confdeps.png: Regenerate.
810 * include/std/chrono (duration): Mark copy constructor constexpr.
811 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
813 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
815 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
816 Declare defaulted per DR 1517.
817 * testsuite/util/testsuite_common_types.h
818 (constexpr_defaulted_default_constructible): Add.
819 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
821 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
823 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
825 * include/bits/stl_stack.h (stack<>::swap): Likewise.
827 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
830 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
831 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
833 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
836 * testsuite/18_support/numeric_limits/lowest.cc:
837 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
839 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
842 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
843 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
845 2011-01-16 François Dumont <francois.cppdevs@free.fr>
847 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
848 to this. Use _neg suffix.
849 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
851 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
853 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
854 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
856 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
857 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
859 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
860 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
862 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
863 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
865 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
866 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
868 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
869 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
871 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
872 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
874 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
875 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
877 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
878 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
880 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
881 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
883 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
884 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
886 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
887 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
889 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
890 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
892 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
893 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
895 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
897 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
900 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
901 * include/Makefile.in: Regenerate.
902 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
903 (install-stdHEADERS, install-bitsHEADERS): New.
904 * libsupc++/Makefile.in: Regenerate.
906 * include/bits/c++config: Update for inline namespaces.
907 * libsupc++/cxxabi-forced.h: To...
908 * libsupc++/cxxabi_forced.h: ...this.
909 * libsupc++/hash_bytes.h: Separate file.
910 * libsupc++/typeinfo: Use it.
911 * libsupc++/exception: Adjust for bits subdirectory.
912 * libsupc++/eh_aux_runtime.cc: Same.
913 * libsupc++/eh_ptr.cc: Same.
914 * libsupc++/new_op.cc: Same.
915 * libsupc++/exception_defines.h: Same.
916 * libsupc++/nested_exception.h: Same.
917 * libsupc++/eh_terminate.cc: Same.
918 * libsupc++/vec.cc: Same.
919 * libsupc++/vterminate.cc: Same.
920 * libsupc++/exception_ptr.h: Same.
921 * libsupc++/eh_personality.cc: Same.
922 * libsupc++/eh_call.cc: Same.
923 * libsupc++/new_opnt.cc: Same.
924 * libsupc++/hash_bytes.cc: Same.
925 * config/cpu/arm/cxxabi_tweaks.h: Same.
926 * config/cpu/generic/cxxabi_tweaks.h: Same.
927 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
928 * include/std/bitset: Same.
929 * include/ext/vstring.tcc: Same.
930 * include/bits/hashtable.h: Same.
931 * include/bits/functional_hash.h: Same.
932 * include/bits/hashtable_policy.h: Same.
933 * include/bits/basic_string.h: Same.
934 * include/bits/istream.tcc: Same.
935 * include/bits/ostream.tcc: Same.
936 * include/bits/algorithmfwd.h: Same.
937 * include/bits/basic_string.tcc: Same.
938 * include/bits/ostream_insert.h: Same.
939 * include/bits/fstream.tcc: Same.
940 * include/bits/functexcept.h: Same.
942 * doc/doxygen/user.cfg.in: Adjust names.
944 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
946 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
948 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
950 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
952 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
954 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
955 * testsuite/25_algorithms/is_permutation/requirements/
956 explicit_instantiation/2.cc: Likewise.
957 * testsuite/25_algorithms/is_permutation/requirements/
958 explicit_instantiation/pod.cc: Likewise.
959 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
961 2011-01-13 John Lakos <jlakos@bloomberg.net>
962 Pablo Halpern <phalpern@halpernwightsoftware.com>
963 Paolo Carlini <paolo.carlini@oracle.com>
965 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
966 * include/bits/algorithmfwd.h: Add.
968 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
971 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
973 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
975 * aclocal.m4: Regenerate.
977 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
980 * src/placeholders.cc: New.
981 * src/Makefile.am: Adjust.
982 * src/Makefile.in: Regenerate.
983 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
985 * config/abi/pre/gnu.ver: Export.
987 2011-01-05 François Dumont <francois.cppdevs@free.fr>
989 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
990 * include/src/debug.cc: Use latter
991 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
992 correctly handle before_begin iterators.
993 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
994 useless _GLIBCXX_DEBUG checks.
996 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
999 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1000 * configure: Regenerated.
1002 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1005 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1008 Copyright (C) 2011 Free Software Foundation, Inc.
1010 Copying and distribution of this file, with or without modification,
1011 are permitted in any medium without royalty provided the copyright
1012 notice and this notice are preserved.