genopinit.c (main): Output code to declare undefined variables.
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 8 Oct 2003 08:01:50 +0000 (08:01 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 8 Oct 2003 08:01:50 +0000 (08:01 +0000)
* genopinit.c (main): Output code to declare undefined
variables.

From-SVN: r72220

gcc/ChangeLog
gcc/genopinit.c

index 9f5ab54015098fb14e81bc83ac49c71d627f7cd6..e17b5ef6ff7fdf630976eda1688b46cceff9f40f 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * genopinit.c (main): Output code to declare undefined
+       variables.
+
 2003-10-07  Kelley Cook  <kcook@gcc.gnu.org>
 
        * gengtype-lex.l: Remove -Wtraditional cruft.
index 71fbbbf3621d81a552ce62389751747d5ca0ab8a..90d529a7689c21a7755f4b0c7fa04ecf1ebce286 100644 (file)
@@ -356,6 +356,11 @@ from the machine description file `md'.  */\n\n");
 
   printf ("void\ninit_all_optabs (void)\n{\n");
 
+  puts ("\
+#ifdef FIXUNS_TRUNC_LIKE_FIX_TRUNC\n\
+  int i, j;\n\
+#endif\n");
+
   /* Read the machine description.  */
 
   while (1)