Description
consider the following program
PROGRAM MAIN
REAL(KIND=4) :: A(10,10), B(10,10), C(10,10)
!$OMP SIMD PRIVATE(I,J)
DO I=1, SIZE(A,1)
DO J=1, SIZE(A,2)
C(I,J) = A(I,J) + B(I,J)
ENDDO
ENDDO
!$OMP END SIMD
END PROGRAM
$flang -openmp t1.f90
flang: /mnt/extendedspace2/shivaram/llvm_trunk2/llvm-project/flang/lib/Lower/OpenMP/OpenMP.cpp:753: mlir::Operation* createAndSetPrivatizedLoopVar(Fortran::lower::AbstractConverter&, mlir::Location, mlir::Value, const Fortran::semantics::Symbol*): Assertion `converter.isPresentShallowLookup(*sym) && "Expected symbol to be in symbol table."' failed.