aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-pch.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-02-11 21:49:05 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2010-02-11 21:49:05 +0100
commited5bdeb6c253407cc64268a8163eeae2be43daae (patch)
tree2fc7e13fbeee149a7a3d98cebd019a98a8f41251 /gcc/c-pch.c
parent709d7160dbfe86dd5d6a33e6680c2eb37e0b9119 (diff)
downloadgcc-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.c3
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;