https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96668
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Tobias Burnus from comment #6) > Fixed for pointer/allocatable arrays. > > Still to be done: scalar pointers/allocatable; here, one needs to be careful > as pointer/always pointer is already used for, e.g., struct mapping – and > always pointer currently assumes that the pointer is already present > (assert; change?). > > Plus: ensure the refcounting works correctly. Plus: Check that '!$omp update to(a)' for a previously unallocated var works okay. (It probably does but needs to be checked.)