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]

Re: [Fortran, patch] Fix for PR fortran/26054: Gratuitous warning about Fortran 2003 features.


Janne Blomqvist wrote:

> Ok for trunk and 4.1, provided that you also update
> gfortran.texi. Currently it says:

> """

> There are currently two categories of @command{gfortran}
> extensions, those that provide functionality beyond that provided
> by any standard, and those that are supported by @command{gfortran}
> purely for backward compatibility with legacy compilers.  By default,
> @option{-std=3Dgnu} allows the compiler to accept both types of
> extensions, but to warn about the use of the latter.  Specifying
> either @option{-std=3Df95} or @option{-std=3Df2003} disables both types
> of extensions, and @option{-std=3Dlegacy} allows both without warning.

> """

> With your patch, this is no longer correct.

Now that I'm reading this again, with an eye to change it to reflect
the situation after my patch, I see that my patch actually doesn't
change anything that is addressed by this passage.

The only thing the patch does is to shut up the *default* warning about
Fortran 2003 features.  These are not features "that provide functionality
beyond that provided by any standard" nor features "that are supported ...
purely for backward compatibility with legace compilers".

So I'd prefer to let it stand as is.

Cheers,

-- 
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/
My next PC will have a crank


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