- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I should have recognized this as a bug we've already fixed for a release later this year.

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