diff options
author | Francois-Xavier Coudert <coudert@clipper.ens.fr> | 2005-11-04 09:29:16 +0100 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2005-11-04 08:29:16 +0000 |
commit | a67ec6ab99c91c593138358b56dcc160aa09a015 (patch) | |
tree | 4d84eda381e6ccb216977e5d703d88994573c9d3 /gcc/c.opt | |
parent | 553ff21c96f1206b02864c070af7a0e19934c4c9 (diff) | |
download | gcc-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.opt | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |