OSDN Git Service

* c-pch.c (pch_init): Clear v.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Feb 2010 20:49:05 +0000 (20:49 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Feb 2010 20:49:05 +0000 (20:49 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156724 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-pch.c

index 049ca3f..f33279e 100644 (file)
@@ -1,3 +1,7 @@
+2010-02-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-pch.c (pch_init): Clear v.
+
 2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
 
        PR middle-end/42930
index abdf4ab..8433f86 100644 (file)
@@ -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;