[fortran, patch] Handle POW/CPOW builtins for all floating-point types

FX fxcoudert@gmail.com
Wed Sep 1 09:21:00 GMT 2010


> Well, I think both will be the same: All 3 bits will be set to 1. You can only store 8 = 2^3 states in 3 bits, 7 states are currently in use ...

Right, sorry. I haven't had my coffee yet.

> My idea was to use GFC_DTYPE_FLOAT128 for software REAL values. For backward compatibility, we still use GFC_DTYPE_REAL for REAL(10) and hardware REAL(16). All conditions in libgfortran have to use "==" as OR and AND will not work.

So everything in libgfortran that checks for (dtype == GFC_DTYPE_REAL) will need to check for (dtype == GFC_DTYPE_REAL || dtype == GFC_DTYPE_FLOAT128).

Before I go and change everything, now that the "end of stage 1" date has been announced (Oct 27th), will there be a push for the array descriptor rework to make it in 4.6, or will it wait for 4.7?

Regards,
FX



More information about the Fortran mailing list