aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2008-01-07 22:23:40 +0000
committerDiego Novillo <dnovillo@google.com>2008-01-07 22:23:40 +0000
commitb33a51d8441c685917bbeb1a023d79e2cac6d736 (patch)
tree8bc485d4c12664de62c38e710dc4691a16aea3be
parent0e58b43b5ef11adac4d6d880237c5dba6172ed30 (diff)
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
-rw-r--r--gcc/ChangeLog.lto7
-rw-r--r--gcc/dwarf2.h2
-rw-r--r--gcc/dwarf2out.c2
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 <dnovillo@google.com>
+
+ 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 <froydnj@codesourcery.com>
* 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)