From 38a4960f5d8ce30ce480e1a10fb56390861981e5 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 20 Apr 2015 15:30:01 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 09d11ff4f01..a1776c4eee7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-04-20 Jakub Jelinek + + PR debug/65807 + * dwarf2out.c (add_AT_wide): Clear attr.dw_attr_val.val_entry. + 2015-04-20 Richard Biener * gimple-fold.h (gimple_build): Remove optional valueize arguments. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 3f29db33520..a04e6f67314 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -3886,6 +3886,7 @@ add_AT_wide (dw_die_ref die, enum dwarf_attribute attr_kind, attr.dw_attr = attr_kind; 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 (); *attr.dw_attr_val.v.val_wide = w; add_dwarf_attr (die, &attr); -- 2.30.2