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.

14.0.2 Internal Compiler ErrorT

Neil_Carlson
Beginner
564 Views

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
010101_13220

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.
0 Kudos
2 Replies
Steven_L_Intel1
Employee
564 Views

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.

0 Kudos
Steven_L_Intel1
Employee
564 Views

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

0 Kudos
Reply