This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A weirdness in fortran/lang.opt, c.opt, and "cc1 --help".


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]