https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95644
--- Comment #15 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- Created attachment 52094 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52094&action=edit Tentative patch, adding IEEE_FMA and IEEE_SIGNBIT I am attaching a tentative patch for the issue. I also added IEEE_SIGNBIT while I was at it, since it was relatively simple. Other new IEEE functions in Fortran 2018 will be more work. The patch converts calls to IEEE_FMA and IEEE_SIGNBIT to the GCC builtins of the same name. For IEEE_FMA, it also works with _Float128, and there it will generate calls to the fmaq() function in libquadmath. It generates the right code on simple examples, but I would welcome examples of test programs that check the output of both IEEE_SIGNBIT and IEEE_FMA on "interesting" cases.