Thought this was a NAG bug, but they bounced this back to me. Technical corrigendum 4 to the 2008 standard corrected IEEE_SUPPORT_HALTING, IEEE_SUPPORT_FLAG, and IEEE_SUPPORT_ROUNDING from inquiry functions (okay for constant expressions) to transformational functions, which cannot be used in constant expressions. Note that this is reflected in the 2018 draft standard document too. So this bit of ieee_8.f90 is not conforming:
Thought this was a NAG bug, but they bounced this back to me. Technical corrigendum 4 to the 2008 standard corrected IEEE_SUPPORT_HALTING, IEEE_SUPPORT_FLAG, and IEEE_SUPPORT_ROUNDING from inquiry functions (okay for constant expressions) to transformational functions, which cannot be used in constant expressions. Note that this is reflected in the 2018 draft standard document too. So this bit of
ieee_8.f90
is not conforming:Note that
xxx
andyyy
are renames of those functions.