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

Internal compiler error with erroneous block

johnyb_
New Contributor I
660 Views

Hello,

after reducing my source file to the barest minimum, the following small program produces an internal error with the latest ifort version on Windows 8.1:

program test
    block    
    block
    end block
end program
C:\TEMP>ifort test.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.4.221 Build 20150407
Copyright (C) 1985-2015 Intel Corporation.  All rights reserved.

fortcom: Fatal: There has been an internal compiler error (C0000005).
compilation aborted for test.f90 (code 1)

As you might imagine, in our real source the erroneous block is not so easy to spot :-)

Johny

0 Kudos
4 Replies
Kevin_D_Intel
Employee
660 Views

Thank you for reporting this internal error and for the added time in creating the reproducer. I will escalate this to our Developers so it can be addressed in a future release.

0 Kudos
Kevin_D_Intel
Employee
660 Views

After a bit more investigation I found this error no longer occurs in our upcoming 16.0 compiler (tentatively due out next week). I also believe the fix associated with a similar case involving a mis-placed END BLOCK has also cured this case; therefore, I think it is safe to consider this case resolved. For tracking purposes, the other similar case was filed under the internal tracking id DPD200361820.

Thank you again for reporting the error and our apologies for the time lost tracking down the erroneous BLOCK.

0 Kudos
johnyb_
New Contributor I
660 Views

We have just installed version 16.0 of the compiler and I can confirm that the compiler now reports the missing end block instead of crashing.

0 Kudos
Kevin_D_Intel
Employee
660 Views

Glad to hear that Johny. Thank you for confirming.

0 Kudos
Reply