This is the mail archive of the gcc-patches@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]

[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
  


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