Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Internal compiler error with ifx

Jellby1
New Contributor I
942 Views

Simple file:

subroutine test(n,m,b,a)

implicit none
integer :: n, m
real :: a(n,n,m), b(100,100)
integer :: i, j

do j=1,m
 do i=1,n
   a(1:i,i,j) = b(i,1:i)
 end do
end do

end subroutine test

It gives:

$ ifx -c test.f90 
          #0 0x0000000001f63112
          #1 0x0000000001fc5727
          #2 0x0000000001fc5850
          #3 0x00007f7714733520
          #4 0x0000000003b881ed
          #5 0x0000000003b5316d
          #6 0x0000000003b5311c
          #7 0x0000000003b0d626
          #8 0x0000000003b0dd5c
          #9 0x0000000003b0c70b
         #10 0x0000000003b0e196
         #11 0x0000000002e96520
         #12 0x00000000022ebeec
         #13 0x0000000002e84fbd
         #14 0x00000000022f30b7
         #15 0x0000000002e8519d
         #16 0x00000000022eaa8a
         #17 0x0000000001f08104
         #18 0x0000000001f06b83
         #19 0x0000000001eb5859
         #20 0x00000000020797c5
         #21 0x00007f771471ad90
         #22 0x00007f771471ae40 __libc_start_main + 128
         #23 0x0000000001cf1729

test.f90: error #5633: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error.
compilation aborted for test.f90 (code 3)

with:

$ ifx -v
ifx version 2023.1.0

$ uname -a
Linux otis 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
2 Replies
Barbara_P_Intel
Employee
905 Views

Thanks for reporting this issue with such a nice reproducer!

Good news! This ICE with ifx is fixed in the next release currently planned for mid-year.

 

0 Kudos
Jellby1
New Contributor I
880 Views

Good to know, thanks.

 

Instead of (or in addition to) me chasing bugs, waiting for next release and chasing more bugs, it would be great if ifx developers could test it with https://gitlab.com/Molcas/OpenMolcas themselves.

0 Kudos
Reply