[Bug c++/61214] New: [4.9 regression] Weird interaction between -fvisibility-inlines-hidden, inline virtuals and devirtualization

2014-05-17 Thread delr...@dolphin-emu.org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: delr...@dolphin-emu.org Created attachment 32814 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32814&acti

[Bug c++/61214] [4.9/4.10 regression] Weird interaction between -fvisibility-inlines-hidden, inline virtuals and devirtualization

2014-06-13 Thread delr...@dolphin-emu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61214 --- Comment #3 from Pierre Bourdon --- I'm more wondering why Foo::clone is not being instantiated by the code that calls it. Does C++ specify that virtual inline functions are guaranteed to be instantiated in the compilation unit that contains