This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18452] Fortran options induces warning for fortran that needs preprocessing
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2005 08:29:26 -0000
- Subject: [Bug fortran/18452] Fortran options induces warning for fortran that needs preprocessing
- References: <bug-18452-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from fxcoudert at gcc dot gnu dot org 2005-11-04 08:29 -------
Subject: Bug 18452
Author: fxcoudert
Date: Fri Nov 4 08:29:16 2005
New Revision: 106483
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106483
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-opts.c
trunk/gcc/c.opt
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/lang-specs.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18452