llvm-project
d189201d - [Flang][OpenMP] Fix nested PARALLEL SECTIONS validation (#179419)

Commit
63 days ago
[Flang][OpenMP] Fix nested PARALLEL SECTIONS validation (#179419) ### Problem Flang’s OpenMP semantic checker was mistakenly rejecting valid nested constructs such as PARALLEL SECTIONS, PARALLEL DO, and other combined parallel work-sharing directives. The checker treated all work-sharing constructs identically and enforced the work-sharing region nesting rules, even for a combined parallel work-sharing construct that defined its own parallel region. This resulted in the checker reporting the use of nested PARALLEL SECTIONS within another parallel region as illegal OpenMP code ### Fixes: https://github.com/llvm/llvm-project/issues/179250 --------- Co-authored-by: Jay Satish Kumar Patel <kumarpat@pe31.hpc.amslabs.hpecorp.net>
Author
Parents
Loading