[libgfortran] I/O of 128 bits integers

Steve Kargl sgk@troutmask.apl.washington.edu
Sat May 28 15:26:00 GMT 2005


On Sat, May 28, 2005 at 05:16:12PM +0200, FX Coudert wrote:
> >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).

Does this include real(kind=10)?

> 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?

You might be able to get the info from libgfortran/selected_int_kind.inc
and libgfortran/selected_real_kind.inc, which are generated during the
build from mk-sik-inc.sh and mk-srk-inc.sh.

> 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?
> 

I'll look it over later today.

-- 
Steve



More information about the Fortran mailing list