https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94694
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Fritz Reese from comment #8) > I like this solution in principle but we would need to add fabsl, fmal, and > copysignl, right? And then we are still left with the question: what do we > do if HAVE_INLINE_BUILTIN_COPYSIGN, HAVE_FMOD, or similar are not satisfied > at the lowest level? I don't know what else is missing, I understood the problem is with copysign, fma, fmaf and fmal. copysignl can be handled like copysign just using __builtin_copysignl, fabs and fabsf can be handled like copysign too, again gcc will usually expand those inline. One needs to have very weird floating point format, and such arches will likely either not support libgfortran, or will have support in libm. So we can defer further fallback until somebody reports it doesn't work somewhere.