- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I see and ICE when compiling the following code with -standard-semantics :
$ ifort -standard-semantics -c ice.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.
compilation aborted for ice.f90 (code 1)
$ ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0 Build 20131008
Copyright (C) 1985-2013 Intel Corporation. All rights reserved.
module test
implicit none
contains
subroutine mv_r(y)
real, intent(inout) :: y(:)
complex, allocatable :: cy(:)
allocate(cy(size(y)))
cy = cmplx(y,0.0)
end subroutine mv_r
end module test
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the nice test case. It seems to be related to getting the size of the CMPLX result. Escalated as issue DPD200254691.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve, thank you for the quick reply.
Marco Restelli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This turned out to be a somewhat more general issue that we were already looking at when any elemental intrinsic function was on the right side of an assignment and reallocation was needed. We'll make sure this all works properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This has been fixed for a release later this year.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page