[fortran, patch] Audit and patch of F95 and F2003 "non-default kind specifiers" warnings
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Jun 6 19:55:00 GMT 2014
On Fri, Jun 06, 2014 at 09:38:06PM +0200, FX wrote:
> > It seems that some of these extensions are not caught by -std=f95
>
> I?ve now audited the I/O specifiers for such warnings too. A warning existed only for EXIST, which was introduced way back by Steve:
>
> > 2010-07-05 Steven G. Kargl <kargl@gcc.gnu.org>
> >
> > PR fortran/44797
> > * fortran/io.c (resolve_tag): Check EXIST tag is a default logical.
>
> I?ve extended the logical warning to the NAMED, OPENED, and PENDING specifiers. I?ve also audited the integer specifiers, and extended the warning to NUMBER, NEXTREC, and RECL, which were missing.
>
> Bootstrapped and regtested on x86_64-apple-darwin13, OK to commit?
>
Yes.
--
Steve
More information about the Fortran
mailing list