https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65771
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 35334 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35334&action=edit gcc5-pr65771.patch Untested fix. Though, of course this is too risky for the 5 branch at this point, and giving up on DEBUG_EXPR_DECL there is desirable too. So I'll test that first, and this patch only afterwards for the trunk only.