This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Remove -ffixed-line-length options from c.opt
- From: Brooks Moses <brooks dot moses at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 09 Nov 2006 18:30:53 -0800
- Subject: [patch] Remove -ffixed-line-length options from c.opt
As per my recent "A weirdness in fortran/lang.opt...." thread in the
fortran@ and gcc@ lists, it seems that the -ffixed-form,
-ffixed-line-length, and -ffixed-line-length-none options in c.opt are
vestiges of a time when the gfortran options weren't being properly
handled, and they currently serve no purpose except to erroneously move
the documentation of these options in the "cc1 --help" screen from the
"Fortran" section to the "C" section.
Thus, this patch removes them from c.opt. (Note that this has no effect
on Fortran, as they are defined in fortran/lang.opt.)
Tested with "make" and "make check" on i686-pc-linux-gnu. Ok for trunk?
---------------------------------------------------------------------
2006-10-09 Brooks Moses <brooks.moses@codesourcery.com>
* c.opt: Remove -ffixed-form, -ffixed-line-length-none, and
-ffixed-line-length-* options.
---------------------------------------------------------------------
- Brooks
Index: c.opt
===================================================================
--- c.opt (revision 118445)
+++ c.opt (working copy)
@@ -511,15 +511,6 @@
fexternal-templates
C++ ObjC++
-ffixed-form
-C ObjC
-
-ffixed-line-length-none
-C ObjC
-
-ffixed-line-length-
-C ObjC Joined
-
ffor-scope
C++ ObjC++
Scope of for-init-statement variables is local to the loop