This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

g77 internal error for pdp11 target


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]