[flang-commits] [flang] [Flang][OpenMP] Do not flag OmpPreDetermined for module variables (PR #178226)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Tue Jan 27 09:19:33 PST 2026


tblah wrote:

Something like this leads me to think that the USE statement shadows any predetermined OpenMP variable, but I'm not very sure
```
module m
  integer :: M = 111
end module

program main
  integer :: M = 222
  print *,M
  BLOCK
    USE M
    print *,M
  END BLOCK
end program
```

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


More information about the flang-commits mailing list