diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-02-11 21:49:05 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-02-11 21:49:05 +0100 |
commit | ed5bdeb6c253407cc64268a8163eeae2be43daae (patch) | |
tree | 2fc7e13fbeee149a7a3d98cebd019a98a8f41251 /gcc/c-pch.c | |
parent | 709d7160dbfe86dd5d6a33e6680c2eb37e0b9119 (diff) | |
download | gcc-ed5bdeb6c253407cc64268a8163eeae2be43daae.zip gcc-ed5bdeb6c253407cc64268a8163eeae2be43daae.tar.gz gcc-ed5bdeb6c253407cc64268a8163eeae2be43daae.tar.bz2 |
* c-pch.c (pch_init): Clear v.
From-SVN: r156724
Diffstat (limited to 'gcc/c-pch.c')
-rw-r--r-- | gcc/c-pch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-pch.c b/gcc/c-pch.c index abdf4ab..8433f86 100644 --- a/gcc/c-pch.c +++ b/gcc/c-pch.c @@ -1,5 +1,5 @@ /* Precompiled header implementation for the C languages. - Copyright (C) 2000, 2002, 2003, 2004, 2005, 2007, 2008, 2009 + Copyright (C) 2000, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -134,6 +134,7 @@ pch_init (void) gcc_assert (memcmp (executable_checksum, no_checksum, 16) != 0); + memset (&v, '\0', sizeof (v)); v.debug_info_type = write_symbols; { size_t i; |