Issue |
143842
|
Summary |
'omp.flush' op operand #0 must be variadic of OpenMP-compatible variable type
|
Labels |
openmp
|
Assignees |
|
Reporter |
Thirumalai-Shaktivel
|
Issue faced while building AROME with llvm-flang:
For the below test case:
``` fortran
module mymod
type myt1
integer(kind=4) :: t=0
end type myt1
contains
subroutine sub(myt)
class(myt1),intent(inout) :: myt
!$omp flush(myt)
end subroutine
end module
```
Error :
```
error: loc("/app/example.f90":8:1): 'omp.flush' op operand #0 must be variadic of OpenMP-compatible variable type, but got '!fir.class<!fir.type<_QMmymodTmyt1{t:i32}>>'
error: verification of lowering to FIR failed
Compiler returned: 1
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs