Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29590 Discussions

Internal compiler error with nested ASSOCIATE constructs

FortranFan
Honored Contributor III
2,395 Views
program p

   implicit none

   integer :: i(1)

   asc_1: associate ( j => i )

      asc_2: associate ( k => j )

      end associate asc_2

   end associate asc_1

   stop

end program p
------ Build started: Project: p, Configuration: Debug|x64 ------

Compiling with Intel(R) Visual Fortran Compiler XE 15.0.2.179 [Intel(R) 64]...
p.f90
fortcom: Fatal: There has been an internal compiler error (C0000005).
compilation aborted for C:\..\p.f90 (code 1)

 

0 Kudos
5 Replies
Steven_L_Intel1
Employee
2,395 Views

Thanks - it's the /debug option that triggers the error. Escalated as issue DPD200368468.

0 Kudos
FortranFan
Honored Contributor III
2,395 Views

Thanks, Steve.

By the way, the variation shown below gives an ICE with both Debug and Release configurations as well as IA-32 and Intel 64 architecture specifications:

program p

   implicit none

   integer :: i(1)

   asc_1: associate ( j => i )

      asc_2: associate ( k => j )

         k = 0
         
      end associate asc_2

   end associate asc_1

   stop

end program p

 

0 Kudos
Steven_L_Intel1
Employee
2,395 Views

Thanks - duly noted.

0 Kudos
Steven_L_Intel1
Employee
2,395 Views

I expect the fix for this to be in the final 16.0 release.

0 Kudos
FortranFan
Honored Contributor III
2,395 Views

Excellent, thanks.

0 Kudos
Reply