re PR fortran/24357 (whither ratfor?)
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Wed, 16 Nov 2005 10:58:41 +0000 (11:58 +0100)
committerTobias Schlüter <tobi@gcc.gnu.org>
Wed, 16 Nov 2005 10:58:41 +0000 (11:58 +0100)
PR 24357
* doc/invoke.texi: Distinguish between free and fixed form instead of
Fortran and Fortran 90/95.  Remove ratfor from the list of supported
languages.
* gcc.c (default_compilers): Remove double entries, add entries for
suffixes '.F90' and '.F95'.

From-SVN: r107078

gcc/ChangeLog
gcc/doc/invoke.texi
gcc/gcc.c

index 21765a2e8a8089ac6a54c96969865c7ab47c6151..86d9228e4947a6e36bdd94c2dd4c09468c919aa2 100644 (file)
@@ -1,3 +1,12 @@
+2005-11-16  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       PR 24357
+       * doc/invoke.texi: Distinguish between free and fixed form instead of
+       Fortran and Fortran 90/95.  Remove ratfor from the list of supported
+       languages.
+       * gcc.c (default_compilers): Remove double entries, add entries for
+       suffixes '.F90' and '.F95'.
+
 2005-11-16  Eric Botcazou <ebotcazou@adacore.com>
 
        * config/alpha/alpha.c (alpha_expand_prologue): Fix off-by-one bug
index 616caef0309ac197958000e4056d84ecfb619ca6..1f430bb0accbb517f9a75388983c9b06b4dce2c7 100644 (file)
@@ -854,25 +854,21 @@ C++ header file to be turned into a precompiled header.
 @item @var{file}.f
 @itemx @var{file}.for
 @itemx @var{file}.FOR
-Fortran source code which should not be preprocessed.
+Fixed form Fortran source code which should not be preprocessed.
 
 @item @var{file}.F
 @itemx @var{file}.fpp
 @itemx @var{file}.FPP
-Fortran source code which must be preprocessed (with the traditional
+Fixed form Fortran source code which must be preprocessed (with the traditional
 preprocessor).
 
-@item @var{file}.r
-Fortran source code which must be preprocessed with a RATFOR
-preprocessor (not included with GCC)@.
-
 @item @var{file}.f90
 @itemx @var{file}.f95
-Fortran 90/95 source code which should not be preprocessed.
+Free form Fortran source code which should not be preprocessed.
 
 @item @var{file}.F90
 @itemx @var{file}.F95
-Fortran 90/95 source code which must be preprocessed (with the
+Free form Fortran source code which must be preprocessed (with the
 traditional preprocessor).
 
 @c FIXME: Descriptions of Java file types.
@@ -896,6 +892,8 @@ package body).  Such files are also called @dfn{bodies}.
 @c Pascal:
 @c @var{file}.p
 @c @var{file}.pas
+@c Ratfor:
+@c @var{file}.r
 
 @item @var{file}.s
 Assembler code.
@@ -924,7 +922,7 @@ objective-c  objective-c-header  objective-c-cpp-output
 objective-c++ objective-c++-header objective-c++-cpp-output
 assembler  assembler-with-cpp
 ada
-f77  f77-cpp-input  ratfor
+f77  f77-cpp-input
 f95  f95-cpp-input
 java
 treelang
index a644d088671f54856117ffcf61547d8ee31595f5..e339c683d09064d03298bac4b10f925de65999be 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -926,11 +926,10 @@ static const struct compiler default_compilers[] =
   {".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, 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},
+  {".f90", "#Fortran", 0, 0, 0}, {".f95", "#Fortran", 0, 0, 0},
+  {".F90", "#Fortran", 0, 0, 0}, {".F95", "#Fortran", 0, 0, 0},
   {".r", "#Ratfor", 0, 0, 0},
   {".p", "#Pascal", 0, 0, 0}, {".pas", "#Pascal", 0, 0, 0},
   {".java", "#Java", 0, 0, 0}, {".class", "#Java", 0, 0, 0},