From b33a51d8441c685917bbeb1a023d79e2cac6d736 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Mon, 7 Jan 2008 22:23:40 +0000 Subject: http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00263.html * dwarf2out.c (force_decl_die): Initialize SAVED_IGNORED_FLAG. * dwarf2.h (enum dwarf_type): Remove trailing comma. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/lto@131387 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog.lto | 7 +++++++ gcc/dwarf2.h | 2 +- gcc/dwarf2out.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog.lto b/gcc/ChangeLog.lto index e60ad1f3213..ba6f87c6790 100644 --- a/gcc/ChangeLog.lto +++ b/gcc/ChangeLog.lto @@ -1,3 +1,10 @@ +2008-01-07 Diego Novillo + + http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00263.html + + * dwarf2out.c (force_decl_die): Initialize SAVED_IGNORED_FLAG. + * dwarf2.h (enum dwarf_type): Remove trailing comma. + 2007-12-29 Nathan Froyd * collect2.c (scan_prog_file): Read all the output when reading diff --git a/gcc/dwarf2.h b/gcc/dwarf2.h index 453a7a269d7..bf826433b05 100644 --- a/gcc/dwarf2.h +++ b/gcc/dwarf2.h @@ -584,7 +584,7 @@ enum dwarf_type DW_ATE_HP_imaginary_float128 = 0x86, /* GNU extensions. */ DW_ATE_GNU_complex_signed = 0x87, /* Complex signed int. */ - DW_ATE_GNU_complex_unsigned = 0x88, /* Complex unsigned int. */ + DW_ATE_GNU_complex_unsigned = 0x88 /* Complex unsigned int. */ }; #define DW_ATE_lo_user 0x80 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 1c2d89e5e0b..bfa610a28f1 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -13538,7 +13538,7 @@ force_decl_die (tree decl) { dw_die_ref decl_die; unsigned saved_external_flag; - unsigned saved_ignored_flag; + unsigned saved_ignored_flag = 0; tree save_fn = NULL_TREE; decl_die = lookup_decl_die (decl); if (!decl_die) -- cgit v1.2.3