This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44457] Missing ASYNCHRONOUS constraint check
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2010 07:33:01 -0000
- Subject: [Bug fortran/44457] Missing ASYNCHRONOUS constraint check
- References: <bug-44457-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2010-06-10 07:33 -------
(In reply to comment #1)
> This should work (untested). However, ASYNCHRONOUS is F2003. Should one
> introduce standard-specific checks? The whole function seems to be agnostic in
> this respect?!
Well, if you have attr.asynchonous, you obviously use Fortran 200x. The version
check is done when parsing the file, i.e. the ASYNCHRONOUS attribute/statement
is rejected in decl.c. Thus, I do not see why one should add another version
check.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44457