https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84044
--- Comment #10 from Martin Liška <marxin at gcc dot gnu.org> --- > Thread model: posix > gcc version 9.0.0 20181110 (experimental) [trunk revision 266003] (Debian > 20181110-2) > > Regards, > Arnaud Giersch The warning appeared again on trunk in r265875 Author: hubicka * ipa-devirt.c (odr_types_equivalent_p): Expect constants than const decls in TREE_VALUE of enum. (dump_type_inheritance_graph): Improve duplicate dumping. (free_enum_values): New. (build_type_inheritance_graph): Use it. * tree.c (free_lang_data_in_type): Free TYPE_VALUES of enums which are not main variants or not ODR types. (verify_type_variant): Expect variants to have no TYPE_VALUES.