https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94694
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- libgfortran already has a huge collection of fallback functions, in intrinsics/c99_functions.c and so IMNSHO we should just handle fma{,f,l} and copysign in there, we already handle copysignf there. A fallback for fma can be just x * y + z, I know it isn't perfect, but didn't glibc have that for more than a decade? copysign fallback can be __builtin_copysign if configure proves it is not expanded by the compiler as copysign call, I think we emit it inline on all sane arches.