aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>2006-06-24 18:06:28 +0200
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2006-06-24 16:06:28 +0000
commit8fa36578242417c8fe58f9c513bc3995a69393d9 (patch)
treed19e47213585cb198d9960fc7bd39bcf0faa2eb4 /gcc
parenta253223291869e8fa35be071cc15b6871a8bf4de (diff)
downloadgcc-8fa36578242417c8fe58f9c513bc3995a69393d9.zip
gcc-8fa36578242417c8fe58f9c513bc3995a69393d9.tar.gz
gcc-8fa36578242417c8fe58f9c513bc3995a69393d9.tar.bz2
re PR fortran/23862 (Select Fortran source form appropriately for "-pipe")
PR fortran/23862 * lang-specs.h (f95-cpp-input): Pass -ffree-form to f951 unless -ffixed-form is explicitly specified. From-SVN: r114970
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/lang-specs.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 39e0209..af4b5e9 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/23862
+ * lang-specs.h (f95-cpp-input): Pass -ffree-form to f951 unless
+ -ffixed-form is explicitly specified.
+
2006-06-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/28118
diff --git a/gcc/fortran/lang-specs.h b/gcc/fortran/lang-specs.h
index 55c4d1e..caf4b1b 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},