This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g77 -fixed-line-length-none -x f77-cpp-input -c blah.f
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 04 Jan 2003 15:14:13 +0100
- Subject: g77 -fixed-line-length-none -x f77-cpp-input -c blah.f
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
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)