aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-12-10 17:03:42 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-12-10 17:03:42 -0500
commit9dff20283a4f7ed3a6c0e476b39613a3253dd2eb (patch)
treee2cbb39452009347f06cf3ce4414a3fd9db9d9ff /gcc
parentf723f6ef7b01c433f92430d1626aa7b56d34c3eb (diff)
downloadgcc-9dff20283a4f7ed3a6c0e476b39613a3253dd2eb.zip
gcc-9dff20283a4f7ed3a6c0e476b39613a3253dd2eb.tar.gz
gcc-9dff20283a4f7ed3a6c0e476b39613a3253dd2eb.tar.bz2
(do_include): Avoid dynamic initialization of aggregate.
From-SVN: r8643
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cccp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index f276193..0c73637 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -4200,8 +4200,10 @@ get_filename:
/* Expand buffer and then remove any newline markers.
We can't just tell expand_to_temp_buffer to omit the markers,
since it would put extra spaces in include file names. */
- FILE_BUF trybuf = expand_to_temp_buffer (buf, limit, 1, 0);
- U_CHAR *src = trybuf.buf;
+ FILE_BUF trybuf;
+ U_CHAR *src;
+ trybuf = expand_to_temp_buffer (buf, limit, 1, 0);
+ src = trybuf.buf;
buf = (U_CHAR *) alloca (trybuf.bufp - trybuf.buf + 1);
limit = buf;
while (src != trybuf.bufp) {