https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125623
--- Comment #8 from dave.anglin at bell dot net --- On 2026-06-05 5:53 p.m., kargl at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125623 > > --- Comment #7 from Steve Kargl <kargl at gcc dot gnu.org> --- > Comment on attachment 64638 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64638 > Patch > > Won't this break bootstrapping gcc with the configure options > > --disable-libquadmath do not build libquadmath directory > --disable-libquadmath-support > disable libquadmath support for Fortran Maybe we need to check for the above in c99_functions.c but I don't think the lack of libquadmath will break bootstrap. With current patch, frexpq and scalbnq will end up undefined in the libgfortran shared library and this will cause many testsuite fails. I'll look further at this. > For copysignl, you could use the rather poor > > long double > copysignl (long double x, long double y) > { > long double ax; > ax = (x < 0) ? -x : x; > return (y < 0 ? -ax : ax); > } > > The only issue here is that +-0 cannot be used. Thanks, I'll use the above.
