[all-commits] [llvm/llvm-project] 581b65: [flang][OpenMP] Add semantics test: named COMMON +...
Krish Gupta via All-commits
all-commits at lists.llvm.org
Thu Oct 16 08:31:30 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 581b654f4005a5fd1389dc93fd97be03a5329edf
https://github.com/llvm/llvm-project/commit/581b654f4005a5fd1389dc93fd97be03a5329edf
Author: Krish Gupta <krishom70 at gmail.com>
Date: 2025-10-16 (Thu, 16 Oct 2025)
Changed paths:
A flang/test/Semantics/OpenMP/omp-common-fp-lp.f90
Log Message:
-----------
[flang][OpenMP] Add semantics test: named COMMON + member with firstprivate+lastprivate is valid (#162234)
This adds a positive semantics test showing that:
- A named COMMON block in a clause is equivalent to listing all explicit
members.
- The same list item may appear in both firstprivate and lastprivate on
the same construct.
The reporter example in #162033 therefore conforms to OpenMP and Flang
is correct to accept it. This test documents and locks in that behavior
to avoid regressions.
<img width="1606" height="350" alt="image"
src="https://github.com/user-attachments/assets/0b464c58-b9cc-43e0-8d1f-1c5a5b993bf6"
/>
Co-authored-by: Krish Gupta <krishgupta at Krishs-MacBook-Air.local>
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