This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A weirdness in fortran/lang.opt, c.opt, and "cc1 --help".
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Brooks Moses <brooks dot moses at codesourcery dot com>
- Cc: fortran at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Wed, 08 Nov 2006 21:29:45 -0800
- Subject: Re: A weirdness in fortran/lang.opt, c.opt, and "cc1 --help".
- References: <4552BBB3.5010507@codesourcery.com>
On Wed, 2006-11-08 at 21:25 -0800, Brooks Moses wrote:
> -----------------------------------------------------------------------
> ffixed-line-length-none
> C ObjC
>
> ffixed-line-length-
> C ObjC Joined
> -----------------------------------------------------------------------
>
> Thus, when one runs "cc1 --help" or "f951 --help", these lines of
> documentation show up under the C section, not under the Fortran section.
We should be able to remove them from c.opt now after the patch in 2005:
2005-11-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR fortran/18452
* c.opt: Add a -lang-fortran option.
* 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.
Thanks,
Andrew Pinski