From 80a0c50a3cd4f36e66159b964c45bde02930c1e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Schl=C3=BCter?= Date: Wed, 16 Nov 2005 11:58:41 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 9 +++++++++ gcc/doc/invoke.texi | 16 +++++++--------- gcc/gcc.c | 5 ++--- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 21765a2e8a8..86d9228e494 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2005-11-16 Tobias Schl"uter + + 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 * 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 616caef0309..1f430bb0acc 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 a644d088671..e339c683d09 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}, -- 2.30.2