[Bug c++/61214] [4.9/4.10 regression]=?UTF-8?Q?=C2=A0Weird=20interaction=20between=20=2Dfvisibility=2Dinlines=2Dhidden?=, inline virtuals and devirtualization

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 3 04:14:00 GMT 2014


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-06-03
     Ever confirmed|0                           |1

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
The current trunk (r211157) doesn't devirtualize the call to Foo::clone; it
goes through the vtable even though we know which vtable we're dealing with.  I
would guess that this is due to a change to can_refer_decl_in_current_unit_p.



More information about the Gcc-bugs mailing list