diff options
author | Tobias Burnus <burnus@net-b.de> | 2007-10-27 16:43:53 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2007-10-27 16:43:53 +0200 |
commit | 1200489c4624638d172b15bb9adb303867bc9639 (patch) | |
tree | 6c55915b78e3302db29bd664156a7c2685709ba3 /gcc/fortran/lang-specs.h | |
parent | 094817b07029ca9ce995a8b96c0527c781b0d8ad (diff) | |
download | gcc-1200489c4624638d172b15bb9adb303867bc9639.zip gcc-1200489c4624638d172b15bb9adb303867bc9639.tar.gz gcc-1200489c4624638d172b15bb9adb303867bc9639.tar.bz2 |
re PR fortran/33862 (Support .FTN file extension for Fortran fixed-format source files)
2007-10-27 Tobias Burnus <burnus@net-b.de>
PR fortran/33862
* lang-specs.h: Support .ftn and .FTN extension, use CPP for .FOR.
* options.c (form_from_filename): Support .ftn extension.
* gfortran.texi: Document support of .for and .ftn file extension.
From-SVN: r129680
Diffstat (limited to 'gcc/fortran/lang-specs.h')
-rw-r--r-- | gcc/fortran/lang-specs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/fortran/lang-specs.h b/gcc/fortran/lang-specs.h index 4a20242..4f752ec6 100644 --- a/gcc/fortran/lang-specs.h +++ b/gcc/fortran/lang-specs.h @@ -21,6 +21,8 @@ for the f95 language. */ {".F", "@f77-cpp-input", 0, 0, 0}, +{".FOR", "@f77-cpp-input", 0, 0, 0}, +{".FTN", "@f77-cpp-input", 0, 0, 0}, {".fpp", "@f77-cpp-input", 0, 0, 0}, {".FPP", "@f77-cpp-input", 0, 0, 0}, {"@f77-cpp-input", @@ -45,6 +47,6 @@ %{!nostdinc:-fintrinsic-modules-path finclude%s} %{!fsyntax-only:%(invoke_as)}}", 0, 0, 0}, {".f", "@f77", 0, 0, 0}, {".for", "@f77", 0, 0, 0}, -{".FOR", "@f77", 0, 0, 0}, +{".ftn", "@f77", 0, 0, 0}, {"@f77", "%{!E:f951 %i %{!ffree-form:-ffixed-form} %(cc1_options) %{J*} %{I*}\ %{!nostdinc:-fintrinsic-modules-path finclude%s} %{!fsyntax-only:%(invoke_as)}}", 0, 0, 0}, |