[fortran, patch] Audit and patch of F95 and F2003 "non-default kind specifiers" warnings
FX
fxcoudert@gmail.com
Fri Jun 6 19:38:00 GMT 2014
> 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?
FX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: io_diagnostics.ChangeLog
Type: application/octet-stream
Size: 389 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140606/1bb36e3f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: io_diagnostics.diff
Type: application/octet-stream
Size: 5463 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140606/1bb36e3f/attachment-0001.obj>
More information about the Fortran
mailing list