[flang-commits] [flang] [flang][OpenMP] Fix the privatization of common blocks (PR #200446)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Fri Jun 12 03:13:30 PDT 2026


eugeneepshteyn wrote:

@luporl , it used to be that before this change compiling the code...
```
  subroutine s
    integer :: x
    common /c/ x
    !$omp declare target link(/c/, /c/)
  end
```
...would result in `error: 'c' appears in more than one data-sharing clause on the same OpenMP directive`. This error no longer happens. Is this intentional?

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


More information about the flang-commits mailing list