| Issue |
173332
|
| Summary |
[flang][OpenMP] fails to compile OpenMP parallel do simd with linear clause on INTEGER(8) variable
|
| Labels |
crash,
flang:openmp
|
| Assignees |
|
| Reporter |
k-arrows
|
Reproducer:
https://godbolt.org/z/Th44q4cK9
```f90
integer(8) :: i, j
!$omp parallel do simd linear(j)
do i = 1,100,1
end do
!$omp end parallel do simd
end
```
With assertion-enabled flang, compiling the above reproducer hits the following assertion failure:
```txt
llvm-project/llvm/lib/IR/Instructions.cpp:2706: static llvm::BinaryOperator *llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value *, llvm::Value *, const llvm::Twine &, llvm::InsertPosition): Assertion `S1->getType() == S2->getType() && "Cannot create binary operator with two operands of differing type!"' failed.
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs