This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] Ignore -ffixed-line-length-none in cc1
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 15 Nov 2005 14:20:31 -0500
- Subject: [PATCH, committed] Ignore -ffixed-line-length-none in cc1
Fortran options can be passed to cc1 as part of
COLLECT_GCC_OPTIONS when collect2 creates constructors and destructors as
a C file instead of a linker section. CC1 previously ignored
-ffixed-line-length- , but did not ignore -ffixed-line-length-none,
causing errors because the gfortran lang.opt file specified the former a
Joined UInteger, which cc1 inherited. This patch defines the additional
variant as a nop for cc1 so that it similarly is accepted and ignored.
Committed as obvious.
David
* c.opt (ffixed-line-length-none): New.
Index: c.opt
===================================================================
*** c.opt (revision 107035)
--- c.opt (working copy)
*************** C++ ObjC++
*** 510,515 ****
--- 510,518 ----
ffixed-form
C ObjC
+ ffixed-line-length-none
+ C ObjC
+
ffixed-line-length-
C ObjC Joined