> 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  <ka...@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


Attachment: io_diagnostics.ChangeLog
Description: Binary data

Attachment: io_diagnostics.diff
Description: Binary data

Reply via email to