From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2591D3857832; Thu, 4 Mar 2021 00:51:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2591D3857832 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95644] [F2018] IEEE_FMA is missing from the IEEE_ARITHMETIC module Date: Thu, 04 Mar 2021 00:51:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 00:51:21 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95644 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #8 from kargl at gcc dot gnu.org --- (In reply to Bill Long from comment #7) > Inquiry from the original site: >=20 > "Does GCC provide a timeline for when they will conform to F2018?" gfortran is maintained mostly by a very, very, very, small group of individuals who have very, very, very, limited free time. Things get fixed and implemented as time and whim permits. The quickest way to ensure something is implemented/fixed is to download the source code and dive in. Short of someone diving in, there is always the kludge of module kludge use iso_c_binding, only : fp =3D> c_float use iso_c_binding, only : dp =3D> c_double use iso_c_binding, only : lp =3D> c_long_double implicit none private public ieee_fma interface ieee_fma function fmaf(x, y, z) bind(c, name=3D'fmaf') import fp real(fp) fmaf real(fp), intent(in), value :: x, y, z end function fmaf function fma(x, y, z) bind(c, name=3D'fma') import dp real(dp) fma real(dp), intent(in), value :: x, y, z end function fma function fmal(x, y, z) bind(c, name=3D'fmal') import lp real(lp) fmal real(lp), intent(in), value :: x, y, z end function fmal end interface ieee_fma end module program foo use kludge, only : ieee_fma real x, y, z ! Yeah, I should use fp from kludge. x =3D 1. y =3D 2. / 3. z =3D y print *, ieee_fma(x, y, z) end program foo Or, if the availability of IEEE_FMA is must have feature and someone is incapability of implemented, someone could approach on of those very, very, very, few individuals and pay for the work to be done.=