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

matmul (ifort 19.1): Internal compiler error:

riad_h_1
Beginner
635 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
585 Views

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


View solution in original post

6 Replies
mecej4
Black Belt
635 Views

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

Steve_Lionel
Black Belt Retired Employee
635 Views

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

riad_h_1
Beginner
635 Views

Done, thank you.

Devorah_H_Intel
Moderator
635 Views

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

N_Netto
Beginner
635 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. 

Ron_Green
Moderator
586 Views

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


Reply