diff options
author | Peter Klausler <pklausler@nvidia.com> | 2021-10-29 16:23:22 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2021-11-08 11:52:01 -0800 |
commit | 80f0bb5971e9a778e025d2bb91cbcb8b84a56d07 (patch) | |
tree | 9d4344e180a4b67e8728815ecaa6b1a19a8e017c /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 1837a837b36b075011c2616edfa20b8161e58a72 (diff) | |
download | llvm-80f0bb5971e9a778e025d2bb91cbcb8b84a56d07.zip llvm-80f0bb5971e9a778e025d2bb91cbcb8b84a56d07.tar.gz llvm-80f0bb5971e9a778e025d2bb91cbcb8b84a56d07.tar.bz2 |
[flang] Distinguish error/warning cases for bad jumps into constructs
Previously, jumps to labels in constructs from exterior statements
would elicit only a warning. Upgrade these to errors unless the
branch into the construct would enter into only DO, IF, and SELECT CASE
constructs, whose interiors don't scope variables or have other
set-up/tear-down semantics. Branches into these "safe" constructs
are still errors if they're nested in an unsafe construct that doesn't
also enclose the exterior branch statement.
Differential Revision: https://reviews.llvm.org/D113310
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions