summaryrefslogtreecommitdiff
path: root/gcc/fortran/lang-specs.h
diff options
context:
space:
mode:
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-27 14:43:53 +0000
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-27 14:43:53 +0000
commited19cf5fc538186760857a92c7831a5cea76fed7 (patch)
tree6c55915b78e3302db29bd664156a7c2685709ba3 /gcc/fortran/lang-specs.h
parent59a4f90ede914aa0edb6127a7f4c9e34f4617479 (diff)
downloadgcc-ed19cf5fc538186760857a92c7831a5cea76fed7.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129680 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/lang-specs.h')
-rw-r--r--gcc/fortran/lang-specs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/fortran/lang-specs.h b/gcc/fortran/lang-specs.h
index 4a20242df7f..4f752ec657f 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},