g77 internal error for pdp11 target

Jim Wilson wilson@specifixinc.com
Thu Feb 5 19:52:00 GMT 2004


Paul Koning wrote:
> [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

The comment in the sources says that the Fortran standard requires 
INTEGER to be the same size as REAL, which means that if you have 64-bit 
floats, then you must also have 64-bit integers.  This could be fixed by 
adding support to gcc/f/target.h to use "long long int" for 
ffetargetInteger1, but this does not seem like a wise approach for a 
16-bit target.  Better to use 32-bit floats.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc-bugs mailing list