[Bug c++/61214] [4.9/4.10 regression] Weird interaction between -fvisibility-inlines-hidden, inline virtuals and devirtualization
vz-gcc at zeitlins dot org
gcc-bugzilla@gcc.gnu.org
Mon Jun 30 12:14:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list