This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ipa/61659] [4.9/4.10 Regression] Extra undefined symbol because of devirtualization


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61659

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jun 30 20:20:55 2014
New Revision: 212174

URL: https://gcc.gnu.org/viewcvs?rev=212174&root=gcc&view=rev
Log:
    PR c++/61659
    PR lto/53808
gcc/cp
    * decl2.c (maybe_emit_vtables): Mark all vtable entries if
    devirtualizing.
    * init.c (build_vtbl_address): Don't mark destructor.
    * class.c (finish_struct_1): Add all classes to keyed_classes
    if devirtualizing.
libstdc++-v3/
    * libsupc++/cxxabi.h (class __pbase_type_info): __pointer_catch
    is pure, not inline.

Added:
    trunk/gcc/testsuite/g++.dg/opt/devirt5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/init.c
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/libsupc++/cxxabi.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]