- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i stumbled upon an ICE with the Fortran Compiler 16.0.110. The following Code produces the error "fortcom: Fatal: There has been an internal compiler error (C0000005)."
! ifort.exe /nologo /Qopenmp /heap-arrays /module:obj\Release\ /c ICE_OMP_M.f90 /object:obj\Release\ICE_OMP_M.obj module test_mod type :: T_TYPE real :: matrix(500,500) ! happens with allocatable, too end type T_TYPE contains subroutine calc(this) type(T_TYPE), intent(inout) :: this integer :: i !$omp parallel do do i = 2,500 ! The same happens for minval and maxval (maybe others, too) this%matrix(i-1:i,i) = sum(this%matrix(i-1:i,:), dim=2) end do !$omp end parallel do end subroutine calc end module test_mod
It compiles, if one of the Options /heap-arrays or /Qopenmp is omitted.
This worked well with the 15.x Compiler.
Greetings and thanks,
Wolf
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wolf - Thank you for reporting this internal error and for the convenient reproducer. I reproduced and reported to Development and will keep you informed about a fix.
(Internal tracking id: DPD200376051)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update:
This fails with Update 5 of Compiler 15, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, thank you for the update. I'm sorry to see we regressed on the 15.0 branch. I will update the internal id with your latest update.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page