aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2000-12-01 19:23:17 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2000-12-01 19:23:17 +0000
commitae24178a97a0cf3556e97aa1be62ad6cd01c2404 (patch)
tree47fb100b5fb4c96f4163a5490a8157462aef52dd
parentc7b828331c353fcda3db1fd0ece39ebe4de41236 (diff)
downloadgcc-ae24178a97a0cf3556e97aa1be62ad6cd01c2404.zip
gcc-ae24178a97a0cf3556e97aa1be62ad6cd01c2404.tar.gz
gcc-ae24178a97a0cf3556e97aa1be62ad6cd01c2404.tar.bz2
gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and .FPP.
* gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and .FPP. From-SVN: r37921
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gcc.c11
2 files changed, 11 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 72e27f7..1f16512 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/gcc.c b/gcc/gcc.c
index aaf46b9..d3066b9 100644
--- 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"},