This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g77 internal error for pdp11 target
>>>>> "Jim" == Jim Wilson <wilson@specifixinc.com> writes:
Jim> 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
Jim> The comment in the sources says that the Fortran standard
Jim> requires INTEGER to be the same size as REAL, which means that
Jim> if you have 64-bit floats, then you must also have 64-bit
Jim> integers. This could be fixed by adding support to
Jim> gcc/f/target.h to use "long long int" for ffetargetInteger1, but
Jim> this does not seem like a wise approach for a 16-bit target.
Jim> Better to use 32-bit floats.
Thanks. I will do something appropriate in the back end.
paul