summaryrefslogtreecommitdiff
path: root/gcc/fortran/lang-specs.h
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-24 16:06:28 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2006-06-24 16:06:28 +0000
commita37e21bdfb6824158fa9743d264000b551ee9200 (patch)
treed19e47213585cb198d9960fc7bd39bcf0faa2eb4 /gcc/fortran/lang-specs.h
parent6ca2b203e6fad7ee52252965272b2a95eb3452b4 (diff)
downloadgcc-a37e21bdfb6824158fa9743d264000b551ee9200.tar.gz
PR fortran/23862
* lang-specs.h (f95-cpp-input): Pass -ffree-form to f951 unless -ffixed-form is explicitly specified. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114970 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/lang-specs.h')
-rw-r--r--gcc/fortran/lang-specs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/lang-specs.h b/gcc/fortran/lang-specs.h
index 55c4d1ea19a..caf4b1b2114 100644
--- a/gcc/fortran/lang-specs.h
+++ b/gcc/fortran/lang-specs.h
@@ -22,7 +22,7 @@ This file is licensed under the GPL. */
"cc1 -E -lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN %(cpp_options) \
%{E|M|MM:%(cpp_debug_options)}\
%{!M:%{!MM:%{!E: -o %|.f95 |\n\
- f951 %|.f95 %(cc1_options) %{J*} %{I*}\
+ f951 %|.f95 %{!ffixed-form:-ffree-form} %(cc1_options) %{J*} %{I*}\
-fpreprocessed %{!nostdinc:-I finclude%s} %{!fsyntax-only:%(invoke_as)}}}}", 0, 0, 0},
{".f90", "@f95", 0, 0, 0},
{".f95", "@f95", 0, 0, 0},