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

Internal Compiler error with version 19.1.2.258 20200623 (2020.2.258)

William_Jones
New Contributor I
481 Views

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
5 Replies
andrew_4619
Honored Contributor II
475 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
461 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
454 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 II
434 Views
William_Jones
New Contributor I
181 Views

Update: A support ticket was filed and this problem was corrected as of 2021.3.0(2021.3.0 20210609).

Reply