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

Internal compiler error with nested ASSOCIATE constructs

FortranFan
Colaborador Distinguido III
2.485 Vistas
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 Respuestas
Steven_L_Intel1
Empleados
2.485 Vistas

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

FortranFan
Colaborador Distinguido III
2.485 Vistas

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

 

Steven_L_Intel1
Empleados
2.485 Vistas

Thanks - duly noted.

Steven_L_Intel1
Empleados
2.485 Vistas

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

FortranFan
Colaborador Distinguido III
2.485 Vistas

Excellent, thanks.

Responder