Commit 38a4960f by Jakub Jelinek Committed by Jakub Jelinek

re PR debug/65807 (ICE () on powerpc64le-linux-gnu)

	PR debug/65807
	* dwarf2out.c (add_AT_wide): Clear attr.dw_attr_val.val_entry.

From-SVN: r222232
parent c26de36d
2015-04-20 Jakub Jelinek <jakub@redhat.com>
PR debug/65807
* dwarf2out.c (add_AT_wide): Clear attr.dw_attr_val.val_entry.
2015-04-20 Richard Biener <rguenther@suse.de> 2015-04-20 Richard Biener <rguenther@suse.de>
* gimple-fold.h (gimple_build): Remove optional valueize arguments. * gimple-fold.h (gimple_build): Remove optional valueize arguments.
......
...@@ -3886,6 +3886,7 @@ add_AT_wide (dw_die_ref die, enum dwarf_attribute attr_kind, ...@@ -3886,6 +3886,7 @@ add_AT_wide (dw_die_ref die, enum dwarf_attribute attr_kind,
attr.dw_attr = attr_kind; attr.dw_attr = attr_kind;
attr.dw_attr_val.val_class = dw_val_class_wide_int; attr.dw_attr_val.val_class = dw_val_class_wide_int;
attr.dw_attr_val.val_entry = NULL;
attr.dw_attr_val.v.val_wide = ggc_alloc<wide_int> (); attr.dw_attr_val.v.val_wide = ggc_alloc<wide_int> ();
*attr.dw_attr_val.v.val_wide = w; *attr.dw_attr_val.v.val_wide = w;
add_dwarf_attr (die, &attr); add_dwarf_attr (die, &attr);
......
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