summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/doc
Commit message (Collapse)AuthorAgeFilesLines
* PR libstdc++/63449redi2014-10-035-39/+11
| | | | | | | | * doc/xml/manual/containers.xml: Remove outdated section. Update std::list notes. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215852 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/status_cxx2011.xml: Corrections.redi2014-10-012-14/+22
| | | | | | * doc/html/manual/status.html: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215758 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-05-08 Joshua Gay <jgay@gnu.org>redi2014-05-082-2/+2
| | | | | | | | | PR libstdc++/61117 * doc/xml/faq.xml (faq.license.what_restrictions): Replace "open source" with "free software". * doc/html/faq.html: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@210240 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/backwards_compatibility.xml (backwards.third.headers):redi2014-04-0110-21/+21
| | | | | | | | | | | | | Update link. * doc/xml/manual/policy_data_structures_biblio.xml (bibliography): Fix broken links. * doc/xml/manual/shared_ptr.xml (shared_ptr.impl): Likewise. * doc/xml/manual/using_exceptions.xml (bibliography): Likewise. * doc/xml/manual/concurrency_extensions.xml (manual.ext.concurrency.impl.atomic_fallbacks): Likewise. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209002 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/html/*: Regenerate.redi2014-03-2751-245/+315
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208875 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/containers.xml (associative.bitset.size_variable):redi2014-03-274-6/+6
| | | | | | | | | Fix bad s/part/chapter/ substitutions. * doc/xml/manual/io.xml (std.io): Likewise. * doc/xml/manual/numerics.xml (std.numerics.generalized_ops): Likewise. * doc/xml/manual/strings.xml (strings.string.Cstring): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208874 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/faq.xml (faq): Refer to clauses instead of chapters.redi2014-03-274-6/+6
| | | | | | | | | | * doc/xml/manual/appendix_contributing.xml (contrib.design_notes): Likewise. * doc/xml/manual/backwards_compatibility.xml (backwards.third): Likewise. * doc/xml/manual/test.xml (test.organization.layout): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208873 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/io.xml (std.io.objects): Additional markup.redi2014-03-271-44/+70
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208872 138bc75d-0d04-0410-961f-82ee72b054a4
* [libstdc++,docs] After the latest batch of papers came out I updated the ↵emsr2014-03-061-6/+138
| | | | | | status docs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208358 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/57226redi2014-01-2952-405/+549
| | | | | | | | | * doc/xml/manual/debug.xml (debug.gdb): Update documentation for installation and use of python printers. * doc/xml/manual/status_cxx2011.xml: Update. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207288 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/faq.xml (a-how_to_set_paths): Expand FAQ answer.redi2014-01-232-5/+34
| | | | | | * doc/xml/manual/abi.xml (abi.versioning.history): Correct symver. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206960 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/56267redi2014-01-211-18/+3
| | | | | | | | | | | | | * include/bits/hashtable.h (__cache_default): Do not depend on whether the hash function is DefaultConstructible or CopyAssignable. (_Hashtable): Adjust static assertions. * doc/xml/manual/containers.xml (containers.unordered.cache): Update. * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust dg-error line number. * testsuite/23_containers/unordered_set/ not_default_constructible_hash_neg.cc: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206904 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/59699redi2014-01-101-5/+7
| | | | | | * doc/xml/manual/support.xml (std.support.types.null): Update links. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206526 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/59687redi2014-01-101-10/+17
| | | | | | | * doc/xml/manual/backwards_compatibility.xml (backwards.third.nocreate_noreplace): Correct and expand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206525 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/59698redi2014-01-103-77/+93
| | | | | | | | | | * doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup and stylistic improvements. * doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise and update for C++11. * doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206524 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in libstdc++-v3/rsandifo2014-01-023-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206301 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-11-22 Jonathan Wakely <jwakely.gcc@gmail.com>redi2013-11-221-0/+5
| | | | | | | | * acinclude.m4 (libtool_VERSION): Bump. * configure: Regenerate. * doc/xml/manual/abi.xml: Update version information. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205258 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/49204redi2013-11-201-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * include/std/future (__future_base::_State_base): Rename to __future_base::_State_baseV2. (__future_base::_State_baseV2::~_State_baseV2): Define as defaulted. (__future_base::_State_baseV2::_M_run_deferred): Rename to _M_complete_async. (__future_base::_State_baseV2::_M_has_deferred): Add new virtual. (__future_base::_State_baseV2::wait_for): Call _M_has_deferred() to test for a deferred function, or call _M_complete_async() to join an async thread that has made the shared state ready. (__future_base::_State_baseV2::wait_until): Likewise. (__future_base::_Async_state_common): Rename to _Async_state_commonV2. (__future_base::_Async_state_commonV2::_M_run_deferred): Rename to _M_complete_async. * src/c++11/compatibility-thread-c++0x.cc (__future_base::_State_base): Export old definition. (__future_base::_Async_state_common): Likewise. * src/c++11/future.cc (__future_base::_State_base::~_State_base): Remove. * doc/xml/manual/status_cxx2011.xml: Update status. * testsuite/30_threads/async/async.cc: Test future_status::timeout and future_status::ready. * testsuite/30_threads/async/sync.cc: Test future_status::deferred. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205144 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/status_cxx2014.xml: Create new table for TS statuses.redi2013-11-191-18/+65
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205029 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-11-15 Ondřej Bílka <neleai@seznam.cz>redi2013-11-152-5/+5
| | | | | | | | | | | | | | | | | | | Jonathan Wakely <jwakely.gcc@gmail.com> * doc/xml/manual/build_hacking.xml: Fix documentation typos. * doc/xml/manual/configure.xml: Likewise. * include/bits/atomic_base.h: Fix typos in comments. * include/bits/random.h: Likewise. * include/ext/cast.h: Likewise. * libsupc++/cxxabi.h: Likewise. * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/testcase.h: Likewise. * testsuite/util/exception/safety.h: Likewise. * testsuite/util/testsuite_containers.h: Likewise. * testsuite/util/testsuite_hooks.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204850 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/stl_map.h (map): Implement C++11 allocator-awareredi2013-11-151-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | container requirements. * include/bits/stl_multimap.h (multimap): Likewise. * include/bits/stl_multiset.h (multiset): Likewise. * include/bits/stl_set.h (set): Likewise. * include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_buffer and add accessors for value. (_Rb_tree_iterator, _Rb_tree_const_iterator): Use _Rb_tree_node accessors. (_Rb_tree): Use allocator_traits and implement support for sets and maps the be allocator-aware. * include/bits/forward_list.h (_Fwd_list_base::_M_create_node): Do not zero-initialize storage buffer. * include/bits/hashtable_policy.h (_Hashtable_alloc::_M_allocate_node): Likewise. * include/bits/stl_vector.h (vector(vector&&, const allocator_type&)): Add conditional noexcept specification. * doc/xml/manual/status_cxx2011.xml: Update status of containers. * testsuite/util/testsuite_allocator.h: Re-indent. * testsuite/23_containers/forward_list/allocator/copy.cc: Test allocator-extended copy constructor. * testsuite/23_containers/unordered_map/allocator/copy.cc: Likewise. * testsuite/23_containers/unordered_multimap/allocator/copy.cc: Likewise. * testsuite/23_containers/unordered_multiset/allocator/copy.cc: Likewise. * testsuite/23_containers/unordered_set/allocator/copy.cc: Likewise. * testsuite/23_containers/vector/allocator/copy.cc: Likewise. * testsuite/23_containers/forward_list/allocator/move.cc: New. * testsuite/23_containers/unordered_map/allocator/move.cc: New. * testsuite/23_containers/unordered_multimap/allocator/move.cc: New. * testsuite/23_containers/unordered_multiset/allocator/move.cc: New. * testsuite/23_containers/unordered_set/allocator/move.cc: New. * testsuite/23_containers/vector/allocator/move.cc: New. * testsuite/23_containers/map/allocator/copy.cc: New. * testsuite/23_containers/map/allocator/copy_assign.cc: New. * testsuite/23_containers/map/allocator/minimal.cc: New. * testsuite/23_containers/map/allocator/move.cc: New. * testsuite/23_containers/map/allocator/move_assign.cc: New. * testsuite/23_containers/map/allocator/noexcept.cc: New. * testsuite/23_containers/map/allocator/swap.cc: New. * testsuite/23_containers/multimap/allocator/copy.cc: New. * testsuite/23_containers/multimap/allocator/copy_assign.cc: New. * testsuite/23_containers/multimap/allocator/minimal.cc: New. * testsuite/23_containers/multimap/allocator/move.cc: New. * testsuite/23_containers/multimap/allocator/move_assign.cc: New. * testsuite/23_containers/multimap/allocator/noexcept.cc: New. * testsuite/23_containers/multimap/allocator/swap.cc: New. * testsuite/23_containers/multiset/allocator/copy.cc: New. * testsuite/23_containers/multiset/allocator/copy_assign.cc: New. * testsuite/23_containers/multiset/allocator/minimal.cc: New. * testsuite/23_containers/multiset/allocator/move.cc: New. * testsuite/23_containers/multiset/allocator/move_assign.cc: New. * testsuite/23_containers/multiset/allocator/noexcept.cc: New. * testsuite/23_containers/multiset/allocator/swap.cc: New. * testsuite/23_containers/set/allocator/copy.cc: New. * testsuite/23_containers/set/allocator/copy_assign.cc: New. * testsuite/23_containers/set/allocator/minimal.cc: New. * testsuite/23_containers/set/allocator/move.cc: New. * testsuite/23_containers/set/allocator/move_assign.cc: New. * testsuite/23_containers/set/allocator/noexcept.cc: New. * testsuite/23_containers/set/allocator/swap.cc: New. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204848 138bc75d-0d04-0410-961f-82ee72b054a4
* N3655 C++1y TransformationTraits Reduxredi2013-11-051-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/std/type_traits (remove_const_t, remove_volatile_t, remove_cv_t, add_const_t, add_volatile_t, add_cv_t, remove_reference_t, add_lvalue_reference_t, add_rvalue_reference_t, make_signed_t, make_unsigned_t, remove_extent_t, remove_all_extents_t, remove_pointer_t, add_pointer_t, aligned_storage_t, decay_t, enable_if_t, conditional_t, common_type_t, underlying_type_t, result_of_t): Define. * doc/xml/manual/status_cxx2014.xml: Update. * testsuite/20_util/add_lvalue_reference/requirements/typedefs-3.cc: New. * testsuite/20_util/add_rvalue_reference/requirements/typedefs-3.cc: New. * testsuite/20_util/common_type/requirements/typedefs-3.cc: New. * testsuite/20_util/conditional/requirements/typedefs-2.cc: New. * testsuite/20_util/decay/requirements/typedefs-2.cc: New. * testsuite/20_util/enable_if/requirements/typedefs-2.cc: New. * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New. * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New. * testsuite/20_util/remove_reference/requirements/typedefs.cc: New. * testsuite/20_util/result_of/requirements/typedefs.cc: New. * testsuite/20_util/underlying_type/requirements/typedefs-3.cc: New. * testsuite/20_util/common_type/requirements/typedefs-2.cc: Change to compile-only test. * testsuite/20_util/decay/requirements/typedefs.cc: Likewise. * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Likewise. * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error line number. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204426 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/status_cxx2011.xml: Document aligned_union asredi2013-11-051-2/+3
| | | | | | missing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204416 138bc75d-0d04-0410-961f-82ee72b054a4
* N3421 C++1y Transparent functorsredi2013-11-011-1/+1
| | | | | | | | | | | | | | | | * include/bits/stl_function.h (plus<void>, minus<void>, multiplies<void>, divides<void>, modulus<void>, negate<void>, equal_to<void>, not_equal_to<void>, greater<void>, less<void>, greater_equal<void>, less_equal<void>, logical_and<void>, logical_or<void>, logical_not<void>, bit_and<void>, bit_or<void>, bit_xor<void>, bit_not<void>): Define. * doc/xml/manual/status_cxx2014.xml: Update. * testsuite/20_util/function_objects/comparisons_void.cc: New. * include/bits/stl_function.h: Implement N3421. * testsuite/20_util/function_objects/comparisons_void.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204290 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/std/tuple (_Index_tuple, _Build_index_tuple): Move toredi2013-10-311-2/+2
| | | | | | | | | | | <utility>. * include/std/utility (integer_sequence, make_integer_sequence, index_sequence, make_index_sequence, index_sequence_for): Define. * doc/xml/manual/status_cxx2014.xml: Update. * testsuite/20_util/integer_sequence/intseq.cc: New. * testsuite/20_util/integer_sequence/requirements/typedefs.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204275 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-10-01 Tim Shen <timshen91@gmail.com>timshen2013-10-011-1/+1
| | | | | | | | * doc/xml/manual/status_cxx2011.xml: Change "is not implemented" to "is not correctly implemented". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203097 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-10-01 Tim Shen <timshen91@gmail.com>timshen2013-10-011-20/+11
| | | | | | | | | | * doc/xml/manual/status_cxx2011.xml: Update regex status. * include/bits/regex.h (match_results<>::begin, match_results<>::cbegin, match_results<>::end, match_results<>::cend): [28.10.3.13], [28.10.3.14] Always iterate the range [0, size()-2). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203096 138bc75d-0d04-0410-961f-82ee72b054a4
* Commit the vtable verification feature. This feature is designed toctice2013-08-072-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | detect, at run time, if/when the vtable pointer in a C++ object has been corrupted, before allowing virtual calls through that pointer. If pointer corruption is detected, execution of the program is halted. libstdc++-v3 ChangeLog: 2013-08-06 Caroline Tice <cmtice@google.com> * fragment.am: Add XTEMPLATE_FLAGS. * configure.ac: Add definitions for --enable-vtable-verify. * acinclude.m4: Add --enable-vtable-verify and --disable-vtable-verify; define --enable-vtable-verify; define VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS. * config/abi/pre/gnu.ver: Export symbols for vtable verification. * libsupc++/Makefile.am: Define vtv_sources and add it to libsupc___la_SOURCES and libsupc__convenience_la_SOURCES. * libsupc++/vtv_stubs.cc: New file. * include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS. * src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add VTV_CXXLINKFLAGS to CXXLINK. * src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK. * src/C++11/Makefile.am: Ditto. * doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify. * scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS. * testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate libvtv if --enable-vtable-verify was used; set cxxvtvflags; add cxxvtvflags to cxx_final. * testsuite/18_support/bad_exception/23591_thread-1.c: Add -fvtable-verify=none to compiler flags. * testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none to compiler flags. * configure: Regenerated. * Makefile.in: Regenerated. * python/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * config.h.in: Regenerated. * po/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. * src/c++98/Makefile.in: Regenerated. * src/c++11/Makefile.in: Regenerated. * doc/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. top level ChangeLog: 2013-08-06 Caroline Tice <cmtice@google.com> * configure.ac: Add target-libvtv to target_libraries; disable libvtv on non-linux systems; add target-libvtv to noconfigdirs; add libsupc++/.libs to C++ library search paths. * configure: Regenerated. * Makefile.def: Add libvtv to target_modules; make libvtv depend on libstdc++ and libgcc. * Makefile.in: Regenerated. include/ChangeLog: 2013-08-06 Caroline Tice <cmtice@google.com> * vtv-change-permission.h: New file. contrib/ChangeLog: 2013-08-06 Caroline Tice4 <cmtice@google.com> * gcc_update: Add libvtv files. libgcc/ChangeLog: 2013-08-06 Caroline Tice <cmtice@google.com> config.host (extra_parts): Add vtv_start.o, vtv_end.o vtv_start_preinit.o and vtv_end_preinit.o. configure.ac: Add code to check/set enable_vtable_verify. Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is true. vtv_start_preinit.c: New file. vtv_end_preinit.c: New file. vtv_start.c: New file. vtv_end.c: New file. configure: Regenerated. gcc/ChangeLog: 2013-08-06 Caroline Tice <cmtice@google.com> * gcc.c (VTABLE_VERIFICATION_SPEC): New definition. (LINK_COMMAND_SPEC): Add VTABLE_VERIFICATION_SPEC. * tree-pass.h: Add pass_vtable_verify. * varasm.c (assemble_variable): Add code to properly set the comdat section and name for the .vtable_map_vars section. (assemble_vtyv_preinit_initializer): New function. (default_sectin_type_flags): Make sure .vtable_map_vars section has LINK_ONCE flag. * output.h: Add function decl for assemble_vtv_preinit_initializer. * vtable-verify.c: New file. * vtable-verify.h: New file. * flag-types.h (enum vtv_priority): Defintions for flag_vtable_verify initialiation levels. * timevar.def (TV_VTABLE_VERIFICATION): New definition. * passes.def: Insert pass_vtable_verify. * aclocal.m4: Reorder includes. * doc/invoke.texi: Add documentation for the flags -fvtable-verify=, -fvtv-debug and -fvtv-counts. * config/gnu-user.h (GNU_USER_TARGET_STARTFILE_SPEC): Add vtv_start*.o, as appropriate, if -fvtable-verify=... is used. (GNU_USER_TARGET_ENDFILE_SPEC): Add vtv_end*.o as appropriate, if -fvtable-verify=... is used. * Makefile.in (OBJS): Add vtable-verify.o to list. (vtable-verify.o): Add new build rule. (GTFILES): Add vtable-verify.c to list. * common.opt (fvtable-verify=): New flag. (vtv_priority): Values for fvtable-verify= flag. (fvtv-counts): New flag. (fvtv-debug): New flag. * tree.h (save_vtable_map_decl): New extern function decl. gcc/cp/ChangeLog: 2013-08-06 Caroline Tice <cmtice@google.com> * Make-lang.in (*CXX_AND_OBJCXX_OBJS): Add vtable-class-hierarchy.o to list. (vtable-class-hierarchy.o): Add build rule. * cp-tree.h (vtv_start_verification_constructor_init_function): New extern function decl. (vtv_finish_verification_constructor_init_function): New extern function decl. (build_vtbl_address): New extern function decl. (get_mangled_vtable_map_var_name): New extern function decl. (vtv_compute_class_hierarchy_transitive_closure): New extern function decl. (vtv_generate_init_routine): New extern function decl. (vtv_save_class_info): New extern function decl. (vtv_recover_class_info): New extern function decl. (vtv_build_vtable_verify_fndecl): New extern function decl. * class.c (finish_struct_1): Add call to vtv_save_class_info if flag_vtable_verify is true. * config-lang.in: Add vtable-class-hierarchy.c to gtfiles list. * vtable-class-hierarchy.c: New file. * mangle.c (get_mangled_vtable_map_var_name): New function. * decl2.c (start_objects): Update function comment. (cp_write_global_declarations): Call vtv_recover_class_info, vtv_compute_class_hierarchy_transitive_closure and vtv_build_vtable_verify_fndecl, before calling finalize_compilation_unit, and call vtv_generate_init_rount after, IFF flag_vtable_verify is true. (vtv_start_verification_constructor_init_function): New function. (vtv_finish_verification_constructor_init_function): New function. * init.c (build_vtbl_address): Remove static qualifier from function. libvtv/ChangeLog: 2013-08-06 Caroline Tice <cmtice@google.com> Initial check-in of new vtable verification feature. * configure.ac : New file. * acinclude.m4 : New file. * Makefile.am : New file. * aclocal.m4 : New file. * configure.tgt : New file. * configure: New file (generated). * Makefile.in: New file (generated). * vtv_set.h : New file. * vtv_utils.cc : New file. * vtv_utils.h : New file. * vtv_malloc.cc : New file. * vtv_rts.cc : New file. * vtv_malloc.h : New file. * vtv_rts.h : New file. * vtv_fail.cc : New file. * vtv_fail.h : New file. * vtv_map.h : New file. * scripts/run-testsuite.sh : New file. * scripts/sum-vtv-counts.c : New file. * testsuite/parts-test-main.h : New file. * testusite/dataentry.cc : New file. * testsuite/temp_deriv.cc : New file. * testsuite/register_pair.cc : New file. * testsuite/virtual_inheritance.cc : New file. * testsuite/field-test.cc : New file. * testsuite/nested_vcall_test.cc : New file. * testsuite/template-list-iostream.cc : New file. * testsuite/register_pair_inserts.cc : New file. * testsuite/register_pair_inserts_mt.cc : New file. * testsuite/event.list : New file. * testsuite/parts-test-extra-parts-views.cc : New file. * testsuite/parts-test-extra-parts-views.h : New file. * testsuite/environment-fail-32.s : New file. * testsuite/parts-test-extra-parts.h : New file. * testsuite/temp_deriv2.cc : New file. * testsuite/dlopen_mt.cc : New file. * testsuite/event.h : New file. * testsuite/template-list.cc : New file. * testsuite/replace-fail.cc : New file. * testsuite/Makefile.am : New file. * testsuite/Makefile.in: New file (generated). * testsuite/mempool_negative.c : New file. * testsuite/parts-test-main.cc : New file. * testsuite/event-private.cc : New file. * testsuite/thunk.cc : New file. * testsuite/event-defintiions.cc : New file. * testsuite/event-private.h : New file. * testsuite/parts-test.list : New file. * testusite/register_pair_mt.cc : New file. * testsuite/povray-derived.cc : New file. * testsuite/event-main.cc : New file. * testsuite/environment.cc : New file. * testsuite/template-list2.cc : New file. * testsuite/thunk_vtable_map_attack.cc : New file. * testsuite/parts-test-extra-parts.cc : New file. * testsuite/environment-fail-64.s : New file. * testsuite/dlopen.cc : New file. * testsuite/so.cc : New file. * testsuite/temp_deriv3.cc : New file. * testsuite/const_vtable.cc : New file. * testsuite/mempool_positive.c : New file. * testsuite/dup_name.cc : New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201555 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com>paolo2013-07-251-6/+0
| | | | | | | | | | * include/std/complex (pow(const complex<>&, int)): Enable in C++11 mode too. * testsuite/26_numerics/complex/dr844.cc: Adjust. * doc/xml/manual/intro.xml: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201253 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>paolo2013-07-251-4/+6
| | | | | | | | | PR libstdc++/57976 * doc/xml/manual/status_cxx2011.xml: Note missing time_get::get and time_get::do_get. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201234 138bc75d-0d04-0410-961f-82ee72b054a4
* Add links to the C++14 librarry implementation status page.emsr2013-07-081-20/+100
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200748 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-07-04 Veres Lajos <vlajos@gmail.com>redi2013-07-042-2/+2
| | | | | | | | | | | | | | | | | | Jonathan Wakely <jwakely.gcc@gmail.com> * config/locale/generic/codecvt_members.cc: Fix typo. * configure.host: Likewise. * doc/html/manual/policy_data_structures_design.html: Likewise. * doc/xml/manual/policy_data_structures.xml: Likewise. * include/bits/hashtable.h: Likewise. * include/bits/random.h: Likewise. * include/profile/impl/profiler_trace.h: Likewise. * testsuite/23_containers/deque/cons/2.cc: Likewise. * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise. * testsuite/ext/pb_ds/example/basic_multimap.cc: Likewise. * testsuite/performance/23_containers/insert_erase/41975.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200681 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-29 François Dumont <fdumont@gcc.gnu.org>fdumont2013-06-291-0/+54
| | | | | | | | | | | | | | | | | | * include/bits/hashtable_policy.h (_Insert_base): Consider hint in insert methods. * include/bits/hashtable.h: Likewise. * testsuite/23_containers/unordered_multimap/insert/hint.cc: New. * testsuite/performance/23_containers/insert/unordered_multiset_hint.cc: New. * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust dg-error line number. * testsuite/23_containers/unordered_set/ not_default_constructible_hash_neg.cc: Likewise. * doc/xml/manual/containers.xml: Document hinting in unordered containers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200564 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net>emsr2013-06-263-2/+208
| | | | | | | | | | | Status page for C++2014 library features * doc/xml/faq.xml: Add link to new C++14 status page. * doc/xml/manual/intro.xml: Ditto. * doc/xml/manual/status_cxx2014.xml: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200413 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/status_cxx2011.xml: Fix markup error.redi2013-05-181-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199066 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/extensions.xml: Fix anachronism.redi2013-04-201-3/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198110 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/exception (get_terminate(), get_unexpected()): Declare.redi2013-04-031-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()): Define. (set_terminate(terminate_handler)): Set atomically. (set_unexpected(terminate_handler)): Likewise. * libsupc++/new (get_new_handler()): Declare. * libsupc++/new_handler.cc (get_new_handler()): Define. (set_new_handler(new_handler)): Set atomically. (__new_handler): Use internal linkage. * libsupc++/new_op.cc (operator new): Use get_new_handler(). * libsupc++/new_opnt.cc (operator new): Likewise. * acinclude.m4: Bump libtool_VERSION to 6:19:0. * configure: Regenerate. * libsupc++/Makefile.am: Compile above files with -std=gnu++11. * libsupc++/Makefile.in: Regenerate. * config/abi/pre/gnu.ver: Add new exports. * doc/xml/manual/status_cxx2011.xml: Update. * testsuite/18_support/headers/exception/synopsis.cc: Check accessors for handlers. * testsuite/18_support/headers/new/synopsis.cc: Likewise. * testsuite/18_support/new_handler.cc: New. * testsuite/18_support/terminate_handler.cc: New. * testsuite/18_support/unexpected_handler.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197380 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/appendix_contributing.xml: Remove broken link andredi2013-04-02108-371/+345
| | | | | | | defer to general documentation on contributing to GCC. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197334 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.qgerald2013-03-3110-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU Coding Standards. * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer. * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL. * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link. * doc/xml/manual/messages.xml: Adjust link to Java API specs. * doc/xml/manual/policy_data_structures: Remove direct link to IBM Haifa Research Labs. * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links for biblio.maverik_lowerbounds and biblio.nelson96stlpq. Remove direct link to IBM Haifa Research Labs. * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org papers. * doc/xml/manual/shared_ptr.xml: Use canonical address for www.boost.org. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197284 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-03-13 Benjamin Kosnik <bkoz@redhat.com>bkoz2013-03-1445-179/+179
| | | | | | * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196647 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/memoryfwd.h: New. Centralize forward declarations.bkoz2013-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/algorithmfwd.h: Consistent comments. * include/bits/localefwd.h: Same. * include/ext/vstring_fwd.h: Same. * include/parallel/algorithmfwd.h: Same. * include/parallel/numericfwd.h: Same. * include/std/iosfwd: Same. * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator forward decl. * include/ext/alloc_traits.h: Remove allocator forward decl. * include/bits/stl_construct.h: Same. * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator forward decl. Consistent comments. * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO. * include/Makefile.am (bits_headers): Add memoryfwd.h. * include/Makefile.in: Regenerate. * configure: Same. e enter the commit message for your changes. Lines starting git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196559 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/html/faq.html: Fix spelling.redi2013-02-202-2/+2
| | | | | | | | | | * doc/xml/faq.xml: Likewise. * include/bits/basic_ios.h: Likewise. * include/bits/regex.h: Likewise. * include/std/istream: Likewise. * include/std/streambuf: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196184 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-02-19 Benjamin Kosnik <bkoz@redhat.com>bkoz2013-02-201-25/+86
| | | | | | | | | | | | | | | | | | | * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT, AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1. * include/bits/stl_pair.h: Add to utilities group. * include/std/tuple: Same. * include/std/typeindex: Same. * include/bits/stringfwd.h: Fix markup. * include/std/limits: Same. * include/std/type_traits: Same. * include/tr1/memory: Same. * include/tr1/regex: Same. * scripts/run_doxygen: Comment. * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196162 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>bkoz2013-02-11107-1199/+1170
| | | | | | * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195959 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-02-10 François Dumont <fdumont@gcc.gnu.org>redi2013-02-112-2/+82
| | | | | | | | | Jonathan Wakely <jwakely.gcc@gmail.com> * doc/xml/manual/containers.xml: Add section on unordered containers. * doc/xml/manual/using.xml: Fix incomplete sentence. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195937 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright in libstdc++-v3.rsandifo2013-02-033-4/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195701 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.redi2013-01-081-6/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195036 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/unordered_map.h: Fix typo in comments.redi2013-01-061-0/+9
| | | | | | | * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket counts for unordered associative containers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194954 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/abi.xml: Update library and symbol versions.redi2013-01-061-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194950 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/abi.xml: Update URLs for C++ ABI.redi2012-12-18123-600/+653
| | | | | | | | | | | | | | | | | * doc/xml/manual/policy_data_structures_biblio.xml: Add xmlns attribute. * doc/xml/manual/debug_mode.xml: Give filenames to chunks. * doc/xml/manual/diagnostics.xml: Likewise. * doc/xml/manual/extensions.xml: Likewise. * doc/xml/manual/bitmap_allocator.xml: Likewise. * doc/xml/manual/mt_allocator.xml: Likewise. * doc/xml/manual/policy_data_structures.xml: Likewise. * doc/xml/manual/parallel_mode.xml: Likewise. * doc/xml/manual/profile_mode.xml: Likewise. * doc/xml/manual/spine.xml: Likewise. Update copyright years. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194576 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud