2017-08-28 Richard Biener <rguenther@suse.de>
PR debug/81993
* dwarf2out.c (gen_remaining_tmpl_value_param_die_attributes):
Do nothing for removed DIEs.
From-SVN: r251382
+2017-08-28 Richard Biener <rguenther@suse.de>
+
+ PR debug/81993
+ * dwarf2out.c (gen_remaining_tmpl_value_param_die_attributes):
+ Do nothing for removed DIEs.
+
2017-08-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/81977
j = 0;
FOR_EACH_VEC_ELT (*tmpl_value_parm_die_table, i, e)
{
- if (!tree_add_const_value_attribute (e->die, e->arg))
+ if (!e->die->removed
+ && !tree_add_const_value_attribute (e->die, e->arg))
{
dw_loc_descr_ref loc = NULL;
if (! early_dwarf