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: h8300-elf build fails in libf2c


In message <3D304ED6.D5D72CEC@moene.indiv.nluug.nl>, Toon Moene writes:
 >Andreas Jaeger wrote:
 >
 >> #define FLOAT_TYPE_SIZE 32
 >> #define DOUBLE_TYPE_SIZE        32
 >> 
 >> Ok, that means we cannot bootstrap with Fortran enabled on h8300 -
 >> unless either those defines are changed or G77 can live without
 >> longint (but I do not propose to do this to fix h8300, I'm disabling
 >> fortran now).
 >
 >Yes, this is deadly for Fortran, as per the Standard, DOUBLE PRECISION
 >occupies "two memory units", whereas REAL "occupies one".
In theory it should be possible to coax the H8 port into dealing with
larger floating point types.  It's just never been attempted.

I believe to make that work we'd also need to support larger integer
types (so that we can correctly build the FP emulation code in libgcc).
Again, I believe this would be possible, but it's never been studied in
detail.

Jeff


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