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/4.10 regression] Weird interaction between -fvisibility-inlines-hidden, inline virtuals and devirtualization


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

Vadim Zeitlin <vz-gcc at zeitlins dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vz-gcc at zeitlins dot org

--- Comment #4 from Vadim Zeitlin <vz-gcc at zeitlins dot org> ---
I'd be grateful for any workaround suggestions in the meanwhile. We have one
patch at http://trac.wxwidgets.org/ticket/16359 but it is rather ugly, so it
would be great if someone could propose something better. TIA!

BTW, -O3 is not necessary to see the bug, compiling the test case with just -O
(or -O1, -O2, ...) is enough, it only links without any optimizations at all.


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