Internal Compiler Error

Internal Compiler Error

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:

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 

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

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


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.

This is issue has been fixed in Intel® Fortran Composer XE for Linux* 2013 which is now available at the Intel® Registration Center.

Intel Developer Support
* Other names and brands may be claimed as the property of others.

Leave a Comment

Please sign in to add a comment. Not a member? Join today