Community
cancel
Showing results for 
Search instead for 
Did you mean: 
William_Jones
New Contributor I
262 Views

Internal Compiler error with version 19.1.2.258 20200623 (2020.2.258)

I have the attached code that now produces an internal compiler error with Intel Fortran 2020.2.258 under Mac OS X.

This code compiles without error under Linux with Intel Fortran 2019.4.243 (19.0.4.243 20190416), and 2020.0.166 (19.1.0.166 20191121) among other older versions.

$ ifort -c reproducer.f90

reproducer.f90(22): catastrophic error: **Internal compiler error: internal abort** 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 reproducer.f90 (code 1)

0 Kudos
4 Replies
andrew_4619
Honored Contributor I
256 Views

On windows it is OK

C:\test>ifort -c reproducer.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.1.216 Build 20200306
Copyright (C) 1985-2020 Intel Corporation.  All rights reserved.


C:\test>
William_Jones
New Contributor I
242 Views

Compiles on Mac if I remove the "bind(c)" attribute from subroutine extra(), but I can't do that in practice.

William_Jones
New Contributor I
235 Views

Also, compiles as originally posted with Intel Fortran versions 19.0.3.199 and 19.1.1.216 but not with versions 19.1.2.258 or 19.1.2.279.

Oh and compiles fine with gfortran version 10.2.0

This is all running under Mac OS X 10.15.6.

andrew_4619
Honored Contributor I
215 Views

File a support ticket
Reply