%F90-F-FATAL, **Internal compiler error: specification exception signal raised**

OpenVMS x86 native compilers, cross compilers news and questions.
Post Reply

Topic author
pweaver
Newbie
Posts: 4
Joined: Wed May 13, 2020 1:37 pm
Reputation: 0
Status: Offline

%F90-F-FATAL, **Internal compiler error: specification exception signal raised**

Post by pweaver » Mon Mar 20, 2023 3:05 pm

Code: Select all

$ tcpip show ver

  VSI TCP/IP Services for OpenVMS x86_64 Version X6.0
  on a QEMU Standard PC (Q35 + ICH9, 2009) running OpenVMS E9.2-1

$ fortran/version
VSI Fortran X8.5-0002 (GEM 50X2N) for X86 systems
I have a program with 13 subroutines in one .FOR that has been compiled on VAX and AXP with no issues. On X86 I throws an error pointing to the last END in the whole file. After a lot of experimenting I got it down to

The program

Code: Select all

        real*16 bytes
        bytes = 1
        type *, bytes
        end
Fails to compile with

Code: Select all

$ for/f77 test8

        end
........^
%F90-F-FATAL, **Internal compiler error: specification exception signal raised** Please report this error along with the circumstances in which it occurred in a Software Prob
lem Report.  Note: File and line given may not be explicit cause of this error.
at line number 4 in file DKB0:[PWEAVER]test8.for;37
If I change the REAL*16 to REAL*8 then it compiles. I extracted all the subroutines into individual .FOR files and compiled each one. A subroutine that has "real*16 last_record,next_record" compiles fine.

Post Reply