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

error #5623 Internal Compiler Error

wtstephens
New Contributor I
275 Views

The offending line (line 17 in the sample, and line 363 shown in error message at bottom) is in a short BLOCK (with no local variables).

If I comment out the BLOCK and ENDBLOCK statements then there is no Internal compiler error.

Alternatively, if I comment out line 17, and keep the block, then there is no Internal compiler error.

  FUNCTION KBASE_SAVE_XX_FILE(FILENAME,KD) RESULT(IOERR)
    IMPLICIT NONE
    CHARACTER*(*), INTENT(IN) :: FILENAME
    TYPE (KBASE_T), INTENT(IN) :: KD
    INTEGER :: IOERR

    CHARACTER*200 CBUF
    CHARACTER*2 CRLF
    INTEGER I,NC

    OPEN(3,FILE=FILENAME,FORM='BINARY',STATUS='NEW',IOSTAT=IOERR)
    IF( IOERR.EQ.0 )THEN    
      CRLF = CHAR(13)//CHAR(10)

      WRITE_HEADER: BLOCK

        WRITE(CBUF,'(<NC>(2A),A)') (KD%NAMEMF(I),",",I=1,NC),CRLF
        WRITE(3,IOSTAT=IOERR) CBUF,CRLF

      ENDBLOCK WRITE_HEADER

    ENDIF
    RETURN
  ENDFUNCTION

 

        ifx /c /debug /Od /check:bounds /warn:unused /warn:interfaces /warn:declarations kbasemod.f90
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2025.0.4 Build 20241205
Copyright (C) 1985-2024 Intel Corporation. All rights reserved.

 #0 0x00007ff7f77b012a (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18d012a)
 #1 0x00007ff7f748f8fa (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x15af8fa)
 #2 0x00007ff7f7704e3e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x1824e3e)
 #3 0x00007ff7f779c089 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18bc089)
 #4 0x00007ff7f779b859 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18bb859)
 #5 0x00007ff7f779b393 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18bb393)
 #6 0x00007ff7f779a380 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18ba380)
 #7 0x00007ff7f779a1e4 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18ba1e4)
 #8 0x00007ff7f7789555 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18a9555)
 #9 0x00007ff7f77860e4 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18a60e4)
#10 0x00007ff7f7786479 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x18a6479)
#11 0x00007ff7f77ff919 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x191f919)
#12 0x00007ff7f77fa67e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x191a67e)
#13 0x00007ff7f77faad6 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x191aad6)
#14 0x00007ff7f77f86a0 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x19186a0)
#15 0x00007ff7f77fa67e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x191a67e)
#16 0x00007ff7f77f7dfd (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x1917dfd)
#17 0x00007ff7f77fa67e (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x191a67e)
#18 0x00007ff7f76d0994 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x17f0994)
#19 0x00007ff7f74879a2 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x15a79a2)
#20 0x00007ff7f65d0a53 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x6f0a53)
#21 0x00007ff7f71b61d0 (C:\PROGRA~2\Intel\oneAPI\compiler\latest\bin\compiler\xfortcom.exe+0x12d61d0)
#22 0x00007ffe04b47614 (C:\WINDOWS\System32\KERNEL32.DLL+0x17614)
#23 0x00007ffe05b226a1 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x526a1)

kbasemod.f90(363): error #5623: **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.
        WRITE(CBUF,'(<NC>(2A),A)') (KD%NAMEMF(I),",",I=1,NC),CRLF
--------^
compilation aborted for kbasemod.f90 (code 3)
NMAKE : fatal error U1077: 'ifx /c /debug /Od /check:bounds /warn:unused /warn:interfaces /warn:declarations kbasemod.f90' : return code '0x3'
Stop.

 

0 Kudos
2 Replies
wtstephens
New Contributor I
215 Views

Thanks!  

 

Sounds like this was fixed in 2024.0 and is now broken again in 2025.0.4 perhaps?

 

0 Kudos
Reply