https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108878
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > So the right way of fixing this is to have a builtin versions of "frexp" > which return a complex type and that is pure for -fno-math-errno and such. > And gets expanded to frexp correctly. Similarly how sincos gets turned into __builtin_cexpi .