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]

g77 -fixed-line-length-none -x f77-cpp-input -c blah.f


PR Fortran/9038 is about the following:

g77 -ffixed-line-length-none -x f77-cpp-input -c blah.f gives:
warning: unknown register name line-length-none.

Without the -x f77-cpp-input this doesn't happen; with it, it does, because on seeing -x f77-cpp-input g77 invokes cc1 to do the preprocessing (using the now builtin preprocessor).

Unfortunately, cc1 sees -ffixed-line-length-none and decides this is an option of the form -ffixed-<some register> and gives the warning.

How is this supposed to work ? (in this case it's a warning, but I can imagine more nasty things happening if cc1 tries to interpret other language processor's options).

Could one of the kings of spec provide some insight ?

Thanks in advance,

--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


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