aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@arm.com>2024-06-05 11:26:34 +0100
committerGitHub <noreply@github.com>2024-06-05 11:26:34 +0100
commit2c31bc7c0455e2167dcaef6b284cb0574406fc72 (patch)
treee84fac6ef23e115efdfbe3b397f602728c28c7ad /flang/lib/Frontend/CompilerInvocation.cpp
parent05e1b5340b0caf19ef2f8323b84082c389850720 (diff)
downloadllvm-2c31bc7c0455e2167dcaef6b284cb0574406fc72.zip
llvm-2c31bc7c0455e2167dcaef6b284cb0574406fc72.tar.gz
llvm-2c31bc7c0455e2167dcaef6b284cb0574406fc72.tar.bz2
[flang][Semantics][OpenMP] Fix ICE for unknown reduction starting with . (#94398)
In this case the union inside of the `parser::DefinedOperator` contains a string name instead of the expected `parser::DefinedOperator::IntrinsicOperator`. This led to a `std::abort`. This patch adapts the code so that if it contains a string name we emit a semantic error.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions