| Issue |
114166
|
| Summary |
[flang-new] run error caused by Arithmetic exception, which shouldn't happended.
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
keepyixiao
|
fortran source code
`program main
integer :: i, step, start_tep
i = 0
step = 1
start_step = 1
if(i > 0 .AND. step /= start_tep .AND. mod(step-1, i) == 0) then
i = i + 1
endif
write(*,*),i
end program main`
when I use the flang-new from master to compile and run this , error happended

llvm branch information

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs