aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>2005-11-16 11:58:41 +0100
committerTobias Schlüter <tobi@gcc.gnu.org>2005-11-16 11:58:41 +0100
commit80a0c50a3cd4f36e66159b964c45bde02930c1e7 (patch)
tree0af5422f6aaf67164e3c8bd7c0567491519d18dc
parent1367ca38617767bcb2d3733d57863d897742e274 (diff)
downloadgcc-80a0c50a3cd4f36e66159b964c45bde02930c1e7.zip
gcc-80a0c50a3cd4f36e66159b964c45bde02930c1e7.tar.gz
gcc-80a0c50a3cd4f36e66159b964c45bde02930c1e7.tar.bz2
re PR fortran/24357 (whither ratfor?)
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
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/doc/invoke.texi16
-rw-r--r--gcc/gcc.c5
3 files changed, 18 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 21765a2..86d9228 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 616caef..1f430bb 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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
diff --git a/gcc/gcc.c b/gcc/gcc.c
index a644d08..e339c68 100644
--- 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},