diff options
author | Richard Henderson <rth@redhat.com> | 2012-03-30 11:00:03 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2012-03-30 11:00:03 -0700 |
commit | 7b470faf618e2322d2fef5b38eb580e672ca5325 (patch) | |
tree | 601ebaaf2ae67e5058c6aaf95e6a164c867c8c93 | |
parent | 7ffeb78e28c38bea1fc55b5c8577bb4fda561991 (diff) | |
download | gcc-7b470faf618e2322d2fef5b38eb580e672ca5325.zip gcc-7b470faf618e2322d2fef5b38eb580e672ca5325.tar.gz gcc-7b470faf618e2322d2fef5b38eb580e672ca5325.tar.bz2 |
* dwarf2out.c (gen_variable_die): Initialize off.
From-SVN: r186016
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9f8ef90..6dd2058 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-03-30 Richard Henderson <rth@redhat.com> + + * dwarf2out.c (gen_variable_die): Initialize off. + 2012-03-30 Tristan Gingold <gingold@adacore.com> * config/vms/vms-f.c: New file. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 828e996..ca88fc5 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -17765,7 +17765,7 @@ common_block_die_table_eq (const void *x, const void *y) static void gen_variable_die (tree decl, tree origin, dw_die_ref context_die) { - HOST_WIDE_INT off; + HOST_WIDE_INT off = 0; tree com_decl; tree decl_or_origin = decl ? decl : origin; tree ultimate_origin; |