https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69796
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|bernds at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 37804 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37804&action=edit gcc6-pr69796-1.patch As the other PRs clearly show, the middle-end is simply unprepared to have error_mark_node type on the VAR_DECLs appearing so late in the IL. So, IMHO we have two options, either set TREE_TYPE to some random other valid type, as this patch...