[all-commits] [llvm/llvm-project] b6521e: [flang][OpenMP] Show error for task depend with no...
Kajetan Puchalski via All-commits
all-commits at lists.llvm.org
Thu Jun 5 04:00:53 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b6521e8bb9cb1d1edb43d983e81513fb32a3b382
https://github.com/llvm/llvm-project/commit/b6521e8bb9cb1d1edb43d983e81513fb32a3b382
Author: Kajetan Puchalski <kajetan.puchalski at arm.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
A flang/test/Semantics/OpenMP/task-depend.f90
Log Message:
-----------
[flang][OpenMP] Show error for task depend with no valid modifiers (#142595)
If a "TASK DEPEND" clause is not given a valid task dependece type
modifier, the semantic checks for the clause will result in an ICE
because they assume that such modifiers will be present. Check whether
the modifiers are present and show an appropriate error instead of
crashing the compiler if they are not.
Fixes llvm#133678.
Signed-off-by: Kajetan Puchalski <kajetan.puchalski at arm.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list