PATCH COMMITTED: fill out initializers for new entries in gcc.c

Ian Lance Taylor ian@wasabisystems.com
Thu May 13 14:39:00 GMT 2004


This patch fills out the initializers for the newly added FORTRAN
entries in the default_compilers array in gcc.c.  This avoids some
warnings.

Committed as obvious.

Ian

Index: gcc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
retrieving revision 1.419
diff -p -u -r1.419 gcc.c
--- gcc.c	13 May 2004 06:39:40 -0000	1.419
+++ gcc.c	13 May 2004 14:06:49 -0000
@@ -921,8 +921,9 @@ static const struct compiler default_com
   {".CPP", "#C++", 0, 0, 0}, {".ii", "#C++", 0, 0, 0},
   {".ads", "#Ada", 0, 0, 0}, {".adb", "#Ada", 0, 0, 0},
   {".f", "#Fortran", 0, 0, 0}, {".for", "#Fortran", 0, 0, 0}, 
-  {".F", "#Fortran", 0}, {".FOR", "#Fortran", 0}, {".FPP", "#Fortran", 0},
-  {".f90", "#Fortran 95", 0}, {".f95", "#Fortran 95", 0},
+  {".F", "#Fortran", 0, 0, 0}, {".FOR", "#Fortran", 0, 0, 0},
+  {".FPP", "#Fortran", 0, 0, 0},
+  {".f90", "#Fortran 95", 0, 0, 0}, {".f95", "#Fortran 95", 0, 0, 0},
   {".fpp", "#Fortran", 0, 0, 0}, {".F", "#Fortran", 0, 0, 0}, 
   {".FOR", "#Fortran", 0, 0, 0}, {".FPP", "#Fortran", 0, 0, 0},
   {".r", "#Ratfor", 0, 0, 0},



More information about the Gcc-patches mailing list