Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Internal compiler error (C000005)

Robert_van_Amerongen
New Contributor III
1,054 Views
The following piece of code produces an Internal Compiler Error (C000005)

[fxfortran]  PROGRAM ae
  IMPLICIT none
  REAL,ALLOCATABLE :: a(:)
  INTEGER          :: n
!
  n=100
  ALLOCATE(a(:))  ! <<< must be: ALLOCATE(a(1:n))
  END PROGRAM ae
  [/fxfortran]
I presume that this obvious error should produce a "normal" compiler error message.

With best regards,
Robert

0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,054 Views
You presume correctly. Thanks for letting us know. Issue ID is DPD200169239.
0 Kudos
Steven_L_Intel1
Employee
1,054 Views
This is fixed for a future compiler release.
0 Kudos
Robert_van_Amerongen
New Contributor III
1,054 Views
Thanks!

Robert.
0 Kudos
Reply