* cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
authorThomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
Wed, 1 Oct 1997 06:22:46 +0000 (06:22 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 1 Oct 1997 06:22:46 +0000 (00:22 -0600)
From-SVN: r15817

gcc/ChangeLog
gcc/cccp.c

index 7e107d86aa19cb82a007d7cea7c22336b1f26ba6..3143cebdeb0151c77dc2c438ed8b443f11a7586a 100644 (file)
@@ -4,7 +4,9 @@ Tue Sep 30 23:48:57 1997  Jeffrey A Law  (law@cygnus.com)
 
 Tue Sep 30 23:09:40 1997  Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
 
-       * haifa-sched.c: (get_block_head_tail) Remove unneeded initialization.
+       * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
+
+       * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
 
 Tue Sep 30 23:06:43 1997  Richard Henderson  <rth@cygnus.com>
 
index 9a1108e6d0f83731f79ed742942db1ffa5e99cd8..8df72f28b0369e8899f390ad6161e169241e0984 100644 (file)
@@ -3549,9 +3549,14 @@ expand_to_temp_buffer (buf, limit, output_marks, assertions)
 
   obuf.length = length * 2 + 100; /* Usually enough.  Why be stingy?  */
   obuf.bufp = obuf.buf = (U_CHAR *) xmalloc (obuf.length);
+  obuf.nominal_fname = 0;
+  obuf.inc = 0;
+  obuf.dir = 0;
   obuf.fname = 0;
   obuf.macro = 0;
+  obuf.if_stack = 0;
   obuf.free_ptr = 0;
+  obuf.system_header_p = 0;
 
   CHECK_DEPTH ({return obuf;});