[Patch,Fortran] F2008: Add RADIX= support to SELECTED_REAL_KIND

Tobias Burnus burnus@net-b.de
Thu Jun 24 15:37:00 GMT 2010


To clean up my dirty tree ...
The attached patch implements RADIX=... support for SELECTED_REAL_KIND;
as gfortran only supports radix==2, the patch is effectively a
parse-only patch.

As the patch changes the ABI, I have duplicated the
_gfortran_selected_real_kind by creating a new
_gfortran_selected_real_kind2008 procedure. For systems supporting
symbol versioning, one could have kept the name in the front end.

Build and regtested on x86-64-linux.
OK for the trunk?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radix2.diff
Type: text/x-patch
Size: 17552 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100624/b58c6680/attachment.bin>


More information about the Fortran mailing list