------- 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