[flang-commits] [flang] [llvm] [flang][OpenMP] Overhaul implementation of ATOMIC construct (PR #137852)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Mon Jun 2 12:46:16 PDT 2025


kparzysz wrote:

I think this test should actually work.  The actual object that is updated is a simple scalar, even though it's an element of an allocatable object.  I believe that the restriction applies to objects that are themselves allocatable.

I added an additional check for whether the expression is an array access before declaring it as "allocatable".  With that, the gfortran test suite passed all tests.

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


More information about the flang-commits mailing list