------- Comment #7 from ghazi at gcc dot gnu dot org  2009-04-20 17:01 -------
How about chucking real.c and using mpfr_t as the internal representation for
real numbers inside GCC?  I guess we still need something to encode/decode
numbers to the target format, but IMHO we'll keep finding these corner cases
until we convert everything over to MPFR underneath the hood.  At that point,
what's the use of having the extra layer of real.c?

Maybe we use mpft_t at the tree level and convert to REAL_VALUE_TYPE when
converting over to rtl.

Another option would be to put an mpfr_t inside struct real_value instead of
all those bitfields.


-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ghazi at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718

Reply via email to