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  
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
 subroutine mv_r(y)
  real, intent(inout) :: y(:)
  complex, allocatable :: cy(:)
   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.

Retired 12/31/2016

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.

Retired 12/31/2016

This has been 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