]> git.ipfire.org Git - thirdparty/gcc.git/commit
fortran: Expand ieee_arithmetic module's ieee_value inline [PR106579]
authorJakub Jelinek <jakub@redhat.com>
Fri, 26 Aug 2022 07:56:19 +0000 (09:56 +0200)
committerJakub Jelinek <jakub@redhat.com>
Mon, 29 Aug 2022 10:02:26 +0000 (12:02 +0200)
commit87a07e96dc4e6849ab6ac0b1ceeb5a19aebee9d6
tree6f28f8c9f2e3c60354075dbfb5a210475bf790ce
parentc5d4e67e764fb157404142cfc8d2bc4436fcf0f5
fortran: Expand ieee_arithmetic module's ieee_value inline [PR106579]

The following patch expands IEEE_VALUE function inline in the FE,
but only for the powerpc64le-linux IEEE quad real(kind=16) case.

2022-08-26  Jakub Jelinek  <jakub@redhat.com>

PR fortran/106579
* trans-intrinsic.cc: Include realmpfr.h.
(conv_intrinsic_ieee_value): New function.
(gfc_conv_ieee_arithmetic_function): Handle ieee_value.

(cherry picked from commit 0c2d6aa1be2ea85e751852834986ae52d58134d3)
gcc/fortran/trans-intrinsic.cc