[Bug ipa/66223] [5/6 Regression] Diagnostic of pure virtual function call broken, including __cxa_pure_virtual

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 18 11:04:00 GMT 2015


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           Priority|P3                          |P2
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
So it boils down to a QOI issue as the program invokes undefined behavior
(unless the standard mandates sth for this case).

We currently use __builtin_unreachable () which indeed has some interesting
debugging effects but allows for best optimization.


More information about the Gcc-bugs mailing list