gcc/libvtv
Caroline Tice b0cca5ecbb re PR bootstrap/66521 (xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc)
Fix PR 66521

libvtv/ChangeLog

2015-08-01  Caroline Tice  <cmtice@google.com>

        PR 66521
        * Makefile.am: Update to match latest tree.
        * Makefile.in: Regenerate.
        * testsuite/lib/libvtv: Brought up to date.
        * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
        function (old bug!).
        * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
        initializations to work correctly with VTV_DEBUG defined.

gcc/ChangeLog:

2015-08-01  Caroline Tice  <cmtice@google.com>

        PR 66521
        * vtable-verify.c (vtbl_mangled_name_types, vtbl_mangled_name_ids): New
        global variables.
        (vtbl_find_mangled_name):  New function.
        (vtbl_register_mangled_name):  New function.
        (vtbl_map_get_node):  If DECL_ASSEMBLER_NAME is "<anon>", look up
        mangled name in mangled name vectors.
        (find_or_create_vtbl_map_node):  Ditto.
        (var_is_used_for_virtual_call_p):  Add recursion_depth parameter;
        update recursion_depth on function entry; pass it to every recursive
        call; automatically exit if depth > 25 (give up looking at that point).
        (verify_bb_vtables):  Initialize recursion_depth and pass it to
        var_is_used_for_virtual_call_p.
        * vtable-verify.h (vtbl_mangbled_name_types, vtbl_mangled_name_ids): New
        global variable decls.
        (vtbl_register_mangled_name): New extern function decl.

gcc/cp/ChangeLog:
2015-08-01  Caroline Tice  <cmtice@google.com>

        PR 66521
        * mangle.c : Add vtable-verify.h to include files.
        (get_mangled_vtable_map_var_name):  If the DECL_ASSEMBLER_NAME
        is "<anon>" get the real mangled name for the class instead, and
        also store the real mangled name in a vector for use later.

From-SVN: r226471
2015-08-01 18:17:39 -07:00
..
scripts
testsuite re PR bootstrap/66521 (xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc) 2015-08-01 18:17:39 -07:00
ChangeLog re PR bootstrap/66521 (xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc) 2015-08-01 18:17:39 -07:00
Makefile.am Committing VTV Cygwin patch for Patrick Wollgast 2015-01-29 00:03:56 -08:00
Makefile.in libvtv: Bump to automake 1.11.6 2015-05-13 11:28:41 +00:00
acinclude.m4 Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY. 2013-08-07 23:40:49 +00:00
aclocal.m4 libvtv: Bump to automake 1.11.6 2015-05-13 11:28:41 +00:00
configure libvtv: Bump to automake 1.11.6 2015-05-13 11:28:41 +00:00
configure.ac Committing VTV Cygwin patch for Patrick Wollgast 2015-01-29 00:03:56 -08:00
configure.tgt Committing VTV Cygwin patch for Patrick Wollgast 2015-01-29 00:03:56 -08:00
vtv_fail.cc Committing VTV Cygwin patch for Patrick Wollgast 2015-01-29 00:03:56 -08:00
vtv_fail.h
vtv_malloc.cc re PR bootstrap/66521 (xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc) 2015-08-01 18:17:39 -07:00
vtv_malloc.h Committing VTV Cygwin patch for Patrick Wollgast 2015-01-29 00:03:56 -08:00
vtv_map.h Committing VTV Cygwin patch for Patrick Wollgast 2015-01-29 00:03:56 -08:00
vtv_rts.cc re PR bootstrap/66521 (xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc) 2015-08-01 18:17:39 -07:00
vtv_rts.h
vtv_set.h
vtv_utils.cc Committing VTV Cygwin patch for Patrick Wollgast 2015-01-29 00:03:56 -08:00
vtv_utils.h