https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101633
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- https://gcc.gnu.org/pipermail/gcc-patches/2017-May/474657.html : ... >> 2017-05-15 Richard Biener <rguent...@suse.de> >> >> * dwarf2out.c (loc_list_from_tree_1): Do not create >> DW_OP_GNU_variable_value for DECL_IGNORED_P decls. > > Can you verify it e.g. in a bootstrapped cc1plus doesn't change the debug info > (except for dwarf2out.o itself)? > It looks reasonable and it would surprise me if did, just want to be sure. Done. Note it only happened for Ada. ... Heh, indeed it did.