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

Internal Compiler Error

Neil_Carlson
Beginner
458 Views

The following code example evokes an internal compiler error from ifort 12.1:

intel-bug-20120410.f90(32): 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 intel-bug-20120410.f90 (code 1)

Here's the code:[fortran]module bitfield_type type :: bitfield integer :: chunk end type bitfield interface ibset module procedure ibset_bitfield end interface contains elemental function ibset_bitfield (bf, pos) result (bf_out) type(bitfield), intent(in) :: bf integer, intent(in) :: pos type(bitfield) :: bf_out bf_out = bf end function ibset_bitfield end module bitfield_type program main use bitfield_type type :: typeA integer :: integer_value end type type(typeA) :: objA objA%integer_value = ibset(objA%integer_value, pos=0) end program [/fortran]

0 Kudos
4 Replies
Anonymous66
Valued Contributor I
458 Views
Hello Neil,

Thank you for reporting this issue to use. I have escalated it to the developers. The issue number is DPD200181086.

I will post an updates I receive on this issue to this thread.
0 Kudos
Anonymous66
Valued Contributor I
458 Views

You can work around this issue by removing "pos=" from line 23.

Annalee

0 Kudos
Anonymous66
Valued Contributor I
458 Views

A fix has been found for this issue. We are currently planning to include it in the next major release which is scheduled for later this year.

0 Kudos
Anonymous66
Valued Contributor I
458 Views
This is issue has been fixed in Intel® Fortran Composer XE for Linux* 2013 which is now available at the Intel® Registration Center. Regards, Annalee Intel Developer Support * Other names and brands may be claimed as the property of others.
0 Kudos
Reply