You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[flang][OpenMP] Add semantics test: named COMMON + member with firstprivate+lastprivate is valid (llvm#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 llvm#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 <[email protected]>
0 commit comments