(read_specs): Make a null entry at end of `compilers' when reading new
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 5 Oct 1993 20:25:24 +0000 (16:25 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 5 Oct 1993 20:25:24 +0000 (16:25 -0400)
entry from file.

From-SVN: r5615

gcc/gcc.c

index 5903b0471647e05ab4b9eb06ef862fee702d9d25..99e8d2c0052b1802406a0443a2f5e38263fdd822 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -950,6 +950,7 @@ read_specs (filename)
                 sizeof compilers[n_compilers].spec);
          compilers[n_compilers].spec[0] = spec;
          n_compilers++;
+         bzero (compilers[n_compilers], sizeof compilers[n_compilers]);
        }
 
       if (*suffix == 0)