[PATCH,fortran] Add support for IEEE_SUBNORMAL

Steve Kargl sgk@troutmask.apl.washington.edu
Wed Dec 26 04:42:00 GMT 2018


Fortran 2018 has added IEEE_SUBNORMAL, IEEE_POSITIVE_SUBNORMAL, and
IEEE_NEGATIVE_SUBNORMAL as counterparts the same features with the
DENORMAL name.  The attached patch allows gfortran to recognize
and do the right thing with these featuers.  OK to commit?

2018-12-25  Steven G. Kargl  <kargl@gcc.gnu.org>

	* expr.c (external_spec_function): Add ieee_support_subnormal to list
	of IEEE inquiry functions.


2018-12-25  Steven G. Kargl  <kargl@gcc.gnu.org>
	* gfortran.map: Expose subnormal functions in dynamic
	library.
	* ieee/ieee_arithmetic.F90: Add support for IEEE_SUBNORMAL,
	IEEE_POSITIVE_SUBNORMAL, and IEEE_NEGATIVE_SUBNORMAL.
	* ieee/ieee_helper.c: Ditto.
	* ieee/ieee_features.F90:  Add IEEE_SUBNORMAL.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subnormal.diff
Type: text/x-diff
Size: 4345 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20181226/907ac790/attachment.bin>


More information about the Fortran mailing list