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
{{ message }}
Repository navigation
[flang][OpenMP] Null Symbol reference in ResolveSeqLoopIndexInParallelOrTaskConstruct for an undeclared I/O implied-DO index under IMPLICIT NONE inside PARALLEL DEFAULT(NONE) #239946
Details
The following code:
```fortran
subroutine s
implicit none
real :: a(10)
!$omp parallel default(none) shared(a)
read(5,*) (a(i),i=1,10)
!$omp end parallel
end
```
Activity
llvmorg-github-actions commentedon Nov 7, 2026
@llvm/issue-subscribers-flang-frontend
Author: Jiang Yuancheng (YuanchengJiang)
Details
The following code: ```fortran subroutine s implicit none real :: a(10) !$omp parallel default(none) shared(a) read(5,*) (a(i),i=1,10) !$omp end parallel end ```Resulted in this output:
Trunk reproducer (
-fsyntax-only -fopenmp): https://godbolt.org/z/G136daxcb