This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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.


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


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