aboutsummaryrefslogtreecommitdiff
path: root/gcc/c.opt
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>2005-11-04 09:29:16 +0100
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2005-11-04 08:29:16 +0000
commita67ec6ab99c91c593138358b56dcc160aa09a015 (patch)
tree4d84eda381e6ccb216977e5d703d88994573c9d3 /gcc/c.opt
parent553ff21c96f1206b02864c070af7a0e19934c4c9 (diff)
downloadgcc-a67ec6ab99c91c593138358b56dcc160aa09a015.zip
gcc-a67ec6ab99c91c593138358b56dcc160aa09a015.tar.gz
gcc-a67ec6ab99c91c593138358b56dcc160aa09a015.tar.bz2
re PR fortran/18452 (Fortran options induces warning for fortran that needs preprocessing)
PR fortran/18452 * gcc/fortran/lang-specs.h: Pass -lang-fortran to the preprocessor. * gcc/c.opt: Add a -lang-fortran option. * gcc/c-opts.c: Add a lang_fortran flag. (c_common_init_options): Handling the -lang-fortran option. (c_common_handle_option): Add a case for Fortran options in preprocessing. Remove cases for -ffixed-form and -ffixed-line-length. Add a case for -lang-fortran. From-SVN: r106483
Diffstat (limited to 'gcc/c.opt')
-rw-r--r--gcc/c.opt3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c.opt b/gcc/c.opt
index eb01d32..3d95ca2 100644
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -781,6 +781,9 @@ C ObjC C++ ObjC++ Joined Separate
lang-asm
C Undocumented
+lang-fortran
+C Undocumented
+
lang-objc
C ObjC C++ ObjC++ Undocumented