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
integer, pointer:: a
integer:: arr(20,10)
integer:: i
!$omp simd lastprivate(i)do a =1, 10do i = a, 20
arr(i, a) = i + a
end doend do
end
Compilation error:
$ flang-new -fopenmp test.f90flang-20: warning: OpenMP support in flang is still experimental [-Wexperimental-option]warning: loc("/tmp/test.f90":1:1): OpenMP loop iteration variable cannot have more than 64 bits size and will be narrowed into 64 bits.warning: loc("/tmp/test.f90":1:1): OpenMP loop iteration variable cannot have more than 64 bits size and will be narrowed into 64 bits.error: loc("/tmp/test.f90":5:7): 'fir.store' op store value type must match memory reference typeerror: verification of lowering to FIR failed
The text was updated successfully, but these errors were encountered:
Reproducible on Godbolt:
https://godbolt.org/z/j6o13x97x
Reproducer:
integer, pointer:: a
integer:: arr(20,10)
integer:: i
!$omp simd lastprivate(i)do a =1, 10do i = a, 20
arr(i, a) = i + a
end doend do
end
Compilation error:
$ flang-new -fopenmp test.f90flang-20: warning: OpenMP support in flang is still experimental [-Wexperimental-option]warning: loc("/tmp/test.f90":1:1): OpenMP loop iteration variable cannot have more than 64 bits size and will be narrowed into 64 bits.warning: loc("/tmp/test.f90":1:1): OpenMP loop iteration variable cannot have more than 64 bits size and will be narrowed into 64 bits.error: loc("/tmp/test.f90":5:7): 'fir.store' op store value type must match memory reference typeerror: verification of lowering to FIR failed
Reproducible on Godbolt:
https://godbolt.org/z/j6o13x97x
Reproducer:
Compilation error:
The text was updated successfully, but these errors were encountered: