gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and .FPP.
authorJoseph Myers <jsm28@cam.ac.uk>
Fri, 1 Dec 2000 19:23:17 +0000 (19:23 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 1 Dec 2000 19:23:17 +0000 (19:23 +0000)
* gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
.FPP.

From-SVN: r37921

gcc/ChangeLog
gcc/gcc.c

index 72e27f7d6f78700de1ab621a0f0785afcd8e5874..1f1651296bec9b84500a51a3bb8661804f868751 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
+       .FPP.
+
 2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
index aaf46b962bb9c1aba8e84b8eb00bcf8f9782d0ec..d3066b95e73f22a25a72aa285544a23b8400e87a 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -709,12 +709,13 @@ static struct compiler default_compilers[] =
      were not present when we built the driver, we will hit these copies
      and be given a more meaningful error than "file not used since
      linking is not done".  */
-  {".m",  "#Objective-C"},
-  {".cc", "#C++"}, {".cxx", "#C++"}, {".cpp", "#C++"},
-  {".c++", "#C++"}, {".C", "#C++"},
+  {".m",  "#Objective-C"}, {".mi",  "#Objective-C"},
+  {".cc", "#C++"}, {".cxx", "#C++"}, {".cpp", "#C++"}, {".cp", "#C++"},
+  {".c++", "#C++"}, {".C", "#C++"}, {".ii", "#C++"},
   {".ads", "#Ada"}, {".adb", "#Ada"}, {".ada", "#Ada"},
-  {".f", "#Fortran"}, {".for", "#Fortran"}, {".F", "#Fortran"},
-  {".fpp", "#Fortran"}, {".r", "#Ratfor"},
+  {".f", "#Fortran"}, {".for", "#Fortran"}, {".fpp", "#Fortran"},
+  {".F", "#Fortran"}, {".FOR", "#Fortran"}, {".FPP", "#Fortran"},
+  {".r", "#Ratfor"},
   {".p", "#Pascal"}, {".pas", "#Pascal"},
   {".ch", "#Chill"}, {".chi", "#Chill"},
   {".java", "#Java"}, {".class", "#Java"},