aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-06-07 15:56:46 -0700
committerPeter Klausler <pklausler@nvidia.com>2022-06-13 11:42:55 -0700
commitee9c9170480a5f628846eb82d300e88d4add45d5 (patch)
tree3ae9935e4efddb9ee079ea6d636f4fcbb923844b /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parentbb1a52aa8be4b7032708e3cda46bb5656a364912 (diff)
downloadllvm-ee9c9170480a5f628846eb82d300e88d4add45d5.zip
llvm-ee9c9170480a5f628846eb82d300e88d4add45d5.tar.gz
llvm-ee9c9170480a5f628846eb82d300e88d4add45d5.tar.bz2
[flang] Fix bogus branch target error on END SELECT
The scope model used for branch target checking treats a label on an END SELECT statement as if it were in the previous CASE block. This makes it illegal to GO TO that label from within any earlier CASE block in that statement. Fix by treating the CASE blocks as nested scopes within the scope of the SELECT construct. Also, add a "warning:" tag to related warning messages. Differential Revision: https://reviews.llvm.org/D127425
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions