g77 internal error for pdp11 target

Paul Koning pkoning@equallogic.com
Tue Feb 3 22:48:00 GMT 2004


It seems that g77 has some internal assumptions that aren't valid for
a 16 bit target such as the pdp11...

[pkoning@pkoning nec]$ cat enf.f
C ***
C     DOUBLE PRECISION 6/4/85
C
      LOGICAL FUNCTION ENF( NUNIT)
C ***
C*********** THIS ROUTINE NOT USED ON VAX **************
C     IF (EOF,NUNIT) 1,2
      IMPLICIT REAL (A-H,O-Z)
    1 ENF=.TRUE.
      RETURN
    2 ENF=.FALSE.
      RETURN
      END
[pkoning@pkoning nec]$ pdp11-aout-g77 -c enf.f
f771: ../../gcc/gcc/f/com.c:11301: ffecom_init_0: Assertion `((type)->size_) == sizeof (ffetargetInteger1)' failed.
enf.f:0: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

This is for today's mainline (CVS) gcc.

     paul



More information about the Gcc-bugs mailing list