[Bug lto/89335] [9 Regression] ICE with LTO -Wsuggest-final-methods: ICE during IPA pass devirt in types_same_for_odr, at ipa-devirt.c:391

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 14 15:29:00 GMT 2019


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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |87089

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I think it is also caused by fact that the virtual destructor has no
DECL_VIRTUAL flag.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87089
[Bug 87089] [9 regression] tree check: expected class 'type', have
'declaration' (namespace_decl) in type_with_linkage_p, at ipa-utils.h


More information about the Gcc-bugs mailing list