OSDN Git Service

* gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Dec 2000 19:23:17 +0000 (19:23 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Dec 2000 19:23:17 +0000 (19:23 +0000)
.FPP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37921 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index 72e27f7..1f16512 100644 (file)
@@ -1,5 +1,10 @@
 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
        incomplete element type.
        (grokparms): Before checking for incomplete parameter type, check
index aaf46b9..d3066b9 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"},