ICE with -standard-semantics

ICE with -standard-semantics

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

 

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Thanks for the nice test case. It seems to be related to getting the size of the CMPLX result. Escalated as issue DPD200254691.

Steve - Intel Developer Support

Steve, thank you for the quick reply.

Marco Restelli

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.

Steve - Intel Developer Support

This has been fixed for a release later this year.

Steve - Intel Developer Support

Leave a Comment

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