[gfortran,patch] PR libfortran/22436

FX Coudert fxcoudert@gmail.com
Tue Jul 19 16:55:00 GMT 2005


Attached easy patch fixes bug 22436: default format for real(10) and 
real(16) can lead to asterisks, in cases such as:

   print *, tiny(0.0_10)
   print *, huge(0.0_10)

The proposed patch uses format 1PG24.15E4 for REAL(10) and 1PG40.31E4 
for REAL(16). The formats for other kinds are unchanged: 1PG14.7E2 for 
REAL(4) and 1PG23.15E3 for REAL(8).

I'm leaving again tomorrow so I won't have time to commit this. So, if 
nobody objects to this choice of formats, please feel free to commit!

FX
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr22436.ChangeLog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050719/e8f27776/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr22436.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050719/e8f27776/attachment-0001.ksh>


More information about the Fortran mailing list