Commit 950904f8 by Richard Biener Committed by Richard Biener

re PR debug/81993 (-gsplit-dwarf removes some symbols, causing some undefined references)

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
parent 2aa8aa18
2017-08-28 Richard Biener <rguenther@suse.de> 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 PR tree-optimization/81977
* tree-ssa-sccvn.c (vn_reference_lookup_3): Fix look through * tree-ssa-sccvn.c (vn_reference_lookup_3): Fix look through
memcpy. memcpy.
......
...@@ -26037,7 +26037,8 @@ gen_remaining_tmpl_value_param_die_attribute (void) ...@@ -26037,7 +26037,8 @@ gen_remaining_tmpl_value_param_die_attribute (void)
j = 0; j = 0;
FOR_EACH_VEC_ELT (*tmpl_value_parm_die_table, i, e) 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; dw_loc_descr_ref loc = NULL;
if (! early_dwarf if (! early_dwarf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment