[gfortran] I/O of large integer and real kinds
FX Coudert
fxcoudert@gmail.com
Mon Jun 6 21:37:00 GMT 2005
Hi all,
Attached patch (one diff, one new configuration script and two
testcases) enables I/O of large integer and real kinds. Right now,
it includes integer(16), real(10) and real(16), but it is easy to add
other types afterwards if need be since the mechanism is now very general.
Built, tested and regtested on:
- i686-linux, which has real(10)
- sparc-solaris, whichs has real(16)
- x86_64-linux, which has real(10) and integer(16)
- alpha-linux, which has integer(16)
(I think I got my bases covered; hopefully, I will not have to do that
again for some time ;-)
No regression on any of these. real(16) output does not work on
sparc-solaris2.9 if compiler is compiled with GCC (it does work if
compiled by Sun cc), since there is no implementation of isfinite() for
long doubles in that case.
OK for mainline? (and should it be backported to 4.0, too?)
FX
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: allkinds.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050606/8950c813/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: large_integer_kind_1.f90
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050606/8950c813/attachment.f90>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: large_real_kind_1.f90
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050606/8950c813/attachment-0001.f90>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mk-kinds-h.sh
Type: application/x-sh
Size: 1660 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050606/8950c813/attachment.sh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: allkinds.ChangeLog
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050606/8950c813/attachment-0001.ksh>
More information about the Gcc-patches
mailing list