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 c++/61214] [4.9/5 regression] Weird interaction between -fvisibility-inlines-hidden, inline virtuals and devirtualization


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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Aug 20 01:54:40 2014
New Revision: 214208

URL: https://gcc.gnu.org/viewcvs?rev=214208&root=gcc&view=rev
Log:
    PR c++/61214
    PR tree-optimization/62091
    * decl2.c (decl_needed_p): Return true for virtual functions when
    devirtualizing.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ipa/devirt-39.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/decl2.c


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