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