[libgfortran] I/O of 128 bits integers

FX Coudert fxcoudert@gmail.com
Sat May 28 15:16:00 GMT 2005


> Attached patch is an attempt at handling I/O of 128bits integers, and
> any other types of integer in the future.

Attached patch is an wider version of the last one, enabling 
real(kind=16) I/O on platforms that support this (such as sparc-solaris).

But really, the same questions apply: how do we know, when libgfortran 
is compiled, which Fortran kinds are available and what C types they 
correspond to?

I don't know how to do that, and without it, all effort on I/O is doomed 
to be in the class of "disgusting hacks". ;-)

Patch is regtested on i386-linux, x86_64-linux and sparc-solaris2.9. 
Could someone (that can be a plural "someone") have a look at this and 
tell me if the idea seems right?

FX
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kind16.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050528/61a7c6c4/attachment.ksh>


More information about the Fortran mailing list