[all-commits] [llvm/llvm-project] 2c31bc: [flang][Semantics][OpenMP] Fix ICE for unknown red...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Wed Jun 5 03:26:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2c31bc7c0455e2167dcaef6b284cb0574406fc72
https://github.com/llvm/llvm-project/commit/2c31bc7c0455e2167dcaef6b284cb0574406fc72
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-06-05 (Wed, 05 Jun 2024)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
A flang/test/Semantics/OpenMP/reduction13.f90
Log Message:
-----------
[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.
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