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

matmul (ifort 19.1): Internal compiler error:

riad_h_1
Novice
1,248 Views

hello,

hmm, what's going on with the new update of ifort (19.1 for mac os)? Consider the simple matrix multiplication of two numerics matrices but of different type (one integer and the other real for example), case provided for by matmul:

integer :: A(2,2)
real    :: B(2,2), AB(2,2)
A = 1 ; B = 2.0
AB = matmul(A,B)
end

Compiled with "-check all" (flag always among my default options during development) I get the the error message: 

matmul.f90(4): catastrophic error: **Internal compiler error: internal abort** Please report this error along... 

No compilation error is produced when "check all" is not used.

 

 

0 Kudos
1 Solution
Ron_Green
Moderator
1,198 Views

This bug was fixed in PSXE 2020 Update 2, compiler 19.1.2


View solution in original post

0 Kudos
6 Replies
mecej4
Honored Contributor III
1,248 Views

Problem also present with 19.1, 32 or 64-bit target EXE, on Windows 10-64; also with /check instead of /check:all.

0 Kudos
Steve_Lionel
Honored Contributor III
1,248 Views

Internal compiler error is ALWAYS a compiler bug. Please report it through the Online Service Center.

0 Kudos
riad_h_1
Novice
1,248 Views

Done, thank you.

0 Kudos
Devorah_H_Intel
Moderator
1,248 Views

Thank you for the bug report. This case is escalated to compiler engineering.

0 Kudos
N_Netto
Beginner
1,248 Views

That happened to me as well. 
In my case, I was using a complex and a real arguments. However, that was unintended. This compiler bug actually pinpointed me a problem with my code, as no warning was raised before. 

0 Kudos
Ron_Green
Moderator
1,199 Views

This bug was fixed in PSXE 2020 Update 2, compiler 19.1.2


0 Kudos
Reply