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]

Re: g77 internal error for pdp11 target


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



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