[flang-commits] [flang] [Flang][OpenMP] Warn about SAVE variables in MAP w/o ALWAYS modifier (PR #209134)

via flang-commits flang-commits at lists.llvm.org
Mon Jul 13 07:16:25 PDT 2026


https://github.com/agozillon approved this pull request.

The idea and implementation seems good to me, extremely happy to have more warning/error checking for map, so thank you for this. @kparzysz is likely the best reviewer for final approval as he's our semantic level guru :-)

As an aside, if this doesn't already cover the case, would it be feasible/make sense to have a similar warning for the declare target (I think it's specific to "TO/ENTER" if I remember correctly) case that falls into a similar category, where an ALWAYS needs to be emitted for any data updates to actually occur?

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


More information about the flang-commits mailing list