[Bug lto/85078] [8 Regression] LTO ICE: tree check: expected tree that contains 'decl minimal' structure, have 'identifier_node' in decl_mangling_context, at cp/mangle.c:878
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Apr 8 11:08:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85078
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
The problem is that we build type inheritance graph earlier and at that time
there are still virtual functions in the callgraph that are optimized out
before free-lang-data. Their types however remain in ODR hash and thus are
considered by devirtualization. I guess easiest fix is to simply rebuild ODR
hash. We could also walk it and free lang data on them, but I think that would
be just wasted effort.
Honza
More information about the Gcc-bugs
mailing list