[Bug c++/69777] Give a warning when virtual function is devirtualized into a __cxa_pure_virtual call

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 14 22:48:00 GMT 2016


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Vadim Zeitlin from comment #0)
> I have a small (but still ~50 lines of code) example that can be used to
> reproduce this behaviour, please let me know if you'd like me to attach it.

If it is the preprocessed file (*.i*) that triggers the bug, generated by
adding -save-temps to the complete compilation command, then please do so. 50
lines is small enough. Otherwise https://gcc.gnu.org/bugs/minimize.html


More information about the Gcc-bugs mailing list