[Patch,Fortran] Support reading BOZ for real(10)/complex(10) (on hardware with integer(16) support)
Tobias Burnus
burnus@net-b.de
Tue Dec 8 11:28:00 GMT 2009
Hi,
F2008 allows BOZ edit descriptors also for REAL/COMPLEX. (Whether
F9x/F2003 allows it, is a bit disputed, see PR. Richard Maine claims it
is not ;-)
Currently, reading real(10) via BOZ edit descriptors fails with a
run-time error.
Jerry recently added a patch which allows writing large-kind
real/complex BOZ. This patch adds reading support (kind=10, kind=16 was
already supported) - but only for systems which have integer(16). Thus
it will work on x86-64 but not on x86(-32). For integer(8) only systems,
it is more complicated and left as an exercise in the PR.
Bootstrapped and regtested (check-gfortran, check libgomp) on x86-64-linux.
OK for the trunk?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boz2.diff
Type: text/x-patch
Size: 2027 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20091208/dd063e2e/attachment.bin>
More information about the Fortran
mailing list