[Bug c++/79050] [5/6/7 Regression] ICE: tree code 'template_type_parm' is not supported in LTO streams

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 13 11:58:00 GMT 2017


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #4)
> auto is something that needs to match dwarf2out.c is_cxx_auto, so needs to
> survive in the IL at least until the FE is done with it and until early
> dwarf creates DIEs for it.  I suppose afterwards we could throw it away
> (free_lang_data pass?).

I see.  So yes, FLD should throw it away then -- which means we'd need a
langhook that tells us whether to remove a BLOCK_vARS entry because it's
FE specific (or whether it's just for debug w/o locations).


More information about the Gcc-bugs mailing list