https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96690
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Target Milestone|--- |10.3 Last reconfirmed| |2020-08-18 CC| |hubicka at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The problem is that free_lang_data marks the const qualified int type, but does not mark the non-qualified int type and we then later try to mangle something and ICE during the mangling, where mangler asserts that TYPE_MAIN_VARIANT of the qualified types it is given are non-qualified (in particular different from the qualified type).