[flang-commits] [flang] [clang] [libc] [clang-tools-extra] [compiler-rt] [llvm] Apply kind code check on exitstat and cmdstat (PR #78286)
Yi Wu via flang-commits
flang-commits at lists.llvm.org
Tue Jan 23 09:12:36 PST 2024
================
@@ -122,10 +122,22 @@ void RTNAME(ExecuteCommandLine)(const Descriptor &command, bool wait,
if (exitstat) {
RUNTIME_CHECK(terminator, IsValidIntDescriptor(exitstat));
+ auto exitstatKind{exitstat->type().GetCategoryAndKind()->second};
+ if (exitstatKind < 4) {
----------------
yi-wu-arm wrote:
Sorry I misunderstood your comment.
https://github.com/llvm/llvm-project/pull/78286
More information about the flang-commits
mailing list