Commit be621856 by Jakub Jelinek Committed by Jakub Jelinek

dwarf2out.c (gen_variable_die): Remove again origin_die variable and its initialization.

	* dwarf2out.c (gen_variable_die): Remove again origin_die variable
	and its initialization.

From-SVN: r241759
parent 04ec7059
2016-11-01 Jakub Jelinek <jakub@redhat.com>
* dwarf2out.c (gen_variable_die): Remove again origin_die variable
and its initialization.
2016-11-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2016-11-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dwarf2out.c (output_rnglists): Wrap basebuf, len in * dwarf2out.c (output_rnglists): Wrap basebuf, len in
...@@ -22451,7 +22451,6 @@ gen_variable_die (tree decl, tree origin, dw_die_ref context_die) ...@@ -22451,7 +22451,6 @@ gen_variable_die (tree decl, tree origin, dw_die_ref context_die)
tree ultimate_origin; tree ultimate_origin;
dw_die_ref var_die; dw_die_ref var_die;
dw_die_ref old_die = decl ? lookup_decl_die (decl) : NULL; dw_die_ref old_die = decl ? lookup_decl_die (decl) : NULL;
dw_die_ref origin_die = NULL;
bool declaration = (DECL_EXTERNAL (decl_or_origin) bool declaration = (DECL_EXTERNAL (decl_or_origin)
|| class_or_namespace_scope_p (context_die)); || class_or_namespace_scope_p (context_die));
bool specialization_p = false; bool specialization_p = false;
...@@ -22627,7 +22626,7 @@ gen_variable_die (tree decl, tree origin, dw_die_ref context_die) ...@@ -22627,7 +22626,7 @@ gen_variable_die (tree decl, tree origin, dw_die_ref context_die)
var_die = new_die (DW_TAG_variable, context_die, decl); var_die = new_die (DW_TAG_variable, context_die, decl);
if (origin != NULL) if (origin != NULL)
origin_die = add_abstract_origin_attribute (var_die, origin); add_abstract_origin_attribute (var_die, origin);
/* Loop unrolling can create multiple blocks that refer to the same /* Loop unrolling can create multiple blocks that refer to the same
static variable, so we must test for the DW_AT_declaration flag. static variable, so we must test for the DW_AT_declaration flag.
......
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