re PR debug/65807 (ICE () on powerpc64le-linux-gnu)
authorJakub Jelinek <jakub@redhat.com>
Mon, 20 Apr 2015 13:30:01 +0000 (15:30 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 20 Apr 2015 13:30:01 +0000 (15:30 +0200)
PR debug/65807
* dwarf2out.c (add_AT_wide): Clear attr.dw_attr_val.val_entry.

From-SVN: r222232

gcc/ChangeLog
gcc/dwarf2out.c

index 09d11ff4f015b5e9d492c9be64596a339d774892..a1776c4eee7b8085c69c523adfb80629619262e0 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * gimple-fold.h (gimple_build): Remove optional valueize arguments.
index 3f29db3352018bf2db66148e64ac44de065a618e..a04e6f67314727a159ad6af1e89c4ce140ea87f0 100644 (file)
@@ -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<wide_int> ();
   *attr.dw_attr_val.v.val_wide = w;
   add_dwarf_attr (die, &attr);