Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

ifort internal abort

vzecca
Beginner
1,151 Views

The compilation of the following code produces an ifort 19.1.2.254 internal abort, no options required

!ifort Internal abort
print *, f()
contains
function f()
integer :: f(iargc()*10)
end
end

Labels (1)
0 Kudos
3 Replies
Steve_Lionel
Honored Contributor III
1,134 Views

Indeed it does, a compiler bug for sure. However, the code is also not valid Fortran as an arbitrary external function is not allowed in a specification expression.

0 Kudos
vzecca
Beginner
1,120 Views

Hi, Steve, I remember we interacted years ago on the ifort beta program.

Yes the program is illegal, but ifort should give a meaningful error message,

and never crash.

0 Kudos
Steve_Lionel
Honored Contributor III
1,104 Views

I agree completely - but it wasn't clear to me that you understood the code was not valid.

0 Kudos
Reply