Issue 202329
Summary [flang][openmp] SIMD LINEAR plus COMMON leads to "error: symbol must have a type"
Labels flang:openmp
Assignees
Reporter sscalpone
    May have been introduced with #189170.

May be related to older issue #61651.

```
  subroutine sub(x)
    real :: x(:)
    integer :: b
 common/c/b
    !$omp simd linear(/c/)
      do i = 1, 10
        x(i) = x(i) * 2
      end do
    !$omp end simd
  end subroutine
```
```
% flang -c -fopenmp cb.f90
error: loc("/home/sscalpone/work/pgi/tests/nag/run/omp40/cb.f90":4:12): symbol must have a type
LLVM ERROR: aborting
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
...
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to