14.0.2 Internal Compiler ErrorT

14.0.2 Internal Compiler ErrorT

The following code triggers an internal compiler error with 14.0.2 when compiled with -standard-semantics

subroutine fubar (array, mask)
integer, allocatable :: array(:)
logical :: mask(:)
array = merge(1, array, mask)
end subroutine

Here's the output I see:

% ifort -c -standard-semantics fubar.f90

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.
3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Thanks, Neil. Escalated as issue DPD200255772.

I find that if I replace the TSOURCE argument scalar 1 with [(1,i=1,size(array))] it compiles.

Retired 12/31/2016

I should have recognized this as a bug we've already fixed for a release later this year.

Retired 12/31/2016

Leave a Comment

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