This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[Fortran, Patch] Add check for id=/asynchronous= constrain


This patch checks for two constrains in "9.5.1 Control information list" in the standard:

"ASYNCHRONOUS = scalar-char-initialization-expr"

"C926 (R913) If an ID= specifier appears, an ASYNCHRONOUS= specifier with the value YES shall also appear"

And it does:

a) Check that the asynchronous= specifier for data-transfer statements (viz. READ/WRITE) is an initialization expression.

b) Check that asynchronous= is given when an id= appears.

Built and regtesting on x86-64-linux.
OK for the trunk?

Tobias





Attachment: io.diff
Description: application/unknown


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