[Fortran, patch] Fix for PR fortran/26054: Gratuitous warning about Fortran 2003 features.
Toon Moene
toon@moene.indiv.nluug.nl
Sat Feb 11 14:28:00 GMT 2006
FX wrote:
> >While I agree with you that no warning should be issued by default
> >about F2003 constructs, I think checking for the warning in the
> >testcases is indeed a good thing. Perhaps, instead of removing the
> >dg-warning directive in all the concerned testcases like you propose,
> >we could add a { dg-option "-std=f95" } directive in each of them?
> I'm not really familiar with the testing harness - I'm going to try
> this and report back.
Unfortunately, this doesn't work. With -std=f95, the Fortran 2003
features are errors, as they should be. Because you can't "lower"
-std=f95 to only warn about the new things, this means we have
to remove the warning checks from the test suite.
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
More information about the Fortran
mailing list