[llvm-bugs] [Bug 30937] Can't find pure virtual function after r285954

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 10 17:07:28 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=30937

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Devirtualization to pure virtual function fixed in r286534; that should make
your link error go away, and for now we're leaving the virtual call in place in
this case rather than (say) devirtualizing to a direct call of
__cxa_pure_virtual. I would still highly recommend finding a different approach
for this code, though, since you are still at risk of this undefined behavior
ceasing to (happen to) work in the future, in Clang or another optimizing
compiler.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161111/84ecc6bd/attachment.html>


More information about the llvm-bugs mailing list