Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

19.1 (20.0) ICE with -check all flag

may_ka
Beginner
180 Views

Hi

FYI and helping to avoid overhours, the following code will produce an ICE

program test
  implicit none
  real, allocatable :: r11(:,:), r22(:,:), r12(:,:), rin(:,:), rout(:,:)
  rout=matmul((r11-matmul(r12,matmul(r22,transpose(r12)))),rin)
end program test

 

when compiled with Intel's latest 19.1 compiler shipped with parallel studio 20.0

ifort -check all -O0 tmp.f90

where the culprit is "-check all". The code compiles with 17.08, 19.04 and 19.05.

0 Kudos
2 Replies
Ron_Green
Moderator
180 Views

I received a report on this in Premier Support and opened a bug report.

I will post when a fix is available.

Barbara_P_Intel
Moderator
87 Views

I just compiled your nice reproducer with the 2021.4.0 release of the Fortran compiler that is part of the oneAPI HPC Toolkit. No compiler error (ICE).

Can you please try it with this latest compiler release and let me know how it works for you?

$ cat > icer.f90
program test
  implicit none
  real, allocatable :: r11(:,:), r22(:,:), r12(:,:), rin(:,:), rout(:,:)
  rout=matmul((r11-matmul(r12,matmul(r22,transpose(r12)))),rin)
end program test
$ ifort -check all icer.f90
$

 

Reply