OSDN Git Service

(do_include): Avoid dynamic initialization of aggregate.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Dec 1994 22:03:42 +0000 (22:03 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Dec 1994 22:03:42 +0000 (22:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8643 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cccp.c

index f276193..0c73637 100644 (file)
@@ -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) {