forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
The following code hits an assert when CFGConversion pass is run:
subroutine sub(n, c, a, b)
implicit none
integer :: n
real :: a(n), b(n), c(n)
intent(in) :: a, b
intent(out) :: c
integer :: i
do i = 1, n
c(i) = a(i) + b(i)
end do
end subroutine sub
Command: bbc f1.f90 -debug --pass-pipeline --cfg-conversion
Log
%29 = fir.do_loop bbc: /home/rpenacob/llvm-mono/llvm/include/llvm/ADT/ilist_iterator.h:138: llvm::ilist_iterator::reference llvm::ilist_iterator<llvm::ilist_detail::node_options<mlir::Block, true, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<mlir::Block, true, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
PLEASE submit a bug report to mailto:[email protected] and include the crash backtrace.
Stack dump:
0. Program arguments: ./bin/bbc f1.f90 -debug --pass-pipeline --cfg-conversion
Metadata
Metadata
Assignees
Labels
No labels