- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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]
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can work around this issue by removing "pos=" from line 23.
Annalee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page