https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70117
--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Alan Modra from comment #14) > > if (fmt == &ibm_extended_double) > > No, there is mips_extended_format too. As said above the best is to provide optabs for all three fns and optimal implementations in the backend - that will disable the folding as well. Emitting a comparison as we do now is stupid and inefficient given that only the value of one of the double matters anyway.