https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106579
--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- The module in the runtime library is compiled only once, unless the library is multilib (one libgfortran compiled for IBM double double, one libgfortran compiled for IEEE quad). My goal would be to generate all IEEE intrinsics in the front-end, it should be possible. However, there is not enough support in the middle-end support at the current time: one would need to have GCC support type-generic built-ins for the various IEEE fp functions. This was discussed, there was even a patch at some point for some of them (there must be some discussion of this between myself and, I think, Richard Biener on the gcc list a couple of months ago, but I can't find it right now).