[Bug debug/96690] [10/11 Regression] ICE in write_type since r10-6087

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 24 11:58:19 GMT 2020


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Without LTO, gen_remaining_tmpl_value_param_die_attribute will try to get it,
and will mangle the foo decl, but shortly after will throw it away due to
const_ok_for_output failing on it.
Your patch makes sense to me.


More information about the Gcc-bugs mailing list