aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorpeter klausler <pklausler@nvidia.com>2020-08-31 10:45:37 -0700
committerpeter klausler <pklausler@nvidia.com>2020-08-31 13:34:28 -0700
commit646f19bb9dc86ea5baf38969697a15d0f162ddb0 (patch)
tree945c4e04ccf2f1ead6fec33bdb2164dc843a6497 /llvm/lib/Support/VirtualFileSystem.cpp
parent8931add6170508704007f1a410993e6aec879c01 (diff)
downloadllvm-646f19bb9dc86ea5baf38969697a15d0f162ddb0.zip
llvm-646f19bb9dc86ea5baf38969697a15d0f162ddb0.tar.gz
llvm-646f19bb9dc86ea5baf38969697a15d0f162ddb0.tar.bz2
[flang] Format label scope is independent of block scope
Compilation of the following program currently generates a warning message: i = 1 if (i .eq. 0) then write(6, 200) i 200 format (I8) end if write(6, 200) i end x.f90:6:9: Label '200' is not in scope write(6, 200) i ^^^^^^^^^^^^^^^ Whereas branch targets must conform to the Clause 11.1.2.1 program requirement "Transfer of control to the interior of a block from outside the block is prohibited, ...", this doesn't apply to format statement references.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions