[flang-commits] [flang] [flang][openmp] Add semantic checks in THREADPRIVATE/DECLARE TARGET (PR #209084)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Mon Jul 20 06:08:48 PDT 2026


kparzysz wrote:

> So far as I can tell, this restriction was removed in OpenMP 6.0, at least for declare target. Maybe one of our OpenMP standard experts should have a look.

The behavior of the **declare_target** directive is still only specified for variables with static storage duration.  The restriction requiring SAVE attribute wasn't necessary.

https://github.com/llvm/llvm-project/pull/209084


More information about the flang-commits mailing list