Convert f77 to use opts.c.
Toon Moene
toon@moene.indiv.nluug.nl
Sun Jun 8 12:23:00 GMT 2003
Neil Booth wrote:
> This patch converts fortran to the new opts.c code. Switch handling
> should be more efficient now; it used to be a long chain of strcmps.
>
> This patch renames the existing option fnot-vxt to fno-vxt, I believe
> this was a typo as there was even a warning requesting the user to
> use fno-vxt. Also, -fugly and -Wno-all are added; previously only
> -fno-ugly and -Wall were accepted. The C front ends accept -Wno-all,
> so I thought I'd make it consistent, and I could see no good reason
> for the non-existence of fugly.
>
> Is this OK with you, Toon?
I have no qualms with this patch, so modulo solving the problems that
Andreas Jaeger detected, it's OK with me.
Renaming -fnot-vxt to fno-vxt is OK with me (most people would use the
positive form -ff90 anyway). The reason -fugly isn't supported is that
Craig wanted to discourage using non-Fortran 77 uses that g77 supports
(via the various -fugly-XXX options) by having users spell them all out.
Thanks !
--
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
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)
More information about the Gcc-patches
mailing list