(j3.2006) statement labels and scope
Bill Long
longb
Thu Jan 14 15:56:00 EST 2016
In 3.2.5 Statement labels we say that a statement label shall not be given to more than one statement ?in its scope?. Since BLOCK constructs are scopes, if this is taken as stated, the following
subroutine sub
10 continue
block
10 continue
end block
end subroutine sub
should be conforming. In, instead, we actually meant ?inclusive scope?, then it would not be. Personally, I think that allowing this is preferred, and would not require a wording change. But I?m checking because I see inconsistent behavior with different compilers. (And this is in one of my clauses to read this time).
Cheers,
Bill
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
More information about the J3
mailing list