[flang-commits] [flang] [flang][cuda] Avoid crash by exiting the check if assignment is not usable (PR #89149)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Wed Apr 17 15:10:16 PDT 2024
================
@@ -488,6 +488,9 @@ void CUDAChecker::Enter(const parser::AssignmentStmt &x) {
}
const evaluate::Assignment *assign{semantics::GetAssignment(x)};
+ if (!assign)
----------------
clementval wrote:
Sure!
https://github.com/llvm/llvm-project/pull/89149
More information about the flang-commits
mailing list