aboutsummaryrefslogtreecommitdiff
path: root/gcc/cccp.c
diff options
context:
space:
mode:
authorThomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>1997-10-01 06:22:46 +0000
committerJeff Law <law@gcc.gnu.org>1997-10-01 00:22:46 -0600
commitd3878e494800f87eb4db2cc00a1f46d0703d7468 (patch)
treea78c9dd04605065e9633ce31373c5876b7a9622f /gcc/cccp.c
parent135d84b899821023216f95edd454ef108286f903 (diff)
downloadgcc-d3878e494800f87eb4db2cc00a1f46d0703d7468.zip
gcc-d3878e494800f87eb4db2cc00a1f46d0703d7468.tar.gz
gcc-d3878e494800f87eb4db2cc00a1f46d0703d7468.tar.bz2
* cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
From-SVN: r15817
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r--gcc/cccp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index 9a1108e..8df72f2 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -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;});